{"$schema":"https://json.schemastore.org/sarif-2.1.0.json","version":"2.1.0","runs":[{"tool":{"driver":{"name":"codehealth","informationUri":"https://codehealth.canine.dev","rules":[{"id":"D1","name":"Cyclomatic Complexity","shortDescription":{"text":"Cyclomatic Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D1"},{"id":"D2","name":"Cognitive Complexity","shortDescription":{"text":"Cognitive Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D2"},{"id":"D3","name":"God Classes","shortDescription":{"text":"God Classes"},"helpUri":"https://codehealth.canine.dev/dimensions/D3"},{"id":"D4","name":"Code Duplication","shortDescription":{"text":"Code Duplication"},"helpUri":"https://codehealth.canine.dev/dimensions/D4"},{"id":"D5","name":"Coupling","shortDescription":{"text":"Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D5"},{"id":"D6","name":"Cohesion (LCOM4)","shortDescription":{"text":"Cohesion (LCOM4)"},"helpUri":"https://codehealth.canine.dev/dimensions/D6"},{"id":"D12","name":"Dependency Hygiene","shortDescription":{"text":"Dependency Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/D12"},{"id":"D13","name":"Secret Scanning","shortDescription":{"text":"Secret Scanning"},"helpUri":"https://codehealth.canine.dev/dimensions/D13","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"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":"D24","name":"Comment Value","shortDescription":{"text":"Comment Value"},"helpUri":"https://codehealth.canine.dev/dimensions/D24"},{"id":"D27","name":"Navigability","shortDescription":{"text":"Navigability"},"helpUri":"https://codehealth.canine.dev/dimensions/D27"},{"id":"D28","name":"Secrets (history)","shortDescription":{"text":"Secrets (history)"},"helpUri":"https://codehealth.canine.dev/dimensions/D28","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D29","name":"Static Analysis (SAST)","shortDescription":{"text":"Static Analysis (SAST)"},"helpUri":"https://codehealth.canine.dev/dimensions/D29","relationships":[{"target":{"id":"CWE-79","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-89","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-94","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-77","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-79","CWE-89","CWE-78","CWE-94","CWE-77"],"owasp":"A05:2025"}},{"id":"D30","name":"Dependency Vulnerabilities","shortDescription":{"text":"Dependency Vulnerabilities"},"helpUri":"https://codehealth.canine.dev/dimensions/D30","relationships":[{"target":{"id":"CWE-1395","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-937","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1395","CWE-937"],"owasp":"A03:2025"}},{"id":"D31","name":"IaC \u0026 Container Security","shortDescription":{"text":"IaC \u0026 Container Security"},"helpUri":"https://codehealth.canine.dev/dimensions/D31","relationships":[{"target":{"id":"CWE-1032","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-732","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-16","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A02:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1032","CWE-732","CWE-16"],"owasp":"A02:2025"}},{"id":"D34","name":"Knowledge Freshness","shortDescription":{"text":"Knowledge Freshness"},"helpUri":"https://codehealth.canine.dev/dimensions/D34"},{"id":"D35","name":"Change Coupling","shortDescription":{"text":"Change Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D35"},{"id":"D36","name":"Supply-chain Provenance \u0026 Signing","shortDescription":{"text":"Supply-chain Provenance \u0026 Signing"},"helpUri":"https://codehealth.canine.dev/dimensions/D36","relationships":[{"target":{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1357","CWE-494"],"owasp":"A03:2025"}},{"id":"D43","name":"Malicious Dependencies","shortDescription":{"text":"Malicious Dependencies"},"helpUri":"https://codehealth.canine.dev/dimensions/D43","relationships":[{"target":{"id":"CWE-506","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-506"],"owasp":"A08:2025"}},{"id":"D44","name":"Platform End-of-Life","shortDescription":{"text":"Platform End-of-Life"},"helpUri":"https://codehealth.canine.dev/dimensions/D44"},{"id":"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":"AX10","name":"Code composition","shortDescription":{"text":"Code composition"},"helpUri":"https://codehealth.canine.dev/dimensions/AX10"},{"id":"AX3","name":"Project dependency cycles","shortDescription":{"text":"Project dependency cycles"},"helpUri":"https://codehealth.canine.dev/dimensions/AX3"},{"id":"AX4","name":"Dependency direction","shortDescription":{"text":"Dependency direction"},"helpUri":"https://codehealth.canine.dev/dimensions/AX4"},{"id":"AX6","name":"Interface segregation","shortDescription":{"text":"Interface segregation"},"helpUri":"https://codehealth.canine.dev/dimensions/AX6"},{"id":"ED5","name":"Idempotency","shortDescription":{"text":"Idempotency"},"helpUri":"https://codehealth.canine.dev/dimensions/ED5"},{"id":"GD1","name":"Unfinished \u0026 placeholder code","shortDescription":{"text":"Unfinished \u0026 placeholder code"},"helpUri":"https://codehealth.canine.dev/dimensions/GD1"},{"id":"IC1","name":"Incompleteness \u0026 stubs","shortDescription":{"text":"Incompleteness \u0026 stubs"},"helpUri":"https://codehealth.canine.dev/dimensions/IC1"},{"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":"P2","name":"Observability","shortDescription":{"text":"Observability"},"helpUri":"https://codehealth.canine.dev/dimensions/P2"},{"id":"P3","name":"Security \u0026 performance tooling","shortDescription":{"text":"Security \u0026 performance tooling"},"helpUri":"https://codehealth.canine.dev/dimensions/P3"},{"id":"P4","name":"Deployment \u0026 Rollback","shortDescription":{"text":"Deployment \u0026 Rollback"},"helpUri":"https://codehealth.canine.dev/dimensions/P4"},{"id":"P5","name":"DR \u0026 Backup","shortDescription":{"text":"DR \u0026 Backup"},"helpUri":"https://codehealth.canine.dev/dimensions/P5"},{"id":"P6","name":"Release Hygiene","shortDescription":{"text":"Release Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/P6"},{"id":"P7","name":"Outbound HTTP resilience","shortDescription":{"text":"Outbound HTTP resilience"},"helpUri":"https://codehealth.canine.dev/dimensions/P7"},{"id":"PF3","name":"Async \u0026 latency hygiene","shortDescription":{"text":"Async \u0026 latency hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/PF3"},{"id":"R1","name":"Type Safety","shortDescription":{"text":"Type Safety"},"helpUri":"https://codehealth.canine.dev/dimensions/R1"},{"id":"R10","name":"Code Duplication","shortDescription":{"text":"Code Duplication"},"helpUri":"https://codehealth.canine.dev/dimensions/R10"},{"id":"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":"R7","name":"Dead Code","shortDescription":{"text":"Dead Code"},"helpUri":"https://codehealth.canine.dev/dimensions/R7"},{"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":"X1","name":"Async correctness","shortDescription":{"text":"Async correctness"},"helpUri":"https://codehealth.canine.dev/dimensions/X1"},{"id":"X10","name":"Duplicated predicate","shortDescription":{"text":"Duplicated predicate"},"helpUri":"https://codehealth.canine.dev/dimensions/X10"},{"id":"X12","name":"Unreachable branch","shortDescription":{"text":"Unreachable branch"},"helpUri":"https://codehealth.canine.dev/dimensions/X12"},{"id":"X13","name":"Undrained process stream","shortDescription":{"text":"Undrained process stream"},"helpUri":"https://codehealth.canine.dev/dimensions/X13"},{"id":"X14","name":"Bypassable address classification","shortDescription":{"text":"Bypassable address classification"},"helpUri":"https://codehealth.canine.dev/dimensions/X14"},{"id":"X15","name":"Unvalidated length from an untrusted reader","shortDescription":{"text":"Unvalidated length from an untrusted reader"},"helpUri":"https://codehealth.canine.dev/dimensions/X15"},{"id":"X16","name":"Unfloored truncation loop","shortDescription":{"text":"Unfloored truncation loop"},"helpUri":"https://codehealth.canine.dev/dimensions/X16"},{"id":"X17","name":"Uncapped recursion over a caller-supplied document","shortDescription":{"text":"Uncapped recursion over a caller-supplied document"},"helpUri":"https://codehealth.canine.dev/dimensions/X17"},{"id":"X18","name":"Disposal-pattern correctness","shortDescription":{"text":"Disposal-pattern correctness"},"helpUri":"https://codehealth.canine.dev/dimensions/X18"},{"id":"X19","name":"Unrestored process-global state","shortDescription":{"text":"Unrestored process-global state"},"helpUri":"https://codehealth.canine.dev/dimensions/X19"},{"id":"X2","name":"Cancellation propagation","shortDescription":{"text":"Cancellation propagation"},"helpUri":"https://codehealth.canine.dev/dimensions/X2"},{"id":"X20","name":"Mistyped argument guard","shortDescription":{"text":"Mistyped argument guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X20"},{"id":"X21","name":"Side-effecting pattern guard","shortDescription":{"text":"Side-effecting pattern guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X21"},{"id":"X22","name":"Contradicted release guard","shortDescription":{"text":"Contradicted release guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X22"},{"id":"X23","name":"Unguarded diagnostic materialisation","shortDescription":{"text":"Unguarded diagnostic materialisation"},"helpUri":"https://codehealth.canine.dev/dimensions/X23"},{"id":"X24","name":"Document value interpolated into markup unescaped","shortDescription":{"text":"Document value interpolated into markup unescaped"},"helpUri":"https://codehealth.canine.dev/dimensions/X24"},{"id":"X25","name":"Inert configuration knob","shortDescription":{"text":"Inert configuration knob"},"helpUri":"https://codehealth.canine.dev/dimensions/X25"},{"id":"X26","name":"Unsynchronised callback handoff","shortDescription":{"text":"Unsynchronised callback handoff"},"helpUri":"https://codehealth.canine.dev/dimensions/X26"},{"id":"X28","name":"Index access outside its own emptiness guard","shortDescription":{"text":"Index access outside its own emptiness guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X28"},{"id":"X29","name":"Per-element action decided by a fixed element","shortDescription":{"text":"Per-element action decided by a fixed element"},"helpUri":"https://codehealth.canine.dev/dimensions/X29"},{"id":"X3","name":"Exception handling","shortDescription":{"text":"Exception handling"},"helpUri":"https://codehealth.canine.dev/dimensions/X3"},{"id":"X30","name":"Support guard that admits what it rejects","shortDescription":{"text":"Support guard that admits what it rejects"},"helpUri":"https://codehealth.canine.dev/dimensions/X30"},{"id":"X32","name":"Type resolved by simple name across every loaded assembly","shortDescription":{"text":"Type resolved by simple name across every loaded assembly"},"helpUri":"https://codehealth.canine.dev/dimensions/X32"},{"id":"X5","name":"Nullable reference types","shortDescription":{"text":"Nullable reference types"},"helpUri":"https://codehealth.canine.dev/dimensions/X5"},{"id":"X6","name":"Hand-rolled structured-format parsing","shortDescription":{"text":"Hand-rolled structured-format parsing"},"helpUri":"https://codehealth.canine.dev/dimensions/X6"},{"id":"X7","name":"Silent fallback defaults","shortDescription":{"text":"Silent fallback defaults"},"helpUri":"https://codehealth.canine.dev/dimensions/X7"},{"id":"X9","name":"Subsumed condition operand","shortDescription":{"text":"Subsumed condition operand"},"helpUri":"https://codehealth.canine.dev/dimensions/X9"}]}},"results":[{"ruleId":"D1","level":"warning","message":{"text":"tree.select.layui.define() (cyclomatic 1045): tree.select.layui.define() has cyclomatic complexity 1045 (threshold 15). Most of this is not in the body itself: 4 of the 1045 points are its own statements and the rest belongs to 199 function literals inside it that branch (lines 2968, 3551, 2278, \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":"assets/common/js/component/tree.select.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"28179de26f0907f577c9a8bfc89573451073aefce11d00e61d1e62c03f61f455"}},{"ruleId":"D1","level":"warning","message":{"text":"hex.layui.define() (cyclomatic 268): hex.layui.define() has cyclomatic complexity 268 (threshold 15). Of this number, 34 points are the body\u0027s own statements and 234 belong to 32 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":"assets/static/modules/hex.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d75057948e23dbdab42b8d6cda28500f4b259fc1c44a7d1e10b5c50b11197ece"}},{"ruleId":"D1","level":"warning","message":{"text":"fallback.render (cyclomatic 177): fallback.render has cyclomatic complexity 177 (threshold 15). Of this number, 52 points are the body\u0027s own statements and 125 belong to 11 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":"assets/admin/js/mobile/fallback.js"},"region":{"startLine":2784}}}],"partialFingerprints":{"codehealthFindingId/v1":"96c9fb48b9271b60734aa88220d25badd1a8468e516d3eec6b536cd8c2003863"}},{"ruleId":"D1","level":"warning","message":{"text":"codemirror.addEditorMethods (cyclomatic 139): codemirror.addEditorMethods has cyclomatic complexity 139 (threshold 15). Of this number, 35 points are the body\u0027s own statements and 104 belong to 32 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":"assets/static/codemirror/lib/codemirror.js"},"region":{"startLine":8268}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b25e69afc2564c9480897dcf4657dded8ada3f786ebfcb63b60be3974a99ba5"}},{"ruleId":"D1","level":"warning","message":{"text":"authtree.layui.define() (cyclomatic 133): authtree.layui.define() has cyclomatic complexity 133 (threshold 15). Most of this is not in the body itself: 1 of the 133 points is its own statement and the rest belongs to 30 function literals inside it that branch (lines 45, 277, 381, \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":"assets/common/js/component/authtree.js"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"1447605c97d43359500f2b271e17d997157fb8e0260fbf56e9f805c1492cdde0"}},{"ruleId":"D1","level":"warning","message":{"text":"(anonymous)::(anonymous)::onMousedownNode::_docMouseMove (cyclomatic 132): (anonymous)::(anonymous)::onMousedownNode::_docMouseMove has cyclomatic complexity 132 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/common/js/component/tree.select.js"},"region":{"startLine":2968}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d9bfcac97314f1905dc373335a0a1de1d4d3492a1f8a97bd3296c6d1dc5d0b9"}},{"ruleId":"D1","level":"warning","message":{"text":"authtree.layui.define() (cyclomatic 124): authtree.layui.define() has cyclomatic complexity 124 (threshold 15). Most of this is not in the body itself: 1 of the 124 points is its own statement and the rest belongs to 26 function literals inside it that branch (lines 45, 275, 379, \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":"assets/static/modules/authtree.js"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffde6702d5ca70911658977408c0ecf285de48c343a4054da663205f2fdf5c00"}},{"ruleId":"D1","level":"warning","message":{"text":"Order.trade (cyclomatic 119): Order.trade has cyclomatic complexity 119 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Service/Bind/Order.php"},"region":{"startLine":644}}}],"partialFingerprints":{"codehealthFindingId/v1":"d82a456b35826b104f9402bbef1daa0695bf878c3a3071bc448cc1e71e93eee9"}},{"ruleId":"D1","level":"warning","message":{"text":"css.CodeMirror.defineMode(\u0022css\u0022) (cyclomatic 114): css.CodeMirror.defineMode(\u0022css\u0022) has cyclomatic complexity 114 (threshold 15). Of this number, 35 points are the body\u0027s own statements and 79 belong to 16 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":"assets/static/codemirror/mode/css/css.js"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"93fcf6810d5b3cfd39a2cbde7b575b1f27b63fdc2563bb010ebfc8c59710a1e3"}},{"ruleId":"D1","level":"warning","message":{"text":"KTMenu (cyclomatic 109): KTMenu has cyclomatic complexity 109 (threshold 15). Most of this is not in the body itself: 3 of the 109 points are its own statements and the rest belongs to 67 function items inside it that branch (_showDropdown, _hideAccordions, _dismiss, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/js/menu.js"},"region":{"startLine":1526}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b4340ce0416a4ed595af17ff4cf22f92d388b495d0719e60ad4879c1fcef3c3"}},{"ruleId":"D1","level":"warning","message":{"text":"commodity (cyclomatic 100): commodity has cyclomatic complexity 100 (threshold 15). Most of this is not in the body itself: 1 of the 100 points is its own statement and the rest belongs to 14 function items inside it that branch (a function literal at line 658, a function literal at line 908, (anonymous)::fnEnd, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/static/acg.js"},"region":{"startLine":652}}}],"partialFingerprints":{"codehealthFindingId/v1":"01f9c78db1c64ee854e191edde92b5e6cfb06acb2697e7860f0a1a364c34914f"}},{"ruleId":"D1","level":"warning","message":{"text":"popup (cyclomatic 99): popup has cyclomatic complexity 99 (threshold 15). Of this number, 44 points are the body\u0027s own statements and 55 belong to 19 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/common/js/component.js"},"region":{"startLine":339}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cfcbd3753e04455ba48747bcd63ca6c0708b90b2776687f5262ac8ff3092fd2"}},{"ruleId":"D1","level":"warning","message":{"text":"_ThemeSetting (cyclomatic 76): _ThemeSetting has cyclomatic complexity 76 (threshold 15). Most of this is not in the body itself: 3 of the 76 points are its own statements and the rest belongs to 34 function items inside it that branch (modal, a function literal at line 266, runThemeAct, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/config/index.js"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"c01d1b9a6f3417595ed33a37120985fe143f01c612e1cc5a314e113bbddb7918"}},{"ruleId":"D1","level":"warning","message":{"text":"register (cyclomatic 74): register has cyclomatic complexity 74 (threshold 15). Of this number, 28 points are the body\u0027s own statements and 46 belong to 41 function items 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":"assets/common/js/editor/markdown/editorv2.js"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f8249c9dac55872280e2e06fb3e9c4cbe0add27dc8324057c21613e7602cea6"}},{"ruleId":"D1","level":"warning","message":{"text":"Commodity.save (cyclomatic 73): Commodity.save has cyclomatic complexity 73 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Controller/User/Api/Commodity.php"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a822aa495c2fb69fa3a07d97858c3952c61f42780ce0393fa739ec2f8d4d687"}},{"ruleId":"D1","level":"warning","message":{"text":"(anonymous) (cyclomatic 73): (anonymous) has cyclomatic complexity 73 (threshold 15). Most of this is not in the body itself: 1 of the 73 points is its own statement and the rest belongs to 3 function items inside it that branch (a function literal at line 393, charType, BidiSpan). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/static/codemirror/lib/codemirror.js"},"region":{"startLine":370}}}],"partialFingerprints":{"codehealthFindingId/v1":"98090d40812f3f8e44173de77782adc9c607d89ceaf8fc1b252eaa813dae4d9e"}},{"ruleId":"D1","level":"warning","message":{"text":"fallback.renderToolbar (cyclomatic 71): fallback.renderToolbar has cyclomatic complexity 71 (threshold 15). Of this number, 33 points are the body\u0027s own statements and 38 belong to 3 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":"assets/admin/js/mobile/fallback.js"},"region":{"startLine":2193}}}],"partialFingerprints":{"codehealthFindingId/v1":"c61fd572c1fde83b752d6017b874ca15b48f3659e9eac7bdc7c7695fe6a7a1a7"}},{"ruleId":"D1","level":"warning","message":{"text":"mountRemoteProductPicker (cyclomatic 71): mountRemoteProductPicker has cyclomatic complexity 71 (threshold 15). Most of this is not in the body itself: 3 of the 71 points are its own statements and the rest belongs to 36 function items inside it that branch (collectScrollParents, updateSelection, onClick, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/shared/store.js"},"region":{"startLine":350}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee313b164aecb15f954e1da3f20bf632c535963d2336c8d5e71d7f47fadc7f1f"}},{"ruleId":"D1","level":"warning","message":{"text":"#getPreprocessColumn (cyclomatic 71): #getPreprocessColumn has cyclomatic complexity 71 (threshold 15). Of this number, 16 points are the body\u0027s own statements and 55 belong to 17 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/common/js/component/table.js"},"region":{"startLine":1382}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d24c7c7f23a8480c6421aba7f6b824f88d11b146438d850adc45aff56fe489b"}},{"ruleId":"D1","level":"warning","message":{"text":"done (cyclomatic 67): done has cyclomatic complexity 67 (threshold 15). Most of this is not in the body itself: 8 of the 67 points are its own statements and the rest belongs to 52 function items inside it that branch (show, done, formatter, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/store/home.js"},"region":{"startLine":1261}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3fb7ed5d5ce8eb1e3f612705c58eb4d8b55d8a0870de511fc9ba108a78cf525"}},{"ruleId":"D1","level":"warning","message":{"text":"Manage.save (cyclomatic 62): Manage.save has cyclomatic complexity 62 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Controller/Admin/Api/Manage.php"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"42501acdb57180d79ef39a56181da96f9ad718cd6c8824ab5a8caed99a556024"}},{"ruleId":"D1","level":"warning","message":{"text":"Commodity.save (cyclomatic 60): Commodity.save has cyclomatic complexity 60 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Controller/Admin/Api/Commodity.php"},"region":{"startLine":405}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad6050661076c9382c9af795fa2b872e4e1fe1d709beeae016ccb542582bd382"}},{"ruleId":"D1","level":"warning","message":{"text":"CommodityGroupModal (cyclomatic 60): CommodityGroupModal has cyclomatic complexity 60 (threshold 15). Most of this is not in the body itself: 1 of the 60 points is its own statement and the rest belongs to 22 function items inside it that branch (a function literal at line 264, complete::applyMobileSearch, a function literal at line 334, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/user/group.js"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"68794798e1ffb3dd9ff7f8aeb1c74e1377795f96f2d8a760582f56b02e2a9d75"}},{"ruleId":"D1","level":"warning","message":{"text":"Pay.paymentSaveMap (cyclomatic 59): Pay.paymentSaveMap has cyclomatic complexity 59 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Controller/Admin/Api/Pay.php"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"03857694d4a4d8f6fd5ac3ca9c05af2ff9670a10f0b45ad9b9e9dd79b66e380b"}},{"ruleId":"D1","level":"warning","message":{"text":"presentPopup (cyclomatic 57): presentPopup has cyclomatic complexity 57 (threshold 15). Of this number, 31 points are the body\u0027s own statements and 26 belong to 11 function items 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":"assets/admin/js/mobile/overlay.js"},"region":{"startLine":1130}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d47957780617c4006197bc067f98dbd65026131326f960d227117b944e5c548"}},{"ruleId":"D1","level":"warning","message":{"text":"(anonymous)::(anonymous)::moveNode (cyclomatic 57): (anonymous)::(anonymous)::moveNode has cyclomatic complexity 57 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/common/js/component/tree.select.js"},"region":{"startLine":3551}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3410bab69b2f838faff93f9fdaee2988a61000024fe91b6913ab96e6b9b5f1f"}},{"ruleId":"D1","level":"warning","message":{"text":"codemirror.insertLineContent (cyclomatic 56): codemirror.insertLineContent has cyclomatic complexity 56 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/static/codemirror/lib/codemirror.js"},"region":{"startLine":1921}}}],"partialFingerprints":{"codehealthFindingId/v1":"3aefb43d264c0275dc69e7309fa9e25edd5a6599014c5f452dfe48edb6605c1e"}},{"ruleId":"D1","level":"warning","message":{"text":"User.save (cyclomatic 53): User.save has cyclomatic complexity 53 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Controller/Admin/Api/User.php"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"4825ad4e244db5353dc4055dd199b714541797c526553e716c2ca31692228483"}},{"ruleId":"D1","level":"warning","message":{"text":"codemirror.drawSelectionRange (cyclomatic 52): codemirror.drawSelectionRange has cyclomatic complexity 52 (threshold 15). Most of this is not in the body itself: 7 of the 52 points are its own statements and the rest belongs to 4 function items inside it that branch (a function literal at line 3232, drawForLine::wrapX, add, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/static/codemirror/lib/codemirror.js"},"region":{"startLine":3202}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4ec9030247e0c083d37789946c71bc79049e2aa6e8c2041abe2552bf844f773"}},{"ruleId":"D1","level":"warning","message":{"text":"createCoupon (cyclomatic 50): createCoupon has cyclomatic complexity 50 (threshold 15). Most of this is not in the body itself: 5 of the 50 points are its own statements and the rest belongs to 11 function items inside it that branch (a function literal at line 209, a function literal at line 314, a function literal at line 250, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/trade/coupon.js"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"472737559e2051aa2249d126b79edc2e843e1fbaca8125aefa7343e87329a6ce"}},{"ruleId":"D1","level":"warning","message":{"text":"fallback.openFilters (cyclomatic 49): fallback.openFilters has cyclomatic complexity 49 (threshold 15). Of this number, 25 points are the body\u0027s own statements and 24 belong to 6 function items 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":"assets/admin/js/mobile/fallback.js"},"region":{"startLine":2055}}}],"partialFingerprints":{"codehealthFindingId/v1":"8914638396b0f30107baa983fe95b3d02e82acfb1fb3a9d7debb12c93ae033a3"}},{"ruleId":"D1","level":"warning","message":{"text":"BusinessLevel.validatedSaveMap (cyclomatic 49): BusinessLevel.validatedSaveMap has cyclomatic complexity 49 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Controller/Admin/Api/BusinessLevel.php"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba5424d45c2389efae701f7b016b8606e998f7be3c0504f1f72040c89c82a882"}},{"ruleId":"D1","level":"warning","message":{"text":"(anonymous).mount::upload (cyclomatic 49): (anonymous).mount::upload has cyclomatic complexity 49 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/trade/card-file-upload.js"},"region":{"startLine":603}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc96096e60dfeb95e771e49c1cbc87db3d0f39e3bd7afb330e9c9c7b2abb9c3e"}},{"ruleId":"D1","level":"warning","message":{"text":"Store.addItem (cyclomatic 48): Store.addItem has cyclomatic complexity 48 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Controller/Admin/Api/Store.php"},"region":{"startLine":1086}}}],"partialFingerprints":{"codehealthFindingId/v1":"b14f3ba1ac02b07f33aa0a7c97abde2c2b7526488db94ac937c8442146e0fe48"}},{"ruleId":"D1","level":"warning","message":{"text":"_Auth (cyclomatic 47): _Auth has cyclomatic complexity 47 (threshold 15). Most of this is not in the body itself: 4 of the 47 points are its own statements and the rest belongs to 25 function items inside it that branch (complete::_register_captcha::done, complete, a function literal at line 694, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/store/home.js"},"region":{"startLine":516}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ed776578b1afdba9ea874404c418d97d1ac5ae9052120717fe0f2f801ea641d"}},{"ruleId":"D1","level":"warning","message":{"text":"Order.valuation (cyclomatic 46): Order.valuation has cyclomatic complexity 46 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Service/Bind/Order.php"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4df114eb0d9cb9e9eefb6ba49fc46012abbd877ff31e394cb697cfc0e201008"}},{"ruleId":"D1","level":"warning","message":{"text":"click (cyclomatic 45): click has cyclomatic complexity 45 (threshold 15). Most of this is not in the body itself: 2 of the 45 points are its own statements and the rest belongs to 17 function items inside it that branch (a function literal at line 1454, a function literal at line 1487, a function literal at line 1516, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/shared/store.js"},"region":{"startLine":1446}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc89a8e624f2f231f264e966afdc22f61165b7f516aec940472ca802e9d7aae8"}},{"ruleId":"D1","level":"warning","message":{"text":"api.confirmPayDelete (cyclomatic 44): api.confirmPayDelete has cyclomatic complexity 44 (threshold 15). Most of this is not in the body itself: 3 of the 44 points are its own statements and the rest belongs to 4 function literals inside it that branch (lines 105, 116, 164, \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":"assets/admin/controller/pay/api.js"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"6df11976123d9897976a570a6b6130129764e3bc8af1128f0f6635bb9e9f27bf"}},{"ruleId":"D1","level":"warning","message":{"text":"codemirror.markText (cyclomatic 44): codemirror.markText has cyclomatic complexity 44 (threshold 15). Of this number, 34 points are the body\u0027s own statements and 10 belong to 2 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":"assets/static/codemirror/lib/codemirror.js"},"region":{"startLine":5968}}}],"partialFingerprints":{"codehealthFindingId/v1":"03a068ce2f6c70cee1b6f427e5c33338d6dd3d50da5633863cfabcc957684072"}},{"ruleId":"D1","level":"warning","message":{"text":"(anonymous).attach.openMenu (cyclomatic 44): (anonymous).attach.openMenu has cyclomatic complexity 44 (threshold 15). Of this number, 27 points are the body\u0027s own statements and 17 belong to 12 function items 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":"assets/admin/controller/trade/category-tree.js"},"region":{"startLine":750}}}],"partialFingerprints":{"codehealthFindingId/v1":"c08f0888f2896ed07963fe4a70bc9971772b9073cfdf4eb45825b577cc83aba7"}},{"ruleId":"D1","level":"warning","message":{"text":"javascript.CodeMirror.defineMode(\u0022javascript\u0022).tokenBase (cyclomatic 43): javascript.CodeMirror.defineMode(\u0022javascript\u0022).tokenBase has cyclomatic complexity 43 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/static/codemirror/mode/javascript/javascript.js"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"03f93938159cee9ef61cde161ddf47f09acc4179700058560e1929c73bd68d5c"}},{"ruleId":"D1","level":"warning","message":{"text":"(anonymous).tokenBase (cyclomatic 43): (anonymous).tokenBase has cyclomatic complexity 43 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/static/codemirror/mode/javascript/javascript.js"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"13ebcd75f2a78d336c19993f54d65d5c3fa232e7ebbb19b812ad2c57dd49844d"}},{"ruleId":"D1","level":"warning","message":{"text":"Group.validatedSaveMap (cyclomatic 42): Group.validatedSaveMap has cyclomatic complexity 42 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Controller/Admin/Api/Group.php"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"a89856b76e967a7f092d0b91d2a42aa96a410b0f7750f66a1171b701c0879841"}},{"ruleId":"D1","level":"warning","message":{"text":"modal (cyclomatic 42): modal has cyclomatic complexity 42 (threshold 15). Most of this is not in the body itself: 9 of the 42 points are its own statements and the rest belongs to 22 function items inside it that branch (a function literal at line 562, complete::(anonymous)::change, a function literal at line 170, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/trade/commodity.js"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"3593984a7d38b04fde7c0b9055b0057d0abe40c2d536cebc0c1e90078cc08aa8"}},{"ruleId":"D1","level":"warning","message":{"text":"codemirror.findPosH (cyclomatic 41): codemirror.findPosH has cyclomatic complexity 41 (threshold 15). Of this number, 28 points are the body\u0027s own statements and 13 belong to 2 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/static/codemirror/lib/codemirror.js"},"region":{"startLine":8708}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7be4c7afc608db86885eec1ac3fc0db2057ab81ef14226921233c16637cd633"}},{"ruleId":"D1","level":"warning","message":{"text":"#createOptions (cyclomatic 41): #createOptions has cyclomatic complexity 41 (threshold 15). Most of this is not in the body itself: 2 of the 41 points are its own statements and the rest belongs to 20 function items inside it that branch (a function literal at line 1724, queryParams, a function literal at line 1689, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/common/js/component/table.js"},"region":{"startLine":1587}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0ee7db5fcf591169fa787f52ed8b05d98619ea5836788701a664f9705deeda9"}},{"ruleId":"D1","level":"warning","message":{"text":"(anonymous) (cyclomatic 41): (anonymous) has cyclomatic complexity 41 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/static/codemirror/lib/codemirror.js"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"1feda992a5746bafef64add62d49c1794615ee178420380c7b72741f6060ae88"}},{"ruleId":"D1","level":"warning","message":{"text":"javascript.CodeMirror.defineMode(\u0022javascript\u0022).statement (cyclomatic 40): javascript.CodeMirror.defineMode(\u0022javascript\u0022).statement has cyclomatic complexity 40 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/static/codemirror/mode/javascript/javascript.js"},"region":{"startLine":368}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f6a89cf20deaf7d941ab56f6996bbaa907f0f6f690b324ea3d35a7d4e7557a8"}},{"ruleId":"D1","level":"warning","message":{"text":"(anonymous).statement (cyclomatic 40): (anonymous).statement has cyclomatic complexity 40 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/static/codemirror/mode/javascript/javascript.js"},"region":{"startLine":368}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bc53d71bbfb85b3f4a377499a914947066036f84688e926f2e0ef7c4553630a"}},{"ruleId":"D1","level":"warning","message":{"text":"workflows.renderPageActions (cyclomatic 39): workflows.renderPageActions has cyclomatic complexity 39 (threshold 15). Of this number, 22 points are the body\u0027s own statements and 17 belong to 7 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":"assets/admin/js/mobile/workflows.js"},"region":{"startLine":1067}}}],"partialFingerprints":{"codehealthFindingId/v1":"42c6603c75d4befbf0e1f74163155364ac2b11297317e8b6b76db5344b93834b"}},{"ruleId":"D1","level":"warning","message":{"text":"Util._verifyDialog (cyclomatic 39): Util._verifyDialog has cyclomatic complexity 39 (threshold 15). Most of this is not in the body itself: 12 of the 39 points are its own statements and the rest belongs to 9 function items inside it that branch (submit, a function literal at line 423, close, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/common/js/util.js"},"region":{"startLine":355}}}],"partialFingerprints":{"codehealthFindingId/v1":"61da760205983384737683206e7e3614cd9a2359f1cd2a00cdad8ffb575f1b4e"}},{"ruleId":"D1","level":"warning","message":{"text":"Category.save (cyclomatic 39): Category.save has cyclomatic complexity 39 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Controller/Admin/Api/Category.php"},"region":{"startLine":431}}}],"partialFingerprints":{"codehealthFindingId/v1":"a54f10fdaaf77147abc41113da0ebe2865487f2b0a61a4fa4d018a08b422f82f"}},{"ruleId":"D1","level":"warning","message":{"text":"jquery.pjax.pjax (cyclomatic 38): jquery.pjax.pjax has cyclomatic complexity 38 (threshold 15). Of this number, 16 points are the body\u0027s own statements and 22 belong to 6 function items 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":"assets/static/jquery.pjax.js"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"16265b4838a4580b0ab7336d3011513740b6a347d2503b25b1c16b94eb699899"}},{"ruleId":"D1","level":"warning","message":{"text":"workflows.syncSettingsNavigation (cyclomatic 37): workflows.syncSettingsNavigation has cyclomatic complexity 37 (threshold 15). Of this number, 20 points are the body\u0027s own statements and 17 belong to 9 function items 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":"assets/admin/js/mobile/workflows.js"},"region":{"startLine":768}}}],"partialFingerprints":{"codehealthFindingId/v1":"374cc72cfaf504730991cbfbc0b5f51605664c7f5885142155074fe9d339cfee"}},{"ruleId":"D1","level":"warning","message":{"text":"codemirror.moveVisually (cyclomatic 37): codemirror.moveVisually has cyclomatic complexity 37 (threshold 15). Of this number, 25 points are the body\u0027s own statements and 12 belong to 4 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/static/codemirror/lib/codemirror.js"},"region":{"startLine":6912}}}],"partialFingerprints":{"codehealthFindingId/v1":"f63d9cb824ccb3f3f766d306ce68584bf04f9bb92f0a176ab335c30ae67a50c8"}},{"ruleId":"D1","level":"warning","message":{"text":"UploadGuard.contentError (cyclomatic 37): UploadGuard.contentError has cyclomatic complexity 37 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Util/UploadGuard.php"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecde76a89d807322366ba7e6804327d53e44a4083e7cb425a49024cb14603d6a"}},{"ruleId":"D1","level":"warning","message":{"text":"javascript.CodeMirror.defineMode(\u0022javascript\u0022).indent (cyclomatic 36): javascript.CodeMirror.defineMode(\u0022javascript\u0022).indent has cyclomatic complexity 36 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/static/codemirror/mode/javascript/javascript.js"},"region":{"startLine":895}}}],"partialFingerprints":{"codehealthFindingId/v1":"24ba3226bec4d58931529863bbe2535b8b79f87ca26ae2d2bb05ce998bbb8538"}},{"ruleId":"D1","level":"warning","message":{"text":"ticket.detail.renderRelated (cyclomatic 36): ticket.detail.renderRelated has cyclomatic complexity 36 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/user/controller/user/ticket.detail.js"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"22d812fe84519e9d4c45e6993a1d07961f831e7d2961fab67205047022df63c2"}},{"ruleId":"D1","level":"warning","message":{"text":"glass.refreshMessageCenter (cyclomatic 36): glass.refreshMessageCenter has cyclomatic complexity 36 (threshold 15). Most of this is not in the body itself: 3 of the 36 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 243, 284). 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":"assets/user/js/glass.js"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"986dc22bab85d4d433e67283951818d92670cc4cf6cf753cf84627e90984729f"}},{"ruleId":"D1","level":"warning","message":{"text":"confirmPayDelete::done (cyclomatic 36): confirmPayDelete::done has cyclomatic complexity 36 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/pay/api.js"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a8081640a1f8121d00fbd4ab6d00603f069d8b015a36e82df2b4cb3b681ccd9"}},{"ruleId":"D1","level":"warning","message":{"text":"(anonymous).indent (cyclomatic 36): (anonymous).indent has cyclomatic complexity 36 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/static/codemirror/mode/javascript/javascript.js"},"region":{"startLine":895}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae97ca949eb47b7f42e914a3da69d422b044c4ed7afd815a8e54496002d8f45e"}},{"ruleId":"D1","level":"warning","message":{"text":"home._ShowRebindPlan (cyclomatic 35): home._ShowRebindPlan has cyclomatic complexity 35 (threshold 15). Of this number, 16 points are the body\u0027s own statements and 19 belong to 7 function items 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":"assets/admin/controller/store/home.js"},"region":{"startLine":1067}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f3529682d8a70c49918a906643a2d6cd9ea736293cec50b3a750e84de083554"}},{"ruleId":"D1","level":"warning","message":{"text":"fallback.renderTreeContext (cyclomatic 35): fallback.renderTreeContext has cyclomatic complexity 35 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/js/mobile/fallback.js"},"region":{"startLine":2628}}}],"partialFingerprints":{"codehealthFindingId/v1":"0467184516146e065abd3babdec1a61368455cd73aea376592ada904936bea6a"}},{"ruleId":"D1","level":"warning","message":{"text":"codemirror.measureCharInner (cyclomatic 35): codemirror.measureCharInner has cyclomatic complexity 35 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/static/codemirror/lib/codemirror.js"},"region":{"startLine":2489}}}],"partialFingerprints":{"codehealthFindingId/v1":"b38410c9c6edc3288c6229e98659841b3579d6b0b74537aa1baa879e14fa5137"}},{"ruleId":"D1","level":"warning","message":{"text":"Image.createThumbnail (cyclomatic 35): Image.createThumbnail has cyclomatic complexity 35 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Service/Bind/Image.php"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6caee82cf253578a2238fba33b6020b80ce05a7ae05ea01eaa634cafbe70de5"}},{"ruleId":"D1","level":"warning","message":{"text":"fallback.renderSelectionDock (cyclomatic 34): fallback.renderSelectionDock has cyclomatic complexity 34 (threshold 15). Of this number, 16 points are the body\u0027s own statements and 18 belong to 5 function items 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":"assets/admin/js/mobile/fallback.js"},"region":{"startLine":2329}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a806bd68c4336de5b9bee096f2c3120dd87da47511cfb4adab5750137371eea"}},{"ruleId":"D1","level":"warning","message":{"text":"overlay.focusInvalid (cyclomatic 34): overlay.focusInvalid has cyclomatic complexity 34 (threshold 15). Of this number, 28 points are the body\u0027s own statements and 6 belong to 2 function items 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":"assets/admin/js/mobile/overlay.js"},"region":{"startLine":1063}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ac4cee87ae02852e19ac799d3858b5fe3f06fb448fd316c4f8d9f4bd0317d14"}},{"ruleId":"D1","level":"warning","message":{"text":"Form.constructor (cyclomatic 34): Form.constructor has cyclomatic complexity 34 (threshold 15). Most of this is not in the body itself: 1 of the 34 points is its own statement and the rest belongs to 2 function literals inside it that branch (lines 28, 22). 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. This is NOT this file\u0027s highest cyclomatic complexity: Form.createForm (cyclomatic 40) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/common/js/component/form.js"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8a5def263479a1e0d70dfed3b7cbaf05e61459329ffa8061f44853f118e6893"}},{"ruleId":"D1","level":"warning","message":{"text":"codemirror.onScrollWheel (cyclomatic 34): codemirror.onScrollWheel has cyclomatic complexity 34 (threshold 15). Of this number, 27 points are the body\u0027s own statements and 7 belong to one function literal inside it that branches. 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":"assets/static/codemirror/lib/codemirror.js"},"region":{"startLine":4509}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ecaf5e6c110d2c768f3fac2b8aed251327ecc51c55e758eabcc6be67af8775e"}},{"ruleId":"D1","level":"warning","message":{"text":"CommodityGroup.mobileCommodityTree (cyclomatic 34): CommodityGroup.mobileCommodityTree has cyclomatic complexity 34 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Controller/Admin/Api/CommodityGroup.php"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f65178cf49ad281bf717066f8510a1ae03a08d65b29c277a206eeed16c896ea"}},{"ruleId":"D1","level":"warning","message":{"text":"Coupon.couponExportQuery (cyclomatic 34): Coupon.couponExportQuery has cyclomatic complexity 34 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Controller/Admin/Api/Coupon.php"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfc2a2db730cd9e55cb46812d0ba061243156d6f271a829d3542e6d411031784"}},{"ruleId":"D1","level":"warning","message":{"text":"Authentication.register (cyclomatic 34): Authentication.register has cyclomatic complexity 34 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Controller/User/Api/Authentication.php"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"74bd266aa8d254a402749bd0e3b76db450af94c5926f3f527fd7e54a668bcb2f"}},{"ruleId":"D1","level":"warning","message":{"text":"message.openComposer (cyclomatic 33): message.openComposer has cyclomatic complexity 33 (threshold 15). Most of this is not in the body itself: 11 of the 33 points are its own statements and the rest belongs to 8 function literals inside it that branch (lines 491, 479, 505, \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":"assets/admin/controller/user/message.js"},"region":{"startLine":360}}}],"partialFingerprints":{"codehealthFindingId/v1":"156a667e26a784ce94f674ba760c55211586a152a049481269cbffc834cb2dc0"}},{"ruleId":"D1","level":"warning","message":{"text":"codemirror.leftButtonSelect (cyclomatic 33): codemirror.leftButtonSelect has cyclomatic complexity 33 (threshold 15). Most of this is not in the body itself: 14 of the 33 points are its own statements and the rest belongs to 6 function items inside it that branch (extendTo, extend, a function literal at line 7601, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/static/codemirror/lib/codemirror.js"},"region":{"startLine":7475}}}],"partialFingerprints":{"codehealthFindingId/v1":"857ca42fc4de95621c5ea433b54fefd190c83216fa5aba6fcfbb2a73733876dc"}},{"ruleId":"D1","level":"warning","message":{"text":"(anonymous)::render (cyclomatic 33): (anonymous)::render has cyclomatic complexity 33 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/static/modules/authtree.js"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"6caf017f670c2fdb7a0d059d962813971b760024f8b844808dba72b2e1c1e41c"}},{"ruleId":"D1","level":"warning","message":{"text":"refreshMessageCenter::success (cyclomatic 33): refreshMessageCenter::success has cyclomatic complexity 33 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/user/js/glass.js"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdd76b90074696e6fc743f3a5aebfba7c58cd3ff37b20d48c6f714b7a3358a48"}},{"ruleId":"D1","level":"warning","message":{"text":"(anonymous)::render (cyclomatic 33): (anonymous)::render has cyclomatic complexity 33 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/common/js/component/authtree.js"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"f113ed1b02d1625cdfc2211755bfa652df151e00bd100270ca11039b68a3c398"}},{"ruleId":"D1","level":"warning","message":{"text":"order.$(\u0022.btn-app-export\u0022).off().on() (cyclomatic 32): order.$(\u0022.btn-app-export\u0022).off().on() has cyclomatic complexity 32 (threshold 15). Most of this is not in the body itself: 1 of the 32 points is its own statement and the rest belongs to 2 function literals inside it that branch (lines 785, 828). 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":"assets/admin/controller/trade/order.js"},"region":{"startLine":743}}}],"partialFingerprints":{"codehealthFindingId/v1":"c01a7c37b0327015759151efd997fe76baf3a876a3f803b2aa728e255094f662"}},{"ruleId":"D1","level":"warning","message":{"text":"Form.getData (cyclomatic 32): Form.getData has cyclomatic complexity 32 (threshold 15). Most of this is not in the body itself: 4 of the 32 points are its own statements and the rest belongs to 5 function literals inside it that branch (lines 992, 980, 982, \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. This is NOT this file\u0027s highest cyclomatic complexity: Form.createForm (cyclomatic 40) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/common/js/component/form.js"},"region":{"startLine":977}}}],"partialFingerprints":{"codehealthFindingId/v1":"4494436403c804e85823e002bf44a69996475ddb4b1a49b0c58200c24ab7d0c6"}},{"ruleId":"D1","level":"warning","message":{"text":"codemirror.stretchSpansOverChange (cyclomatic 32): codemirror.stretchSpansOverChange has cyclomatic complexity 32 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/static/codemirror/lib/codemirror.js"},"region":{"startLine":1372}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b0468f98c0cea1a39ea76884d0b93d45bad436a535479f94070e89e28fe513a"}},{"ruleId":"D1","level":"warning","message":{"text":"codemirror.buildToken (cyclomatic 32): codemirror.buildToken has cyclomatic complexity 32 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/static/codemirror/lib/codemirror.js"},"region":{"startLine":1801}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcb0b94e578177474a12b2d35125de49cb3af885dda25d957a6254c75513cc5c"}},{"ruleId":"D1","level":"warning","message":{"text":"codemirror.registerEventHandlers (cyclomatic 32): codemirror.registerEventHandlers has cyclomatic complexity 32 (threshold 15). Most of this is not in the body itself: 3 of the 32 points are its own statements and the rest belongs to 13 function items inside it that branch (a function literal at line 8018, a function literal at line 8002, a function literal at line 7965, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/static/codemirror/lib/codemirror.js"},"region":{"startLine":7960}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c34b64bf9ce131f6091c536c3844478087569c92b26428fd1285bd2d1d6722f"}},{"ruleId":"D1","level":"warning","message":{"text":"codemirror.ContentEditableInput.pollContent (cyclomatic 32): codemirror.ContentEditableInput.pollContent has cyclomatic complexity 32 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/static/codemirror/lib/codemirror.js"},"region":{"startLine":9058}}}],"partialFingerprints":{"codehealthFindingId/v1":"83820bbcd950e502296c9135957f6d4ab5fad001c3afb715422ae351135ce4b2"}},{"ruleId":"D1","level":"warning","message":{"text":"Coupon.save (cyclomatic 32): Coupon.save has cyclomatic complexity 32 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Controller/Admin/Api/Coupon.php"},"region":{"startLine":254}}}],"partialFingerprints":{"codehealthFindingId/v1":"404c8caea66ddbba8f14a8298ad3d4e6ab8008802f3ff19ce0fbeb502d9ff346"}},{"ruleId":"D1","level":"warning","message":{"text":"Manage.set (cyclomatic 32): Manage.set has cyclomatic complexity 32 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Controller/Admin/Api/Manage.php"},"region":{"startLine":370}}}],"partialFingerprints":{"codehealthFindingId/v1":"93f0179da4dfa9fcec506194c5e9dbf0aff761c2649fc132b3874174982b7e9b"}},{"ruleId":"D1","level":"warning","message":{"text":"Shared.syncRemoteItem (cyclomatic 32): Shared.syncRemoteItem has cyclomatic complexity 32 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Service/Bind/Shared.php"},"region":{"startLine":1032}}}],"partialFingerprints":{"codehealthFindingId/v1":"8673f68583c3c83a343e9c398be7144b95ca87adedcf7460b92854ac7572c826"}},{"ruleId":"D1","level":"warning","message":{"text":"(anonymous)::submit (cyclomatic 32): (anonymous)::submit has cyclomatic complexity 32 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/trade/order.js"},"region":{"startLine":785}}}],"partialFingerprints":{"codehealthFindingId/v1":"73279bcedc7747cc3d2fa09fc4c4d4a95f8a6ce9eb102827a02851488909d322"}},{"ruleId":"D1","level":"warning","message":{"text":"recharge.order.$(\u0022.btn-app-export\u0022).off().on() (cyclomatic 31): recharge.order.$(\u0022.btn-app-export\u0022).off().on() has cyclomatic complexity 31 (threshold 15). Most of this is not in the body itself: 1 of the 31 points is its own statement and the rest belongs to 2 function literals inside it that branch (lines 271, 314). 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":"assets/admin/controller/user/recharge.order.js"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8e62e911d6a75631453f4f68e8ba77eaa41d970a311a460a287a52ea81abdbc"}},{"ruleId":"D1","level":"warning","message":{"text":"Component.previewMessage (cyclomatic 31): Component.previewMessage has cyclomatic complexity 31 (threshold 15). Most of this is not in the body itself: 13 of the 31 points are its own statements and the rest belongs to 5 function literals inside it that branch (lines 238, 262, 222, \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":"assets/common/js/component.js"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f40b64be8ab849c2905c96193997cd56347ac5f4084cd0a8a8ce41e18b18ca7"}},{"ruleId":"D1","level":"warning","message":{"text":"codemirror.skipAtomicInner (cyclomatic 31): codemirror.skipAtomicInner has cyclomatic complexity 31 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/static/codemirror/lib/codemirror.js"},"region":{"startLine":5202}}}],"partialFingerprints":{"codehealthFindingId/v1":"b84a68033f3537b42e8a9b3cdefca3ae174254571de4851818a8fc02c9db5a37"}},{"ruleId":"D1","level":"warning","message":{"text":"Message.save (cyclomatic 31): Message.save has cyclomatic complexity 31 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Service/Bind/Message.php"},"region":{"startLine":722}}}],"partialFingerprints":{"codehealthFindingId/v1":"250c83a4fffa486e9049b7f66b837062a331349c00c9dbcc732cb02e7729e80f"}},{"ruleId":"D1","level":"warning","message":{"text":"applyModal (cyclomatic 31): applyModal has cyclomatic complexity 31 (threshold 15). Most of this is not in the body itself: 2 of the 31 points are its own statements and the rest belongs to 7 function items inside it that branch (a function literal at line 242, a function literal at line 262, a function literal at line 314, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/shared/priceTemplate.js"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"47fd3f07a86790dbcd36c9b3978a4c750d6114e1e2236a1664e9be1a10f88a7d"}},{"ruleId":"D1","level":"warning","message":{"text":"(anonymous).attach.onKey (cyclomatic 31): (anonymous).attach.onKey has cyclomatic complexity 31 (threshold 15). Of this number, 30 points are the body\u0027s own statements and 1 belongs to one function item inside it that branches. 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":"assets/admin/controller/trade/category-tree.js"},"region":{"startLine":1041}}}],"partialFingerprints":{"codehealthFindingId/v1":"396286f43d89fb0e478c4d80a526d1b2d6c1cc68c678794c2ec791bd40fd1caa"}},{"ruleId":"D1","level":"warning","message":{"text":"click (cyclomatic 31): click has cyclomatic complexity 31 (threshold 15). Most of this is not in the body itself: 10 of the 31 points are its own statements and the rest belongs to 10 function items inside it that branch (yes, success, a function literal at line 141, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/user/cash.js"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"deae177bf4c5b10114f922c79d111cac6c3a33e89c5bbf5893410ef6d62e3834"}},{"ruleId":"D1","level":"warning","message":{"text":"mobileAccountSubmit (cyclomatic 31): mobileAccountSubmit has cyclomatic complexity 31 (threshold 15). Most of this is not in the body itself: 1 of the 31 points is its own statement and the rest belongs to 5 function items inside it that branch (a function literal at line 47, a function literal at line 95, (anonymous)::(anonymous)::done, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/user/index.js"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"acc19196baf90fb2517fc83ccac21cc1117b3c3b341459fb28aa8f3ca6738cdb"}},{"ruleId":"D1","level":"warning","message":{"text":"(anonymous)::submit (cyclomatic 31): (anonymous)::submit has cyclomatic complexity 31 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/user/recharge.order.js"},"region":{"startLine":271}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcd2eec49e3c2f2a194d97d0fb29d1e35e36245a4b6b190f4cf8d122ae26d659"}},{"ruleId":"D1","level":"warning","message":{"text":"fallback.renderReferenceCard (cyclomatic 30): fallback.renderReferenceCard has cyclomatic complexity 30 (threshold 15). Of this number, 29 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. 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":"assets/admin/js/mobile/fallback.js"},"region":{"startLine":441}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bd2fe42b0dcf34f2281c72df3c9d73edee14cd709598edfaae06952def9a6a4"}},{"ruleId":"D1","level":"warning","message":{"text":"codemirror.TextMarker.clear (cyclomatic 30): codemirror.TextMarker.clear has cyclomatic complexity 30 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/static/codemirror/lib/codemirror.js"},"region":{"startLine":5858}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae454299d862a4773666c474b397705754f0692c1730ea396bc1a9ae97755d36"}},{"ruleId":"D1","level":"warning","message":{"text":"python.CodeMirror.defineMode(\u0022python\u0022)::tokenBaseInner (cyclomatic 30): python.CodeMirror.defineMode(\u0022python\u0022)::tokenBaseInner has cyclomatic complexity 30 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This shape REPEATS in the file: one other method here (python.CodeMirror.defineMode(\u0022python\u0022)::tokenLexer) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/static/codemirror/mode/python/python.js"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"87cc754dd4c5a98d07fc58037fe9e5607050df3048731fa6a129d156efaa38b4"}},{"ruleId":"D1","level":"warning","message":{"text":"Order.orderExportQuery (cyclomatic 30): Order.orderExportQuery has cyclomatic complexity 30 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Controller/Admin/Api/Order.php"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"37e303e98dbfc4900c97a98c8d174ff6d44fe3852ed7c64a7799df8371abda0c"}},{"ruleId":"D1","level":"warning","message":{"text":"Index.commodity (cyclomatic 30): Index.commodity has cyclomatic complexity 30 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Controller/User/Api/Index.php"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e1bdbe983fd7e30213310bbada729ff26468b30502e6ffbb51b49ce9d120f68"}},{"ruleId":"D1","level":"warning","message":{"text":"PriceTemplate.applyToConfig (cyclomatic 30): PriceTemplate.applyToConfig has cyclomatic complexity 30 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Model/PriceTemplate.php"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"48ca25e2d85dd738ad1b40f81846c267cb3a0f89271fd35cad078b61ddba3340"}},{"ruleId":"D1","level":"warning","message":{"text":"Order.getTradeAmount (cyclomatic 30): Order.getTradeAmount has cyclomatic complexity 30 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Service/Bind/Order.php"},"region":{"startLine":1510}}}],"partialFingerprints":{"codehealthFindingId/v1":"02af83457fe9ad0e457030710dc5ddea6372567f174f362930823d9a6435c2d9"}},{"ruleId":"D1","level":"warning","message":{"text":"(anonymous)::tokenBaseInner (cyclomatic 30): (anonymous)::tokenBaseInner has cyclomatic complexity 30 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/static/codemirror/mode/python/python.js"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ef227eaeb34d864764e7b9b30babbc077b386059ea422005c14f5ae517f0201"}},{"ruleId":"D1","level":"warning","message":{"text":"ready.flushReadyQueue (cyclomatic 29): ready.flushReadyQueue has cyclomatic complexity 29 (threshold 15). Most of this is not in the body itself: 3 of the 29 points are its own statements and the rest belongs to 8 function items inside it that branch (a function literal at line 139, a function literal at line 95, execute, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/common/js/ready.js"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"10c42cf4d9cdd2c512081881019e4f575d085d38ff914e24724c08c5e19eadfa"}},{"ruleId":"D1","level":"warning","message":{"text":"Query.get (cyclomatic 29): Query.get has cyclomatic complexity 29 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Service/Bind/Query.php"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"c584f8c6dd1b8b9b5878d3f488f7d80307078872b7a7ce29c0519061058571e0"}},{"ruleId":"D1","level":"warning","message":{"text":"done (cyclomatic 29): done has cyclomatic complexity 29 (threshold 15). Most of this is not in the body itself: 4 of the 29 points are its own statements and the rest belongs to 26 function items inside it that branch (formatter, formatter, click, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/store/developer.js"},"region":{"startLine":621}}}],"partialFingerprints":{"codehealthFindingId/v1":"196731fd5766517f57f111c7bcc6a85bc4991b1f8c46127fc8b0ae950b60ce25"}},{"ruleId":"D1","level":"warning","message":{"text":"mobileDeliverySubmit (cyclomatic 29): mobileDeliverySubmit has cyclomatic complexity 29 (threshold 15). Most of this is not in the body itself: 1 of the 29 points is its own statement and the rest belongs to 5 function items inside it that branch (a function literal at line 260, a function literal at line 298, (anonymous)::(anonymous)::done, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/trade/order.js"},"region":{"startLine":257}}}],"partialFingerprints":{"codehealthFindingId/v1":"76ca633920c7e9e85826f1da1e5602cede93b229c33d1518eafd915873fb80d4"}},{"ruleId":"D1","level":"warning","message":{"text":"addWidget (cyclomatic 29): addWidget has cyclomatic complexity 29 (threshold 15). Of this number, 16 points are the body\u0027s own statements and 13 belong to 11 function items 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. This is NOT this file\u0027s highest cyclomatic complexity: createForm (cyclomatic 40) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/common/js/component/form.js"},"region":{"startLine":474}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bcf21ddbf12659002983fb521a11af60b5f1c15d664386dfed22ccd6e46e60a"}},{"ruleId":"D1","level":"warning","message":{"text":"(anonymous)::(anonymous)::makeChkFlag (cyclomatic 29): (anonymous)::(anonymous)::makeChkFlag has cyclomatic complexity 29 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/common/js/component/tree.select.js"},"region":{"startLine":2278}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f210b460f2fbb6aeaae1fb21fa16e96b3c2d7a8f78f2e199c72a686ec8c12cc"}},{"ruleId":"D1","level":"warning","message":{"text":"workflows.invalidFormField (cyclomatic 28): workflows.invalidFormField has cyclomatic complexity 28 (threshold 15). Of this number, 20 points are the body\u0027s own statements and 8 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":"assets/admin/js/mobile/workflows.js"},"region":{"startLine":271}}}],"partialFingerprints":{"codehealthFindingId/v1":"9179f34ad4975a19e7f22b0135686c8d0151c7fe9b4f600149f45d9ce18e227f"}},{"ruleId":"D1","level":"warning","message":{"text":"Util.post (cyclomatic 28): Util.post has cyclomatic complexity 28 (threshold 15). Most of this is not in the body itself: 12 of the 28 points are its own statements and the rest belongs to 4 function items inside it that branch (a function literal at line 285, reject, a function literal at line 297, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/common/js/util.js"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"43d4aad960b09c8596211846bbeca52ebe2e71d06270354665c08282f680704c"}},{"ruleId":"D1","level":"warning","message":{"text":"codemirror.makeChangeFromHistory (cyclomatic 28): codemirror.makeChangeFromHistory has cyclomatic complexity 28 (threshold 15). Of this number, 21 points are the body\u0027s own statements and 7 belong to 2 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/static/codemirror/lib/codemirror.js"},"region":{"startLine":5341}}}],"partialFingerprints":{"codehealthFindingId/v1":"647ba0eceffa8bb35346fdaf1d316c5f17075ea14c47236b33ab5c8ef5900af5"}},{"ruleId":"D1","level":"warning","message":{"text":"codemirror.applyTextInput (cyclomatic 28): codemirror.applyTextInput has cyclomatic complexity 28 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/static/codemirror/lib/codemirror.js"},"region":{"startLine":8146}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ec48a0265aa743bfb26b3edf6ae01ec4df89da195bc051788ce17d6d5a24bf1"}},{"ruleId":"D1","level":"warning","message":{"text":"codemirror.locateNodeInLineView (cyclomatic 28): codemirror.locateNodeInLineView has cyclomatic complexity 28 (threshold 15). Of this number, 18 points are the body\u0027s own statements and 10 belong to one function item inside it that branches. 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":"assets/static/codemirror/lib/codemirror.js"},"region":{"startLine":9280}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b2e40838d3343b366b53e87e7b602d07f7f07f014f3027ddf866252cc0ba630"}},{"ruleId":"D1","level":"warning","message":{"text":"codemirror.TextareaInput.onContextMenu (cyclomatic 28): codemirror.TextareaInput.onContextMenu has cyclomatic complexity 28 (threshold 15). Most of this is not in the body itself: 13 of the 28 points are its own statements and the rest belongs to 3 function items inside it that branch (rehide, rehide::poll, prepareSelectAllHack). Those helpers are already separate functions, so extracting the branching again is not available. To reduce it, move them out of the body to the enclosing scope, where each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/static/codemirror/lib/codemirror.js"},"region":{"startLine":9608}}}],"partialFingerprints":{"codehealthFindingId/v1":"db0c483c113f14659b7c40e5ea645dcf8d76132c236213520e2954e5d03e2a32"}},{"ruleId":"D1","level":"warning","message":{"text":"xml.CodeMirror.defineMode(\u0022xml\u0022).indent (cyclomatic 28): xml.CodeMirror.defineMode(\u0022xml\u0022).indent has cyclomatic complexity 28 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/static/codemirror/mode/xml/xml.js"},"region":{"startLine":340}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d91a455a4d7cf361556c4d1e1e0025ef311ee84cdd4aff0348a125ef0b7016e"}},{"ruleId":"D1","level":"warning","message":{"text":"Category.save (cyclomatic 28): Category.save has cyclomatic complexity 28 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Controller/User/Api/Category.php"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"0200fe5f6aa45d90a029879bce06e95872ea2d956ab3bc7bf0375e4600bebbd0"}},{"ruleId":"D1","level":"warning","message":{"text":"(anonymous)::(anonymous)::onMousedownNode::_docMouseUp (cyclomatic 28): (anonymous)::(anonymous)::onMousedownNode::_docMouseUp has cyclomatic complexity 28 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/common/js/component/tree.select.js"},"region":{"startLine":3266}}}],"partialFingerprints":{"codehealthFindingId/v1":"67b9075d8bdc145fcfe85745262a9e29dbc4009605d72bc4fb0fcc4341df277b"}},{"ruleId":"D1","level":"warning","message":{"text":"(anonymous).indent (cyclomatic 28): (anonymous).indent has cyclomatic complexity 28 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/static/codemirror/mode/xml/xml.js"},"region":{"startLine":340}}}],"partialFingerprints":{"codehealthFindingId/v1":"1909b0776d56760aa2503ec5c49dd907d98e68d56cbda5a5ccfc1a591d3d92bc"}},{"ruleId":"D1","level":"warning","message":{"text":"index.mobileAccountSubmit.\u003Creturned closure\u003E (cyclomatic 27): index.mobileAccountSubmit.\u003Creturned closure\u003E has cyclomatic complexity 27 (threshold 15). Of this number, 17 points are the body\u0027s own statements and 10 belong to 4 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":"assets/admin/controller/user/index.js"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"a78bd7445b6190e09b4016ceb1f971b8e90fd990b5e912d02aa951bdd1da6873"}},{"ruleId":"D1","level":"warning","message":{"text":"codemirror.updateDisplayIfNeeded (cyclomatic 27): codemirror.updateDisplayIfNeeded has cyclomatic complexity 27 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/static/codemirror/lib/codemirror.js"},"region":{"startLine":4104}}}],"partialFingerprints":{"codehealthFindingId/v1":"aeb99892787c62aeaddffed5d478c76ea5cb5e6b1e937b42e8e03da0a688f1ee"}},{"ruleId":"D1","level":"warning","message":{"text":"css.CodeMirror.defineMode(\u0022css\u0022).tokenBase (cyclomatic 27): css.CodeMirror.defineMode(\u0022css\u0022).tokenBase has cyclomatic complexity 27 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/static/codemirror/mode/css/css.js"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c2bef3e8edb7321e589ac47db1b07ac1ed85fbef88b235e57e235ec10342aea"}},{"ruleId":"D1","level":"warning","message":{"text":"runImportTask (cyclomatic 27): runImportTask has cyclomatic complexity 27 (threshold 15). Most of this is not in the body itself: 6 of the 27 points are its own statements and the rest belongs to 4 function literals inside it that branch (lines 1047, 1116, 1128, \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":"assets/admin/controller/shared/store.js"},"region":{"startLine":1031}}}],"partialFingerprints":{"codehealthFindingId/v1":"2759d8dfef516002332dee1cd56924a3430ddae76412ee376daafc58fd9fab1f"}},{"ruleId":"D1","level":"warning","message":{"text":"click (cyclomatic 27): click has cyclomatic complexity 27 (threshold 15). Most of this is not in the body itself: 2 of the 27 points are its own statements and the rest belongs to 16 function items inside it that branch ((anonymous)::submit, a function literal at line 1646, (anonymous)::renderComplete, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/shared/store.js"},"region":{"startLine":1570}}}],"partialFingerprints":{"codehealthFindingId/v1":"2aaf4d5d6f8e84e11a9e7415be4f9859da99012ec1a4113d08de70b417b30637"}},{"ruleId":"D1","level":"warning","message":{"text":"(anonymous)::(anonymous)::checkNodeRelation (cyclomatic 27): (anonymous)::(anonymous)::checkNodeRelation has cyclomatic complexity 27 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/common/js/component/tree.select.js"},"region":{"startLine":2369}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d0dad9723d127ba74de22a35e73c826cf0b45579974a4d4f3dc71bbade9957b"}},{"ruleId":"D1","level":"warning","message":{"text":"(anonymous).tokenBase (cyclomatic 27): (anonymous).tokenBase has cyclomatic complexity 27 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/static/codemirror/mode/css/css.js"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4ed64f99c6635d838af518a220dcf2a1d81dc5b7a8131abfc2bcaac3fcadfb3"}},{"ruleId":"D1","level":"warning","message":{"text":"index.renderChart (cyclomatic 26): index.renderChart has cyclomatic complexity 26 (threshold 15). Of this number, 17 points are the body\u0027s own statements and 9 belong to 5 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":"assets/admin/controller/dashboard/index.js"},"region":{"startLine":298}}}],"partialFingerprints":{"codehealthFindingId/v1":"1dc5d0cebc1af445cc63e583984d6c38bb9938d4a7efb2bc02a3119d79338c7c"}},{"ruleId":"D1","level":"warning","message":{"text":"card.$(\u0022.btn-app-export\u0022).off().on() (cyclomatic 26): card.$(\u0022.btn-app-export\u0022).off().on() has cyclomatic complexity 26 (threshold 15). Most of this is not in the body itself: 1 of the 26 points is its own statement and the rest belongs to 2 function literals inside it that branch (lines 656, 683). 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":"assets/admin/controller/trade/card.js"},"region":{"startLine":611}}}],"partialFingerprints":{"codehealthFindingId/v1":"928636894ffe5fc723ef6ba0493a91abfabeb75393f200bb6c086cc2526375f0"}},{"ruleId":"D1","level":"warning","message":{"text":"order.mobileDeliverySubmit.\u003Creturned closure\u003E (cyclomatic 26): order.mobileDeliverySubmit.\u003Creturned closure\u003E has cyclomatic complexity 26 (threshold 15). 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, 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":"assets/admin/controller/trade/order.js"},"region":{"startLine":260}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ce151828a33a497788a989d6b8b88e90f5cd3fcb819962c4afb7060743cb1b1"}},{"ruleId":"D1","level":"warning","message":{"text":"menu.KTDrawer (cyclomatic 26): menu.KTDrawer has cyclomatic complexity 26 (threshold 15). Most of this is not in the body itself: 3 of the 26 points are its own statements and the rest belongs to 10 function items inside it that branch (_getOption, _handlers, _update, \u2026). Those helpers are already separate functions, so extracting the branching again is not available. To reduce it, move them out of the body to the enclosing scope, where each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/js/menu.js"},"region":{"startLine":3267}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e80abd47c1567dc1d9f36e1b7c7fa53a01115b0607473df32e354ad9618a839"}},{"ruleId":"D1","level":"warning","message":{"text":"codemirror.ContentEditableInput.showPrimarySelection (cyclomatic 26): codemirror.ContentEditableInput.showPrimarySelection has cyclomatic complexity 26 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/static/codemirror/lib/codemirror.js"},"region":{"startLine":8917}}}],"partialFingerprints":{"codehealthFindingId/v1":"87d3778d95987edaa9009fd05fece67abad0f3b3aed2a55646a30159010f8894"}},{"ruleId":"D1","level":"warning","message":{"text":"codemirror.TextareaInput.poll (cyclomatic 26): codemirror.TextareaInput.poll has cyclomatic complexity 26 (threshold 15). Of this number, 22 points are the body\u0027s own statements and 4 belong to one function literal inside it that branches. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/static/codemirror/lib/codemirror.js"},"region":{"startLine":9548}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ccbbf89fdb8f0254f616bee0932670253fa026c8b8871fe19950e95e8e03f84"}},{"ruleId":"D1","level":"warning","message":{"text":"python.CodeMirror.defineMode(\u0022python\u0022)::tokenLexer (cyclomatic 26): python.CodeMirror.defineMode(\u0022python\u0022)::tokenLexer has cyclomatic complexity 26 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This shape REPEATS in the file: one other method here (python.CodeMirror.defineMode(\u0022python\u0022)::tokenBaseInner) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/static/codemirror/mode/python/python.js"},"region":{"startLine":300}}}],"partialFingerprints":{"codehealthFindingId/v1":"09fa51e9074a381ea137a6e2d52324ada0d30f276bf4fad3c6ed870b8cf1b8ce"}},{"ruleId":"D1","level":"warning","message":{"text":"message.normalizeMessage (cyclomatic 26): message.normalizeMessage has cyclomatic complexity 26 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/user/controller/user/message.js"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"862646aac2a022139ed5a5e1bf0f0164ecd3c10405ffae102be1d59bd15f4a1c"}},{"ruleId":"D1","level":"warning","message":{"text":"glass.normalizeMessage (cyclomatic 26): glass.normalizeMessage has cyclomatic complexity 26 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/user/js/glass.js"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"6eb2c33dd0ffa039c398d2a771ad599d52961e31ac18f97397c2bb4b66435876"}},{"ruleId":"D1","level":"warning","message":{"text":"RechargeOrder.exportQuery (cyclomatic 26): RechargeOrder.exportQuery has cyclomatic complexity 26 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Controller/Admin/Api/RechargeOrder.php"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4bb9ba8811985eb777b65b9a1bf447f13682a4e8803eb3f53789d088b3c65f3"}},{"ruleId":"D1","level":"warning","message":{"text":"Store.remoteWidget (cyclomatic 26): Store.remoteWidget has cyclomatic complexity 26 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Controller/Admin/Api/Store.php"},"region":{"startLine":523}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e4ab92157527d3acaf88034cc8fd01998f081706770c57ff8afeca26fa07d63"}},{"ruleId":"D1","level":"warning","message":{"text":"Security.personal (cyclomatic 26): Security.personal has cyclomatic complexity 26 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Controller/User/Api/Security.php"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"81ffb3eb864927a4f5ee5a1bfcc23250c0e57f149134c821def08dd03b664c6a"}},{"ruleId":"D1","level":"warning","message":{"text":"Email.sendRecipients (cyclomatic 26): Email.sendRecipients has cyclomatic complexity 26 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Service/Bind/Email.php"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d80e63ad457c6672875e0bab07cd4c916b407d7f580cf155e9f1e937b592b92"}},{"ruleId":"D1","level":"warning","message":{"text":"Order.calcAmount (cyclomatic 26): Order.calcAmount has cyclomatic complexity 26 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Service/Bind/Order.php"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea3c6344c516e1775de9eaf2cca174c50dd4e5da9b50c5bdc3d8656ee86d9cfb"}},{"ruleId":"D1","level":"warning","message":{"text":"treeMetadata (cyclomatic 26): treeMetadata has cyclomatic complexity 26 (threshold 15). Most of this is not in the body itself: 6 of the 26 points are its own statements and the rest belongs to 6 function items inside it that branch (a function literal at line 2556, resolveDepth, a function literal at line 2582, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/js/mobile/fallback.js"},"region":{"startLine":2547}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1a8edb564b193fb239370550dd94736461a9ca68cfbda1e4aeab36fd25b9eca"}},{"ruleId":"D1","level":"warning","message":{"text":"(anonymous)::tokenLexer (cyclomatic 26): (anonymous)::tokenLexer has cyclomatic complexity 26 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/static/codemirror/mode/python/python.js"},"region":{"startLine":300}}}],"partialFingerprints":{"codehealthFindingId/v1":"57a1da0b960b7ac40f1272b5f13397d34017f63c9b362b672c1805878fa98073"}},{"ruleId":"D1","level":"warning","message":{"text":"set.saveSettings (cyclomatic 25): set.saveSettings has cyclomatic complexity 25 (threshold 15). Of this number, 15 points are the body\u0027s own statements and 10 belong to 4 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":"assets/admin/controller/manage/set.js"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ee4b116f5e47d8f31bc097d4f0fb37c990595751cc643172e72d4ad43a53ccf"}},{"ruleId":"D1","level":"warning","message":{"text":"order.showRefund (cyclomatic 25): order.showRefund has cyclomatic complexity 25 (threshold 15). Most of this is not in the body itself: 10 of the 25 points are its own statements and the rest belongs to 8 function items inside it that branch (a function literal at line 175, a function literal at line 202, a function literal at line 223, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/trade/order.js"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"3df49c0798755b6ca2904b921c283a3479c070cac278d912c50b7d8a74bd9216"}},{"ruleId":"D1","level":"warning","message":{"text":"message.validateCompose (cyclomatic 25): message.validateCompose has cyclomatic complexity 25 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/user/message.js"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"21a9fb86b74b039ed6c07843c4afa01b1b9f07e47286dae318ba941e4b5432c2"}},{"ruleId":"D1","level":"warning","message":{"text":"fallback.detailContent (cyclomatic 25): fallback.detailContent has cyclomatic complexity 25 (threshold 15). Most of this is not in the body itself: 11 of the 25 points are its own statements and the rest belongs to 3 function literals inside it that branch (lines 1417, 1414, 1424). 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":"assets/admin/js/mobile/fallback.js"},"region":{"startLine":1395}}}],"partialFingerprints":{"codehealthFindingId/v1":"105790d4fbc039db634a4abaf3c190e38a4fb33ecf4d601f0a04753165722021"}},{"ruleId":"D1","level":"warning","message":{"text":"codemirror.regChange (cyclomatic 25): codemirror.regChange has cyclomatic complexity 25 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/static/codemirror/lib/codemirror.js"},"region":{"startLine":3002}}}],"partialFingerprints":{"codehealthFindingId/v1":"82e243ad9aafb4e409a2873098a8cce237143a354adf28791531e746c7fa29ec"}},{"ruleId":"D1","level":"warning","message":{"text":"passkey.add (cyclomatic 25): passkey.add has cyclomatic complexity 25 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/user/controller/security/passkey.js"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"b621623c1bc41e52ffc6bc0d24373c33fbc8a69ab2e074b545e1bf3c00cfae74"}},{"ruleId":"D1","level":"warning","message":{"text":"message.renderCartoonMobile (cyclomatic 25): message.renderCartoonMobile has cyclomatic complexity 25 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/user/controller/user/message.js"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"001d9fa62d4eefedcdd569c7c99bf48a3d3e04371a87621e710b07aa2dc20222"}},{"ruleId":"D1","level":"warning","message":{"text":"Store.sharedDomain (cyclomatic 25): Store.sharedDomain has cyclomatic complexity 25 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Controller/Admin/Api/Store.php"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9e5e6c30cdcaaabd2d03e34b5f3c4fac296a3ccf02e7ab75dc3151f9775d6c7"}},{"ruleId":"D1","level":"warning","message":{"text":"_Save (cyclomatic 25): _Save has cyclomatic complexity 25 (threshold 15). Most of this is not in the body itself: 1 of the 25 points is its own statement and the rest belongs to 7 function items inside it that branch (submitSettings::done, submitSettings, guardDesktopPjaxLeave, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/config/index.js"},"region":{"startLine":505}}}],"partialFingerprints":{"codehealthFindingId/v1":"b26ba24d3bfed6ae7e743c3d53a814b61f01d11d5b0518be2a734126d81fbc1f"}},{"ruleId":"D1","level":"warning","message":{"text":"(anonymous)::submit (cyclomatic 25): (anonymous)::submit has cyclomatic complexity 25 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/trade/card.js"},"region":{"startLine":656}}}],"partialFingerprints":{"codehealthFindingId/v1":"a67ded9aa694bf583bac5389fdd6f2b1cae1cada532e0626175cd89cad5886be"}},{"ruleId":"D1","level":"warning","message":{"text":"(anonymous).attach (cyclomatic 25): (anonymous).attach has cyclomatic complexity 25 (threshold 15). Most of this is not in the body itself: 7 of the 25 points are its own statements and the rest belongs to 10 function literals inside it that branch (lines 1290, 1287, 1313, \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":"assets/admin/controller/trade/category-tree.js"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c7a358a57e5f213a5890a75089b79111479b60e799219fc68f51da689eb2810"}},{"ruleId":"D1","level":"warning","message":{"text":"Install.html.renderDbResult (cyclomatic 24): Install.html.renderDbResult has cyclomatic complexity 24 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/View/Install.html"},"region":{"startLine":1175}}}],"partialFingerprints":{"codehealthFindingId/v1":"667391de9e4da32f2a6b2533447efdddb9a79e80a5836c76a3a500d3b3ce4ae1"}},{"ruleId":"D1","level":"warning","message":{"text":"store.fitImportPopupHeight (cyclomatic 24): store.fitImportPopupHeight has cyclomatic complexity 24 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/shared/store.js"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b7f7f120fcc169ae3688cc478f5c5c3cc3dcd33c341d73bec31df4ad5d3f765"}},{"ruleId":"D1","level":"warning","message":{"text":"home._Bill (cyclomatic 24): home._Bill has cyclomatic complexity 24 (threshold 15). Most of this is not in the body itself: 10 of the 24 points are its own statements and the rest belongs to 5 function literals inside it that branch (lines 880, 900, 928, \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":"assets/admin/controller/store/home.js"},"region":{"startLine":827}}}],"partialFingerprints":{"codehealthFindingId/v1":"69e74323d7a3f9693b9f78c64d59600ddeb91975c3052ff67ffb8672c8c4bab6"}},{"ruleId":"D1","level":"warning","message":{"text":"navigation.menuContent (cyclomatic 24): navigation.menuContent has cyclomatic complexity 24 (threshold 15). Of this number, 19 points are the body\u0027s own statements and 5 belong to 4 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":"assets/admin/js/mobile/navigation.js"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8a98a4a8b1b8c2f5b725f03cd678083c844e31670b36e224a3bed614f2592b7"}},{"ruleId":"D1","level":"warning","message":{"text":"Form.destroy (cyclomatic 24): Form.destroy has cyclomatic complexity 24 (threshold 15). Most of this is not in the body itself: 10 of the 24 points are its own statements and the rest belongs to 8 function literals inside it that branch (lines 2076, 2041, 2051, \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. This is NOT this file\u0027s highest cyclomatic complexity: Form.createForm (cyclomatic 40) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/common/js/component/form.js"},"region":{"startLine":2035}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee791e52427643971a1a4210c6a9243122a12550b0e66512d836a52b21c8ddcc"}},{"ruleId":"D1","level":"warning","message":{"text":"codemirror.onKeyDown (cyclomatic 24): codemirror.onKeyDown has cyclomatic complexity 24 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/static/codemirror/lib/codemirror.js"},"region":{"startLine":7242}}}],"partialFingerprints":{"codehealthFindingId/v1":"df04927e48b929efbaa5be2cafe71debdf1c256104ae5224720a5aba42552ee2"}},{"ruleId":"D1","level":"warning","message":{"text":"comment-fold.CodeMirror.registerGlobalHelper(\u0022fold\u0022,\u0022comment\u0022) (cyclomatic 24): comment-fold.CodeMirror.registerGlobalHelper(\u0022fold\u0022,\u0022comment\u0022) has cyclomatic complexity 24 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/static/codemirror/addon/fold/comment-fold.js"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"51718b18d7205b54726d0c5f1b65b8184a90ed0d6220fbcf679cf1b5a5e8d274"}},{"ruleId":"D1","level":"warning","message":{"text":"Card.save (cyclomatic 24): Card.save has cyclomatic complexity 24 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Controller/Admin/Api/Card.php"},"region":{"startLine":333}}}],"partialFingerprints":{"codehealthFindingId/v1":"875cc363952c7a4785b7ec8539b6ccb2aab5d92de308eba03f475025ca00db32"}},{"ruleId":"D1","level":"warning","message":{"text":"Store.save (cyclomatic 24): Store.save has cyclomatic complexity 24 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Controller/Admin/Api/Store.php"},"region":{"startLine":890}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4791cfb1d61f8713f82dfe11c33f08a446999080b94341bad028eb951127e66"}},{"ruleId":"D1","level":"warning","message":{"text":"User.theme (cyclomatic 24): User.theme has cyclomatic complexity 24 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Controller/Base/View/User.php"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f53d547fc0a9fbe53e276cc947d14714a260d401e1c2c6cd8d56a76922d4aa2"}},{"ruleId":"D1","level":"warning","message":{"text":"Shared.AdjustmentPrice (cyclomatic 24): Shared.AdjustmentPrice has cyclomatic complexity 24 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Service/Bind/Shared.php"},"region":{"startLine":803}}}],"partialFingerprints":{"codehealthFindingId/v1":"b13a5ee25807624ee6ee68be36b8de4dd50d3e34e1625405eaa5ed44286d2812"}},{"ruleId":"D1","level":"warning","message":{"text":"UploadPurge.stageForDeletion (cyclomatic 24): UploadPurge.stageForDeletion has cyclomatic complexity 24 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Util/UploadPurge.php"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a839e9ea1491432823e1625399f9ad5fd37dda86cd145bcffa476f24bfaef2a"}},{"ruleId":"D1","level":"warning","message":{"text":"#getSelectionRowState (cyclomatic 24): #getSelectionRowState has cyclomatic complexity 24 (threshold 15). Of this number, 21 points are the body\u0027s own statements and 3 belong to 2 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/common/js/component/table.js"},"region":{"startLine":806}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2627bc50fe86008c943da70dbcf6fe062248fba8341e8cc0f7c2515eecab848"}},{"ruleId":"D1","level":"warning","message":{"text":"(anonymous)::(anonymous)::_eventProxy (cyclomatic 24): (anonymous)::(anonymous)::_eventProxy has cyclomatic complexity 24 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/common/js/component/tree.select.js"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"be0554ef75a77b5f79ad7081b7652bfe33a42b4849838b500b9d7c523b1636bc"}},{"ruleId":"D1","level":"warning","message":{"text":"(anonymous) (cyclomatic 24): (anonymous) has cyclomatic complexity 24 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/static/codemirror/addon/fold/comment-fold.js"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"496bf5556cc26eac6183f54da264d7ac0402d82624c5e66d0cb98f7b3e780375"}},{"ruleId":"D1","level":"warning","message":{"text":"index.confirmFileDelete (cyclomatic 23): index.confirmFileDelete has cyclomatic complexity 23 (threshold 15). Most of this is not in the body itself: 4 of the 23 points are its own statements and the rest belongs to 3 function literals inside it that branch (lines 114, 148, 152). 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":"assets/admin/controller/file/index.js"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"583d1420f12e7c1fb704e4241a5b5ba453a845385cd5ca3a9590d9c7b8192d63"}},{"ruleId":"D1","level":"warning","message":{"text":"fallback.renderCardSubtitle (cyclomatic 23): fallback.renderCardSubtitle has cyclomatic complexity 23 (threshold 15). Of this number, 22 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. 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":"assets/admin/js/mobile/fallback.js"},"region":{"startLine":655}}}],"partialFingerprints":{"codehealthFindingId/v1":"85d381e6df5490f549f3d9428f24cc2a0d77143e2c98092959115f697c514db3"}},{"ruleId":"D1","level":"warning","message":{"text":"fallback.cardActionIcon (cyclomatic 23): fallback.cardActionIcon has cyclomatic complexity 23 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/js/mobile/fallback.js"},"region":{"startLine":1777}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ca50f71053ceb2328e1f5dc77b03cb862201fbd81c7d3d270867c7330d2cfc5"}},{"ruleId":"D1","level":"warning","message":{"text":"overlay.handleNavigationClick (cyclomatic 23): overlay.handleNavigationClick has cyclomatic complexity 23 (threshold 15). Of this number, 21 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/js/mobile/overlay.js"},"region":{"startLine":1285}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c208dc855a0076882eccf39b9b58da549d8bf99b2e1a02c733955b59a7d1bc1"}},{"ruleId":"D1","level":"warning","message":{"text":"codemirror.buildLineContent (cyclomatic 23): codemirror.buildLineContent has cyclomatic complexity 23 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/static/codemirror/lib/codemirror.js"},"region":{"startLine":1734}}}],"partialFingerprints":{"codehealthFindingId/v1":"f97d78e3b48c2c4ca244c8922a8c76091f8f5388be5719d58ec80ce0757b2554"}},{"ruleId":"D1","level":"warning","message":{"text":"codemirror.onDrop (cyclomatic 23): codemirror.onDrop has cyclomatic complexity 23 (threshold 15). Of this number, 19 points are the body\u0027s own statements and 4 belong to 3 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/static/codemirror/lib/codemirror.js"},"region":{"startLine":6532}}}],"partialFingerprints":{"codehealthFindingId/v1":"96b2ceadab659ed3100ebb1fd2e807f45bbe3c7da59379f7eb0115717093c4a5"}},{"ruleId":"D1","level":"warning","message":{"text":"codemirror.indentLine (cyclomatic 23): codemirror.indentLine has cyclomatic complexity 23 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/static/codemirror/lib/codemirror.js"},"region":{"startLine":8078}}}],"partialFingerprints":{"codehealthFindingId/v1":"7373ed7e24a557902a776847573a334c7ba41ba24f22d40ed51b934817eff7cd"}},{"ruleId":"D1","level":"warning","message":{"text":"brace-fold.CodeMirror.registerHelper(\u0022fold\u0022,\u0022brace\u0022) (cyclomatic 23): brace-fold.CodeMirror.registerHelper(\u0022fold\u0022,\u0022brace\u0022) has cyclomatic complexity 23 (threshold 15). Of this number, 16 points are the body\u0027s own statements and 7 belong to one function item inside it that branches. 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":"assets/static/codemirror/addon/fold/brace-fold.js"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"db9f0f83d52407a5b2184c935af15b64a167332638402045f27c87b042357675"}},{"ruleId":"D1","level":"warning","message":{"text":"javascript.CodeMirror.defineMode(\u0022javascript\u0022).findFatArrow (cyclomatic 23): javascript.CodeMirror.defineMode(\u0022javascript\u0022).findFatArrow has cyclomatic complexity 23 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/static/codemirror/mode/javascript/javascript.js"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"99ca8ec687393f4cb38a914049be6e94b18214f9c1f26931ea2035b0185c731f"}},{"ruleId":"D1","level":"warning","message":{"text":"Card.edit (cyclomatic 23): Card.edit has cyclomatic complexity 23 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Controller/Admin/Api/Card.php"},"region":{"startLine":630}}}],"partialFingerprints":{"codehealthFindingId/v1":"839a76249a6a96e4dc99600809cf3d1bf5929fd644da6b807d6d7118814e65cd"}},{"ruleId":"D1","level":"warning","message":{"text":"Config.putManyLocked (cyclomatic 23): Config.putManyLocked has cyclomatic complexity 23 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Model/Config.php"},"region":{"startLine":528}}}],"partialFingerprints":{"codehealthFindingId/v1":"edf207f25c1401dad10b25b8082161330fbb09a63ebd00edc15558f3a6530424"}},{"ruleId":"D1","level":"warning","message":{"text":"initializeTable (cyclomatic 23): initializeTable has cyclomatic complexity 23 (threshold 15). Most of this is not in the body itself: 1 of the 23 points is its own statement and the rest belongs to 24 function items inside it that branch (formatter, formatter, formatter, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/pay/api.js"},"region":{"startLine":726}}}],"partialFingerprints":{"codehealthFindingId/v1":"519c655af06e37cfde131001a4f846c52a6586de60af3da765c1b3bb4952e687"}},{"ruleId":"D1","level":"warning","message":{"text":"modal (cyclomatic 23): modal has cyclomatic complexity 23 (threshold 15). Most of this is not in the body itself: 1 of the 23 points is its own statement and the rest belongs to 9 function items inside it that branch (a function literal at line 116, complete::(anonymous)::change, a function literal at line 127, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/shared/priceTemplate.js"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf34b96f0c390209385732ab1ce07f866cd80f137471b7e7d99061e1f3acd71a"}},{"ruleId":"D1","level":"warning","message":{"text":"(anonymous) (cyclomatic 23): (anonymous) has cyclomatic complexity 23 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/trade/coupon.js"},"region":{"startLine":677}}}],"partialFingerprints":{"codehealthFindingId/v1":"25542247da0325c8b545531808a909b7e054ebf30a8880cc1962b245a92e1281"}},{"ruleId":"D1","level":"warning","message":{"text":"armAutofill (cyclomatic 23): armAutofill has cyclomatic complexity 23 (threshold 15). Of this number, 22 points are the body\u0027s own statements and 1 belongs to 2 function items inside it that branch. To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/user/controller/auth/login.js"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"255098b386d57e612a1b2a625210591d3c5309289bf4baa1065b13b4b00d5438"}},{"ruleId":"D1","level":"warning","message":{"text":"openSecret (cyclomatic 23): openSecret has cyclomatic complexity 23 (threshold 15). Of this number, 18 points are the body\u0027s own statements and 5 belong to 6 function items 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":"assets/user/controller/user/purchase.record.js"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf184cf01b8f2030d8513b320d0065d7d93f4fe67b3a94c45297a95723010f16"}},{"ruleId":"D1","level":"warning","message":{"text":"(anonymous) (cyclomatic 23): (anonymous) has cyclomatic complexity 23 (threshold 15). Of this number, 16 points are the body\u0027s own statements and 7 belong to one function item inside it that branches. 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":"assets/static/codemirror/addon/fold/brace-fold.js"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"9665bd73f2dda2731e1901fa2a46078664d0ebf44ff6e2e47fbf490f976cec8c"}},{"ruleId":"D1","level":"warning","message":{"text":"(anonymous).findFatArrow (cyclomatic 23): (anonymous).findFatArrow has cyclomatic complexity 23 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/static/codemirror/mode/javascript/javascript.js"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"85bbfef2133b17ce52f711a5efc97426f8f89192bf53175028636be34e57e75d"}},{"ruleId":"D1","level":"warning","message":{"text":"Install.html.renderDb (cyclomatic 22): Install.html.renderDb has cyclomatic complexity 22 (threshold 15). Most of this is not in the body itself: 6 of the 22 points are its own statements and the rest belongs to 4 function literals inside it that branch (lines 1132, 1101, 1104, \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/View/Install.html"},"region":{"startLine":1070}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bec707af2afdc85b4719eaeee4586cfbdfc17aa8a514eec05cdb1d2fee3f112"}},{"ruleId":"D1","level":"warning","message":{"text":"index.renderChannels (cyclomatic 22): index.renderChannels has cyclomatic complexity 22 (threshold 15). Most of this is not in the body itself: 8 of the 22 points are its own statements and the rest belongs to 2 function items inside it that branch (a function literal at line 573, syncToggle). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/dashboard/index.js"},"region":{"startLine":560}}}],"partialFingerprints":{"codehealthFindingId/v1":"7edd27250d2a7a269d894a231615f6b59608656252c7196d9955eb11c0a8fe2d"}},{"ruleId":"D1","level":"warning","message":{"text":"store.modal (cyclomatic 22): store.modal has cyclomatic complexity 22 (threshold 15). Most of this is not in the body itself: 9 of the 22 points are its own statements and the rest belongs to 4 function literals inside it that branch (lines 1295, 1289, 1301, \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":"assets/admin/controller/shared/store.js"},"region":{"startLine":1273}}}],"partialFingerprints":{"codehealthFindingId/v1":"c627770ef078c4b6338f892c8981fdd0474493f2742fbef162cadd6f73e96539"}},{"ruleId":"D1","level":"warning","message":{"text":"coupon.$(\u0022.btn-app-export\u0022).off().on() (cyclomatic 22): coupon.$(\u0022.btn-app-export\u0022).off().on() has cyclomatic complexity 22 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/trade/coupon.js"},"region":{"startLine":677}}}],"partialFingerprints":{"codehealthFindingId/v1":"77bdb53694475be4db651193f25221d1580135b7435a12d928c9dc54d5999023"}},{"ruleId":"D1","level":"warning","message":{"text":"fallback.controlAvailable (cyclomatic 22): fallback.controlAvailable has cyclomatic complexity 22 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/js/mobile/fallback.js"},"region":{"startLine":936}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd225a2d7c0149aee7fcaf32a6a9dbc7b9dcc4fe7010c434473fd31459244a18"}},{"ruleId":"D1","level":"warning","message":{"text":"workflows.markSemanticPage (cyclomatic 22): workflows.markSemanticPage has cyclomatic complexity 22 (threshold 15). Of this number, 16 points are the body\u0027s own statements and 6 belong to 2 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":"assets/admin/js/mobile/workflows.js"},"region":{"startLine":687}}}],"partialFingerprints":{"codehealthFindingId/v1":"216c250e6465303cb00df4701672f23fdf7147b613a04c045086a02d9396b28f"}},{"ruleId":"D1","level":"warning","message":{"text":"workflows.syncContextNavigation (cyclomatic 22): workflows.syncContextNavigation has cyclomatic complexity 22 (threshold 15). Of this number, 11 points are the body\u0027s own statements and 11 belong to 3 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":"assets/admin/js/mobile/workflows.js"},"region":{"startLine":874}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e7b7a31dcab4d93df20c1a4317e12d5187ded05bd0f883a2feed41accac2324"}},{"ruleId":"D1","level":"warning","message":{"text":"workflows.discoverActions (cyclomatic 22): workflows.discoverActions has cyclomatic complexity 22 (threshold 15). Most of this is not in the body itself: 1 of the 22 points is its own statement and the rest belongs to 6 function literals inside it that branch (lines 985, 1003, 975, \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":"assets/admin/js/mobile/workflows.js"},"region":{"startLine":973}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fc8dbe12f804e3cfb1fef4a730f6561d17d967e76e66d3ef0063cb8ec42368d"}},{"ruleId":"D1","level":"warning","message":{"text":"codemirror.nodeAndOffsetInLineMap (cyclomatic 22): codemirror.nodeAndOffsetInLineMap has cyclomatic complexity 22 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/static/codemirror/lib/codemirror.js"},"region":{"startLine":2441}}}],"partialFingerprints":{"codehealthFindingId/v1":"eedad763545b1d8dfc813e1a0a3edb4688e43cd6b1f4546ca8a9a040656fba41"}},{"ruleId":"D1","level":"warning","message":{"text":"codemirror.defineOptions (cyclomatic 22): codemirror.defineOptions has cyclomatic complexity 22 (threshold 15). Most of this is not in the body itself: 2 of the 22 points are its own statements and the rest belongs to 12 function items inside it that branch (a function literal at line 7774, option, a function literal at line 7739, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/static/codemirror/lib/codemirror.js"},"region":{"startLine":7708}}}],"partialFingerprints":{"codehealthFindingId/v1":"dff80d25dccd7bc147313fc25385a4c035721ac697b219f1cfec7d14e61e697b"}},{"ruleId":"D1","level":"warning","message":{"text":"codemirror.CodeMirror (cyclomatic 22): codemirror.CodeMirror has cyclomatic complexity 22 (threshold 15). Of this number, 20 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. 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":"assets/static/codemirror/lib/codemirror.js"},"region":{"startLine":7883}}}],"partialFingerprints":{"codehealthFindingId/v1":"581c9a14ea82b9a09d5a606912a49556b5d577fcb2eda59c4d941734e23c1aa6"}},{"ruleId":"D1","level":"warning","message":{"text":"javascript.CodeMirror.defineMode(\u0022javascript\u0022).expressionInner (cyclomatic 22): javascript.CodeMirror.defineMode(\u0022javascript\u0022).expressionInner has cyclomatic complexity 22 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/static/codemirror/mode/javascript/javascript.js"},"region":{"startLine":430}}}],"partialFingerprints":{"codehealthFindingId/v1":"266f2c99f74457562a126baa1442c09f519804770ea88982a1d2786f2b4bd5fb"}},{"ruleId":"D1","level":"warning","message":{"text":"recharge.updateSummary (cyclomatic 22): recharge.updateSummary has cyclomatic complexity 22 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/user/controller/user/recharge.js"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f4dc9d69b138ce7f5a4fd8cffaede884d0020f98f2689e189f6e8381b33d8c4"}},{"ruleId":"D1","level":"warning","message":{"text":"ticket.detail.sanitizeHtml (cyclomatic 22): ticket.detail.sanitizeHtml has cyclomatic complexity 22 (threshold 15). Most of this is not in the body itself: 2 of the 22 points are its own statements and the rest belongs to 3 function items inside it that branch (a function literal at line 56, a function literal at line 71, cleanUrl). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/user/controller/user/ticket.detail.js"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"52680760ce45bfc78f7d5510e6d664a3d26da2abc84d854c90416b2fe51d7513"}},{"ruleId":"D1","level":"warning","message":{"text":"Category.safeCategoryDeleteImpact (cyclomatic 22): Category.safeCategoryDeleteImpact has cyclomatic complexity 22 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Controller/Admin/Api/Category.php"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b1a135e62531b80fa90a31f178f863ee639553361797afa1525b641e8f8b3bc"}},{"ruleId":"D1","level":"warning","message":{"text":"Config.emailFailureMessage (cyclomatic 22): Config.emailFailureMessage has cyclomatic complexity 22 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Controller/Admin/Api/Config.php"},"region":{"startLine":1348}}}],"partialFingerprints":{"codehealthFindingId/v1":"10676ee720f65542316bc676f360b8822207485181d6dc591c333e305728017d"}},{"ruleId":"D1","level":"warning","message":{"text":"App.updatePlugin (cyclomatic 22): App.updatePlugin has cyclomatic complexity 22 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Service/Bind/App.php"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"df4c9ab18f950d3d9acaea98d1d3d1c55efacdc6612f8630f218972944884b4b"}},{"ruleId":"D1","level":"warning","message":{"text":"Currency.convertAll (cyclomatic 22): Currency.convertAll has cyclomatic complexity 22 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Service/Bind/Currency.php"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"0774c564062826f6cf55870be3c3e4400e968c5fc0d7aeb6952d8320c46ad0ec"}},{"ruleId":"D1","level":"warning","message":{"text":"Order.getCost (cyclomatic 22): Order.getCost has cyclomatic complexity 22 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Service/Bind/Order.php"},"region":{"startLine":376}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b49341d40baa349a766b31515419ad1a0cfc6500cf326af13f507da7850068a"}},{"ruleId":"D1","level":"warning","message":{"text":"Purge.orphanFiles (cyclomatic 22): Purge.orphanFiles has cyclomatic complexity 22 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Util/CardFile/Purge.php"},"region":{"startLine":315}}}],"partialFingerprints":{"codehealthFindingId/v1":"575b18de1250f4741ccf735f6551e21eadc9c5e48e9fdaf312d7e34df8b90432"}},{"ruleId":"D1","level":"warning","message":{"text":"configureShell (cyclomatic 22): configureShell 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 4 function items inside it that branch (a function literal at line 210, shellClickHandler, a function literal at line 214, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/config/wiki.mobile.js"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"f094e7de20aa338e44d04a58dcb056deb001fd0a2f76bdca1f1aad41a24c37e1"}},{"ruleId":"D1","level":"warning","message":{"text":"normalizeImportRequest (cyclomatic 22): normalizeImportRequest has cyclomatic complexity 22 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/shared/store.js"},"region":{"startLine":254}}}],"partialFingerprints":{"codehealthFindingId/v1":"dea4bfea61d2c713e91060ed259a9e6771f6d6c1e87b9723104296f4e34b56af"}},{"ruleId":"D1","level":"warning","message":{"text":"(anonymous)::(anonymous)::expandCollapseNode (cyclomatic 22): (anonymous)::(anonymous)::expandCollapseNode has cyclomatic complexity 22 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/common/js/component/tree.select.js"},"region":{"startLine":1203}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc90887a4e97b533352b65c6fcdcc24c06f8b0a7c58030ec88884c8318014318"}},{"ruleId":"D1","level":"warning","message":{"text":"openSecret (cyclomatic 22): openSecret has cyclomatic complexity 22 (threshold 15). Of this number, 18 points are the body\u0027s own statements and 4 belong to 5 function items 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":"assets/user/controller/dashboard/index.js"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"35a057502912e1148a15c96397defa3e385ef5f8fc46f608632bd542411eb187"}},{"ruleId":"D1","level":"warning","message":{"text":"(anonymous) (cyclomatic 22): (anonymous) has cyclomatic complexity 22 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/user/controller/user/message.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8adb7cf8e90fb9b96919cb322f9190fc2a5b4855040c8cee7a190ba7cfb259ef"}},{"ruleId":"D1","level":"warning","message":{"text":"(anonymous).expressionInner (cyclomatic 22): (anonymous).expressionInner has cyclomatic complexity 22 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/static/codemirror/mode/javascript/javascript.js"},"region":{"startLine":430}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f38c93fda24a075509f3fe526d5faa2994d2e72e7d188f9a0e84d8ba1c88b2c"}},{"ruleId":"D1","level":"warning","message":{"text":"api.showTestResult (cyclomatic 21): api.showTestResult has cyclomatic complexity 21 (threshold 15). Of this number, 18 points are the body\u0027s own statements and 3 belong to one function literal inside it that branches. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/pay/api.js"},"region":{"startLine":320}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec0e3b189dfbf06ed58c7977ed5dfd53d5146614103991bdd90539b73ce8ef08"}},{"ruleId":"D1","level":"warning","message":{"text":"card.uploadCard (cyclomatic 21): card.uploadCard 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 5 function items inside it that branch (a function literal at line 139, a function literal at line 213, refresh, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/trade/card.js"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"039e5b493299604e53f9b877a58795ab155f2b6684e49f91fe43c51237879777"}},{"ruleId":"D1","level":"warning","message":{"text":"commodity.confirmCommodityDelete (cyclomatic 21): commodity.confirmCommodityDelete has cyclomatic complexity 21 (threshold 15). Most of this is not in the body itself: 2 of the 21 points are its own statements and the rest belongs to 3 function literals inside it that branch (lines 117, 158, 159). 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":"assets/admin/controller/trade/commodity.js"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9d2596d582b67cde4488fcaae43f83cf8e0f891e1b96310bba7ecc3bdff510d"}},{"ruleId":"D1","level":"warning","message":{"text":"commodity.uploadCard (cyclomatic 21): commodity.uploadCard has cyclomatic complexity 21 (threshold 15). Most of this is not in the body itself: 7 of the 21 points are its own statements and the rest belongs to 4 function items inside it that branch (a function literal at line 828, a function literal at line 902, refresh, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/trade/commodity.js"},"region":{"startLine":793}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffac0cbc7299466333d9ceeacc0bf0dbb8ffefba1cc7d86b0ce3d5822114e52a"}},{"ruleId":"D1","level":"warning","message":{"text":"menu.KTMenu.initGlobalHandlers (cyclomatic 21): menu.KTMenu.initGlobalHandlers has cyclomatic complexity 21 (threshold 15). Most of this is not in the body itself: 1 of the 21 points is its own statement and the rest belongs to 7 function literals inside it that branch (lines 2400, 2480, 2458, \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":"assets/admin/js/menu.js"},"region":{"startLine":2398}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ddadaaa1d1932d74ef9a68f1abcda6901853cc2210c27c2dd219801f9e125bc"}},{"ruleId":"D1","level":"warning","message":{"text":"fallback.renderLedgerCard (cyclomatic 21): fallback.renderLedgerCard has cyclomatic complexity 21 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/js/mobile/fallback.js"},"region":{"startLine":728}}}],"partialFingerprints":{"codehealthFindingId/v1":"12d5de58da2ea478717b8eaf736117ea381e288b4a0924bbd28c4461676d2013"}},{"ruleId":"D1","level":"warning","message":{"text":"fallback.definitionValue (cyclomatic 21): fallback.definitionValue has cyclomatic complexity 21 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/js/mobile/fallback.js"},"region":{"startLine":861}}}],"partialFingerprints":{"codehealthFindingId/v1":"10c6c242d6a531208b2a512a353b8bbb039c1f5611967143d8e4b16802313bb2"}},{"ruleId":"D1","level":"warning","message":{"text":"workflows.visible (cyclomatic 21): workflows.visible has cyclomatic complexity 21 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/js/mobile/workflows.js"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"d41d997fee6c1ebaf0f94187857c5cb13649a9970f6883966d50eea80d0c27b2"}},{"ruleId":"D1","level":"warning","message":{"text":"ready.bind (cyclomatic 21): ready.bind has cyclomatic complexity 21 (threshold 15). Most of this is not in the body itself: 10 of the 21 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 353, 382). 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":"assets/common/js/ready.js"},"region":{"startLine":328}}}],"partialFingerprints":{"codehealthFindingId/v1":"c696d68706a2da8072c859a72d10d20938dc58597c10e2b91755dbf21f757746"}},{"ruleId":"D1","level":"warning","message":{"text":"codemirror.coordsCharInner (cyclomatic 21): codemirror.coordsCharInner has cyclomatic complexity 21 (threshold 15). Of this number, 18 points are the body\u0027s own statements and 3 belong to one function literal inside it that branches. To reduce it, 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":"assets/static/codemirror/lib/codemirror.js"},"region":{"startLine":2753}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa4a0bc3acef9efce19dbc251aa1d5a3fce45978bf5280255544ebb00debe1a5"}},{"ruleId":"D1","level":"warning","message":{"text":"codemirror.highlightWorker (cyclomatic 21): codemirror.highlightWorker has cyclomatic complexity 21 (threshold 15). Most of this is not in the body itself: 3 of the 21 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 3998, 4027). 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":"assets/static/codemirror/lib/codemirror.js"},"region":{"startLine":3991}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef2e54dec8a99dce6a1ee7dab914af398a3196317a52179b21ff9aed202114c3"}},{"ruleId":"D1","level":"warning","message":{"text":"codemirror.ContentEditableInput.init (cyclomatic 21): codemirror.ContentEditableInput.init has cyclomatic complexity 21 (threshold 15). Most of this is not in the body itself: 1 of the 21 points is its own statement and the rest belongs to 7 function items inside it that branch (onCopyCut, a function literal at line 8824, belongsToInput, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/static/codemirror/lib/codemirror.js"},"region":{"startLine":8808}}}],"partialFingerprints":{"codehealthFindingId/v1":"90822792d95384697be6982e6b07bce5269b08ef2b7cfabf6d807191d0e41871"}},{"ruleId":"D1","level":"warning","message":{"text":"javascript.CodeMirror.defineMode(\u0022javascript\u0022).maybeoperatorNoComma (cyclomatic 21): javascript.CodeMirror.defineMode(\u0022javascript\u0022).maybeoperatorNoComma has cyclomatic complexity 21 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/static/codemirror/mode/javascript/javascript.js"},"region":{"startLine":459}}}],"partialFingerprints":{"codehealthFindingId/v1":"62b517257d066df8862312615c00504b350286d8dd13a054abf2b6b1c63fa6b0"}},{"ruleId":"D1","level":"warning","message":{"text":"javascript.CodeMirror.defineMode(\u0022javascript\u0022).classBody (cyclomatic 21): javascript.CodeMirror.defineMode(\u0022javascript\u0022).classBody has cyclomatic complexity 21 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/static/codemirror/mode/javascript/javascript.js"},"region":{"startLine":777}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e4438b899d3f51a08d312398bb1ff48e6d08fe4f3e04c762114da75117432ec"}},{"ruleId":"D1","level":"warning","message":{"text":"Commodity.fastEnable (cyclomatic 21): Commodity.fastEnable has cyclomatic complexity 21 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Controller/Admin/Api/Commodity.php"},"region":{"startLine":880}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d29aa5e44f964d8ee8e15dc1423a3967031c964e829b86fb99533005fd2114e"}},{"ruleId":"D1","level":"warning","message":{"text":"User.changeAccountBalance (cyclomatic 21): User.changeAccountBalance has cyclomatic complexity 21 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Controller/Admin/Api/User.php"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"98edbeecfecaf9ffbe471a1e4823b5b7eacdf4f6dbad4e87f2197751633811af"}},{"ruleId":"D1","level":"warning","message":{"text":"Card.save (cyclomatic 21): Card.save has cyclomatic complexity 21 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Controller/User/Api/Card.php"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"df95e95dd47a33fab4a1df96e30b05d2acf80c46eb66863237936b0c4bbc4460"}},{"ruleId":"D1","level":"warning","message":{"text":"Cash.submit (cyclomatic 21): Cash.submit has cyclomatic complexity 21 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Controller/User/Api/Cash.php"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"287d205742347bdf23486f5285c93b95dad7b00b06c2ab4cc3f155dfc864d903"}},{"ruleId":"D1","level":"warning","message":{"text":"Index.card (cyclomatic 21): Index.card has cyclomatic complexity 21 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Controller/User/Api/Index.php"},"region":{"startLine":298}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf60afa2b1a10f06437e6a4227c62ab94ab6c300defacbd93da2de00615bf807"}},{"ruleId":"D1","level":"warning","message":{"text":"App.rebindPlan (cyclomatic 21): App.rebindPlan has cyclomatic complexity 21 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Service/Bind/App.php"},"region":{"startLine":367}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdd794e7036d6b1d6e8307496568b5faab8145133309e1a50437bcfeca97ca33"}},{"ruleId":"D1","level":"warning","message":{"text":"Shop.getItem (cyclomatic 21): Shop.getItem has cyclomatic complexity 21 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Service/Bind/Shop.php"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"fde76f6bf27c7a8f71b057d98880e1fae62993d6894acf14724ff13d819b6bcd"}},{"ruleId":"D1","level":"warning","message":{"text":"SharedCurrency.config (cyclomatic 21): SharedCurrency.config has cyclomatic complexity 21 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Util/SharedCurrency.php"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfd2ec6d2671b7b0f950173b7ebbe3f67545e3adacaf33a73b2fe4fd48e4e993"}},{"ruleId":"D1","level":"warning","message":{"text":"UploadGuard.sanitizeImage (cyclomatic 21): UploadGuard.sanitizeImage has cyclomatic complexity 21 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Util/UploadGuard.php"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"f568e2f3f15240246b6263964c9c8cb2c92c6a3e1811cf4a300bd0e9f58ec5c0"}},{"ruleId":"D1","level":"warning","message":{"text":"KTUtil.slide (cyclomatic 21): KTUtil.slide has cyclomatic complexity 21 (threshold 15). Of this number, 19 points are the body\u0027s own statements and 2 belong to 10 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":"assets/admin/js/menu.js"},"region":{"startLine":896}}}],"partialFingerprints":{"codehealthFindingId/v1":"38b5937fc515723fa113a3c6178503962bf32dc8851f55cce49abeeec29bb6e0"}},{"ruleId":"D1","level":"warning","message":{"text":"(anonymous)::popup::success::(anonymous)::render (cyclomatic 21): (anonymous)::popup::success::(anonymous)::render has cyclomatic complexity 21 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/static/modules/hex.js"},"region":{"startLine":1102}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b36beb103a3b1d5547b2a4ae269ce5c59e35d516d0f390499f4f2b21e4596e9"}},{"ruleId":"D1","level":"warning","message":{"text":"modal (cyclomatic 21): modal has cyclomatic complexity 21 (threshold 15). Of this number, 11 points are the body\u0027s own statements and 10 belong to 9 function items 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":"assets/admin/controller/pay/api.js"},"region":{"startLine":496}}}],"partialFingerprints":{"codehealthFindingId/v1":"44a0c6848405f8d3efb5367e181e40834007be3a1d71c9f4dfb3476e1d094ee8"}},{"ruleId":"D1","level":"warning","message":{"text":"#openColumnDetail (cyclomatic 21): #openColumnDetail has cyclomatic complexity 21 (threshold 15). Of this number, 11 points are the body\u0027s own statements and 10 belong to 6 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/common/js/component/table.js"},"region":{"startLine":443}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ad212ee386b7ee6db03a55d295908be9f20000ceff95f4a498f90628bde9802"}},{"ruleId":"D1","level":"warning","message":{"text":"(anonymous).atBlock (cyclomatic 21): (anonymous).atBlock has cyclomatic complexity 21 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/static/codemirror/mode/css/css.js"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"392b390fc55fd4bf50619e0e799b8b99991e096d52dcde0e50b2f1c2540f02da"}},{"ruleId":"D1","level":"warning","message":{"text":"(anonymous).maybeoperatorNoComma (cyclomatic 21): (anonymous).maybeoperatorNoComma has cyclomatic complexity 21 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/static/codemirror/mode/javascript/javascript.js"},"region":{"startLine":459}}}],"partialFingerprints":{"codehealthFindingId/v1":"1471c7415546c1daa6bab4acb2607e96c9f2a193ac109280976f6aa023de2524"}},{"ruleId":"D1","level":"warning","message":{"text":"(anonymous).classBody (cyclomatic 21): (anonymous).classBody has cyclomatic complexity 21 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/static/codemirror/mode/javascript/javascript.js"},"region":{"startLine":777}}}],"partialFingerprints":{"codehealthFindingId/v1":"18dedc4b6f267d84741f420d6880898241f94ce017eb1d037e557a9fa9edaeeb"}},{"ruleId":"D1","level":"warning","message":{"text":"coupon.confirmCouponDelete (cyclomatic 20): coupon.confirmCouponDelete has cyclomatic complexity 20 (threshold 15). Most of this is not in the body itself: 3 of the 20 points are its own statements and the rest belongs to 5 function literals inside it that branch (lines 113, 127, 140, \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":"assets/admin/controller/trade/coupon.js"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a12e0a305a57a4806f497dfd92d28e93e458fc84f4d5dcb843dca98d1f566c3"}},{"ruleId":"D1","level":"warning","message":{"text":"fallback.relativeTimeTimestamp (cyclomatic 20): fallback.relativeTimeTimestamp has cyclomatic complexity 20 (threshold 15). Of this number, 19 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. 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":"assets/admin/js/mobile/fallback.js"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1585a4fff2e7b4518026ab320a847f316052a5d18c97675159b004198036a0c"}},{"ruleId":"D1","level":"warning","message":{"text":"fallback.configureShellSearch (cyclomatic 20): fallback.configureShellSearch has cyclomatic complexity 20 (threshold 15). Of this number, 19 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/js/mobile/fallback.js"},"region":{"startLine":806}}}],"partialFingerprints":{"codehealthFindingId/v1":"744d8155ad7b0fd67dbe1bc0b74109630bd94881b7f808cefdaed8bc8b82b6ab"}},{"ruleId":"D1","level":"warning","message":{"text":"fallback.cardOfferContent (cyclomatic 20): fallback.cardOfferContent has cyclomatic complexity 20 (threshold 15). Of this number, 13 points are the body\u0027s own statements and 7 belong to one function literal inside it that branches. 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":"assets/admin/js/mobile/fallback.js"},"region":{"startLine":1814}}}],"partialFingerprints":{"codehealthFindingId/v1":"a260f920e9bc0c2d14686176f1ce8b0c133a3caf722968ba0d56e7361e5c2358"}},{"ruleId":"D1","level":"warning","message":{"text":"overlay.closeTransientInput (cyclomatic 20): overlay.closeTransientInput has cyclomatic complexity 20 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/js/mobile/overlay.js"},"region":{"startLine":419}}}],"partialFingerprints":{"codehealthFindingId/v1":"934be24b76bb194ff97ad201d77868c22e2890fc29558852c1e0910f1ef049a1"}},{"ruleId":"D1","level":"warning","message":{"text":"viewport.updateViewportVars (cyclomatic 20): viewport.updateViewportVars has cyclomatic complexity 20 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/js/mobile/viewport.js"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"36c66caf3b63347f5fd36a0a7c1c04e39b1da4074d236184c8bdba8924a8972d"}},{"ruleId":"D1","level":"warning","message":{"text":"viewport.keepPageFieldVisible (cyclomatic 20): viewport.keepPageFieldVisible has cyclomatic complexity 20 (threshold 15). Of this number, 13 points are the body\u0027s own statements and 7 belong to one function literal inside it that branches. 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":"assets/admin/js/mobile/viewport.js"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b56c991d3d854892b3089d972a7a9feb4b0ac420a2d76bcbc55be032c8b76a5"}},{"ruleId":"D1","level":"warning","message":{"text":"Util.redactDebugValue::clone (cyclomatic 20): Util.redactDebugValue::clone has cyclomatic complexity 20 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/common/js/util.js"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"e601ce0329f86a98b5f7afa6e3203c4389212c97a793c8c88aed508213ae9631"}},{"ruleId":"D1","level":"warning","message":{"text":"codemirror.bidiSimplify (cyclomatic 20): codemirror.bidiSimplify has cyclomatic complexity 20 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/static/codemirror/lib/codemirror.js"},"region":{"startLine":7613}}}],"partialFingerprints":{"codehealthFindingId/v1":"df53b732c9f4f7bc10bba9b58e3c615ef50c11485d6484d58f224a34c47add73"}},{"ruleId":"D1","level":"warning","message":{"text":"Panel.save (cyclomatic 20): Panel.save has cyclomatic complexity 20 (threshold 15). Of this number, 14 points are the body\u0027s own statements and 6 belong to one function literal inside it that branches. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/user/controller/security/ipwhitelist.js"},"region":{"startLine":303}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c7a211dbbb616db31322c0940e8f71cfb4eaed49809b188552b3fe4214b3ca6"}},{"ruleId":"D1","level":"warning","message":{"text":"Commodity.commodityDeleteImpact (cyclomatic 20): Commodity.commodityDeleteImpact has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Controller/Admin/Api/Commodity.php"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"70ef831f77ce5d9d64ca780c5e83423e680a19c8d0624bfdcfc1be4b04cab183"}},{"ruleId":"D1","level":"warning","message":{"text":"Config.consumeTestSendQuota (cyclomatic 20): Config.consumeTestSendQuota has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Controller/Admin/Api/Config.php"},"region":{"startLine":580}}}],"partialFingerprints":{"codehealthFindingId/v1":"c351a7d2bf57367673f66cf9fbccb097d8ee3351b3d6b84754ebf62cef09fc25"}},{"ruleId":"D1","level":"warning","message":{"text":"RechargeOrder.verifyExportToken (cyclomatic 20): RechargeOrder.verifyExportToken has cyclomatic complexity 20 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Controller/Admin/Api/RechargeOrder.php"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"668ed9217a4942662038d18e85335b544fb7367b3b2784ed640d4637701cf7bc"}},{"ruleId":"D1","level":"warning","message":{"text":"Coupon.save (cyclomatic 20): Coupon.save has cyclomatic complexity 20 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Controller/User/Api/Coupon.php"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe078a718f176e16cc9a2d6b5fb24860896468f0967176b6db38b0247e0d8479"}},{"ruleId":"D1","level":"warning","message":{"text":"Order.callbackTest (cyclomatic 20): Order.callbackTest has cyclomatic complexity 20 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Controller/User/Api/Order.php"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"754b066ef85f0534a7901b51bd52af6881eb3d002183c7dfaacfddb7aed7f3ab"}},{"ruleId":"D1","level":"warning","message":{"text":"Message.cleanContent (cyclomatic 20): Message.cleanContent has cyclomatic complexity 20 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Service/Bind/Message.php"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c91dec24887e3670a398e974d46b3d71acec70834c80bf5f59d84a408a72217"}},{"ruleId":"D1","level":"warning","message":{"text":"Order.assertCouponApplicable (cyclomatic 20): Order.assertCouponApplicable has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Service/Bind/Order.php"},"region":{"startLine":341}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a89470ebde9a6fdc7424f5a582f620c84800d2a7b554e30ffcf54efb8113108"}},{"ruleId":"D1","level":"warning","message":{"text":"Order.commodityHasPositiveValue (cyclomatic 20): Order.commodityHasPositiveValue has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Service/Bind/Order.php"},"region":{"startLine":563}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d7695dc95e94e478968f58e558d0c4807f3da62f6149f5767d6d0bf055952ff"}},{"ruleId":"D1","level":"warning","message":{"text":"Order.orderSuccess (cyclomatic 20): Order.orderSuccess has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Service/Bind/Order.php"},"region":{"startLine":1170}}}],"partialFingerprints":{"codehealthFindingId/v1":"9de966ba2ce1d1f49db6627b98dbb8d9a1c341dfcf0947fb774c4d5c7fd3965f"}},{"ruleId":"D1","level":"warning","message":{"text":"Query.save (cyclomatic 20): Query.save has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Service/Bind/Query.php"},"region":{"startLine":284}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cb96516431d36f777339415803e1bb71a6e24583d5aaa18e201fede78f5923d"}},{"ruleId":"D1","level":"warning","message":{"text":"sanitizeInlineHtml (cyclomatic 20): sanitizeInlineHtml has cyclomatic complexity 20 (threshold 15). Most of this is not in the body itself: 2 of the 20 points are its own statements and the rest belongs to 5 function items inside it that branch (a function literal at line 132, normalizeLink, normalizeColor, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/common/js/component.js"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d2fa202e6e69da152ea81babd796b2ad2e05a1daeb990ab12ab22afa444dee8"}},{"ruleId":"D1","level":"warning","message":{"text":"sanitizePluginDisplayHtml (cyclomatic 20): sanitizePluginDisplayHtml has cyclomatic complexity 20 (threshold 15). Most of this is not in the body itself: 2 of the 20 points are its own statements and the rest belongs to 4 function items inside it that branch (a function literal at line 59, normalizeColor, walk, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/config/plugin.js"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"b443cf889361d0aeaf4954aa8e4025cc7404936a89bfa590209d739ae6ca44b7"}},{"ruleId":"D1","level":"warning","message":{"text":"click (cyclomatic 20): click has cyclomatic complexity 20 (threshold 15). Most of this is not in the body itself: 1 of the 20 points is its own statement and the rest belongs to 11 function items inside it that branch (a function literal at line 304, (anonymous)::success::(anonymous)::(anonymous)::done, a function literal at line 324, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/config/plugin.js"},"region":{"startLine":302}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d05217142da5ad0c915ad8cc0889d0a9ffb6aa564b1eaa78c37efd279db530b"}},{"ruleId":"D1","level":"warning","message":{"text":"click (cyclomatic 20): click has cyclomatic complexity 20 (threshold 15). Most of this is not in the body itself: 1 of the 20 points is its own statement and the rest belongs to 11 function items inside it that branch (a function literal at line 427, (anonymous)::success::(anonymous)::(anonymous)::done, a function literal at line 447, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/pay/plugin.js"},"region":{"startLine":425}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8e48047624c49ebe959bd693edd5339721ccd095001703cebf3b88caadb4d32"}},{"ruleId":"D1","level":"warning","message":{"text":"normalizeRemoteProductGroups (cyclomatic 20): normalizeRemoteProductGroups has cyclomatic complexity 20 (threshold 15). Most of this is not in the body itself: 2 of the 20 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 318, 312). 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":"assets/admin/controller/shared/store.js"},"region":{"startLine":305}}}],"partialFingerprints":{"codehealthFindingId/v1":"6613dcadba7f2d9b6fe48d103cee6144920e7bc4dfe88370d89ae831454ec9cb"}},{"ruleId":"D1","level":"warning","message":{"text":"(anonymous).confirmDelete (cyclomatic 20): (anonymous).confirmDelete has cyclomatic complexity 20 (threshold 15). Most of this is not in the body itself: 4 of the 20 points are its own statements and the rest belongs to 9 function items inside it that branch (done, a function literal at line 63, a function literal at line 23, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/trade/category-actions.js"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"98c09b2fd078d530b8e899a8a9d5c583b03d1c3d483a410ed0a5260e503c3057"}},{"ruleId":"D1","level":"warning","message":{"text":"(anonymous).attach.openActions (cyclomatic 20): (anonymous).attach.openActions has cyclomatic complexity 20 (threshold 15). Of this number, 16 points are the body\u0027s own statements and 4 belong to 11 function items 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":"assets/admin/controller/trade/category-tree.js"},"region":{"startLine":1158}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfa4af0e7699c5c219c076ca54ecbdc989dbfc0d7867f1861d31a5c90e908bbd"}},{"ruleId":"D1","level":"warning","message":{"text":"(anonymous).attach (cyclomatic 20): (anonymous).attach has cyclomatic complexity 20 (threshold 15). Of this number, 11 points are the body\u0027s own statements and 9 belong to 7 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":"assets/admin/controller/trade/drag-sort.js"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebeb857629606ec78acfd4ef11e982268a532882e924a2906f11d3c43ceabda1"}},{"ruleId":"D1","level":"warning","message":{"text":"(anonymous)::(anonymous)::setSonNodeCheckBox (cyclomatic 20): (anonymous)::(anonymous)::setSonNodeCheckBox has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/common/js/component/tree.select.js"},"region":{"startLine":2542}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a9ea010b6a76a51fb1d2a275eace4aeaffb7384a583daf59dec1d9c900f73d6"}},{"ruleId":"D1","level":"warning","message":{"text":"other.$(\u0022#currency-convert-btn\u0022).off().on() (cyclomatic 19): other.$(\u0022#currency-convert-btn\u0022).off().on() has cyclomatic complexity 19 (threshold 15). Of this number, 14 points are the body\u0027s own statements and 5 belong to 4 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":"assets/admin/controller/config/other.js"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed4cf350391a79d54f5b0f480c6360002d0419a93cd2e1baed2a9dfec738f65f"}},{"ruleId":"D1","level":"warning","message":{"text":"workflows.mount (cyclomatic 19): workflows.mount has cyclomatic complexity 19 (threshold 15). Most of this is not in the body itself: 3 of the 19 points are its own statements and the rest belongs to 5 function literals inside it that branch (lines 1342, 1327, 1323, \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":"assets/admin/js/mobile/workflows.js"},"region":{"startLine":1274}}}],"partialFingerprints":{"codehealthFindingId/v1":"902352daf57fa3d4921376a4630d14073fa8e959e7774850d0a304644eb350fc"}},{"ruleId":"D1","level":"warning","message":{"text":"acg.acgSecretPopup (cyclomatic 19): acg.acgSecretPopup has cyclomatic complexity 19 (threshold 15). Of this number, 14 points are the body\u0027s own statements and 5 belong to 4 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":"assets/static/acg.js"},"region":{"startLine":1073}}}],"partialFingerprints":{"codehealthFindingId/v1":"854ff40cf29eb431040de707a7e6fc0f5087bcf0d79b0c96b3c1c2dc3b664858"}},{"ruleId":"D1","level":"warning","message":{"text":"codemirror.conflictingCollapsedRange (cyclomatic 19): codemirror.conflictingCollapsedRange has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/static/codemirror/lib/codemirror.js"},"region":{"startLine":1535}}}],"partialFingerprints":{"codehealthFindingId/v1":"093007cfd68edb985f5cf2c9511af8e6c852c98fdbedfbd7fbda1e72f75ae7c4"}},{"ruleId":"D1","level":"warning","message":{"text":"codemirror.calculateScrollPos (cyclomatic 19): codemirror.calculateScrollPos has cyclomatic complexity 19 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/static/codemirror/lib/codemirror.js"},"region":{"startLine":3499}}}],"partialFingerprints":{"codehealthFindingId/v1":"56ece9fcd3cc18a48ce48ecdb5482b105140c381d55902a036410ccf3ed1220c"}},{"ruleId":"D1","level":"warning","message":{"text":"codemirror.onMouseDown (cyclomatic 19): codemirror.onMouseDown has cyclomatic complexity 19 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/static/codemirror/lib/codemirror.js"},"region":{"startLine":7335}}}],"partialFingerprints":{"codehealthFindingId/v1":"d30a08da777a9435fac497952387e8464dffa2cc7bd9db061aebb56cb343fce6"}},{"ruleId":"D1","level":"warning","message":{"text":"codemirror.domTextBetween (cyclomatic 19): codemirror.domTextBetween has cyclomatic complexity 19 (threshold 15). Most of this is not in the body itself: 3 of the 19 points are its own statements and the rest belongs to 3 function items inside it that branch (walk, close, addText). Those helpers are already separate functions, so extracting the branching again is not available. To reduce it, move them out of the body to the enclosing scope, where each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/static/codemirror/lib/codemirror.js"},"region":{"startLine":9208}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e70c352a39b43d678d8f0c9ff4180ec6d3447dd01f316d7b49fc6edb9a75c9f"}},{"ruleId":"D1","level":"warning","message":{"text":"javascript.CodeMirror.defineMode(\u0022javascript\u0022).objprop (cyclomatic 19): javascript.CodeMirror.defineMode(\u0022javascript\u0022).objprop has cyclomatic complexity 19 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/static/codemirror/mode/javascript/javascript.js"},"region":{"startLine":522}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8fd791ec2ca87c8044fb982f2724981a50039f2e6ace4ed7dba4a5e9a965270"}},{"ruleId":"D1","level":"warning","message":{"text":"Panel.render (cyclomatic 19): Panel.render has cyclomatic complexity 19 (threshold 15). Of this number, 14 points are the body\u0027s own statements and 5 belong to 2 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":"assets/user/controller/security/ipwhitelist.js"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd5f024de67a3f08b572ecb5849ea961fae47054bab0d6849454af8f9178c4bb"}},{"ruleId":"D1","level":"warning","message":{"text":"Card.cardExportQuery (cyclomatic 19): Card.cardExportQuery has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Controller/Admin/Api/Card.php"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"3804ca7d34abd0532fd7c2e33d3f489a43174df9b3b4b5d725625dcbb8aea6f6"}},{"ruleId":"D1","level":"warning","message":{"text":"Order.verifyOrderExportToken (cyclomatic 19): Order.verifyOrderExportToken has cyclomatic complexity 19 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Controller/Admin/Api/Order.php"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fefb86832ae129437ddc46469575a88f8dacbc0e14fd3a26b9ff93270e803b7"}},{"ruleId":"D1","level":"warning","message":{"text":"Pay.paymentDeleteImpact (cyclomatic 19): Pay.paymentDeleteImpact has cyclomatic complexity 19 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Controller/Admin/Api/Pay.php"},"region":{"startLine":307}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0f3cdc603f28a4bcafe99eb06d810b7391094bd0bcaa468a1adbb2aeebd1021"}},{"ruleId":"D1","level":"warning","message":{"text":"CommodityOrder.data (cyclomatic 19): CommodityOrder.data has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Controller/User/Api/CommodityOrder.php"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"ece7e4bab90192c59487843327570dc55cab26826d071e1354a807cfd9dda2c8"}},{"ruleId":"D1","level":"warning","message":{"text":"Image.downloadRemoteImage (cyclomatic 19): Image.downloadRemoteImage has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Service/Bind/Image.php"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"bea6ce0e22cef927c90353c5073ebe5bc8a8b43b1469115471616aa9b9fc0f2a"}},{"ruleId":"D1","level":"warning","message":{"text":"Message.siteBaseUrl (cyclomatic 19): Message.siteBaseUrl has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Service/Bind/Message.php"},"region":{"startLine":286}}}],"partialFingerprints":{"codehealthFindingId/v1":"07a4b46353de950531cc9dac9696d39d701b6e03af8efd44b4c8ba321a3b11be"}},{"ruleId":"D1","level":"warning","message":{"text":"Ticket.normalizeTicket (cyclomatic 19): Ticket.normalizeTicket has cyclomatic complexity 19 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Service/Bind/Ticket.php"},"region":{"startLine":265}}}],"partialFingerprints":{"codehealthFindingId/v1":"aca01c4c9ffd461a796b51c1487d3ec0d02edc172c9ce4d5de7d5a84a080eed2"}},{"ruleId":"D1","level":"warning","message":{"text":"Ticket.cleanContent (cyclomatic 19): Ticket.cleanContent has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Service/Bind/Ticket.php"},"region":{"startLine":750}}}],"partialFingerprints":{"codehealthFindingId/v1":"3aad28564cda4729c7fb4016ac2c1af9a55c82f7eb6bcde9fb7d3430f79bcb70"}},{"ruleId":"D1","level":"warning","message":{"text":"Purge.collect (cyclomatic 19): Purge.collect has cyclomatic complexity 19 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Util/CardFile/Purge.php"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc1588ac02216577b3884175ebc0f98b965175f9e2afeb0506609ca78caafef1"}},{"ruleId":"D1","level":"warning","message":{"text":"UploadPurge.inspectUploadPath (cyclomatic 19): UploadPurge.inspectUploadPath has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Util/UploadPurge.php"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4839ef6f32d55310ed26b465fb2bbc51cae9869dd87492521d9aa405d40eb86"}},{"ruleId":"D1","level":"warning","message":{"text":"GridTracks.track (cyclomatic 19): GridTracks.track has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kernel/Waf/Css/GridTracks.php"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"47768f4ef47913b364216fb7c2b124f0b7adcbd4c41442de594a836a8f25a5e5"}},{"ruleId":"D1","level":"warning","message":{"text":"sanitizeRichHtml (cyclomatic 19): sanitizeRichHtml has cyclomatic complexity 19 (threshold 15). Most of this is not in the body itself: 2 of the 19 points are its own statements and the rest belongs to 3 function items inside it that branch (a function literal at line 56, a function literal at line 72, walk). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/common/js/component.js"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"b406adc885dce6126c5816d1bbf9d283ebf9150082770ba97420558427888c93"}},{"ruleId":"D1","level":"warning","message":{"text":"(anonymous) (cyclomatic 19): (anonymous) has cyclomatic complexity 19 (threshold 15). Of this number, 14 points are the body\u0027s own statements and 5 belong to 8 function items inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/config/other.js"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"af77719570620a21431f021f26022977cc7778a35a4c58f94ae8accf8d198155"}},{"ruleId":"D1","level":"warning","message":{"text":"normalizeImportTask (cyclomatic 19): normalizeImportTask has cyclomatic complexity 19 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/shared/store.js"},"region":{"startLine":730}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe23ce8575982ab2cbb0364353f812e982ed1c044e0487f200ddbe2118f5d35c"}},{"ruleId":"D1","level":"warning","message":{"text":"(anonymous).attach.onMobilePointerDown (cyclomatic 19): (anonymous).attach.onMobilePointerDown has cyclomatic complexity 19 (threshold 15). Of this number, 17 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/trade/drag-sort.js"},"region":{"startLine":1028}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fc5a12b253f9a7e2464b139dd3cc07c4836663699ab21b3cbb4a2fe13d21de1"}},{"ruleId":"D1","level":"warning","message":{"text":"requestAudienceCount (cyclomatic 19): requestAudienceCount has cyclomatic complexity 19 (threshold 15). Most of this is not in the body itself: 5 of the 19 points are its own statements and the rest belongs to 3 function items inside it that branch (done, error, fail). Those helpers are already separate functions, so extracting the branching again is not available. To reduce it, move them out of the body to the enclosing scope, where each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/user/message.js"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd8ecebb39e36d9a90359ede4f44b3affc6bc1bb2935155cb10f90555d0ab8b8"}},{"ruleId":"D1","level":"warning","message":{"text":"alignReferenceCards (cyclomatic 19): alignReferenceCards has cyclomatic complexity 19 (threshold 15). Most of this is not in the body itself: 4 of the 19 points are its own statements and the rest belongs to 4 function literals inside it that branch (lines 62, 78, 60, \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":"assets/admin/js/mobile/fallback.js"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddf70077dbad03109ec19a3ceaa3fb94becc53ffe6ac67cdd28f7ffe837dbfb3"}},{"ruleId":"D1","level":"warning","message":{"text":"(anonymous).top (cyclomatic 19): (anonymous).top has cyclomatic complexity 19 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/static/codemirror/mode/css/css.js"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"73c60735917b1c36da2b2b71e80e6ea54f32134e309703b081179266b5bdb51b"}},{"ruleId":"D1","level":"warning","message":{"text":"(anonymous).objprop (cyclomatic 19): (anonymous).objprop has cyclomatic complexity 19 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/static/codemirror/mode/javascript/javascript.js"},"region":{"startLine":522}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfe5e6b6bab669acc7599d57d8c292e4c8875fe5821fcfc050f0f0828c65b5e3"}},{"ruleId":"D1","level":"warning","message":{"text":"home.requestPurchase (cyclomatic 18): home.requestPurchase has cyclomatic complexity 18 (threshold 15). Most of this is not in the body itself: 8 of the 18 points are its own statements and the rest belongs to 5 function items inside it that branch (a function literal at line 299, send, a function literal at line 310, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/store/home.js"},"region":{"startLine":288}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab3e774a5a80abca0395f8fc657bd0ca2a0e105d2e6a92c358719f16dae1ace1"}},{"ruleId":"D1","level":"warning","message":{"text":"ticket.sanitizeRichHtml (cyclomatic 18): ticket.sanitizeRichHtml has cyclomatic complexity 18 (threshold 15). Most of this is not in the body itself: 2 of the 18 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 117, 132). 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":"assets/admin/controller/user/ticket.js"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1333dda65c15c625685dd61861accaa1e9f14364282458c5d262497689c8b46"}},{"ruleId":"D1","level":"warning","message":{"text":"menu.KTScroll::_getAutoHeight (cyclomatic 18): menu.KTScroll::_getAutoHeight has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/js/menu.js"},"region":{"startLine":2896}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ca0fd0864b016cf2c743dadb1d9342fe0359331fd76d90a41d5a237d6c73b49"}},{"ruleId":"D1","level":"warning","message":{"text":"fallback.cardSubtitle (cyclomatic 18): fallback.cardSubtitle has cyclomatic complexity 18 (threshold 15). Of this number, 9 points are the body\u0027s own statements and 9 belong to one function literal inside it that branches. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators. This is NOT this file\u0027s highest cyclomatic complexity: fallback.alignReferenceCards (cyclomatic 19) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/js/mobile/fallback.js"},"region":{"startLine":598}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1756e632c0dc33e79df21febefd396dccb1353b6f994061da1b677081401872"}},{"ruleId":"D1","level":"warning","message":{"text":"fallback.updateTreeCollapsePresentation (cyclomatic 18): fallback.updateTreeCollapsePresentation has cyclomatic complexity 18 (threshold 15). Most of this is not in the body itself: 4 of the 18 points are its own statements and the rest belongs to one function literal inside it that branches (line 2718). The decisions are inside the literal, 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 literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest. This is NOT this file\u0027s highest cyclomatic complexity: fallback.alignReferenceCards (cyclomatic 19) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/js/mobile/fallback.js"},"region":{"startLine":2716}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c800b3d54a9b4415f33cddd4efd0d7c02fbeaedbc4ae48e6d589866c756c145"}},{"ruleId":"D1","level":"warning","message":{"text":"overlay.setupDirtyTracking (cyclomatic 18): overlay.setupDirtyTracking has cyclomatic complexity 18 (threshold 15). Most of this is not in the body itself: 3 of the 18 points are its own statements and the rest belongs to 4 function items inside it that branch (editorKey, captureBaseline, controlClick, \u2026). Those helpers are already separate functions, so extracting the branching again is not available. To reduce it, move them out of the body to the enclosing scope, where each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/js/mobile/overlay.js"},"region":{"startLine":508}}}],"partialFingerprints":{"codehealthFindingId/v1":"33f03db770e180d3b22307611f0afeee7b71da981a9e6b723cbc09553fa64929"}},{"ruleId":"D1","level":"warning","message":{"text":"overlay.setupSheetDrag::pointerDown (cyclomatic 18): overlay.setupSheetDrag::pointerDown has cyclomatic complexity 18 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/js/mobile/overlay.js"},"region":{"startLine":745}}}],"partialFingerprints":{"codehealthFindingId/v1":"27b59c07b5eb23e5d943d734e5ec0ca18822c77c72f055e6bfa1dff0a44bfb71"}},{"ruleId":"D1","level":"warning","message":{"text":"overlay.openActions (cyclomatic 18): overlay.openActions has cyclomatic complexity 18 (threshold 15). Most of this is not in the body itself: 5 of the 18 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 905, 916). 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":"assets/admin/js/mobile/overlay.js"},"region":{"startLine":901}}}],"partialFingerprints":{"codehealthFindingId/v1":"89b11d188b70517c280f2519d4c78dda331f2d9a4742e3a573c24d31a3748207"}},{"ruleId":"D1","level":"warning","message":{"text":"Form.disposeControl (cyclomatic 18): Form.disposeControl has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This is NOT this file\u0027s highest cyclomatic complexity: Form.createForm (cyclomatic 40) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/common/js/component/form.js"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c68d47f2a1c860e0a6f1f11ca7f1b3fd8a9d309fa522ad1d880fcf872e99309"}},{"ruleId":"D1","level":"warning","message":{"text":"editorv2.register.destroy (cyclomatic 18): editorv2.register.destroy has cyclomatic complexity 18 (threshold 15). Of this number, 15 points are the body\u0027s own statements and 3 belong to one function literal inside it that branches. To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/common/js/editor/markdown/editorv2.js"},"region":{"startLine":980}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b05f08b0c9e2856ae227a1c461bc623359b55e3a5c92d6de46e3a6fc2df1331"}},{"ruleId":"D1","level":"warning","message":{"text":"codemirror.removeReadOnlyRanges (cyclomatic 18): codemirror.removeReadOnlyRanges has cyclomatic complexity 18 (threshold 15). Of this number, 12 points are the body\u0027s own statements and 6 belong to one function literal inside it that branches. 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":"assets/static/codemirror/lib/codemirror.js"},"region":{"startLine":1445}}}],"partialFingerprints":{"codehealthFindingId/v1":"44fdbc3f791f835117460a2cfb0fe8628bedceee3fc0323f64d9ba0688864207"}},{"ruleId":"D1","level":"warning","message":{"text":"codemirror.endOperation_finish (cyclomatic 18): codemirror.endOperation_finish has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/static/codemirror/lib/codemirror.js"},"region":{"startLine":3910}}}],"partialFingerprints":{"codehealthFindingId/v1":"43fc827c4f465fc80e3f9850e679e2ceb70c3a2faff0ce544243fa330e605e4d"}},{"ruleId":"D1","level":"warning","message":{"text":"codemirror.onKeyPress (cyclomatic 18): codemirror.onKeyPress has cyclomatic complexity 18 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/static/codemirror/lib/codemirror.js"},"region":{"startLine":7286}}}],"partialFingerprints":{"codehealthFindingId/v1":"f586b3391732c4bcb4f3364c6b6c89eb192271d0a247a5a6c049cb918f5c0f33"}},{"ruleId":"D1","level":"warning","message":{"text":"codemirror.TextareaInput.init (cyclomatic 18): codemirror.TextareaInput.init has cyclomatic complexity 18 (threshold 15). Most of this is not in the body itself: 2 of the 18 points are its own statements and the rest belongs to 7 function items inside it that branch (prepareCopyCut, a function literal at line 9365, a function literal at line 9399, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/static/codemirror/lib/codemirror.js"},"region":{"startLine":9353}}}],"partialFingerprints":{"codehealthFindingId/v1":"df2e7fcb245ef53a93cbb9d6af1044730f39db809c1e370d23764c1f4fbab64c"}},{"ruleId":"D1","level":"warning","message":{"text":"javascript.CodeMirror.defineMode(\u0022javascript\u0022).typeexpr (cyclomatic 18): javascript.CodeMirror.defineMode(\u0022javascript\u0022).typeexpr has cyclomatic complexity 18 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/static/codemirror/mode/javascript/javascript.js"},"region":{"startLine":610}}}],"partialFingerprints":{"codehealthFindingId/v1":"48bf014d1b4cae14ccb6ee72a4154858509d49208fc119047e062ba9cc3b68eb"}},{"ruleId":"D1","level":"warning","message":{"text":"ticket.create.updateSummary (cyclomatic 18): ticket.create.updateSummary has cyclomatic complexity 18 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/user/controller/user/ticket.create.js"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ae963b810da0db31d44eaeacc2fb14bead4678b071788ad1c4525bf252f53eb"}},{"ruleId":"D1","level":"warning","message":{"text":"ticket.create.submitTicket (cyclomatic 18): ticket.create.submitTicket has cyclomatic complexity 18 (threshold 15). Of this number, 12 points are the body\u0027s own statements and 6 belong to 2 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":"assets/user/controller/user/ticket.create.js"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"8dec6f40713c2ed542e7203879eb2f774329960ed643b52518748772825f0beb"}},{"ruleId":"D1","level":"warning","message":{"text":"Category.verifyCategoryDeleteToken (cyclomatic 18): Category.verifyCategoryDeleteToken has cyclomatic complexity 18 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Controller/Admin/Api/Category.php"},"region":{"startLine":289}}}],"partialFingerprints":{"codehealthFindingId/v1":"57a0aaabf4d16df0ab86a749ba4660fecb20bccddf424b278f420451ac08a999"}},{"ruleId":"D1","level":"warning","message":{"text":"Config.security (cyclomatic 18): Config.security has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Controller/Admin/Api/Config.php"},"region":{"startLine":724}}}],"partialFingerprints":{"codehealthFindingId/v1":"d403788620ce70d2d500ad294b71a40dd1f281c1168ed9f67d80934a5d346c56"}},{"ruleId":"D1","level":"warning","message":{"text":"PriceTemplate.computePrice (cyclomatic 18): PriceTemplate.computePrice has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Controller/Admin/Api/PriceTemplate.php"},"region":{"startLine":328}}}],"partialFingerprints":{"codehealthFindingId/v1":"10524cdf9e05e64397fca64d00a3340a4d18eb60b0b1535e2d9aad5d8ff68416"}},{"ruleId":"D1","level":"warning","message":{"text":"Pay.savePluginConfig (cyclomatic 18): Pay.savePluginConfig has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Service/Bind/Pay.php"},"region":{"startLine":396}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e1b67a50088ea8696fa60482d38578d2e186ee4d9f1f71b43ecea473811c790"}},{"ruleId":"D1","level":"warning","message":{"text":"Shop.substationPriceIncrease (cyclomatic 18): Shop.substationPriceIncrease has cyclomatic complexity 18 (threshold 15). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Service/Bind/Shop.php"},"region":{"startLine":383}}}],"partialFingerprints":{"codehealthFindingId/v1":"062386f67cb6e35f2cb3ef44e890189c33f0cf868ea1a5eec4022ae7b03f1827"}},{"ruleId":"D1","level":"warning","message":{"text":"CategoryTree.forAdmin (cyclomatic 18): CategoryTree.forAdmin has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Util/CategoryTree.php"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9e4237b67877931c5ed30d33b75db2e83ec84c1a04b9480a1256a38f4c3f450"}},{"ruleId":"D1","level":"warning","message":{"text":"PluginPacker.pack (cyclomatic 18): PluginPacker.pack has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Util/PluginPacker.php"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"944a1c3395ec74f655ac35761e369684d342e7e023cc0db046d4415419cb289c"}},{"ruleId":"D1","level":"warning","message":{"text":"Waf.wafPost (cyclomatic 18): Waf.wafPost has cyclomatic complexity 18 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Util/Waf.php"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"159ecfa5d3d4ba7db5fec56a5cd6ded2b34503215762bdc8b644737379ede5f2"}},{"ruleId":"D1","level":"warning","message":{"text":"(anonymous).parseResponse (cyclomatic 18): (anonymous).parseResponse has cyclomatic complexity 18 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/trade/card-file-upload.js"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2dabf24bf8df1bce833a97dd5d06c54f417a265a88a7340745affaf48786b64"}},{"ruleId":"D1","level":"warning","message":{"text":"(anonymous).attach.nodesHtml (cyclomatic 18): (anonymous).attach.nodesHtml has cyclomatic complexity 18 (threshold 15). Most of this is not in the body itself: 4 of the 18 points are its own statements and the rest belongs to one function literal inside it that branches (line 366). The decisions are inside the literal, 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 literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/trade/category-tree.js"},"region":{"startLine":363}}}],"partialFingerprints":{"codehealthFindingId/v1":"f034cf112778328a39e376f16913fecd7bf32ee81a2dac2f6d7e9d0d160bc5d6"}},{"ruleId":"D1","level":"warning","message":{"text":"(anonymous) (cyclomatic 18): (anonymous) has cyclomatic complexity 18 (threshold 15). Most of this is not in the body itself: 2 of the 18 points are its own statements and the rest belongs to 7 function items inside it that branch (submitBatchSettings, a function literal at line 1411, a function literal at line 1393, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/trade/commodity.js"},"region":{"startLine":1382}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a24659444ccb0e352f62c655c4ed4183a759e357097a790086838248fa0a90d"}},{"ruleId":"D1","level":"warning","message":{"text":"click (cyclomatic 18): click has cyclomatic complexity 18 (threshold 15). Of this number, 11 points are the body\u0027s own statements and 7 belong to 4 function items inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/user/recharge.order.js"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"f935e8ad39e1e5135acab24dad7b2bd3666a9594212fd2b52535c74538c97916"}},{"ruleId":"D1","level":"warning","message":{"text":"renderToolbar::(anonymous)::syncSourceState (cyclomatic 18): renderToolbar::(anonymous)::syncSourceState has cyclomatic complexity 18 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/js/mobile/fallback.js"},"region":{"startLine":2270}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbf4404a757b43566e8b08f3ae16542f98f09a87cf1e130af36ff82d37f0c851"}},{"ruleId":"D1","level":"warning","message":{"text":"#mobileDisplayValue (cyclomatic 18): #mobileDisplayValue has cyclomatic complexity 18 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/common/js/component/table.js"},"region":{"startLine":726}}}],"partialFingerprints":{"codehealthFindingId/v1":"c77d4f3c7a0550c3ea6fc41ed901a7aa9eb8165061b907a4d2d702482f8e986a"}},{"ruleId":"D1","level":"warning","message":{"text":"register.destroy (cyclomatic 18): register.destroy has cyclomatic complexity 18 (threshold 15). Of this number, 15 points are the body\u0027s own statements and 3 belong to one function literal inside it that branches. To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/common/js/editor/markdown/editorv2.js"},"region":{"startLine":980}}}],"partialFingerprints":{"codehealthFindingId/v1":"08c0cb9f5098025564d34496d804f02a1b8a5bfa6527514f1b3ef5c335b3679c"}},{"ruleId":"D1","level":"warning","message":{"text":"(anonymous).typeexpr (cyclomatic 18): (anonymous).typeexpr has cyclomatic complexity 18 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/static/codemirror/mode/javascript/javascript.js"},"region":{"startLine":610}}}],"partialFingerprints":{"codehealthFindingId/v1":"86038c9436aff5ae816f39ca44345eb49aba897dae0258d2979d3d06cff0fc7b"}},{"ruleId":"D1","level":"warning","message":{"text":"google2fa.$(\u0022#g2fa-bind-btn\u0022).off().on() (cyclomatic 17): google2fa.$(\u0022#g2fa-bind-btn\u0022).off().on() has cyclomatic complexity 17 (threshold 15). Most of this is not in the body itself: 2 of the 17 points are its own statements and the rest belongs to 8 function literals inside it that branch (lines 90, 143, 134, \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":"assets/admin/controller/config/google2fa.js"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"d296684a82870bb1d7f9bc29c3077cd3c699474504dc62adf43012bc98da600d"}},{"ruleId":"D1","level":"warning","message":{"text":"wiki.mobile.destroy (cyclomatic 17): wiki.mobile.destroy has cyclomatic complexity 17 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/config/wiki.mobile.js"},"region":{"startLine":311}}}],"partialFingerprints":{"codehealthFindingId/v1":"899da10a546cbeb0a465171a77bb4f54e71382fbc91408f98d9e6bf669a72e88"}},{"ruleId":"D1","level":"warning","message":{"text":"store.importTaskLogText (cyclomatic 17): store.importTaskLogText has cyclomatic complexity 17 (threshold 15). Most of this is not in the body itself: 6 of the 17 points are its own statements and the rest belongs to one function literal inside it that branches (line 824). The decisions are inside the literal, 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 literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/shared/store.js"},"region":{"startLine":822}}}],"partialFingerprints":{"codehealthFindingId/v1":"b58f326f142c7a6c158349befe30ecbe769016f4c3bda93bbf8ff33c4baba97c"}},{"ruleId":"D1","level":"warning","message":{"text":"commodity.$(\u0022.handle\u0022).off().on() (cyclomatic 17): commodity.$(\u0022.handle\u0022).off().on() has cyclomatic complexity 17 (threshold 15). Most of this is not in the body itself: 2 of the 17 points are its own statements and the rest belongs to 6 function items inside it that branch (submitBatchSettings, a function literal at line 1411, a function literal at line 1422, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/trade/commodity.js"},"region":{"startLine":1382}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd4c27a64abe633547854ada5372e51cf4277e85798a5657a527b3b7e882f6f3"}},{"ruleId":"D1","level":"warning","message":{"text":"ticket.pollMessages (cyclomatic 17): ticket.pollMessages has cyclomatic complexity 17 (threshold 15). Most of this is not in the body itself: 7 of the 17 points are its own statements and the rest belongs to 2 function items inside it that branch (a function literal at line 525, finishPoll). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/user/ticket.js"},"region":{"startLine":504}}}],"partialFingerprints":{"codehealthFindingId/v1":"484172b4de51628b6ffa02032d0a954405cceacd9274db6e2e4c0f50ed9fc8dd"}},{"ruleId":"D1","level":"warning","message":{"text":"ticket.sendReply (cyclomatic 17): ticket.sendReply has cyclomatic complexity 17 (threshold 15). Most of this is not in the body itself: 6 of the 17 points are its own statements and the rest belongs to 4 function literals inside it that branch (lines 655, 642, 668, \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":"assets/admin/controller/user/ticket.js"},"region":{"startLine":637}}}],"partialFingerprints":{"codehealthFindingId/v1":"575d5ff7586dfcef80d2fcded604f8c3b8c5f97d4f900cda94151fd2345ed149"}},{"ruleId":"D1","level":"warning","message":{"text":"fallback.compactCardDefinitions (cyclomatic 17): fallback.compactCardDefinitions has cyclomatic complexity 17 (threshold 15). Most of this is not in the body itself: 6 of the 17 points are its own statements and the rest belongs to one function item inside it that branches (add). Those helpers are already separate functions, so extracting the branching again is not available. To reduce it, move them out of the body to the enclosing scope, where each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest. This is NOT this file\u0027s highest cyclomatic complexity: fallback.alignReferenceCards (cyclomatic 19) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/js/mobile/fallback.js"},"region":{"startLine":330}}}],"partialFingerprints":{"codehealthFindingId/v1":"62c7606aa57e2c2e437918f7be73e9e4b34a5aca11921bdb7eb4cbf90c812454"}},{"ruleId":"D1","level":"warning","message":{"text":"fallback.renderTreeToggle (cyclomatic 17): fallback.renderTreeToggle has cyclomatic complexity 17 (threshold 15). Of this number, 16 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. 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. This is NOT this file\u0027s highest cyclomatic complexity: fallback.alignReferenceCards (cyclomatic 19) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/js/mobile/fallback.js"},"region":{"startLine":2744}}}],"partialFingerprints":{"codehealthFindingId/v1":"9be72f5fda79c0c1df3f18a45f68a4dc9de30ddf57c868b5d7f6037ee4519b81"}},{"ruleId":"D1","level":"warning","message":{"text":"fallback.rebuild (cyclomatic 17): fallback.rebuild has cyclomatic complexity 17 (threshold 15). Most of this is not in the body itself: 3 of the 17 points are its own statements and the rest belongs to one function literal inside it that branches (line 3220). The decisions are inside the literal, 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 literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest. This is NOT this file\u0027s highest cyclomatic complexity: fallback.alignReferenceCards (cyclomatic 19) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/js/mobile/fallback.js"},"region":{"startLine":3217}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ee7a21b9909400f09fa62e55575db560788e299f74dea88fdab77823c521398"}},{"ruleId":"D1","level":"warning","message":{"text":"overlay.api.closeAll (cyclomatic 17): overlay.api.closeAll has cyclomatic complexity 17 (threshold 15). Of this number, 10 points are the body\u0027s own statements and 7 belong to 3 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":"assets/admin/js/mobile/overlay.js"},"region":{"startLine":1372}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e01f4deebf4880082a0926f3382656330087a3022e519b65b3d4657e8cc1431"}},{"ruleId":"D1","level":"warning","message":{"text":"recipes.rechargeOrderSubtitleField (cyclomatic 17): recipes.rechargeOrderSubtitleField has cyclomatic complexity 17 (threshold 15). Of this number, 16 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/js/mobile/recipes.js"},"region":{"startLine":419}}}],"partialFingerprints":{"codehealthFindingId/v1":"5077cd90d8f442ad2ad40e0253bcd2b058969b4d5caf3bd8dd7fdd8ecbe80079"}},{"ruleId":"D1","level":"warning","message":{"text":"Search.#setField (cyclomatic 17): Search.#setField has cyclomatic complexity 17 (threshold 15). Of this number, 16 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. 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":"assets/common/js/component/search.js"},"region":{"startLine":413}}}],"partialFingerprints":{"codehealthFindingId/v1":"c848a1bcfcf52b12af58e6b74a4ac1910c0cf743e7367eb84788f2655a728520"}},{"ruleId":"D1","level":"warning","message":{"text":"editorv2.register.sizeImages.text (cyclomatic 17): editorv2.register.sizeImages.text has cyclomatic complexity 17 (threshold 15). Of this number, 14 points are the body\u0027s own statements and 3 belong to 2 function items inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/common/js/editor/markdown/editorv2.js"},"region":{"startLine":747}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6de77e61eb0f9cf324b30c4c03aa2c46dd7a07bf79e42094e366203d7249c97"}},{"ruleId":"D1","level":"warning","message":{"text":"css.CodeMirror.defineMode(\u0022css\u0022).indent (cyclomatic 17): css.CodeMirror.defineMode(\u0022css\u0022).indent has cyclomatic complexity 17 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/static/codemirror/mode/css/css.js"},"region":{"startLine":391}}}],"partialFingerprints":{"codehealthFindingId/v1":"38dad4b026f03e38870507d0b47b7ffebcd81151bebe99b1e04cb09a3301e887"}},{"ruleId":"D1","level":"warning","message":{"text":"ticket.create.initRemoteSelect (cyclomatic 17): ticket.create.initRemoteSelect has cyclomatic complexity 17 (threshold 15). Most of this is not in the body itself: 3 of the 17 points are its own statements and the rest belongs to 6 function literals inside it that branch (lines 60, 59, 72, \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":"assets/user/controller/user/ticket.create.js"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5a77295249a7b991a1ee394d7e9113cffc8a2d52c3eff63c30a51009983cddc"}},{"ruleId":"D1","level":"warning","message":{"text":"glass.initMessageCenter (cyclomatic 17): glass.initMessageCenter has cyclomatic complexity 17 (threshold 15). Most of this is not in the body itself: 6 of the 17 points are its own statements and the rest belongs to 4 function literals inside it that branch (lines 337, 370, 378, \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":"assets/user/js/glass.js"},"region":{"startLine":327}}}],"partialFingerprints":{"codehealthFindingId/v1":"69729b56977378dfe96c72804e6f4bbc7c948d4aca4f081710908c34fd3c1590"}},{"ruleId":"D1","level":"warning","message":{"text":"glass.initTheme (cyclomatic 17): glass.initTheme has cyclomatic complexity 17 (threshold 15). Most of this is not in the body itself: 5 of the 17 points are its own statements and the rest belongs to 4 function items inside it that branch (apply, resolve, mode, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/user/js/glass.js"},"region":{"startLine":503}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc3bb3fc855eed8ad340665b86fe489a8f3a1f0f5b495f68603b7d4863389360"}},{"ruleId":"D1","level":"warning","message":{"text":"Card.saveFiles (cyclomatic 17): Card.saveFiles has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Controller/Admin/Api/Card.php"},"region":{"startLine":456}}}],"partialFingerprints":{"codehealthFindingId/v1":"0005d7455464ab9a7026ca560c3902fa8a7fadab63074f9980582879a842a948"}},{"ruleId":"D1","level":"warning","message":{"text":"Category.status (cyclomatic 17): Category.status has cyclomatic complexity 17 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Controller/Admin/Api/Category.php"},"region":{"startLine":710}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c615f16d7ec1a90e2496af493938c9b74309fa41756d95970f30c6df67bcfb7"}},{"ruleId":"D1","level":"warning","message":{"text":"Config.configHttpUrl (cyclomatic 17): Config.configHttpUrl has cyclomatic complexity 17 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Controller/Admin/Api/Config.php"},"region":{"startLine":409}}}],"partialFingerprints":{"codehealthFindingId/v1":"bae4a94675b7e621636a0db69d12dd64b2f183808a7d022432f611c6bd5301a8"}},{"ruleId":"D1","level":"warning","message":{"text":"Business.saveConfig (cyclomatic 17): Business.saveConfig has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Controller/User/Api/Business.php"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a7d983367e3691b45bcf8fc58db130ef52a51d335f34cc6e25b7c3efc34ad4a"}},{"ruleId":"D1","level":"warning","message":{"text":"Master.setCommodity (cyclomatic 17): Master.setCommodity has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Controller/User/Api/Master.php"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"feff750bbf480048162f03cdfb04fbe947ca273f90db1ef0b81ee77d6d17b49f"}},{"ruleId":"D1","level":"warning","message":{"text":"Currency.convertCommodityConfigs (cyclomatic 17): Currency.convertCommodityConfigs has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Service/Bind/Currency.php"},"region":{"startLine":370}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4f7bd52299cdc5de73dcce6e80af3228378ae937d08bc476bcc99a0b39e98cb"}},{"ruleId":"D1","level":"warning","message":{"text":"Recharge.trade (cyclomatic 17): Recharge.trade has cyclomatic complexity 17 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Service/Bind/Recharge.php"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"1034de75dae90ca81a8ca2a3ed0db3484f240251a5f15ab2b2957d4525747bac"}},{"ruleId":"D1","level":"warning","message":{"text":"Shop.getCategory (cyclomatic 17): Shop.getCategory has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Service/Bind/Shop.php"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6d3d89e43c01fed4951109a9590ca387e348e1487d2c3cdf56b0ee138fe2afa"}},{"ruleId":"D1","level":"warning","message":{"text":"Ticket.applyFilters (cyclomatic 17): Ticket.applyFilters has cyclomatic complexity 17 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Service/Bind/Ticket.php"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa0bae6def3bff5d703781e9af8520bf639fb252989ac657d2db1c943c9044dd"}},{"ruleId":"D1","level":"warning","message":{"text":"Ticket.delete (cyclomatic 17): Ticket.delete has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Service/Bind/Ticket.php"},"region":{"startLine":1149}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f0672cfa11fcfbcca41dd6ec14774014b7f69e8fd2b8b5bd8020b01e34e2d33"}},{"ruleId":"D1","level":"warning","message":{"text":"Client.headerIpCandidates (cyclomatic 17): Client.headerIpCandidates has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Util/Client.php"},"region":{"startLine":346}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdb824b23a51bce91b7ffff08328126cd66dc1ed7c9a5379d9f32d0245a02ff3"}},{"ruleId":"D1","level":"warning","message":{"text":"Csp.deriveSource (cyclomatic 17): Csp.deriveSource has cyclomatic complexity 17 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Util/Csp.php"},"region":{"startLine":417}}}],"partialFingerprints":{"codehealthFindingId/v1":"d33fc1dbac7a911a0db9bc97150009108484743d5886551b25ad2ba3ec3164ce"}},{"ruleId":"D1","level":"warning","message":{"text":"OrderRefund.run (cyclomatic 17): OrderRefund.run has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Util/OrderRefund.php"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"56ef404b4af80f905472de361740d5d60e58403ffc139e2834510e69a2406300"}},{"ruleId":"D1","level":"warning","message":{"text":"SkuStock.outages (cyclomatic 17): SkuStock.outages has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Util/SkuStock.php"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"2baf19784befd48afe02cdd29f7c5e3924334fb49c63911bbe258aa98b789559"}},{"ruleId":"D1","level":"warning","message":{"text":"Lang.collect (cyclomatic 17): Lang.collect has cyclomatic complexity 17 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kernel/Util/Lang.php"},"region":{"startLine":562}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a6112de9afb3cc5598872fff2a51e396b095e962fd292fbe9a9c072b894cb45"}},{"ruleId":"D1","level":"warning","message":{"text":"Lang.transObjectList (cyclomatic 17): Lang.transObjectList has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kernel/Util/Lang.php"},"region":{"startLine":1052}}}],"partialFingerprints":{"codehealthFindingId/v1":"1525fdd5a7b66dc21591b54bec83edd7a76114a4103370bb8fe610c07b87c943"}},{"ruleId":"D1","level":"warning","message":{"text":"Shadow.layer (cyclomatic 17): Shadow.layer has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kernel/Waf/Css/Shadow.php"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"5745a46726518c86f44fa0ec0d50d1d74d35afc3cf84339e9fece6841b0fc526"}},{"ruleId":"D1","level":"warning","message":{"text":"(anonymous) (cyclomatic 17): (anonymous) has cyclomatic complexity 17 (threshold 15). Most of this is not in the body itself: 2 of the 17 points are its own statements and the rest belongs to 9 function items inside it that branch (a function literal at line 90, a function literal at line 143, (anonymous)::submit, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/config/google2fa.js"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"c129ae294b17310c34f0a2eff4984e715713b9236302fc1c8920168e73c21e51"}},{"ruleId":"D1","level":"warning","message":{"text":"renderConfigForm (cyclomatic 17): renderConfigForm has cyclomatic complexity 17 (threshold 15). Of this number, 9 points are the body\u0027s own statements and 8 belong to 6 function items 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":"assets/admin/controller/pay/plugin.js"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d9cb24ad1e406013151a2b0c8f6f71b217df5ea8f2050b4a582d2a22aedfdc1"}},{"ruleId":"D1","level":"warning","message":{"text":"importItemRequest (cyclomatic 17): importItemRequest has cyclomatic complexity 17 (threshold 15). Most of this is not in the body itself: 1 of the 17 points is its own statement and the rest belongs to 3 function literals inside it that branch (lines 966, 950, 999). 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":"assets/admin/controller/shared/store.js"},"region":{"startLine":950}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bb83319507371217ad5e086482f293f0912f2f63c0e53405a7c62bd9d99f442"}},{"ruleId":"D1","level":"warning","message":{"text":"(anonymous).cardForm.submit (cyclomatic 17): (anonymous).cardForm.submit has cyclomatic complexity 17 (threshold 15). Most of this is not in the body itself: 8 of the 17 points are its own statements and the rest belongs to 4 function items inside it that branch (send::done, send, send::error, \u2026). Those helpers are already separate functions, so extracting the branching again is not available. To reduce it, move them out of the body to the enclosing scope, where each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/trade/card-file-upload.js"},"region":{"startLine":1164}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4ab952e7243dd22e664f55fb79b6a53955c18ed3bd65b72cdfc0a3b23823ec9"}},{"ruleId":"D1","level":"warning","message":{"text":"(anonymous).attach.treeHtml (cyclomatic 17): (anonymous).attach.treeHtml has cyclomatic complexity 17 (threshold 15). Of this number, 15 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. 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":"assets/admin/controller/trade/category-tree.js"},"region":{"startLine":389}}}],"partialFingerprints":{"codehealthFindingId/v1":"395aef57044bd0535bc0034f10b17539f460d42f7ec6c0f3928609aaa875d738"}},{"ruleId":"D1","level":"warning","message":{"text":"(anonymous).attach.endDrag (cyclomatic 17): (anonymous).attach.endDrag has cyclomatic complexity 17 (threshold 15). Of this number, 13 points are the body\u0027s own statements and 4 belong to 6 function items 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":"assets/admin/controller/trade/category-tree.js"},"region":{"startLine":985}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d128c30a0e7c0ca9a57dcddd8995c4deaf8820d5206ae1afdce3f84b900030d"}},{"ruleId":"D1","level":"warning","message":{"text":"(anonymous).attach.bindHost (cyclomatic 17): (anonymous).attach.bindHost has cyclomatic complexity 17 (threshold 15). Most of this is not in the body itself: 1 of the 17 points is its own statement and the rest belongs to 9 function literals inside it that branch (lines 1110, 1125, 1146, \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":"assets/admin/controller/trade/category-tree.js"},"region":{"startLine":1108}}}],"partialFingerprints":{"codehealthFindingId/v1":"86a7967478a4392c4ae1a2e61e361d7ad4641a6734ba9eb1db489f6c5ebffc0b"}},{"ruleId":"D1","level":"warning","message":{"text":"confirmCommodityDelete::done (cyclomatic 17): confirmCommodityDelete::done has cyclomatic complexity 17 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/trade/commodity.js"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"d319fa0819c6bb96d7b8775b8278e4e692e667d5cdd83010cbfb178c7c2f8c14"}},{"ruleId":"D1","level":"warning","message":{"text":"(anonymous).attach.groupBlocks (cyclomatic 17): (anonymous).attach.groupBlocks has cyclomatic complexity 17 (threshold 15). Most of this is not in the body itself: 5 of the 17 points are its own statements and the rest belongs to 5 function items inside it that branch (a function literal at line 241, a function literal at line 224, isDescendantOf, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/trade/drag-sort.js"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"05a35651aba5089dd80e3793f2eaa0fbb56c96eea9b81d5f469efa5a38f6480f"}},{"ruleId":"D1","level":"warning","message":{"text":"copyConfiguredField (cyclomatic 17): copyConfiguredField has cyclomatic complexity 17 (threshold 15). Of this number, 11 points are the body\u0027s own statements and 6 belong to 3 function items 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":"assets/admin/js/mobile/fallback.js"},"region":{"startLine":1020}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3a8c3b17e8fa716291e8e7ac53389fdc196a690d9776a3441ea52464f2be532"}},{"ruleId":"D1","level":"warning","message":{"text":"openSheet (cyclomatic 17): openSheet has cyclomatic complexity 17 (threshold 15). Of this number, 15 points are the body\u0027s own statements and 2 belong to 3 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":"assets/admin/js/mobile/overlay.js"},"region":{"startLine":829}}}],"partialFingerprints":{"codehealthFindingId/v1":"de05465487f38c4305192356c51664ace7fe5c7cde8f6282f89fe3dec6919a44"}},{"ruleId":"D1","level":"warning","message":{"text":"(anonymous)::(anonymous)::init::expandNode (cyclomatic 17): (anonymous)::(anonymous)::init::expandNode has cyclomatic complexity 17 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/common/js/component/tree.select.js"},"region":{"startLine":1804}}}],"partialFingerprints":{"codehealthFindingId/v1":"4afc283ac688c5991103e9e74f78bc81702b98e2b0b30d7dcd8ccc98b2c49a50"}},{"ruleId":"D1","level":"warning","message":{"text":"(anonymous)::(anonymous)::_eventProxy (cyclomatic 17): (anonymous)::(anonymous)::_eventProxy has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/common/js/component/tree.select.js"},"region":{"startLine":2081}}}],"partialFingerprints":{"codehealthFindingId/v1":"04ee1a772acb140447c508c1b2a1e1a7cdc27c4a0134885c5f62b29bc413056e"}},{"ruleId":"D1","level":"warning","message":{"text":"register.sizeImages (cyclomatic 17): register.sizeImages has cyclomatic complexity 17 (threshold 15). Most of this is not in the body itself: 1 of the 17 points is its own statement and the rest belongs to 7 function items inside it that branch (a function literal at line 747, (anonymous)::get, a function literal at line 751, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/common/js/editor/markdown/editorv2.js"},"region":{"startLine":745}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fd34265c0cb15b713a1cfb4a8d9d14b8884cba6f0cd94c08b7f7c1717ef9b9a"}},{"ruleId":"D1","level":"warning","message":{"text":"(anonymous).indent (cyclomatic 17): (anonymous).indent has cyclomatic complexity 17 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/static/codemirror/mode/css/css.js"},"region":{"startLine":391}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd98981e80e89444c4343b7cc84c731371823de1437f373fbf90fb7a8a3da31a"}},{"ruleId":"D1","level":"warning","message":{"text":"Install.html.testDb (cyclomatic 16): Install.html.testDb has cyclomatic complexity 16 (threshold 15). Most of this is not in the body itself: 5 of the 16 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 1160, 1167). 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. This is NOT this file\u0027s highest cyclomatic complexity: Install.html.renderEnv (cyclomatic 19) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/View/Install.html"},"region":{"startLine":1149}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d9b000f72a4eade5ce5e64f1f31421cbd25563532a0f07c383d0bc82865627c"}},{"ruleId":"D1","level":"warning","message":{"text":"fallback.sanitizeTree (cyclomatic 16): fallback.sanitizeTree has cyclomatic complexity 16 (threshold 15). Most of this is not in the body itself: 4 of the 16 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 234, 233). 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. This is NOT this file\u0027s highest cyclomatic complexity: fallback.alignReferenceCards (cyclomatic 19) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/js/mobile/fallback.js"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e67bb8ab24190bdee5eee05d0754723b0c83112edbeb98a6f6eb97211c8a1e7"}},{"ruleId":"D1","level":"warning","message":{"text":"fallback.inlineInputEditor (cyclomatic 16): fallback.inlineInputEditor has cyclomatic complexity 16 (threshold 15). Of this number, 12 points are the body\u0027s own statements and 4 belong to 3 function items 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. This is NOT this file\u0027s highest cyclomatic complexity: fallback.alignReferenceCards (cyclomatic 19) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/js/mobile/fallback.js"},"region":{"startLine":1196}}}],"partialFingerprints":{"codehealthFindingId/v1":"8be2cdc52c13f798ca512f9ae5aca01fb1fbed3e8ca3afc9937d505cb5426d48"}},{"ruleId":"D1","level":"warning","message":{"text":"navigation.handleClick (cyclomatic 16): navigation.handleClick has cyclomatic complexity 16 (threshold 15). Of this number, 14 points are the body\u0027s own statements and 2 belong to one function item inside it that branches. 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":"assets/admin/js/mobile/navigation.js"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"5369984bc432d954c0e95918e083a27f600c2d29f17ee4eec4105d7a0ff102d9"}},{"ruleId":"D1","level":"warning","message":{"text":"overlay.finalize (cyclomatic 16): overlay.finalize has cyclomatic complexity 16 (threshold 15). Of this number, 12 points are the body\u0027s own statements and 4 belong to 2 function items 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":"assets/admin/js/mobile/overlay.js"},"region":{"startLine":360}}}],"partialFingerprints":{"codehealthFindingId/v1":"17fc61fee6905178ae1798cb72bb89c19df3ee65445c9c6d0578bfdc1996b9d0"}},{"ruleId":"D1","level":"warning","message":{"text":"overlay.firstInvalidField (cyclomatic 16): overlay.firstInvalidField has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/js/mobile/overlay.js"},"region":{"startLine":1041}}}],"partialFingerprints":{"codehealthFindingId/v1":"58b5db70a2a4567c7a71f8835459f97929af70578537f377bfdd444fb0ee273f"}},{"ruleId":"D1","level":"warning","message":{"text":"overlay.handleKey (cyclomatic 16): overlay.handleKey has cyclomatic complexity 16 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/js/mobile/overlay.js"},"region":{"startLine":1307}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f130a8a46d639e5306c43b6e115f2800d8f22d80785fd8e668af5d32e06dd75"}},{"ruleId":"D1","level":"warning","message":{"text":"workflows.cloneLabel (cyclomatic 16): workflows.cloneLabel has cyclomatic complexity 16 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/js/mobile/workflows.js"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"52048d1564047486d58154fb42f0d8ff4aa95b9df40cf7e4a0a85f752adae279"}},{"ruleId":"D1","level":"warning","message":{"text":"workflows.addPageFormGuard (cyclomatic 16): workflows.addPageFormGuard has cyclomatic complexity 16 (threshold 15). Most of this is not in the body itself: 3 of the 16 points are its own statements and the rest belongs to 4 function items inside it that branch (mark, clearInvalid, click, \u2026). Those helpers are already separate functions, so extracting the branching again is not available. To reduce it, move them out of the body to the enclosing scope, where each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/js/mobile/workflows.js"},"region":{"startLine":503}}}],"partialFingerprints":{"codehealthFindingId/v1":"58805a7c4d278d03e828c11eb6106494f198cd106135a031e0a458d2e0081435"}},{"ruleId":"D1","level":"warning","message":{"text":"codemirror.updateLineGutter (cyclomatic 16): codemirror.updateLineGutter has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/static/codemirror/lib/codemirror.js"},"region":{"startLine":2177}}}],"partialFingerprints":{"codehealthFindingId/v1":"f983f1cf67fd1c9ce9c7cf0334496ffbe5afd80585d46c20d48b94ff67979ca1"}},{"ruleId":"D1","level":"warning","message":{"text":"codemirror.patchDisplay (cyclomatic 16): codemirror.patchDisplay has cyclomatic complexity 16 (threshold 15). Of this number, 13 points are the body\u0027s own statements and 3 belong to one function item inside it that branches. 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":"assets/static/codemirror/lib/codemirror.js"},"region":{"startLine":4225}}}],"partialFingerprints":{"codehealthFindingId/v1":"f93b16cee7ae987d54643b56cc2c21599e577e305b539e4131eaeaa44e1751b1"}},{"ruleId":"D1","level":"warning","message":{"text":"codemirror.addChangeToHistory (cyclomatic 16): codemirror.addChangeToHistory has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/static/codemirror/lib/codemirror.js"},"region":{"startLine":4896}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4652333ec5253e4b59e8b5400a38d533c20cb8b7366b08fa90c9359e68ced75"}},{"ruleId":"D1","level":"warning","message":{"text":"codemirror.makeChangeSingleDocInEditor (cyclomatic 16): codemirror.makeChangeSingleDocInEditor has cyclomatic complexity 16 (threshold 15). Of this number, 14 points are the body\u0027s own statements and 2 belong to 2 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":"assets/static/codemirror/lib/codemirror.js"},"region":{"startLine":5469}}}],"partialFingerprints":{"codehealthFindingId/v1":"015d6d8e8a5600059e102034f798ea4650c048e951f7e6b8b3986e85563a0a28"}},{"ruleId":"D1","level":"warning","message":{"text":"foldcode.doFold (cyclomatic 16): foldcode.doFold has cyclomatic complexity 16 (threshold 15). Of this number, 10 points are the body\u0027s own statements and 6 belong to one function item inside it that branches. 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":"assets/static/codemirror/addon/fold/foldcode.js"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"19e5280cb7b203813c2b0d8589753d8cd6770a2413ce3382955c5d7d66bb3438"}},{"ruleId":"D1","level":"warning","message":{"text":"foldgutter.updateFoldInfo (cyclomatic 16): foldgutter.updateFoldInfo has cyclomatic complexity 16 (threshold 15). Most of this is not in the body itself: 3 of the 16 points are its own statements and the rest belongs to one function literal inside it that branches (line 80). The decisions are inside the literal, 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 literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/static/codemirror/addon/fold/foldgutter.js"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"daf658cc185302ffea727b0e67c1548cebee164d774e5dce1e8c8a125333a1b9"}},{"ruleId":"D1","level":"warning","message":{"text":"xml.CodeMirror.defineMode(\u0022xml\u0022).inText (cyclomatic 16): xml.CodeMirror.defineMode(\u0022xml\u0022).inText has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/static/codemirror/mode/xml/xml.js"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"9820cccf7308257cb8f77cfee9e20fc185b730f232abc870c6ac4e635d49e5bf"}},{"ruleId":"D1","level":"warning","message":{"text":"Treasure.show (cyclomatic 16): Treasure.show has cyclomatic complexity 16 (threshold 15). Of this number, 13 points are the body\u0027s own statements and 3 belong to 3 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":"assets/user/js/treasure.js"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"00023d4a19d0cf0edfd4cf0f08b9987f1a5706a2a1b29959a404552cb774c7a1"}},{"ruleId":"D1","level":"warning","message":{"text":"App.plugins (cyclomatic 16): App.plugins has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Controller/Admin/Api/App.php"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8c0b657c4e80caa6766e1209eea5009bdb427f193af1f13ced3f2e043651b7d"}},{"ruleId":"D1","level":"warning","message":{"text":"Commodity.reorder (cyclomatic 16): Commodity.reorder has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Controller/Admin/Api/Commodity.php"},"region":{"startLine":726}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e68459c76eed84287029c7198b54752fdb870052b8c893e089b2474556806d2"}},{"ruleId":"D1","level":"warning","message":{"text":"Plugin.wikiRes (cyclomatic 16): Plugin.wikiRes has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Controller/Admin/Plugin.php"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ffc656de735b26a23d119c3082ceb1660a10451633020f85df1385b082cb88a"}},{"ruleId":"D1","level":"warning","message":{"text":"Authentication.password (cyclomatic 16): Authentication.password has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Controller/User/Api/Authentication.php"},"region":{"startLine":582}}}],"partialFingerprints":{"codehealthFindingId/v1":"586745c5ecf42e0a62c1d182db0b795cabc76939fe184561c6c03bba452eb342"}},{"ruleId":"D1","level":"warning","message":{"text":"Currency.convertIniMoney (cyclomatic 16): Currency.convertIniMoney has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Service/Bind/Currency.php"},"region":{"startLine":430}}}],"partialFingerprints":{"codehealthFindingId/v1":"0710bdf39d27ec1dde265d1966cf6568509ce84c18fcc1af6349c97d950e20b4"}},{"ruleId":"D1","level":"warning","message":{"text":"Message.sendEmailBatch (cyclomatic 16): Message.sendEmailBatch has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Service/Bind/Message.php"},"region":{"startLine":373}}}],"partialFingerprints":{"codehealthFindingId/v1":"216c95e7f0ae142b253600a2e060f305a835899bf09da633d53b0cb43296e103"}},{"ruleId":"D1","level":"warning","message":{"text":"Ticket.visibleCommodityQuery (cyclomatic 16): Ticket.visibleCommodityQuery has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Service/Bind/Ticket.php"},"region":{"startLine":553}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b0680424c9fbb09e3b9d63872f00c7419a8f1303f8a2a13a66c534c790fbaa8"}},{"ruleId":"D1","level":"warning","message":{"text":"Helper.isInstall (cyclomatic 16): Helper.isInstall has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Util/Helper.php"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"04e68b769cac0071eb912afeec4115432856b56811dc556a100ffb24a0cee254"}},{"ruleId":"D1","level":"warning","message":{"text":"Plugin.hook (cyclomatic 16): Plugin.hook has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kernel/Util/Plugin.php"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"23c274706089948a5e2149a0d6aa1e49e0b05a1f6ac5338a538137bf5af02b2c"}},{"ruleId":"D1","level":"warning","message":{"text":"(anonymous).mount::paint (cyclomatic 16): (anonymous).mount::paint has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/trade/card-file-upload.js"},"region":{"startLine":799}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c23a93000406c3a18137dcfcf6e3bac5065d7b6d27ae784c5c58c004ea5d45a"}},{"ruleId":"D1","level":"warning","message":{"text":"(anonymous).openEditor (cyclomatic 16): (anonymous).openEditor has cyclomatic complexity 16 (threshold 15). Most of this is not in the body itself: 4 of the 16 points are its own statements and the rest belongs to 6 function items inside it that branch (a function literal at line 159, done, complete, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/trade/category-actions.js"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc1ec551b1f3e07aba6dc7c4171aab5870596203bbb3a9972125515e0903695b"}},{"ruleId":"D1","level":"warning","message":{"text":"openSkuStock (cyclomatic 16): openSkuStock has cyclomatic complexity 16 (threshold 15). Most of this is not in the body itself: 1 of the 16 points is its own statement and the rest belongs to 4 function items inside it that branch (a function literal at line 1480, a function literal at line 1471, (anonymous)::esc, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/trade/commodity.js"},"region":{"startLine":1470}}}],"partialFingerprints":{"codehealthFindingId/v1":"5874583764773f2230a8fcf5542e1b48d1976606ea5ced95979ee99d5036c289"}},{"ruleId":"D1","level":"warning","message":{"text":"registerUserPicker (cyclomatic 16): registerUserPicker has cyclomatic complexity 16 (threshold 15). Most of this is not in the body itself: 2 of the 16 points are its own statements and the rest belongs to 5 function items inside it that branch (remoteMethod::error, remoteMethod::done, remoteMethod::fail, \u2026). Those helpers are already separate functions, so extracting the branching again is not available. To reduce it, move them out of the body to the enclosing scope, where each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/user/message.js"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"582b04492b7c210be80898920560a7799e9a1b228a8fa314adc59b13ca51c08f"}},{"ruleId":"D1","level":"warning","message":{"text":"(anonymous)::(anonymous)::appendNodes (cyclomatic 16): (anonymous)::(anonymous)::appendNodes has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/common/js/component/tree.select.js"},"region":{"startLine":977}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e695c988b4b654de6251029e0739eafbaaa888154735565f1f3de546802a43d"}},{"ruleId":"D1","level":"warning","message":{"text":"(anonymous)::(anonymous)::setParentNodeCheckBox (cyclomatic 16): (anonymous)::(anonymous)::setParentNodeCheckBox has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/common/js/component/tree.select.js"},"region":{"startLine":2512}}}],"partialFingerprints":{"codehealthFindingId/v1":"58483c7f3810936db89fb9aa3db9bf521c89e867c02a43c578c53df95c317b09"}},{"ruleId":"D1","level":"warning","message":{"text":"(anonymous).inText (cyclomatic 16): (anonymous).inText has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/static/codemirror/mode/xml/xml.js"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"e053010eb79d4339987c8c71c662b8d97a04a263e3b6374cfd0c17ebaacf499f"}},{"ruleId":"D2","level":"warning","message":{"text":"tree.select.layui.define() (cognitive 1209): tree.select.layui.define() has cognitive complexity 1209 (threshold 15). Drivers by points: if/else 465 (709 pts), boolean chains 252, ternaries 58 (124 pts), loops 67 (114 pts), match/switch 6 (9 pts), error handling 1 (nesting depth added 360). Most of this is not in the body itself: 3 of the 1209 points are its own statements and the rest belongs to 199 function literals inside it that branch (lines 2968, 3551, 2369, \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":"assets/common/js/component/tree.select.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ff020f18adcb0e23e3638841b5e8d29d3a65b1ec31ce338582df56d7214bc0e"}},{"ruleId":"D2","level":"warning","message":{"text":"commodity (cognitive 297): commodity has cognitive complexity 297 (threshold 15). Drivers by points: if/else 72 (187 pts), loops 10 (54 pts), ternaries 7 (38 pts), boolean chains 18 (nesting depth added 190). None of this is in the body itself: all 297 points belong to 14 function items inside it that branch (a function literal at line 658, a function literal at line 908, (anonymous)::categoryWholesale, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/static/acg.js"},"region":{"startLine":652}}}],"partialFingerprints":{"codehealthFindingId/v1":"4baf96f67d54e03a4165491e57f350b5d387fc9f66e949c92490975df0e3042b"}},{"ruleId":"D2","level":"warning","message":{"text":"hex.layui.define() (cognitive 235): hex.layui.define() has cognitive complexity 235 (threshold 15). Drivers by points: if/else 84 (142 pts), boolean chains 55, ternaries 14 (25 pts), loops 3 (5 pts), match/switch 5, error handling 1 (3 pts) (nesting depth added 73). Of this number, 33 points are the body\u0027s own statements and 202 belong to 32 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":"assets/static/modules/hex.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2768400b6f03e36ce761eeda93def4d1273f8b44d22b9f344d9777b961236d16"}},{"ruleId":"D2","level":"warning","message":{"text":"(anonymous)::(anonymous)::onMousedownNode::_docMouseMove (cognitive 229): (anonymous)::(anonymous)::onMousedownNode::_docMouseMove has cognitive complexity 229 (threshold 15). Drivers by points: if/else 46 (118 pts), boolean chains 54, ternaries 11 (42 pts), loops 6 (15 pts) (nesting depth added 112). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/common/js/component/tree.select.js"},"region":{"startLine":2968}}}],"partialFingerprints":{"codehealthFindingId/v1":"4880b6a7fb8a0b5e4e6deeb04ae9bf2a21bb948ac2d4a4315af39458e69d8248"}},{"ruleId":"D2","level":"warning","message":{"text":"Order.trade (cognitive 186): Order.trade has cognitive complexity 186 (threshold 15). Drivers by points: if/else 84 (135 pts), boolean chains 31, ternaries 7 (12 pts), loops 2 (4 pts), match/switch 1 (4 pts) (nesting depth added 61). 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/Service/Bind/Order.php"},"region":{"startLine":644}}}],"partialFingerprints":{"codehealthFindingId/v1":"f04ef5af761490312ff7f41421bfecc20aeaefe608f6c36497c1f782a13c5350"}},{"ruleId":"D2","level":"warning","message":{"text":"render (cognitive 177): render has cognitive complexity 177 (threshold 15). Drivers by points: boolean chains 90, if/else 48 (59 pts), ternaries 20 (24 pts), error handling 1 (2 pts), loops 1 (2 pts) (nesting depth added 17). Of this number, 50 points are the body\u0027s own statements and 127 belong to 31 function items inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/js/mobile/fallback.js"},"region":{"startLine":2784}}}],"partialFingerprints":{"codehealthFindingId/v1":"4dcc01801fb01bec92b601734da4e5ec6a3b3939960146e5938ff4d8e0bc480c"}},{"ruleId":"D2","level":"warning","message":{"text":"insertLineContent (cognitive 147): insertLineContent has cognitive complexity 147 (threshold 15). Drivers by points: if/else 23 (84 pts), ternaries 5 (25 pts), loops 7 (22 pts), boolean chains 16 (nesting depth added 96). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/static/codemirror/lib/codemirror.js"},"region":{"startLine":1921}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac197628f8f3f8a8bbb93d35a5bff257f7b355873612ea43bbcf8e5345a8b207"}},{"ruleId":"D2","level":"warning","message":{"text":"KTMenu (cognitive 142): KTMenu has cognitive complexity 142 (threshold 15). Drivers by points: if/else 90 (106 pts), boolean chains 19, loops 7 (11 pts), ternaries 6 (nesting depth added 20). Most of this is not in the body itself: 2 of the 142 points are its own statements and the rest belongs to 67 function items inside it that branch (_dismiss, _isItemSubShown, _showDropdown, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/js/menu.js"},"region":{"startLine":1526}}}],"partialFingerprints":{"codehealthFindingId/v1":"536ed652155c6bb89f52bfe92a6387a6a224d474fa71e2b4a054f2ac8cec5eae"}},{"ruleId":"D2","level":"warning","message":{"text":"popup (cognitive 132): popup has cognitive complexity 132 (threshold 15). Drivers by points: if/else 44 (65 pts), boolean chains 20, ternaries 13 (17 pts), error handling 6 (11 pts), loops 3 (10 pts), other 9 (nesting depth added 37). Of this number, 47 points are the body\u0027s own statements and 85 belong to 19 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/common/js/component.js"},"region":{"startLine":339}}}],"partialFingerprints":{"codehealthFindingId/v1":"726ee4c7ba04e1b0eede5ff0a8d10f2e056e4b6a2a54f0e78c5a12a461e711c9"}},{"ruleId":"D2","level":"warning","message":{"text":"(anonymous) (cognitive 124): (anonymous) has cognitive complexity 124 (threshold 15). Drivers by points: if/else 29 (49 pts), loops 16 (34 pts), boolean chains 21, ternaries 8 (20 pts) (nesting depth added 50). None of this is in the body itself: all 124 points belong to 3 function items inside it that branch (a function literal at line 393, charType, BidiSpan). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/static/codemirror/lib/codemirror.js"},"region":{"startLine":370}}}],"partialFingerprints":{"codehealthFindingId/v1":"faa1f3e2f56d680a2177079189fb963029a659485f56639203a9d70ad4745fb9"}},{"ruleId":"D2","level":"warning","message":{"text":"#getPreprocessColumn (cognitive 121): #getPreprocessColumn has cognitive complexity 121 (threshold 15). Drivers by points: if/else 31 (77 pts), ternaries 10 (20 pts), boolean chains 17, other 6, match/switch 1 (nesting depth added 56). Most of this is not in the body itself: 12 of the 121 points are its own statements and the rest belongs to 17 function items inside it that branch (formatter, a function literal at line 1451, formatter, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/common/js/component/table.js"},"region":{"startLine":1382}}}],"partialFingerprints":{"codehealthFindingId/v1":"1be142f41366d829e27337c767df477d9c7b504798cea04113fc30c0a717b06b"}},{"ruleId":"D2","level":"warning","message":{"text":"authtree.layui.define() (cognitive 113): authtree.layui.define() has cognitive complexity 113 (threshold 15). Drivers by points: if/else 50 (70 pts), boolean chains 18, ternaries 14, loops 11 (nesting depth added 20). None of this is in the body itself: all 113 points belong to 30 function literals inside it that branch (lines 45, 409, 346, \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":"assets/common/js/component/authtree.js"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"30416037c55eb07609dd1356752514c3044e248baa0bee03700e8ac8a9ff5f82"}},{"ruleId":"D2","level":"warning","message":{"text":"skipAtomicInner (cognitive 105): skipAtomicInner has cognitive complexity 105 (threshold 15). Drivers by points: ternaries 12 (55 pts), if/else 11 (42 pts), boolean chains 6, loops 1 (2 pts) (nesting depth added 75). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/static/codemirror/lib/codemirror.js"},"region":{"startLine":5202}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c0fdb1b5429fb14da52b4e62e98b063fa6573142c7bcb81ed81a2b46f14614e"}},{"ruleId":"D2","level":"warning","message":{"text":"authtree.layui.define() (cognitive 104): authtree.layui.define() has cognitive complexity 104 (threshold 15). Drivers by points: if/else 46 (65 pts), boolean chains 15, ternaries 13, loops 11 (nesting depth added 19). None of this is in the body itself: all 104 points belong to 26 function literals inside it that branch (lines 45, 407, 344, \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":"assets/static/modules/authtree.js"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"891aff97a98aa2a2991118e5f3c0e3211f0235f23255780fcfefaa3a38c54731"}},{"ruleId":"D2","level":"warning","message":{"text":"CommodityGroupModal (cognitive 103): CommodityGroupModal has cognitive complexity 103 (threshold 15). Drivers by points: if/else 23 (54 pts), ternaries 7 (21 pts), boolean chains 20, loops 2 (6 pts), other 2 (nesting depth added 49). None of this is in the body itself: all 103 points belong to 22 function items inside it that branch (complete, a function literal at line 264, a function literal at line 334, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/user/group.js"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"40ef8f5dd4dffb8b356a937d157b2c4d9904e3db64329f282132ee1e848a3728"}},{"ruleId":"D2","level":"warning","message":{"text":"Order.valuation (cognitive 90): Order.valuation has cognitive complexity 90 (threshold 15). Drivers by points: if/else 27 (52 pts), ternaries 7 (17 pts), loops 4 (11 pts), boolean chains 10 (nesting depth added 42). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Service/Bind/Order.php"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"839572d0a1604fcc3e35a77f74c212d74c6d0600060266ffffae86ad765f8d8e"}},{"ruleId":"D2","level":"warning","message":{"text":"register (cognitive 88): register has cognitive complexity 88 (threshold 15). Drivers by points: if/else 33 (41 pts), boolean chains 25, ternaries 13 (17 pts), error handling 3, other 2 (nesting depth added 12). Of this number, 31 points are the body\u0027s own statements and 57 belong to 41 function items 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":"assets/common/js/editor/markdown/editorv2.js"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"2114aa9b7c6b3516e8947a0a4296d1fd440bbee59d0ef0e405fa248c91d8c649"}},{"ruleId":"D2","level":"warning","message":{"text":"Commodity.save (cognitive 85): Commodity.save has cognitive complexity 85 (threshold 15). Drivers by points: if/else 33 (45 pts), boolean chains 30, ternaries 7 (8 pts), loops 2 (nesting depth added 13). 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Controller/User/Api/Commodity.php"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"a842d750fddb388c3b115d24ceb9868588186072fa03cd65033fdbb0e8690a05"}},{"ruleId":"D2","level":"warning","message":{"text":"drawSelectionRange (cognitive 81): drawSelectionRange has cognitive complexity 81 (threshold 15). Drivers by points: ternaries 23 (47 pts), if/else 16 (22 pts), boolean chains 12 (nesting depth added 30). Most of this is not in the body itself: 14 of the 81 points are its own statements and the rest belongs to 5 function items inside it that branch (a function literal at line 3232, drawForLine::wrapX, add, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/static/codemirror/lib/codemirror.js"},"region":{"startLine":3202}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee98d3c71cad107d40579a5106c197f34acbc0019bad474d0ed263c5fab882ce"}},{"ruleId":"D2","level":"warning","message":{"text":"Pay.paymentSaveMap (cognitive 80): Pay.paymentSaveMap has cognitive complexity 80 (threshold 15). Drivers by points: if/else 32 (49 pts), boolean chains 19, ternaries 3 (7 pts), loops 4 (5 pts) (nesting depth added 22). 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/Controller/Admin/Api/Pay.php"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"82e6178858fd95c2edae298f2d9d5785e517b4b8ece0a6a0f81fcb646be8880b"}},{"ruleId":"D2","level":"warning","message":{"text":"_ThemeSetting (cognitive 80): _ThemeSetting has cognitive complexity 80 (threshold 15). Drivers by points: if/else 41 (46 pts), boolean chains 24, other 4, ternaries 4, error handling 1 (2 pts) (nesting depth added 6). Most of this is not in the body itself: 2 of the 80 points are its own statements and the rest belongs to 34 function items inside it that branch (modal, runThemeAct, a function literal at line 266, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/config/index.js"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5e9990e3be5c0d8e40b74e2f61448e85174a47b7c3645932c75f2a2ea85643b"}},{"ruleId":"D2","level":"warning","message":{"text":"Commodity.save (cognitive 78): Commodity.save has cognitive complexity 78 (threshold 15). Drivers by points: if/else 35 (52 pts), boolean chains 18, ternaries 5 (6 pts), loops 2 (nesting depth added 18). 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/Controller/Admin/Api/Commodity.php"},"region":{"startLine":405}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0e3f6e8c8734156121c942df468f1faa52909a5f4e89ed5f399b8f9d7a5101d"}},{"ruleId":"D2","level":"warning","message":{"text":"mountRemoteProductPicker (cognitive 78): mountRemoteProductPicker has cognitive complexity 78 (threshold 15). Drivers by points: if/else 32 (34 pts), ternaries 20 (27 pts), boolean chains 16, loops 1 (nesting depth added 9). Most of this is not in the body itself: 2 of the 78 points are its own statements and the rest belongs to 36 function items inside it that branch (updateSelection, updateExpandButton, onClick, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/shared/store.js"},"region":{"startLine":350}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd857cac3859774bfa2354fe46d8c4431957aa48332580ff599740f7bae2d6ba"}},{"ruleId":"D2","level":"warning","message":{"text":"(anonymous).mount::upload (cognitive 75): (anonymous).mount::upload has cognitive complexity 75 (threshold 15). Drivers by points: if/else 18 (37 pts), boolean chains 17, ternaries 6 (12 pts), error handling 3 (6 pts), loops 2 (3 pts) (nesting depth added 29). 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":"assets/admin/controller/trade/card-file-upload.js"},"region":{"startLine":603}}}],"partialFingerprints":{"codehealthFindingId/v1":"484db45266f434dca1a09d7877cd93f53f089cee0f3fbab979ee6e4e55067352"}},{"ruleId":"D2","level":"warning","message":{"text":"(anonymous)::(anonymous)::moveNode (cognitive 75): (anonymous)::(anonymous)::moveNode has cognitive complexity 75 (threshold 15). Drivers by points: if/else 41 (55 pts), boolean chains 14, loops 2 (4 pts), ternaries 2 (nesting depth added 16). 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":"assets/common/js/component/tree.select.js"},"region":{"startLine":3551}}}],"partialFingerprints":{"codehealthFindingId/v1":"4246890e507bc209c0f4650f7507983b275d6f4a1d414ee8eac74dd7fb51788c"}},{"ruleId":"D2","level":"warning","message":{"text":"Store.addItem (cognitive 72): Store.addItem has cognitive complexity 72 (threshold 15). Drivers by points: if/else 24 (42 pts), ternaries 7 (13 pts), boolean chains 11, error handling 1 (2 pts), loops 2, match/switch 1 (2 pts) (nesting depth added 26). 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/Controller/Admin/Api/Store.php"},"region":{"startLine":1086}}}],"partialFingerprints":{"codehealthFindingId/v1":"e121000bcd174d978b83fff08d6907dd0c1d5c9c7eb4cb5f39e7b9a050eb3ddc"}},{"ruleId":"D2","level":"warning","message":{"text":"coupon.createCoupon (cognitive 71): coupon.createCoupon has cognitive complexity 71 (threshold 15). Drivers by points: if/else 19 (34 pts), boolean chains 16, ternaries 5 (11 pts), loops 3 (10 pts) (nesting depth added 28). Most of this is not in the body itself: 3 of the 71 points are its own statements and the rest belongs to 9 function literals inside it that branch (lines 209, 314, 250, \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":"assets/admin/controller/trade/coupon.js"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d9d01c3afc7769cda39e3e25597e14561d5dafcf92718336dc94e88ec66f656"}},{"ruleId":"D2","level":"warning","message":{"text":"Email.sendRecipients (cognitive 70): Email.sendRecipients has cognitive complexity 70 (threshold 15). Drivers by points: if/else 10 (33 pts), ternaries 4 (14 pts), loops 5 (11 pts), error handling 3 (9 pts), boolean chains 3 (nesting depth added 45). 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/Service/Bind/Email.php"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"b663d01704ac4aaeed215e5ee96ed58655a898e9734eba72e53508a3a8dbe3f3"}},{"ruleId":"D2","level":"warning","message":{"text":"done (cognitive 68): done has cognitive complexity 68 (threshold 15). Drivers by points: if/else 32 (36 pts), boolean chains 26, ternaries 4 (6 pts) (nesting depth added 6). Most of this is not in the body itself: 10 of the 68 points are its own statements and the rest belongs to 52 function items inside it that branch (a function literal at line 1399, done, formatter, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/store/home.js"},"region":{"startLine":1261}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bc3145eee95a4083ce258c0b97457ebdfb50cfbc7eb2a3d744b75b17dc66bf3"}},{"ruleId":"D2","level":"warning","message":{"text":"Manage.save (cognitive 67): Manage.save has cognitive complexity 67 (threshold 15). Drivers by points: boolean chains 31, if/else 23 (28 pts), ternaries 5 (6 pts), error handling 2 (nesting depth added 6). 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Controller/Admin/Api/Manage.php"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd4a3f70fde4ff9e7333294be35002f94adf11815d617442701c17bc5ba41b8c"}},{"ruleId":"D2","level":"warning","message":{"text":"BusinessLevel.validatedSaveMap (cognitive 64): BusinessLevel.validatedSaveMap has cognitive complexity 64 (threshold 15). Drivers by points: if/else 20 (34 pts), boolean chains 24, loops 3 (4 pts), ternaries 1 (2 pts) (nesting depth added 16). 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/Controller/Admin/Api/BusinessLevel.php"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb4e4e8da68dd2716b4521ce2d2575ff4c74967102758ff8275d8f1f596c6874"}},{"ruleId":"D2","level":"warning","message":{"text":"#createOptions (cognitive 64): #createOptions has cognitive complexity 64 (threshold 15). Drivers by points: if/else 21 (37 pts), boolean chains 12, loops 4 (9 pts), ternaries 3 (5 pts), other 1 (nesting depth added 23). Most of this is not in the body itself: 1 of the 64 points is its own statement and the rest belongs to 20 function items inside it that branch (queryParams, a function literal at line 1724, a function literal at line 1689, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/common/js/component/table.js"},"region":{"startLine":1587}}}],"partialFingerprints":{"codehealthFindingId/v1":"50d61b8ad302ba3c45e94515d9915b5044ca7baea1194ff00b13e19b3f8f67aa"}},{"ruleId":"D2","level":"warning","message":{"text":"stretchSpansOverChange (cognitive 64): stretchSpansOverChange has cognitive complexity 64 (threshold 15). Drivers by points: if/else 18 (41 pts), loops 4 (9 pts), boolean chains 8, ternaries 2 (6 pts) (nesting depth added 32). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/static/codemirror/lib/codemirror.js"},"region":{"startLine":1372}}}],"partialFingerprints":{"codehealthFindingId/v1":"f47f2d22a1cfa8103409a39854caa5429cfa0dd8e6a2501bacc34292980f55a8"}},{"ruleId":"D2","level":"warning","message":{"text":"User.save (cognitive 63): User.save has cognitive complexity 63 (threshold 15). Drivers by points: if/else 29 (39 pts), boolean chains 20, loops 2, ternaries 1 (2 pts) (nesting depth added 11). 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/Controller/Admin/Api/User.php"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"4274bf9acec8ca23d61e41309adb6858a3758a72360b862f58c477dae2ea9f25"}},{"ruleId":"D2","level":"warning","message":{"text":"renderToolbar (cognitive 62): renderToolbar has cognitive complexity 62 (threshold 15). Drivers by points: boolean chains 29, ternaries 12 (17 pts), if/else 15 (16 pts) (nesting depth added 6). Of this number, 31 points are the body\u0027s own statements and 31 belong to 14 function items 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":"assets/admin/js/mobile/fallback.js"},"region":{"startLine":2193}}}],"partialFingerprints":{"codehealthFindingId/v1":"67cb9940c00d59256cc360aac31d6bf72652a2452d96396731d4d952080b6554"}},{"ruleId":"D2","level":"warning","message":{"text":"(anonymous)::(anonymous)::checkNodeRelation (cognitive 60): (anonymous)::(anonymous)::checkNodeRelation has cognitive complexity 60 (threshold 15). Drivers by points: if/else 14 (37 pts), loops 3 (11 pts), boolean chains 8, ternaries 1 (4 pts) (nesting depth added 34). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/common/js/component/tree.select.js"},"region":{"startLine":2369}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb810108ec0c244f9c7b853225a410f25af2f34ee88e7c552f1bd6e0efa3e6d3"}},{"ruleId":"D2","level":"warning","message":{"text":"javascript.CodeMirror.defineMode(\u0022javascript\u0022).tokenBase (cognitive 57): javascript.CodeMirror.defineMode(\u0022javascript\u0022).tokenBase has cognitive complexity 57 (threshold 15). Drivers by points: if/else 27 (43 pts), boolean chains 14 (nesting depth added 16). 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":"assets/static/codemirror/mode/javascript/javascript.js"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"32ee027170550cb665e8b0cfab150cce525bdc0580b0a498073325822236301e"}},{"ruleId":"D2","level":"warning","message":{"text":"Category.save (cognitive 57): Category.save has cognitive complexity 57 (threshold 15). Drivers by points: if/else 20 (34 pts), boolean chains 11, ternaries 6 (9 pts), loops 2 (3 pts) (nesting depth added 18). 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/Controller/Admin/Api/Category.php"},"region":{"startLine":431}}}],"partialFingerprints":{"codehealthFindingId/v1":"a20e3a4c02d7c5638af98ecddefc7f69dbff7aa98cfe5ce36d9ccc090a3801f1"}},{"ruleId":"D2","level":"warning","message":{"text":"buildToken (cognitive 57): buildToken has cognitive complexity 57 (threshold 15). Drivers by points: if/else 18 (37 pts), ternaries 3 (8 pts), boolean chains 7, loops 2 (5 pts) (nesting depth added 27). 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":"assets/static/codemirror/lib/codemirror.js"},"region":{"startLine":1801}}}],"partialFingerprints":{"codehealthFindingId/v1":"d247bdd86c7468d0a427036ede870f508e1fd40ad2e1edb4e71bf3bc1fcbfc3f"}},{"ruleId":"D2","level":"warning","message":{"text":"(anonymous).tokenBase (cognitive 57): (anonymous).tokenBase has cognitive complexity 57 (threshold 15). Drivers by points: if/else 27 (43 pts), boolean chains 14 (nesting depth added 16). 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":"assets/static/codemirror/mode/javascript/javascript.js"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8284d191d2995dfca4dc37c5094e6e21ea3fc449f3cf33ef0c36c683cc84a68"}},{"ruleId":"D2","level":"warning","message":{"text":"codemirror.leftButtonSelect (cognitive 56): codemirror.leftButtonSelect has cognitive complexity 56 (threshold 15). Drivers by points: if/else 32 (45 pts), ternaries 2 (5 pts), boolean chains 4, loops 1 (2 pts) (nesting depth added 17). Of this number, 19 points are the body\u0027s own statements and 37 belong to 6 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/static/codemirror/lib/codemirror.js"},"region":{"startLine":7475}}}],"partialFingerprints":{"codehealthFindingId/v1":"950fcbc2d6f2d70601db36fd019a952f7523861f70cb3e0b6ceb079d0ebe37b4"}},{"ruleId":"D2","level":"warning","message":{"text":"Index.commodity (cognitive 56): Index.commodity has cognitive complexity 56 (threshold 15). Drivers by points: if/else 22 (38 pts), loops 4 (8 pts), boolean chains 5, error handling 2 (5 pts) (nesting depth added 23). 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/Controller/User/Api/Index.php"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc1affdc30de421d40e666cf7491b4d25dcd17f763fd7d37647de17c7a9b22f3"}},{"ruleId":"D2","level":"warning","message":{"text":"Config.putManyLocked (cognitive 54): Config.putManyLocked has cognitive complexity 54 (threshold 15). Drivers by points: if/else 13 (32 pts), error handling 4 (10 pts), loops 4 (7 pts), ternaries 2 (5 pts) (nesting depth added 31). 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/Model/Config.php"},"region":{"startLine":528}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f315d05f1132d2cc8a83f25338345d339a163514808e20098cdde8e6ed2fc9d"}},{"ruleId":"D2","level":"warning","message":{"text":"(anonymous)::(anonymous)::makeChkFlag (cognitive 54): (anonymous)::(anonymous)::makeChkFlag has cognitive complexity 54 (threshold 15). Drivers by points: if/else 18 (32 pts), ternaries 3 (15 pts), boolean chains 5, loops 1 (2 pts) (nesting depth added 27). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/common/js/component/tree.select.js"},"region":{"startLine":2278}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cdbcc784a0fe99f715950a20e7392fb272e711b60914af876656168dfff4d0d"}},{"ruleId":"D2","level":"warning","message":{"text":"Group.validatedSaveMap (cognitive 53): Group.validatedSaveMap has cognitive complexity 53 (threshold 15). Drivers by points: if/else 15 (25 pts), boolean chains 23, loops 2 (3 pts), ternaries 1 (2 pts) (nesting depth added 12). 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/Controller/Admin/Api/Group.php"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fdde326f899f24767ff16a57b492c6152fc0604bf7fdcbae256270cd2089af9"}},{"ruleId":"D2","level":"warning","message":{"text":"PriceTemplate.applyToConfig (cognitive 51): PriceTemplate.applyToConfig has cognitive complexity 51 (threshold 15). Drivers by points: if/else 12 (26 pts), loops 8 (15 pts), boolean chains 6, error handling 2, ternaries 1 (2 pts) (nesting depth added 22). 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/Model/PriceTemplate.php"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"3980d294a33293665fef772dfb71280c00d56e4a0d99dcfadde9e6f4f2f5eaba"}},{"ruleId":"D2","level":"warning","message":{"text":"openFilters (cognitive 51): openFilters has cognitive complexity 51 (threshold 15). Drivers by points: boolean chains 21, if/else 16 (19 pts), ternaries 7 (11 pts) (nesting depth added 7). Of this number, 24 points are the body\u0027s own statements and 27 belong to 6 function items 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/js/mobile/fallback.js"},"region":{"startLine":2055}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1ae8d4f945ed8d349b714e1886ece55b08f1aae4c2966ae3c662312a7e2b6fb"}},{"ruleId":"D2","level":"warning","message":{"text":"Coupon.couponExportQuery (cognitive 50): Coupon.couponExportQuery has cognitive complexity 50 (threshold 15). Drivers by points: if/else 17 (34 pts), boolean chains 12, loops 4 (nesting depth added 17). 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/Controller/Admin/Api/Coupon.php"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"7887bc708609ff66847cb4f588fd9ef79e6b0664e1ce64bcebf8c13fd1970d22"}},{"ruleId":"D2","level":"warning","message":{"text":"codemirror.findPosH (cognitive 49): codemirror.findPosH has cognitive complexity 49 (threshold 15). Drivers by points: if/else 20 (35 pts), ternaries 5 (16 pts), boolean chains 15, loops 1 (2 pts) (nesting depth added 27). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/static/codemirror/lib/codemirror.js"},"region":{"startLine":8708}}}],"partialFingerprints":{"codehealthFindingId/v1":"9858cebb0d2240e8e7414224ca20f6a79a2970c3bef9e8dacd15d18a25452574"}},{"ruleId":"D2","level":"warning","message":{"text":"Query.get (cognitive 49): Query.get has cognitive complexity 49 (threshold 15). Drivers by points: if/else 15 (27 pts), loops 9 (16 pts), boolean chains 4, ternaries 1 (2 pts) (nesting depth added 20). 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/Service/Bind/Query.php"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"1597b40992e569e2378e731553af97e161871ab48047d55fe48bf5b5b23294d5"}},{"ruleId":"D2","level":"warning","message":{"text":"measureCharInner (cognitive 49): measureCharInner has cognitive complexity 49 (threshold 15). Drivers by points: if/else 15 (24 pts), boolean chains 10, loops 4 (9 pts), ternaries 4 (6 pts) (nesting depth added 16). 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":"assets/static/codemirror/lib/codemirror.js"},"region":{"startLine":2489}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8042cb5d7c60ac8f52ecd19d683e573181c65fe53e9d5f061a1b4d16998591d"}},{"ruleId":"D2","level":"warning","message":{"text":"(anonymous).attach.openMenu (cognitive 48): (anonymous).attach.openMenu has cognitive complexity 48 (threshold 15). Drivers by points: ternaries 13 (19 pts), boolean chains 16, if/else 12 (13 pts) (nesting depth added 7). Of this number, 25 points are the body\u0027s own statements and 23 belong to 12 function items 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/trade/category-tree.js"},"region":{"startLine":750}}}],"partialFingerprints":{"codehealthFindingId/v1":"8824bfcb50d7263570aeb02a77a63724afbb64648e410485340cc67e04e40d70"}},{"ruleId":"D2","level":"warning","message":{"text":"codemirror.markText (cognitive 47): codemirror.markText has cognitive complexity 47 (threshold 15). Drivers by points: if/else 23 (31 pts), boolean chains 11, loops 1 (3 pts), ternaries 2 (nesting depth added 10). Of this number, 38 points are the body\u0027s own statements and 9 belong to 2 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/static/codemirror/lib/codemirror.js"},"region":{"startLine":5968}}}],"partialFingerprints":{"codehealthFindingId/v1":"87104ab39d29e787ac937513edcd025b8c0befb84af27d2dd0a1e51a07bc7e7b"}},{"ruleId":"D2","level":"warning","message":{"text":"Shared.AdjustmentPrice (cognitive 47): Shared.AdjustmentPrice has cognitive complexity 47 (threshold 15). Drivers by points: ternaries 6 (18 pts), loops 6 (14 pts), if/else 7 (10 pts), boolean chains 5 (nesting depth added 23). 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/Service/Bind/Shared.php"},"region":{"startLine":803}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bd29233bc4860eb1b566665a57cfbf37883b5f5c9348109b6a86232ed852180"}},{"ruleId":"D2","level":"warning","message":{"text":"moveVisually (cognitive 47): moveVisually has cognitive complexity 47 (threshold 15). Drivers by points: ternaries 11 (20 pts), if/else 12 (16 pts), boolean chains 10, loops 1 (nesting depth added 13). Of this number, 31 points are the body\u0027s own statements and 16 belong to 4 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/static/codemirror/lib/codemirror.js"},"region":{"startLine":6912}}}],"partialFingerprints":{"codehealthFindingId/v1":"410c95bc455a95a9e3ab2a4bf36b371755dbd1eac467f2b2a36e51f8faf578b8"}},{"ruleId":"D2","level":"warning","message":{"text":"CommodityGroup.mobileCommodityTree (cognitive 46): CommodityGroup.mobileCommodityTree has cognitive complexity 46 (threshold 15). Drivers by points: if/else 14 (24 pts), loops 14 (16 pts), boolean chains 6 (nesting depth added 12). 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/Controller/Admin/Api/CommodityGroup.php"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"e99363ad2ba34ea7517b72d19584609462e35026f61137d8dc6e990b9f162117"}},{"ruleId":"D2","level":"warning","message":{"text":"Currency.convertCommodityConfigs (cognitive 46): Currency.convertCommodityConfigs has cognitive complexity 46 (threshold 15). Drivers by points: if/else 10 (37 pts), loops 2 (5 pts), boolean chains 4 (nesting depth added 30). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Service/Bind/Currency.php"},"region":{"startLine":370}}}],"partialFingerprints":{"codehealthFindingId/v1":"34b5649db9093971f68b420983ed1ae97fe47e639e8125e82df28f2fdc9686fd"}},{"ruleId":"D2","level":"warning","message":{"text":"_Auth (cognitive 46): _Auth has cognitive complexity 46 (threshold 15). Drivers by points: if/else 27 (28 pts), boolean chains 15, error handling 1, other 1, ternaries 1 (nesting depth added 1). Most of this is not in the body itself: 3 of the 46 points are its own statements and the rest belongs to 25 function items inside it that branch (complete::_register_captcha::done, a function literal at line 701, complete, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/store/home.js"},"region":{"startLine":516}}}],"partialFingerprints":{"codehealthFindingId/v1":"12fa0e8629017cc994be0de42414077ab86a9118eb81d67ad143702995f268b1"}},{"ruleId":"D2","level":"warning","message":{"text":"renderTreeContext (cognitive 46): renderTreeContext has cognitive complexity 46 (threshold 15). Drivers by points: if/else 11 (17 pts), ternaries 8 (15 pts), boolean chains 14 (nesting depth added 13). 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":"assets/admin/js/mobile/fallback.js"},"region":{"startLine":2628}}}],"partialFingerprints":{"codehealthFindingId/v1":"1738d28598584094a83d99902eac61187b707574745decfef0ef1cddf08e0494"}},{"ruleId":"D2","level":"warning","message":{"text":"(anonymous).statement (cognitive 46): (anonymous).statement has cognitive complexity 46 (threshold 15). Drivers by points: if/else 29 (33 pts), boolean chains 9, ternaries 2 (4 pts) (nesting depth added 6). 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":"assets/static/codemirror/mode/javascript/javascript.js"},"region":{"startLine":368}}}],"partialFingerprints":{"codehealthFindingId/v1":"353722519a6f6b9e0be35d91767f1c79098f2232a6b7e3dd976f5f783f31e45b"}},{"ruleId":"D2","level":"warning","message":{"text":"javascript.CodeMirror.defineMode(\u0022javascript\u0022).statement (cognitive 45): javascript.CodeMirror.defineMode(\u0022javascript\u0022).statement has cognitive complexity 45 (threshold 15). Drivers by points: if/else 29 (33 pts), boolean chains 8, ternaries 2 (4 pts) (nesting depth added 6). 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":"assets/static/codemirror/mode/javascript/javascript.js"},"region":{"startLine":368}}}],"partialFingerprints":{"codehealthFindingId/v1":"6522e4c4b7466234f89f73a884106eb0d459d6271475eec772bcd870e502d6c2"}},{"ruleId":"D2","level":"warning","message":{"text":"codemirror.onScrollWheel (cognitive 44): codemirror.onScrollWheel has cognitive complexity 44 (threshold 15). Drivers by points: if/else 15 (26 pts), boolean chains 13, loops 2 (5 pts) (nesting depth added 14). Of this number, 35 points are the body\u0027s own statements and 9 belong to one function literal inside it that branches. 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":"assets/static/codemirror/lib/codemirror.js"},"region":{"startLine":4509}}}],"partialFingerprints":{"codehealthFindingId/v1":"15659f7c75ec2cad4079d5eda881d01025c53d5ef7dd53f61fd017fd827434a0"}},{"ruleId":"D2","level":"warning","message":{"text":"modal (cognitive 44): modal has cognitive complexity 44 (threshold 15). Drivers by points: if/else 16 (17 pts), boolean chains 13, other 6, ternaries 6, error handling 2 (nesting depth added 1). Most of this is not in the body itself: 8 of the 44 points are its own statements and the rest belongs to 22 function items inside it that branch (complete::(anonymous)::change, a function literal at line 562, applySharedPremiumMode, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/trade/commodity.js"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"a24345a0270beb2434b5e1e7df3a170470736682e2bb08f20afaaacb2ea2d8ed"}},{"ruleId":"D2","level":"warning","message":{"text":"python.CodeMirror.defineMode(\u0022python\u0022)::tokenBaseInner (cognitive 43): python.CodeMirror.defineMode(\u0022python\u0022)::tokenBaseInner has cognitive complexity 43 (threshold 15). Drivers by points: if/else 24 (37 pts), boolean chains 4, loops 1, ternaries 1 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: 3 other methods here (python.CodeMirror.defineMode(\u0022python\u0022)::tokenBase, python.CodeMirror.defineMode(\u0022python\u0022)::formatStringFactory::tokenString, python.CodeMirror.defineMode(\u0022python\u0022)::tokenLexer) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 4 times rather than 4 independent problems. Splitting this body alone leaves the other 3 exactly as they are. Where these are variations on one operation, the change that clears all 4 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/static/codemirror/mode/python/python.js"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"12364f4ad7050d6ae0e8fae866932c0a76595c0d0f8afb0ec95693ab42c6914d"}},{"ruleId":"D2","level":"warning","message":{"text":"click (cognitive 43): click has cognitive complexity 43 (threshold 15). Drivers by points: if/else 22, boolean chains 17, other 2, ternaries 2. Most of this is not in the body itself: 1 of the 43 points is its own statement and the rest belongs to 17 function items inside it that branch (a function literal at line 1454, a function literal at line 1487, a function literal at line 1516, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/shared/store.js"},"region":{"startLine":1446}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a60062d1a0dfee70cdc456f735fe9ef7fdbfc4e494182caf75e59164aabe6fa"}},{"ruleId":"D2","level":"warning","message":{"text":"(anonymous)::tokenBaseInner (cognitive 43): (anonymous)::tokenBaseInner has cognitive complexity 43 (threshold 15). Drivers by points: if/else 24 (37 pts), boolean chains 4, loops 1, ternaries 1 (nesting depth added 13). 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":"assets/static/codemirror/mode/python/python.js"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"41a2425940bce6f57a4c490ee9095de201959ec05205e7f072dbc66802d21c0c"}},{"ruleId":"D2","level":"warning","message":{"text":"brace-fold.CodeMirror.registerHelper(\u0022fold\u0022,\u0022brace\u0022) (cognitive 42): brace-fold.CodeMirror.registerHelper(\u0022fold\u0022,\u0022brace\u0022) has cognitive complexity 42 (threshold 15). Drivers by points: if/else 14 (30 pts), boolean chains 4, loops 3 (4 pts), ternaries 2 (4 pts) (nesting depth added 19). Of this number, 29 points are the body\u0027s own statements and 13 belong to one function item inside it that branches. 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":"assets/static/codemirror/addon/fold/brace-fold.js"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"a27c1f4cdaa1d9e3a294333ca8e05fb69bef23f013fff393ba832925743f5315"}},{"ruleId":"D2","level":"warning","message":{"text":"runImportTask (cognitive 42): runImportTask has cognitive complexity 42 (threshold 15). Drivers by points: if/else 13 (23 pts), ternaries 6 (12 pts), boolean chains 5, error handling 1, loops 1 (nesting depth added 16). Most of this is not in the body itself: 4 of the 42 points are its own statements and the rest belongs to 4 function literals inside it that branch (lines 1047, 1116, 1128, \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":"assets/admin/controller/shared/store.js"},"region":{"startLine":1031}}}],"partialFingerprints":{"codehealthFindingId/v1":"c508ad170aded67beec17422fe5d2884b99c7dfcd8ffc3227f54b77ebe5812c9"}},{"ruleId":"D2","level":"warning","message":{"text":"(anonymous) (cognitive 42): (anonymous) has cognitive complexity 42 (threshold 15). Drivers by points: if/else 14 (30 pts), boolean chains 4, loops 3 (4 pts), ternaries 2 (4 pts) (nesting depth added 19). Of this number, 29 points are the body\u0027s own statements and 13 belong to one function item inside it that branches. 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":"assets/static/codemirror/addon/fold/brace-fold.js"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d3be8da15a6e5ddd8f1db6e446fa070f21526f5a7f7daa16cb8cdd70d816732"}},{"ruleId":"D2","level":"warning","message":{"text":"(anonymous).indent (cognitive 42): (anonymous).indent has cognitive complexity 42 (threshold 15). Drivers by points: if/else 13 (15 pts), boolean chains 14, ternaries 5 (10 pts), loops 2 (3 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/static/codemirror/mode/javascript/javascript.js"},"region":{"startLine":895}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f46fab20923116d1f1fb330782f97f6218225c9e58c328df2a6706a2cac4ac8"}},{"ruleId":"D2","level":"warning","message":{"text":"menu.KTScroll::_getAutoHeight (cognitive 41): menu.KTScroll::_getAutoHeight has cognitive complexity 41 (threshold 15). Drivers by points: if/else 13 (33 pts), loops 2 (6 pts), boolean chains 2 (nesting depth added 24). 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":"assets/admin/js/menu.js"},"region":{"startLine":2896}}}],"partialFingerprints":{"codehealthFindingId/v1":"500ac52338c881699e6735b1ed96d572b2f46210a50801b5ee2dab7e884785c1"}},{"ruleId":"D2","level":"warning","message":{"text":"Order.orderExportQuery (cognitive 41): Order.orderExportQuery has cognitive complexity 41 (threshold 15). Drivers by points: if/else 12 (23 pts), boolean chains 11, loops 5, ternaries 1 (2 pts) (nesting depth added 12). 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/Controller/Admin/Api/Order.php"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"06a927e43b63630d094724587f08251d564cde87d34dd771c84c57570bb5d79b"}},{"ruleId":"D2","level":"warning","message":{"text":"Store.remoteWidget (cognitive 41): Store.remoteWidget has cognitive complexity 41 (threshold 15). Drivers by points: if/else 13 (25 pts), boolean chains 7, ternaries 3 (6 pts), loops 2 (3 pts) (nesting depth added 16). 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/Controller/Admin/Api/Store.php"},"region":{"startLine":523}}}],"partialFingerprints":{"codehealthFindingId/v1":"b839adbdb21b762aef8c506fdfeede312b39c533582cc0c20d8f3cbc7ff3a7b9"}},{"ruleId":"D2","level":"warning","message":{"text":"api.confirmPayDelete (cognitive 40): api.confirmPayDelete has cognitive complexity 40 (threshold 15). Drivers by points: boolean chains 27, if/else 8, ternaries 4 (5 pts) (nesting depth added 1). Most of this is not in the body itself: 2 of the 40 points are its own statements and the rest belongs to 4 function literals inside it that branch (lines 105, 116, 164, \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":"assets/admin/controller/pay/api.js"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d6c4518bb0ca3ed83cd4c3a7a2147cafd561ddc7446145cc3243de5621f68aa"}},{"ruleId":"D2","level":"warning","message":{"text":"xml.CodeMirror.defineMode(\u0022xml\u0022).indent (cognitive 40): xml.CodeMirror.defineMode(\u0022xml\u0022).indent has cognitive complexity 40 (threshold 15). Drivers by points: if/else 18 (24 pts), boolean chains 9, loops 3 (5 pts), ternaries 1 (2 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/static/codemirror/mode/xml/xml.js"},"region":{"startLine":340}}}],"partialFingerprints":{"codehealthFindingId/v1":"3eba79c6f24e81332fca30a88fb2c353bd6360b44f52d6d3dcf609ce1057a772"}},{"ruleId":"D2","level":"warning","message":{"text":"Commodity.commodityDeleteImpact (cognitive 40): Commodity.commodityDeleteImpact has cognitive complexity 40 (threshold 15). Drivers by points: if/else 10 (23 pts), loops 4 (9 pts), ternaries 3 (6 pts), boolean chains 2 (nesting depth added 21). 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/Controller/Admin/Api/Commodity.php"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"37eaeb9920f77aa46f5369def7f19c5e96ead3905c496b63f2f5dd521a38829e"}},{"ruleId":"D2","level":"warning","message":{"text":"_ShowRebindPlan (cognitive 40): _ShowRebindPlan has cognitive complexity 40 (threshold 15). Drivers by points: ternaries 18 (21 pts), if/else 9 (12 pts), boolean chains 6, loops 1 (nesting depth added 6). Most of this is not in the body itself: 13 of the 40 points are its own statements and the rest belongs to 16 function items inside it that branch (a function literal at line 1129, row, a function literal at line 1158, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/store/home.js"},"region":{"startLine":1067}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba2775ff790bbf6ff2f9c71b485071e717f73215acf2ac62acc2307747ce951c"}},{"ruleId":"D2","level":"warning","message":{"text":"(anonymous) (cognitive 40): (anonymous) has cognitive complexity 40 (threshold 15). Drivers by points: boolean chains 20, if/else 11 (12 pts), loops 4, ternaries 4 (nesting depth added 1). 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":"assets/static/codemirror/lib/codemirror.js"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"497ea62beb6c8d0559c3f05a2ac64691d1c12f5c7ebf4e9d8941accc56534871"}},{"ruleId":"D2","level":"warning","message":{"text":"(anonymous).indent (cognitive 40): (anonymous).indent has cognitive complexity 40 (threshold 15). Drivers by points: if/else 18 (24 pts), boolean chains 9, loops 3 (5 pts), ternaries 1 (2 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/static/codemirror/mode/xml/xml.js"},"region":{"startLine":340}}}],"partialFingerprints":{"codehealthFindingId/v1":"0aec8809684f8b1ac8aa04d18589f06b62559ffdea0d684c1d30f6e522d844e9"}},{"ruleId":"D2","level":"warning","message":{"text":"workflows.renderPageActions (cognitive 39): workflows.renderPageActions has cognitive complexity 39 (threshold 15). Drivers by points: boolean chains 26, if/else 10 (12 pts), ternaries 1 (nesting depth added 2). Of this number, 22 points are the body\u0027s own statements and 17 belong to 7 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":"assets/admin/js/mobile/workflows.js"},"region":{"startLine":1067}}}],"partialFingerprints":{"codehealthFindingId/v1":"15e78616b3c64467fa38d59a724f4b29d366de869315f1f5661a105fc312f39f"}},{"ruleId":"D2","level":"warning","message":{"text":"javascript.CodeMirror.defineMode(\u0022javascript\u0022).findFatArrow (cognitive 39): javascript.CodeMirror.defineMode(\u0022javascript\u0022).findFatArrow has cognitive complexity 39 (threshold 15). Drivers by points: if/else 15 (30 pts), boolean chains 5, loops 2 (4 pts) (nesting depth added 17). 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":"assets/static/codemirror/mode/javascript/javascript.js"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c5343675dad3fe8207698a071fad9e5ea05d7fe7757ea3e5074b6cafd16ab55"}},{"ruleId":"D2","level":"warning","message":{"text":"Order.calcAmount (cognitive 39): Order.calcAmount has cognitive complexity 39 (threshold 15). Drivers by points: if/else 13 (23 pts), boolean chains 8, loops 3 (7 pts), ternaries 1 (nesting depth added 14). 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/Service/Bind/Order.php"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"666e71c85915934e63da1d775ea47b73351b01f82631e5d442d09b9b31673454"}},{"ruleId":"D2","level":"warning","message":{"text":"Order.getCost (cognitive 39): Order.getCost has cognitive complexity 39 (threshold 15). Drivers by points: if/else 12 (20 pts), ternaries 5 (12 pts), boolean chains 5, loops 1 (2 pts) (nesting depth added 16). 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/Service/Bind/Order.php"},"region":{"startLine":376}}}],"partialFingerprints":{"codehealthFindingId/v1":"34241d1713239c75ae0553fcdf9c3495ecc1986cc6c92f5249f7159f1fb35e92"}},{"ruleId":"D2","level":"warning","message":{"text":"Order.getTradeAmount (cognitive 39): Order.getTradeAmount has cognitive complexity 39 (threshold 15). Drivers by points: if/else 18 (25 pts), boolean chains 10, loops 1 (2 pts), ternaries 1 (2 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Service/Bind/Order.php"},"region":{"startLine":1510}}}],"partialFingerprints":{"codehealthFindingId/v1":"3020518980c308b6eff94e63cd501fb15016f69d25fdab9dc60a59352eacad07"}},{"ruleId":"D2","level":"warning","message":{"text":"clear (cognitive 39): clear has cognitive complexity 39 (threshold 15). Drivers by points: if/else 17 (27 pts), boolean chains 9, loops 2 (3 pts) (nesting depth added 11). 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":"assets/static/codemirror/lib/codemirror.js"},"region":{"startLine":5858}}}],"partialFingerprints":{"codehealthFindingId/v1":"93ab9e697b52a850cd39058cddf7abad57add3543cd84ac74e65f42406a4ba98"}},{"ruleId":"D2","level":"warning","message":{"text":"(anonymous) (cognitive 39): (anonymous) has cognitive complexity 39 (threshold 15). Drivers by points: if/else 11 (24 pts), boolean chains 7, loops 3 (4 pts), ternaries 2 (4 pts) (nesting depth added 16). 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":"assets/static/codemirror/addon/fold/comment-fold.js"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"5db51837c85dac4971bd61ee165fe35ec21e206e7ffcf117b95c225710487247"}},{"ruleId":"D2","level":"warning","message":{"text":"(anonymous).findFatArrow (cognitive 39): (anonymous).findFatArrow has cognitive complexity 39 (threshold 15). Drivers by points: if/else 15 (30 pts), boolean chains 5, loops 2 (4 pts) (nesting depth added 17). 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":"assets/static/codemirror/mode/javascript/javascript.js"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"e88fa2df37531dea1215dd9a7020690bfe6a13c1294f168c28c768970c334019"}},{"ruleId":"D2","level":"warning","message":{"text":"comment-fold.CodeMirror.registerGlobalHelper(\u0022fold\u0022,\u0022comment\u0022) (cognitive 38): comment-fold.CodeMirror.registerGlobalHelper(\u0022fold\u0022,\u0022comment\u0022) has cognitive complexity 38 (threshold 15). Drivers by points: if/else 11 (24 pts), boolean chains 6, loops 3 (4 pts), ternaries 2 (4 pts) (nesting depth added 16). 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":"assets/static/codemirror/addon/fold/comment-fold.js"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fa107739a8467eba283f3a0f4692015a4237adabe436163fcabeb11d6a7491a"}},{"ruleId":"D2","level":"warning","message":{"text":"Card.save (cognitive 38): Card.save has cognitive complexity 38 (threshold 15). Drivers by points: if/else 16 (31 pts), ternaries 3, error handling 1 (2 pts), boolean chains 1, loops 1 (nesting depth added 16). 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/Controller/Admin/Api/Card.php"},"region":{"startLine":333}}}],"partialFingerprints":{"codehealthFindingId/v1":"90cec34c5288318b80678bb60a31eebe31f6cff79212bbccd1f694fc28dd1bdf"}},{"ruleId":"D2","level":"warning","message":{"text":"User.theme (cognitive 38): User.theme has cognitive complexity 38 (threshold 15). Drivers by points: if/else 18 (28 pts), boolean chains 4, ternaries 2 (4 pts), error handling 1, loops 1 (nesting depth added 12). 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/Controller/Base/View/User.php"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"2831a147a6c124c57d7a2b7a22404d1677bc9c75b3afb9288f16ab23ebc6abd0"}},{"ruleId":"D2","level":"warning","message":{"text":"Security.personal (cognitive 38): Security.personal has cognitive complexity 38 (threshold 15). Drivers by points: if/else 15 (24 pts), boolean chains 6, loops 3, ternaries 1 (3 pts), error handling 1 (2 pts) (nesting depth added 12). 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/Controller/User/Api/Security.php"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebfed50cd3a41bcb8462a99719a34182e4108f84666e0481474e7a0b8a812439"}},{"ruleId":"D2","level":"warning","message":{"text":"invalidFormField (cognitive 38): invalidFormField has cognitive complexity 38 (threshold 15). Drivers by points: if/else 10 (20 pts), boolean chains 12, ternaries 3 (5 pts), loops 1 (nesting depth added 12). Of this number, 26 points are the body\u0027s own statements and 12 belong to 7 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":"assets/admin/js/mobile/workflows.js"},"region":{"startLine":271}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9efe6cb012849cc112694fb93cef330e71f861400e4c6a38624dba891621620"}},{"ruleId":"D2","level":"warning","message":{"text":"nodeAndOffsetInLineMap (cognitive 38): nodeAndOffsetInLineMap has cognitive complexity 38 (threshold 15). Drivers by points: if/else 8 (18 pts), loops 3 (9 pts), boolean chains 7, ternaries 1 (4 pts) (nesting depth added 19). 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":"assets/static/codemirror/lib/codemirror.js"},"region":{"startLine":2441}}}],"partialFingerprints":{"codehealthFindingId/v1":"512b9f518f5b7f3fec92c00620916cacb92061eb28bea527fe028f6025e5d368"}},{"ruleId":"D2","level":"warning","message":{"text":"fallback.renderReferenceCard (cognitive 37): fallback.renderReferenceCard has cognitive complexity 37 (threshold 15). Drivers by points: if/else 12 (19 pts), boolean chains 13, ternaries 4 (5 pts) (nesting depth added 8). Of this number, 36 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. 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":"assets/admin/js/mobile/fallback.js"},"region":{"startLine":441}}}],"partialFingerprints":{"codehealthFindingId/v1":"085abbc74669e5afb2b43b1cd0524dbb1f792512712d3e73cff97e8e30a18fef"}},{"ruleId":"D2","level":"warning","message":{"text":"Coupon.save (cognitive 37): Coupon.save has cognitive complexity 37 (threshold 15). Drivers by points: if/else 19 (24 pts), boolean chains 8, error handling 1 (2 pts), ternaries 2, loops 1 (nesting depth added 6). 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Controller/Admin/Api/Coupon.php"},"region":{"startLine":254}}}],"partialFingerprints":{"codehealthFindingId/v1":"7edb4edbd6aae9a0d969dce5a5b240d4a37d5ed13fa9419b9c64c87672c42e44"}},{"ruleId":"D2","level":"warning","message":{"text":"Authentication.register (cognitive 37): Authentication.register has cognitive complexity 37 (threshold 15). Drivers by points: if/else 20 (26 pts), boolean chains 10, error handling 1 (nesting depth added 6). 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Controller/User/Api/Authentication.php"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"4999cc5a6da92f46c06ccd45000bd982072aded7005c146162d34d9a19ef7979"}},{"ruleId":"D2","level":"warning","message":{"text":"Category.save (cognitive 37): Category.save has cognitive complexity 37 (threshold 15). Drivers by points: if/else 13 (21 pts), boolean chains 10, ternaries 3 (4 pts), loops 1 (2 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Controller/User/Api/Category.php"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e8cece61b53418e619791598b6003cbacf2c32b1e74ed66d545c941282dbd94"}},{"ruleId":"D2","level":"warning","message":{"text":"Index.card (cognitive 37): Index.card has cognitive complexity 37 (threshold 15). Drivers by points: if/else 14 (25 pts), loops 4 (9 pts), boolean chains 2, ternaries 1 (nesting depth added 16). 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/Controller/User/Api/Index.php"},"region":{"startLine":298}}}],"partialFingerprints":{"codehealthFindingId/v1":"a86902f1b03669491b7008ba4fb51539cfba1ba5386e31c37aacc0a2a6294882"}},{"ruleId":"D2","level":"warning","message":{"text":"Plugin.hook (cognitive 37): Plugin.hook has cognitive complexity 37 (threshold 15). Drivers by points: if/else 9 (26 pts), ternaries 1 (5 pts), boolean chains 4, loops 1 (2 pts) (nesting depth added 22). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kernel/Util/Plugin.php"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"cea51cac749a8aa310eaf2c0f8f66e2e93fe0b7ac9b29046c6adfbf7c94a8dbb"}},{"ruleId":"D2","level":"warning","message":{"text":"_verifyDialog (cognitive 37): _verifyDialog has cognitive complexity 37 (threshold 15). Drivers by points: boolean chains 14, if/else 13, ternaries 10. Most of this is not in the body itself: 10 of the 37 points are its own statements and the rest belongs to 15 function items inside it that branch (a function literal at line 423, submit, a function literal at line 489, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/common/js/util.js"},"region":{"startLine":355}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bb5b7e8198883c38d7cb5352a8c78bd4a33a629cc1738dad5a64b5d7dbf4047"}},{"ruleId":"D2","level":"warning","message":{"text":"_Bill (cognitive 37): _Bill has cognitive complexity 37 (threshold 15). Drivers by points: ternaries 11 (22 pts), if/else 6 (10 pts), boolean chains 5 (nesting depth added 15). Most of this is not in the body itself: 13 of the 37 points are its own statements and the rest belongs to 6 function items inside it that branch (a function literal at line 880, complete, complete, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/store/home.js"},"region":{"startLine":827}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc39eaf7fecfaae6e22c8f3a8707a90687c131f9e48df9d9a57e6586d8c4eee4"}},{"ruleId":"D2","level":"warning","message":{"text":"openComposer (cognitive 37): openComposer has cognitive complexity 37 (threshold 15). Drivers by points: if/else 15 (17 pts), boolean chains 12, ternaries 6 (8 pts) (nesting depth added 4). Most of this is not in the body itself: 10 of the 37 points are its own statements and the rest belongs to 15 function items inside it that branch (submit::save::done, submit, submit::save::error, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/user/message.js"},"region":{"startLine":360}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c25abcbc051d9ae97ed29925a246cc5b35cae3263ffb1f63bbb667441b871cb"}},{"ruleId":"D2","level":"warning","message":{"text":"applyTextInput (cognitive 37): applyTextInput has cognitive complexity 37 (threshold 15). Drivers by points: if/else 11 (17 pts), boolean chains 9, ternaries 3 (6 pts), loops 2 (5 pts) (nesting depth added 12). 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":"assets/static/codemirror/lib/codemirror.js"},"region":{"startLine":8146}}}],"partialFingerprints":{"codehealthFindingId/v1":"3945ba1ef76f8bbaf66ceee6edc3948f7ed991d6c934ca21cb1886f997911e3e"}},{"ruleId":"D2","level":"warning","message":{"text":"Order.orderSuccess (cognitive 36): Order.orderSuccess has cognitive complexity 36 (threshold 15). Drivers by points: if/else 15 (24 pts), ternaries 2 (6 pts), boolean chains 4, error handling 1 (2 pts) (nesting depth added 14). 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/Service/Bind/Order.php"},"region":{"startLine":1170}}}],"partialFingerprints":{"codehealthFindingId/v1":"53b52c4a60c798b3d2a941ba3db3e6440cfefbeb71b261c00dc0be02428d2208"}},{"ruleId":"D2","level":"warning","message":{"text":"Shared.syncRemoteItem (cognitive 36): Shared.syncRemoteItem has cognitive complexity 36 (threshold 15). Drivers by points: if/else 17 (20 pts), boolean chains 9, ternaries 5 (7 pts) (nesting depth added 5). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Service/Bind/Shared.php"},"region":{"startLine":1032}}}],"partialFingerprints":{"codehealthFindingId/v1":"113955eead1f1aa8fdc92dc756d407cadb99d5bf27a5e84d753593b30d49f017"}},{"ruleId":"D2","level":"warning","message":{"text":"Purge.orphanFiles (cognitive 36): Purge.orphanFiles has cognitive complexity 36 (threshold 15). Drivers by points: if/else 8 (18 pts), loops 6 (10 pts), boolean chains 5, ternaries 2 (3 pts) (nesting depth added 15). 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/Util/CardFile/Purge.php"},"region":{"startLine":315}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7563b8ec1d967741b62f38f7032333ccce16788bb5c0cc97865a40c17604b84"}},{"ruleId":"D2","level":"warning","message":{"text":"UploadGuard.jpegOrientation (cognitive 36): UploadGuard.jpegOrientation has cognitive complexity 36 (threshold 15). Drivers by points: if/else 6 (18 pts), ternaries 3 (11 pts), loops 2 (4 pts), boolean chains 3 (nesting depth added 22). 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/Util/UploadGuard.php"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fdf67053f486733c36bac1125cf7941fb7f23d874328c155dff1d8b0e22a4fd"}},{"ruleId":"D2","level":"warning","message":{"text":"post (cognitive 36): post has cognitive complexity 36 (threshold 15). Drivers by points: ternaries 11 (21 pts), if/else 9 (10 pts), boolean chains 4, error handling 1 (nesting depth added 11). Of this number, 19 points are the body\u0027s own statements and 17 belong to 8 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/common/js/util.js"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"f64b07351e40669e55b5a5f6c79d60e0a55711509eb428a42bd4c7b2364e5aae"}},{"ruleId":"D2","level":"warning","message":{"text":"registerEventHandlers (cognitive 36): registerEventHandlers has cognitive complexity 36 (threshold 15). Drivers by points: if/else 19 (23 pts), boolean chains 11, ternaries 1 (2 pts) (nesting depth added 5). Most of this is not in the body itself: 3 of the 36 points are its own statements and the rest belongs to 22 function items inside it that branch (a function literal at line 8018, a function literal at line 8002, a function literal at line 7965, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/static/codemirror/lib/codemirror.js"},"region":{"startLine":7960}}}],"partialFingerprints":{"codehealthFindingId/v1":"edc054c3fb66a72dfcdf9d7ed56b5445a5034d9c50d9f26bd0e3a7bb77bcc305"}},{"ruleId":"D2","level":"warning","message":{"text":"Category.safeCategoryDeleteImpact (cognitive 35): Category.safeCategoryDeleteImpact has cognitive complexity 35 (threshold 15). Drivers by points: if/else 11 (20 pts), loops 9 (14 pts), boolean chains 1 (nesting depth added 14). 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/Controller/Admin/Api/Category.php"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bfb0493093e30e1d1d7536f24ad848106f85b9b978b51d58bff6d40cca02b3c"}},{"ruleId":"D2","level":"warning","message":{"text":"RechargeOrder.exportQuery (cognitive 35): RechargeOrder.exportQuery has cognitive complexity 35 (threshold 15). Drivers by points: if/else 11 (21 pts), boolean chains 10, loops 4 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Controller/Admin/Api/RechargeOrder.php"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"08173fb6300a20f113950ebac3808a6e119f8619710d17bea877d025ec2d648f"}},{"ruleId":"D2","level":"warning","message":{"text":"Card.save (cognitive 35): Card.save has cognitive complexity 35 (threshold 15). Drivers by points: if/else 16 (29 pts), ternaries 3, error handling 1 (2 pts), loops 1 (nesting depth added 14). 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/Controller/User/Api/Card.php"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"95b3daf3206bea9d7fb8f8e4ddca760a5375654bfff373e534089b93901c708a"}},{"ruleId":"D2","level":"warning","message":{"text":"Message.save (cognitive 35): Message.save has cognitive complexity 35 (threshold 15). Drivers by points: if/else 12 (17 pts), boolean chains 10, ternaries 4 (6 pts), loops 2 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Service/Bind/Message.php"},"region":{"startLine":722}}}],"partialFingerprints":{"codehealthFindingId/v1":"7454ed8e7f971a55db1aff4502db6f0c4363b249cf6a2a6ae7ac81e5201ccb23"}},{"ruleId":"D2","level":"warning","message":{"text":"initMessageCenter (cognitive 35): initMessageCenter has cognitive complexity 35 (threshold 15). Drivers by points: if/else 14 (30 pts), ternaries 1 (4 pts), boolean chains 1 (nesting depth added 19). Most of this is not in the body itself: 6 of the 35 points are its own statements and the rest belongs to 4 function items inside it that branch (a function literal at line 337, a function literal at line 370, a function literal at line 378, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/user/js/glass.js"},"region":{"startLine":327}}}],"partialFingerprints":{"codehealthFindingId/v1":"6426ba5af9eee93ec7417d49a489c9ca2d037c36a08f2269a5d11b1e9e201e2a"}},{"ruleId":"D2","level":"warning","message":{"text":"makeChangeFromHistory (cognitive 35): makeChangeFromHistory has cognitive complexity 35 (threshold 15). Drivers by points: if/else 11 (16 pts), boolean chains 10, ternaries 4 (6 pts), loops 3 (nesting depth added 7). Of this number, 28 points are the body\u0027s own statements and 7 belong to 2 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/static/codemirror/lib/codemirror.js"},"region":{"startLine":5341}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6ac60b67c2b48d9b69a0492443ab09879739ecbbcc878a2d90ea0d891467e28"}},{"ruleId":"D2","level":"warning","message":{"text":"onDrop (cognitive 35): onDrop has cognitive complexity 35 (threshold 15). Drivers by points: if/else 12 (21 pts), boolean chains 6, loops 2 (6 pts), error handling 1 (2 pts) (nesting depth added 14). Of this number, 28 points are the body\u0027s own statements and 7 belong to 7 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/static/codemirror/lib/codemirror.js"},"region":{"startLine":6532}}}],"partialFingerprints":{"codehealthFindingId/v1":"baffdc94ffe30d5461ad6b1817f550c88be102e346f4cbfc9b3b3ec50de50056"}},{"ruleId":"D2","level":"warning","message":{"text":"codemirror.regChange (cognitive 34): codemirror.regChange has cognitive complexity 34 (threshold 15). Drivers by points: if/else 22 (28 pts), boolean chains 6 (nesting depth added 6). 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":"assets/static/codemirror/lib/codemirror.js"},"region":{"startLine":3002}}}],"partialFingerprints":{"codehealthFindingId/v1":"208f620ce0ffa1430de54426895bcbf8a872a87ef5effed03d068d92b61adc38"}},{"ruleId":"D2","level":"warning","message":{"text":"codemirror.indentLine (cognitive 34): codemirror.indentLine has cognitive complexity 34 (threshold 15). Drivers by points: if/else 20 (27 pts), loops 2 (4 pts), boolean chains 3 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/static/codemirror/lib/codemirror.js"},"region":{"startLine":8078}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa782b22e537858a35502eb6a345c38f949d54c05147cced1540ee565d80f28c"}},{"ruleId":"D2","level":"warning","message":{"text":"codemirror.addEditorMethods (cognitive 34): codemirror.addEditorMethods has cognitive complexity 34 (threshold 15). Drivers by points: boolean chains 34. 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":"assets/static/codemirror/lib/codemirror.js"},"region":{"startLine":8268}}}],"partialFingerprints":{"codehealthFindingId/v1":"a77d4a3e1fb72dbdaff8eac91038ed34b76d037effee7f70688af07b46853cd9"}},{"ruleId":"D2","level":"warning","message":{"text":"css.CodeMirror.defineMode(\u0022css\u0022) (cognitive 34): css.CodeMirror.defineMode(\u0022css\u0022) has cognitive complexity 34 (threshold 15). Drivers by points: boolean chains 33, if/else 1. 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":"assets/static/codemirror/mode/css/css.js"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ef6fec73c38e5520ba28a1f69e8625cecae1ae7467961a78004dea2bba0cd18"}},{"ruleId":"D2","level":"warning","message":{"text":"glass.refreshMessageCenter (cognitive 34): glass.refreshMessageCenter has cognitive complexity 34 (threshold 15). Drivers by points: boolean chains 13, if/else 10 (12 pts), ternaries 8 (9 pts) (nesting depth added 3). Most of this is not in the body itself: 2 of the 34 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 243, 284). 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":"assets/user/js/glass.js"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"207e6a3d6c55b0d8df755998715473ea0c64d007c2e9f92c411f57882229a682"}},{"ruleId":"D2","level":"warning","message":{"text":"App.update (cognitive 34): App.update has cognitive complexity 34 (threshold 15). Drivers by points: if/else 9 (25 pts), ternaries 1 (4 pts), error handling 1 (3 pts), loops 2 (nesting depth added 21). 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/Service/Bind/App.php"},"region":{"startLine":427}}}],"partialFingerprints":{"codehealthFindingId/v1":"659be569ba505406cc366b07f753a39e3e3afd8ddef5ced1398185252a49a37c"}},{"ruleId":"D2","level":"warning","message":{"text":"Currency.convertIniMoney (cognitive 34): Currency.convertIniMoney has cognitive complexity 34 (threshold 15). Drivers by points: if/else 6 (18 pts), loops 5 (12 pts), boolean chains 3, error handling 1 (nesting depth added 19). 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/Service/Bind/Currency.php"},"region":{"startLine":430}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b1e432f566481acc8844c5e5c077740e8086d10733b4607e392bff0b30ae311"}},{"ruleId":"D2","level":"warning","message":{"text":"Image.createThumbnail (cognitive 34): Image.createThumbnail has cognitive complexity 34 (threshold 15). Drivers by points: if/else 18 (27 pts), boolean chains 5, match/switch 2 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Service/Bind/Image.php"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"af5a4e5830f2e10c78706b8fe4f7c748d270567f5579b83ec382ac750c291195"}},{"ruleId":"D2","level":"warning","message":{"text":"Shop.getCategory (cognitive 34): Shop.getCategory has cognitive complexity 34 (threshold 15). Drivers by points: if/else 13 (23 pts), loops 3 (7 pts), boolean chains 4 (nesting depth added 14). 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/Service/Bind/Shop.php"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1e58098bdb98a2bf89223310398da3cf73a3afceb6a9e5284a0a0b7e7414f9a"}},{"ruleId":"D2","level":"warning","message":{"text":"(anonymous)::render (cognitive 34): (anonymous)::render has cognitive complexity 34 (threshold 15). Drivers by points: ternaries 26, if/else 6 (7 pts), boolean chains 1 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/static/modules/authtree.js"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"d683b267c9acc192538bf9bb8bbd9c86552450b8eceebaeda4ab5164bfd7b51c"}},{"ruleId":"D2","level":"warning","message":{"text":"syncSettingsNavigation (cognitive 34): syncSettingsNavigation has cognitive complexity 34 (threshold 15). Drivers by points: if/else 13, boolean chains 11, ternaries 10. Most of this is not in the body itself: 15 of the 34 points are its own statements and the rest belongs to 13 function items inside it that branch (a function literal at line 774, setActive, updateActive, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/js/mobile/workflows.js"},"region":{"startLine":768}}}],"partialFingerprints":{"codehealthFindingId/v1":"180b29804672f4b9841d2b7c8acf0e0338346f6b7b7cc33013891c98ae3a47a0"}},{"ruleId":"D2","level":"warning","message":{"text":"(anonymous)::render (cognitive 34): (anonymous)::render has cognitive complexity 34 (threshold 15). Drivers by points: ternaries 26, if/else 6 (7 pts), boolean chains 1 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/common/js/component/authtree.js"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c857f56622875ed40fc57a259f5ad35ace2d7de3fe1b364c6e4de877c7909ad"}},{"ruleId":"D2","level":"warning","message":{"text":"buildLineContent (cognitive 34): buildLineContent has cognitive complexity 34 (threshold 15). Drivers by points: if/else 10 (19 pts), boolean chains 9, ternaries 3 (5 pts), loops 1 (nesting depth added 11). 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":"assets/static/codemirror/lib/codemirror.js"},"region":{"startLine":1734}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1e81a64717b3c0bac98ce5587416d65523cb4c005142174ed4b8905ac2f8570"}},{"ruleId":"D2","level":"warning","message":{"text":"coordsCharInner (cognitive 34): coordsCharInner has cognitive complexity 34 (threshold 15). Drivers by points: ternaries 12 (24 pts), if/else 6 (7 pts), boolean chains 3 (nesting depth added 13). Of this number, 31 points are the body\u0027s own statements and 3 belong to one function literal inside it that branches. 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":"assets/static/codemirror/lib/codemirror.js"},"region":{"startLine":2753}}}],"partialFingerprints":{"codehealthFindingId/v1":"31f1ed5896eb60662ef17886ca9ef6a39fb5c930f566b55ddf0cecadf6ef211c"}},{"ruleId":"D2","level":"warning","message":{"text":"endOfLine (cognitive 34): endOfLine has cognitive complexity 34 (threshold 15). Drivers by points: ternaries 7 (20 pts), if/else 6 (13 pts), boolean chains 1 (nesting depth added 20). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/static/codemirror/lib/codemirror.js"},"region":{"startLine":6884}}}],"partialFingerprints":{"codehealthFindingId/v1":"417f55e444c2d4f6dfce97870bf11de9cbef7fe587d919faa4772af236cd794b"}},{"ruleId":"D2","level":"warning","message":{"text":"menu.KTDrawer (cognitive 33): menu.KTDrawer has cognitive complexity 33 (threshold 15). Drivers by points: if/else 25 (27 pts), boolean chains 6 (nesting depth added 2). Most of this is not in the body itself: 2 of the 33 points are its own statements and the rest belongs to 10 function items inside it that branch (_getOption, _update, _handlers, \u2026). Those helpers are already separate functions, so extracting the branching again is not available. To reduce it, move them out of the body to the enclosing scope, where each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/js/menu.js"},"region":{"startLine":3267}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c50d892a752674a6c881a598c5ec13217f5b378640cf0196ffe1cbc3b5dc20b"}},{"ruleId":"D2","level":"warning","message":{"text":"Manage.set (cognitive 33): Manage.set has cognitive complexity 33 (threshold 15). Drivers by points: if/else 17 (19 pts), boolean chains 13, ternaries 1 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Controller/Admin/Api/Manage.php"},"region":{"startLine":370}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd4f46b8203dd1b8358782c6508f8eb0af4e8fc947a5847de06356070594bf92"}},{"ruleId":"D2","level":"warning","message":{"text":"SharedCurrency.config (cognitive 33): SharedCurrency.config has cognitive complexity 33 (threshold 15). Drivers by points: if/else 7 (16 pts), loops 5 (9 pts), boolean chains 4, error handling 2, ternaries 2 (nesting depth added 13). 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/Util/SharedCurrency.php"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"d86362107a831754fcbaa3e217486fc1899527178596f47c0a39ddfe8e1b020f"}},{"ruleId":"D2","level":"warning","message":{"text":"SkuStock.outages (cognitive 33): SkuStock.outages has cognitive complexity 33 (threshold 15). Drivers by points: if/else 9 (23 pts), loops 4 (7 pts), boolean chains 3 (nesting depth added 17). 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/Util/SkuStock.php"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"79922729cc15b004933c62f1457b416f265e4a13b8be3114b053c37fe2ce7bb6"}},{"ruleId":"D2","level":"warning","message":{"text":"flushReadyQueue (cognitive 33): flushReadyQueue has cognitive complexity 33 (threshold 15). Drivers by points: if/else 17 (22 pts), boolean chains 7, ternaries 3, loops 1 (nesting depth added 5). Most of this is not in the body itself: 3 of the 33 points are its own statements and the rest belongs to 10 function items inside it that branch (a function literal at line 139, execute, a function literal at line 95, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/common/js/ready.js"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"d027a9cecaa0ac006a7522fcc9eef718a329a5d2492aeadb7ce704eb31c96bb1"}},{"ruleId":"D2","level":"warning","message":{"text":"renderSelectionDock (cognitive 33): renderSelectionDock has cognitive complexity 33 (threshold 15). Drivers by points: if/else 15 (16 pts), boolean chains 14, ternaries 3 (nesting depth added 1). Most of this is not in the body itself: 15 of the 33 points are its own statements and the rest belongs to 13 function items inside it that branch (actionIcon, a function literal at line 2360, a function literal at line 2423, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/js/mobile/fallback.js"},"region":{"startLine":2329}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc601cb7a1fe60c2a4511d5a9056a9d36c36939ebe33681b80ed4f6b93203575"}},{"ruleId":"D2","level":"warning","message":{"text":"(anonymous)::(anonymous)::setSonNodeCheckBox (cognitive 33): (anonymous)::(anonymous)::setSonNodeCheckBox has cognitive complexity 33 (threshold 15). Drivers by points: if/else 10 (17 pts), ternaries 2 (8 pts), boolean chains 6, loops 1 (2 pts) (nesting depth added 14). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/common/js/component/tree.select.js"},"region":{"startLine":2542}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d510c5b9940ee5984af665d5e8d3487bbfd78c38047740f76717871e5a7e5bd"}},{"ruleId":"D2","level":"warning","message":{"text":"(anonymous)::(anonymous)::onMousedownNode::_docMouseUp::dropCallback (cognitive 33): (anonymous)::(anonymous)::onMousedownNode::_docMouseUp::dropCallback has cognitive complexity 33 (threshold 15). Drivers by points: if/else 10 (15 pts), loops 3 (11 pts), ternaries 2 (6 pts), boolean chains 1 (nesting depth added 17). 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":"assets/common/js/component/tree.select.js"},"region":{"startLine":3312}}}],"partialFingerprints":{"codehealthFindingId/v1":"df020b8aa48e5fb8be2eed238855ff897024a5521aa4e9ea10e7b231b32a11dc"}},{"ruleId":"D2","level":"warning","message":{"text":"pollContent (cognitive 33): pollContent has cognitive complexity 33 (threshold 15). Drivers by points: if/else 14 (15 pts), boolean chains 10, loops 4 (5 pts), ternaries 3 (nesting depth added 2). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/static/codemirror/lib/codemirror.js"},"region":{"startLine":9058}}}],"partialFingerprints":{"codehealthFindingId/v1":"495a22650952532e1e4dc9ad3d4578eb49b09890132829f151b18f8458f0cb92"}},{"ruleId":"D2","level":"warning","message":{"text":"renderRelated (cognitive 33): renderRelated has cognitive complexity 33 (threshold 15). Drivers by points: boolean chains 17, ternaries 7 (14 pts), if/else 2 (nesting depth added 7). 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":"assets/user/controller/user/ticket.detail.js"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"0be1109f52fa73104f4a4ae2a7f883220b37660a22158fe37526b3c9f9346cb3"}},{"ruleId":"D2","level":"warning","message":{"text":"(anonymous).inText (cognitive 33): (anonymous).inText has cognitive complexity 33 (threshold 15). Drivers by points: if/else 16 (25 pts), ternaries 2 (5 pts), boolean chains 3 (nesting depth added 12). 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":"assets/static/codemirror/mode/xml/xml.js"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c30c18ec418765f69c63973ca44450a2f5878306570e121f5bc3dbf936321ad"}},{"ruleId":"D2","level":"warning","message":{"text":"menu.KTMenu.initGlobalHandlers (cognitive 32): menu.KTMenu.initGlobalHandlers has cognitive complexity 32 (threshold 15). Drivers by points: if/else 11 (21 pts), boolean chains 7, loops 2 (4 pts) (nesting depth added 12). None of this is in the body itself: all 32 points belong to 7 function literals inside it that branch (lines 2400, 2480, 2458, \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":"assets/admin/js/menu.js"},"region":{"startLine":2398}}}],"partialFingerprints":{"codehealthFindingId/v1":"88be907813a51974958d899a4c67666895a8e2e53150a98f3d405fb9485d8f78"}},{"ruleId":"D2","level":"warning","message":{"text":"overlay.focusInvalid (cognitive 32): overlay.focusInvalid has cognitive complexity 32 (threshold 15). Drivers by points: boolean chains 14, if/else 12 (14 pts), ternaries 4 (nesting depth added 2). Of this number, 26 points are the body\u0027s own statements and 6 belong to 2 function items 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/js/mobile/overlay.js"},"region":{"startLine":1063}}}],"partialFingerprints":{"codehealthFindingId/v1":"691dfe5a03de65526dbea4fabfcb2a5a677d37fe714be088b1dd9b15a6280533"}},{"ruleId":"D2","level":"warning","message":{"text":"Form.getData (cognitive 32): Form.getData has cognitive complexity 32 (threshold 15). Drivers by points: if/else 9 (18 pts), boolean chains 12, match/switch 1, ternaries 1 (nesting depth added 9). Most of this is not in the body itself: 3 of the 32 points are its own statements and the rest belongs to 5 function literals inside it that branch (lines 992, 980, 982, \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":"assets/common/js/component/form.js"},"region":{"startLine":977}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6f0399b4dac29c06a2c20495bb224c17fb66d6fb0c4351fd6286590a192849f"}},{"ruleId":"D2","level":"warning","message":{"text":"css.CodeMirror.defineMode(\u0022css\u0022).tokenBase (cognitive 32): css.CodeMirror.defineMode(\u0022css\u0022).tokenBase has cognitive complexity 32 (threshold 15). Drivers by points: if/else 20 (25 pts), boolean chains 7 (nesting depth added 5). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/static/codemirror/mode/css/css.js"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"141813e298d7a0251e7ce9752d1dbcabc0690bc16323cb317bb12ccb403926ce"}},{"ruleId":"D2","level":"warning","message":{"text":"App.rebindPlan (cognitive 32): App.rebindPlan has cognitive complexity 32 (threshold 15). Drivers by points: ternaries 8 (16 pts), if/else 5 (8 pts), boolean chains 5, loops 2 (3 pts) (nesting depth added 12). 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/Service/Bind/App.php"},"region":{"startLine":367}}}],"partialFingerprints":{"codehealthFindingId/v1":"09490b9d68c0668e58c409795d50d47433482e2c09a7f27ceeb3021876918e00"}},{"ruleId":"D2","level":"warning","message":{"text":"(anonymous)::(anonymous)::expandCollapseNode (cognitive 32): (anonymous)::(anonymous)::expandCollapseNode has cognitive complexity 32 (threshold 15). Drivers by points: if/else 15 (24 pts), boolean chains 8 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/common/js/component/tree.select.js"},"region":{"startLine":1203}}}],"partialFingerprints":{"codehealthFindingId/v1":"7156277273a168790601fa270969a8d00fc1c18dbd787ad5afc6a0cbf8dfad5c"}},{"ruleId":"D2","level":"warning","message":{"text":"priceTemplate.applyModal (cognitive 31): priceTemplate.applyModal has cognitive complexity 31 (threshold 15). Drivers by points: ternaries 12 (14 pts), boolean chains 12, if/else 5 (nesting depth added 2). Most of this is not in the body itself: 1 of the 31 points is its own statement and the rest belongs to 5 function literals inside it that branch (lines 242, 262, 314, \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":"assets/admin/controller/shared/priceTemplate.js"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"48218ea885ba0b7ad40c8b2caa1c98ed140157ee4551683bd2b410e6aa84fa6a"}},{"ruleId":"D2","level":"warning","message":{"text":"javascript.CodeMirror.defineMode(\u0022javascript\u0022).indent (cognitive 31): javascript.CodeMirror.defineMode(\u0022javascript\u0022).indent has cognitive complexity 31 (threshold 15). Drivers by points: if/else 13 (15 pts), boolean chains 13, loops 2 (3 pts) (nesting depth added 3). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/static/codemirror/mode/javascript/javascript.js"},"region":{"startLine":895}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0c4b2f59f408bbc07254e5b26610be51dcddfa4de37dc376a25dca2a18582b7"}},{"ruleId":"D2","level":"warning","message":{"text":"Email.sendCaptcha (cognitive 31): Email.sendCaptcha has cognitive complexity 31 (threshold 15). Drivers by points: if/else 13 (30 pts), match/switch 1 (nesting depth added 17). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Service/Bind/Email.php"},"region":{"startLine":374}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ad3324efe4aa7bb76c5bbb19156117403a7777265af853c2487a8ccd372c417"}},{"ruleId":"D2","level":"warning","message":{"text":"Order.commodityHasPositiveValue (cognitive 31): Order.commodityHasPositiveValue has cognitive complexity 31 (threshold 15). Drivers by points: if/else 10 (21 pts), boolean chains 6, loops 3 (4 pts) (nesting depth added 12). 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/Service/Bind/Order.php"},"region":{"startLine":563}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd42cbbe12b89a82c15543a1243a33f71e8cc7cda373840cd5b04f6e9acf224e"}},{"ruleId":"D2","level":"warning","message":{"text":"(anonymous).attach.onKey (cognitive 31): (anonymous).attach.onKey has cognitive complexity 31 (threshold 15). Drivers by points: if/else 11 (18 pts), boolean chains 8, ternaries 1 (4 pts), match/switch 1 (nesting depth added 10). Of this number, 30 points are the body\u0027s own statements and 1 belongs to one function item inside it that branches. 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":"assets/admin/controller/trade/category-tree.js"},"region":{"startLine":1041}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e80710600dda0f59191eeba315ea026a414b97d084e1f25b51c3bd34e4863c8"}},{"ruleId":"D2","level":"warning","message":{"text":"#setField (cognitive 31): #setField has cognitive complexity 31 (threshold 15). Drivers by points: if/else 9 (15 pts), ternaries 3 (7 pts), boolean chains 5, error handling 1 (4 pts) (nesting depth added 13). Of this number, 27 points are the body\u0027s own statements and 4 belong to one function literal inside it that branches. 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":"assets/common/js/component/search.js"},"region":{"startLine":413}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb091c8796d437669d9100f8c26d4a35519521e7fb237e909516d003344423fb"}},{"ruleId":"D2","level":"warning","message":{"text":"onContextMenu (cognitive 31): onContextMenu has cognitive complexity 31 (threshold 15). Drivers by points: if/else 17 (19 pts), boolean chains 7, ternaries 3 (5 pts) (nesting depth added 4). Most of this is not in the body itself: 13 of the 31 points are its own statements and the rest belongs to 4 function items inside it that branch (rehide, prepareSelectAllHack, rehide::poll, \u2026). Those helpers are already separate functions, so extracting the branching again is not available. To reduce it, move them out of the body to the enclosing scope, where each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/static/codemirror/lib/codemirror.js"},"region":{"startLine":9608}}}],"partialFingerprints":{"codehealthFindingId/v1":"b76174aafc175c54f133c2ebafb96c7dbd5bb677db575384559e2b692ee54e3f"}},{"ruleId":"D2","level":"warning","message":{"text":"(anonymous).tokenBase (cognitive 31): (anonymous).tokenBase has cognitive complexity 31 (threshold 15). Drivers by points: if/else 20 (25 pts), boolean chains 6 (nesting depth added 5). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/static/codemirror/mode/css/css.js"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb242a8472f721ffb9cdf9a35184596afe5ad9e0a54458ada352415e70463e7c"}},{"ruleId":"D2","level":"warning","message":{"text":"Install.html.renderDbResult (cognitive 30): Install.html.renderDbResult has cognitive complexity 30 (threshold 15). Drivers by points: if/else 11 (16 pts), ternaries 2 (7 pts), boolean chains 5, match/switch 1 (2 pts) (nesting depth added 11). 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/View/Install.html"},"region":{"startLine":1175}}}],"partialFingerprints":{"codehealthFindingId/v1":"72d80485c35b3b269046ad380e563cae27049237a5e1d7d72a0d435ec1be156b"}},{"ruleId":"D2","level":"warning","message":{"text":"card.uploadCard (cognitive 30): card.uploadCard has cognitive complexity 30 (threshold 15). Drivers by points: if/else 7 (10 pts), loops 3 (10 pts), ternaries 7, boolean chains 3 (nesting depth added 10). Most of this is not in the body itself: 5 of the 30 points are its own statements and the rest belongs to 5 function items inside it that branch (a function literal at line 139, a function literal at line 213, refresh, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/trade/card.js"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"df48a390cc962c87dc98070d2b9578d429e114f539e2ebda8fc9d44aa4478cba"}},{"ruleId":"D2","level":"warning","message":{"text":"order.$(\u0022.btn-app-export\u0022).off().on() (cognitive 30): order.$(\u0022.btn-app-export\u0022).off().on() has cognitive complexity 30 (threshold 15). Drivers by points: boolean chains 14, if/else 11 (12 pts), ternaries 3, error handling 1 (nesting depth added 1). None of this is in the body itself: all 30 points belong to 2 function literals inside it that branch (lines 785, 828). 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":"assets/admin/controller/trade/order.js"},"region":{"startLine":743}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e333533d9728da92df987f5e3c7113a5565478e284b29a69d486698a9fa8f36"}},{"ruleId":"D2","level":"warning","message":{"text":"codemirror.updateHeightsInViewport (cognitive 30): codemirror.updateHeightsInViewport has cognitive complexity 30 (threshold 15). Drivers by points: if/else 10 (22 pts), loops 2 (5 pts), boolean chains 3 (nesting depth added 15). 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":"assets/static/codemirror/lib/codemirror.js"},"region":{"startLine":3358}}}],"partialFingerprints":{"codehealthFindingId/v1":"527b091c3c14b8ae2643af715b930791a548648cab192bb1d8cf9cd6795f7210"}},{"ruleId":"D2","level":"warning","message":{"text":"xml.CodeMirror.defineMode(\u0022xml\u0022).inText (cognitive 30): xml.CodeMirror.defineMode(\u0022xml\u0022).inText has cognitive complexity 30 (threshold 15). Drivers by points: if/else 16 (25 pts), boolean chains 3, ternaries 1 (2 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/static/codemirror/mode/xml/xml.js"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"c473db9e2faa0fad0ae287df1f622a813c911f23a5f9c3ad4f5b18af64677fae"}},{"ruleId":"D2","level":"warning","message":{"text":"Plugin.getPlugins (cognitive 30): Plugin.getPlugins has cognitive complexity 30 (threshold 15). Drivers by points: if/else 9 (22 pts), loops 2 (4 pts), boolean chains 2, ternaries 2 (nesting depth added 15). 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/Controller/Admin/Api/Plugin.php"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"613060635b9b348e65ed424a8bf392045811ee1bb79b4c639fbbd91c3dd99aa1"}},{"ruleId":"D2","level":"warning","message":{"text":"Query.save (cognitive 30): Query.save has cognitive complexity 30 (threshold 15). Drivers by points: if/else 11 (19 pts), boolean chains 5, loops 4 (5 pts), ternaries 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Service/Bind/Query.php"},"region":{"startLine":284}}}],"partialFingerprints":{"codehealthFindingId/v1":"93052ad9bbf524750859ead6b2240ced83ab9464706bbb21a9645dbd8a572dc0"}},{"ruleId":"D2","level":"warning","message":{"text":"Shop.getItem (cognitive 30): Shop.getItem has cognitive complexity 30 (threshold 15). Drivers by points: if/else 17 (22 pts), loops 1 (4 pts), boolean chains 3, error handling 1 (nesting depth added 8). 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/Service/Bind/Shop.php"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"45369f7a7db644243309214b5d6eac5a81fe20c39e95f58726920666f5297da8"}},{"ruleId":"D2","level":"warning","message":{"text":"UploadPurge.stageForDeletion (cognitive 30): UploadPurge.stageForDeletion has cognitive complexity 30 (threshold 15). Drivers by points: if/else 8 (15 pts), boolean chains 12, loops 2, error handling 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Util/UploadPurge.php"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"f31a3fe742df02b789a8d006429becfbdebbe179d253ae59631ff2ab630cf248"}},{"ruleId":"D2","level":"warning","message":{"text":"previewMessage (cognitive 30): previewMessage has cognitive complexity 30 (threshold 15). Drivers by points: if/else 13, boolean chains 11, ternaries 5 (6 pts) (nesting depth added 1). Most of this is not in the body itself: 10 of the 30 points are its own statements and the rest belongs to 7 function items inside it that branch (a function literal at line 238, end, success, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/common/js/component.js"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e2d3bc76e7b0229a741f0e0169c8998b67be3542759f173429e15b3d92e9906"}},{"ruleId":"D2","level":"warning","message":{"text":"refreshMessageCenter::success (cognitive 30): refreshMessageCenter::success has cognitive complexity 30 (threshold 15). Drivers by points: boolean chains 11, if/else 8 (10 pts), ternaries 9 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/user/js/glass.js"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"f729e75de50405efcf24d2403c919657c683e3bbbdb7ae33877922b118b4bf2a"}},{"ruleId":"D2","level":"warning","message":{"text":"presentPopup (cognitive 30): presentPopup has cognitive complexity 30 (threshold 15). Drivers by points: if/else 17 (25 pts), boolean chains 22, ternaries 11, error handling 4 (nesting depth added 8). 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/js/mobile/overlay.js"},"region":{"startLine":1130}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6ca2553b7083365dc0142fad9a638874085350d523bb1f5244617790a17100d"}},{"ruleId":"D2","level":"warning","message":{"text":"overlay.firstInvalidField (cognitive 29): overlay.firstInvalidField has cognitive complexity 29 (threshold 15). Drivers by points: if/else 4 (12 pts), boolean chains 6, error handling 2 (5 pts), loops 2 (3 pts), ternaries 1 (3 pts) (nesting depth added 14). 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":"assets/admin/js/mobile/overlay.js"},"region":{"startLine":1041}}}],"partialFingerprints":{"codehealthFindingId/v1":"91f3fba1e9370ef9cd47f536baf7add24c22cc7d8bb51a3b4fb66b313221c2c4"}},{"ruleId":"D2","level":"warning","message":{"text":"python.CodeMirror.defineMode(\u0022python\u0022)::tokenLexer (cognitive 29): python.CodeMirror.defineMode(\u0022python\u0022)::tokenLexer has cognitive complexity 29 (threshold 15). Drivers by points: if/else 13 (17 pts), boolean chains 7, ternaries 2 (5 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: 3 other methods here (python.CodeMirror.defineMode(\u0022python\u0022)::tokenBase, python.CodeMirror.defineMode(\u0022python\u0022)::tokenBaseInner, python.CodeMirror.defineMode(\u0022python\u0022)::formatStringFactory::tokenString) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 4 times rather than 4 independent problems. Splitting this body alone leaves the other 3 exactly as they are. Where these are variations on one operation, the change that clears all 4 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/static/codemirror/mode/python/python.js"},"region":{"startLine":300}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3cd9736c7b1ea73dadaddfa517ce3e50bc664e96152b610dcb5e2aaf93be792"}},{"ruleId":"D2","level":"warning","message":{"text":"passkey.add (cognitive 29): passkey.add has cognitive complexity 29 (threshold 15). Drivers by points: if/else 12 (15 pts), boolean chains 10, error handling 2, ternaries 1 (2 pts) (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/user/controller/security/passkey.js"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"194c6867b89ae570d98f3b8738c30b60622b1132cd34a1d90ea1c45ddd08fbed"}},{"ruleId":"D2","level":"warning","message":{"text":"App.plugins (cognitive 29): App.plugins has cognitive complexity 29 (threshold 15). Drivers by points: if/else 12 (24 pts), boolean chains 4, loops 1 (nesting depth added 12). 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/Controller/Admin/Api/App.php"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ff21c8809fc5cd36e4ad93010cfa3db273b6b5060c51a0e571ca029ea60a838"}},{"ruleId":"D2","level":"warning","message":{"text":"Category.status (cognitive 29): Category.status has cognitive complexity 29 (threshold 15). Drivers by points: if/else 6 (13 pts), loops 5 (11 pts), boolean chains 5 (nesting depth added 13). 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/Controller/Admin/Api/Category.php"},"region":{"startLine":710}}}],"partialFingerprints":{"codehealthFindingId/v1":"05ff38f09659b7cba9eabc557504ecef9554ece674b941e1709d0e120577316d"}},{"ruleId":"D2","level":"warning","message":{"text":"Pay.getPluginInfo (cognitive 29): Pay.getPluginInfo has cognitive complexity 29 (threshold 15). Drivers by points: ternaries 6 (13 pts), if/else 5 (11 pts), loops 1 (3 pts), boolean chains 2 (nesting depth added 15). 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/Service/Bind/Pay.php"},"region":{"startLine":257}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c06e6b17fb72d0d24287fb548a85b4aa30f5e8fecb188a0ac8f8bb0bbcab589"}},{"ruleId":"D2","level":"warning","message":{"text":"configureShell (cognitive 29): configureShell has cognitive complexity 29 (threshold 15). Drivers by points: if/else 10 (17 pts), boolean chains 7, error handling 2 (4 pts), ternaries 1 (nesting depth added 9). Most of this is not in the body itself: 10 of the 29 points are its own statements and the rest belongs to 4 function items inside it that branch (shellClickHandler, a function literal at line 210, a function literal at line 214, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/config/wiki.mobile.js"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cf8337af05c32d235d78026ca051f78e58fc82c86934f8372815ecdfa15f5bc"}},{"ruleId":"D2","level":"warning","message":{"text":"click (cognitive 29): click has cognitive complexity 29 (threshold 15). Drivers by points: if/else 15 (17 pts), boolean chains 6, ternaries 3 (4 pts), other 2 (nesting depth added 3). Most of this is not in the body itself: 1 of the 29 points is its own statement and the rest belongs to 16 function items inside it that branch ((anonymous)::submit, a function literal at line 1646, (anonymous)::renderComplete, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/shared/store.js"},"region":{"startLine":1570}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7eff58b52867356a6a321077dc11108aa2a2b69ccb589147c07fdd8bbd19bfd"}},{"ruleId":"D2","level":"warning","message":{"text":"addWidget (cognitive 29): addWidget has cognitive complexity 29 (threshold 15). Drivers by points: ternaries 12 (14 pts), if/else 6 (7 pts), boolean chains 6, match/switch 1, other 1 (nesting depth added 3). Of this number, 15 points are the body\u0027s own statements and 14 belong to 11 function items 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":"assets/common/js/component/form.js"},"region":{"startLine":474}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cbf61b8665b8f3acdf5c94088effd263bf4ce519a4b55314cd522ccfbc1776a"}},{"ruleId":"D2","level":"warning","message":{"text":"#getSelectionRowState (cognitive 29): #getSelectionRowState has cognitive complexity 29 (threshold 15). Drivers by points: if/else 7 (10 pts), boolean chains 9, error handling 3 (5 pts), ternaries 2 (3 pts), other 2 (nesting depth added 6). Of this number, 26 points are the body\u0027s own statements and 3 belong to 2 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/common/js/component/table.js"},"region":{"startLine":806}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbf20651fd58b0ba2f0791a8ec06c1ffb2cf1980c646e7e0416b48ab6aae33ca"}},{"ruleId":"D2","level":"warning","message":{"text":"(anonymous)::(anonymous)::_eventProxy (cognitive 29): (anonymous)::(anonymous)::_eventProxy has cognitive complexity 29 (threshold 15). Drivers by points: if/else 15 (22 pts), boolean chains 4, match/switch 2 (3 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/common/js/component/tree.select.js"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d8659f154ea5ab4fca54a315f3a88e40be68f3b43ef3900a14101cfd9d4e651"}},{"ruleId":"D2","level":"warning","message":{"text":"(anonymous)::(anonymous)::onMousedownNode::_docMouseUp (cognitive 29): (anonymous)::(anonymous)::onMousedownNode::_docMouseUp has cognitive complexity 29 (threshold 15). Drivers by points: if/else 13 (17 pts), boolean chains 7, ternaries 2 (4 pts), loops 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/common/js/component/tree.select.js"},"region":{"startLine":3266}}}],"partialFingerprints":{"codehealthFindingId/v1":"948013202a962948533306ac0507729bc8703232def0219fe236f79bf433c4a9"}},{"ruleId":"D2","level":"warning","message":{"text":"conflictingCollapsedRange (cognitive 29): conflictingCollapsedRange has cognitive complexity 29 (threshold 15). Drivers by points: if/else 4 (10 pts), boolean chains 9, ternaries 2 (8 pts), loops 1 (2 pts) (nesting depth added 13). 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":"assets/static/codemirror/lib/codemirror.js"},"region":{"startLine":1535}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8a22d369b1df8777d225d45ce735456846238ac8ee9f99d65e3e0f26c297032"}},{"ruleId":"D2","level":"warning","message":{"text":"recharge.order.$(\u0022.btn-app-export\u0022).off().on() (cognitive 28): recharge.order.$(\u0022.btn-app-export\u0022).off().on() has cognitive complexity 28 (threshold 15). Drivers by points: boolean chains 13, if/else 11 (12 pts), ternaries 2, error handling 1 (nesting depth added 1). None of this is in the body itself: all 28 points belong to 2 function literals inside it that branch (lines 271, 314). 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":"assets/admin/controller/user/recharge.order.js"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f63e43c5f897d402f63c8bde11a3cf01f502c6020b5da869aecfbd5ddf896f5"}},{"ruleId":"D2","level":"warning","message":{"text":"workflows.markSemanticPage (cognitive 28): workflows.markSemanticPage has cognitive complexity 28 (threshold 15). Drivers by points: boolean chains 14, ternaries 6 (13 pts), if/else 1 (nesting depth added 7). Of this number, 15 points are the body\u0027s own statements and 13 belong to 2 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":"assets/admin/js/mobile/workflows.js"},"region":{"startLine":687}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1f1faa165a57ab598d6835fb331fe5ee2b3afd9e1e53914afb890cf290df32b"}},{"ruleId":"D2","level":"warning","message":{"text":"App.getUpdates (cognitive 28): App.getUpdates has cognitive complexity 28 (threshold 15). Drivers by points: if/else 7 (22 pts), ternaries 2 (3 pts), match/switch 1 (2 pts), loops 1 (nesting depth added 17). 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/Controller/Admin/Api/App.php"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2f650139940b8a7062f5fb39b24fd65ad01d938739e50ad5555c9841f35ffdb"}},{"ruleId":"D2","level":"warning","message":{"text":"Message.sendEmailBatch (cognitive 28): Message.sendEmailBatch has cognitive complexity 28 (threshold 15). Drivers by points: if/else 8 (15 pts), ternaries 2 (6 pts), error handling 2 (4 pts), boolean chains 2, loops 1 (nesting depth added 13). 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/Service/Bind/Message.php"},"region":{"startLine":373}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e9ec7ff3abfac9819d207ff3e37696a89301f139b4dafa0144b43717b4080cc"}},{"ruleId":"D2","level":"warning","message":{"text":"Client.headerIpCandidates (cognitive 28): Client.headerIpCandidates has cognitive complexity 28 (threshold 15). Drivers by points: if/else 10 (18 pts), loops 3 (6 pts), boolean chains 2, ternaries 1 (2 pts) (nesting depth added 12). 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/Util/Client.php"},"region":{"startLine":346}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9dfe2e3e1c1e661f911ea1e4dae0ffcd7098ff9de80b9c20636b163ea660a94"}},{"ruleId":"D2","level":"warning","message":{"text":"Lang.scanExtensionPacks (cognitive 28): Lang.scanExtensionPacks has cognitive complexity 28 (threshold 15). Drivers by points: if/else 6 (16 pts), loops 4 (7 pts), boolean chains 3, ternaries 1 (2 pts) (nesting depth added 14). 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":"kernel/Util/Lang.php"},"region":{"startLine":741}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fed1ee55febaf9df6c4156e77bb7d518c964196db62343a7e8345d101926c20"}},{"ruleId":"D2","level":"warning","message":{"text":"confirmPayDelete::done (cognitive 28): confirmPayDelete::done has cognitive complexity 28 (threshold 15). Drivers by points: boolean chains 19, if/else 5, ternaries 3 (4 pts) (nesting depth added 1). 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":"assets/admin/controller/pay/api.js"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"bff245a2f8b88531b6cbd2dc50211351597a5f5a2aed61cb90ac3aa70fb5da51"}},{"ruleId":"D2","level":"warning","message":{"text":"modal (cognitive 28): modal has cognitive complexity 28 (threshold 15). Drivers by points: if/else 13 (14 pts), ternaries 5 (6 pts), loops 2 (5 pts), boolean chains 2, other 1 (nesting depth added 5). Most of this is not in the body itself: 13 of the 28 points are its own statements and the rest belongs to 9 function items inside it that branch (change, fillConfigs, change, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/pay/api.js"},"region":{"startLine":496}}}],"partialFingerprints":{"codehealthFindingId/v1":"74d2685d09ab92619e912bad13e3c3d6761f0e1661040310ab4249d59b27e767"}},{"ruleId":"D2","level":"warning","message":{"text":"done (cognitive 28): done has cognitive complexity 28 (threshold 15). Drivers by points: if/else 12 (13 pts), boolean chains 11, other 2, ternaries 2 (nesting depth added 1). Most of this is not in the body itself: 3 of the 28 points are its own statements and the rest belongs to 26 function items inside it that branch (formatter, formatter, click, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/store/developer.js"},"region":{"startLine":621}}}],"partialFingerprints":{"codehealthFindingId/v1":"550db384e365b211da4d99321993e21e902c9883cc748b5858f4595f01c4de4a"}},{"ruleId":"D2","level":"warning","message":{"text":"syncContextNavigation (cognitive 28): syncContextNavigation has cognitive complexity 28 (threshold 15). Drivers by points: if/else 12 (18 pts), boolean chains 6, ternaries 3 (4 pts) (nesting depth added 7). Of this number, 14 points are the body\u0027s own statements and 14 belong to 3 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":"assets/admin/js/mobile/workflows.js"},"region":{"startLine":874}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c9b3357a356f28f0fcbd97b77011bd2021842d090cadd4e471a0f59c535b2a6"}},{"ruleId":"D2","level":"warning","message":{"text":"(anonymous) (cognitive 28): (anonymous) has cognitive complexity 28 (threshold 15). Drivers by points: if/else 13 (20 pts), boolean chains 6, ternaries 2 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/user/controller/user/message.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"77715ce4feb5e7dc5c4a19e6de82a4d098b1f11193289153751151c997369597"}},{"ruleId":"D2","level":"warning","message":{"text":"(anonymous)::tokenLexer (cognitive 28): (anonymous)::tokenLexer has cognitive complexity 28 (threshold 15). Drivers by points: if/else 13 (17 pts), boolean chains 7, ternaries 2 (4 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/static/codemirror/mode/python/python.js"},"region":{"startLine":300}}}],"partialFingerprints":{"codehealthFindingId/v1":"b25bf6f375bd9b9f05c41ea04efe0b3f905e10573e8c404f71c24a8ea08aca88"}},{"ruleId":"D2","level":"warning","message":{"text":"card.$(\u0022.btn-app-export\u0022).off().on() (cognitive 27): card.$(\u0022.btn-app-export\u0022).off().on() has cognitive complexity 27 (threshold 15). Drivers by points: boolean chains 12, if/else 7 (8 pts), ternaries 5 (6 pts), error handling 1 (nesting depth added 2). None of this is in the body itself: all 27 points belong to 2 function literals inside it that branch (lines 656, 683). 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":"assets/admin/controller/trade/card.js"},"region":{"startLine":611}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d8fe7f40f96e13bdd27f47522fa2b9861d60c564deb1b2f9c3e24c29eaaf992"}},{"ruleId":"D2","level":"warning","message":{"text":"codemirror.removeReadOnlyRanges (cognitive 27): codemirror.removeReadOnlyRanges has cognitive complexity 27 (threshold 15). Drivers by points: if/else 6 (14 pts), boolean chains 8, loops 3 (5 pts) (nesting depth added 10). Of this number, 18 points are the body\u0027s own statements and 9 belong to one function literal inside it that branches. 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":"assets/static/codemirror/lib/codemirror.js"},"region":{"startLine":1445}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc93b96e33754edf6ccdeece63d32fe62cf2dc980e0a797ace7a1927c9af8d46"}},{"ruleId":"D2","level":"warning","message":{"text":"jquery.pjax.onPjaxPopstate (cognitive 27): jquery.pjax.onPjaxPopstate has cognitive complexity 27 (threshold 15). Drivers by points: if/else 11 (23 pts), boolean chains 4 (nesting depth added 12). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/static/jquery.pjax.js"},"region":{"startLine":424}}}],"partialFingerprints":{"codehealthFindingId/v1":"e99f616c3d6dec618c11252c863403347b808e4c1e91b2f08809b7e9abf2d513"}},{"ruleId":"D2","level":"warning","message":{"text":"Card.edit (cognitive 27): Card.edit has cognitive complexity 27 (threshold 15). Drivers by points: if/else 13 (18 pts), boolean chains 7, loops 2 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Controller/Admin/Api/Card.php"},"region":{"startLine":630}}}],"partialFingerprints":{"codehealthFindingId/v1":"8091287c27c622b070c555563125bf5fa44784fc7e526d6fb6d060e665943575"}},{"ruleId":"D2","level":"warning","message":{"text":"App.updatePlugin (cognitive 27): App.updatePlugin has cognitive complexity 27 (threshold 15). Drivers by points: if/else 13 (16 pts), error handling 3 (6 pts), ternaries 2 (4 pts), loops 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Service/Bind/App.php"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"fda65846ca56cea4837196989e12e940aeb180ec15f4f01943af6135d069f9e1"}},{"ruleId":"D2","level":"warning","message":{"text":"Ticket.delete (cognitive 27): Ticket.delete has cognitive complexity 27 (threshold 15). Drivers by points: if/else 11 (20 pts), loops 4 (6 pts), error handling 1 (nesting depth added 11). 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/Service/Bind/Ticket.php"},"region":{"startLine":1149}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8931f2579a8438f62ae155338d9841116d6b529d51d12b87339d0e4432472fc"}},{"ruleId":"D2","level":"warning","message":{"text":"bind (cognitive 27): bind has cognitive complexity 27 (threshold 15). Drivers by points: if/else 8 (11 pts), ternaries 6 (10 pts), boolean chains 5, loops 1 (nesting depth added 7). Most of this is not in the body itself: 10 of the 27 points are its own statements and the rest belongs to 6 function literals inside it that branch (lines 353, 382, 330, \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":"assets/common/js/ready.js"},"region":{"startLine":328}}}],"partialFingerprints":{"codehealthFindingId/v1":"1682bfbac2117e594a8aec548e5cc399dc26651381d286f7726e1aff84664f5c"}},{"ruleId":"D2","level":"warning","message":{"text":"(anonymous)::submit (cognitive 27): (anonymous)::submit has cognitive complexity 27 (threshold 15). Drivers by points: boolean chains 10, if/else 9 (10 pts), other 3, ternaries 3, error handling 1 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/trade/order.js"},"region":{"startLine":785}}}],"partialFingerprints":{"codehealthFindingId/v1":"49bf26fe8b2eabd570769c0b4bac802772db69d0470a0709e6a1d8203dbace7f"}},{"ruleId":"D2","level":"warning","message":{"text":"click (cognitive 27): click has cognitive complexity 27 (threshold 15). Drivers by points: boolean chains 11, ternaries 8, if/else 7, other 1. Most of this is not in the body itself: 8 of the 27 points are its own statements and the rest belongs to 10 function items inside it that branch (success, yes, a function literal at line 141, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/user/cash.js"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"4094ec20455558d93580e667939d14f73607c5e43a8375d80f1176a536804cb7"}},{"ruleId":"D2","level":"warning","message":{"text":"(anonymous)::submit (cognitive 27): (anonymous)::submit has cognitive complexity 27 (threshold 15). Drivers by points: boolean chains 11, if/else 9 (10 pts), other 3, ternaries 2, error handling 1 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/user/recharge.order.js"},"region":{"startLine":271}}}],"partialFingerprints":{"codehealthFindingId/v1":"932fe0c32886124bab13625dc2e5f13152596fe543fabdbbc6382fe34f9dcf00"}},{"ruleId":"D2","level":"warning","message":{"text":"treeMetadata (cognitive 27): treeMetadata has cognitive complexity 27 (threshold 15). Drivers by points: if/else 11 (13 pts), boolean chains 10, ternaries 4 (nesting depth added 2). Most of this is not in the body itself: 5 of the 27 points are its own statements and the rest belongs to 6 function items inside it that branch (a function literal at line 2556, resolveDepth, a function literal at line 2582, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/js/mobile/fallback.js"},"region":{"startLine":2547}}}],"partialFingerprints":{"codehealthFindingId/v1":"e926bb8e0b66c584e747c35a89df541963dad2eabd6248f080ecb7c46a071d4e"}},{"ruleId":"D2","level":"warning","message":{"text":"markedSpansAfter (cognitive 27): markedSpansAfter has cognitive complexity 27 (threshold 15). Drivers by points: ternaries 4 (15 pts), boolean chains 6, if/else 2 (4 pts), loops 1 (2 pts) (nesting depth added 14). 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":"assets/static/codemirror/lib/codemirror.js"},"region":{"startLine":1352}}}],"partialFingerprints":{"codehealthFindingId/v1":"820dfd111a5a7da340e431b5adef60fbfd457cd8468ea9cd9aa6945207632877"}},{"ruleId":"D2","level":"warning","message":{"text":"init (cognitive 27): init has cognitive complexity 27 (threshold 15). Drivers by points: if/else 17 (23 pts), boolean chains 3, loops 1 (nesting depth added 6). None of this is in the body itself: all 27 points belong to 11 function items inside it that branch (onCopyCut, belongsToInput, a function literal at line 8824, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/static/codemirror/lib/codemirror.js"},"region":{"startLine":8808}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9a8cee84708875e68fbeb1a2568c1402e53452a5e05fc702ae968bb99e1d226"}},{"ruleId":"D2","level":"warning","message":{"text":"showPrimarySelection (cognitive 27): showPrimarySelection has cognitive complexity 27 (threshold 15). Drivers by points: if/else 10 (14 pts), boolean chains 10, ternaries 1 (2 pts), error handling 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/static/codemirror/lib/codemirror.js"},"region":{"startLine":8917}}}],"partialFingerprints":{"codehealthFindingId/v1":"95369aa845433d81fa4b9f4367dc04eec812e439881a198cfde9935d2380cf5a"}},{"ruleId":"D2","level":"warning","message":{"text":"index.renderChart (cognitive 26): index.renderChart has cognitive complexity 26 (threshold 15). Drivers by points: ternaries 13 (16 pts), boolean chains 5, if/else 5 (nesting depth added 3). Of this number, 15 points are the body\u0027s own statements and 11 belong to 5 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/dashboard/index.js"},"region":{"startLine":298}}}],"partialFingerprints":{"codehealthFindingId/v1":"65ef767965eb98cc1a0abe2a5494a1341f2b0a8c0f98cdf8c9adc7a82e521890"}},{"ruleId":"D2","level":"warning","message":{"text":"fallback.detailContent (cognitive 26): fallback.detailContent has cognitive complexity 26 (threshold 15). Drivers by points: if/else 13 (14 pts), boolean chains 9, error handling 1 (2 pts), ternaries 1 (nesting depth added 2). Most of this is not in the body itself: 10 of the 26 points are its own statements and the rest belongs to 3 function literals inside it that branch (lines 1417, 1414, 1424). 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":"assets/admin/js/mobile/fallback.js"},"region":{"startLine":1395}}}],"partialFingerprints":{"codehealthFindingId/v1":"9be4d2f13fb0a8ad2fbb8528c709856e1eb894b9b82faf33891b130346c96492"}},{"ruleId":"D2","level":"warning","message":{"text":"codemirror.copyHistoryArray (cognitive 26): codemirror.copyHistoryArray has cognitive complexity 26 (threshold 15). Drivers by points: if/else 4 (16 pts), loops 3 (7 pts), ternaries 1 (3 pts) (nesting depth added 18). 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":"assets/static/codemirror/lib/codemirror.js"},"region":{"startLine":5040}}}],"partialFingerprints":{"codehealthFindingId/v1":"920eff44ab413cc32dbd567ddf246e9024f403b23d22d0f9055cc4ecbf2294c7"}},{"ruleId":"D2","level":"warning","message":{"text":"message.renderCartoonMobile (cognitive 26): message.renderCartoonMobile has cognitive complexity 26 (threshold 15). Drivers by points: boolean chains 10, ternaries 7 (10 pts), if/else 6 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/user/controller/user/message.js"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"36df0f575a58cc68045d69e80845899265c98ae88079453db5af0509d131cf35"}},{"ruleId":"D2","level":"warning","message":{"text":"Card.cardExportQuery (cognitive 26): Card.cardExportQuery has cognitive complexity 26 (threshold 15). Drivers by points: if/else 7 (14 pts), boolean chains 6, loops 4, ternaries 1 (2 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Controller/Admin/Api/Card.php"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1963beb6a633e22b6ef5f435e29887df01c3159ca9806566b66eccd037ef4cc"}},{"ruleId":"D2","level":"warning","message":{"text":"Config.consumeTestSendQuota (cognitive 26): Config.consumeTestSendQuota has cognitive complexity 26 (threshold 15). Drivers by points: if/else 7 (13 pts), boolean chains 6, loops 4, ternaries 2 (3 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Controller/Admin/Api/Config.php"},"region":{"startLine":580}}}],"partialFingerprints":{"codehealthFindingId/v1":"69c2a483262708418a4ff5a44e3fdf6231b95153442760be91cad35b00846ebc"}},{"ruleId":"D2","level":"warning","message":{"text":"CommodityOrder.data (cognitive 26): CommodityOrder.data has cognitive complexity 26 (threshold 15). Drivers by points: if/else 8 (15 pts), ternaries 3 (5 pts), loops 3 (4 pts), boolean chains 2 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Controller/User/Api/CommodityOrder.php"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a63723593a7432bd3206623a8b029b17e4199ecaf4c9b6dd6e3f11f0729e39c"}},{"ruleId":"D2","level":"warning","message":{"text":"Currency.convertAll (cognitive 26): Currency.convertAll has cognitive complexity 26 (threshold 15). Drivers by points: if/else 9 (11 pts), boolean chains 6, loops 3 (4 pts), ternaries 2 (4 pts), error handling 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Service/Bind/Currency.php"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"68cbefb5752ded9960eb131071061dabd165b381fc3c6de5041fe457c7d51910"}},{"ruleId":"D2","level":"warning","message":{"text":"Image.downloadRemoteImage (cognitive 26): Image.downloadRemoteImage has cognitive complexity 26 (threshold 15). Drivers by points: if/else 13 (19 pts), ternaries 2 (4 pts), boolean chains 2, error handling 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Service/Bind/Image.php"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"e56d4f5db82ce8b21d931d731989d4302fa6a50a5ca6368ca9a30b431d7670ed"}},{"ruleId":"D2","level":"warning","message":{"text":"GridTracks.track (cognitive 26): GridTracks.track has cognitive complexity 26 (threshold 15). Drivers by points: if/else 10 (16 pts), boolean chains 5, ternaries 2 (3 pts), loops 1 (2 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kernel/Waf/Css/GridTracks.php"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ac126688f691b7f73ad9b07b1fae81477f2a1cc394ea65fbff478481cf1a6f4"}},{"ruleId":"D2","level":"warning","message":{"text":"KTUtil.slide (cognitive 26): KTUtil.slide has cognitive complexity 26 (threshold 15). Drivers by points: if/else 13 (19 pts), boolean chains 6, ternaries 1 (nesting depth added 6). Of this number, 22 points are the body\u0027s own statements and 4 belong to 10 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":"assets/admin/js/menu.js"},"region":{"startLine":896}}}],"partialFingerprints":{"codehealthFindingId/v1":"35476e2eda82948362a9f23f0d9e7884d5ef949ba07de29a9645e16c8d89a5a8"}},{"ruleId":"D2","level":"warning","message":{"text":"validateCompose (cognitive 26): validateCompose has cognitive complexity 26 (threshold 15). Drivers by points: if/else 16, boolean chains 6, ternaries 2 (4 pts) (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/user/message.js"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2ae4e9c5988e253100650c7f4cecd8661773dd3ea0da5c75cc1c0125bb4c9b4"}},{"ruleId":"D2","level":"warning","message":{"text":"renderCardSubtitle (cognitive 26): renderCardSubtitle has cognitive complexity 26 (threshold 15). Drivers by points: if/else 10 (14 pts), boolean chains 9, ternaries 1 (2 pts), error handling 1 (nesting depth added 5). Of this number, 25 points are the body\u0027s own statements and 1 belongs to 2 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":"assets/admin/js/mobile/fallback.js"},"region":{"startLine":655}}}],"partialFingerprints":{"codehealthFindingId/v1":"3eb6fbf537cfad91069a07336bfa7ba332a5f4f91cd894644d5f653df81bcc3e"}},{"ruleId":"D2","level":"warning","message":{"text":"runMode (cognitive 26): runMode has cognitive complexity 26 (threshold 15). Drivers by points: if/else 8 (15 pts), loops 3 (5 pts), ternaries 1 (4 pts), boolean chains 2 (nesting depth added 12). 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":"assets/static/codemirror/lib/codemirror.js"},"region":{"startLine":1211}}}],"partialFingerprints":{"codehealthFindingId/v1":"e24663e1054bbda1cf85503c37611d0c518954421750b7f634e856604407c791"}},{"ruleId":"D2","level":"warning","message":{"text":"highlightWorker (cognitive 26): highlightWorker has cognitive complexity 26 (threshold 15). Drivers by points: if/else 10 (14 pts), boolean chains 4, loops 2 (4 pts), ternaries 2 (4 pts) (nesting depth added 8). Most of this is not in the body itself: 2 of the 26 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 3998, 4027). 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":"assets/static/codemirror/lib/codemirror.js"},"region":{"startLine":3991}}}],"partialFingerprints":{"codehealthFindingId/v1":"6063d57e9121ebc9806cba8802fda3febe3c0843ce9dfb2214c4a1ab83fc65ef"}},{"ruleId":"D2","level":"warning","message":{"text":"render (cognitive 26): render has cognitive complexity 26 (threshold 15). Drivers by points: ternaries 7 (12 pts), boolean chains 7, if/else 6 (7 pts) (nesting depth added 6). Of this number, 15 points are the body\u0027s own statements and 11 belong to 2 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":"assets/user/controller/security/ipwhitelist.js"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"a46b40bcb47ef753b2aeb638511cee9c5d6fb174de5a1f27d2ff2f69baba24cf"}},{"ruleId":"D2","level":"warning","message":{"text":"sanitizeHtml (cognitive 26): sanitizeHtml has cognitive complexity 26 (threshold 15). Drivers by points: if/else 15 (18 pts), boolean chains 5, ternaries 2, error handling 1 (nesting depth added 3). Most of this is not in the body itself: 1 of the 26 points is its own statement and the rest belongs to 4 function items inside it that branch (a function literal at line 56, a function literal at line 71, cleanUrl, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/user/controller/user/ticket.detail.js"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c9c258b5ff87d853ec135e98deafe220fda4af6c90fb23ca05885e5c36c8a8b"}},{"ruleId":"D2","level":"warning","message":{"text":"order.showRefund (cognitive 25): order.showRefund has cognitive complexity 25 (threshold 15). Drivers by points: ternaries 13 (14 pts), boolean chains 9, if/else 2 (nesting depth added 1). Most of this is not in the body itself: 9 of the 25 points are its own statements and the rest belongs to 8 function items inside it that branch (a function literal at line 175, a function literal at line 202, a function literal at line 223, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/trade/order.js"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c91628d9bebb5161291bcb7c10dcca42b569fd7d87ad03badb9f1318b1babdb"}},{"ruleId":"D2","level":"warning","message":{"text":"Form.disposeControl (cognitive 25): Form.disposeControl has cognitive complexity 25 (threshold 15). Drivers by points: if/else 8 (12 pts), error handling 2 (5 pts), boolean chains 4, ternaries 2 (3 pts), loops 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/common/js/component/form.js"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"9575fa6a294cce62cff29297637a9832988efbe0533a694fd197b507b4aa21f7"}},{"ruleId":"D2","level":"warning","message":{"text":"Form.destroy (cognitive 25): Form.destroy has cognitive complexity 25 (threshold 15). Drivers by points: boolean chains 12, if/else 6 (7 pts), error handling 3 (5 pts), ternaries 1 (nesting depth added 3). Most of this is not in the body itself: 9 of the 25 points are its own statements and the rest belongs to 8 function literals inside it that branch (lines 2076, 2041, 2051, \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":"assets/common/js/component/form.js"},"region":{"startLine":2035}}}],"partialFingerprints":{"codehealthFindingId/v1":"2edb0ceb1a1681af18b54f7b82a953a70823b93e05e453b0422865e697d85d4e"}},{"ruleId":"D2","level":"warning","message":{"text":"Loading.show (cognitive 25): Loading.show has cognitive complexity 25 (threshold 15). Drivers by points: if/else 9 (13 pts), ternaries 5 (12 pts) (nesting depth added 11). 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":"assets/common/js/component/loading.js"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcc02c1a21b0c095383830d69041d60a3a9aa23e4a2e8a1efb57f7e3b3ab3d52"}},{"ruleId":"D2","level":"warning","message":{"text":"codemirror.alignHorizontally (cognitive 25): codemirror.alignHorizontally has cognitive complexity 25 (threshold 15). Drivers by points: if/else 7 (18 pts), loops 2 (5 pts), boolean chains 2 (nesting depth added 14). 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":"assets/static/codemirror/lib/codemirror.js"},"region":{"startLine":4281}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd81e2ea80fd107433f8f0700a972cbe2c4d9c6aba238e970ec6e97e951e82f5"}},{"ruleId":"D2","level":"warning","message":{"text":"codemirror.locateNodeInLineView (cognitive 25): codemirror.locateNodeInLineView has cognitive complexity 25 (threshold 15). Drivers by points: if/else 12 (21 pts), ternaries 5 (12 pts), loops 5 (6 pts), boolean chains 4 (nesting depth added 17). 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":"assets/static/codemirror/lib/codemirror.js"},"region":{"startLine":9280}}}],"partialFingerprints":{"codehealthFindingId/v1":"934bb12d710e36ecae6a50cb9957fb71819e791a46e48804e43b967e7d8c854f"}},{"ruleId":"D2","level":"warning","message":{"text":"javascript.CodeMirror.defineMode(\u0022javascript\u0022).expressionInner (cognitive 25): javascript.CodeMirror.defineMode(\u0022javascript\u0022).expressionInner has cognitive complexity 25 (threshold 15). Drivers by points: if/else 13 (14 pts), ternaries 4 (7 pts), boolean chains 4 (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/static/codemirror/mode/javascript/javascript.js"},"region":{"startLine":430}}}],"partialFingerprints":{"codehealthFindingId/v1":"80eea99c5d3000f1a03b8ca8f57a3ac0b3bc857ea217853be063215c46b55288"}},{"ruleId":"D2","level":"warning","message":{"text":"Message.siteBaseUrl (cognitive 25): Message.siteBaseUrl has cognitive complexity 25 (threshold 15). Drivers by points: if/else 6 (11 pts), boolean chains 8, ternaries 2 (4 pts), error handling 1, loops 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Service/Bind/Message.php"},"region":{"startLine":286}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ee91f833ebf9017d688fa5ee6baecd41b27341574166335f126edef9b5d78c5"}},{"ruleId":"D2","level":"warning","message":{"text":"Order.assertCouponApplicable (cognitive 25): Order.assertCouponApplicable has cognitive complexity 25 (threshold 15). Drivers by points: if/else 10 (15 pts), boolean chains 8, loops 1 (2 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Service/Bind/Order.php"},"region":{"startLine":341}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7b26340585f3ab01f99588e53b29984a34051641dc3a191d4a73894f1551382"}},{"ruleId":"D2","level":"warning","message":{"text":"Shop.substationPriceIncrease (cognitive 25): Shop.substationPriceIncrease has cognitive complexity 25 (threshold 15). Drivers by points: loops 6 (14 pts), if/else 9, boolean chains 1, ternaries 1 (nesting depth added 8). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Service/Bind/Shop.php"},"region":{"startLine":383}}}],"partialFingerprints":{"codehealthFindingId/v1":"c456aec3606d8a42125776f0ec708339b95737fc2e15c72b1b5a14c9bb696a6d"}},{"ruleId":"D2","level":"warning","message":{"text":"Ticket.visibleCommodityQuery (cognitive 25): Ticket.visibleCommodityQuery has cognitive complexity 25 (threshold 15). Drivers by points: if/else 10 (17 pts), loops 3 (4 pts), boolean chains 2, error handling 1 (2 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Service/Bind/Ticket.php"},"region":{"startLine":553}}}],"partialFingerprints":{"codehealthFindingId/v1":"20712b787dec4a367b7329f126e023ddcb7049bb6577111e2f36e2136c768ae6"}},{"ruleId":"D2","level":"warning","message":{"text":"UploadGuard.contentError (cognitive 25): UploadGuard.contentError has cognitive complexity 25 (threshold 15). Drivers by points: boolean chains 13, if/else 6 (8 pts), ternaries 2 (3 pts), match/switch 1 (nesting depth added 3). 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/Util/UploadGuard.php"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4e8e1f006c69902151d1c9dd70aa2aee60db41906a88faa692aa8b03aa9a7d6"}},{"ruleId":"D2","level":"warning","message":{"text":"Shadow.layer (cognitive 25): Shadow.layer has cognitive complexity 25 (threshold 15). Drivers by points: if/else 6 (11 pts), ternaries 6 (10 pts), boolean chains 3, loops 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kernel/Waf/Css/Shadow.php"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d3659838652f5bf8d28c04f4b4da05eb0aedbb4b07e94a28e6eca6c0df1c007"}},{"ruleId":"D2","level":"warning","message":{"text":"_Save (cognitive 25): _Save has cognitive complexity 25 (threshold 15). Drivers by points: if/else 16 (17 pts), boolean chains 7, other 1 (nesting depth added 1). None of this is in the body itself: all 25 points belong to 7 function items inside it that branch (submitSettings::done, submitSettings, guardDesktopPjaxLeave, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/config/index.js"},"region":{"startLine":505}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb72a7ac3206f56962729975044d95be37c74c11f40d63c544d57954c67a8d73"}},{"ruleId":"D2","level":"warning","message":{"text":"sanitizePluginDisplayHtml (cognitive 25): sanitizePluginDisplayHtml has cognitive complexity 25 (threshold 15). Drivers by points: if/else 12 (17 pts), boolean chains 3, ternaries 3, other 2 (nesting depth added 5). Most of this is not in the body itself: 1 of the 25 points is its own statement and the rest belongs to 4 function items inside it that branch (a function literal at line 59, normalizeColor, walk, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/config/plugin.js"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a58c9763c3ae3da0ee26eda8d5ea68da688ccc0eca45a0c5cab35be13c90231"}},{"ruleId":"D2","level":"warning","message":{"text":"mobileDeliverySubmit (cognitive 25): mobileDeliverySubmit has cognitive complexity 25 (threshold 15). Drivers by points: boolean chains 11, if/else 7, ternaries 4, other 3. None of this is in the body itself: all 25 points belong to 5 function items inside it that branch (a function literal at line 260, a function literal at line 298, (anonymous)::(anonymous)::done, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/trade/order.js"},"region":{"startLine":257}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f74ed907f268411ea248bf7385020a10aece470eacaa9f66f060ae5fd1a9816"}},{"ruleId":"D2","level":"warning","message":{"text":"mobileAccountSubmit (cognitive 25): mobileAccountSubmit has cognitive complexity 25 (threshold 15). Drivers by points: boolean chains 9, if/else 8, other 4, ternaries 4. None of this is in the body itself: all 25 points belong to 5 function items inside it that branch (a function literal at line 47, a function literal at line 95, (anonymous)::(anonymous)::done, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/user/index.js"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"66f67841f14122668836935a5456b559431f8617bb8ac65b1b7369b37c6c0e8a"}},{"ruleId":"D2","level":"warning","message":{"text":"#openColumnDetail (cognitive 25): #openColumnDetail has cognitive complexity 25 (threshold 15). Drivers by points: if/else 9 (15 pts), boolean chains 4, ternaries 4, other 2 (nesting depth added 6). Most of this is not in the body itself: 10 of the 25 points are its own statements and the rest belongs to 6 function items inside it that branch (a function literal at line 447, a function literal at line 457, a function literal at line 460, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/common/js/component/table.js"},"region":{"startLine":443}}}],"partialFingerprints":{"codehealthFindingId/v1":"80d1557dae48afeb6991618d0b9bc9d1f6ec98bb94134287a2bdbdb35ad70cdc"}},{"ruleId":"D2","level":"warning","message":{"text":"updateLineGutter (cognitive 25): updateLineGutter has cognitive complexity 25 (threshold 15). Drivers by points: if/else 8 (14 pts), boolean chains 4, ternaries 2 (4 pts), loops 1 (3 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/static/codemirror/lib/codemirror.js"},"region":{"startLine":2177}}}],"partialFingerprints":{"codehealthFindingId/v1":"319a0ec0d1c05db454a6af40b1f24698eea72b797b9b50e02429d99447582118"}},{"ruleId":"D2","level":"warning","message":{"text":"scrollPosIntoView (cognitive 25): scrollPosIntoView has cognitive complexity 25 (threshold 15). Drivers by points: if/else 7 (14 pts), ternaries 4 (8 pts), boolean chains 2, loops 1 (nesting depth added 11). 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":"assets/static/codemirror/lib/codemirror.js"},"region":{"startLine":3455}}}],"partialFingerprints":{"codehealthFindingId/v1":"934d7e9cdbd28c0b82ca56d80425c616dfea93be5ba94be39c5aaee01896f217"}},{"ruleId":"D2","level":"warning","message":{"text":"patchDisplay (cognitive 25): patchDisplay has cognitive complexity 25 (threshold 15). Drivers by points: if/else 8 (16 pts), loops 3 (5 pts), boolean chains 4 (nesting depth added 10). Of this number, 22 points are the body\u0027s own statements and 3 belong to one function item inside it that branches. 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":"assets/static/codemirror/lib/codemirror.js"},"region":{"startLine":4225}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ce736ae67829a0cf63cd82d59619874494d7a55ffac3dd49b718565971b0f96"}},{"ruleId":"D2","level":"warning","message":{"text":"locateNodeInLineView::find (cognitive 25): locateNodeInLineView::find has cognitive complexity 25 (threshold 15). Drivers by points: ternaries 4 (13 pts), if/else 2 (7 pts), loops 2 (3 pts), boolean chains 2 (nesting depth added 15). 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":"assets/static/codemirror/lib/codemirror.js"},"region":{"startLine":9301}}}],"partialFingerprints":{"codehealthFindingId/v1":"45476659d8aea5626736ca2dd5a98be78540dbf7fccc77219fd16bdd1414acca"}},{"ruleId":"D2","level":"warning","message":{"text":"(anonymous).expressionInner (cognitive 25): (anonymous).expressionInner has cognitive complexity 25 (threshold 15). Drivers by points: if/else 13 (14 pts), ternaries 4 (7 pts), boolean chains 4 (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/static/codemirror/mode/javascript/javascript.js"},"region":{"startLine":430}}}],"partialFingerprints":{"codehealthFindingId/v1":"3acf78a215b2507b8965bf013f27326db05bf3f77ec0feb8d6ec1032d700d8ac"}},{"ruleId":"D2","level":"warning","message":{"text":"set.saveSettings (cognitive 24): set.saveSettings has cognitive complexity 24 (threshold 15). Drivers by points: if/else 12, boolean chains 11, ternaries 1. Of this number, 14 points are the body\u0027s own statements and 10 belong to 4 function literals inside it that branch. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/manage/set.js"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"a69ec7fbc9c4746693c63585935d21048fcf50255372c099bad65657b94403b5"}},{"ruleId":"D2","level":"warning","message":{"text":"commodity.uploadCard (cognitive 24): commodity.uploadCard has cognitive complexity 24 (threshold 15). Drivers by points: if/else 7, loops 3 (7 pts), ternaries 7, boolean chains 3 (nesting depth added 4). Most of this is not in the body itself: 6 of the 24 points are its own statements and the rest belongs to 4 function items inside it that branch (a function literal at line 828, a function literal at line 902, refresh, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/trade/commodity.js"},"region":{"startLine":793}}}],"partialFingerprints":{"codehealthFindingId/v1":"d986047735c5efdf04dcf215afa2d02a765d5f1ad7f7ef21ed55f39312bbf2aa"}},{"ruleId":"D2","level":"warning","message":{"text":"Config.security (cognitive 24): Config.security has cognitive complexity 24 (threshold 15). Drivers by points: if/else 10 (17 pts), ternaries 3, error handling 2, boolean chains 1, loops 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Controller/Admin/Api/Config.php"},"region":{"startLine":724}}}],"partialFingerprints":{"codehealthFindingId/v1":"8026e5549ec02a61bc9cd0982c5cfea6fb1fe6f358fc4274dd070e70629efb19"}},{"ruleId":"D2","level":"warning","message":{"text":"Store.sharedDomain (cognitive 24): Store.sharedDomain has cognitive complexity 24 (threshold 15). Drivers by points: boolean chains 13, if/else 7, ternaries 4. 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/Controller/Admin/Api/Store.php"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"cff79f3a12b1a6d26954222c008513173cb85b858a03b3bcc3b45c85200c6384"}},{"ruleId":"D2","level":"warning","message":{"text":"Store.save (cognitive 24): Store.save has cognitive complexity 24 (threshold 15). Drivers by points: if/else 10 (11 pts), boolean chains 6, ternaries 4, error handling 2, loops 1 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Controller/Admin/Api/Store.php"},"region":{"startLine":890}}}],"partialFingerprints":{"codehealthFindingId/v1":"1106b8e3f482d95b8411fbeb16793c412271cddeba8e0dad6ab010a0eac6169a"}},{"ruleId":"D2","level":"warning","message":{"text":"Cash.submit (cognitive 24): Cash.submit has cognitive complexity 24 (threshold 15). Drivers by points: if/else 15 (22 pts), boolean chains 1, ternaries 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Controller/User/Api/Cash.php"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2f3e1f026887a4deca73017f2cf10d61f17fe636d835a8c4ff3bb39ca40903b"}},{"ruleId":"D2","level":"warning","message":{"text":"Coupon.save (cognitive 24): Coupon.save has cognitive complexity 24 (threshold 15). Drivers by points: if/else 13 (17 pts), boolean chains 3, error handling 1 (2 pts), loops 1, ternaries 1 (nesting depth added 5). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Controller/User/Api/Coupon.php"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a604c2eb412f14eb5dbb98be528249e28883badc626b56404a806946be70c0a"}},{"ruleId":"D2","level":"warning","message":{"text":"File.copyDirectory (cognitive 24): File.copyDirectory has cognitive complexity 24 (threshold 15). Drivers by points: if/else 10 (20 pts), boolean chains 3, loops 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Util/File.php"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"389ac1ecd7c249c44301dc821104046ce3e62f234d4d0bf5a78b6d87fe0f807c"}},{"ruleId":"D2","level":"warning","message":{"text":"menuContent (cognitive 24): menuContent has cognitive complexity 24 (threshold 15). Drivers by points: if/else 9 (10 pts), boolean chains 9, ternaries 5 (nesting depth added 1). Of this number, 18 points are the body\u0027s own statements and 6 belong to 6 function literals inside it that branch. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/js/mobile/navigation.js"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"b287f8919a0646af28d43bfe2b656a2cca72dbc8fcc2576eba22428683271294"}},{"ruleId":"D2","level":"warning","message":{"text":"bidiSimplify (cognitive 24): bidiSimplify has cognitive complexity 24 (threshold 15). Drivers by points: if/else 8 (9 pts), ternaries 7 (9 pts), boolean chains 6 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/static/codemirror/lib/codemirror.js"},"region":{"startLine":7613}}}],"partialFingerprints":{"codehealthFindingId/v1":"625b315db65d493f1d75bf10eb871242b41b2763c605491c8dd3bdfbe5579e4a"}},{"ruleId":"D2","level":"warning","message":{"text":"defineOptions (cognitive 24): defineOptions has cognitive complexity 24 (threshold 15). Drivers by points: if/else 10 (12 pts), ternaries 5 (6 pts), boolean chains 4, loops 2 (nesting depth added 3). Most of this is not in the body itself: 1 of the 24 points is its own statement and the rest belongs to 29 function items inside it that branch (a function literal at line 7774, option, a function literal at line 7743, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/static/codemirror/lib/codemirror.js"},"region":{"startLine":7708}}}],"partialFingerprints":{"codehealthFindingId/v1":"27e3e5746a3ebab4fa7d8f3e5fc672323987c7a6cd10ff8adcff29b14800488c"}},{"ruleId":"D2","level":"warning","message":{"text":"store.modal (cognitive 23): store.modal has cognitive complexity 23 (threshold 15). Drivers by points: boolean chains 10, ternaries 5 (7 pts), if/else 6 (nesting depth added 2). Most of this is not in the body itself: 10 of the 23 points are its own statements and the rest belongs to 4 function literals inside it that branch (lines 1295, 1289, 1301, \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":"assets/admin/controller/shared/store.js"},"region":{"startLine":1273}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3c2d4db92b44823c896299b63f1a3227f918125628d68e106015c0dce23c8bf"}},{"ruleId":"D2","level":"warning","message":{"text":"lifecycle.mount (cognitive 23): lifecycle.mount has cognitive complexity 23 (threshold 15). Drivers by points: if/else 12 (21 pts), boolean chains 2 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/js/mobile/lifecycle.js"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"44a22cf88a6ca8a7f1a1a5b369fcab4738e8088b7b349472d7af97979330ca14"}},{"ruleId":"D2","level":"warning","message":{"text":"navigation.handleClick (cognitive 23): navigation.handleClick has cognitive complexity 23 (threshold 15). Drivers by points: if/else 13 (18 pts), boolean chains 3, ternaries 1 (2 pts) (nesting depth added 6). Of this number, 19 points are the body\u0027s own statements and 4 belong to one function item inside it that branches. 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":"assets/admin/js/mobile/navigation.js"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce0c6376ae023ceb415135c877289f56dca321f89ad9af18d9fdf5a476611e36"}},{"ruleId":"D2","level":"warning","message":{"text":"codemirror.normalizeKeyMap (cognitive 23): codemirror.normalizeKeyMap has cognitive complexity 23 (threshold 15). Drivers by points: if/else 7 (18 pts), loops 3 (5 pts) (nesting depth added 13). 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":"assets/static/codemirror/lib/codemirror.js"},"region":{"startLine":6774}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecb4bcd8a00f4586e20d577ffb83e4aeeba95f19ebcdee3cefd485cdf9a76227"}},{"ruleId":"D2","level":"warning","message":{"text":"codemirror.onMouseDown (cognitive 23): codemirror.onMouseDown has cognitive complexity 23 (threshold 15). Drivers by points: if/else 14 (18 pts), boolean chains 4, ternaries 1 (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/static/codemirror/lib/codemirror.js"},"region":{"startLine":7335}}}],"partialFingerprints":{"codehealthFindingId/v1":"dce0debb025825fc02d04a1c8d2d9e424ff76acd116cc3cea35a3f2cdb7c17e0"}},{"ruleId":"D2","level":"warning","message":{"text":"codemirror.domTextBetween::walk (cognitive 23): codemirror.domTextBetween::walk has cognitive complexity 23 (threshold 15). Drivers by points: if/else 10 (19 pts), boolean chains 2, loops 1 (2 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/static/codemirror/lib/codemirror.js"},"region":{"startLine":9224}}}],"partialFingerprints":{"codehealthFindingId/v1":"977a0929b5516eb283e494e31724f1c40409fe3e5fa2958ededdce0b2b0cec33"}},{"ruleId":"D2","level":"warning","message":{"text":"javascript.CodeMirror.defineMode(\u0022javascript\u0022).maybeoperatorNoComma (cognitive 23): javascript.CodeMirror.defineMode(\u0022javascript\u0022).maybeoperatorNoComma has cognitive complexity 23 (threshold 15). Drivers by points: if/else 12 (15 pts), boolean chains 4, ternaries 3 (4 pts) (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/static/codemirror/mode/javascript/javascript.js"},"region":{"startLine":459}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ff4b442f5bee7c0e4729d8cd82069327602cb3bc6c2ab36239539646f01931f"}},{"ruleId":"D2","level":"warning","message":{"text":"recharge.updateSummary (cognitive 23): recharge.updateSummary has cognitive complexity 23 (threshold 15). Drivers by points: ternaries 8 (11 pts), if/else 7, boolean chains 5 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/user/controller/user/recharge.js"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d0163fab9a863df17238636000cb9d5fd70dde2e3cab786b83b8c348c9da7f7"}},{"ruleId":"D2","level":"warning","message":{"text":"Commodity.fastEnable (cognitive 23): Commodity.fastEnable has cognitive complexity 23 (threshold 15). Drivers by points: if/else 10 (13 pts), boolean chains 6, ternaries 3, loops 1 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Controller/Admin/Api/Commodity.php"},"region":{"startLine":880}}}],"partialFingerprints":{"codehealthFindingId/v1":"7180182edacec88da93338a2c8871dba3c86930f8081699d9afffd30f1365f80"}},{"ruleId":"D2","level":"warning","message":{"text":"Commodity.inventoryState (cognitive 23): Commodity.inventoryState has cognitive complexity 23 (threshold 15). Drivers by points: if/else 11 (19 pts), boolean chains 4 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Controller/Shared/Commodity.php"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c0137ca1e8a7b1400bdae7d729a0e443cfbc7a377ac46d729793f4f76d6eafc"}},{"ruleId":"D2","level":"warning","message":{"text":"Commodity.inventory (cognitive 23): Commodity.inventory has cognitive complexity 23 (threshold 15). Drivers by points: if/else 10 (14 pts), loops 2 (6 pts), error handling 1 (3 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Controller/Shared/Commodity.php"},"region":{"startLine":299}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f026dea70e5b138ca22ca73194f25a8d0c6e3de9f516725ede5ce1b682b8895"}},{"ruleId":"D2","level":"warning","message":{"text":"Business.saveConfig (cognitive 23): Business.saveConfig has cognitive complexity 23 (threshold 15). Drivers by points: if/else 14 (21 pts), boolean chains 2 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Controller/User/Api/Business.php"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"86c306c3937bb645101d5cb91e55f19a5a463d4720e54cc839fbf56377330a2c"}},{"ruleId":"D2","level":"warning","message":{"text":"Master.setCommodity (cognitive 23): Master.setCommodity has cognitive complexity 23 (threshold 15). Drivers by points: if/else 12 (18 pts), boolean chains 4, loops 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Controller/User/Api/Master.php"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c1804f32a570dcec8827d20858d2d9ebbb2bb8ce5514d3d32067af86bda5916"}},{"ruleId":"D2","level":"warning","message":{"text":"Pay.savePluginConfig (cognitive 23): Pay.savePluginConfig has cognitive complexity 23 (threshold 15). Drivers by points: if/else 9 (13 pts), ternaries 3 (5 pts), boolean chains 4, loops 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Service/Bind/Pay.php"},"region":{"startLine":396}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa4db4848728280e31879f73dd54b00ef846c73231659e510ab8511d06da93df"}},{"ruleId":"D2","level":"warning","message":{"text":"Shop.getItemStock (cognitive 23): Shop.getItemStock has cognitive complexity 23 (threshold 15). Drivers by points: if/else 9 (18 pts), loops 1 (4 pts), boolean chains 1 (nesting depth added 12). 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/Service/Bind/Shop.php"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1f4d6fdbd0738e85cc903cedc4b99a2ff47a9a8fd3cc3090f4261ff31af2e27"}},{"ruleId":"D2","level":"warning","message":{"text":"Csp.extraSources (cognitive 23): Csp.extraSources has cognitive complexity 23 (threshold 15). Drivers by points: if/else 5 (11 pts), loops 5 (9 pts), boolean chains 2, error handling 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Util/Csp.php"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"52bf68ec49517199f7d5d0fd907b0cc33b1d0c376aae422b11437503dc80728b"}},{"ruleId":"D2","level":"warning","message":{"text":"Lang.mapTag (cognitive 23): Lang.mapTag has cognitive complexity 23 (threshold 15). Drivers by points: ternaries 3 (10 pts), if/else 5 (9 pts), loops 2 (3 pts), boolean chains 1 (nesting depth added 12). 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":"kernel/Util/Lang.php"},"region":{"startLine":383}}}],"partialFingerprints":{"codehealthFindingId/v1":"19b7cc679beda6a839e14a38dba7e7095b2fe57b44db4344e15775b68e805d72"}},{"ruleId":"D2","level":"warning","message":{"text":"Lang.transObjectList (cognitive 23): Lang.transObjectList has cognitive complexity 23 (threshold 15). Drivers by points: if/else 6 (12 pts), boolean chains 6, loops 2 (3 pts), ternaries 2 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kernel/Util/Lang.php"},"region":{"startLine":1052}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba05e9d2214c9941ecf724b6525e9a2e0935b0ccc308ca271984fa55307c1598"}},{"ruleId":"D2","level":"warning","message":{"text":"sanitizeRichHtml (cognitive 23): sanitizeRichHtml has cognitive complexity 23 (threshold 15). Drivers by points: if/else 15 (18 pts), boolean chains 4, other 1 (nesting depth added 3). Most of this is not in the body itself: 1 of the 23 points is its own statement and the rest belongs to 3 function items inside it that branch (a function literal at line 56, a function literal at line 72, walk). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/common/js/component.js"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9dcfd326dbb0efd263604a33fab2e9ec1a65a8ac4b6f996de668c67ed3a0e58"}},{"ruleId":"D2","level":"warning","message":{"text":"renderChannels (cognitive 23): renderChannels has cognitive complexity 23 (threshold 15). Drivers by points: if/else 11 (14 pts), ternaries 6, boolean chains 3 (nesting depth added 3). Most of this is not in the body itself: 10 of the 23 points are its own statements and the rest belongs to 18 function items inside it that branch (a function literal at line 573, syncToggle, a function literal at line 566, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/dashboard/index.js"},"region":{"startLine":560}}}],"partialFingerprints":{"codehealthFindingId/v1":"c57be7e786177d53cce40a3621ead2e65f81356110450424645c7482fed66525"}},{"ruleId":"D2","level":"warning","message":{"text":"(anonymous).attach (cognitive 23): (anonymous).attach has cognitive complexity 23 (threshold 15). Drivers by points: if/else 12 (13 pts), boolean chains 7, ternaries 3 (nesting depth added 1). Most of this is not in the body itself: 6 of the 23 points are its own statements and the rest belongs to 10 function literals inside it that branch (lines 1290, 1278, 1287, \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":"assets/admin/controller/trade/category-tree.js"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9ec9dbb923fe88b65b4ef36b4f88fedac6f40da9a2573c4211c87c2a213e0b1"}},{"ruleId":"D2","level":"warning","message":{"text":"definitionValue (cognitive 23): definitionValue has cognitive complexity 23 (threshold 15). Drivers by points: boolean chains 9, error handling 3 (6 pts), if/else 5, ternaries 2 (3 pts) (nesting depth added 4). 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":"assets/admin/js/mobile/fallback.js"},"region":{"startLine":861}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3bfacbc88c8c4c93ab2d89963943cc70db42e4397ab363bfe64c1f543a1b5c4"}},{"ruleId":"D2","level":"warning","message":{"text":"cardOfferContent (cognitive 23): cardOfferContent has cognitive complexity 23 (threshold 15). Drivers by points: boolean chains 8, if/else 7 (8 pts), error handling 2 (4 pts), ternaries 3 (nesting depth added 3). Of this number, 14 points are the body\u0027s own statements and 9 belong to one function literal inside it that branches. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/js/mobile/fallback.js"},"region":{"startLine":1814}}}],"partialFingerprints":{"codehealthFindingId/v1":"efb05103c09c9bb05554264b98fbd71fa26b6f62d8acb8e137f621ad322ed772"}},{"ruleId":"D2","level":"warning","message":{"text":"(anonymous)::(anonymous)::setParentNodeCheckBox (cognitive 23): (anonymous)::(anonymous)::setParentNodeCheckBox has cognitive complexity 23 (threshold 15). Drivers by points: if/else 7 (13 pts), boolean chains 7, loops 1 (3 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/common/js/component/tree.select.js"},"region":{"startLine":2512}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c454fbe8b800c0e05cfa46cc7b2e5a2fa5f0a601c1514643a999d478f837189"}},{"ruleId":"D2","level":"warning","message":{"text":"markedSpansBefore (cognitive 23): markedSpansBefore has cognitive complexity 23 (threshold 15). Drivers by points: ternaries 3 (11 pts), boolean chains 6, if/else 2 (4 pts), loops 1 (2 pts) (nesting depth added 11). 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":"assets/static/codemirror/lib/codemirror.js"},"region":{"startLine":1340}}}],"partialFingerprints":{"codehealthFindingId/v1":"749b9cd59a3d792edd47362ea14642c5a779f6a81e500f1738c9b26da6e9ae63"}},{"ruleId":"D2","level":"warning","message":{"text":"calculateScrollPos (cognitive 23): calculateScrollPos has cognitive complexity 23 (threshold 15). Drivers by points: ternaries 7 (11 pts), if/else 9 (10 pts), boolean chains 2 (nesting depth added 5). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/static/codemirror/lib/codemirror.js"},"region":{"startLine":3499}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7f404f00b220d100d757ed264b78828ea6cfe34ca22975e38c3057fb47e7d21"}},{"ruleId":"D2","level":"warning","message":{"text":"endOperation_finish (cognitive 23): endOperation_finish has cognitive complexity 23 (threshold 15). Drivers by points: if/else 12 (16 pts), loops 2 (4 pts), boolean chains 3 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/static/codemirror/lib/codemirror.js"},"region":{"startLine":3910}}}],"partialFingerprints":{"codehealthFindingId/v1":"392c13aca3326ae4f7a4e0be088c11c78365217d3b852e1228673da3dd915d9e"}},{"ruleId":"D2","level":"warning","message":{"text":"CodeMirror (cognitive 23): CodeMirror has cognitive complexity 23 (threshold 15). Drivers by points: if/else 12 (14 pts), boolean chains 6, loops 2, ternaries 1 (nesting depth added 2). Of this number, 20 points are the body\u0027s own statements and 3 belong to 2 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":"assets/static/codemirror/lib/codemirror.js"},"region":{"startLine":7883}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb5cb5571d886e8ff7b565139bb75f3d227b158e728c93f7d05bc637868c68fe"}},{"ruleId":"D2","level":"warning","message":{"text":"poll (cognitive 23): poll has cognitive complexity 23 (threshold 15). Drivers by points: if/else 9 (11 pts), boolean chains 10, loops 1, ternaries 1 (nesting depth added 2). Of this number, 18 points are the body\u0027s own statements and 5 belong to one function literal inside it that branches. 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":"assets/static/codemirror/lib/codemirror.js"},"region":{"startLine":9548}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe0513e2e1a8c23624842cd861768a4858f5a3f86c60ea95da1cd616d8798ac2"}},{"ruleId":"D2","level":"warning","message":{"text":"findMatchingClose (cognitive 23): findMatchingClose has cognitive complexity 23 (threshold 15). Drivers by points: if/else 6 (14 pts), loops 2 (4 pts), boolean chains 3, ternaries 1 (2 pts) (nesting depth added 11). 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":"assets/static/codemirror/addon/fold/xml-fold.js"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"06081ee0a8d2d78a968cfacb569f05b3b1f2ce38bff9a3635fd467884aa3766b"}},{"ruleId":"D2","level":"warning","message":{"text":"(anonymous).atBlock (cognitive 23): (anonymous).atBlock has cognitive complexity 23 (threshold 15). Drivers by points: if/else 14 (15 pts), ternaries 2 (5 pts), boolean chains 3 (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/static/codemirror/mode/css/css.js"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"29e0a1500d410e5375d13cc9d5ea72c768d1599bd6576af0df00f5c418407e0b"}},{"ruleId":"D2","level":"warning","message":{"text":"(anonymous).maybeoperatorNoComma (cognitive 23): (anonymous).maybeoperatorNoComma has cognitive complexity 23 (threshold 15). Drivers by points: if/else 12 (15 pts), boolean chains 4, ternaries 3 (4 pts) (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/static/codemirror/mode/javascript/javascript.js"},"region":{"startLine":459}}}],"partialFingerprints":{"codehealthFindingId/v1":"6976b05337afdd3093f5ce11cbbddb2dfe42cfc42010b1506d3e8730370006fe"}},{"ruleId":"D2","level":"warning","message":{"text":"index.mobileAccountSubmit.\u003Creturned closure\u003E (cognitive 22): index.mobileAccountSubmit.\u003Creturned closure\u003E has cognitive complexity 22 (threshold 15). Drivers by points: boolean chains 9, if/else 8, ternaries 4 (5 pts) (nesting depth added 1). Of this number, 13 points are the body\u0027s own statements and 9 belong to 4 function literals inside it that branch. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/user/index.js"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"9251220c6df2fc56b4b80cfd7d2a428d45e647983ead12097f49ceaac8f77f9c"}},{"ruleId":"D2","level":"warning","message":{"text":"ticket.sanitizeRichHtml (cognitive 22): ticket.sanitizeRichHtml has cognitive complexity 22 (threshold 15). Drivers by points: if/else 15 (18 pts), boolean chains 4 (nesting depth added 3). Most of this is not in the body itself: 1 of the 22 points is its own statement and the rest belongs to 2 function literals inside it that branch (lines 117, 132). 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":"assets/admin/controller/user/ticket.js"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"a69a9245af099076d796aa18f945564bb815fd8739b5936f30051244ec51d178"}},{"ruleId":"D2","level":"warning","message":{"text":"fallback.cardActionIcon (cognitive 22): fallback.cardActionIcon has cognitive complexity 22 (threshold 15). Drivers by points: if/else 19, boolean chains 2, ternaries 1. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/js/mobile/fallback.js"},"region":{"startLine":1777}}}],"partialFingerprints":{"codehealthFindingId/v1":"97c6d4b78882e4af6409303de274c45c3ea6ddca42490cc8c574a23046234293"}},{"ruleId":"D2","level":"warning","message":{"text":"workflows.mount (cognitive 22): workflows.mount has cognitive complexity 22 (threshold 15). Drivers by points: if/else 9 (11 pts), boolean chains 9, ternaries 1 (2 pts) (nesting depth added 3). Most of this is not in the body itself: 3 of the 22 points are its own statements and the rest belongs to 5 function literals inside it that branch (lines 1342, 1327, 1323, \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":"assets/admin/js/mobile/workflows.js"},"region":{"startLine":1274}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e971ff780c5e70269877856cff975ca4afa4f5157074bb3d2e5455336068cc3"}},{"ruleId":"D2","level":"warning","message":{"text":"codemirror.triggerElectric (cognitive 22): codemirror.triggerElectric has cognitive complexity 22 (threshold 15). Drivers by points: if/else 7 (15 pts), loops 2 (4 pts), boolean chains 3 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/static/codemirror/lib/codemirror.js"},"region":{"startLine":8204}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe244409c3e72070feeb578ac738ea23f56ce4c39134052a1f0025792499166d"}},{"ruleId":"D2","level":"warning","message":{"text":"xml-fold.findMatchingOpen (cognitive 22): xml-fold.findMatchingOpen has cognitive complexity 22 (threshold 15). Drivers by points: if/else 7 (16 pts), loops 2 (4 pts), boolean chains 2 (nesting depth added 11). 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":"assets/static/codemirror/addon/fold/xml-fold.js"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e4c2576b824dde390de65d6c00deea8d5ad57b37ea81fb8c0d12fbd7731062c"}},{"ruleId":"D2","level":"warning","message":{"text":"index.openSecret (cognitive 22): index.openSecret has cognitive complexity 22 (threshold 15). Drivers by points: ternaries 14 (16 pts), boolean chains 5, if/else 1 (nesting depth added 2). Of this number, 18 points are the body\u0027s own statements and 4 belong to 4 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/user/controller/dashboard/index.js"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"74c275fccc80dba9c690364f5585edfd513de9133a0e8e84816e5b8e90d58d28"}},{"ruleId":"D2","level":"warning","message":{"text":"purchase.record.openSecret (cognitive 22): purchase.record.openSecret has cognitive complexity 22 (threshold 15). Drivers by points: ternaries 14 (16 pts), boolean chains 5, if/else 1 (nesting depth added 2). Of this number, 18 points are the body\u0027s own statements and 4 belong to 4 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/user/controller/user/purchase.record.js"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c3c41cf5d1e4f1eb0c80ad0edc1f51370d13d88c13a24b8e2409f1d901aee1d"}},{"ruleId":"D2","level":"warning","message":{"text":"Card.saveFiles (cognitive 22): Card.saveFiles has cognitive complexity 22 (threshold 15). Drivers by points: if/else 10 (15 pts), boolean chains 4, error handling 1 (2 pts), loops 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Controller/Admin/Api/Card.php"},"region":{"startLine":456}}}],"partialFingerprints":{"codehealthFindingId/v1":"80a5cf22fde767dc53821ec1f8af7fe96bce8c3e18bb5fa16427d5da4b0faafb"}},{"ruleId":"D2","level":"warning","message":{"text":"File.data (cognitive 22): File.data has cognitive complexity 22 (threshold 15). Drivers by points: ternaries 8 (16 pts), boolean chains 4, if/else 1, loops 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Controller/Admin/Api/File.php"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"c399657f8c4d5698f0eb15bce2793c74ec8ed15b29fb3230098b3d7dc558edad"}},{"ruleId":"D2","level":"warning","message":{"text":"Store.remoteItemTree (cognitive 22): Store.remoteItemTree has cognitive complexity 22 (threshold 15). Drivers by points: if/else 5 (12 pts), boolean chains 4, error handling 1 (3 pts), loops 2 (3 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Controller/Admin/Api/Store.php"},"region":{"startLine":252}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a7cb169f649a138b4eefe00d437dcfbe180f72f422f2e6df5d57cd72c424316"}},{"ruleId":"D2","level":"warning","message":{"text":"Order.callbackTest (cognitive 22): Order.callbackTest has cognitive complexity 22 (threshold 15). Drivers by points: if/else 10 (13 pts), boolean chains 6, error handling 1, loops 1, ternaries 1 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Controller/User/Api/Order.php"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"e35aed478fc67a519561c2adec86ac86ab24f7f275d1d3437067eefabd46a92f"}},{"ruleId":"D2","level":"warning","message":{"text":"Bill.create (cognitive 22): Bill.create has cognitive complexity 22 (threshold 15). Drivers by points: if/else 9 (14 pts), ternaries 3 (5 pts), boolean chains 3 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Model/Bill.php"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"cee7204b0be0f96ebfa92004240ce5815fec6b610eaf6f60efbc4575dc6c452f"}},{"ruleId":"D2","level":"warning","message":{"text":"Message.cleanContent (cognitive 22): Message.cleanContent has cognitive complexity 22 (threshold 15). Drivers by points: if/else 10 (13 pts), boolean chains 7, loops 2 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Service/Bind/Message.php"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d03072447ca49aed6ff1a96d00a2c317a2599ba1bea7494f6132586bae59382"}},{"ruleId":"D2","level":"warning","message":{"text":"Ticket.cleanContent (cognitive 22): Ticket.cleanContent has cognitive complexity 22 (threshold 15). Drivers by points: if/else 10 (13 pts), boolean chains 5, loops 2, ternaries 1 (2 pts) (nesting depth added 4). 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/Service/Bind/Ticket.php"},"region":{"startLine":750}}}],"partialFingerprints":{"codehealthFindingId/v1":"c97b39c9f0b4f951bcb2bdcd0f80642407fb6e6ba2818682558c74e4703f9aa7"}},{"ruleId":"D2","level":"warning","message":{"text":"CategoryTree.forAdmin (cognitive 22): CategoryTree.forAdmin has cognitive complexity 22 (threshold 15). Drivers by points: loops 5 (7 pts), boolean chains 5, if/else 4 (5 pts), ternaries 3 (5 pts) (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Util/CategoryTree.php"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"b771e6b2fe8b6fd47fd084d77bdf58cd4db38c628e172485977d9706707806cd"}},{"ruleId":"D2","level":"warning","message":{"text":"OrderRefund.run (cognitive 22): OrderRefund.run has cognitive complexity 22 (threshold 15). Drivers by points: if/else 10 (14 pts), ternaries 3 (5 pts), loops 3 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Util/OrderRefund.php"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"387e5402d7f7fca07c697947de8d79a109280e9ba39a6610113e9e35f51a318c"}},{"ruleId":"D2","level":"warning","message":{"text":"initializeTable (cognitive 22): initializeTable has cognitive complexity 22 (threshold 15). Drivers by points: if/else 10, boolean chains 8, other 2, ternaries 2. None of this is in the body itself: all 22 points belong to 24 function items inside it that branch (formatter, formatter, formatter, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/pay/api.js"},"region":{"startLine":726}}}],"partialFingerprints":{"codehealthFindingId/v1":"763fd8a65254882d671da1417b7d33faf420ebdb9c72e905a68ccc8e43dfc27d"}},{"ruleId":"D2","level":"warning","message":{"text":"(anonymous).mount::paint (cognitive 22): (anonymous).mount::paint has cognitive complexity 22 (threshold 15). Drivers by points: if/else 9 (13 pts), boolean chains 6, ternaries 2 (3 pts) (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/trade/card-file-upload.js"},"region":{"startLine":799}}}],"partialFingerprints":{"codehealthFindingId/v1":"08e52e536eadac94f27deef3a008ce52fb415e71c3ff141a88a548cf81c38cc2"}},{"ruleId":"D2","level":"warning","message":{"text":"change (cognitive 22): change has cognitive complexity 22 (threshold 15). Drivers by points: if/else 5 (11 pts), loops 3 (10 pts), boolean chains 1 (nesting depth added 13). Most of this is not in the body itself: 1 of the 22 points is its own statement and the rest belongs to 2 function literals inside it that branch (lines 594, 591). 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":"assets/admin/controller/trade/coupon.js"},"region":{"startLine":587}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ce2ae7b708c40e5f719d7ea1fb00d4acfebe9070623e95a9303046a92d3e27f"}},{"ruleId":"D2","level":"warning","message":{"text":"findPosH::moveOnce (cognitive 22): findPosH::moveOnce has cognitive complexity 22 (threshold 15). Drivers by points: if/else 9 (11 pts), ternaries 3 (8 pts), boolean chains 3 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/static/codemirror/lib/codemirror.js"},"region":{"startLine":8719}}}],"partialFingerprints":{"codehealthFindingId/v1":"0518ed0b2fb469a94f541d768df17c3ffc4ba3c96c516fd7789f3379a06cabd7"}},{"ruleId":"D2","level":"warning","message":{"text":"armAutofill (cognitive 22): armAutofill has cognitive complexity 22 (threshold 15). Drivers by points: if/else 9 (11 pts), boolean chains 7, error handling 2 (4 pts) (nesting depth added 4). Of this number, 21 points are the body\u0027s own statements and 1 belongs to 2 function items 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/user/controller/auth/login.js"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"f18415edc8b07fda00bcbeaf0ab2f5f5ca5477f253f6e7f1e31f2d97528bab77"}},{"ruleId":"D2","level":"warning","message":{"text":"index.confirmFileDelete (cognitive 21): index.confirmFileDelete has cognitive complexity 21 (threshold 15). Drivers by points: boolean chains 16, if/else 5. Most of this is not in the body itself: 2 of the 21 points are its own statements and the rest belongs to 3 function literals inside it that branch (lines 114, 148, 152). 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":"assets/admin/controller/file/index.js"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e92c0b105ac4c479193e24e4bdffb539189fed6d27cde5df94a112c615d952f"}},{"ruleId":"D2","level":"warning","message":{"text":"coupon.$(\u0022.btn-app-export\u0022).off().on() (cognitive 21): coupon.$(\u0022.btn-app-export\u0022).off().on() has cognitive complexity 21 (threshold 15). Drivers by points: boolean chains 11, if/else 7 (8 pts), error handling 1, ternaries 1 (nesting depth added 1). 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":"assets/admin/controller/trade/coupon.js"},"region":{"startLine":677}}}],"partialFingerprints":{"codehealthFindingId/v1":"765102f2b34115f74136673877788947414b53c30a01886ea7f9b200adb54a0e"}},{"ruleId":"D2","level":"warning","message":{"text":"order.mobileDeliverySubmit.\u003Creturned closure\u003E (cognitive 21): order.mobileDeliverySubmit.\u003Creturned closure\u003E has cognitive complexity 21 (threshold 15). Drivers by points: boolean chains 10, if/else 7, ternaries 4. Of this number, 11 points are the body\u0027s own statements and 10 belong to 4 function literals inside it that branch. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/trade/order.js"},"region":{"startLine":260}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf17e8ab145ccb1f023d07247b6e7df4e3bfb03665f2e43045575ab16b0c3afa"}},{"ruleId":"D2","level":"warning","message":{"text":"shell.handleClick (cognitive 21): shell.handleClick has cognitive complexity 21 (threshold 15). Drivers by points: if/else 10 (16 pts), boolean chains 3, error handling 1 (2 pts) (nesting depth added 7). Of this number, 15 points are the body\u0027s own statements and 6 belong to one function literal inside it that branches. 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":"assets/admin/js/mobile/shell.js"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"dca7d543def9cf23189aa783dfb74fbdccbea548448e514feb2931f1c4e842f7"}},{"ruleId":"D2","level":"warning","message":{"text":"workflows.discoverActions (cognitive 21): workflows.discoverActions has cognitive complexity 21 (threshold 15). Drivers by points: boolean chains 11, if/else 9, error handling 1. None of this is in the body itself: all 21 points belong to 6 function literals inside it that branch (lines 985, 1003, 975, \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":"assets/admin/js/mobile/workflows.js"},"region":{"startLine":973}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd70f694d5a9be28337f658575b975a3dba4373e15657ae6ea1c1fc94cc85876"}},{"ruleId":"D2","level":"warning","message":{"text":"python.CodeMirror.defineMode(\u0022python\u0022)::formatStringFactory::tokenString (cognitive 21): python.CodeMirror.defineMode(\u0022python\u0022)::formatStringFactory::tokenString has cognitive complexity 21 (threshold 15). Drivers by points: if/else 13 (19 pts), boolean chains 1, loops 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: 3 other methods here (python.CodeMirror.defineMode(\u0022python\u0022)::tokenBase, python.CodeMirror.defineMode(\u0022python\u0022)::tokenBaseInner, python.CodeMirror.defineMode(\u0022python\u0022)::tokenLexer) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 4 times rather than 4 independent problems. Splitting this body alone leaves the other 3 exactly as they are. Where these are variations on one operation, the change that clears all 4 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/static/codemirror/mode/python/python.js"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"9869c9e182e2c208c589cc4f3d47cc7730ee416dc07354c0e6afefd442ccc0e6"}},{"ruleId":"D2","level":"warning","message":{"text":"Commodity.data (cognitive 21): Commodity.data has cognitive complexity 21 (threshold 15). Drivers by points: if/else 8 (16 pts), boolean chains 3, loops 1, ternaries 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Controller/Admin/Api/Commodity.php"},"region":{"startLine":297}}}],"partialFingerprints":{"codehealthFindingId/v1":"a894aad9fa4d5ecc9854ac7bb5f8d43150c90c3d228d79e93adfb4ec8e29f8f7"}},{"ruleId":"D2","level":"warning","message":{"text":"Config.emailFailureMessage (cognitive 21): Config.emailFailureMessage has cognitive complexity 21 (threshold 15). Drivers by points: boolean chains 11, ternaries 5 (7 pts), if/else 3 (nesting depth added 2). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Controller/Admin/Api/Config.php"},"region":{"startLine":1348}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e994f052f4fcca1d0e7413156bd6bb78d88b5662e1c925183de5f878ab94591"}},{"ruleId":"D2","level":"warning","message":{"text":"Order.data (cognitive 21): Order.data has cognitive complexity 21 (threshold 15). Drivers by points: loops 4 (12 pts), if/else 3 (8 pts), boolean chains 1 (nesting depth added 13). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Controller/Admin/Api/Order.php"},"region":{"startLine":320}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4957dd7b54d575a384404114306d7196157d0f1d37459adcfe7fbd26e136d33"}},{"ruleId":"D2","level":"warning","message":{"text":"Pay.paymentDeleteImpact (cognitive 21): Pay.paymentDeleteImpact has cognitive complexity 21 (threshold 15). Drivers by points: boolean chains 8, if/else 6 (8 pts), loops 2 (3 pts), ternaries 2 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Controller/Admin/Api/Pay.php"},"region":{"startLine":307}}}],"partialFingerprints":{"codehealthFindingId/v1":"895980167c39e97f700cab1b856951dc15b2b74bb8b3cd9589671dfea3068a34"}},{"ruleId":"D2","level":"warning","message":{"text":"PriceTemplate.computePrice (cognitive 21): PriceTemplate.computePrice has cognitive complexity 21 (threshold 15). Drivers by points: if/else 4 (8 pts), ternaries 8, boolean chains 2, loops 2, error handling 1 (nesting depth added 4). 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/Controller/Admin/Api/PriceTemplate.php"},"region":{"startLine":328}}}],"partialFingerprints":{"codehealthFindingId/v1":"505ba67d31f411b42f9a87b4baacac74eeabf769af9769c39fd06da011115143"}},{"ruleId":"D2","level":"warning","message":{"text":"Config.index (cognitive 21): Config.index has cognitive complexity 21 (threshold 15). Drivers by points: if/else 4 (12 pts), ternaries 4 (6 pts), loops 2 (3 pts) (nesting depth added 11). 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/Controller/Admin/Config.php"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c9c6dfad51a461be52c5beb3ccf93328307e779080fecf683b40f7ba0b3545a"}},{"ruleId":"D2","level":"warning","message":{"text":"Plugin.wikiRes (cognitive 21): Plugin.wikiRes has cognitive complexity 21 (threshold 15). Drivers by points: if/else 7 (11 pts), boolean chains 7, loops 1 (3 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Controller/Admin/Plugin.php"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b17b596081f3197a8a4cacd841a60c64b6e5bec89b0a5187a771f313db9c637"}},{"ruleId":"D2","level":"warning","message":{"text":"Authentication.password (cognitive 21): Authentication.password has cognitive complexity 21 (threshold 15). Drivers by points: if/else 10 (14 pts), ternaries 3 (4 pts), boolean chains 3 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Controller/User/Api/Authentication.php"},"region":{"startLine":582}}}],"partialFingerprints":{"codehealthFindingId/v1":"af637e688c90da84cad1110d6bf269e6ec3a79a32061eacb5025f2a2e2e195dd"}},{"ruleId":"D2","level":"warning","message":{"text":"Purge.collect (cognitive 21): Purge.collect has cognitive complexity 21 (threshold 15). Drivers by points: error handling 5 (8 pts), if/else 6, boolean chains 5, ternaries 2 (nesting depth added 3). 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/Util/CardFile/Purge.php"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a42c5c450e9347b7ed200ddaabda8369af61d2412b9302c10e5718e2f48b688"}},{"ruleId":"D2","level":"warning","message":{"text":"CommodityLang.widget (cognitive 21): CommodityLang.widget has cognitive complexity 21 (threshold 15). Drivers by points: if/else 5 (10 pts), ternaries 3 (5 pts), boolean chains 3, loops 2 (3 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Util/CommodityLang.php"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a1943d0bf5c110c68675e768f624c47daa646c44b2e5876c413cfa5beee7322"}},{"ruleId":"D2","level":"warning","message":{"text":"PluginPacker.pack (cognitive 21): PluginPacker.pack has cognitive complexity 21 (threshold 15). Drivers by points: if/else 11 (15 pts), boolean chains 5, loops 1 (nesting depth added 4). 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/Util/PluginPacker.php"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"38c1e71f7c9bf16d1a874d2c27bd34e4bc227db55ec4af54f1c04d43c2886f02"}},{"ruleId":"D2","level":"warning","message":{"text":"UploadPurge.inspectUploadPath (cognitive 21): UploadPurge.inspectUploadPath has cognitive complexity 21 (threshold 15). Drivers by points: if/else 7 (10 pts), boolean chains 7, loops 2, ternaries 2 (nesting depth added 3). 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/Util/UploadPurge.php"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"e97dc579d3d862f7c759fa752ec3db4dcb6094200ebad115e823ebf8e9850817"}},{"ruleId":"D2","level":"warning","message":{"text":"ViewSafe.walk (cognitive 21): ViewSafe.walk has cognitive complexity 21 (threshold 15). Drivers by points: if/else 5 (10 pts), ternaries 3 (6 pts), boolean chains 4, loops 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Util/ViewSafe.php"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"59f0e67a8a14e420ad09d1604f3c50c173da6539ecf46256d37a4a668d3177e0"}},{"ruleId":"D2","level":"warning","message":{"text":"Di.inject (cognitive 21): Di.inject has cognitive complexity 21 (threshold 15). Drivers by points: if/else 8 (21 pts) (nesting depth added 13). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kernel/Container/Di.php"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ddcea9e6c9ce180735cb4902d249a1016d4d1205c11ee580200bac1a89accf1"}},{"ruleId":"D2","level":"warning","message":{"text":"Plugin.runHookState (cognitive 21): Plugin.runHookState has cognitive complexity 21 (threshold 15). Drivers by points: if/else 3 (13 pts), loops 3 (8 pts) (nesting depth added 15). 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":"kernel/Util/Plugin.php"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"19e4cff3256f3bdd18e8015ba92efa9bd80bb7a5deec3720272441dfdb4a3ee5"}},{"ruleId":"D2","level":"warning","message":{"text":"Tokens.split (cognitive 21): Tokens.split has cognitive complexity 21 (threshold 15). Drivers by points: if/else 6 (14 pts), boolean chains 3, ternaries 2 (3 pts), loops 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kernel/Waf/Css/Tokens.php"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"b82c7602797cd7d74ba96b5a57f6112927bf064c8e60de56d00d10fdc76cf864"}},{"ruleId":"D2","level":"warning","message":{"text":"acgSecretPopup (cognitive 21): acgSecretPopup has cognitive complexity 21 (threshold 15). Drivers by points: ternaries 9 (11 pts), boolean chains 5, if/else 5 (nesting depth added 2). Of this number, 15 points are the body\u0027s own statements and 6 belong to 8 function items 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":"assets/static/acg.js"},"region":{"startLine":1073}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e4a58f36dfd003635a4d7dcf6db5cb775c84fe10ca16257e6e8cec8d7709413"}},{"ruleId":"D2","level":"warning","message":{"text":"sanitizeInlineHtml (cognitive 21): sanitizeInlineHtml has cognitive complexity 21 (threshold 15). Drivers by points: if/else 9 (11 pts), boolean chains 3, other 3, ternaries 3, error handling 1 (nesting depth added 2). Most of this is not in the body itself: 1 of the 21 points is its own statement and the rest belongs to 5 function items inside it that branch (a function literal at line 132, normalizeLink, normalizeColor, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/common/js/component.js"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8d7f71ff7f2a33f90ffc522ce18f3c0b20e5325644dbeb0a5ca355d42f29997"}},{"ruleId":"D2","level":"warning","message":{"text":"(anonymous)::submit (cognitive 21): (anonymous)::submit has cognitive complexity 21 (threshold 15). Drivers by points: boolean chains 7, if/else 6 (7 pts), ternaries 5, error handling 1, other 1 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/trade/card.js"},"region":{"startLine":656}}}],"partialFingerprints":{"codehealthFindingId/v1":"76d5ea7aaf4a566fcd6da7c236b777f2617d95b05787266581c5e691e75474e0"}},{"ruleId":"D2","level":"warning","message":{"text":"addChangeToHistory (cognitive 21): addChangeToHistory has cognitive complexity 21 (threshold 15). Drivers by points: if/else 7 (11 pts), boolean chains 6, loops 1 (2 pts), ternaries 1 (2 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/static/codemirror/lib/codemirror.js"},"region":{"startLine":4896}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c75373d8e692fcacd67e88a6400ac3c1ee2f83d46daa353f6dc6d58c9ef7702"}},{"ruleId":"D2","level":"warning","message":{"text":"(anonymous)::formatStringFactory::tokenString (cognitive 21): (anonymous)::formatStringFactory::tokenString has cognitive complexity 21 (threshold 15). Drivers by points: if/else 13 (19 pts), boolean chains 1, loops 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/static/codemirror/mode/python/python.js"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"8420db196405cf2e02edaad3f646f8a62c6d10f39d20332781031f97b62dfb11"}},{"ruleId":"D2","level":"warning","message":{"text":"api.showTestResult (cognitive 20): api.showTestResult has cognitive complexity 20 (threshold 15). Drivers by points: boolean chains 10, ternaries 7, error handling 1 (2 pts), if/else 1 (nesting depth added 1). Of this number, 16 points are the body\u0027s own statements and 4 belong to one function literal inside it that branches. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/pay/api.js"},"region":{"startLine":320}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7653445ece4dc8ec964d82df39b00962b1194995d394c8bff8d2ecea7a802a5"}},{"ruleId":"D2","level":"warning","message":{"text":"menu.KTScrolltop (cognitive 20): menu.KTScrolltop has cognitive complexity 20 (threshold 15). Drivers by points: if/else 13 (17 pts), boolean chains 3 (nesting depth added 4). Most of this is not in the body itself: 2 of the 20 points are its own statements and the rest belongs to 3 function items inside it that branch (_getOption, _scroll, _construct). Those helpers are already separate functions, so extracting the branching again is not available. To reduce it, move them out of the body to the enclosing scope, where each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/js/menu.js"},"region":{"startLine":3097}}}],"partialFingerprints":{"codehealthFindingId/v1":"20fdc282581ff605251337e1110dd45cbccd9abc2bcbab4c2b0f8386d01769ce"}},{"ruleId":"D2","level":"warning","message":{"text":"overlay.closeTransientInput (cognitive 20): overlay.closeTransientInput has cognitive complexity 20 (threshold 15). Drivers by points: if/else 8 (10 pts), boolean chains 7, ternaries 3 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/js/mobile/overlay.js"},"region":{"startLine":419}}}],"partialFingerprints":{"codehealthFindingId/v1":"2237140eac34b182d975c549d143b4299e893355c2e71503eca05cdb44c8d9de"}},{"ruleId":"D2","level":"warning","message":{"text":"editorv2.register.destroy (cognitive 20): editorv2.register.destroy has cognitive complexity 20 (threshold 15). Drivers by points: error handling 6 (9 pts), if/else 8, boolean chains 3 (nesting depth added 3). Of this number, 16 points are the body\u0027s own statements and 4 belong to one function literal inside it that branches. 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":"assets/common/js/editor/markdown/editorv2.js"},"region":{"startLine":980}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbcbb7eceae57f8fe44a33211b0448a5bf34e77fcc497f25f0063779af14b884"}},{"ruleId":"D2","level":"warning","message":{"text":"codemirror.makeChangeSingleDocInEditor (cognitive 20): codemirror.makeChangeSingleDocInEditor has cognitive complexity 20 (threshold 15). Drivers by points: if/else 12 (17 pts), boolean chains 3 (nesting depth added 5). Of this number, 16 points are the body\u0027s own statements and 4 belong to 2 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":"assets/static/codemirror/lib/codemirror.js"},"region":{"startLine":5469}}}],"partialFingerprints":{"codehealthFindingId/v1":"651193d2fcaea3ae7a95d13c5d15402716293acaecb8d5ceca24a42f752d27d1"}},{"ruleId":"D2","level":"warning","message":{"text":"javascript.CodeMirror.defineMode(\u0022javascript\u0022).parseJS (cognitive 20): javascript.CodeMirror.defineMode(\u0022javascript\u0022).parseJS has cognitive complexity 20 (threshold 15). Drivers by points: if/else 4 (9 pts), ternaries 2 (5 pts), loops 2 (4 pts), boolean chains 2 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/static/codemirror/mode/javascript/javascript.js"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecf2aa7e5882acf1c4103dd489f98e0562a7451cc4bc0438096483ed209e86de"}},{"ruleId":"D2","level":"warning","message":{"text":"Commodity.reorder (cognitive 20): Commodity.reorder has cognitive complexity 20 (threshold 15). Drivers by points: if/else 7 (10 pts), loops 8 (10 pts) (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Controller/Admin/Api/Commodity.php"},"region":{"startLine":726}}}],"partialFingerprints":{"codehealthFindingId/v1":"14a6965fb97ee236714ff9dd6541fe5e2642c79fa1a4f9c8c0553145f0dc61da"}},{"ruleId":"D2","level":"warning","message":{"text":"User.changeAccountBalance (cognitive 20): User.changeAccountBalance has cognitive complexity 20 (threshold 15). Drivers by points: boolean chains 11, if/else 9. 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/Controller/Admin/Api/User.php"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"baee90098116ddb2eccb350fb87a877b2e670e3cc04417876bbd451c665beeb1"}},{"ruleId":"D2","level":"warning","message":{"text":"Currency.assertConvertNoOverflow (cognitive 20): Currency.assertConvertNoOverflow has cognitive complexity 20 (threshold 15). Drivers by points: if/else 4 (7 pts), loops 3 (4 pts), ternaries 2 (4 pts), boolean chains 3, error handling 1 (2 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Service/Bind/Currency.php"},"region":{"startLine":309}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e4a8211b5d7c8aed82263f1a571465e7f9107eb1a6fe5c1bfb2eefd571a41ad"}},{"ruleId":"D2","level":"warning","message":{"text":"Purge.forCards (cognitive 20): Purge.forCards has cognitive complexity 20 (threshold 15). Drivers by points: if/else 5 (12 pts), loops 3 (5 pts), boolean chains 2, error handling 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (Purge.forOrders) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Util/CardFile/Purge.php"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0c119584cb740531593a81176db5bb3cffa030f820e2517e3126be438d64f6a"}},{"ruleId":"D2","level":"warning","message":{"text":"Purge.forOrders (cognitive 20): Purge.forOrders has cognitive complexity 20 (threshold 15). Drivers by points: if/else 5 (12 pts), loops 3 (5 pts), boolean chains 2, error handling 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (Purge.forCards) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Util/CardFile/Purge.php"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d7a61aae5d5e145bbca36327cae9fc600d9414f96915b5d4e8b049328766e6c"}},{"ruleId":"D2","level":"warning","message":{"text":"UploadGuard.sanitizeImage (cognitive 20): UploadGuard.sanitizeImage has cognitive complexity 20 (threshold 15). Drivers by points: if/else 9 (11 pts), ternaries 2 (3 pts), boolean chains 2, loops 1 (2 pts), match/switch 2 (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Util/UploadGuard.php"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fc934405ba63386b0dcc8c09c5aec811c9adfa9579f11235acb5049b1713f51"}},{"ruleId":"D2","level":"warning","message":{"text":"Waf.wafPost (cognitive 20): Waf.wafPost has cognitive complexity 20 (threshold 15). Drivers by points: boolean chains 12, if/else 3 (6 pts), loops 2 (nesting depth added 3). 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/Util/Waf.php"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"610fd9836b54525ba7b460ba5fb07648e2198326abd597b9055a8277f98b57b1"}},{"ruleId":"D2","level":"warning","message":{"text":"hideDropdowns (cognitive 20): hideDropdowns has cognitive complexity 20 (threshold 15). Drivers by points: if/else 5 (14 pts), boolean chains 4, loops 1 (2 pts) (nesting depth added 10). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/js/menu.js"},"region":{"startLine":2361}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3911d58383880b1a30923af23a0f499e0399ad1b90c9baf2421541d2580bb12"}},{"ruleId":"D2","level":"warning","message":{"text":"(anonymous)::popup::success::(anonymous)::render (cognitive 20): (anonymous)::popup::success::(anonymous)::render has cognitive complexity 20 (threshold 15). Drivers by points: ternaries 13, boolean chains 7. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/static/modules/hex.js"},"region":{"startLine":1102}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5fbf93241fefcf3aa1658842e469ac3bca418051066cdc19b906b96cac8cc96"}},{"ruleId":"D2","level":"warning","message":{"text":"initTheme (cognitive 20): initTheme has cognitive complexity 20 (threshold 15). Drivers by points: ternaries 6 (10 pts), if/else 5 (6 pts), boolean chains 4 (nesting depth added 5). Most of this is not in the body itself: 4 of the 20 points are its own statements and the rest belongs to 5 function items inside it that branch (apply, resolve, mode, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/user/js/glass.js"},"region":{"startLine":503}}}],"partialFingerprints":{"codehealthFindingId/v1":"08c003a49a5796f91e59410f33e11056911ab53d30a0e6d0e7f6f93cd80770a7"}},{"ruleId":"D2","level":"warning","message":{"text":"modal (cognitive 20): modal has cognitive complexity 20 (threshold 15). Drivers by points: boolean chains 9, if/else 5, other 3, ternaries 2, error handling 1. None of this is in the body itself: all 20 points belong to 9 function items inside it that branch (a function literal at line 116, complete::(anonymous)::change, a function literal at line 127, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/shared/priceTemplate.js"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"7276e93dda1c92e0666d3692fde9a6d1d6837581e2591daf54fa58009378f8bb"}},{"ruleId":"D2","level":"warning","message":{"text":"(anonymous).attach.treeHtml (cognitive 20): (anonymous).attach.treeHtml has cognitive complexity 20 (threshold 15). Drivers by points: if/else 7 (8 pts), boolean chains 6, ternaries 3 (6 pts) (nesting depth added 4). Of this number, 17 points are the body\u0027s own statements and 3 belong to one function literal inside it that branches. 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":"assets/admin/controller/trade/category-tree.js"},"region":{"startLine":389}}}],"partialFingerprints":{"codehealthFindingId/v1":"80e581b8a03ae170fee88850dd57c2208288de0e690bbc7a6c7b6d1e21fee8b7"}},{"ruleId":"D2","level":"warning","message":{"text":"keepPageFieldVisible (cognitive 20): keepPageFieldVisible has cognitive complexity 20 (threshold 15). Drivers by points: boolean chains 8, if/else 6, ternaries 5 (6 pts) (nesting depth added 1). Most of this is not in the body itself: 8 of the 20 points are its own statements and the rest belongs to one function literal inside it that branches (line 145). The decisions are inside the literal, 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 literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/js/mobile/viewport.js"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e47bf3662382639e473a089ad9f68999b9fc077682b3d20b600688a62fd9523"}},{"ruleId":"D2","level":"warning","message":{"text":"(anonymous)::(anonymous)::appendNodes (cognitive 20): (anonymous)::(anonymous)::appendNodes has cognitive complexity 20 (threshold 15). Drivers by points: if/else 6 (11 pts), boolean chains 7, loops 1, ternaries 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/common/js/component/tree.select.js"},"region":{"startLine":977}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb6b18e866ac644800caa228211563d14edfae3ab401bf1f83250c8f0c552ef9"}},{"ruleId":"D2","level":"warning","message":{"text":"normalizeSelection (cognitive 20): normalizeSelection has cognitive complexity 20 (threshold 15). Drivers by points: ternaries 4 (12 pts), if/else 2 (5 pts), boolean chains 2, loops 1 (nesting depth added 11). 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":"assets/static/codemirror/lib/codemirror.js"},"region":{"startLine":4646}}}],"partialFingerprints":{"codehealthFindingId/v1":"83e7f53c61347b6d06c7e1f65f12293393d119d192a2d0c2553b89be596689b7"}},{"ruleId":"D2","level":"warning","message":{"text":"find (cognitive 20): find has cognitive complexity 20 (threshold 15). Drivers by points: if/else 5 (11 pts), ternaries 2 (6 pts), boolean chains 2, loops 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/static/codemirror/lib/codemirror.js"},"region":{"startLine":5905}}}],"partialFingerprints":{"codehealthFindingId/v1":"4469af8f66eab93eae56e1103f6169e0941057c85d8211920213ee90ceb9511f"}},{"ruleId":"D2","level":"warning","message":{"text":"configureMouse (cognitive 20): configureMouse has cognitive complexity 20 (threshold 15). Drivers by points: ternaries 7 (13 pts), if/else 4, boolean chains 3 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/static/codemirror/lib/codemirror.js"},"region":{"startLine":7392}}}],"partialFingerprints":{"codehealthFindingId/v1":"99db1c8f5da3eb78161b7dee2a47f40b7a94fd53b885bf6730e02715507f50ab"}},{"ruleId":"D2","level":"warning","message":{"text":"register.destroy (cognitive 20): register.destroy has cognitive complexity 20 (threshold 15). Drivers by points: error handling 6 (9 pts), if/else 8, boolean chains 3 (nesting depth added 3). Of this number, 16 points are the body\u0027s own statements and 4 belong to one function literal inside it that branches. 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":"assets/common/js/editor/markdown/editorv2.js"},"region":{"startLine":980}}}],"partialFingerprints":{"codehealthFindingId/v1":"e38d97afbf22a223eda81429c10624e44731c5071106787ce2813a0a3d634cd0"}},{"ruleId":"D2","level":"warning","message":{"text":"(anonymous).objprop (cognitive 20): (anonymous).objprop has cognitive complexity 20 (threshold 15). Drivers by points: if/else 11 (13 pts), boolean chains 5, ternaries 1 (2 pts) (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/static/codemirror/mode/javascript/javascript.js"},"region":{"startLine":522}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ac91c8db43f283035f648a3e4863cbb180609f08d65370d9b6896182a0690f2"}},{"ruleId":"D2","level":"warning","message":{"text":"store.fitImportPopupHeight (cognitive 19): store.fitImportPopupHeight has cognitive complexity 19 (threshold 15). Drivers by points: boolean chains 12, if/else 6, ternaries 1. 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":"assets/admin/controller/shared/store.js"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"218042a2735b010cecafe192c95353eedd6cdb52aa46a11e1ba2482c809acff0"}},{"ruleId":"D2","level":"warning","message":{"text":"store.importTaskLogText (cognitive 19): store.importTaskLogText has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7, boolean chains 6, ternaries 3 (6 pts) (nesting depth added 3). Most of this is not in the body itself: 5 of the 19 points are its own statements and the rest belongs to one function literal inside it that branches (line 824). The decisions are inside the literal, 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 literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/shared/store.js"},"region":{"startLine":822}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b94d78f68ba02bd7726ac22a65da84a46c3b40ff122956355ab72ecb6183d66"}},{"ruleId":"D2","level":"warning","message":{"text":"commodity.confirmCommodityDelete (cognitive 19): commodity.confirmCommodityDelete has cognitive complexity 19 (threshold 15). Drivers by points: boolean chains 14, if/else 5. Most of this is not in the body itself: 1 of the 19 points is its own statement and the rest belongs to 3 function literals inside it that branch (lines 117, 158, 159). 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":"assets/admin/controller/trade/commodity.js"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bcecbe9425f829c03a6407887a5e029a92454ad8663e0adc887000f0be551c6"}},{"ruleId":"D2","level":"warning","message":{"text":"coupon.confirmCouponDelete (cognitive 19): coupon.confirmCouponDelete has cognitive complexity 19 (threshold 15). Drivers by points: boolean chains 11, if/else 5, ternaries 2 (3 pts) (nesting depth added 1). Most of this is not in the body itself: 2 of the 19 points are its own statements and the rest belongs to 5 function literals inside it that branch (lines 113, 140, 126, \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":"assets/admin/controller/trade/coupon.js"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbe41cbb261998e207590972a6c122c669098ccc4ebac5fcca6e234eae704872"}},{"ruleId":"D2","level":"warning","message":{"text":"fallback.renderLedgerCard (cognitive 19): fallback.renderLedgerCard has cognitive complexity 19 (threshold 15). Drivers by points: if/else 10, boolean chains 9. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/js/mobile/fallback.js"},"region":{"startLine":728}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c6ff567444b44681c502fdb4a40f15ca84fbe8516c4ef8a17c3a38c5482ca65"}},{"ruleId":"D2","level":"warning","message":{"text":"overlay.api.closeAll (cognitive 19): overlay.api.closeAll has cognitive complexity 19 (threshold 15). Drivers by points: if/else 10 (15 pts), boolean chains 4 (nesting depth added 5). Most of this is not in the body itself: 7 of the 19 points are its own statements and the rest belongs to 3 function literals inside it that branch (lines 1404, 1384, 1395). 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":"assets/admin/js/mobile/overlay.js"},"region":{"startLine":1372}}}],"partialFingerprints":{"codehealthFindingId/v1":"42899c6343c8d6fa1fb99a8a22d33c151f5535afcb4b49b53bb84c8f88bd7d13"}},{"ruleId":"D2","level":"warning","message":{"text":"Form.validator (cognitive 19): Form.validator has cognitive complexity 19 (threshold 15). Drivers by points: if/else 3 (10 pts), ternaries 1 (4 pts), loops 2 (3 pts), boolean chains 2 (nesting depth added 11). 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":"assets/common/js/component/form.js"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"88e34be4b5263fe5ede2cd05263727f011e4e89527525a498b8388df400f6b70"}},{"ruleId":"D2","level":"warning","message":{"text":"editorv2.register.alignLine (cognitive 19): editorv2.register.alignLine has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (9 pts), ternaries 5 (9 pts), boolean chains 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/common/js/editor/markdown/editorv2.js"},"region":{"startLine":714}}}],"partialFingerprints":{"codehealthFindingId/v1":"214b54f1ecbabe13aafd2dafad619c958c3c928f0e2bca5d3e3487ab51895967"}},{"ruleId":"D2","level":"warning","message":{"text":"codemirror.getBidiPartAt (cognitive 19): codemirror.getBidiPartAt has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (14 pts), boolean chains 3, loops 1, ternaries 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/static/codemirror/lib/codemirror.js"},"region":{"startLine":329}}}],"partialFingerprints":{"codehealthFindingId/v1":"40e088b8381f53a4d81bc93124486c72653f24ec402b28a7c82fc1a5a5db2188"}},{"ruleId":"D2","level":"warning","message":{"text":"codemirror.mergeOldSpans (cognitive 19): codemirror.mergeOldSpans has cognitive complexity 19 (threshold 15). Drivers by points: if/else 5 (10 pts), loops 3 (8 pts), boolean chains 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/static/codemirror/lib/codemirror.js"},"region":{"startLine":5016}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb017d51b66b64be0c941ccdffa000016f1b440b0c4738a82831a4f3d42386c9"}},{"ruleId":"D2","level":"warning","message":{"text":"codemirror.TextareaInput.init (cognitive 19): codemirror.TextareaInput.init has cognitive complexity 19 (threshold 15). Drivers by points: if/else 15 (16 pts), boolean chains 3 (nesting depth added 1). Most of this is not in the body itself: 1 of the 19 points is its own statement and the rest belongs to 7 function items inside it that branch (prepareCopyCut, a function literal at line 9399, a function literal at line 9365, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/static/codemirror/lib/codemirror.js"},"region":{"startLine":9353}}}],"partialFingerprints":{"codehealthFindingId/v1":"75b74ff6732e48eeba730e01a36fa7754f75550b88ca5cf5f901fc3c83cfb288"}},{"ruleId":"D2","level":"warning","message":{"text":"foldcode.doFold (cognitive 19): foldcode.doFold has cognitive complexity 19 (threshold 15). Drivers by points: if/else 9 (12 pts), boolean chains 4, loops 2 (3 pts) (nesting depth added 4). Of this number, 10 points are the body\u0027s own statements and 9 belong to one function item inside it that branches. 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":"assets/static/codemirror/addon/fold/foldcode.js"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"97797c814d39d0a9cf7f2d804396a4f5ac798dd32e5fa2a4c068bb22864ff040"}},{"ruleId":"D2","level":"warning","message":{"text":"card.uploadCard (cognitive 19): card.uploadCard has cognitive complexity 19 (threshold 15). Drivers by points: loops 3 (10 pts), if/else 7 (9 pts) (nesting depth added 9). None of this is in the body itself: all 19 points belong to 4 function literals inside it that branch (lines 42, 77, 115, \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":"assets/user/controller/business/card.js"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"59a87e1aa1c80ebcc64206fb9f7c08473584dac422d2a7dc27d0005a6f823d34"}},{"ruleId":"D2","level":"warning","message":{"text":"RechargeOrder.verifyExportToken (cognitive 19): RechargeOrder.verifyExportToken has cognitive complexity 19 (threshold 15). Drivers by points: boolean chains 13, if/else 5, error handling 1. 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/Controller/Admin/Api/RechargeOrder.php"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"f053083a0a3326a3f5cfc2c097957a49cbe52f2cea90d4ad2041c239cbd7b552"}},{"ruleId":"D2","level":"warning","message":{"text":"Store.assertRemoteAssetDestination (cognitive 19): Store.assertRemoteAssetDestination has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (10 pts), ternaries 3 (4 pts), loops 2 (3 pts), boolean chains 2 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Controller/Admin/Api/Store.php"},"region":{"startLine":661}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b8a69682786c4805f875e0bcbb368181d468277436098a2261bf2543823c03e"}},{"ruleId":"D2","level":"warning","message":{"text":"Commodity.item (cognitive 19): Commodity.item has cognitive complexity 19 (threshold 15). Drivers by points: if/else 6 (12 pts), error handling 1 (4 pts), loops 1 (3 pts) (nesting depth added 11). 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/Controller/Shared/Commodity.php"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"19bdd69274ca5e1572b2a7199ae3ddf1fbc21d150f5a98f1bbcb0f998130a14e"}},{"ruleId":"D2","level":"warning","message":{"text":"Mcp.pluginConfigSet (cognitive 19): Mcp.pluginConfigSet has cognitive complexity 19 (threshold 15). Drivers by points: if/else 5 (8 pts), ternaries 2 (6 pts), boolean chains 3, loops 2 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Service/Bind/Mcp.php"},"region":{"startLine":606}}}],"partialFingerprints":{"codehealthFindingId/v1":"088907fdd6b095bbbe05a07fe9f18dc3163bd4361e2a66ff5dcf1ec4e9e0a021"}},{"ruleId":"D2","level":"warning","message":{"text":"Ticket.normalizeTicket (cognitive 19): Ticket.normalizeTicket has cognitive complexity 19 (threshold 15). Drivers by points: ternaries 13 (14 pts), boolean chains 3, if/else 2 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Service/Bind/Ticket.php"},"region":{"startLine":265}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8c413adab6422b7c50bfab6cc4558268032010e6026e6f1c233788fd1191b5f"}},{"ruleId":"D2","level":"warning","message":{"text":"Client.normalizeTrustedProxyConfig (cognitive 19): Client.normalizeTrustedProxyConfig has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (13 pts), ternaries 1 (3 pts), boolean chains 2, loops 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Util/Client.php"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"108cfb0d388f5328e765b76fce7f30b580bc5295d8496f686e0c7f11bef68443"}},{"ruleId":"D2","level":"warning","message":{"text":"Helper.isInstall (cognitive 19): Helper.isInstall has cognitive complexity 19 (threshold 15). Drivers by points: if/else 9 (17 pts), match/switch 2 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Util/Helper.php"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"6022c47323d286edb669fd32822214c7c39ef8de17c407bfc331610ca346af99"}},{"ruleId":"D2","level":"warning","message":{"text":"LinkDomainGuard.allowList (cognitive 19): LinkDomainGuard.allowList has cognitive complexity 19 (threshold 15). Drivers by points: if/else 4 (10 pts), loops 3 (4 pts), ternaries 2 (3 pts), error handling 2 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Util/LinkDomainGuard.php"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"c18799bed6a242d1d415d8ba1bbc068a6ef76bf2dfb8ff0aeae3e100d4a31b39"}},{"ruleId":"D2","level":"warning","message":{"text":"Lang.importPackFile (cognitive 19): Lang.importPackFile has cognitive complexity 19 (threshold 15). Drivers by points: if/else 5 (7 pts), loops 4 (5 pts), boolean chains 3, ternaries 1 (3 pts), error handling 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kernel/Util/Lang.php"},"region":{"startLine":813}}}],"partialFingerprints":{"codehealthFindingId/v1":"18731240c0f0d3942afaa42aef6686eff62c800c0a8bf36e293fc15646409558"}},{"ruleId":"D2","level":"warning","message":{"text":"KTUtil.getResponsiveValue (cognitive 19): KTUtil.getResponsiveValue has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (12 pts), ternaries 1 (4 pts), loops 1 (2 pts), boolean chains 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/js/menu.js"},"region":{"startLine":1324}}}],"partialFingerprints":{"codehealthFindingId/v1":"a92f360ec80b8754c7becd281ad3ed095da21438099fa909fd73af39be2d41aa"}},{"ruleId":"D2","level":"warning","message":{"text":"redactDebugValue::clone (cognitive 19): redactDebugValue::clone has cognitive complexity 19 (threshold 15). Drivers by points: if/else 9, boolean chains 8, error handling 1, ternaries 1. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/common/js/util.js"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e9be93af81ee7403fc29fb691be80ff23987b7cad501b2ac6cd4294a8c8115f"}},{"ruleId":"D2","level":"warning","message":{"text":"renderConfigForm (cognitive 19): renderConfigForm has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (9 pts), boolean chains 7, error handling 1 (2 pts), other 1 (nesting depth added 3). Most of this is not in the body itself: 9 of the 19 points are its own statements and the rest belongs to 6 function items inside it that branch (renderComplete, renderComplete::pin, a function literal at line 278, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/pay/plugin.js"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e01a1a26a34d67166d0ced46989e768c0751a3674bf8e55ec3131f32dba14ef"}},{"ruleId":"D2","level":"warning","message":{"text":"(anonymous).confirmDelete (cognitive 19): (anonymous).confirmDelete has cognitive complexity 19 (threshold 15). Drivers by points: boolean chains 7, ternaries 5, if/else 4, other 3. Most of this is not in the body itself: 3 of the 19 points are its own statements and the rest belongs to 9 function items inside it that branch (done, a function literal at line 63, a function literal at line 23, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/trade/category-actions.js"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"9325f3262dea1572bba313991fdbdb6f44013ee835b41b91de57d252c0c2a8b5"}},{"ruleId":"D2","level":"warning","message":{"text":"(anonymous).attach.bindHost (cognitive 19): (anonymous).attach.bindHost has cognitive complexity 19 (threshold 15). Drivers by points: if/else 9 (11 pts), boolean chains 8 (nesting depth added 2). None of this is in the body itself: all 19 points belong to 9 function literals inside it that branch (lines 1110, 1125, 1146, \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":"assets/admin/controller/trade/category-tree.js"},"region":{"startLine":1108}}}],"partialFingerprints":{"codehealthFindingId/v1":"949a59b3b7fac9f736636d3bfbe5de901527f2cf5073ab6ea047ba9ff7c3cf27"}},{"ruleId":"D2","level":"warning","message":{"text":"(anonymous) (cognitive 19): (anonymous) has cognitive complexity 19 (threshold 15). Drivers by points: boolean chains 8, if/else 7 (8 pts), error handling 1, other 1, ternaries 1 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/trade/coupon.js"},"region":{"startLine":677}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5306f7838992ee6c8dd469c8fae4de51345a82dbdf0c766bb2ac8366b12de5c"}},{"ruleId":"D2","level":"warning","message":{"text":"(anonymous).attach.groupBlocks (cognitive 19): (anonymous).attach.groupBlocks has cognitive complexity 19 (threshold 15). Drivers by points: if/else 10 (12 pts), boolean chains 6, loops 1 (nesting depth added 2). Most of this is not in the body itself: 4 of the 19 points are its own statements and the rest belongs to 5 function items inside it that branch (a function literal at line 241, isDescendantOf, a function literal at line 224, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/trade/drag-sort.js"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"3dd2e49aaab5061f92bb52dd11e698c4f0ad4e61da40040d8b0714f85597e22c"}},{"ruleId":"D2","level":"warning","message":{"text":"onKeyDown (cognitive 19): onKeyDown has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (8 pts), boolean chains 6, ternaries 2 (5 pts) (nesting depth added 4). 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":"assets/static/codemirror/lib/codemirror.js"},"region":{"startLine":7242}}}],"partialFingerprints":{"codehealthFindingId/v1":"055c8e30b48bd4a9402b25e5e1699c2689f452a47070a0ba6cfe0b3c8a1fb4b8"}},{"ruleId":"D2","level":"warning","message":{"text":"save (cognitive 19): save has cognitive complexity 19 (threshold 15). Drivers by points: boolean chains 12, ternaries 4, if/else 3. Of this number, 13 points are the body\u0027s own statements and 6 belong to 4 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":"assets/user/controller/security/ipwhitelist.js"},"region":{"startLine":303}}}],"partialFingerprints":{"codehealthFindingId/v1":"5815b8bd6595a90b1302727c243797713baa6c47dd1e0fa93fbc76106639de2b"}},{"ruleId":"D2","level":"warning","message":{"text":"register.alignLine (cognitive 19): register.alignLine has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (9 pts), ternaries 5 (9 pts), boolean chains 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/common/js/editor/markdown/editorv2.js"},"region":{"startLine":714}}}],"partialFingerprints":{"codehealthFindingId/v1":"20ed0c0b24e19b6d48eabc20045c97cd6f6142181fa7e313c67d47a48d3658dd"}},{"ruleId":"D2","level":"warning","message":{"text":"(anonymous).parseJS (cognitive 19): (anonymous).parseJS has cognitive complexity 19 (threshold 15). Drivers by points: if/else 4 (9 pts), loops 2 (4 pts), ternaries 2 (4 pts), boolean chains 2 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/static/codemirror/mode/javascript/javascript.js"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d375694b5b2acaab33edcebb2429d19787333e96b4d8fc5ca28a0cae9762783"}},{"ruleId":"D2","level":"warning","message":{"text":"Install.html.renderDb (cognitive 18): Install.html.renderDb has cognitive complexity 18 (threshold 15). Drivers by points: if/else 9 (13 pts), boolean chains 5 (nesting depth added 4). None of this is in the body itself: all 18 points belong to 4 function literals inside it that branch (lines 1132, 1101, 1104, \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/View/Install.html"},"region":{"startLine":1070}}}],"partialFingerprints":{"codehealthFindingId/v1":"747e917f7c7e8eb3c9fda56090fe67c5007f26d03fb1719cc08eb8b999757907"}},{"ruleId":"D2","level":"warning","message":{"text":"fallback.relativeTimeTimestamp (cognitive 18): fallback.relativeTimeTimestamp has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (8 pts), ternaries 4 (7 pts), boolean chains 3 (nesting depth added 4). Of this number, 16 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. 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":"assets/admin/js/mobile/fallback.js"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4bf5f5ddc0231654b4348d63facf19d177235c5d4e86f4968e1c31d7da972b0"}},{"ruleId":"D2","level":"warning","message":{"text":"workflows.visible (cognitive 18): workflows.visible has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (9 pts), boolean chains 7, loops 1, ternaries 1 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/js/mobile/workflows.js"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb9b7a4e1a5cebeae3107dc951eb2fabbeeeafc63b8f5c5d23a577fc65286454"}},{"ruleId":"D2","level":"warning","message":{"text":"workflows.releasePageHistoryGuard (cognitive 18): workflows.releasePageHistoryGuard has cognitive complexity 18 (threshold 15). Drivers by points: if/else 11 (16 pts), boolean chains 2 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/js/mobile/workflows.js"},"region":{"startLine":381}}}],"partialFingerprints":{"codehealthFindingId/v1":"c04b0b7731ad230531e940d28b4384df2243d6f6d2ffd626919af1b9c5d6d7b8"}},{"ruleId":"D2","level":"warning","message":{"text":"workflows.addControl (cognitive 18): workflows.addControl has cognitive complexity 18 (threshold 15). Drivers by points: ternaries 5 (11 pts), boolean chains 5, if/else 2 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/js/mobile/workflows.js"},"region":{"startLine":947}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ed72ba9f4fb91b3734a14073f27c806578ae6bc26cf0f99201889ba6e981e3d"}},{"ruleId":"D2","level":"warning","message":{"text":"codemirror.prepareSelection (cognitive 18): codemirror.prepareSelection has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (14 pts), boolean chains 3, loops 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/static/codemirror/lib/codemirror.js"},"region":{"startLine":3148}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc6b39c8093aceb848268f24fb11d45e60a9128baee364f4d6183b0dce36b1fa"}},{"ruleId":"D2","level":"warning","message":{"text":"codemirror.makeChange (cognitive 18): codemirror.makeChange has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (10 pts), boolean chains 3, ternaries 1 (3 pts), loops 1 (2 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/static/codemirror/lib/codemirror.js"},"region":{"startLine":5301}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbb83d8022cbea8eadd591c626e5bbc1151e7326068adbf95e88c9b4683078d5"}},{"ruleId":"D2","level":"warning","message":{"text":"foldgutter.updateFoldInfo (cognitive 18): foldgutter.updateFoldInfo has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (11 pts), boolean chains 7 (nesting depth added 4). Most of this is not in the body itself: 2 of the 18 points are its own statements and the rest belongs to one function literal inside it that branches (line 80). The decisions are inside the literal, 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 literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/static/codemirror/addon/fold/foldgutter.js"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e3c0143484b18262e4fef5d48c6bbae575a8729c57172ed04b7092e398488ae"}},{"ruleId":"D2","level":"warning","message":{"text":"javascript.CodeMirror.defineMode(\u0022javascript\u0022).objprop (cognitive 18): javascript.CodeMirror.defineMode(\u0022javascript\u0022).objprop has cognitive complexity 18 (threshold 15). Drivers by points: if/else 11 (13 pts), boolean chains 5 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/static/codemirror/mode/javascript/javascript.js"},"region":{"startLine":522}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed50009bec75f332a9b52428ae18bbabca8a295ca19f253178eaa2a76c8ff80f"}},{"ruleId":"D2","level":"warning","message":{"text":"jquery.pjax.pjax (cognitive 18): jquery.pjax.pjax has cognitive complexity 18 (threshold 15). Drivers by points: if/else 10 (11 pts), boolean chains 7 (nesting depth added 1). Of this number, 17 points are the body\u0027s own statements and 1 belongs to 6 function items inside it that branch. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/static/jquery.pjax.js"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"4546e9d4c70abc1e3617f3ea80eceabe7e149547969b0e46b97ffa1a59d41e64"}},{"ruleId":"D2","level":"warning","message":{"text":"coupon.createCoupon (cognitive 18): coupon.createCoupon has cognitive complexity 18 (threshold 15). Drivers by points: loops 3 (10 pts), if/else 6 (8 pts) (nesting depth added 9). None of this is in the body itself: all 18 points belong to 3 function literals inside it that branch (lines 79, 67, 116). 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":"assets/user/controller/business/coupon.js"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"d78da9c19e907d804438f6d6f91f7e46bab94c8fc13e0fbbad444457a11557e6"}},{"ruleId":"D2","level":"warning","message":{"text":"Card.data (cognitive 18): Card.data has cognitive complexity 18 (threshold 15). Drivers by points: ternaries 3 (9 pts), if/else 4 (6 pts), loops 1 (2 pts), boolean chains 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Controller/Admin/Api/Card.php"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a143ebb2c8d228d6b6981bc5978b09b4c050ff919dfac5734bfcc782977459e"}},{"ruleId":"D2","level":"warning","message":{"text":"Order.verifyOrderExportToken (cognitive 18): Order.verifyOrderExportToken has cognitive complexity 18 (threshold 15). Drivers by points: boolean chains 12, if/else 5, error handling 1. 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/Controller/Admin/Api/Order.php"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b6e792a5c4e80696c0bd82a4be91912b99c5e845db37dabd76f16ab0fa4d418"}},{"ruleId":"D2","level":"warning","message":{"text":"Install.importLanguagePacks (cognitive 18): Install.importLanguagePacks has cognitive complexity 18 (threshold 15). Drivers by points: if/else 5 (12 pts), loops 3 (5 pts), boolean chains 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Controller/Install.php"},"region":{"startLine":532}}}],"partialFingerprints":{"codehealthFindingId/v1":"b39e65c21ed1efd227fceba154786002ca9ac77a21d80a987abe6ecfd750e703"}},{"ruleId":"D2","level":"warning","message":{"text":"Commodity.getItems (cognitive 18): Commodity.getItems has cognitive complexity 18 (threshold 15). Drivers by points: if/else 3 (8 pts), ternaries 1 (4 pts), boolean chains 3, loops 2 (3 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Controller/Shared/Commodity.php"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d9d283d7958ee00f4f57e008c287bf888237f3e8d0c062f9bba04e0063834fc"}},{"ruleId":"D2","level":"warning","message":{"text":"Ticket.applyFilters (cognitive 18): Ticket.applyFilters has cognitive complexity 18 (threshold 15). Drivers by points: if/else 10 (12 pts), boolean chains 6 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Service/Bind/Ticket.php"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"282679a7dd44551a18feb5646e5067dfb73af7fcf3aa9e60f68150f27ae6547a"}},{"ruleId":"D2","level":"warning","message":{"text":"Lang.collect (cognitive 18): Lang.collect has cognitive complexity 18 (threshold 15). Drivers by points: if/else 10 (12 pts), boolean chains 4, ternaries 2 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kernel/Util/Lang.php"},"region":{"startLine":562}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b5a13b4c429363297b3484fa5914b9514053ac893f46d9ab694b6cdf3574f53"}},{"ruleId":"D2","level":"warning","message":{"text":"Gradient.shape (cognitive 18): Gradient.shape has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (11 pts), boolean chains 4, ternaries 1 (2 pts), loops 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kernel/Waf/Css/Gradient.php"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"236fde3b90430fe79ad772009aeaa23c8b70ab5bc5a48d3f4056ebd6b78ebe0c"}},{"ruleId":"D2","level":"warning","message":{"text":"renderDelta (cognitive 18): renderDelta has cognitive complexity 18 (threshold 15). Drivers by points: ternaries 4 (10 pts), if/else 5 (8 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/dashboard/index.js"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"477950648b79f1dfcb337bb831416f8c123a2ef94f8d5dc11375c3be651cecf6"}},{"ruleId":"D2","level":"warning","message":{"text":"(anonymous).parseResponse (cognitive 18): (anonymous).parseResponse has cognitive complexity 18 (threshold 15). Drivers by points: boolean chains 8, if/else 5 (6 pts), ternaries 1 (3 pts), error handling 1 (nesting depth added 3). 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":"assets/admin/controller/trade/card-file-upload.js"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"8282bff13a556cfb764adcc5a15e9b1161aedad42344d237280fe051b77e389e"}},{"ruleId":"D2","level":"warning","message":{"text":"change (cognitive 18): change has cognitive complexity 18 (threshold 15). Drivers by points: loops 3 (10 pts), if/else 4 (7 pts), boolean chains 1 (nesting depth added 10). Most of this is not in the body itself: 1 of the 18 points is its own statement and the rest belongs to 2 function literals inside it that branch (lines 501, 498). 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":"assets/admin/controller/trade/card.js"},"region":{"startLine":494}}}],"partialFingerprints":{"codehealthFindingId/v1":"4959ff533d94127c83908a269185150912d9b3b4352ef145020506da02df50a5"}},{"ruleId":"D2","level":"warning","message":{"text":"(anonymous) (cognitive 18): (anonymous) has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8, boolean chains 7, ternaries 2, other 1. Most of this is not in the body itself: 1 of the 18 points is its own statement and the rest belongs to 7 function items inside it that branch (submitBatchSettings, a function literal at line 1411, a function literal at line 1393, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/trade/commodity.js"},"region":{"startLine":1382}}}],"partialFingerprints":{"codehealthFindingId/v1":"09ab56ef6bd56b7e788c4259b30ca10b7bf09fff7ab0a750b6f4ecda02b556fe"}},{"ruleId":"D2","level":"warning","message":{"text":"(anonymous).attach (cognitive 18): (anonymous).attach has cognitive complexity 18 (threshold 15). Drivers by points: boolean chains 9, if/else 6, ternaries 3. Of this number, 9 points are the body\u0027s own statements and 9 belong to 7 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":"assets/admin/controller/trade/drag-sort.js"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"99ea60133a40fb61f0249814ef6196a3ba5af0d0d6678492bdc1ed584e9207b9"}},{"ruleId":"D2","level":"warning","message":{"text":"copyConfiguredField (cognitive 18): copyConfiguredField has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7, boolean chains 6, error handling 2 (3 pts), ternaries 2 (nesting depth added 1). Of this number, 11 points are the body\u0027s own statements and 7 belong to 3 function items inside it that branch. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/js/mobile/fallback.js"},"region":{"startLine":1020}}}],"partialFingerprints":{"codehealthFindingId/v1":"af352171c9063f4d6e76dcde4c960d492ee4f4a3f6e7bd168516cbbcffac8ffc"}},{"ruleId":"D2","level":"warning","message":{"text":"updateTreeCollapsePresentation (cognitive 18): updateTreeCollapsePresentation has cognitive complexity 18 (threshold 15). Drivers by points: ternaries 6 (8 pts), boolean chains 5, if/else 5 (nesting depth added 2). Most of this is not in the body itself: 2 of the 18 points are its own statements and the rest belongs to one function literal inside it that branches (line 2718). The decisions are inside the literal, 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 literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/js/mobile/fallback.js"},"region":{"startLine":2716}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb0bf3fe9f5a87726cdae50ea20859003492672a9c5bf5cd3515f6692b070aef"}},{"ruleId":"D2","level":"warning","message":{"text":"#mobileDisplayValue (cognitive 18): #mobileDisplayValue has cognitive complexity 18 (threshold 15). Drivers by points: boolean chains 7, if/else 5, ternaries 2 (3 pts), error handling 1 (2 pts), other 1 (nesting depth added 2). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/common/js/component/table.js"},"region":{"startLine":726}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3da85e7d832aef9b3311c65afe1635c55d6b211e729be0cb06c3fdfe9bcaca6"}},{"ruleId":"D2","level":"warning","message":{"text":"(anonymous)::(anonymous)::_eventProxy (cognitive 18): (anonymous)::(anonymous)::_eventProxy has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (10 pts), boolean chains 6, match/switch 1 (2 pts) (nesting depth added 4). 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":"assets/common/js/component/tree.select.js"},"region":{"startLine":2081}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb0c51cbe9a62232ba0f122fc42a73d543164d503cacb35b011bdd64ca06156c"}},{"ruleId":"D2","level":"warning","message":{"text":"viewCuttingPoint (cognitive 18): viewCuttingPoint has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (10 pts), ternaries 2 (5 pts), loops 2, boolean chains 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/static/codemirror/lib/codemirror.js"},"region":{"startLine":3087}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e2a1c97dff2772334d853628f05e9e4621c2dbade607860ca1d9a712bf4ce06"}},{"ruleId":"D2","level":"warning","message":{"text":"update (cognitive 18): update has cognitive complexity 18 (threshold 15). Drivers by points: ternaries 6 (10 pts), if/else 6 (7 pts), boolean chains 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/static/codemirror/lib/codemirror.js"},"region":{"startLine":3646}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed29f310925dec84697110b09b35d78a38c33be5a61226673046431613867fa8"}},{"ruleId":"D2","level":"warning","message":{"text":"updateDisplayIfNeeded (cognitive 18): updateDisplayIfNeeded has cognitive complexity 18 (threshold 15). Drivers by points: if/else 10, boolean chains 8. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/static/codemirror/lib/codemirror.js"},"region":{"startLine":4104}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6fe3a359637691d7ba626fa98d06dfad2d876eb04e8f6987de92c09f6389e33"}},{"ruleId":"D2","level":"warning","message":{"text":"fromTextArea (cognitive 18): fromTextArea has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (9 pts), boolean chains 5, error handling 1 (3 pts), ternaries 1 (nesting depth added 4). Of this number, 14 points are the body\u0027s own statements and 4 belong to 6 function items 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/static/codemirror/lib/codemirror.js"},"region":{"startLine":9699}}}],"partialFingerprints":{"codehealthFindingId/v1":"1068d613cf99a94c3b95d661f7cccde845344b773a78a0180516effa4ca191cc"}},{"ruleId":"D2","level":"warning","message":{"text":"(anonymous).top (cognitive 18): (anonymous).top has cognitive complexity 18 (threshold 15). Drivers by points: if/else 14, boolean chains 4. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/static/codemirror/mode/css/css.js"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"0eea1ff03dd0b8c0ae0ff0807b445f2158bad3b5d1912efccafe2f46d0ecd2aa"}},{"ruleId":"D2","level":"warning","message":{"text":"lang.langCard (cognitive 17): lang.langCard has cognitive complexity 17 (threshold 15). Drivers by points: ternaries 11 (15 pts), if/else 2 (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/config/lang.js"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddcf59daaf9bef09fe5fe26ddfb11a016de034c0f6516f59da04c41e4000c9d2"}},{"ruleId":"D2","level":"warning","message":{"text":"wiki.mobile.destroy (cognitive 17): wiki.mobile.destroy has cognitive complexity 17 (threshold 15). Drivers by points: if/else 11 (12 pts), boolean chains 5 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/config/wiki.mobile.js"},"region":{"startLine":311}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4e851723d987d3bdcf0691c7b91a2649ec8bbe22ecd6f2535b66198f3eb4680"}},{"ruleId":"D2","level":"warning","message":{"text":"fallback.cardSearchText (cognitive 17): fallback.cardSearchText has cognitive complexity 17 (threshold 15). Drivers by points: ternaries 4 (8 pts), boolean chains 7, if/else 2 (nesting depth added 4). Of this number, 14 points are the body\u0027s own statements and 3 belong to 2 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":"assets/admin/js/mobile/fallback.js"},"region":{"startLine":1940}}}],"partialFingerprints":{"codehealthFindingId/v1":"96580d9598f136540c3e75c971dd29496005290fb1328cb267f4a971acc2fe14"}},{"ruleId":"D2","level":"warning","message":{"text":"codemirror.lineIsHidden (cognitive 17): codemirror.lineIsHidden has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (13 pts), boolean chains 2, loops 1 (2 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/static/codemirror/lib/codemirror.js"},"region":{"startLine":1602}}}],"partialFingerprints":{"codehealthFindingId/v1":"95d42a302a27bff1706fa9eeb3fccac602de5743e01160b0a11ff14444cb1efa"}},{"ruleId":"D2","level":"warning","message":{"text":"codemirror.postUpdateDisplay (cognitive 17): codemirror.postUpdateDisplay has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (12 pts), boolean chains 4, loops 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/static/codemirror/lib/codemirror.js"},"region":{"startLine":4176}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c03b22a3e11947e5765be1475b43f431a4b9c34b6205c300ea51efe92d403bf"}},{"ruleId":"D2","level":"warning","message":{"text":"codemirror.rebaseHistArray (cognitive 17): codemirror.rebaseHistArray has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (11 pts), loops 3 (6 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/static/codemirror/lib/codemirror.js"},"region":{"startLine":5554}}}],"partialFingerprints":{"codehealthFindingId/v1":"848aec9422563911036f1770c15072efa9263d6cb74590d3c305f668f31f8c8b"}},{"ruleId":"D2","level":"warning","message":{"text":"codemirror.leftButtonStartDrag (cognitive 17): codemirror.leftButtonStartDrag has cognitive complexity 17 (threshold 15). Drivers by points: if/else 10 (13 pts), boolean chains 4 (nesting depth added 3). Most of this is not in the body itself: 2 of the 17 points are its own statements and the rest belongs to 2 function items inside it that branch (a function literal at line 7425, mouseMove). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/static/codemirror/lib/codemirror.js"},"region":{"startLine":7423}}}],"partialFingerprints":{"codehealthFindingId/v1":"eecda57ea5c58862c7b63747d9469b6bc26ff9cfd6713986e92df99cc7d8b420"}},{"ruleId":"D2","level":"warning","message":{"text":"codemirror.domToPos (cognitive 17): codemirror.domToPos has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (12 pts), loops 2 (3 pts), boolean chains 2 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/static/codemirror/lib/codemirror.js"},"region":{"startLine":9261}}}],"partialFingerprints":{"codehealthFindingId/v1":"af636d6d9cc882e64fe914cd1911022a8ebf2362c187018fbb9e48c707a49314"}},{"ruleId":"D2","level":"warning","message":{"text":"javascript.CodeMirror.defineMode(\u0022javascript\u0022).classBody (cognitive 17): javascript.CodeMirror.defineMode(\u0022javascript\u0022).classBody has cognitive complexity 17 (threshold 15). Drivers by points: if/else 9, boolean chains 8. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/static/codemirror/mode/javascript/javascript.js"},"region":{"startLine":777}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd9ba2ae5d47a9d38fb41f4108b863e245239e8b040d3d871275784f45403d5b"}},{"ruleId":"D2","level":"warning","message":{"text":"commodity.safeItem (cognitive 17): commodity.safeItem has cognitive complexity 17 (threshold 15). Drivers by points: ternaries 7 (12 pts), boolean chains 3, if/else 2 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/user/controller/business/commodity.js"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"03519636df57bc877200a493b2e370da43309a157ebbbcf3a46428199c2c4078"}},{"ruleId":"D2","level":"warning","message":{"text":"ticket.create.initRemoteSelect (cognitive 17): ticket.create.initRemoteSelect has cognitive complexity 17 (threshold 15). Drivers by points: boolean chains 7, if/else 7, ternaries 3. Most of this is not in the body itself: 2 of the 17 points are its own statements and the rest belongs to 6 function literals inside it that branch (lines 60, 72, 77, \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":"assets/user/controller/user/ticket.create.js"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"94c0c9529e882f4656c15bdc1ffdd2308efbf3cfde87b580e3118a8c28ad75dc"}},{"ruleId":"D2","level":"warning","message":{"text":"Category.verifyCategoryDeleteToken (cognitive 17): Category.verifyCategoryDeleteToken has cognitive complexity 17 (threshold 15). Drivers by points: boolean chains 10, if/else 6, error handling 1. 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/Controller/Admin/Api/Category.php"},"region":{"startLine":289}}}],"partialFingerprints":{"codehealthFindingId/v1":"97100594b9f59860a923373c9e14ef85880868982499e8a6bb2eb447d2169032"}},{"ruleId":"D2","level":"warning","message":{"text":"Store.remoteItem (cognitive 17): Store.remoteItem has cognitive complexity 17 (threshold 15). Drivers by points: if/else 10 (14 pts), boolean chains 3 (nesting depth added 4). 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/Controller/Admin/Api/Store.php"},"region":{"startLine":743}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5b438ae7e1eee909547059df5b32d326394ed2275eef90753135fe0bec29e34"}},{"ruleId":"D2","level":"warning","message":{"text":"User.del (cognitive 17): User.del has cognitive complexity 17 (threshold 15). Drivers by points: if/else 9 (11 pts), boolean chains 2, loops 2, ternaries 1 (2 pts) (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Controller/Admin/Api/User.php"},"region":{"startLine":376}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c4075a826ac9d2c17af5325016d13dfbc886bd1e740ed7c0fb7f85602408169"}},{"ruleId":"D2","level":"warning","message":{"text":"Plugin.wiki (cognitive 17): Plugin.wiki has cognitive complexity 17 (threshold 15). Drivers by points: if/else 10 (13 pts), loops 3, boolean chains 1 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Controller/Admin/Plugin.php"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ca0e0836bb0eecb075c0e64a2b359f6d4acf7d8928c8f5eda71d51aea150135"}},{"ruleId":"D2","level":"warning","message":{"text":"Commodity.draftCard (cognitive 17): Commodity.draftCard has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (12 pts), loops 1 (3 pts), boolean chains 2 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Controller/Shared/Commodity.php"},"region":{"startLine":425}}}],"partialFingerprints":{"codehealthFindingId/v1":"1566d5ec67b1772ecb107435058ef68c65f5308ce8464783d7ba2471b16eb008"}},{"ruleId":"D2","level":"warning","message":{"text":"ManageSSO.login (cognitive 17): ManageSSO.login has cognitive complexity 17 (threshold 15). Drivers by points: if/else 10 (13 pts), boolean chains 2, error handling 1, ternaries 1 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Service/Bind/ManageSSO.php"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ee8b8a590173da9d6ac1432d8bdcf7b782f712a984c88a72a79388453fdd150"}},{"ruleId":"D2","level":"warning","message":{"text":"Message.validateImage (cognitive 17): Message.validateImage has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (9 pts), boolean chains 5, ternaries 2 (3 pts) (nesting depth added 3). 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/Service/Bind/Message.php"},"region":{"startLine":1025}}}],"partialFingerprints":{"codehealthFindingId/v1":"a70d30900be9410fb7c98bb83c987f71e5a1b61f4df31502fe38cea27a58f909"}},{"ruleId":"D2","level":"warning","message":{"text":"Recharge.trade (cognitive 17): Recharge.trade has cognitive complexity 17 (threshold 15). Drivers by points: if/else 9 (10 pts), boolean chains 3, match/switch 1 (2 pts), ternaries 2 (nesting depth added 2). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Service/Bind/Recharge.php"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef9d64299391a64bc6dc59b53091ffc6e22784391002b7574e091752ea7127b1"}},{"ruleId":"D2","level":"warning","message":{"text":"Shared.factoryQuote (cognitive 17): Shared.factoryQuote has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (7 pts), boolean chains 6, ternaries 2 (3 pts), loops 1 (nesting depth added 3). 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/Service/Bind/Shared.php"},"region":{"startLine":905}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a13f2f13360cd184a4518c05c0f4c77d4913548471d1631ded9e5a9342bdf42"}},{"ruleId":"D2","level":"warning","message":{"text":"Ticket.validateImage (cognitive 17): Ticket.validateImage has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (9 pts), boolean chains 5, ternaries 2 (3 pts) (nesting depth added 3). 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/Service/Bind/Ticket.php"},"region":{"startLine":1345}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1361b6f62407b170b1a6a9d5210062711ba4df1805250f28b944d8e905ffa88"}},{"ruleId":"D2","level":"warning","message":{"text":"FileCache.clearCache (cognitive 17): FileCache.clearCache has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (15 pts), boolean chains 1, loops 1 (nesting depth added 10). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Util/FileCache.php"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"3216ecb14a4abb90c94b1f5b76b560214d5e927e30880274a67b3d8d69442d77"}},{"ruleId":"D2","level":"warning","message":{"text":"Ini.toArray (cognitive 17): Ini.toArray has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (16 pts), loops 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Util/Ini.php"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"55884c679a31c9123acd704a7a6cb0d1c3c132af9ae266194ff63cecf2fa2262"}},{"ruleId":"D2","level":"warning","message":{"text":"IgnoreStyleTagFilter.cssHasActiveContent (cognitive 17): IgnoreStyleTagFilter.cssHasActiveContent has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (12 pts), boolean chains 3, loops 1 (2 pts) (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kernel/Waf/IgnoreStyleTagFilter.php"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"738839f969b05b14d10615b1f6e4364fe98ee9c45cc77eee1ea8959c338ce4d9"}},{"ruleId":"D2","level":"warning","message":{"text":"(anonymous) (cognitive 17): (anonymous) has cognitive complexity 17 (threshold 15). Drivers by points: if/else 12 (14 pts), ternaries 2, boolean chains 1 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/js/material.js"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"92ddd4046cf4ee255e80b485688f22cbb670d22d3aca2b6c4043d5c418bc336f"}},{"ruleId":"D2","level":"warning","message":{"text":"KTEventHandler._triggerEvent (cognitive 17): KTEventHandler._triggerEvent has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (16 pts), boolean chains 1 (nesting depth added 10). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/js/menu.js"},"region":{"startLine":1447}}}],"partialFingerprints":{"codehealthFindingId/v1":"63976860f7cfb19fb63c769e4ba8f9837d090c44e9188499735854a9e2474082"}},{"ruleId":"D2","level":"warning","message":{"text":"show (cognitive 17): show has cognitive complexity 17 (threshold 15). Drivers by points: ternaries 9 (11 pts), boolean chains 4, if/else 2 (nesting depth added 2). Of this number, 14 points are the body\u0027s own statements and 3 belong to 7 function items 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/user/js/treasure.js"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"462eee3c5b4ceeecf598f317374e5cefc8a0882b8b10374389c9ca58b6b25234"}},{"ruleId":"D2","level":"warning","message":{"text":"click (cognitive 17): click has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7, boolean chains 6, other 2, ternaries 2. None of this is in the body itself: all 17 points belong to 11 function items inside it that branch (a function literal at line 304, (anonymous)::success::(anonymous)::(anonymous)::done, a function literal at line 322, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/config/plugin.js"},"region":{"startLine":302}}}],"partialFingerprints":{"codehealthFindingId/v1":"06fffbdffc57369e528f674ca2595128accdc80a930ec6d6f32250b7106b12a9"}},{"ruleId":"D2","level":"warning","message":{"text":"click (cognitive 17): click has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7, boolean chains 6, other 2, ternaries 2. None of this is in the body itself: all 17 points belong to 11 function items inside it that branch (a function literal at line 427, (anonymous)::success::(anonymous)::(anonymous)::done, a function literal at line 445, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/pay/plugin.js"},"region":{"startLine":425}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5949e237212ed849208fe8622fe4be44ec61f486a07755f311a421f07e7cbf1"}},{"ruleId":"D2","level":"warning","message":{"text":"controlAvailable (cognitive 17): controlAvailable has cognitive complexity 17 (threshold 15). Drivers by points: boolean chains 10, if/else 4 (6 pts), loops 1 (nesting depth added 2). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/js/mobile/fallback.js"},"region":{"startLine":936}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e2646eef6180c1c81f1560c5c3aefc248e7917e82d5dd1229b8531563b1e3a6"}},{"ruleId":"D2","level":"warning","message":{"text":"renderTreeToggle (cognitive 17): renderTreeToggle has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (9 pts), boolean chains 6, ternaries 2 (nesting depth added 1). Of this number, 15 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/js/mobile/fallback.js"},"region":{"startLine":2744}}}],"partialFingerprints":{"codehealthFindingId/v1":"47b863724e2f9887baeb034c14341410d6c7478378588d38d00defc793d7fbbe"}},{"ruleId":"D2","level":"warning","message":{"text":"openSheet (cognitive 17): openSheet has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (8 pts), boolean chains 7, ternaries 2 (nesting depth added 1). Of this number, 15 points are the body\u0027s own statements and 2 belong to 3 function literals inside it that branch. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/js/mobile/overlay.js"},"region":{"startLine":829}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d7de763237e186cb99f6a058517a1ef121b10dfb247a064dc5cf29e9216f63c"}},{"ruleId":"D2","level":"warning","message":{"text":"openActions (cognitive 17): openActions has cognitive complexity 17 (threshold 15). Drivers by points: boolean chains 9, ternaries 5, if/else 3. Most of this is not in the body itself: 4 of the 17 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 905, 916). 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":"assets/admin/js/mobile/overlay.js"},"region":{"startLine":901}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7ffeaad927124976f1f9e4a71c66eb485e987c1827a502a2b172dd886a0e78b"}},{"ruleId":"D2","level":"warning","message":{"text":"updateViewportVars (cognitive 17): updateViewportVars has cognitive complexity 17 (threshold 15). Drivers by points: boolean chains 10, ternaries 4, if/else 3. 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":"assets/admin/js/mobile/viewport.js"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"f399abe1cf70cb873467587274eafd5eba0a3be5c872397384abc3c99b694da7"}},{"ruleId":"D2","level":"warning","message":{"text":"(anonymous)::(anonymous)::transformTozTreeFormat (cognitive 17): (anonymous)::(anonymous)::transformTozTreeFormat has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (11 pts), loops 2 (4 pts), boolean chains 2 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/common/js/component/tree.select.js"},"region":{"startLine":712}}}],"partialFingerprints":{"codehealthFindingId/v1":"024829bb73ae5c1e771341bc4c8c2af5a6a369a9a765fa7cb225570d420c5bb4"}},{"ruleId":"D2","level":"warning","message":{"text":"(anonymous)::(anonymous)::asyncNode (cognitive 17): (anonymous)::(anonymous)::asyncNode has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (8 pts), loops 3 (5 pts), boolean chains 3, ternaries 1 (nesting depth added 3). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/common/js/component/tree.select.js"},"region":{"startLine":1040}}}],"partialFingerprints":{"codehealthFindingId/v1":"d03540493e49525981655a2b3ccd648160038e65fded9539478891ab0283a710"}},{"ruleId":"D2","level":"warning","message":{"text":"onKeyPress (cognitive 17): onKeyPress has cognitive complexity 17 (threshold 15). Drivers by points: boolean chains 10, if/else 6, ternaries 1. 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":"assets/static/codemirror/lib/codemirror.js"},"region":{"startLine":7286}}}],"partialFingerprints":{"codehealthFindingId/v1":"db43286f16c6a94c8c79cdd14e8ecb362d26b611dfba81f2b56475d64f646178"}},{"ruleId":"D2","level":"warning","message":{"text":"addEditorMethods::getHelpers (cognitive 17): addEditorMethods::getHelpers has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (12 pts), loops 2 (3 pts), boolean chains 2 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/static/codemirror/lib/codemirror.js"},"region":{"startLine":8388}}}],"partialFingerprints":{"codehealthFindingId/v1":"391e740cda9ff1104bdc6c69efc3e494bcc79144ef303ebee39ac81c6d5aeb59"}},{"ruleId":"D2","level":"warning","message":{"text":"(anonymous).block (cognitive 17): (anonymous).block has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (9 pts), ternaries 2 (6 pts), boolean chains 2 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/static/codemirror/mode/css/css.js"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"47efb6ca29454027da5454625dd8b5a2851f29330fbca2ebacc8b2cbc7c8b750"}},{"ruleId":"D2","level":"warning","message":{"text":"(anonymous).classBody (cognitive 17): (anonymous).classBody has cognitive complexity 17 (threshold 15). Drivers by points: if/else 9, boolean chains 8. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/static/codemirror/mode/javascript/javascript.js"},"region":{"startLine":777}}}],"partialFingerprints":{"codehealthFindingId/v1":"15937fb332d96b746a5096203e1337dcf99273982d5753b66d152ba7bbd9fa83"}},{"ruleId":"D2","level":"warning","message":{"text":"(anonymous)::tokenBase (cognitive 17): (anonymous)::tokenBase has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (12 pts), boolean chains 5 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/static/codemirror/mode/python/python.js"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbfb568569188dd128f1c825be7e09d0ef43d2be7679ed774b6fff52f73a66a4"}},{"ruleId":"D2","level":"warning","message":{"text":"other.$(\u0022#currency-convert-btn\u0022).off().on() (cognitive 16): other.$(\u0022#currency-convert-btn\u0022).off().on() has cognitive complexity 16 (threshold 15). Drivers by points: boolean chains 11, if/else 4, ternaries 1. Of this number, 11 points are the body\u0027s own statements and 5 belong to 4 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":"assets/admin/controller/config/other.js"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"818c4fdee9837176f8fd457b5abdac446bee6daf6c9372e7420efbfd9e052173"}},{"ruleId":"D2","level":"warning","message":{"text":"plugin.$(\u0022.plugin-restart\u0022).click() (cognitive 16): plugin.$(\u0022.plugin-restart\u0022).click() has cognitive complexity 16 (threshold 15). Drivers by points: if/else 10 (14 pts), boolean chains 2 (nesting depth added 4). Most of this is not in the body itself: 3 of the 16 points are its own statements and the rest belongs to 5 function literals inside it that branch (lines 546, 560, 568, \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":"assets/admin/controller/config/plugin.js"},"region":{"startLine":535}}}],"partialFingerprints":{"codehealthFindingId/v1":"f38d038302f860fd1482c51e1bb8e26c0162ea9e89e4ca847589098c18bcc5ed"}},{"ruleId":"D2","level":"warning","message":{"text":"home.requestPurchase (cognitive 16): home.requestPurchase has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9, boolean chains 7. Most of this is not in the body itself: 6 of the 16 points are its own statements and the rest belongs to 5 function items inside it that branch (a function literal at line 299, send, a function literal at line 310, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/store/home.js"},"region":{"startLine":288}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a62b111f3ee58fca1676b464bfead02c05ee8394b2da5f147869d7dd0790385"}},{"ruleId":"D2","level":"warning","message":{"text":"fallback.configureShellSearch (cognitive 16): fallback.configureShellSearch has cognitive complexity 16 (threshold 15). Drivers by points: boolean chains 9, if/else 5, ternaries 2. Of this number, 14 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/js/mobile/fallback.js"},"region":{"startLine":806}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ac4ca86ef303fe188288110d6358aea2d55bf657808d469470d9efae4f7c092"}},{"ruleId":"D2","level":"warning","message":{"text":"fallback.openRecordSheet (cognitive 16): fallback.openRecordSheet has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (7 pts), boolean chains 6, ternaries 2 (3 pts) (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/js/mobile/fallback.js"},"region":{"startLine":1684}}}],"partialFingerprints":{"codehealthFindingId/v1":"1816ac1af130cfc91dfbe9af3f34dfc84432553bf8b310456d755f62e0686d7d"}},{"ruleId":"D2","level":"warning","message":{"text":"fallback.rebuild (cognitive 16): fallback.rebuild has cognitive complexity 16 (threshold 15). Drivers by points: boolean chains 7, if/else 6 (7 pts), error handling 1, ternaries 1 (nesting depth added 1). Most of this is not in the body itself: 2 of the 16 points are its own statements and the rest belongs to one function literal inside it that branches (line 3220). The decisions are inside the literal, 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 literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/js/mobile/fallback.js"},"region":{"startLine":3217}}}],"partialFingerprints":{"codehealthFindingId/v1":"a36857b052939cadb6d36b27175b8951df203af8f62930c295009400f9627f84"}},{"ruleId":"D2","level":"warning","message":{"text":"overlay.confirmButtonIcon (cognitive 16): overlay.confirmButtonIcon has cognitive complexity 16 (threshold 15). Drivers by points: ternaries 6 (16 pts) (nesting depth added 10). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/js/mobile/overlay.js"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"23cd62aa7d73b666cde45be3546cd343ecc0cf89d4d27202b27d34ca39736af3"}},{"ruleId":"D2","level":"warning","message":{"text":"overlay.finalize (cognitive 16): overlay.finalize has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9 (10 pts), boolean chains 6 (nesting depth added 1). Of this number, 12 points are the body\u0027s own statements and 4 belong to 2 function items inside it that branch. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/js/mobile/overlay.js"},"region":{"startLine":360}}}],"partialFingerprints":{"codehealthFindingId/v1":"160b3dcac1daae75ba51746f579e753eab8a7c2f07a74abc1f19e98554a2ae43"}},{"ruleId":"D2","level":"warning","message":{"text":"overlay.setupSheetDrag::pointerEnd (cognitive 16): overlay.setupSheetDrag::pointerEnd has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (8 pts), boolean chains 6, ternaries 2 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/js/mobile/overlay.js"},"region":{"startLine":784}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ed7057712cc19abcb55cced8c36fbf775f002727f79ec1df8100fb6d23ecad1"}},{"ruleId":"D2","level":"warning","message":{"text":"Table.setColumns (cognitive 16): Table.setColumns has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (13 pts), loops 1 (3 pts) (nesting depth added 10). Most of this is not in the body itself: 1 of the 16 points is its own statement and the rest belongs to one function literal inside it that branches (line 223). The decisions are inside the literal, 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 literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest. This shape REPEATS in the file: one other method here (Table.setSearch) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/common/js/component/table.js"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"89d329aa5011e1345aec04935995e0f013b5f7eeab8513861871bd0390c8c3f9"}},{"ruleId":"D2","level":"warning","message":{"text":"Table.setSearch (cognitive 16): Table.setSearch has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (13 pts), loops 1 (3 pts) (nesting depth added 10). Most of this is not in the body itself: 1 of the 16 points is its own statement and the rest belongs to one function literal inside it that branches (line 558). The decisions are inside the literal, 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 literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest. This shape REPEATS in the file: one other method here (Table.setColumns) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/common/js/component/table.js"},"region":{"startLine":554}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba4a80a4ecfb64db2e59aa9fad907dbefb01116942a106c5f7f99c8a9e16a74f"}},{"ruleId":"D2","level":"warning","message":{"text":"codemirror.updateDoc (cognitive 16): codemirror.updateDoc has cognitive complexity 16 (threshold 15). Drivers by points: if/else 10 (14 pts), loops 1, ternaries 1 (nesting depth added 4). Of this number, 14 points are the body\u0027s own statements and 2 belong to 2 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/static/codemirror/lib/codemirror.js"},"region":{"startLine":4754}}}],"partialFingerprints":{"codehealthFindingId/v1":"a275bd425d56b2c26b396ec4efeea3a9b9954c39b0c1d8db083b243d9dce96ba"}},{"ruleId":"D2","level":"warning","message":{"text":"python.CodeMirror.defineMode(\u0022python\u0022)::tokenBase (cognitive 16): python.CodeMirror.defineMode(\u0022python\u0022)::tokenBase has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (12 pts), boolean chains 4 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: 3 other methods here (python.CodeMirror.defineMode(\u0022python\u0022)::tokenBaseInner, python.CodeMirror.defineMode(\u0022python\u0022)::formatStringFactory::tokenString, python.CodeMirror.defineMode(\u0022python\u0022)::tokenLexer) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 4 times rather than 4 independent problems. Splitting this body alone leaves the other 3 exactly as they are. Where these are variations on one operation, the change that clears all 4 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/static/codemirror/mode/python/python.js"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"50440425cb7d87cf20681de2c2e77157192eb38c28e8394ae242a10b7ae25227"}},{"ruleId":"D2","level":"warning","message":{"text":"ticket.create.updateSummary (cognitive 16): ticket.create.updateSummary has cognitive complexity 16 (threshold 15). Drivers by points: boolean chains 8, ternaries 4 (5 pts), if/else 3 (nesting depth added 1). 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":"assets/user/controller/user/ticket.create.js"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d0152a07dda9f11f3e8f1b61ee717b645a5a00adb863d5517c7b1a53360ea38"}},{"ruleId":"D2","level":"warning","message":{"text":"ticket.create.submitTicket (cognitive 16): ticket.create.submitTicket has cognitive complexity 16 (threshold 15). Drivers by points: ternaries 8, boolean chains 6, if/else 2. Of this number, 10 points are the body\u0027s own statements and 6 belong to 2 function literals inside it that branch. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/user/controller/user/ticket.create.js"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f6ac81078ce37b005f71091eb9296c0d48752f1e5e23f499ebc6d32c6b696fb"}},{"ruleId":"D2","level":"warning","message":{"text":"Cash.decide (cognitive 16): Cash.decide has cognitive complexity 16 (threshold 15). Drivers by points: if/else 10 (11 pts), boolean chains 5 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Controller/Admin/Api/Cash.php"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"30bd96de39b9d16378cad6db297a4ba8cdb1b509e0a8d85060f61a8ad7d33f78"}},{"ruleId":"D2","level":"warning","message":{"text":"Config.configHttpUrl (cognitive 16): Config.configHttpUrl has cognitive complexity 16 (threshold 15). Drivers by points: boolean chains 11, if/else 4, ternaries 1. 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/Controller/Admin/Api/Config.php"},"region":{"startLine":409}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd398524e9e09f237f1d3a5ed19c27c815ab2d2a68a57f7e2fb54151849056cc"}},{"ruleId":"D2","level":"warning","message":{"text":"File.structuredReferenceImpact (cognitive 16): File.structuredReferenceImpact has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (11 pts), loops 3 (5 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Controller/Admin/Api/File.php"},"region":{"startLine":381}}}],"partialFingerprints":{"codehealthFindingId/v1":"85d73639cbb74e09af9877adde8602ce814adc3ae13c7f1d3b35931936abe66b"}},{"ruleId":"D2","level":"warning","message":{"text":"Plugin.setConfig (cognitive 16): Plugin.setConfig has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (10 pts), ternaries 2 (3 pts), boolean chains 2, loops 1 (nesting depth added 4). 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/Controller/Admin/Api/Plugin.php"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"bde5e9134bb0b6fe593346e96e617e805857006e80664d7da68a0db677dea4b1"}},{"ruleId":"D2","level":"warning","message":{"text":"Authentication.totp (cognitive 16): Authentication.totp has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9 (12 pts), boolean chains 4 (nesting depth added 3). 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/Controller/User/Api/Authentication.php"},"region":{"startLine":439}}}],"partialFingerprints":{"codehealthFindingId/v1":"251709acf2476c3331dc8e846e62ae77c5868a4b365beebdc90efb0268682113"}},{"ruleId":"D2","level":"warning","message":{"text":"Promote.quote (cognitive 16): Promote.quote has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (7 pts), ternaries 2 (5 pts), boolean chains 4 (nesting depth added 4). 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/Controller/User/Api/Promote.php"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"5eb09cf0a96ccac0949e352b78a9da827f97598db0efcc4105361e977ba5d0a2"}},{"ruleId":"D2","level":"warning","message":{"text":"Upload.send (cognitive 16): Upload.send has cognitive complexity 16 (threshold 15). Drivers by points: if/else 10 (14 pts), boolean chains 2 (nesting depth added 4). 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/Controller/User/Api/Upload.php"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f221bbec0623bf104b25d8adcd148528b538bab170917fca8a0f086b575082e"}},{"ruleId":"D2","level":"warning","message":{"text":"Save.setMap (cognitive 16): Save.setMap has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (7 pts), boolean chains 6, ternaries 1 (2 pts), loops 1 (nesting depth added 4). 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/Entity/Query/Save.php"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"124ec41d56d71d03eb808ae420c78607cff4881ad71737ab1677ae78ed14e5ff"}},{"ruleId":"D2","level":"warning","message":{"text":"Message.recipientScope (cognitive 16): Message.recipientScope has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (10 pts), ternaries 2 (5 pts), loops 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Service/Bind/Message.php"},"region":{"startLine":583}}}],"partialFingerprints":{"codehealthFindingId/v1":"419cdb461cb1ef5e9fe79b19d36bbd8071d87b5ddc16ab9c553c1f6fe62ed1a0"}},{"ruleId":"D2","level":"warning","message":{"text":"Pay.redactLogSecrets (cognitive 16): Pay.redactLogSecrets has cognitive complexity 16 (threshold 15). Drivers by points: if/else 3 (8 pts), loops 3 (4 pts), ternaries 3, boolean chains 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Service/Bind/Pay.php"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d166373b5d6c6221470851dda12bbad0fcb720be12fcf9f9a0d9b896961e63c"}},{"ruleId":"D2","level":"warning","message":{"text":"Shared.unwrapRemoteItem (cognitive 16): Shared.unwrapRemoteItem has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (10 pts), boolean chains 3, loops 2 (3 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Service/Bind/Shared.php"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ff6ffa6c6cf2f82b36e20cecd9b25c5f57c25361f9df997bb5125d42a51e12a"}},{"ruleId":"D2","level":"warning","message":{"text":"Lang.rebuild (cognitive 16): Lang.rebuild has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (8 pts), error handling 2 (3 pts), loops 2 (3 pts), boolean chains 1, ternaries 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kernel/Util/Lang.php"},"region":{"startLine":925}}}],"partialFingerprints":{"codehealthFindingId/v1":"a994d5f5c4315aab2bc68a88189d54f128d09dc12fe92a6ad68b53e713a11abf"}},{"ruleId":"D2","level":"warning","message":{"text":"commoditys (cognitive 16): commoditys has cognitive complexity 16 (threshold 15). Drivers by points: ternaries 5 (7 pts), boolean chains 6, if/else 3 (nesting depth added 2). Most of this is not in the body itself: 4 of the 16 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 618, 623). 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":"assets/static/acg.js"},"region":{"startLine":614}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1e9dc02c27845ad2497cefd9585a0e659f9b73dbd70f729894f34bba99a9bc1"}},{"ruleId":"D2","level":"warning","message":{"text":"(anonymous) (cognitive 16): (anonymous) has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (11 pts), ternaries 2 (4 pts), boolean chains 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/common/js/csp-bind.js"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"f350bac42fc77e99c7113f9c4c7f8066fe50d9a0fd64b480aebc8dc8936555df"}},{"ruleId":"D2","level":"warning","message":{"text":"(anonymous)::_treeToSelect (cognitive 16): (anonymous)::_treeToSelect has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (13 pts), loops 2, boolean chains 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/static/modules/authtree.js"},"region":{"startLine":407}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ae778a917507754832b1a755dd11d6949df7296240582ed9239b7abe27b682c"}},{"ruleId":"D2","level":"warning","message":{"text":"(anonymous) (cognitive 16): (anonymous) has cognitive complexity 16 (threshold 15). Drivers by points: boolean chains 11, if/else 4, ternaries 1. Of this number, 11 points are the body\u0027s own statements and 5 belong to 8 function items inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/config/other.js"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"353a5615d541b33461257ed1af09ca2da3ba9f5673aee9b1f6cb60e59c972ae2"}},{"ruleId":"D2","level":"warning","message":{"text":"(anonymous) (cognitive 16): (anonymous) has cognitive complexity 16 (threshold 15). Drivers by points: if/else 10 (14 pts), boolean chains 2 (nesting depth added 4). Most of this is not in the body itself: 3 of the 16 points are its own statements and the rest belongs to 9 function items inside it that branch (a function literal at line 546, restartPlugins::(anonymous)::(anonymous)::done, restartPlugins::(anonymous)::(anonymous)::done::done, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/config/plugin.js"},"region":{"startLine":535}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8b0eb37c57c916485a65eb77e284c909e63ece0b600844ea47b57541f000cf9"}},{"ruleId":"D2","level":"warning","message":{"text":"renderFlow (cognitive 16): renderFlow has cognitive complexity 16 (threshold 15). Drivers by points: ternaries 6 (8 pts), if/else 4 (6 pts), boolean chains 2 (nesting depth added 4). Most of this is not in the body itself: 3 of the 16 points are its own statements and the rest belongs to one function literal inside it that branches (line 472). The decisions are inside the literal, 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 literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/dashboard/index.js"},"region":{"startLine":470}}}],"partialFingerprints":{"codehealthFindingId/v1":"33ae49f8fe1177cf3598ed0f7878c602ff2270ac0b64c0dd3e6cfc258b49c478"}},{"ruleId":"D2","level":"warning","message":{"text":"(anonymous) (cognitive 16): (anonymous) has cognitive complexity 16 (threshold 15). Drivers by points: boolean chains 5, if/else 4 (5 pts), error handling 2 (4 pts), ternaries 1 (2 pts) (nesting depth added 4). Most of this is not in the body itself: 5 of the 16 points are its own statements and the rest belongs to 4 function literals inside it that branch (lines 127, 119, 133, \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":"assets/admin/controller/manage/passkey.js"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d717f7587ad318e26d85e7bd5b7bcea74595a60c2d22459ff44f2bbfdb5e044"}},{"ruleId":"D2","level":"warning","message":{"text":"importItemRequest (cognitive 16): importItemRequest has cognitive complexity 16 (threshold 15). Drivers by points: boolean chains 6, if/else 5, other 2, ternaries 2, error handling 1. None of this is in the body itself: all 16 points belong to 3 function literals inside it that branch (lines 966, 950, 999). 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":"assets/admin/controller/shared/store.js"},"region":{"startLine":950}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff4ed9062876acb1b4caaf0e1e4bc380e6e6aeb502a5ea487a7cccdf3126fd98"}},{"ruleId":"D2","level":"warning","message":{"text":"(anonymous).attach.nodesHtml (cognitive 16): (anonymous).attach.nodesHtml has cognitive complexity 16 (threshold 15). Drivers by points: ternaries 10, boolean chains 6. Most of this is not in the body itself: 2 of the 16 points are its own statements and the rest belongs to one function literal inside it that branches (line 366). The decisions are inside the literal, 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 literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/trade/category-tree.js"},"region":{"startLine":363}}}],"partialFingerprints":{"codehealthFindingId/v1":"821557a920ac3ec768aab127fd9e157989770eacc2bf275c6435b6601bad3b71"}},{"ruleId":"D2","level":"warning","message":{"text":"(anonymous).attach.dragPointerMove (cognitive 16): (anonymous).attach.dragPointerMove has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (11 pts), ternaries 2 (4 pts), boolean chains 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/trade/category-tree.js"},"region":{"startLine":859}}}],"partialFingerprints":{"codehealthFindingId/v1":"62f62714093b62d9581c1169ad0a18df5f29332d757c0ad4383cb24cabe7040f"}},{"ruleId":"D2","level":"warning","message":{"text":"(anonymous).attach.endDrag (cognitive 16): (anonymous).attach.endDrag has cognitive complexity 16 (threshold 15). Drivers by points: if/else 11, boolean chains 4, ternaries 1. Of this number, 12 points are the body\u0027s own statements and 4 belong to 6 function items inside it that branch. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/trade/category-tree.js"},"region":{"startLine":985}}}],"partialFingerprints":{"codehealthFindingId/v1":"3888056609dc97b2b2ce993f664d9125fd2e00aa6f9196d5c6143c11ff29bcfa"}},{"ruleId":"D2","level":"warning","message":{"text":"(anonymous).attach.openActions (cognitive 16): (anonymous).attach.openActions has cognitive complexity 16 (threshold 15). Drivers by points: ternaries 7, boolean chains 6, if/else 3. Of this number, 12 points are the body\u0027s own statements and 4 belong to 11 function items inside it that branch. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/trade/category-tree.js"},"region":{"startLine":1158}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5e5608ab2b818d0d2c376a956a97e428bf77f4389f310686ce896371aa3d8c5"}},{"ruleId":"D2","level":"warning","message":{"text":"openSkuStock (cognitive 16): openSkuStock has cognitive complexity 16 (threshold 15). Drivers by points: boolean chains 4, if/else 4, other 3, ternaries 3, error handling 1 (2 pts) (nesting depth added 1). None of this is in the body itself: all 16 points belong to 4 function items inside it that branch (a function literal at line 1480, a function literal at line 1471, (anonymous)::esc, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/trade/commodity.js"},"region":{"startLine":1470}}}],"partialFingerprints":{"codehealthFindingId/v1":"b730213a65442e0c8a7cf0c9fc09cbcb150c88da5b9ac0aa701af24e369a830d"}},{"ruleId":"D2","level":"warning","message":{"text":"click (cognitive 16): click has cognitive complexity 16 (threshold 15). Drivers by points: boolean chains 8, if/else 5, ternaries 3. Of this number, 9 points are the body\u0027s own statements and 7 belong to 4 function items inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/user/recharge.order.js"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"875473ef4356a3bc7ebcc49250b9be850cc672c13acfb0338a6c1b93b52f0f8d"}},{"ruleId":"D2","level":"warning","message":{"text":"alignReferenceCards (cognitive 16): alignReferenceCards has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9 (10 pts), boolean chains 6 (nesting depth added 1). Most of this is not in the body itself: 3 of the 16 points are its own statements and the rest belongs to 4 function literals inside it that branch (lines 62, 60, 78, \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":"assets/admin/js/mobile/fallback.js"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"c532f90bd7821891a2f284cbf541d5c759ea3fbd3d6c85700a8583f628bf0d99"}},{"ruleId":"D2","level":"warning","message":{"text":"compactCardDefinitions (cognitive 16): compactCardDefinitions has cognitive complexity 16 (threshold 15). Drivers by points: boolean chains 9, if/else 6, ternaries 1. Most of this is not in the body itself: 6 of the 16 points are its own statements and the rest belongs to 5 function items inside it that branch (add, addMetrics, a function literal at line 348, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/js/mobile/fallback.js"},"region":{"startLine":330}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea6ecc8b3ef28b070cebeb5e315b03dc752f4eb6ec89e129ba862a63f2e1caf0"}},{"ruleId":"D2","level":"warning","message":{"text":"cardSubtitle (cognitive 16): cardSubtitle has cognitive complexity 16 (threshold 15). Drivers by points: boolean chains 7, if/else 5, ternaries 3 (4 pts) (nesting depth added 1). Most of this is not in the body itself: 7 of the 16 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 606, 607). 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":"assets/admin/js/mobile/fallback.js"},"region":{"startLine":598}}}],"partialFingerprints":{"codehealthFindingId/v1":"07a1133ada383d98e4b4d0a832d6d063715c983744ce434b017e019b517b1c82"}},{"ruleId":"D2","level":"warning","message":{"text":"applyRecipePresentation (cognitive 16): applyRecipePresentation has cognitive complexity 16 (threshold 15). Drivers by points: ternaries 4 (8 pts), boolean chains 4, if/else 3 (4 pts) (nesting depth added 5). Most of this is not in the body itself: 7 of the 16 points are its own statements and the rest belongs to one function literal inside it that branches (line 1326). The decisions are inside the literal, 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 literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/js/mobile/fallback.js"},"region":{"startLine":1316}}}],"partialFingerprints":{"codehealthFindingId/v1":"c49f6243fd3196007307dd868bcf41edc48432ff4d10e970ceaf2c6fa03d3911"}},{"ruleId":"D2","level":"warning","message":{"text":"setupSheetDrag::pointerDown (cognitive 16): setupSheetDrag::pointerDown has cognitive complexity 16 (threshold 15). Drivers by points: boolean chains 7, if/else 7, error handling 1, ternaries 1. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/js/mobile/overlay.js"},"region":{"startLine":745}}}],"partialFingerprints":{"codehealthFindingId/v1":"bca8e870dd50408cf4217684f4c1f20221fca3918cb5a96f7ba55afca9df0f29"}},{"ruleId":"D2","level":"warning","message":{"text":"presentPopup::success (cognitive 16): presentPopup::success has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (12 pts), boolean chains 3, error handling 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/js/mobile/overlay.js"},"region":{"startLine":1194}}}],"partialFingerprints":{"codehealthFindingId/v1":"db4c1b4710afefbc5812fa44df781afaff2315678b2113b58fb39561993905a9"}},{"ruleId":"D2","level":"warning","message":{"text":"(anonymous)::_treeToSelect (cognitive 16): (anonymous)::_treeToSelect has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (13 pts), loops 2, boolean chains 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/common/js/component/authtree.js"},"region":{"startLine":409}}}],"partialFingerprints":{"codehealthFindingId/v1":"920beb96cc95db90b381fc146e8b755e78cf0565a0180bf78002f2f5f2c06634"}},{"ruleId":"D2","level":"warning","message":{"text":"addAttribute (cognitive 16): addAttribute has cognitive complexity 16 (threshold 15). Drivers by points: boolean chains 8, if/else 4, ternaries 3 (4 pts) (nesting depth added 1). Of this number, 11 points are the body\u0027s own statements and 5 belong to 4 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":"assets/common/js/component/form.js"},"region":{"startLine":603}}}],"partialFingerprints":{"codehealthFindingId/v1":"983c508907093870a88cc8bac580bfb004b966a023e02b1a30191bebbc9e1978"}},{"ruleId":"D2","level":"warning","message":{"text":"set (cognitive 16): set has cognitive complexity 16 (threshold 15). Drivers by points: ternaries 3 (6 pts), if/else 4 (5 pts), boolean chains 3, other 2 (nesting depth added 4). 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":"assets/common/js/component/search.js"},"region":{"startLine":459}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ce600bb66dd5db9931d83975455d02d02d98d64bb814f3a83f110fdf83795d2"}},{"ruleId":"D2","level":"warning","message":{"text":"(anonymous)::(anonymous)::removeNode (cognitive 16): (anonymous)::(anonymous)::removeNode has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (12 pts), boolean chains 2, loops 1, ternaries 1 (nesting depth added 4). 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":"assets/common/js/component/tree.select.js"},"region":{"startLine":1530}}}],"partialFingerprints":{"codehealthFindingId/v1":"503f422a6f04f0d79509dc0aa2b98b56c90b8c7e9c36e424914ab59f350eedec"}},{"ruleId":"D2","level":"warning","message":{"text":"(anonymous)::(anonymous)::makeChkClass (cognitive 16): (anonymous)::(anonymous)::makeChkClass has cognitive complexity 16 (threshold 15). Drivers by points: ternaries 6 (10 pts), if/else 4, boolean chains 2 (nesting depth added 4). 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":"assets/common/js/component/tree.select.js"},"region":{"startLine":2428}}}],"partialFingerprints":{"codehealthFindingId/v1":"d28b0e5867462b2106e4fe8022517657ee222e961226aa0b42c303f12434f0d9"}},{"ruleId":"D2","level":"warning","message":{"text":"(anonymous)::(anonymous)::onMousedownNode (cognitive 16): (anonymous)::(anonymous)::onMousedownNode has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (10 pts), boolean chains 4, loops 1 (2 pts) (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/common/js/component/tree.select.js"},"region":{"startLine":2921}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cae44fdaeecb3d7342e3932704eaccb6637856b9e3bb2271d02da1956ffd378"}},{"ruleId":"D2","level":"warning","message":{"text":"transposeChars (cognitive 16): transposeChars has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (15 pts), loops 1 (nesting depth added 9). None of this is in the body itself: all 16 points belong to one function literal inside it that branches (line 7085). The decisions are inside the literal, 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 literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/static/codemirror/lib/codemirror.js"},"region":{"startLine":7085}}}],"partialFingerprints":{"codehealthFindingId/v1":"3aa63c69f0141ada29de61d00a9b4df57ee4d48fb89f42891bfd00e992a24a1c"}},{"ruleId":"D2","level":"warning","message":{"text":"addEditorMethods::getTokenTypeAt (cognitive 16): addEditorMethods::getTokenTypeAt has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (7 pts), ternaries 4 (7 pts), loops 1 (2 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/static/codemirror/lib/codemirror.js"},"region":{"startLine":8362}}}],"partialFingerprints":{"codehealthFindingId/v1":"96e06ddb9ca9bb264b93e7acd2fdd63126e75d42ace127848f8df91cfad6d510"}},{"ruleId":"D2","level":"warning","message":{"text":"addEditorMethods::addWidget (cognitive 16): addEditorMethods::addWidget has cognitive complexity 16 (threshold 15). Drivers by points: if/else 10 (13 pts), boolean chains 3 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/static/codemirror/lib/codemirror.js"},"region":{"startLine":8458}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a644894ca02debebcef93020758c4c3929f87fb5bec41676cdc423fc890ad1c"}},{"ruleId":"D2","level":"warning","message":{"text":"addEditorMethods::findWordAt (cognitive 16): addEditorMethods::findWordAt has cognitive complexity 16 (threshold 15). Drivers by points: boolean chains 4, if/else 3 (4 pts), loops 2 (4 pts), ternaries 2 (4 pts) (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/static/codemirror/lib/codemirror.js"},"region":{"startLine":8573}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bf0adeedca43d69701163cfa9de8becc8458a8de208ace20bac63e67178e2c1"}},{"ruleId":"D2","level":"warning","message":{"text":"openMessage (cognitive 16): openMessage has cognitive complexity 16 (threshold 15). Drivers by points: if/else 10 (11 pts), boolean chains 5 (nesting depth added 1). Most of this is not in the body itself: 3 of the 16 points are its own statements and the rest belongs to 4 function items inside it that branch (done, error, done::onClose, \u2026). Those helpers are already separate functions, so extracting the branching again is not available. To reduce it, move them out of the body to the enclosing scope, where each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/user/controller/user/message.js"},"region":{"startLine":370}}}],"partialFingerprints":{"codehealthFindingId/v1":"acdf7585652e70c45abc0bcd3c4a9da28ccb371e978b5f93783b6d7398e55418"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: tree.select.layui.define(): FunctionTooLong \u2014 layui.define() runs 3019 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 2919 over it, 30.19\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":"assets/common/js/component/tree.select.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"30d9523b7aa7a8ba3e098ed3a1bb6c955daac57190eb1981499be55d2fd1d050"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: lib/codemirror.js: FileTooLong \u2014 6578 significant lines (blank, comment-only and punctuation-only lines excluded; the length bar is tripled for a single-responsibility module of 4 or fewer top-level units). The bar is 1500 significant lines; this is 5078 over it, 4.39\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/static/codemirror/lib/codemirror.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"daff38e446664af9c2ab731ca17071fc9a24f969684d5ffec550977870b3f708"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: hex.layui.define(): FunctionTooLong \u2014 layui.define() runs 919 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 819 over it, 9.19\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":"assets/static/modules/hex.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"277760726eefd6b26c34a2a4754388ba1c320eaa11bf01d79e57f00e5154ec47"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: component/tree.select.js: FileTooLong \u2014 3019 significant lines (blank, comment-only and punctuation-only lines excluded; the length bar is tripled for a single-responsibility module of 4 or fewer top-level units). The bar is 1500 significant lines; this is 1519 over it, 2.01\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/common/js/component/tree.select.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ef87878d83645f4a9ef9f1512f8d69a0fb55b8ae8c9ce18bd37036b1b62d525"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: mobile/fallback.js: FileTooLong \u2014 2616 significant lines (blank, comment-only and punctuation-only lines excluded; the length bar is tripled for a single-responsibility module of 4 or fewer top-level units). The bar is 1500 significant lines; this is 1116 over it, 1.74\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/js/mobile/fallback.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"63fa6c1e779fc8e2275d4fa93bfde51164a1cdae0daf14cb8c188dd0da53286c"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: authtree.layui.define(): FunctionTooLong \u2014 layui.define() runs 481 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 381 over it, 4.81\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":"assets/common/js/component/authtree.js"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"00ea1e16588942b78c8d026946873fc4ea0de6a9eed1d6144733983fc3140ef1"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: commodity.modal: FunctionTooLong \u2014 modal runs 446 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 346 over it, 4.46\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":"assets/admin/controller/trade/commodity.js"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"afc25e9e8675cf5ce3eded5e85f10dd4eb0a3573bfd6514e8e309a1e900e2e3a"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: authtree.layui.define(): FunctionTooLong \u2014 layui.define() runs 441 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 341 over it, 4.41\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":"assets/static/modules/authtree.js"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9ed240399313646a074c6bd6571c9a05a84c5118732937f80861e1488e4dda2"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: menu.KTMenu: FunctionTooLong \u2014 KTMenu runs 414 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 314 over it, 4.14\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":"assets/admin/js/menu.js"},"region":{"startLine":1526}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ed45826ef6d61cc756dde696405c687264b076ce75c3e175b8acd945ae4beff"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Form: ClassTooLong \u2014 1521 significant lines (blank, comment-only and punctuation-only lines excluded), 83 methods. The bar is 400 significant lines; this is 1121 over it, 3.80\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":"assets/common/js/component/form.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a71f45aacdfa4c74e2999733d8bc4ac232fe8c3ddaa0c2541a4e6eca9779bb3a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: js/menu.js: FileTooLong \u2014 1864 significant lines (blank, comment-only and punctuation-only lines excluded; the length bar is tripled for a single-responsibility module of 4 or fewer top-level units). The bar is 500 significant lines; this is 1364 over it, 3.73\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/js/menu.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec034ddb0f89683eabfed2088c4f4efab5482e390e94455c225c9cedfe3f83b6"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: codemirror.addEditorMethods: FunctionTooLong \u2014 addEditorMethods runs 322 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 222 over it, 3.22\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":"assets/static/codemirror/lib/codemirror.js"},"region":{"startLine":8268}}}],"partialFingerprints":{"codehealthFindingId/v1":"e60e9c84694a8b8032e50f6ae807dd87acaf6f30159957a48500234605cb4e62"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: fallback.render: FunctionTooLong \u2014 render runs 313 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 213 over it, 3.13\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":"assets/admin/js/mobile/fallback.js"},"region":{"startLine":2784}}}],"partialFingerprints":{"codehealthFindingId/v1":"f885c0614fce8847832b0fd5264debfdf0863e6e5ac2990475662c9ec754442a"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: css.CodeMirror.defineMode(\u0022css\u0022): FunctionTooLong \u2014 CodeMirror.defineMode(\u0022css\u0022) 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":"assets/static/codemirror/mode/css/css.js"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c5778e1ff9bdec808fbb8e7b51864681fdc8b536a16db7464a54fdee21cc6fe"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: mobile/recipes.js: FileTooLong \u2014 1554 significant lines (blank, comment-only and punctuation-only lines excluded; the length bar is tripled for a single-responsibility module of 4 or fewer top-level units). The bar is 1500 significant lines; this is 54 over it, 1.04\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/js/mobile/recipes.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"55f070429dc8f3efddb23521111805a7e8e506de6196bd057719b9de4cd29b94"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: component/form.js: FileTooLong \u2014 1521 significant lines (blank, comment-only and punctuation-only lines excluded; the length bar is tripled for a single-responsibility module of 4 or fewer top-level units), about 100% of them inside a single declaration: Form (1-2161). The bar is 1500 significant lines; this is 21 over it, 1.01\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/common/js/component/form.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"817a3ffae1988331f770f80b4aeaebfbd52e26c9b255a4798a78d4fbdd3331db"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: shared/store.js: FileTooLong \u2014 1505 significant lines (blank, comment-only and punctuation-only lines excluded; the length bar is tripled for a single-responsibility module of 4 or fewer top-level units). The bar is 1500 significant lines; this is 5 over it, 1.00\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/shared/store.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef088280352d8387c6e4b543b54c56e43c83db4ec87fe91ea95440678d99a202"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: store.mountRemoteProductPicker: FunctionTooLong \u2014 mountRemoteProductPicker runs 291 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 191 over it, 2.91\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":"assets/admin/controller/shared/store.js"},"region":{"startLine":350}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f02c1cd3548b603ac56f8509ea61ff7af8ef7b8deaf6d1b3af00be1400f26ec"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Order.trade: MethodTooLong \u2014 trade runs 277 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 177 over it, 2.77\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/Service/Bind/Order.php"},"region":{"startLine":644}}}],"partialFingerprints":{"codehealthFindingId/v1":"38cc5d481baac6e886e04f476d9a207e765d0e8f36fb4d3a052b54be5c20f4a6"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Form: TooManyMethods \u2014 83 methods. The bar is 30 methods; this is 53 over it, 2.77\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":"assets/common/js/component/form.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f580315866236541a8ea2a33fb3f9f505891bb8bb0aeb7e4b1b3e23d33da8c4a"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: xml.CodeMirror.defineMode(\u0022xml\u0022): FunctionTooLong \u2014 CodeMirror.defineMode(\u0022xml\u0022) 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":"assets/static/codemirror/mode/xml/xml.js"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c99c241e71d6a522a6fcf697c6be873b74aad2b8967b454bccae882a7cf8139"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: component/table.js: FileTooLong \u2014 1307 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 807 over it, 2.61\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/common/js/component/table.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"158662d4faf2816a7f7d8e431eb6198158bc76f2fb292be02fd049a541e542b9"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: store/home.js: FileTooLong \u2014 1274 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 774 over it, 2.55\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/store/home.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"be38ae6bd838571c5eba5bd5d7d4e23aa33bf2403ac81b485fe5e0f4a52a0214"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Table: TooManyMethods \u2014 75 methods. The bar is 30 methods; this is 45 over it, 2.50\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":"assets/common/js/component/table.js"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae6887987d9a5eb54c78bfad1a06630c8a9c52ccbeb7a044715b9a64e7821119"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Ticket: ClassTooLong \u2014 973 significant lines (blank, comment-only and punctuation-only lines excluded), 52 methods. The bar is 400 significant lines; this is 573 over it, 2.43\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/Service/Bind/Ticket.php"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"94412e69361945058c29c9ec18e090ab30e4fc0ef20ef4fb6177769926915256"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Order: ClassTooLong \u2014 957 significant lines (blank, comment-only and punctuation-only lines excluded), 32 methods. The bar is 400 significant lines; this is 557 over it, 2.39\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/Service/Bind/Order.php"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"f19462b8af082c7b8728c2347b930eb1d2e73339270fe5a48d4d7d621c7f32d0"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: index._ThemeSetting: FunctionTooLong \u2014 _ThemeSetting runs 231 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 131 over it, 2.31\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":"assets/admin/controller/config/index.js"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"ceaad6e117e98c512857fbd57c59ac8d9c00b19407faad557a9e0b1df7d1f1a1"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: mobile/overlay.js: FileTooLong \u2014 1152 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 652 over it, 2.30\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/js/mobile/overlay.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"805737c8abdc13ec47b998e03489d673a0a41a32259651027aad309332b8ff59"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Component.popup: MethodTooLong \u2014 popup runs 228 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 128 over it, 2.28\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":"assets/common/js/component.js"},"region":{"startLine":339}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4dbc5649abac9da59df4d02a1d8b887bd4e152b38d87dbc90fa83350af0568e"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Config: ClassTooLong \u2014 907 significant lines (blank, comment-only and punctuation-only lines excluded), 41 methods. The bar is 400 significant lines; this is 507 over it, 2.27\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/Controller/Admin/Api/Config.php"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"e32dce5ec7478c34d4ba260eda6efbf00fbed476bf4689a80601c4a2fcbdf040"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Store: ClassTooLong \u2014 892 significant lines (blank, comment-only and punctuation-only lines excluded), 36 methods. The bar is 400 significant lines; this is 492 over it, 2.23\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/Controller/Admin/Api/Store.php"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"b72f9d6b530df1848010c992c089b353e0a9c119cb41c6854040bb66ec7eb5bd"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: mobile/workflows.js: FileTooLong \u2014 1089 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 589 over it, 2.18\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/js/mobile/workflows.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c224eeb7beb8a53ff45419337cc57411823237cc5e7d454d4828f6c2efa760f"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: commodity.modal: FunctionTooLong \u2014 modal runs 214 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 114 over it, 2.14\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":"assets/user/controller/business/commodity.js"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec9531853437d2eb1ec39db7fe7f43f560e91893da87c82fb4313a633d515169"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: trade/commodity.js: FileTooLong \u2014 1065 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 565 over it, 2.13\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/trade/commodity.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c936f97936f3bfa1a87fcbffae8316c9025f0be53e3d9d0a618d49e5dfd72b0"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Util: TooManyMethods \u2014 61 methods. The bar is 30 methods; this is 31 over it, 2.03\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":"assets/common/js/util.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1757b85c5f091a029d0c6b3404ef01ac52b1f69389cf5dc804ba844982f06ee1"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Bind/Order.php: FileTooLong \u2014 999 significant lines (blank, comment-only and punctuation-only lines excluded), about 96% of them inside a single declaration: Order (46-1669). The bar is 500 significant lines; this is 499 over it, 2.00\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Service/Bind/Order.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad4c6058ae9d9a2f3f2b5db33a9580c4c29b600db62ab3a78bf2a40382331a20"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Bind/Ticket.php: FileTooLong \u2014 998 significant lines (blank, comment-only and punctuation-only lines excluded), about 97% of them inside a single declaration: Ticket (29-1481). The bar is 500 significant lines; this is 498 over it, 2.00\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Service/Bind/Ticket.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d560aef427c2680b55eb2ce269567b378e3bfbab522d3fdd9af38a5aadf4f26b"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Store.addItem: MethodTooLong \u2014 addItem runs 199 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 99 over it, 1.99\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/Controller/Admin/Api/Store.php"},"region":{"startLine":1086}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d9a01382fc7846a1efae40e4cb48be494ec1bff53d4b243b604079947de0002"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Api/Config.php: FileTooLong \u2014 935 significant lines (blank, comment-only and punctuation-only lines excluded), about 97% of them inside a single declaration: Config (33-1388). The bar is 500 significant lines; this is 435 over it, 1.87\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Controller/Admin/Api/Config.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0c1c721eccb6973b25826624061f9b5fff7c2218dda71b864bca62ad0a496a4"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: modules/hex.js: FileTooLong \u2014 919 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 419 over it, 1.84\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/static/modules/hex.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e686f6fb2c4febadd11fcb5dff2e893485094d82c0d3136dd58435256638144"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Api/Store.php: FileTooLong \u2014 913 significant lines (blank, comment-only and punctuation-only lines excluded), about 98% of them inside a single declaration: Store (28-1449). The bar is 500 significant lines; this is 413 over it, 1.83\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Controller/Admin/Api/Store.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab8cc651e7a1c04d7d9fc1380b8beaf92e78863ea4d3687304977702343a963d"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: acg: ClassTooLong \u2014 729 significant lines (blank, comment-only and punctuation-only lines excluded), 12 methods. The bar is 400 significant lines; this is 329 over it, 1.82\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":"assets/static/acg.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1e8497d006f7e70599623b16e9d3f9b79a9730fa011dbbc869067c79bc02fc7"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: coupon.createCoupon: FunctionTooLong \u2014 createCoupon runs 180 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 80 over it, 1.80\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":"assets/admin/controller/trade/coupon.js"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec0410d7b130b6f15b9d37ff84a8a398d6b424fbe606c4d989719c4d608c49c1"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: static/acg.js: FileTooLong \u2014 875 significant lines (blank, comment-only and punctuation-only lines excluded; the length bar is tripled for a single-responsibility module of 4 or fewer top-level units), about 83% of them inside a single declaration: acg (96-1066). The bar is 500 significant lines; this is 375 over it, 1.75\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/static/acg.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"90d36d18c763d4e3c41c0f25da68b512b929457570e09d12540dc033085d2381"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Ticket: TooManyMethods \u2014 52 methods. The bar is 30 methods; this is 22 over it, 1.73\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/Service/Bind/Ticket.php"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"306a3dee0478970ed2859e1e72c642ad4f67e05c1019d892cc9a87372dddf77f"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: group.CommodityGroupModal: FunctionTooLong \u2014 CommodityGroupModal runs 165 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 65 over it, 1.65\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":"assets/admin/controller/user/group.js"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"15c46b811944f81023f25592b5a6591416711bc8d1e6346a378a6ebf4b034c82"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: js/util.js: FileTooLong \u2014 821 significant lines (blank, comment-only and punctuation-only lines excluded), about 100% of them inside a single declaration: util (1-1276). The bar is 500 significant lines; this is 321 over it, 1.64\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/common/js/util.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f13100b63bb99cf86b975a78dc4238025b4b08b1eda347a5b0e2a9821e38a464"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: markdown/editorv2.js: FileTooLong \u2014 818 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 318 over it, 1.64\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/common/js/editor/markdown/editorv2.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a99a2e3c63e9047d1c4af92a785ac4be23103f14a8987d5e8db9582a2409f562"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: api.modal: FunctionTooLong \u2014 modal runs 160 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 60 over it, 1.60\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":"assets/admin/controller/pay/api.js"},"region":{"startLine":496}}}],"partialFingerprints":{"codehealthFindingId/v1":"504f8c14ec32faf9a4f3c9c0f602b16ccf6fd15d4c0088f2d4e8585b5e2fe105"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: View/Install.html: FileTooLong \u2014 797 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 297 over it, 1.59\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/View/Install.html"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"480c9f81c408e101f47e0dff29b6241da31e76a336abdb6745edc7d96269a950"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Shared: ClassTooLong \u2014 606 significant lines (blank, comment-only and punctuation-only lines excluded), 38 methods. The bar is 400 significant lines; this is 206 over it, 1.52\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/Service/Bind/Shared.php"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"52596d280064195a0ed3ec47eae40bf133240f17ea956fed730944955ad6ffc7"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Commodity: ClassTooLong \u2014 594 significant lines (blank, comment-only and punctuation-only lines excluded), 17 methods. The bar is 400 significant lines; this is 194 over it, 1.49\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/Controller/Admin/Api/Commodity.php"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"56d40d75bc45d817666b313fb918ea6e42ff8d036492ff768f0ec99fde6911a3"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: user/ticket.js: FileTooLong \u2014 742 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 242 over it, 1.48\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/user/ticket.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc767e43c3d0045bb62eb357777086fb3ea6833b3c002a039476c0bfcdb5bbaa"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: javascript/javascript.js: FileTooLong \u2014 733 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 233 over it, 1.47\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/static/codemirror/mode/javascript/javascript.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e51dade5cc76be81d9267775a602d7ce133836da5fa4c77f04434cfa7eab85d"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Card: ClassTooLong \u2014 584 significant lines (blank, comment-only and punctuation-only lines excluded), 22 methods. The bar is 400 significant lines; this is 184 over it, 1.46\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/Controller/Admin/Api/Card.php"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcece1732dbeb86c11ad772f464131178d8022e0ea655abbb61e70ec1a5df532"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _Dict.constructor: MethodTooLong \u2014 constructor runs 146 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 46 over it, 1.46\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":"assets/admin/js/dict.js"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a21c08e5dfafdc9a234280eb486bb823db0c92210d6284302cab582b9b82a5d"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: css/css.js: FileTooLong \u2014 725 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 225 over it, 1.45\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/static/codemirror/mode/css/css.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5491df2f33ea6fec3289fd9a5ce26fe8f3e101d8b216b4345e366f2bced3ea5f"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: menu.KTDrawer: FunctionTooLong \u2014 KTDrawer runs 145 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 45 over it, 1.45\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":"assets/admin/js/menu.js"},"region":{"startLine":3267}}}],"partialFingerprints":{"codehealthFindingId/v1":"02eab18e68163b6f8a226771233def8cb025179c16bb6d5e20ddd4d498cf1588"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: message.openComposer: FunctionTooLong \u2014 openComposer runs 142 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 42 over it, 1.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":"assets/admin/controller/user/message.js"},"region":{"startLine":360}}}],"partialFingerprints":{"codehealthFindingId/v1":"251115f7bf36badff3a02b4dff623ab53b43fae76a5ab9c3b246c3dca6db3af9"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Config: TooManyMethods \u2014 41 methods. The bar is 30 methods; this is 11 over it, 1.37\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/Controller/Admin/Api/Config.php"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a93ac8d284608779846cbd95982761bfa78e3c65b2be2a97ebe1138280431af"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Format: TooManyMethods \u2014 41 methods. The bar is 30 methods; this is 11 over it, 1.37\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":"assets/common/js/format.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f33e9adb1bbcbc4ef6cd674e40269d3058fa7db7803d3b59bbb6d4d9b6cbedad"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: card.uploadCard: FunctionTooLong \u2014 uploadCard runs 136 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 36 over it, 1.36\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":"assets/admin/controller/trade/card.js"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdfce2227a059c932131d113c872d7ac2aa2a3c3d0f8285af35921acad0f793a"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: menu.KTScroll: FunctionTooLong \u2014 KTScroll runs 136 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 36 over it, 1.36\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":"assets/admin/js/menu.js"},"region":{"startLine":2782}}}],"partialFingerprints":{"codehealthFindingId/v1":"93869bd3022477cf74a9c062c1dfbdc113a8080b6af3dc0d3539891268fb81fc"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: store/developer.js: FileTooLong \u2014 677 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 177 over it, 1.35\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/store/developer.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8238f5b7871107a7a7aae22edb1124a40bf40ae391b8c1b2721b625244af309c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: trade/order.js: FileTooLong \u2014 671 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 171 over it, 1.34\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/trade/order.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"80128b50c56ebfbff438d7b91eecbeee110e2439bbfb3af1f37071d83633770b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: dashboard/index.js: FileTooLong \u2014 670 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 170 over it, 1.34\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/dashboard/index.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3abd0bfdc03f9741b50c2a4dcbdaa026a04715bcfe10aa65a445b1a148600444"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: commodity.uploadCard: FunctionTooLong \u2014 uploadCard runs 134 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 34 over it, 1.34\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":"assets/admin/controller/trade/commodity.js"},"region":{"startLine":793}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a1067c46159d06c54213044a21325c067f6f7fc047d0ff8ffae5983b8da9c8d"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Search: TooManyMethods \u2014 40 methods. The bar is 30 methods; this is 10 over it, 1.33\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":"assets/common/js/component/search.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc85d435774737a44854b0dce07d93b900c9b8b022d0cd5e71b3fca4f3b1f8d2"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Lang: ClassTooLong \u2014 512 significant lines (blank, comment-only and punctuation-only lines excluded), 36 methods. The bar is 400 significant lines; this is 112 over it, 1.28\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":"kernel/Util/Lang.php"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d696032be90b7552733f568fa2867bfffc484119510989fdfa6736e43b30c8d"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Shared: TooManyMethods \u2014 38 methods. The bar is 30 methods; this is 8 over it, 1.27\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/Service/Bind/Shared.php"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"48b25c7048ef87202f04eac782f787023f7e663824c48cb2b0be675ad338bdeb"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Index.commodity: MethodTooLong \u2014 commodity runs 125 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 25 over it, 1.25\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/Controller/User/Api/Index.php"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"5442f665a5e1da9435d0ec41d5c3e91744875b522805711ab2aa8d1b5711c186"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Bind/Shared.php: FileTooLong \u2014 623 significant lines (blank, comment-only and punctuation-only lines excluded), about 97% of them inside a single declaration: Shared (21-1154). The bar is 500 significant lines; this is 123 over it, 1.25\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Service/Bind/Shared.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6914f8ca51b62f9315b6130da6968f160f5fa0ccafc06f5449683d6671de2121"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: pay/api.js: FileTooLong \u2014 619 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 119 over it, 1.24\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/pay/api.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d4f43d1420e3b5dee2ff8ddead30a248d08415db2220a46364e12451bd9500d"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Api/Commodity.php: FileTooLong \u2014 618 significant lines (blank, comment-only and punctuation-only lines excluded), about 96% of them inside a single declaration: Commodity (30-1015). The bar is 500 significant lines; this is 118 over it, 1.24\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Controller/Admin/Api/Commodity.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbb61a2bec0f456b11bfdbf31bcaf73b8c026200041e87feddfc22d81e3d228d"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Commodity.save: MethodTooLong \u2014 save runs 123 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 23 over it, 1.23\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/Controller/Admin/Api/Commodity.php"},"region":{"startLine":405}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ad50cf3f2dbe7f4cf199b7be4f53805326dd368fef389251d3c9f8c722f32d0"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Util._verifyDialog: MethodTooLong \u2014 _verifyDialog runs 123 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 23 over it, 1.23\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":"assets/common/js/util.js"},"region":{"startLine":355}}}],"partialFingerprints":{"codehealthFindingId/v1":"032022212dfa3c0eca576ccf10eefa8d59807cb71b9cf9f5561091f631076355"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Commodity.save: MethodTooLong \u2014 save runs 122 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 22 over it, 1.22\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/Controller/User/Api/Commodity.php"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f86ced7bee9f08f65dcd9d1d2e114d95057752402d13d5974ca22844fe36144"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: card.uploadCard: FunctionTooLong \u2014 uploadCard runs 122 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 22 over it, 1.22\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":"assets/user/controller/business/card.js"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"93f26a39dc9210ca1919bfa608130fd8647cc03bd74636f8a7c1ab56d72999aa"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Api/Card.php: FileTooLong \u2014 605 significant lines (blank, comment-only and punctuation-only lines excluded), about 97% of them inside a single declaration: Card (27-989). The bar is 500 significant lines; this is 105 over it, 1.21\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Controller/Admin/Api/Card.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"33f7774414b5c0290a3aa802f753de7ebdec3c2b4b5f38e51a558935d5245d29"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Store: TooManyMethods \u2014 36 methods. The bar is 30 methods; this is 6 over it, 1.20\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/Controller/Admin/Api/Store.php"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9dfb3bf5ef81cc8cbd50a44e7e10b5d03e4ce7058de8f50b7f0162ed35ca085"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Lang: TooManyMethods \u2014 36 methods. The bar is 30 methods; this is 6 over it, 1.20\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":"kernel/Util/Lang.php"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"def610b75929134ea4fffee5f60a42c09bc3f71768fb8cf6a2544078d4b7ed18"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: commodity.uploadCard: FunctionTooLong \u2014 uploadCard runs 120 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 20 over it, 1.20\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":"assets/user/controller/business/commodity.js"},"region":{"startLine":341}}}],"partialFingerprints":{"codehealthFindingId/v1":"d73bff699c968bf4b30533a34ef9ed8365f86f931350fa97db756e868572e96c"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: User.save: MethodTooLong \u2014 save runs 119 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 19 over it, 1.19\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/Controller/Admin/Api/User.php"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e0538959da2f360cbb723492b7e91a436dc46a0e7b0e078f0789c11a4b37db2"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: user/index.js: FileTooLong \u2014 588 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 88 over it, 1.18\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/user/index.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d87b59192363af294dc8dd5f974eac1d949e09a09a7a31d9918ec165451ab33b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: js/component.js: FileTooLong \u2014 588 significant lines (blank, comment-only and punctuation-only lines excluded), about 100% of them inside a single declaration: component (1-842). The bar is 500 significant lines; this is 88 over it, 1.18\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/common/js/component.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e0eec31d7efc45530241608e7b24c46a4513b54b4dbfc8d6e30ab58764958e7"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Form.createForm: MethodTooLong \u2014 createForm 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":"assets/common/js/component/form.js"},"region":{"startLine":1899}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c6831a71b983bf4cc1454a93ef528950b8e8bd0a88b0ae78421e74d4b40ad22"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: codemirror.defineOptions: FunctionTooLong \u2014 defineOptions 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":"assets/static/codemirror/lib/codemirror.js"},"region":{"startLine":7708}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ddb29f683ece67ae19eea09c7e229f6e674276b834b58fcbf6350cb9e2a6586"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: jquery.pjax.pjax: FunctionTooLong \u2014 pjax 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":"assets/static/jquery.pjax.js"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3ea6d08cb990d888edd386288052e29253273f5f6a9a9806c06d00bfc67d825"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Security: ClassTooLong \u2014 457 significant lines (blank, comment-only and punctuation-only lines excluded), 31 methods. The bar is 400 significant lines; this is 57 over it, 1.14\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/Controller/User/Api/Security.php"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"afd0c954f7a953402a7cb4b9b5c02705ea012b36b4c1f13c6679cca99501bd91"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Manage.save: MethodTooLong \u2014 save runs 114 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 14 over it, 1.14\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/Controller/Admin/Api/Manage.php"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"09f13fb8111d7ec978448d6019ada69a6498ab86094df6758fd3662b4af548b8"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Client: TooManyMethods \u2014 34 methods. The bar is 30 methods; this is 4 over it, 1.13\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/Util/Client.php"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"8845f5fa182f483e4054d22fc5488664817476857dd7f076a45bae55259d0895"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: CommodityGroup.mobileCommodityTree: MethodTooLong \u2014 mobileCommodityTree runs 113 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 13 over it, 1.13\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/Controller/Admin/Api/CommodityGroup.php"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"9248dc9d402b661d0c6e399cbcf1300fd92f4e4d34400f90f1ea5ca4a6977b35"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Pay: ClassTooLong \u2014 451 significant lines (blank, comment-only and punctuation-only lines excluded), 22 methods. The bar is 400 significant lines; this is 51 over it, 1.13\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/Controller/Admin/Api/Pay.php"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"22ec4ecda249bf325f5dbed3350221193f692992fd9a23fc4812f1967a7a7de7"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: coupon.createCoupon: FunctionTooLong \u2014 createCoupon runs 112 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 12 over it, 1.12\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":"assets/user/controller/business/coupon.js"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5223bec6d4cc683a7964c67d5b0da71195881b1ba1999288a39bd40f789ceae"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: trade/coupon.js: FileTooLong \u2014 554 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 54 over it, 1.11\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/trade/coupon.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5abf0ef99535c20eb331e7556bf4dc321e3bfdca9ea146602ae6d26602fe3085"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Category: ClassTooLong \u2014 441 significant lines (blank, comment-only and punctuation-only lines excluded), 13 methods. The bar is 400 significant lines; this is 41 over it, 1.10\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/Controller/Admin/Api/Category.php"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcf25899099508597f9ef1910c2978f54a72ce863c53645e4231946d22c68a76"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Category.safeCategoryDeleteImpact: MethodTooLong \u2014 safeCategoryDeleteImpact runs 109 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 9 over it, 1.09\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/Controller/Admin/Api/Category.php"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad3dd0d1c6b007efcb50e2285a1485523845bb7cba5f999eacbedbe6bda01e18"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Mcp: ClassTooLong \u2014 433 significant lines (blank, comment-only and punctuation-only lines excluded), 20 methods. The bar is 400 significant lines; this is 33 over it, 1.08\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/Service/Bind/Mcp.php"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"054286dc155e53009b611d63d866fe9e1246ff068eb286a284a3ee9bad3c3238"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: fallback.renderToolbar: FunctionTooLong \u2014 renderToolbar runs 107 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 7 over it, 1.07\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":"assets/admin/js/mobile/fallback.js"},"region":{"startLine":2193}}}],"partialFingerprints":{"codehealthFindingId/v1":"efc06220c4e0d570f2792e730aa7e5dc22fd67ac5c09858f9bdb5a8067702a5b"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Order: TooManyMethods \u2014 32 methods. The bar is 30 methods; this is 2 over it, 1.07\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/Service/Bind/Order.php"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"a118f042dc2a326e7c3994a47c4f161a143c73521385ffe57e2ce0e7377a9a47"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: trade/card.js: FileTooLong \u2014 533 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 33 over it, 1.07\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/trade/card.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"698f6c7369dc3e36718dcd3e3cabfb59e26050d57f377eb9cdee2a39d1814775"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: config/plugin.js: FileTooLong \u2014 531 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 31 over it, 1.06\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/config/plugin.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d24de78760147c61931b1f2727e89a99dff49f727def1a71041b0edbb75afaa"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: codemirror.leftButtonSelect: FunctionTooLong \u2014 leftButtonSelect runs 106 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 6 over it, 1.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":"assets/static/codemirror/lib/codemirror.js"},"region":{"startLine":7475}}}],"partialFingerprints":{"codehealthFindingId/v1":"3072542c1b5a9e9ae84e696b095e3472aea1652cbc320830b7a2f38d8dcd5026"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Mcp.tools: MethodTooLong \u2014 tools runs 105 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 5 over it, 1.05\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/Service/Bind/Mcp.php"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"5309b7f73d7eaf9c3d3a725062eef0ea71799c602d2eee456f1b8e61753b0a10"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Commodity.commodityDeleteImpact: MethodTooLong \u2014 commodityDeleteImpact runs 104 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 4 over it, 1.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/Controller/Admin/Api/Commodity.php"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"28edaaf41868f9fa5b66d1ca550582cddf26e53f84403538b356e05b1c25606f"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: App: TooManyMethods \u2014 31 methods. The bar is 30 methods; this is 1 over it, 1.03\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/Controller/Admin/Api/App.php"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5753536c07f1cbff693cb4c99718ce66d1da2416cd29765c808a1e979e060b9"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Security: TooManyMethods \u2014 31 methods. The bar is 30 methods; this is 1 over it, 1.03\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/Controller/User/Api/Security.php"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"07ec85f6a07e9bb83d207a676c320e2e08b052eb2ba9b01cd71312a996816c99"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Order: ClassTooLong \u2014 413 significant lines (blank, comment-only and punctuation-only lines excluded), 14 methods. The bar is 400 significant lines; this is 13 over it, 1.03\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/Controller/Admin/Api/Order.php"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"0235ede056b4ae60f57a1d68d1dc6dea8dfd8a2ec41bae962dba65ccaf7445ce"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Util/Lang.php: FileTooLong \u2014 516 significant lines (blank, comment-only and punctuation-only lines excluded), about 99% of them inside a single declaration: Lang (18-1138). The bar is 500 significant lines; this is 16 over it, 1.03\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kernel/Util/Lang.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8692bc12682fb0049a6fba84082c2f37c0c8bdf20d2cafdcbe0b644af406eb1e"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Coupon.save: MethodTooLong \u2014 save runs 103 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 3 over it, 1.03\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/Controller/Admin/Api/Coupon.php"},"region":{"startLine":254}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcf65ec9c45e14c07470c21944f9742e04e6d8fdd33a1dd3b3f03c657d4a3fa9"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: store.modal: FunctionTooLong \u2014 modal 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":"assets/admin/controller/shared/store.js"},"region":{"startLine":1273}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c9238d9b3e56787daddb7cee1a188af8c163dd00fe30e7010352556c250aa83"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (5 members, 28 shared lines): app/Util/Schema.php:64-108 | app/Util/Schema.php:131-173 | app/Util/Schema.php:182-218 | app/Util/Schema.php:289-331 | app/Util/Schema.php:340-382 \u2014 These 5 members are variants of one another: a block of 28 lines reported below appears in every one of them, and the pairwise near-duplicate rows they would otherwise produce are collapsed into this row. Read them as one construct written 5 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 5 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Util/Schema.php"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"c99675113c8b31003b2366c08b9e8fa0690862c8f705a51a983edcb303849309"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (64 shared lines): app/Controller/Admin/Api/Card.php:335-447 | app/Controller/User/Api/Card.php:77-185 \u2014 These two members are variants of one another: 64 of their lines are already reported as duplicated blocks below, spread through both bodies rather than gathered into one. Read them as a single construct written twice. The repair is at the members\u0027 grain \u2014 factor the shared pipeline into one implementation the two call with their differences as parameters or as an injected step, or, where the difference is systematic (sync against async, one transport against another), generate one from the other. Extracting the individual blocks below is not the same fix: it leaves the two bodies in place and the next edit still has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Controller/Admin/Api/Card.php"},"region":{"startLine":335}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb834c31976f4672f5a1fb6b421aa9c393a0838ee2163d05178b02c5e53a6848"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (33 shared lines): app/Controller/Admin/Api/Order.php:626-676 | app/Controller/Admin/Api/RechargeOrder.php:478-525 \u2014 These two members are variants of one another: 33 of their lines are already reported as duplicated blocks below, spread through both bodies rather than gathered into one. Read them as a single construct written twice. The repair is at the members\u0027 grain \u2014 factor the shared pipeline into one implementation the two call with their differences as parameters or as an injected step, or, where the difference is systematic (sync against async, one transport against another), generate one from the other. Extracting the individual blocks below is not the same fix: it leaves the two bodies in place and the next edit still has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Controller/Admin/Api/Order.php"},"region":{"startLine":626}}}],"partialFingerprints":{"codehealthFindingId/v1":"b788e934a65d6767def51b642efd67fa63a22652f2a8c58689731ec18a6b5025"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (33 corresponding lines): app/Controller/User/Api/Order.php:79-112 | app/Controller/User/Api/RechargeNotification.php:30-62 \u2014 These two members are one piece of code written twice and then edited apart: 33 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Controller/User/Api/Order.php"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ca9df892ddaffb623c1eb4ed5f528cbe93f90909eff3f5f08fba0835bfb445c"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (9 members, 50\u002B identical tokens): app/Controller/Admin/Api/BusinessLevel.php:161-190 | app/Controller/Admin/Api/Card.php:41-66 | app/Controller/Admin/Api/Category.php:45-71 | app/Controller/Admin/Api/Commodity.php:53-78 | app/Controller/Admin/Api/Commodity.php:143-279 | app/Controller/Admin/Api/CommodityGroup.php:42-69 | app/Controller/Admin/Api/CommodityGroup.php:79-103 | app/Controller/Admin/Api/Coupon.php:36-62 | app/Controller/Admin/Api/Manage.php:37-66 \u2014 These 9 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 9 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 9 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Controller/Admin/Api/BusinessLevel.php"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6a61802522bc7dcffff2d0fa14970a73f4313f4aa238bd789bbc3a24abf7e5d"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): app/Controller/User/Api/Security.php:442-471 | app/Controller/User/Api/Security.php:481-503 | app/Controller/User/Api/Security.php:513-530 | app/Controller/User/Api/Security.php:564-581 \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/Controller/User/Api/Security.php"},"region":{"startLine":442}}}],"partialFingerprints":{"codehealthFindingId/v1":"93faaed3ba30b0ef211c5a72441f74a30a868fa4e906752664d3ab90bca192cf"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): app/Service/Bind/Message.php:92-106 | app/Service/Bind/Message.php:221-230 | app/Service/Bind/Message.php:269-283 | app/Service/Bind/Ticket.php:843-868 \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/Service/Bind/Message.php"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"bac3257746345ad3cf46efb450fbbbdb8b1df8a8442824e7b6a03248339f5d7a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (122 corresponding lines): app/Controller/Admin/Api/Coupon.php:256-388 | app/Controller/User/Api/Coupon.php:64-185 \u2014 These two members are one piece of code written twice and then edited apart: 122 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/Controller/Admin/Api/Coupon.php"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"58a1b052db62c16903a8fbcb5e67c78abb72cf39bc60f742988164213794e2a7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (87 corresponding lines): app/Controller/Admin/Api/BusinessLevel.php:43-151 | app/Controller/Admin/Api/Group.php:36-122 \u2014 These two members are one piece of code written twice and then edited apart: 87 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/Controller/Admin/Api/BusinessLevel.php"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cca043238df15e8518593bbf01e7177cdba81b2af4568c8bef501ea2a78af40"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (60 corresponding lines): app/Service/Bind/Order.php:1448-1507 | app/Service/Bind/Recharge.php:160-226 \u2014 These two members are one piece of code written twice and then edited apart: 60 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/Service/Bind/Order.php"},"region":{"startLine":1448}}}],"partialFingerprints":{"codehealthFindingId/v1":"1375bbef0e9537313be3984b11dc7b1c9a8952e04146a66119eec17f748d07e9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (80 corresponding lines): app/Controller/Admin/Api/Order.php:74-172 | app/Controller/Admin/Api/RechargeOrder.php:66-145 \u2014 These two members are one piece of code written twice and then edited apart: 80 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/Controller/Admin/Api/Order.php"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a56410b36d58d0a9978af167399bb8daf52c5196ac8c582f91c1c00806ed95c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (46 corresponding lines): app/Controller/User/Api/Master.php:72-117 | app/Controller/User/Api/Master.php:215-271 \u2014 These two members are one piece of code written twice and then edited apart: 46 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/Controller/User/Api/Master.php"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbe8484725b76edac20aaa760260c0d051a285967f9f555765b3d0e368e599d1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 35\u002B corresponding lines): app/Controller/Admin/Api/Category.php:291-334 | app/Controller/Admin/Api/Order.php:280-314 | app/Controller/Admin/Api/RechargeOrder.php:257-293 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 35 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Controller/Admin/Api/Category.php"},"region":{"startLine":291}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e9a1dddf419bd2f8e7045980a2b7827216d575410f0b7bce208053a39f0a29f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (45 corresponding lines): app/Service/ManageSessionManager.php:77-121 | app/Service/UserSessionManager.php:77-126 \u2014 These two members are one piece of code written twice and then edited apart: 45 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/Service/ManageSessionManager.php"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"426453582f4981843801599d8b26f9873242cf3390b44ab148bb79c9daeb3578"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (41 corresponding lines): app/Controller/Admin/Api/Upload.php:45-85 | app/Controller/User/Api/Upload.php:43-97 \u2014 These two members are one piece of code written twice and then edited apart: 41 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Controller/Admin/Api/Upload.php"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ce754942510efb8e6aa5aa1ede3fcbae981af8d793e35f3fac37747a34d1341"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (33 corresponding lines): app/Service/Bind/Message.php:1027-1059 | app/Service/Bind/Ticket.php:1347-1380 \u2014 These two members are one piece of code written twice and then edited apart: 33 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Service/Bind/Message.php"},"region":{"startLine":1027}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b324859fcfa30114f7394502166d482b3f6c27bc8c5b7e1e0b111920a030ff7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (35 corresponding lines): app/Service/Bind/Message.php:1064-1100 | app/Service/Bind/Ticket.php:1410-1444 \u2014 These two members are one piece of code written twice and then edited apart: 35 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/Service/Bind/Message.php"},"region":{"startLine":1064}}}],"partialFingerprints":{"codehealthFindingId/v1":"47f9c2ad1535a85043feb2d1b0b98902433a6cb9e6611b320015653b4565bcc8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (33 corresponding lines): app/Util/CardFile/Purge.php:40-73 | app/Util/CardFile/Purge.php:84-116 \u2014 These two members are one piece of code written twice and then edited apart: 33 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Util/CardFile/Purge.php"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf54a2fbe171033cff3a81362fb313678a5739389042b423d096bec1956e538e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (35 corresponding lines): app/Controller/Base/View/Manage.php:17-53 | app/Controller/Base/View/ManagePlugin.php:16-50 \u2014 These two members are one piece of code written twice and then edited apart: 35 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/Controller/Base/View/Manage.php"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d69924dff04b45a44c3d1ea031fac0ac18e108ea272eb2ac8f61ed170a3c5ed"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (38 corresponding lines): app/Controller/User/Pay.php:28-65 | app/Controller/User/Recharge.php:86-125 \u2014 These two members are one piece of code written twice and then edited apart: 38 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/Controller/User/Pay.php"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdd35bdd9662d8e1858bcbd329b07260ff4a6b44fa334e4ceee863bceb70b512"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (30 corresponding lines): app/Util/CallbackIpWhitelist.php:246-283 | app/Util/Client.php:420-449 \u2014 These two members are one piece of code written twice and then edited apart: 30 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/Util/CallbackIpWhitelist.php"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"328a5ad829722e8ffff7ff6cc6f02f52760ea3681bda92d7a114c6eea446719f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (38 corresponding lines): app/Service/ManageSessionManager.php:26-66 | app/Service/UserSessionManager.php:32-69 \u2014 These two members are one piece of code written twice and then edited apart: 38 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/Service/ManageSessionManager.php"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"15c2f01daac8653da7de746b0a6636518d0afa374e6088bacb2006cba6feefb6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): app/Controller/User/Api/Master.php:153-170 | app/Controller/User/Api/Master.php:308-333 \u2014 These two members are one piece of code written twice and then edited apart: 18 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Controller/User/Api/Master.php"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed005bd69f3f2ab417ec00247da93c7af2d2bff2c6211d057f1f855ae8866df7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (49 corresponding lines): app/Controller/Admin/Api/Order.php:531-615 | app/Controller/Admin/Api/RechargeOrder.php:305-353 \u2014 These two members are one piece of code written twice and then edited apart: 49 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/Controller/Admin/Api/Order.php"},"region":{"startLine":531}}}],"partialFingerprints":{"codehealthFindingId/v1":"8913cd28da17de3fb4172164451020e0058adc4e751cc555ee243de302335356"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): app/Controller/User/Api/Master.php:125-144 | app/Controller/User/Api/Master.php:279-298 \u2014 These two members are one piece of code written twice and then edited apart: 20 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Controller/User/Api/Master.php"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"52ce65af114d6d6a8a9377a7db28ec40f8d50b2e3cc3c41f07749994be4a21cd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): app/Controller/Admin/Api/Card.php:564-588 | app/Controller/Admin/Api/CardFile.php:268-291 \u2014 These two members are one piece of code written twice and then edited apart: 24 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Controller/Admin/Api/Card.php"},"region":{"startLine":564}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b7d9690c7780abdde801ccf8e175727be674de9d6df91136abaee64493daac1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): app/Controller/Admin/Api/Upload.php:139-162 | app/Controller/User/Api/Upload.php:175-201 \u2014 These two members are one piece of code written twice and then edited apart: 24 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Controller/Admin/Api/Upload.php"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc4d47ea29ea082e6a74d126112f43a9d6dca0edad6ccc9a22c1e3592b44a8c5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): app/Service/Bind/Ticket.php:375-395 | app/Service/Bind/Ticket.php:400-420 \u2014 These two members are one piece of code written twice and then edited apart: 21 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/Service/Bind/Ticket.php"},"region":{"startLine":375}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a1c0fdb1e86b2f743bf78753427c20983553ea923ec162d9c9fbdeda47f3dc3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): app/Service/Bind/Message.php:1136-1162 | app/Service/Bind/Ticket.php:1449-1479 \u2014 These two members are one piece of code written twice and then edited apart: 27 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Service/Bind/Message.php"},"region":{"startLine":1136}}}],"partialFingerprints":{"codehealthFindingId/v1":"4dd31b70a591a6236fee09fc6dd1198acfc737e02d5e1b2035a0f6a0f9fda9e1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (29 corresponding lines): app/Controller/Admin/Api/App.php:436-465 | app/Controller/Admin/Api/App.php:521-549 \u2014 These two members are one piece of code written twice and then edited apart: 29 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/Controller/Admin/Api/App.php"},"region":{"startLine":436}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea02fcfe972dbf849a45fa4753966d8e882b967cba25ebdb2bc2b5ec7ab4d884"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 18\u002B corresponding lines): app/Controller/Admin/Api/Store.php:607-624 | app/Service/Bind/Message.php:111-130 | app/Service/Bind/Ticket.php:729-747 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 18 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Controller/Admin/Api/Store.php"},"region":{"startLine":607}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b554a94f13d9786fe631abe55b5b8b685ca6883e5b7f2dc27e42b6f47060c21"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): app/Controller/User/Api/Index.php:490-515 | app/Controller/User/Api/Recharge.php:27-46 \u2014 These two members are one piece of code written twice and then edited apart: 20 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Controller/User/Api/Index.php"},"region":{"startLine":490}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2c2a5b968542ca25fbbd2fbc92e9240eebb1a303511dba4e125585ec9a1c158"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (33 corresponding lines): app/Controller/Admin/Api/Order.php:183-236 | app/Controller/Admin/Api/RechargeOrder.php:156-188 \u2014 These two members are one piece of code written twice and then edited apart: 33 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Controller/Admin/Api/Order.php"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"eccbee5f4cb7625007e9490ea4e44fb5f213cc4ad7eb4c1aceb4a6ae1c8a7fec"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): app/Controller/Admin/Api/Manage.php:484-497 | app/Controller/User/Api/Security.php:664-680 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Controller/Admin/Api/Manage.php"},"region":{"startLine":484}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a2d3094e8b55e34f354da141320dd63912e0036b96a0729f567771f36f8ff67"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): app/Service/ManageSessionManager.php:254-273 | app/Service/UserSessionManager.php:263-282 \u2014 These two members are one piece of code written twice and then edited apart: 20 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Service/ManageSessionManager.php"},"region":{"startLine":254}}}],"partialFingerprints":{"codehealthFindingId/v1":"51354c508a05ecc64a7b56feb9454b473dc356bf403e18061b5cf931325b9a47"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): app/Controller/Admin/Api/Upload.php:94-109 | app/Controller/User/Api/Upload.php:105-119 \u2014 These two members are one piece of code written twice and then edited apart: 15 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Controller/Admin/Api/Upload.php"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"2407af7d1044f38b3aeae65222d91f4ecd9bd7dd2390d13450cd33bf1c2fc16d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): app/Util/SharedPayload.php:119-138 | app/Util/SharedPayload.php:184-196 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Util/SharedPayload.php"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"f75c42ac5a62575652fef92659dc572423a7e02b14ba42e4cd3f3bc976cd6db6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): app/Service/Bind/Ticket.php:447-465 | app/Service/Bind/Ticket.php:470-488 \u2014 These two members are one piece of code written twice and then edited apart: 19 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Service/Bind/Ticket.php"},"region":{"startLine":447}}}],"partialFingerprints":{"codehealthFindingId/v1":"f62a46a0f080d777c2db595d7b59a909f0aea29e2a1f2b3aa3c7426ab499ab28"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (35 corresponding lines): app/Service/ManageSessionManager.php:193-227 | app/Service/UserSessionManager.php:202-236 \u2014 These two members are one piece of code written twice and then edited apart: 35 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/Service/ManageSessionManager.php"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"c85e90b9e0c7739db4d720755a9ffae6da6fc51fae6534353b93b2fc1b7e4a1a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): app/Service/ManageSessionManager.php:173-185 | app/Service/UserSessionManager.php:178-194 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Service/ManageSessionManager.php"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bb772e79792e0b3d4922494617e52d7b87bc5d7893d2a3947d66ce3ee703920"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): app/Controller/Admin/Api/Manage.php:626-635 | app/Controller/User/Api/Security.php:747-756 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Controller/Admin/Api/Manage.php"},"region":{"startLine":626}}}],"partialFingerprints":{"codehealthFindingId/v1":"da1c99999c3412220de5fb0a46c7987b28c7184cc215a44d88d7fde1f2104ed6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): app/Controller/Admin/Api/Order.php:503-525 | app/Controller/Admin/Api/RechargeOrder.php:446-466 \u2014 These two members are one piece of code written twice and then edited apart: 21 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/Controller/Admin/Api/Order.php"},"region":{"startLine":503}}}],"partialFingerprints":{"codehealthFindingId/v1":"20fa1498c204651ce3ed4a5b06727b78c583f3d348230bf11a1d87fcd5eb8560"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): app/Service/ManageWebauthnService.php:263-283 | app/Service/UserWebauthnService.php:350-370 \u2014 These two members are one piece of code written twice and then edited apart: 21 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/Service/ManageWebauthnService.php"},"region":{"startLine":263}}}],"partialFingerprints":{"codehealthFindingId/v1":"faa8b5e2a729d2abe3616ceb18210e197b4ca3134488f36e80374e6b6755e2d2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 13\u002B corresponding lines): app/Controller/User/Api/Authentication.php:206-221 | app/Controller/User/Api/Authentication.php:231-243 | app/Controller/User/Api/Authentication.php:272-288 | app/Controller/User/Api/Authentication.php:298-310 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 13 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Controller/User/Api/Authentication.php"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"2948fffc9a5ea634e61f557c3c024093effc1d8c3726e7bbbd532286c9290df7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 19\u002B corresponding lines): kernel/Waf/Css/Gradient.php:23-42 | kernel/Waf/Css/GridTracks.php:16-34 | kernel/Waf/Css/Shadow.php:20-42 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 19 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kernel/Waf/Css/Gradient.php"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"70cf40f0e3a686a9ed00654ceffba3fb57209eadd3ec469199218445e4b050a5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): kernel/Waf/Firewall.php:237-254 | kernel/Waf/Firewall.php:259-278 \u2014 These two members are one piece of code written twice and then edited apart: 18 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kernel/Waf/Firewall.php"},"region":{"startLine":237}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ca23682f2fc04127b91630fa45c87c7c5e43640d170f833774ff10376ca10e1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): app/Service/Bind/Pay.php:234-250 | app/Util/Theme.php:74-89 \u2014 These two members are one piece of code written twice and then edited apart: 16 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Service/Bind/Pay.php"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"85994a2f0f2919c4cb394da2a2794a015786d10d853435dcdb54532ee76110d0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): app/Controller/User/Api/Authentication.php:187-196 | app/Controller/User/Api/Authentication.php:253-262 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Controller/User/Api/Authentication.php"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"7de761a6ffc3f2c2ab5749e39f419da6ddc3f8a7821c8392c4ca4bf5d4434943"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): app/Service/Bind/Ticket.php:525-535 | app/Service/Bind/Ticket.php:540-550 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Service/Bind/Ticket.php"},"region":{"startLine":525}}}],"partialFingerprints":{"codehealthFindingId/v1":"0003163cf9f2349bc3fc7391efd4d6253073f59e5936c41a709627b66c9744a0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): app/Controller/Admin/Api/File.php:281-296 | app/Controller/Admin/Api/Store.php:197-213 \u2014 These two members are one piece of code written twice and then edited apart: 16 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Controller/Admin/Api/File.php"},"region":{"startLine":281}}}],"partialFingerprints":{"codehealthFindingId/v1":"43e58b3305ec32bf4dadc1a2f68d0275b79bf99816656c98060451d08623e671"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): app/Util/Plugin.php:52-70 | app/Util/Plugin.php:82-96 \u2014 These two members are one piece of code written twice and then edited apart: 15 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Util/Plugin.php"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"abc59798b717fffac5fb863d2c48e6815fb6ec8f924c66439fd36fc36a487b84"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 10\u002B corresponding lines): app/Controller/Admin/Api/File.php:495-506 | app/Service/Bind/Message.php:138-147 | app/Service/Bind/Ticket.php:1283-1294 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 10 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Controller/Admin/Api/File.php"},"region":{"startLine":495}}}],"partialFingerprints":{"codehealthFindingId/v1":"e77683180becbdc3b4285e4acb78af3cb7855ec9432fd3d59bac31943447e774"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 17\u002B corresponding lines): app/Service/ManageWebauthnService.php:36-65 | app/Service/ManageWebauthnService.php:163-179 | app/Service/UserWebauthnService.php:55-91 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 17 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Service/ManageWebauthnService.php"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"76813739a0addce3885c372e60fc41a301994884be5eaf7803c949deee0cc88b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (6 members, 9\u002B corresponding lines): app/Controller/Admin/Api/Bill.php:31-42 | app/Controller/Admin/Api/Cash.php:36-48 | app/Controller/Admin/Api/Coupon.php:233-246 | app/Controller/User/Api/Card.php:36-50 | app/Controller/User/Api/Cash.php:149-157 | app/Controller/User/Api/Coupon.php:37-54 \u2014 These 6 members are one piece of code written 6 times and then edited apart: every two of them correspond over at least 9 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 6 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Controller/Admin/Api/Bill.php"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"74dc5977791728ef7dc40fd3cf5048ba8dbdda1a0e569680a52ac8e9319b18d0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 5\u002B corresponding lines): app/Controller/Admin/Api/Message.php:62-69 | app/Controller/Admin/Api/Ticket.php:34-38 | app/Controller/User/Api/Ticket.php:36-40 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 5 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Controller/Admin/Api/Message.php"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e66b5bd65d3aa46fbf609326aeb359444cccc84f828f87d2dfc73834fb3bbab"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): app/Controller/Admin/Api/Category.php:269-285 | app/Controller/Admin/Api/Order.php:257-274 \u2014 These two members are one piece of code written twice and then edited apart: 17 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Controller/Admin/Api/Category.php"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"118661dab92038413ec62c32a30e99c6257f6709ed4cee804f4b20a3712aefa7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): app/Service/ManageSessionManager.php:157-168 | app/Service/UserSessionManager.php:162-173 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Service/ManageSessionManager.php"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"e35c74924da6cb3e8aa5e19ca1309e9c6370895570e92a01fa297de64a5bff48"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): kernel/Waf/Firewall.php:194-210 | kernel/Waf/Firewall.php:220-232 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kernel/Waf/Firewall.php"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"a42564bf360faa4272251abce398a8a404db8ba44d29e352983ab3270397b3cc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): app/Controller/Admin/Api/App.php:89-98 | app/Controller/Admin/Api/App.php:106-115 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Controller/Admin/Api/App.php"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"c63d24318bbc5256f7fd8ee7ad9a5fb8fd5925ee0900879c703a57c556b37e95"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): app/Model/UserGroup.php:45-56 | app/Model/UserGroup.php:65-74 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Model/UserGroup.php"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"063b952ebad6e327000aab8f8b186f73419c0ab063a603dbc6c7b2bf36716b7f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): app/Util/CardFile/Purge.php:391-395 | app/Util/CardFile/Purge.php:400-404 \u2014 These two members are one piece of code written twice and then edited apart: 5 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Util/CardFile/Purge.php"},"region":{"startLine":391}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc78596162674541ac8e7d68aaf591169bcf4710e6d5dff48f73be8091454af3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 8\u002B corresponding lines): app/Controller/User/Api/Dict.php:29-36 | app/Controller/User/Api/Dict.php:45-54 | app/Controller/User/Api/Dict.php:62-70 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 8 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Controller/User/Api/Dict.php"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ed05aae50d741d3d18de917ac5d54aaca1e3699eb06b23debb08f1ac47eebe7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 8\u002B corresponding lines): app/Controller/Admin/Api/Config.php:221-231 | app/Controller/Admin/Api/Config.php:375-382 | app/Controller/Admin/Api/Config.php:387-397 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 8 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Controller/Admin/Api/Config.php"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"9760910cb021752114e47a53b6600f620a3b037270810245de42700f64babd37"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (3 corresponding lines): app/Controller/Admin/Api/Ticket.php:27-29 | app/Controller/User/Api/Ticket.php:29-31 \u2014 These two members are one piece of code written twice and then edited apart: 3 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Controller/Admin/Api/Ticket.php"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b5e9af1b105da7700f56bcab813e499a32301be47e964adf4c3036e1e90424b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): app/Interceptor/ManageSession.php:86-92 | app/Interceptor/UserSession.php:54-60 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Interceptor/ManageSession.php"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9651f41d679f2e38d450f0597d665548a7b82c3dd8e4b3aa1600a81f088dfd3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): app/Service/ManageSessionManager.php:126-132 | app/Service/UserSessionManager.php:131-137 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Service/ManageSessionManager.php"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"b66abf4667f60c7ced3c974db7f2b6bd89edb2cf852b193dfc5cc774256bba59"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): app/Controller/Admin/Api/Store.php:1395-1400 | app/Controller/Admin/Api/Store.php:1410-1420 \u2014 These two members are one piece of code written twice and then edited apart: 6 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Controller/Admin/Api/Store.php"},"region":{"startLine":1395}}}],"partialFingerprints":{"codehealthFindingId/v1":"80dbac298e557b4dd91d576a83d604ec540e4d0876fa04acc0c789d613083dbc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): app/Service/UserWebauthnService.php:381-384 | app/Util/IpWhitelist.php:309-312 \u2014 These two members are one piece of code written twice and then edited apart: 4 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Service/UserWebauthnService.php"},"region":{"startLine":381}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb20cba89270ff9d9648b748d96bc1bbd0afbd271feff293387c43a7c6206cac"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): app/Controller/User/Api/Card.php:60-67 | app/Controller/Admin/Api/Card.php:298-305 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Controller/User/Api/Card.php"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b7c02940c7062fc50b02b04ff54a0c7a175955a3e9d982d11ac23d27be8ffd9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): app/Controller/Admin/Api/Category.php:243-254 | app/Controller/Admin/Api/RechargeOrder.php:200-218 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Controller/Admin/Api/Category.php"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b3fb1ef8f77b97abe3ebbb1ec3c2ccaf2d32d8b7b8f451a106a8d6086be9fd4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): app/Controller/Admin/Api/Message.php:53-57 | app/Controller/User/Api/Ticket.php:45-49 \u2014 These two members are one piece of code written twice and then edited apart: 5 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Controller/Admin/Api/Message.php"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"50d5f80f777b4aeb34860b9d377e3ee64b394d794e32ed9dd8020caa0556c95f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): app/Controller/Admin/Api/CommodityGroup.php:126-130 | app/Controller/Admin/Api/Group.php:132-137 \u2014 These two members are one piece of code written twice and then edited apart: 5 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Controller/Admin/Api/CommodityGroup.php"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1b3fb5f178fc3d086b5641fa1321f29069a2d9f21bd942c21c9b212f5562a54"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): app/Controller/Admin/Authentication.php:28-31 | app/Controller/User/Authentication.php:25-30 \u2014 These two members are one piece of code written twice and then edited apart: 4 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Controller/Admin/Authentication.php"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ca0a78f1af7f440678ead60d7fb082328471f1b0cc54e98e09f23e2142d8595"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): app/Controller/Admin/Api/Config.php:553-558 | app/Service/Bind/Email.php:256-261 \u2014 These two members are one piece of code written twice and then edited apart: 6 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Controller/Admin/Api/Config.php"},"region":{"startLine":553}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fe8233068b7de280be740210741de31ffd97cb408c2ae4391b399aea405f7d3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): app/Interceptor/Owner.php:25-29 | app/Interceptor/Super.php:25-29 \u2014 These two members are one piece of code written twice and then edited apart: 5 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Interceptor/Owner.php"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"f52f28da2ae4e97eb9a21dde06452d6fcc9eae987bcdc9bc7f77364de62bb04c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (2 corresponding lines): app/Controller/Admin/Api/Message.php:28-29 | app/Controller/User/Api/Message.php:35-36 \u2014 These two members are one piece of code written twice and then edited apart: 2 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Controller/Admin/Api/Message.php"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c88ad9d83910ce706df95b35d21017c3a43e2555a33afa2ec7f785d3ae6d0bc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (2 corresponding lines): app/Controller/Admin/Api/Ticket.php:21-22 | app/Controller/User/Api/Ticket.php:23-24 \u2014 These two members are one piece of code written twice and then edited apart: 2 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Controller/Admin/Api/Ticket.php"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"6923fa77ee3a72cd75655438d8f5cb298e8f4379abd090671388364fde25450a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (2 corresponding lines): app/Service/ManageSessionManager.php:283-284 | app/Service/UserSessionManager.php:292-293 \u2014 These two members are one piece of code written twice and then edited apart: 2 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Service/ManageSessionManager.php"},"region":{"startLine":283}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3e28eba6428d55c22fe04e9cfa29ebd76775b5c80b583ea5665e31dd91f050a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 4\u002B corresponding lines): app/Controller/Base/API/Manage.php:19-22 | app/Controller/Base/API/Shared.php:24-27 | app/Controller/Base/API/User.php:26-29 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 4 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Controller/Base/API/Manage.php"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9caa2410b85c805218afb20517f5e64e34867be4aaf8d75d61f6a50932d2eca"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (59 lines \u00D7 2): app/Controller/Admin/Api/BusinessLevel.php:65-123 | app/Controller/Admin/Api/Group.php:58-116 \u2014 before extracting anything, compare \u0060app/Controller/Admin/Api/BusinessLevel.php\u0060 and \u0060app/Controller/Admin/Api/Group.php\u0060 as WHOLE FILES: this scan already matched 4 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. 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/Controller/Admin/Api/BusinessLevel.php:65\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/Controller/Admin/Api/BusinessLevel.php"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"df50dd6cf1a6fe3ad7de8a1c4e1e74c69d468d430fe4ad8c1abd74c8d97fd1ba"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22\u201333 lines \u00D7 2): app/Controller/Admin/Api/Order.php:98-130 | app/Controller/Admin/Api/RechargeOrder.php:86-107 \u2014 before extracting anything, compare \u0060app/Controller/Admin/Api/Order.php\u0060 and \u0060app/Controller/Admin/Api/RechargeOrder.php\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 148 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/Controller/Admin/Api/Order.php:98\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Controller/Admin/Api/Order.php"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fd24cb0c60569a571c946c269daa4178d734876b29be4d3d29e039584feec99"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26\u201327 lines \u00D7 2): app/Controller/Admin/Api/Card.php:419-445 | app/Controller/User/Api/Card.php:159-184 \u2014 before extracting anything, compare \u0060app/Controller/Admin/Api/Card.php\u0060 and \u0060app/Controller/User/Api/Card.php\u0060 as WHOLE FILES: this scan already matched 4 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/Controller/Admin/Api/Card.php:419\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/Controller/Admin/Api/Card.php"},"region":{"startLine":419}}}],"partialFingerprints":{"codehealthFindingId/v1":"160422783456a783b2a38dc7078c8d9b8e4b0b830869ba76b9d869f1c1184aee"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 2): app/Controller/Admin/Api/Order.php:146-172 | app/Controller/Admin/Api/RechargeOrder.php:119-145 \u2014 before extracting anything, compare \u0060app/Controller/Admin/Api/Order.php\u0060 and \u0060app/Controller/Admin/Api/RechargeOrder.php\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 148 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/Controller/Admin/Api/Order.php:146\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/Controller/Admin/Api/Order.php"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f544620dd38434ce9d214880ef2dacc54e15e7b49d8032057528b4819ded443"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): app/Controller/Admin/Api/Card.php:349-372 | app/Controller/User/Api/Card.php:93-116 \u2014 before extracting anything, compare \u0060app/Controller/Admin/Api/Card.php\u0060 and \u0060app/Controller/User/Api/Card.php\u0060 as WHOLE FILES: this scan already matched 4 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/Controller/Admin/Api/Card.php:349\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060app/Controller/User/Api/Card.php:92\u0060 calls \u0060query\u0060, \u0060where\u0060, \u0060getUser\u0060 and \u0060app/Controller/Admin/Api/Card.php:349\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/Controller/Admin/Api/Card.php"},"region":{"startLine":349}}}],"partialFingerprints":{"codehealthFindingId/v1":"e52a426b03d9630bee2629c7d5c094607cb4bde866b323948501cc398b9227bf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): app/Controller/Admin/Api/Coupon.php:358-381 | app/Controller/User/Api/Coupon.php:156-179 \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/Controller/Admin/Api/Coupon.php:358\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060app/Controller/Admin/Api/Coupon.php:383\u0060 calls \u0060log\u0060, \u0060getManage\u0060 and \u0060app/Controller/User/Api/Coupon.php:181\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/Controller/Admin/Api/Coupon.php"},"region":{"startLine":358}}}],"partialFingerprints":{"codehealthFindingId/v1":"afcf4644027fe32471aa3dab1c7ceba21607dcf6591d74ddbfb1f3ccf59c1cab"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22\u201323 lines \u00D7 6): app/Controller/Admin/Api/BusinessLevel.php:161-183 | app/Controller/Admin/Api/Card.php:41-62 | app/Controller/Admin/Api/Category.php:45-67 | app/Controller/Admin/Api/Commodity.php:53-74 | app/Controller/Admin/Api/Coupon.php:36-58 | app/Controller/Admin/Api/Manage.php:37-59 \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 6 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/Controller/Admin/Api/BusinessLevel.php:185\u0060 calls \u0060JSONException\u0060 and \u0060app/Controller/Admin/Api/Category.php:68\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/Controller/Admin/Api/BusinessLevel.php"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"2acdba6a855aeea1224af4d89c274a38ff44259f4702c7a9f892aac5099e1793"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): app/Controller/User/Api/Order.php:88-110 | app/Controller/User/Api/RechargeNotification.php:38-60 \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/Controller/User/Api/Order.php:88\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/Controller/User/Api/Order.php"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"f60491fcfc91b59b0ca444f4bf1663c131bde7458a1797096fcccc150edcf97c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19\u201322 lines \u00D7 2): app/Service/Bind/Order.php:1035-1053 | app/Service/Bind/Recharge.php:115-136 \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/Service/Bind/Order.php:1035\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/Service/Bind/Order.php"},"region":{"startLine":1035}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a74c27b9b71e7af4ee7a61abb4207a76423e14d1606b730aa45f271abd6fbb1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): app/Controller/Base/View/Manage.php:24-44 | app/Controller/Base/View/ManagePlugin.php:22-42 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Controller/Base/View/Manage.php"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"0af7a153730c1ebfe8be3b3471359949656f011d633cf9519e36902fea5808f6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18\u201320 lines \u00D7 3): app/Controller/Admin/Api/Category.php:296-313 | app/Controller/Admin/Api/Order.php:285-303 | app/Controller/Admin/Api/RechargeOrder.php:262-281 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 3 call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/Controller/Admin/Api/Order.php:285\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Controller/Admin/Api/Category.php"},"region":{"startLine":296}}}],"partialFingerprints":{"codehealthFindingId/v1":"49fc34381b3609bc4ad9b3fc1399c11fc3d0de46d8ecd5bd37ed13faef3a952f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): app/Controller/Admin/Api/BusinessLevel.php:44-63 | app/Controller/Admin/Api/Group.php:37-56 \u2014 before extracting anything, compare \u0060app/Controller/Admin/Api/BusinessLevel.php\u0060 and \u0060app/Controller/Admin/Api/Group.php\u0060 as WHOLE FILES: this scan already matched 4 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. 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/Controller/Admin/Api/BusinessLevel.php:44\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/Controller/Admin/Api/BusinessLevel.php"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"60e31b50a735c0b6b6dddd14dea133fb339da61d48885e6c6e713f0c3d9ff938"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): app/Controller/User/Pay.php:46-65 | app/Controller/User/Recharge.php:106-125 \u2014 before extracting anything, compare \u0060app/Controller/User/Pay.php\u0060 and \u0060app/Controller/User/Recharge.php\u0060 as WHOLE FILES: 82% 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/Controller/User/Pay.php"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c956bc36c7002ad98c10330afe0e27bedc971d7b4ec99c184f71ee7c528d364"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): app/Util/Date.php:109-127 | kernel/Util/Date.php:124-142 \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/Util/Date.php"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"247ca65cb3515330b662893a6de737fac279984905d154abdeaf83d8f5e38b02"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201318 lines \u00D7 3): app/Controller/User/Api/Order.php:83-100 | app/Controller/User/Api/Order.php:148-165 | app/Controller/User/Api/RechargeNotification.php:34-50 \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/Controller/User/Api/Order.php:83\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/Controller/User/Api/Order.php:166\u0060 calls \u0060patch\u0060 and \u0060app/Controller/User/Api/Order.php:101\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/Controller/User/Api/Order.php"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"2be18cb9fb53f7bf6b560795594b276c823b8a714befe3358da7e179bf5a4e47"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201318 lines \u00D7 2): app/Controller/Shared/Commodity.php:459-475 | app/Controller/User/Api/Index.php:350-367 \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/Controller/Shared/Commodity.php:459\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/Controller/Shared/Commodity.php"},"region":{"startLine":459}}}],"partialFingerprints":{"codehealthFindingId/v1":"36e348b5324ba3c6d31642971ca9b2f706610c4941540ad1ba46336ad86b9c86"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): app/Service/ManageSessionManager.php:49-66 | app/Service/UserSessionManager.php:52-69 \u2014 before extracting anything, compare \u0060app/Service/ManageSessionManager.php\u0060 and \u0060app/Service/UserSessionManager.php\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 78 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Service/ManageSessionManager.php"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"64ea8e7ce0c016c0c2a9406cc79394638249d67f1710152d835e81481786d4c8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201318 lines \u00D7 2): app/Util/CallbackIpWhitelist.php:246-263 | app/Util/Client.php:420-435 \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/Util/CallbackIpWhitelist.php"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"8dea7943695cb40686b2f196257377ae06f06e0d0046432254d52a21cbc22bc4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 5): app/Util/Schema.php:66-82 | app/Util/Schema.php:133-149 | app/Util/Schema.php:184-200 | app/Util/Schema.php:291-307 | app/Util/Schema.php:342-358 \u2014 all 5 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/Util/Schema.php:66\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/Util/Schema.php"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf69151f46ebdd5e9f685f8f959b6d428b54f39fe913cd4eadbb587d73a70f9e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201317 lines \u00D7 2): app/Controller/Admin/Api/User.php:183-199 | app/Controller/User/Api/Business.php:43-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/Controller/Admin/Api/User.php"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"5af005b4d74829cdf58e7dcb944fab867b96e3181b19f74e9aa28ddec4762538"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): app/Service/Bind/ManageSSO.php:98-114 | app/Service/Bind/ManageSSO.php:151-167 \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/Service/Bind/ManageSSO.php:98\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/Service/Bind/ManageSSO.php"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1ff17d6cd637c8dfd7668ff6b408f816822c0f8d0b6c9ce352bd372a377451e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): app/Controller/Admin/Api/CommodityGroup.php:46-61 | app/Controller/Admin/Api/CommodityGroup.php:80-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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/Controller/Admin/Api/CommodityGroup.php:46\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/Controller/Admin/Api/CommodityGroup.php"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbef2444f3f15c0f8b646c0ecea684a91c7fe3e2ef1220da24e362fc66a148e1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): app/Controller/Admin/Api/Coupon.php:341-356 | app/Controller/User/Api/Coupon.php:139-154 \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/Controller/Admin/Api/Coupon.php:341\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/Controller/Admin/Api/Coupon.php"},"region":{"startLine":341}}}],"partialFingerprints":{"codehealthFindingId/v1":"45aca412cc8dd7150cfdeef93676983700178c13f388f5f0f39e94234b453663"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): app/Service/ManageSessionManager.php:91-106 | app/Service/UserSessionManager.php:91-106 \u2014 before extracting anything, compare \u0060app/Service/ManageSessionManager.php\u0060 and \u0060app/Service/UserSessionManager.php\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 78 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Service/ManageSessionManager.php"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"4825059925e36468e320742ff8094e7e300168fc7913091ff6ada152fb3139d9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 3): app/Controller/Admin/Api/Category.php:270-284 | app/Controller/Admin/Api/Order.php:257-273 | app/Controller/Admin/Api/RechargeOrder.php:233-250 \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":"app/Controller/Admin/Api/Category.php"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"5dd959754645af8b5eb0eeb00339282783a04c793286acb4cb1a11ed347e603a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201315 lines \u00D7 2): app/Controller/Admin/Api/Log.php:26-38 | app/Controller/Admin/Api/User.php:567-581 \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/Controller/Admin/Api/Log.php"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ae733e87a1955ad10ea2ec68ac6eb2fad81630dba7f05ede0a244c8cb053cc1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): app/Service/Bind/Email.php:419-433 | app/Service/Bind/Sms.php:158-172 \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/Service/Bind/Email.php:419\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/Service/Bind/Email.php"},"region":{"startLine":419}}}],"partialFingerprints":{"codehealthFindingId/v1":"c00bcf99a5577ea4c05bdcbaac21d0e73692b1631ae38d75a03e9fee021928b8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201315 lines \u00D7 2): app/Util/CallbackIpWhitelist.php:269-283 | app/Util/Client.php:436-449 \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 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/Util/CallbackIpWhitelist.php"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"374cbedd7b5ca8f1b00a2f472e133c942a191272267ca421d7632ee47ec8accc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): app/Controller/Admin/Api/Card.php:387-400 | app/Controller/User/Api/Card.php:132-145 \u2014 before extracting anything, compare \u0060app/Controller/Admin/Api/Card.php\u0060 and \u0060app/Controller/User/Api/Card.php\u0060 as WHOLE FILES: this scan already matched 4 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/Controller/Admin/Api/Card.php:387\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Controller/Admin/Api/Card.php"},"region":{"startLine":387}}}],"partialFingerprints":{"codehealthFindingId/v1":"7463139e10967f572dc36018f3f7494bc2b5146d80f7afafcdad78d22765db55"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): app/Controller/Admin/Api/Card.php:571-584 | app/Controller/Admin/Api/CardFile.php:274-287 \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/Controller/Admin/Api/Card.php"},"region":{"startLine":571}}}],"partialFingerprints":{"codehealthFindingId/v1":"652725341cf602a7140c648bdd42f831c85e419c43577f5bb3ef27cd1f17c91e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): app/Service/Bind/Message.php:1046-1059 | app/Service/Bind/Ticket.php:1367-1380 \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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060app/Service/Bind/Message.php:1044\u0060 calls \u0060getimagesize\u0060, \u0060is_array\u0060, \u0060strtolower\u0060 and \u0060app/Service/Bind/Ticket.php:1366\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/Service/Bind/Message.php"},"region":{"startLine":1046}}}],"partialFingerprints":{"codehealthFindingId/v1":"904ae5a0baf7e33a1423376c6f3294ca80558eb26d5e4ac2eeca56cd2c58858d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): app/Service/Bind/Order.php:572-585 | app/Service/Bind/Order.php:597-610 \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/Service/Bind/Order.php"},"region":{"startLine":572}}}],"partialFingerprints":{"codehealthFindingId/v1":"608fdcff5cec3684d56fc6c245c512c936bd3350b50cdde68eeab524c798e048"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 2): app/Util/CallbackIpWhitelist.php:183-195 | app/Util/Client.php:327-340 \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/Util/CallbackIpWhitelist.php:183\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/Util/CallbackIpWhitelist.php"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdae9c7bc1e011713cbead85a7ef524371a8902bf403790b88d461373f020168"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): app/Util/Tree.php:17-30 | kernel/Util/Tree.php:16-29 \u2014 before extracting anything, compare \u0060app/Util/Tree.php\u0060 and \u0060kernel/Util/Tree.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/Util/Tree.php"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"95df371e78382ad9b8600b02c1418c82aec9654df1a586a0ada8753f0a3c2506"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201313 lines \u00D7 2): app/Controller/Admin/Api/File.php:55-65 | app/Controller/Admin/Api/Manage.php:75-87 \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/Controller/Admin/Api/File.php"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"4935d06dd990d276f7e118263fc45b50124c8ae796b149bbb46bdf32824d894c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): app/Controller/Admin/Api/Order.php:626-638 | app/Controller/Admin/Api/RechargeOrder.php:478-490 \u2014 before extracting anything, compare \u0060app/Controller/Admin/Api/Order.php\u0060 and \u0060app/Controller/Admin/Api/RechargeOrder.php\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 148 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/Controller/Admin/Api/Order.php:626\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/Controller/Admin/Api/Order.php"},"region":{"startLine":626}}}],"partialFingerprints":{"codehealthFindingId/v1":"26a5077ddd6e740805a4ab0a814e70c539bae31f518a7edc49042ab6824f1b2b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): app/Controller/User/Api/Card.php:38-50 | app/Controller/User/Api/Coupon.php:39-54 \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/Controller/User/Api/Card.php"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb10a6281be83160666cf6ec90412bc02b3abc381830e1256e1543481541e277"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): app/Service/ManageSessionManager.php:298-310 | app/Util/UserAgent.php:22-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/Service/ManageSessionManager.php"},"region":{"startLine":298}}}],"partialFingerprints":{"codehealthFindingId/v1":"816a8e9f0807c7511583968986d045a89a0caa3a252ff81de8994973f8f2142f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201312 lines \u00D7 3): app/Controller/Admin/Api/Bill.php:33-42 | app/Controller/Admin/Api/Cash.php:38-48 | app/Controller/Admin/Api/Coupon.php:235-246 \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":"app/Controller/Admin/Api/Bill.php"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6f3b262a5edab366d147e92734f991487a47061a5ffe13bf18cbc84dc6fc7b9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): app/Controller/Admin/Api/Order.php:49-60 | app/Controller/Admin/Api/RechargeOrder.php:45-56 \u2014 before extracting anything, compare \u0060app/Controller/Admin/Api/Order.php\u0060 and \u0060app/Controller/Admin/Api/RechargeOrder.php\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 148 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/Controller/Admin/Api/Order.php:49\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/Controller/Admin/Api/Order.php"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba20df0bd16cf24cb83267a378a4b395c5a553cedfc35b827eb74db8c51122a6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): app/Controller/Shared/Commodity.php:444-455 | app/Controller/User/Api/Index.php:335-346 \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/Controller/Shared/Commodity.php:444\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/Controller/Shared/Commodity.php"},"region":{"startLine":444}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdf14249653494ee3dd3434e85393b80dfa43534b66fbe8d5dfc17093f56ecac"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): app/Service/Bind/Message.php:159-170 | app/Service/Bind/Message.php:174-185 \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/Service/Bind/Message.php:159\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/Service/Bind/Message.php"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"f79685d8a6c5a992e2ed0c1b0de5f31ccb6bbbe43309e6c544de37792697c421"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): app/Service/Bind/Order.php:680-691 | app/Service/Bind/Shop.php:150-161 \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/Service/Bind/Order.php"},"region":{"startLine":680}}}],"partialFingerprints":{"codehealthFindingId/v1":"89356c843afef1b1b0115d19829e5b2c3adea4cce6f996f850a855bc902781f9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): app/Service/ManageSessionManager.php:77-88 | app/Service/UserSessionManager.php:77-88 \u2014 before extracting anything, compare \u0060app/Service/ManageSessionManager.php\u0060 and \u0060app/Service/UserSessionManager.php\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 78 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Service/ManageSessionManager.php"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cf73bd64891768de195eec75153cb3350eb3de194f3400c68a21e905209069e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): app/Service/ManageSessionManager.php:262-273 | app/Service/UserSessionManager.php:271-282 \u2014 before extracting anything, compare \u0060app/Service/ManageSessionManager.php\u0060 and \u0060app/Service/UserSessionManager.php\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 78 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Service/ManageSessionManager.php"},"region":{"startLine":262}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f075de1a2892f812adc27e394009085af4ca3c15d980dd69529cf45090b7954"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 7): app/Controller/Admin/Api/BusinessLevel.php:164-174 | app/Controller/Admin/Api/Card.php:44-54 | app/Controller/Admin/Api/Category.php:48-58 | app/Controller/Admin/Api/Commodity.php:56-66 | app/Controller/Admin/Api/Commodity.php:216-225 | app/Controller/Admin/Api/Coupon.php:39-49 | app/Controller/Admin/Api/Manage.php:40-50 \u2014 there are 7 copies across 6 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 7 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/Controller/Admin/Api/BusinessLevel.php:164\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/Controller/Admin/Api/BusinessLevel.php"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca925f1852962bf8cc65023fb10adb6b054a556135a91148b0f99875d0b9734f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 5): app/Util/Schema.php:98-108 | app/Util/Schema.php:163-173 | app/Util/Schema.php:208-218 | app/Util/Schema.php:321-331 | app/Util/Schema.php:372-382 \u2014 all 5 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/Util/Schema.php:98\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/Util/Schema.php"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ba719fa99c4ccfb131f29e21e887115f926ad71ba420679a6131772d6fc132c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): app/Controller/Admin/Api/Card.php:698-709 | app/Controller/Admin/Api/Card.php:717-728 \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. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Controller/Admin/Api/Card.php"},"region":{"startLine":698}}}],"partialFingerprints":{"codehealthFindingId/v1":"772c9813947a9760269caf4ee22583c8e2e854a8bf1c31cb908c589f525e30c5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): app/Controller/Admin/Api/Card.php:777-787 | app/Controller/User/Api/Card.php:197-207 \u2014 before extracting anything, compare \u0060app/Controller/Admin/Api/Card.php\u0060 and \u0060app/Controller/User/Api/Card.php\u0060 as WHOLE FILES: this scan already matched 4 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Controller/Admin/Api/Card.php"},"region":{"startLine":777}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc2312433435dee224afa2d63d6d4937bc84e0ecb382fcdf6b48485a52c229b3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): app/Controller/User/Api/Master.php:107-117 | app/Controller/User/Api/Master.php:261-271 \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 \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/Controller/User/Api/Master.php"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd8900e718cab5707f9c739da11477900e9a6b7211493a505a9b34d1d2d75661"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 2): app/Service/Bind/Pay.php:234-244 | app/Util/Theme.php:74-83 \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/Service/Bind/Pay.php:234\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/Service/Bind/Pay.php"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"62971735c2d971455ec449bbe171230d2d58a816ea3b6063da6ebe18ef727d3a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 5): app/Controller/Admin/Api/BusinessLevel.php:82-92 | app/Controller/Admin/Api/BusinessLevel.php:108-118 | app/Controller/Admin/Api/BusinessLevel.php:120-129 | app/Controller/Admin/Api/Group.php:75-85 | app/Controller/Admin/Api/Group.php:101-111 \u2014 before extracting anything, compare \u0060app/Controller/Admin/Api/BusinessLevel.php\u0060 and \u0060app/Controller/Admin/Api/Group.php\u0060 as WHOLE FILES: this scan already matched 4 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. 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/Controller/Admin/Api/BusinessLevel.php:82\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/Controller/Admin/Api/BusinessLevel.php"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"46332a7647f0076f2c77cb850173f42b292a450fbc15ee55f63d2632a4782bf3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): app/Controller/Admin/Api/BusinessLevel.php:251-260 | app/Controller/Admin/Api/Group.php:206-215 \u2014 before extracting anything, compare \u0060app/Controller/Admin/Api/BusinessLevel.php\u0060 and \u0060app/Controller/Admin/Api/Group.php\u0060 as WHOLE FILES: this scan already matched 4 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. 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/Controller/Admin/Api/BusinessLevel.php:251\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/Controller/Admin/Api/BusinessLevel.php"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2db62684ef55892a3084d09f140b573d99de39df4a988e4c7755aae8284238d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 2): app/Controller/Admin/Api/Card.php:83-91 | app/Controller/Admin/Api/Coupon.php:79-88 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Controller/Admin/Api/Card.php"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a51fd4f3c8e02a829e0222f9d94e48f061938934dc3f7a6b0167c3160ab3973"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): app/Controller/Admin/Api/Manage.php:206-215 | app/Controller/Admin/Api/Manage.php:306-315 \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/Controller/Admin/Api/Manage.php"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"937fa48f6a76466c73642c990ef2c97ff8f30d86a8a0db0c920c3e02829c143c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 2): app/Controller/Admin/Api/Store.php:610-618 | app/Service/Bind/Message.php:115-124 \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/Controller/Admin/Api/Store.php:610\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/Controller/Admin/Api/Store.php"},"region":{"startLine":610}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0a57ec24e5395436bd66401e4cef36cde3a106136c67aa27171a2445f388837"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): app/Controller/Admin/Api/User.php:388-397 | app/Controller/Admin/Api/User.php:515-524 \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/Controller/Admin/Api/User.php:388\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/Controller/Admin/Api/User.php"},"region":{"startLine":388}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe76a6d4b3bc62f756ba079c9fdad84374f3665169d2dfb382f3434bfaa95522"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5\u201310 lines \u00D7 3): app/Service/Bind/App.php:186-195 | app/Service/Bind/App.php:256-265 | app/Service/Bind/App.php:461-465 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/Service/Bind/App.php:186\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/Service/Bind/App.php"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f2af6af4f6127bf9ef6e8bc44356999f635151ae59d06feab43dcdea3ce8d21"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): app/Service/Bind/Message.php:92-101 | app/Service/Bind/Message.php:272-281 \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/Service/Bind/Message.php"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"81a141579b92bfc90801ba667886f691168f34db5a6e4984d2431716a4309f89"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): app/Service/Bind/Message.php:1027-1037 | app/Service/Bind/Ticket.php:1347-1357 \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/Service/Bind/Ticket.php:1359\u0060 calls \u0060getimagesize\u0060, \u0060is_array\u0060, \u0060strtolower\u0060 and \u0060app/Service/Bind/Message.php:1038\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/Service/Bind/Message.php"},"region":{"startLine":1027}}}],"partialFingerprints":{"codehealthFindingId/v1":"da7efe03a3132b8562421d59085b68e437c8678746cd2176c1cd23c9339957f0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): app/Util/UploadPurge.php:104-113 | app/Util/UploadPurge.php:115-124 \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/Util/UploadPurge.php"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e6ebf3c76f4281e195ec9584807a8a0fae88c08a72393329f5d413199eab1c5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 8): app/Controller/Admin/Api/BusinessLevel.php:168-176 | app/Controller/Admin/Api/Card.php:48-56 | app/Controller/Admin/Api/Category.php:52-60 | app/Controller/Admin/Api/Commodity.php:60-68 | app/Controller/Admin/Api/CommodityGroup.php:49-57 | app/Controller/Admin/Api/CommodityGroup.php:83-91 | app/Controller/Admin/Api/Coupon.php:43-51 | app/Controller/Admin/Api/Manage.php:44-52 \u2014 there are 8 copies across 7 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 8 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/Controller/Admin/Api/BusinessLevel.php:168\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/Controller/Admin/Api/BusinessLevel.php"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"38faee772196ac9e6ff4aaf2d6a064f62f497b9bdde87483b183d71874e7316f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u20139 lines \u00D7 3): app/Controller/Admin/Api/Card.php:879-886 | app/Controller/Admin/Api/Card.php:930-937 | app/Controller/Admin/Api/Order.php:184-192 \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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Controller/Admin/Api/Card.php"},"region":{"startLine":879}}}],"partialFingerprints":{"codehealthFindingId/v1":"753e28dd48072aa257af0710715539bfd2a73d7df749af5263e8ec62bcf4c125"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): app/Controller/Admin/Api/Store.php:614-622 | app/Service/Bind/Message.php:120-128 | app/Service/Bind/Ticket.php:737-745 \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/Controller/Admin/Api/Store.php:614\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/Controller/Admin/Api/Store.php"},"region":{"startLine":614}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c92d39ba15f788d184e8ff644eb32d3cdd743ccc428801c663383565f230e72"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u20139 lines \u00D7 3): app/Controller/Base/View/Manage.php:24-32 | app/Controller/Base/View/ManagePlugin.php:22-30 | app/Controller/Base/View/UserPlugin.php:21-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 all 3 call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Controller/Base/View/Manage.php"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"00cd1a579de9c1d1b91291a7a37f6aee6b05977d7655fea1d81f191e552c622c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u20139 lines \u00D7 2): app/Controller/Admin/Api/Card.php:214-221 | app/Controller/Admin/Api/Order.php:44-52 \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/Controller/Admin/Api/Card.php"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"72000cb85736575a691867617b529df4f29a5e92a9032adcc6a2370a5c23e5df"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20139 lines \u00D7 2): app/Controller/Admin/Api/Config.php:903-911 | app/Controller/Admin/Api/Config.php:977-983 \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/Controller/Admin/Api/Config.php"},"region":{"startLine":903}}}],"partialFingerprints":{"codehealthFindingId/v1":"c22c3dec222091629787c855f376a7cab3da988be2a5bc70bb6b9c153a3ede22"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): app/Controller/Admin/Api/Coupon.php:423-433 | app/Controller/Admin/Api/Coupon.php:442-452 \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/Controller/Admin/Api/Coupon.php"},"region":{"startLine":423}}}],"partialFingerprints":{"codehealthFindingId/v1":"71b25042c9418453913f2e141a64a56a55dc967231fd71f2eff057c46fe9f2f8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (4\u20139 lines \u00D7 3): app/Controller/Admin/Api/File.php:495-503 | app/Service/Bind/Message.php:144-147 | app/Service/Bind/Ticket.php:1283-1291 \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/Controller/Admin/Api/File.php:495\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. 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. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060app/Controller/Admin/Api/File.php:504\u0060 calls \u0060html_entity_decode\u0060, \u0060trim\u0060 and \u0060app/Service/Bind/Message.php:147\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/Controller/Admin/Api/File.php"},"region":{"startLine":495}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3bb10f43920a9e04defc8d640a7d8ca75d26f590be91814c82b1ecd93911eec"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): app/Controller/Admin/Api/Upload.php:101-109 | app/Controller/User/Api/Upload.php:111-119 \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/Controller/Admin/Api/Upload.php"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"b412353d85f8f4b2272813c0bb16323af77fedb290e2e8040947567ad9db1596"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u20139 lines \u00D7 2): app/Model/Config.php:318-325 | app/Model/Config.php:375-383 \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/Model/Config.php:375\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060app/Model/Config.php:365\u0060 calls \u0060useExclusiveLock\u0060, \u0060use\u0060, \u0060decodeCache\u0060 and \u0060app/Model/Config.php:316\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/Model/Config.php"},"region":{"startLine":318}}}],"partialFingerprints":{"codehealthFindingId/v1":"78197919fa4b10df9af3f8325e75a23a36602fd842ee8acb254b77ef9206ba77"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u20139 lines \u00D7 2): app/Service/Bind/App.php:60-68 | app/Service/Bind/App.php:646-653 \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/Service/Bind/App.php:60\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/Service/Bind/App.php"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"365afd13b732544efd0cc22d1fd6c0e520076163760c53e1b96594cacf33af76"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): app/Service/Bind/ManageSSO.php:80-88 | app/Service/Bind/ManageSSO.php:141-149 \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/Service/Bind/ManageSSO.php"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6cabc94c6aca8ad9bec8fe6917c91ad51cd83f9d2c8ed459d2a01d902bfde70"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u20139 lines \u00D7 2): app/Util/CallbackIpWhitelist.php:134-142 | app/Util/Client.php:210-217 \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/Util/CallbackIpWhitelist.php"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c0d45ddc4d4cd25ed6e544f86b7b49d2687c69443dadd01e786cae33d4c62b1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): app/Util/SharedPayload.php:126-134 | app/Util/SharedPayload.php:187-195 \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/Util/SharedPayload.php"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"f22fe0aee4e04bfb2de70e863887b2c524f77056ab5a6d6da8ae3b881d9fd5ee"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 4): app/Service/Bind/Message.php:95-102 | app/Service/Bind/Message.php:222-229 | app/Service/Bind/Message.php:275-282 | app/Service/Bind/Ticket.php:854-861 \u2014 there are 4 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 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Service/Bind/Message.php"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"dff01b5024e14005ca8ff3a7fbddbcdee8c205195215e8116a27c7e2255d8c56"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): app/Controller/Admin/Api/Upload.php:145-152 | app/Controller/User/Api/Upload.php:181-188 \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/Controller/Admin/Api/Upload.php:145\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/Controller/Admin/Api/Upload.php"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"b37d0d444648deb6d187fc8e5d7b094208dae29a23cd2670448994893b78a72d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): app/Controller/User/Api/Authentication.php:207-214 | app/Controller/User/Api/Authentication.php:232-239 \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/Controller/User/Api/Authentication.php:207\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/Controller/User/Api/Authentication.php"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"065867df5eed54cc9364d812c1c8ddd0589ba1559fa4449fd8747c136884dc3f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): app/Controller/User/Api/Authentication.php:273-280 | app/Controller/User/Api/Authentication.php:299-306 \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/Controller/User/Api/Authentication.php:273\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/Controller/User/Api/Authentication.php"},"region":{"startLine":273}}}],"partialFingerprints":{"codehealthFindingId/v1":"338dc93bfa1b464db387763f8425c1065aa40f9a3cc3f45b9e5123fc8394a420"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): app/Model/Config.php:561-568 | app/Model/Config.php:620-627 \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/Model/Config.php:561\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/Model/Config.php"},"region":{"startLine":561}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddb2096487a6d78edd623d5e404b217d5226bd4a41ebedb62eae5a12df2d6e81"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): app/Service/ManageSessionManager.php:40-47 | app/Service/UserSessionManager.php:44-51 \u2014 before extracting anything, compare \u0060app/Service/ManageSessionManager.php\u0060 and \u0060app/Service/UserSessionManager.php\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 78 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Service/ManageSessionManager.php"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"e765efb86bad792cfb6d630eec70ded008b1a698e319dc1f20da93541b955a81"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 4): app/Controller/User/Api/Authentication.php:206-212 | app/Controller/User/Api/Authentication.php:231-237 | app/Controller/User/Api/Authentication.php:272-278 | app/Controller/User/Api/Authentication.php:298-304 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Controller/User/Api/Authentication.php"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba650e0b133b99074030770f02b1af4854f58003e934ac260786e2edcc35c188"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): app/Controller/User/Api/Authentication.php:210-216 | app/Controller/User/Api/Authentication.php:235-241 | app/Controller/User/Api/Security.php:335-341 \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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Controller/User/Api/Authentication.php"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ed35d044e7e9384e99fc4a111668cc6f51620c01200debc374494c0b1297aee"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): app/Controller/User/Api/Authentication.php:276-282 | app/Controller/User/Api/Authentication.php:302-308 | app/Controller/User/Api/Security.php:362-368 \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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Controller/User/Api/Authentication.php"},"region":{"startLine":276}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba1e6129bc4a8a993bc7456f37f5fd1651ca9755e44e58893d0e0aa0c027cfe7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): app/Controller/Admin/Api/Card.php:172-178 | app/Controller/Admin/Api/Coupon.php:197-203 \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/Controller/Admin/Api/Card.php:172\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/Controller/Admin/Api/Card.php"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f8e18651baab242944a98cea637540a46cf7230caaa845ed3199ec15bec5fa3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6\u20137 lines \u00D7 2): app/Controller/Admin/Api/Cash.php:57-62 | app/Controller/Admin/Api/User.php:292-298 \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/Controller/Admin/Api/Cash.php"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"61eb7c7813af0cd2c37bc4648f0655ec579310b0e013aa3c0731a170be92861c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): app/Controller/Admin/Api/Coupon.php:516-522 | app/Controller/Admin/Api/Coupon.php:560-566 \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/Controller/Admin/Api/Coupon.php"},"region":{"startLine":516}}}],"partialFingerprints":{"codehealthFindingId/v1":"724d2042b4a937f7dd2ec25cf04e10601c2cc3deb3d8160ceb7f48bb164ba6c2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): app/Controller/Admin/Api/Message.php:82-89 | app/Controller/User/Api/Message.php:54-61 \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/Controller/Admin/Api/Message.php"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"1850893a82b6814b2b080f7578fa6542fd33715c3f5cfc44fc85f1793c26235d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): app/Controller/Admin/Api/Order.php:648-654 | app/Controller/Admin/Api/RechargeOrder.php:500-506 \u2014 before extracting anything, compare \u0060app/Controller/Admin/Api/Order.php\u0060 and \u0060app/Controller/Admin/Api/RechargeOrder.php\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 148 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Controller/Admin/Api/Order.php"},"region":{"startLine":648}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d2951fb2cbbd72942d494d9ab43b250dffff21c9503b11032b4796499f3bd47"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): app/Controller/Admin/Api/Order.php:659-665 | app/Controller/Admin/Api/RechargeOrder.php:511-517 \u2014 before extracting anything, compare \u0060app/Controller/Admin/Api/Order.php\u0060 and \u0060app/Controller/Admin/Api/RechargeOrder.php\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 148 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/Controller/Admin/Api/Order.php:659\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/Controller/Admin/Api/Order.php"},"region":{"startLine":659}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f2a2ea68ee3be6035d525006826a81e99e1900f1763119450275743821646de"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): app/Controller/Admin/Api/Upload.php:71-77 | app/Controller/User/Api/Upload.php:82-88 \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/Controller/Admin/Api/Upload.php:71\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/Controller/Admin/Api/Upload.php"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"af74190c325a8181412f876d7926d72ac90633684f03413089d97a5b8cbf2d57"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): app/Service/Bind/Ticket.php:386-392 | app/Service/Bind/Ticket.php:411-417 \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/Service/Bind/Ticket.php"},"region":{"startLine":386}}}],"partialFingerprints":{"codehealthFindingId/v1":"85ff32ccf63e4903aea73cfaef97133ae08460edcfc302cf9feb817105683ca0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): app/Service/ManageWebauthnService.php:78-84 | app/Service/UserWebauthnService.php:104-110 \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/Service/ManageWebauthnService.php:78\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060app/Service/ManageWebauthnService.php:85\u0060 calls \u0060JSONException\u0060, \u0060getMessage\u0060, \u0060query\u0060 and \u0060app/Service/UserWebauthnService.php:111\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Service/ManageWebauthnService.php"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"efd974f532235bd9b91a736f4a204b9a6c5f7b1f4aedfd4f6edd161e21f8a6db"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): app/Util/CardFile/Purge.php:48-54 | app/Util/CardFile/Purge.php:92-98 \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/Util/CardFile/Purge.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":"app/Util/CardFile/Purge.php"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"30bfd763a62995e4f6545893bcf7478d7187e8cdb936f811008b80fa0c95e8ea"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5\u20136 lines \u00D7 4): app/Controller/User/Api/Security.php:445-449 | app/Controller/User/Api/Security.php:481-486 | app/Controller/User/Api/Security.php:513-518 | app/Controller/User/Api/Security.php:564-569 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/Controller/User/Api/Security.php:445\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/Controller/User/Api/Security.php"},"region":{"startLine":445}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8d440c71ff151d735ceedf37a4fd98dace98fa252591b6780b37ac25610e8ad"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): app/Service/Bind/Email.php:377-382 | app/Service/Bind/Email.php:414-419 | app/Service/Bind/Email.php:438-443 \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/Service/Bind/Email.php"},"region":{"startLine":377}}}],"partialFingerprints":{"codehealthFindingId/v1":"427847718d4c07ea63193059a3f447cc327583854356e7527c3a7c56cf1d860d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): app/Controller/Admin/Api/Order.php:640-645 | app/Controller/Admin/Api/RechargeOrder.php:492-497 \u2014 before extracting anything, compare \u0060app/Controller/Admin/Api/Order.php\u0060 and \u0060app/Controller/Admin/Api/RechargeOrder.php\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 148 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Controller/Admin/Api/Order.php"},"region":{"startLine":640}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0ae6d3f87c3ea792fa564d1fa7dafe4b94bd7d7ccdd714e6a776deb3f567e86"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): app/Interceptor/ManageSession.php:34-39 | app/Interceptor/UserSession.php:28-33 \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/Interceptor/ManageSession.php"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"52142a0184c7770d3410d72ebb71ddea198d0816be1f1451c0841e6f2796e19f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): app/Controller/Admin/Api/Commodity.php:645-649 | app/Controller/Admin/Api/Commodity.php:698-704 \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/Controller/Admin/Api/Commodity.php:645\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/Controller/Admin/Api/Commodity.php"},"region":{"startLine":645}}}],"partialFingerprints":{"codehealthFindingId/v1":"27795ba0d1fe4ffa8c70b00b9b32549bb5e37236245cb0befb349c48a0ce93a0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): app/Controller/Admin/Api/Manage.php:485-489 | app/Controller/User/Api/Security.php:668-672 \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/Controller/Admin/Api/Manage.php"},"region":{"startLine":485}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea8a3c39175bef06e6c1fde87aa8cf24b1fc9dea175071270601e61e7984ee9f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): app/Controller/User/Api/Bill.php:31-35 | app/Controller/User/Api/Cash.php:153-157 \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/Controller/User/Api/Bill.php"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"07980e5c0b78340632445af7266c094337644107248e3d54fe78b61a751fc84c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): app/Controller/User/Api/Security.php:233-239 | app/Controller/User/Api/Security.php:618-624 \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/Controller/User/Api/Security.php:233\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/Controller/User/Api/Security.php"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"6825b542767304222759d15191ede8207a353a800e42491e06a3bba5aceb2160"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): app/Service/Bind/Order.php:296-300 | app/Service/Bind/Order.php:437-441 \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/Service/Bind/Order.php:296\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/Service/Bind/Order.php"},"region":{"startLine":296}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d65dcb88f06139a489ba872af6412dde370fdb78d8222368eb7f525d26eefd3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): app/Service/Bind/Shared.php:819-823 | app/Service/Bind/Shared.php:836-840 \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/Service/Bind/Shared.php:819\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/Service/Bind/Shared.php:826\u0060 calls \u0060array_key_exists\u0060, \u0060is_array\u0060, \u0060foreach\u0060 and \u0060app/Service/Bind/Shared.php:842\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/Service/Bind/Shared.php"},"region":{"startLine":819}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef1f597cc1eb6c435de911d1321a009810d682aa896b09fe374e186c7722b59a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): app/Util/RichHtml.php:138-143 | kernel/Waf/Firewall.php:117-122 \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/Util/RichHtml.php:138\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/Util/RichHtml.php"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"4193d874db340abb1880727f3a0bdd31af3cf61c5a7943f432602cb1e2265970"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): app/Controller/Admin/Api/Category.php:259-263 | app/Controller/Admin/Api/Order.php:247-251 | app/Controller/Admin/Api/RechargeOrder.php:223-227 \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. 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. 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/Controller/Admin/Api/Category.php"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e3a010aff6a88a7974d28df67d35d333f75fa948c84f08742eb59b8d124faa5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): app/Interceptor/Business.php:40-45 | app/Interceptor/Store.php:39-44 \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/Interceptor/Business.php"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fd0958b2339487c36263ea02ac7a1960afd1d47f82432bda3eabbc91a2f184b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): app/Interceptor/Owner.php:38-43 | app/Interceptor/Super.php:38-43 \u2014 before extracting anything, compare \u0060app/Interceptor/Owner.php\u0060 and \u0060app/Interceptor/Super.php\u0060 as WHOLE FILES: 93% 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/Interceptor/Owner.php"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"11bbfc36fc11e3464624f84ab940fc5e9b444f5c4ee5db641c23bfda30ffee33"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): app/Service/ManageSessionManager.php:147-152 | app/Service/UserSessionManager.php:152-157 \u2014 before extracting anything, compare \u0060app/Service/ManageSessionManager.php\u0060 and \u0060app/Service/UserSessionManager.php\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 78 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. 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/Service/ManageSessionManager.php"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"69a20f53bb044caba7488a585deef642732623508b31b484dab9ebb62876ed7c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): app/Util/Date.php:140-145 | kernel/Util/Date.php:155-160 \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/Util/Date.php"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"72563fdf1f0c8419a6b4a762f25dcd6d423e1395a09313a4bf3b932ba80e21c9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): app/Service/ManageSessionManager.php:137-142 | app/Service/UserSessionManager.php:142-147 \u2014 before extracting anything, compare \u0060app/Service/ManageSessionManager.php\u0060 and \u0060app/Service/UserSessionManager.php\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 78 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. 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/Service/ManageSessionManager.php"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e8001ccee9476422fd13905aae12b36414e0a8db0cdacdcc7cf29f5bb298c91"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): app/Controller/Base/View/User.php:105-110 | app/Controller/Base/View/UserPlugin.php:33-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/Controller/Base/View/User.php"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cfdea4402eac49d3a09c9280b28793ac14068b7adc891c53518649d29e82db2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): app/Controller/User/Api/Card.php:251-256 | app/Controller/User/Api/Card.php:264-269 \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/Controller/User/Api/Card.php"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f5603c3a938a99963f5da9bd88d488291856875b325df6e9a375eb760468c00"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): app/Controller/User/Api/Security.php:252-257 | app/Controller/User/Api/Security.php:279-284 \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/Controller/User/Api/Security.php"},"region":{"startLine":252}}}],"partialFingerprints":{"codehealthFindingId/v1":"35b2ca50882985e1c43516d56719d50b1c11dcf6dfe7a6a89f2f0a3be9abab71"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): app/Service/Bind/Shared.php:808-813 | app/Service/Bind/Shared.php:826-831 \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/Service/Bind/Shared.php"},"region":{"startLine":808}}}],"partialFingerprints":{"codehealthFindingId/v1":"59c950df7be2ed6ba91e232c2b6e99114041a7d4188edbca4242d3714f839e2e"}},{"ruleId":"D5","level":"error","message":{"text":"Circular dependency: app \u2192 kernel \u2192 app"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Controller/Admin/Api/App.php"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7f0315d83ddda34ec10c46b9f8fe46b4576bc0124a468508ba11137b4540002"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: Format (LCOM4 21): Format\u0027s methods fall into 21 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 21 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/common/js/format.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"91f7facddbe473216f2f4594dbd3d3c725d93c1aa23356aaa3e920fdd6c9e2cb"}},{"ruleId":"D13","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":"afa1a48f5654fbc0ca167a79b9a307aadd20ad2f1e7f1afd063db0b72cf2438a"},"taxa":[{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D14","level":"error","message":{"text":"Banned license: smarty/smarty: \u0060smarty/smarty\u0060 v3.1.46 is in the production \u0060packages\u0060 list of this repository\u0027s composer.lock \u2014 what a \u0060composer install --no-dev\u0060 puts in vendor/ \u2014 and every licence it declares is one this policy bans (\u0060LGPL-3.0\u0060). Where a package declares several licences it is charged only when all of them are banned. Replace the package, or record an accepted exception. \u2605 The licence that makes this row is LGPL-3.0, and unmodified use is often permitted: the LGPL lets your code use an UNMODIFIED copy of the library that stays a separately installed package (its own entry in node_modules, site-packages or the gem path, which a user can replace) without your code coming under the LGPL. What it then asks is that you pass on its licence and notices and let users swap in their own build of it (LGPL-3.0 section 4). Modifying it, copying its code into yours, or merging it into one bundled or statically linked artifact is where the obligations grow, and this policy cannot see which you do \u2014 that is why it denies LGPL-3.0 by default. If you use it unmodified and separately installed, allow it in your repository\u0027s licence policy rather than replacing it: add \u0060LGPL-3.0-only\u0060 / \u0060LGPL-3.0-or-later\u0060 to the allow-list of the licence check your CI runs (\u0060license-checker --onlyAllow\u0060, the \u0060allow-licenses\u0060 input of GitHub\u0027s dependency-review-action, \u0060[licenses] allow\u0060 in cargo-deny\u0027s deny.toml), record why in the same change, and hide this row on the findings page with that reason. This scan\u0027s banned set is not read from that file, so the row stays until it is hidden."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"ed1136f75051350d78ff02de3b9cdcb2dc51225ebbc65208374d627eb601978b"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: assets/common/js/component/tree.select.js: assets/common/js/component/tree.select.js changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 1045 in tree.select.layui.define() at line 1. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 04:23:41 -08:00\u0027 --until=\u00272026-11-06 04:23:41 -08:00\u0027 --full-history --no-merges -- assets/common/js/component/tree.select.js\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":"assets/common/js/component/tree.select.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c6a92154ea79fb2a9f21993bed44af90c9915f478159dec3230842f4041cdb5"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/Service/Bind/Order.php: app/Service/Bind/Order.php changed 16 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 119 in Order.trade at line 644. 1 of those changes was a fix/bug commit, and the other 15 changed it for other reasons \u2014 this file is under both repair and feature pressure. 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-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 04:23:41 -08:00\u0027 --until=\u00272026-11-06 04:23:41 -08:00\u0027 --full-history --no-merges -- app/Service/Bind/Order.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/Service/Bind/Order.php"},"region":{"startLine":644}}}],"partialFingerprints":{"codehealthFindingId/v1":"242a659a53ea4c28a9c414db0adacf97a9f51b35f539a1636434d23106ab13dc"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/Controller/User/Api/Commodity.php: app/Controller/User/Api/Commodity.php changed 12 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 73 in Commodity.save at line 89. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 04:23:41 -08:00\u0027 --until=\u00272026-11-06 04:23:41 -08:00\u0027 --full-history --no-merges -- app/Controller/User/Api/Commodity.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/Controller/User/Api/Commodity.php"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"447bf6f0f81f48737f9bdb283f8a80a2a57ade59f1488ad51a23b4fc5ee22388"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/Controller/Admin/Api/Commodity.php: app/Controller/Admin/Api/Commodity.php changed 12 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 60 in Commodity.save at line 405. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 04:23:41 -08:00\u0027 --until=\u00272026-11-06 04:23:41 -08:00\u0027 --full-history --no-merges -- app/Controller/Admin/Api/Commodity.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/Controller/Admin/Api/Commodity.php"},"region":{"startLine":405}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a6816d62cf16fee08dc99ff662ffe4d84f1ca9c386b9fc0e9002ccba47f8a94"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/Controller/Admin/Api/Pay.php: app/Controller/Admin/Api/Pay.php changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 59 in Pay.paymentSaveMap at line 140. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 04:23:41 -08:00\u0027 --until=\u00272026-11-06 04:23:41 -08:00\u0027 --full-history --no-merges -- app/Controller/Admin/Api/Pay.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/Controller/Admin/Api/Pay.php"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3f30974de2a69740642d486a467575a13506241150e8618298e41c8a4cad837"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/Controller/Admin/Api/Store.php: app/Controller/Admin/Api/Store.php changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 48 in Store.addItem at line 1086. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 04:23:41 -08:00\u0027 --until=\u00272026-11-06 04:23:41 -08:00\u0027 --full-history --no-merges -- app/Controller/Admin/Api/Store.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/Controller/Admin/Api/Store.php"},"region":{"startLine":1086}}}],"partialFingerprints":{"codehealthFindingId/v1":"b832c71d3f60063ea0b5cf6e054d487be99d864714e3932ef66f1869ac348a1c"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/Controller/User/Api/Index.php: app/Controller/User/Api/Index.php changed 11 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 30 in Index.commodity at line 68. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 04:23:41 -08:00\u0027 --until=\u00272026-11-06 04:23:41 -08:00\u0027 --full-history --no-merges -- app/Controller/User/Api/Index.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/Controller/User/Api/Index.php"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4916538d1f868aaed610b0a80a37e0cc2aa16e4d31706e1eaca218a307c5dc3"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/Controller/Admin/Api/User.php: app/Controller/Admin/Api/User.php changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 53 in User.save at line 85. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 04:23:41 -08:00\u0027 --until=\u00272026-11-06 04:23:41 -08:00\u0027 --full-history --no-merges -- app/Controller/Admin/Api/User.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/Controller/Admin/Api/User.php"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8f5eb583a87cddee1e18744e68c60e66d4e3e8a83cb6fcf2b2bf62394fdea96"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/Controller/User/Api/Authentication.php: app/Controller/User/Api/Authentication.php changed 9 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 34 in Authentication.register at line 48. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 04:23:41 -08:00\u0027 --until=\u00272026-11-06 04:23:41 -08:00\u0027 --full-history --no-merges -- app/Controller/User/Api/Authentication.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/Controller/User/Api/Authentication.php"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"35b6f616060ec02db578f68b2d82acc2eb8642f845dea2c29c5a91029476a902"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/Service/Bind/Shared.php: app/Service/Bind/Shared.php changed 9 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 32 in Shared.syncRemoteItem at line 1032. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 04:23:41 -08:00\u0027 --until=\u00272026-11-06 04:23:41 -08:00\u0027 --full-history --no-merges -- app/Service/Bind/Shared.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/Service/Bind/Shared.php"},"region":{"startLine":1032}}}],"partialFingerprints":{"codehealthFindingId/v1":"76ac8bb80c38b17e888b0d9296cbbd46f9efcf7026d0a56da218ee20b28f8b6a"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: assets/admin/controller/config/index.js: assets/admin/controller/config/index.js changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 72 in index._ThemeSetting at line 144. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 04:23:41 -08:00\u0027 --until=\u00272026-11-06 04:23:41 -08:00\u0027 --full-history --no-merges -- assets/admin/controller/config/index.js\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":"assets/admin/controller/config/index.js"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a7392f783ae6d2696afe05c13b810e0968f441eac398855febe43dbc431854b"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: assets/admin/controller/trade/commodity.js: assets/admin/controller/trade/commodity.js changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 34 in commodity.modal at line 162. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 04:23:41 -08:00\u0027 --until=\u00272026-11-06 04:23:41 -08:00\u0027 --full-history --no-merges -- assets/admin/controller/trade/commodity.js\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":"assets/admin/controller/trade/commodity.js"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"4160689486063e11160f724e31ceb4043c14d4245d2d6d82be61a916036f5b73"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: assets/common/js/component.js: assets/common/js/component.js changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 90 in Component.popup at line 339. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 04:23:41 -08:00\u0027 --until=\u00272026-11-06 04:23:41 -08:00\u0027 --full-history --no-merges -- assets/common/js/component.js\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":"assets/common/js/component.js"},"region":{"startLine":339}}}],"partialFingerprints":{"codehealthFindingId/v1":"8058b8ca22a5ca7c79681fab383ef631aa96c9e7dbd5ae39a41a374c79bb8b36"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/Controller/Admin/Api/Config.php: app/Controller/Admin/Api/Config.php changed 12 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 22 in Config.emailFailureMessage at line 1348. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 04:23:41 -08:00\u0027 --until=\u00272026-11-06 04:23:41 -08:00\u0027 --full-history --no-merges -- app/Controller/Admin/Api/Config.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/Controller/Admin/Api/Config.php"},"region":{"startLine":1348}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8232d18178efa349188cd46babcdba7b7256b94ecdf897d14199be1a21a933b"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: assets/common/js/editor/markdown/editorv2.js: assets/common/js/editor/markdown/editorv2.js changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 71 in editorv2.register at line 57. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 04:23:41 -08:00\u0027 --until=\u00272026-11-06 04:23:41 -08:00\u0027 --full-history --no-merges -- assets/common/js/editor/markdown/editorv2.js\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":"assets/common/js/editor/markdown/editorv2.js"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"40e6093775b11094c6fd5a9e477d5167cf0c53d168df6728d40c9704c8de105b"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: assets/admin/controller/shared/store.js: assets/admin/controller/shared/store.js changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 70 in store.mountRemoteProductPicker at line 350. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 04:23:41 -08:00\u0027 --until=\u00272026-11-06 04:23:41 -08:00\u0027 --full-history --no-merges -- assets/admin/controller/shared/store.js\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":"assets/admin/controller/shared/store.js"},"region":{"startLine":350}}}],"partialFingerprints":{"codehealthFindingId/v1":"edd1726988589de42f9381aeec6fd63cba9b454d4b6eaafca497171e39672ed3"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/Controller/User/Api/Security.php: app/Controller/User/Api/Security.php changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 26 in Security.personal at line 53. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 04:23:41 -08:00\u0027 --until=\u00272026-11-06 04:23:41 -08:00\u0027 --full-history --no-merges -- app/Controller/User/Api/Security.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/Controller/User/Api/Security.php"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b76f8042f240d8992560f1822c51b7bd2fb4a8c0ba259cbd8ebce933a2ea7b6"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: assets/admin/controller/store/home.js: assets/admin/controller/store/home.js changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 24 in home._Bill at line 827. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 04:23:41 -08:00\u0027 --until=\u00272026-11-06 04:23:41 -08:00\u0027 --full-history --no-merges -- assets/admin/controller/store/home.js\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":"assets/admin/controller/store/home.js"},"region":{"startLine":827}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c51eaf489c64d4c9c76d34d3c6df7a572e6f03657b1597fbaa0c7331ff312d0"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: assets/static/acg.js: assets/static/acg.js changed 10 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 19 in acg.acgSecretPopup at line 1073. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 04:23:41 -08:00\u0027 --until=\u00272026-11-06 04:23:41 -08:00\u0027 --full-history --no-merges -- assets/static/acg.js\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":"assets/static/acg.js"},"region":{"startLine":1073}}}],"partialFingerprints":{"codehealthFindingId/v1":"76e23521f9977ad951218ebe899b2651b93a06de90cbeca7adc3b005351b5091"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/Service/Bind/Shop.php: app/Service/Bind/Shop.php changed 9 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 21 in Shop.getItem at line 124. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 04:23:41 -08:00\u0027 --until=\u00272026-11-06 04:23:41 -08:00\u0027 --full-history --no-merges -- app/Service/Bind/Shop.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/Service/Bind/Shop.php"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cebc92d6bbe699f521c014b7338a0a0cb95806409d64e4c4a8b480654294bc5"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: assets/admin/controller/trade/order.js: assets/admin/controller/trade/order.js changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 26 in order.mobileDeliverySubmit.\u003Creturned closure\u003E at line 260. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 04:23:41 -08:00\u0027 --until=\u00272026-11-06 04:23:41 -08:00\u0027 --full-history --no-merges -- assets/admin/controller/trade/order.js\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":"assets/admin/controller/trade/order.js"},"region":{"startLine":260}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1b4d2273e16cc69bd4de182ad81eb0c80efeca0dd8b06fa33577f3aad265d4f"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/Service/Bind/App.php: app/Service/Bind/App.php changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 22 in App.updatePlugin at line 216. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 04:23:41 -08:00\u0027 --until=\u00272026-11-06 04:23:41 -08:00\u0027 --full-history --no-merges -- app/Service/Bind/App.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/Service/Bind/App.php"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"653082ea2a2129977bfee7e7200fc5fc639659045138f5752adf1ab9840533b6"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: assets/common/js/util.js: assets/common/js/util.js changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 39 in Util._verifyDialog at line 355. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 04:23:41 -08:00\u0027 --until=\u00272026-11-06 04:23:41 -08:00\u0027 --full-history --no-merges -- assets/common/js/util.js\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":"assets/common/js/util.js"},"region":{"startLine":355}}}],"partialFingerprints":{"codehealthFindingId/v1":"73b2386bb2dbe23e4924603c81cab832c7bd940bb396f23e42653ae594ff398a"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: assets/admin/controller/trade/coupon.js: assets/admin/controller/trade/coupon.js changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 49 in coupon.createCoupon at line 204. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 04:23:41 -08:00\u0027 --until=\u00272026-11-06 04:23:41 -08:00\u0027 --full-history --no-merges -- assets/admin/controller/trade/coupon.js\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":"assets/admin/controller/trade/coupon.js"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"e83c7fd804bf80c847a3ff79b19ab6a8bbcb7f3db2028c0ca5adfdff3ad340f5"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/Controller/Base/View/User.php: app/Controller/Base/View/User.php changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 24 in User.theme at line 55. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 04:23:41 -08:00\u0027 --until=\u00272026-11-06 04:23:41 -08:00\u0027 --full-history --no-merges -- app/Controller/Base/View/User.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/Controller/Base/View/User.php"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a2c9932174f94da4270027995e31f852d49ae244b72e87ff77f17b383e0c64d"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/Controller/Admin/Api/Card.php: app/Controller/Admin/Api/Card.php changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 24 in Card.save at line 333. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 04:23:41 -08:00\u0027 --until=\u00272026-11-06 04:23:41 -08:00\u0027 --full-history --no-merges -- app/Controller/Admin/Api/Card.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/Controller/Admin/Api/Card.php"},"region":{"startLine":333}}}],"partialFingerprints":{"codehealthFindingId/v1":"126214be89f38415b61a0d6c53a7b4cba8650cff86c13a87a5229aa2c1898768"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: assets/common/js/component/table.js: assets/common/js/component/table.js changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 40 in Table.#createOptions at line 1587. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 04:23:41 -08:00\u0027 --until=\u00272026-11-06 04:23:41 -08:00\u0027 --full-history --no-merges -- assets/common/js/component/table.js\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":"assets/common/js/component/table.js"},"region":{"startLine":1587}}}],"partialFingerprints":{"codehealthFindingId/v1":"c42dea967a22b04adc6a3a77e7e3457af6e232c73f476ebfa02e5e77b23de05d"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/Controller/User/Api/Master.php: app/Controller/User/Api/Master.php changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in Master.setCommodity at line 213. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 04:23:41 -08:00\u0027 --until=\u00272026-11-06 04:23:41 -08:00\u0027 --full-history --no-merges -- app/Controller/User/Api/Master.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/Controller/User/Api/Master.php"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"89815471048d967e73dcfeb838914ee0017337f2bdd09efe694999891dc73ab5"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/Service/Bind/Query.php: app/Service/Bind/Query.php changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 29 in Query.get at line 152. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 04:23:41 -08:00\u0027 --until=\u00272026-11-06 04:23:41 -08:00\u0027 --full-history --no-merges -- app/Service/Bind/Query.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/Service/Bind/Query.php"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"9085b1e233cb9316b10a33b0950a5d8ce9b5e9166c3bb677ff40f79836ec3387"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: assets/admin/js/mobile/overlay.js: assets/admin/js/mobile/overlay.js changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 54 in overlay.presentPopup at line 1130. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 04:23:41 -08:00\u0027 --until=\u00272026-11-06 04:23:41 -08:00\u0027 --full-history --no-merges -- assets/admin/js/mobile/overlay.js\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":"assets/admin/js/mobile/overlay.js"},"region":{"startLine":1130}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5258bdd13d4db66e09145e7f78ab7b8253377d596c82ca944374ab26a898661"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: assets/user/controller/user/purchase.record.js: assets/user/controller/user/purchase.record.js changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 21 in purchase.record.openSecret at line 16. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 04:23:41 -08:00\u0027 --until=\u00272026-11-06 04:23:41 -08:00\u0027 --full-history --no-merges -- assets/user/controller/user/purchase.record.js\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":"assets/user/controller/user/purchase.record.js"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"47815474b0a1128768075f5f6d49498b8c7b7ca9b9a499569f4d9b1380ddc90a"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/Service/Bind/Recharge.php: app/Service/Bind/Recharge.php changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in Recharge.trade at line 40. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 04:23:41 -08:00\u0027 --until=\u00272026-11-06 04:23:41 -08:00\u0027 --full-history --no-merges -- app/Service/Bind/Recharge.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/Service/Bind/Recharge.php"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"465757510a54ed8ee96bdddc98160a00be088f9dde58b97b4418284e72ab0278"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/Util/Csp.php: app/Util/Csp.php changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in Csp.deriveSource at line 417. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 04:23:41 -08:00\u0027 --until=\u00272026-11-06 04:23:41 -08:00\u0027 --full-history --no-merges -- app/Util/Csp.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/Util/Csp.php"},"region":{"startLine":417}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ba0f6380cf75aeb735f747e16e086ec84162b1f009c813e3482bd381762c55e"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/Controller/Admin/Api/Manage.php: app/Controller/Admin/Api/Manage.php changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 32 in Manage.set at line 370. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 04:23:41 -08:00\u0027 --until=\u00272026-11-06 04:23:41 -08:00\u0027 --full-history --no-merges -- app/Controller/Admin/Api/Manage.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/Controller/Admin/Api/Manage.php"},"region":{"startLine":370}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ab49499bcb1ebeb20b59643905e69c0b5caf6de5281d92af14cf3a0252635d2"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/Model/PriceTemplate.php: app/Model/PriceTemplate.php changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 30 in PriceTemplate.applyToConfig at line 78. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 04:23:41 -08:00\u0027 --until=\u00272026-11-06 04:23:41 -08:00\u0027 --full-history --no-merges -- app/Model/PriceTemplate.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/Model/PriceTemplate.php"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"396d46e54e03a577f070390d133074b5dacf5896b595ee49343624267d2cdc2f"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/View/Install.html: app/View/Install.html changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 22 in Install.html.renderDb at line 1070. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 04:23:41 -08:00\u0027 --until=\u00272026-11-06 04:23:41 -08:00\u0027 --full-history --no-merges -- app/View/Install.html\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/View/Install.html"},"region":{"startLine":1070}}}],"partialFingerprints":{"codehealthFindingId/v1":"bacfcd6b457890862ce95ee7f5257d7f97ed0bff88ada36c39322063bd202632"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: assets/admin/controller/pay/api.js: assets/admin/controller/pay/api.js changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 21 in api.showTestResult at line 320. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 04:23:41 -08:00\u0027 --until=\u00272026-11-06 04:23:41 -08:00\u0027 --full-history --no-merges -- assets/admin/controller/pay/api.js\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":"assets/admin/controller/pay/api.js"},"region":{"startLine":320}}}],"partialFingerprints":{"codehealthFindingId/v1":"40f58c8dda7663ace4c2b47ed45dac872343ddc374bba5171f5da7bf15fde6c1"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/Controller/User/Api/Card.php: app/Controller/User/Api/Card.php changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 21 in Card.save at line 75. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 04:23:41 -08:00\u0027 --until=\u00272026-11-06 04:23:41 -08:00\u0027 --full-history --no-merges -- app/Controller/User/Api/Card.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/Controller/User/Api/Card.php"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"a816f70fe38607fff0a4003de1533d56b0b3c9796200e819b5424a8a89bc9b85"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: assets/common/js/ready.js: assets/common/js/ready.js changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 21 in ready.bind at line 328. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 04:23:41 -08:00\u0027 --until=\u00272026-11-06 04:23:41 -08:00\u0027 --full-history --no-merges -- assets/common/js/ready.js\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":"assets/common/js/ready.js"},"region":{"startLine":328}}}],"partialFingerprints":{"codehealthFindingId/v1":"aeb1e8bc6e6da39dab22bee7d742d1162229dcf40dfc3e451b1b50e44b70267c"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: assets/user/controller/dashboard/index.js: assets/user/controller/dashboard/index.js changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 21 in index.openSecret at line 14. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 04:23:41 -08:00\u0027 --until=\u00272026-11-06 04:23:41 -08:00\u0027 --full-history --no-merges -- assets/user/controller/dashboard/index.js\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":"assets/user/controller/dashboard/index.js"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2513eef1a3bda76f6fbdb38caeeab99d8d9053d81c68a57fb96c572e84e16b5"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/Controller/User/Api/Category.php: app/Controller/User/Api/Category.php changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 28 in Category.save at line 54. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 04:23:41 -08:00\u0027 --until=\u00272026-11-06 04:23:41 -08:00\u0027 --full-history --no-merges -- app/Controller/User/Api/Category.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/Controller/User/Api/Category.php"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7792d8969939139c605486de4d399232bdbd0a61893293f7ad72ce8d1d93aca"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/Controller/Admin/Api/App.php: app/Controller/Admin/Api/App.php changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in App.plugins at line 121. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 04:23:41 -08:00\u0027 --until=\u00272026-11-06 04:23:41 -08:00\u0027 --full-history --no-merges -- app/Controller/Admin/Api/App.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/Controller/Admin/Api/App.php"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"abffd96605a029021c92bbef6abd90ac2862dd9ac466dc07ed600706457e1e45"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/Controller/Admin/Api/Coupon.php: app/Controller/Admin/Api/Coupon.php changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 34 in Coupon.couponExportQuery at line 115. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 04:23:41 -08:00\u0027 --until=\u00272026-11-06 04:23:41 -08:00\u0027 --full-history --no-merges -- app/Controller/Admin/Api/Coupon.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/Controller/Admin/Api/Coupon.php"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf7c580e83ee4330914c0e919245b9c8b169fe2a6315ebd604da783e5079fb46"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: assets/user/controller/user/recharge.js: assets/user/controller/user/recharge.js changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 22 in recharge.updateSummary at line 136. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 04:23:41 -08:00\u0027 --until=\u00272026-11-06 04:23:41 -08:00\u0027 --full-history --no-merges -- assets/user/controller/user/recharge.js\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":"assets/user/controller/user/recharge.js"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"0132b3c6d661ed683fdec04be13c0569257ddf17ee1fdcab39c4caf6a35c66bb"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: assets/user/js/treasure.js: assets/user/js/treasure.js changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in Treasure.show at line 45. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 04:23:41 -08:00\u0027 --until=\u00272026-11-06 04:23:41 -08:00\u0027 --full-history --no-merges -- assets/user/js/treasure.js\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":"assets/user/js/treasure.js"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"ded72981505a5e5e648010067e95e9bcc5ed45536461e96e565dce0931a8469f"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: assets/admin/controller/trade/card.js: assets/admin/controller/trade/card.js changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 21 in card.uploadCard at line 104. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 04:23:41 -08:00\u0027 --until=\u00272026-11-06 04:23:41 -08:00\u0027 --full-history --no-merges -- assets/admin/controller/trade/card.js\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":"assets/admin/controller/trade/card.js"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"e28d4a34bcab253e08df566b7860da162b771d25286d0c5b7fbbc52c20c421de"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/Controller/User/Api/Cash.php: app/Controller/User/Api/Cash.php changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 21 in Cash.submit at line 35. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 04:23:41 -08:00\u0027 --until=\u00272026-11-06 04:23:41 -08:00\u0027 --full-history --no-merges -- app/Controller/User/Api/Cash.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/Controller/User/Api/Cash.php"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"65e850de52c2cb349ccf8199dc310d5449e9bc8fc2517e9a4c959b7d609ea1b1"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: assets/admin/controller/shared/priceTemplate.js: assets/admin/controller/shared/priceTemplate.js changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 30 in priceTemplate.applyModal at line 194. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 04:23:41 -08:00\u0027 --until=\u00272026-11-06 04:23:41 -08:00\u0027 --full-history --no-merges -- assets/admin/controller/shared/priceTemplate.js\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":"assets/admin/controller/shared/priceTemplate.js"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"f63ac2334d53b5ecb30459c29557db19c3ce118eb8acb521c870cdfea104f818"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/Controller/User/Api/Order.php: app/Controller/User/Api/Order.php changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in Order.callbackTest at line 129. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 04:23:41 -08:00\u0027 --until=\u00272026-11-06 04:23:41 -08:00\u0027 --full-history --no-merges -- app/Controller/User/Api/Order.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/Controller/User/Api/Order.php"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc0f31670bfcd401663cfaccba0bf0f83c352f67aff687b3b2fdb9245c81171b"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: assets/admin/js/mobile/navigation.js: assets/admin/js/mobile/navigation.js changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 24 in navigation.menuContent at line 125. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 04:23:41 -08:00\u0027 --until=\u00272026-11-06 04:23:41 -08:00\u0027 --full-history --no-merges -- assets/admin/js/mobile/navigation.js\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":"assets/admin/js/mobile/navigation.js"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"773d9a2cdb392083ce248334a28f8eaf489bc7b4ad82fcbdf144cbe9c40b2ccf"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: kernel/Util/Plugin.php: kernel/Util/Plugin.php changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in Plugin.hook at line 132. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 04:23:41 -08:00\u0027 --until=\u00272026-11-06 04:23:41 -08:00\u0027 --full-history --no-merges -- kernel/Util/Plugin.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":"kernel/Util/Plugin.php"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca0c33a3520d78e2bb07c49e7b7b0153b2e686033d546f2f6b27a660996c0957"}},{"ruleId":"D20","level":"note","message":{"text":"No ADRs found: No ADRs found. No recognised ADR directory (\u0060docs/adr/\u0060, \u0060docs/decisions/\u0060, \u0060adr/\u0060, \u0060docs/rfcs/\u0060, an \u0060ADR0001/\u0060 folder, or their siblings) exists anywhere in this tree. What was searched, so you can tell an empty log from a search that missed one: every directory under the tree (build output, dependencies and VCS metadata excepted), for a document that is either any non-index page inside a recognised ADR directory, whatever its name and however deeply nested (\u0060docs/adr/use-postgres.md\u0060, \u0060docs/adr/2024/0001-x.md\u0060); or a file anywhere whose name is ADR-shaped (\u00600001-use-postgres.md\u0060, \u0060adr-012-caching.md\u0060); or, when neither turned anything up, a document carrying the decision-record signature (an \u0022Architecture Decision Record\u0022 heading, or Status / Context / Decision / Consequences as section headings). A decision log that clears none of these \u2014 unnumbered files outside any recognised directory, without those headings \u2014 is not seen by this check and this row is then wrong. If that is your case, say so rather than renaming anything; otherwise, consider recording architectural decisions in \u0060docs/adr/\u0060. ADRs are expected here because \u0060composer.json\u0060 makes this repository a deployable product (line 3)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"composer.json"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"341d559fa0b97c7420a17eab8c55e02816862ad49796a0687e6d050b9991a5e5"}},{"ruleId":"D21","level":"note","message":{"text":"\u0060parseURL\u0060 spells \u0060URL\u0060 where 28 names in the project spell it \u0060Url\u0060: 28 of 29 names in project repository spell the token \u0060Url\u0060 (28 of 29; unit: names in project repository containing \u0060Url\u0060). Peers: plugin.normalizeHttpUrl (assets/admin/controller/config/plugin.js:33); index.safeHttpUrl (assets/admin/controller/dashboard/index.js:84); index.channelName(iconUrl) (assets/admin/controller/dashboard/index.js:531); index.safePublicUrl (assets/admin/controller/file/index.js:63); index.safeDownloadUrl (assets/admin/controller/file/index.js:75). Rename to \u0060parseUrl\u0060. [rule N6]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/static/jquery.pjax.js"},"region":{"startLine":588}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b0b9da3488238f70186d5a4bc9a4c8012a1e6bed46e77e3e9f5b611d8aba471"}},{"ruleId":"D21","level":"note","message":{"text":"\u0060parseHTML\u0060 spells \u0060HTML\u0060 where 77 names in the project spell it \u0060Html\u0060: 77 of 78 names in project repository spell the token \u0060Html\u0060 (77 of 78; unit: names in project repository containing \u0060Html\u0060). Peers: index.escapeHtml (assets/admin/controller/config/index.js:12); lang.escapeHtml (assets/admin/controller/config/lang.js:17); other.escapeHtml (assets/admin/controller/config/other.js:3); plugin.escapeHtml (assets/admin/controller/config/plugin.js:27); plugin.sanitizePluginDisplayHtml (assets/admin/controller/config/plugin.js:44). Rename to \u0060parseHtml\u0060. [rule N6]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/static/jquery.pjax.js"},"region":{"startLine":646}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1625e3076c5e017ed2ae8780abda8ad325f4b620ca6bf0a73cdee103697097f"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: 16 comments in this file only repeat the code they sit on (lines 1810, 1815, 1824, 1838, 1849, 1881, 1897, 1921, 1944, 1964, 2024, 2130, 2159, 2331, 2583, 2592), for example \u0022Get link element\u0022. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/js/menu.js"},"region":{"startLine":1810}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2cd7c47de28a9e5a9b0082665be3645d3326392fa5555d31966a91f71d66bb0"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022parentTId of root node is null\u0022 repeats the code it sits on: 4 of its 5 words (parent, id, node, null) are already in \u0060node.parentTId = null;\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/common/js/component/tree.select.js"},"region":{"startLine":3567}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fc54afbd69649c14a59461af9723ca62d2e87416d65cf642b4b6d5436aa8795"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Add a span to a line.\u0022 repeats the code it sits on: 3 of its 3 words (add, span, line) are already in \u0060function addMarkedSpan(line, span, op)\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/static/codemirror/lib/codemirror.js"},"region":{"startLine":1324}}}],"partialFingerprints":{"codehealthFindingId/v1":"8010c750d76a5d46a0594049e45ceeb35e25e5f0452c90a8f4b93a230b5745ee"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"49b6361d50928a88f9ac50a091d01cdb391f842dab2db2e982840b9b45311f01"},"properties":{"commitSha":"4c76d57c05d6f0fefba5ffdea18b8b8359ab3a4a"}},{"ruleId":"D28","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"19b98cb54031571410512a7a9af0a44ad2caf354226f533c9c3c39eb615d64f4"},"properties":{"commitSha":"bc266e6b7c13f35e2da0a121c1c2eaae95045c10"}},{"ruleId":"D28","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3cdfd7beb31b791ae18dcb425e21eb157c842e7bbcd522cc330573c1a6538db1"}},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a5aa347203e9264846fa1d57326a3b6e4db8b24c5cc5c40538a2c98c34909069"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"8ac37f53f35688072be70f30121830e053d170ed85047727e9354a10f697c78d"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"4cb08cb7bfc5530ce83d4be65f71b84b60d80c8b3dc5b7542879f9b4c028f7d0"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"bca05a9bdc18c46ef193272a232909d5dd93b9b992e0a3e71617612a23940b70"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"5e70fd24fd1c58563db8717d61efae27f59b050a141da5d6b8443f2a7f57f87f"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"607edacc2948e636528b66d42999c6ec0282c8bace8a6cdfc30b45fab8045360"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"76c45057b02a72f634cbae23166251c0ad2e71f4a36f7de1947be62195d436c5"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1fca66761d415feff008bf78fda4ba3a57f4a69213cc7419c4add7d0625c75ef"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e19576e45108fa72457d0df438f3a4cfe52b0a07a7bdbd4560bd81348e58658e"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"22595790a1f32311252195b43c42bebfff62c714749acda5bb009f56704b973d"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c0c89f5a72e26b6dff41b98ee1462ecb8c0c6d488e715d1b4115f0f93b0719a9"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"35ab5f6e9c6075887bf43bd026ab84f30c27aca433d9f306d120c41a7ac4790e"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"22e2408f9427994acca17b47809993cb7c85dcbc91266e5fb0d4d5cd3a2b7b72"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3f778e66d69bbdc8d4f99553e5c07a66da4b4f3456f1b0524ab559f5501baa2a"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1500d57848f5275c84bdd6c19e9692ae1150577807588cb8d1c6187cd7366852"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"2a9570185ecc5d0e1226db77afa2e50d10012724eb599960d163f777d81fb2a7"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"11875945d9f194c35979f209612216daed9fc328f94b2e58a44b5a9abc484f08"},"taxa":[{"id":"CWE-94","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"828e2945a5fbc63d46a139478939fc29fed1a0282b7a729b124c9be99b891628"},"taxa":[{"id":"CWE-94","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d06185112f0d5502215afb8321cfbe5be5eed79c4ea8cce41be981fec9e3cb8b"},"taxa":[{"id":"CWE-94","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","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":"3333f6ce661d7315e49dfc98ed7d8420e2b6c51860bc1cdfc69c9e70f6acbea3"},"taxa":[{"id":"CWE-918","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","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":"34fd691dfafddd36aee0ed4ceb2f772bef95c61383826f93ef27740e15e2c2d1"},"taxa":[{"id":"CWE-918","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","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":"873170f7ab9745cb757b0de40aab93b1d958d282c1d1c3194cb17946b25aa694"},"taxa":[{"id":"CWE-918","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","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":"ce732119e7d4bca0563d22809f9e442a2988e5f3cd56475acacd82c25371eeb3"},"taxa":[{"id":"CWE-918","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","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":"0b8c6e4581f7205ff72a29d46e2c4d940e1c1f7a03521d7a88430a56b0aab87a"},"taxa":[{"id":"CWE-918","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","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":"e4f1d4be5201c1c5da67b13cd3e1fc4172d07470fd41fd3be7e7e51a20f6a147"},"taxa":[{"id":"CWE-918","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","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":"3e2ad4d43b29dc3c9bc4e61bafa4972f47948a27b290950538579994fef16e65"},"taxa":[{"id":"CWE-918","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","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":"f0004cec529d043359b348673a29e42e6800ee26a318cd7ef57a4087ed31b4ad"},"taxa":[{"id":"CWE-918","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","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":"2250111f42c50a10d6858c49272e132928d19faff7591adf4c27d9ee48f8a1aa"},"taxa":[{"id":"CWE-918","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","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":"76b3880813d82ad4ed932ecc6352441a47b10243db83a303f87c58cdc5c6e19d"},"taxa":[{"id":"CWE-918","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","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":"2379c82ab9cb06b318f992427b4e841fb2b61f3212ef9626a2d8148dcc73e32f"},"taxa":[{"id":"CWE-1333","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A02:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","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":"178a77e94df816b47966f6909045f4cbdc2646d226d344922c782e77306aaaac"},"taxa":[{"id":"CWE-1333","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A02:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","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":"01a4e972737fd2151e7abcc656e581c1c57565e37011b5c1f19a36da4c42aa8a"},"taxa":[{"id":"CWE-1333","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A02:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","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":"353ba7bc3eccdc98fb1bc3adc5ea736b3225ae9922d744a194b33f245d180991"},"taxa":[{"id":"CWE-457","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","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":"c76b43aba359d3d0a96c40e2a4bb1e054a8a0773d8bb5079127d445f48a1d005"},"taxa":[{"id":"CWE-457","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","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":"0f35433bf690a080bcc0080f59a31b9ac6312772b1f7c236e9a4bc4023f394d5"},"taxa":[{"id":"CWE-457","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","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":"fd09e946aee7d520dc7dfea0e17e56b0ad87a832f22a2784203563665679f75b"},"taxa":[{"id":"CWE-457","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","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":"e62ae500b75264741e2e6b41f077e62cca17ccdf9a10f1f60d5c07e35a0e9e35"},"taxa":[{"id":"CWE-457","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","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":"3f71ad65ca7f22f059dadc57c1c1e2d50d77c72f115cc53ac4dd09a8af24d69d"},"taxa":[{"id":"CWE-1333","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A02:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","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":"f340a72d3d3edefbfe9377c2b080d6c46b30297aaefcf6b130abd3d112526b44"},"taxa":[{"id":"CWE-1333","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A02:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","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":"05b3f39233f6176748e2abe9113ad3e378f7518316f660da06d73bf997573e7f"},"taxa":[{"id":"CWE-1333","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A02:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","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":"1e970e85104eacf57db5681b36a420c8da6e31bde5508b0b8977efe2127ce06d"},"taxa":[{"id":"CWE-125","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","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":"becbc10d3c7fe23e8f751e563ee314829f400790b8473568dbbda95bb857aca7"},"taxa":[{"id":"CWE-1333","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A02:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","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":"287a205e706666a2c02a0ca7a258fa9e561e6f1116db156654cf3cdee28514f8"},"taxa":[{"id":"CWE-1333","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A02:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","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":"6cb011fd577f70ccc975e35f8bf22f3e0f3989069f76d45b7e02cf68c16d0b22"},"taxa":[{"id":"CWE-1333","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A02:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","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":"9e9bf3ed8b6293bea3609a4b0011f7e4db6db23997f2239464d948f3d9b4d2b8"},"taxa":[{"id":"CWE-1333","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A02:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","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":"3b18a96302ba8a6b3ca3f85da240f5d6d7aa05b91dfcc495b8ee222ccdfc046c"},"taxa":[{"id":"CWE-457","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","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":"155a1838fecbc09d75d5097f01a063d8b12d4b0841663fa8e6787147c20bb33d"},"taxa":[{"id":"CWE-457","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","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":"96463a046d9ec977fbc7b46168287e7503a56f5ba1cd325f403cfe1cfbc136d6"},"taxa":[{"id":"CWE-79","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","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":"51728a31d4fe94b818102edec70592e78b951226656af6fc9323aa882f2fec8f"},"taxa":[{"id":"CWE-470","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","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":"ac11872e8385402303c7c4edf9fea012b2034faf3933d6339dafa0aa43748843"},"taxa":[{"id":"CWE-79","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","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":"9666d11434cc9fc47586926ed7d42cdb2a39a5797a43032f1aec8d634d498e6b"},"taxa":[{"id":"CWE-79","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"be8325c655de3173a89bc1893b2bb956d695b5a9ac5c2de641516800babe5d55"},"properties":{"dependency":{"package":"guzzlehttp/guzzle","version":"7.5.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"severity":"high","fixedVersion":"7.15.2","relation":"direct","declaredRange":"^7.4","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"601cab4f144d242c01fc17571f418d6e67627b54d0959f7d3f6f937db3ce6f2f"},"properties":{"dependency":{"package":"smarty/smarty","version":"v3.1.46","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"severity":"high","fixedVersion":"4.5.3","relation":"direct","declaredRange":"~3.1","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1d1bd45efa851b0c277b1b84fa75b7f00f3ecfe68fdef0b298e2b23dfe86ebda"},"properties":{"dependency":{"package":"guzzlehttp/psr7","version":"2.4.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"severity":"medium","fixedVersion":"2.10.2","relation":"transitive","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"7a762e93109469f56cb8ceb38906e7b649d099d959cc197cc647ef2267cab101"},"properties":{"dependency":{"package":"nesbot/carbon","version":"2.62.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"severity":"medium","fixedVersion":"2.72.6","relation":"transitive","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"25921fcc4c3f275b4d3d27edefaea0bfe9229bd25575ce2db9d610b20b2c9d5c"},"properties":{"dependency":{"package":"firebase/php-jwt","version":"v6.11.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"severity":"low","fixedVersion":"7.0.0","relation":"direct","declaredRange":"^6.11","reachability":{"kind":"unknown"}}}},{"ruleId":"D31","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"fe2d688610b51e0a5a02c7c5dd1724a4986e40f2689fb84510e2ec0164c27d6a"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"5cfed0ee4e80785ce23c7083cffdead9acc6c64f9dce56a00ca7178bd3d7bee5"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"20b99052515835a69504f818e06cfe7727ca1df65b206806022f29d404b85d25"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f5c52fc8fa0d910e1fe9ab97354c4179591244f87053d6a3339f6595421d1048"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3df67cdfb1b809e5ea1a3c24f74325d658ff4496d078d3fc746c444786f6c148"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1b213f6eedd4b140d0bc37bdf1496f72811a643f34064f12518b32e9e83bcfc7"},"taxa":[{"id":"CICD-SEC-9","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0e17f71490e4d120a48b2b2881ab866c93b272bef2febb673a3e8e42b2c288ab"},"taxa":[{"id":"CICD-SEC-9","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"eb00976a698a5d68999b7ee6d27206fd374e916853e7ff1ead5eed42386f043f"},"taxa":[{"id":"CICD-SEC-9","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"90f83b4fa27db32740afe9540c905f3c0499caed87f61049a8a903ecc95b41c3"},"taxa":[{"id":"CICD-SEC-8","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ace515990e7ee0f17b5c17e44dd168a5bdecf90804a3a3dd845cf05540978013"},"taxa":[{"id":"CICD-SEC-3","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"AC1","level":"error","message":{"text":"\u003Cimg\u003E without a text alternative: An image with no alt (and no aria-label/aria-labelledby) is unreadable to assistive tech. Add alt \u2014 alt=\u0022\u0022 if it\u0027s purely decorative."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/View/User/Theme/Cartoon/Common/Header.html"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"811a4d269d6286f347907897dd24ad33eb4c35beced7ded3cbcb6fa36497af42"}},{"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/View/User/Theme/Cartoon/Common/Header.html"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2f7e578f53d3a20be1443b968bc2f58f2cc7a380555fca1766e85473a5331c7"}},{"ruleId":"AC1","level":"warning","message":{"text":"\u003Ccanvas\u003E without a text alternative: A \u003Ccanvas\u003E with no aria-label/title and no inner fallback content can\u0027t be described by assistive tech. Add a name or fallback content."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/View/User/Theme/Cartoon/Index/Closed.html"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c14171f4ace21ae4aa72d4bcdc850167f063660a4ee0a72e1e26297ec89d58e"}},{"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/View/User/Theme/Cartoon/Index/Item.html"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d280574d5ed47cc11ca03f1d42ffad030c3703783586fd973dd75728880b638"}},{"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/View/User/Theme/Cartoon/Index/Item.html"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"4445459e342fae049c85f3100c92e23be00a41c21e5c0c5fcda6a697482233de"}},{"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/View/User/Theme/Cartoon/User/Business.html"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"3eda6a59989610de3fbe92984494eb5852d9ed623797cfd027d971a9f45ffc6c"}},{"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":"assets/admin/controller/store/home.js"},"region":{"startLine":870}}}],"partialFingerprints":{"codehealthFindingId/v1":"e11ec9ec09dd1440f9d91b26c7723c900ef5e67d4c79970e776d1007924ecf1e"}},{"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":"assets/admin/controller/store/home.js"},"region":{"startLine":871}}}],"partialFingerprints":{"codehealthFindingId/v1":"8dcb5fa8f7139d12a58e977700d10f00bde00fc277a6fa879cbfee16206b0621"}},{"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":"assets/admin/controller/store/home.js"},"region":{"startLine":872}}}],"partialFingerprints":{"codehealthFindingId/v1":"26c1210dd7a703691f6f4d8ca071788ef1e094512b6c365745e9231b2d1c3474"}},{"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":"assets/admin/controller/store/home.js"},"region":{"startLine":873}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b1cec7d7bb636236f3ad179264e67ac85e9104d11c50e353a97fcdc3875ada4"}},{"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":"assets/admin/controller/store/home.js"},"region":{"startLine":957}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b3ea77b8176403a1c414e9ccd1b88f1bab38d88dbccac297b2df4de3592f9ad"}},{"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":"assets/admin/controller/store/home.js"},"region":{"startLine":958}}}],"partialFingerprints":{"codehealthFindingId/v1":"98a31d25cd93836343a8a8e19116b362bdfb48e048d9f0a6bf8784b315275733"}},{"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":"assets/admin/controller/store/home.js"},"region":{"startLine":959}}}],"partialFingerprints":{"codehealthFindingId/v1":"7deb6ac32a867456caa35cc6fc92500a3eeb2e751dade6d1355f1069a4680e47"}},{"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":"assets/admin/controller/store/home.js"},"region":{"startLine":960}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdc4e391e90de76b953c49896fc3c0e00dd5e99d9f882b4938dc4c3e28b3e886"}},{"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":"assets/common/js/component.js"},"region":{"startLine":551}}}],"partialFingerprints":{"codehealthFindingId/v1":"58e309339692ca6ed7f2dd582f760b112fa5c8b3f91f3c59348e9868404a346c"}},{"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":"assets/static/acg.js"},"region":{"startLine":977}}}],"partialFingerprints":{"codehealthFindingId/v1":"90f74f02d82fdcc19475771146a61d3de0d3258829262d6d3fcc5fdda0bfdc8e"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no for 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 for=\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/View/Admin/Config/Other.html"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"4966748d1df695354a074841236363d69885600746cc74616aa899cc592267b1"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has only a placeholder \u2014 a placeholder is not a label (it vanishes on input and many AT ignore it). Add a \u003Clabel for\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/View/Admin/Config/Other.html"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"928b06df26e2b33fd50a22995192dee8cd6e44e6a279a24adafb464d637273ec"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no for 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 for=\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/View/Admin/Config/Other.html"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0741cfa4f0cfae471dda6a3de9790a6615ea9940be43abb514e745c93776e09"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Ctextarea\u003E without a programmatic label: This control has only a placeholder \u2014 a placeholder is not a label (it vanishes on input and many AT ignore it). Add a \u003Clabel for\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/View/Admin/Config/Other.html"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"877e22e518bfee6188ef90e08fc65d0a78f6dd42e59cff913eaf2acd1480e1c1"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no for 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 for=\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/View/Admin/Config/Other.html"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"35c5db87854674d3f1a56a37a800ecb40408fdf1739d75ba767a1c3e647544cb"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has only a placeholder \u2014 a placeholder is not a label (it vanishes on input and many AT ignore it). Add a \u003Clabel for\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/View/Admin/Config/Other.html"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b3d9fb3d5d9635dce933afef460ebdf19e241a9fb06b9a5531ff46808f54f82"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no for 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 for=\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/View/Admin/Config/Other.html"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb2ae9a7f3a3fa70f080adaaa34c2135e047cc7b3e6be27cb52545dae19391ec"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel for\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/View/Admin/Config/Other.html"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"460594fab281d5fdb3a0460681b8a3cf0a91b785d6425c05c60b33dc5913310b"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no for 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 for=\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/View/Admin/Config/Other.html"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"31b1025972f5c6512bd59795367e0856572765306fe35a13c4cce543570de439"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no for 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 for=\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/View/Admin/Config/Other.html"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"97cb0d1ff7266242244deb69a7cd3f1d47be037ab0d968f2dbbb9f1f7eacd950"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no for 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 for=\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/View/Admin/Config/Other.html"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5d92fca2d842b3a1842c2e2a9d3e13229a2a695fbbac9c3c5b9c81c3a187f20"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has only a placeholder \u2014 a placeholder is not a label (it vanishes on input and many AT ignore it). Add a \u003Clabel for\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/View/Admin/Config/Other.html"},"region":{"startLine":248}}}],"partialFingerprints":{"codehealthFindingId/v1":"b290755e26299a8c315677dd2b8692e1bf929a59d29f79eeb029ba94143ebb6f"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no for 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 for=\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/View/Admin/Config/Other.html"},"region":{"startLine":260}}}],"partialFingerprints":{"codehealthFindingId/v1":"555bb5b941f8c403c551f040436c165b31a21516728adf38439cc58bd193e3ba"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has only a placeholder \u2014 a placeholder is not a label (it vanishes on input and many AT ignore it). Add a \u003Clabel for\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/View/Admin/Config/Other.html"},"region":{"startLine":264}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea461482d7c157b2ca7e4a6ed4cd37c8a62cbf847ff27f4b52e2f42f17977f3f"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no for 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 for=\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/View/Admin/Config/Other.html"},"region":{"startLine":276}}}],"partialFingerprints":{"codehealthFindingId/v1":"87dbf39d59f39415d5649e4a9e8641636995c8e9c5f16c9abed78c8a1bb0b9c0"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has only a placeholder \u2014 a placeholder is not a label (it vanishes on input and many AT ignore it). Add a \u003Clabel for\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/View/Admin/Config/Other.html"},"region":{"startLine":280}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b43931705bef884ff2cebdcfe083bdf0ddc4a04e5b5cb64f950d263dd652790"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no for 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 for=\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/View/Admin/Config/Other.html"},"region":{"startLine":294}}}],"partialFingerprints":{"codehealthFindingId/v1":"efe8dd068c67f111804a829ec398b364c8e933c5d029e3bf74d0e959262c747f"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cselect\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel for\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/View/Admin/Config/Other.html"},"region":{"startLine":298}}}],"partialFingerprints":{"codehealthFindingId/v1":"f83acd2af9bc309847ea8b5ffd3f1618c03af9cf75d6567dfd0614b76eb18f28"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no for 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 for=\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/View/Admin/Config/Other.html"},"region":{"startLine":312}}}],"partialFingerprints":{"codehealthFindingId/v1":"1336874449b42382efe179dcdbdaa1e3695546d796d15cd41c9e1ed274746e90"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no for 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 for=\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/View/Admin/Config/Other.html"},"region":{"startLine":331}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8194224d73ed01ecc60d6413d02f0ed7c6f8a4a5f5db9d18471ca5dbd897b5d"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has only a placeholder \u2014 a placeholder is not a label (it vanishes on input and many AT ignore it). Add a \u003Clabel for\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/View/Admin/Config/Other.html"},"region":{"startLine":335}}}],"partialFingerprints":{"codehealthFindingId/v1":"c21fb9fbd9a6263ea0775cf4148bb2c6364a842c685e6794214c7274b17775d5"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no for 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 for=\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/View/Admin/Config/Other.html"},"region":{"startLine":348}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d57684756805f52e2f553bd57894766814b37b99d8274ff952558178ef8c495"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has only a placeholder \u2014 a placeholder is not a label (it vanishes on input and many AT ignore it). Add a \u003Clabel for\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/View/Admin/Config/Other.html"},"region":{"startLine":352}}}],"partialFingerprints":{"codehealthFindingId/v1":"e229b30a6b712ab50b6d9b72e807c0cb9bc3a2ccf8362cde004568199b0b1f3d"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no for 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 for=\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/View/Admin/Config/Other.html"},"region":{"startLine":365}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ef21d5bd047c71253cd713c9b9f364d69d0593d62fc5d4391dba4b7e4368ec6"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel for\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/View/Admin/Config/Other.html"},"region":{"startLine":370}}}],"partialFingerprints":{"codehealthFindingId/v1":"12361dee614622fc2dbfa4c224c71c7f9fc49a354d55e62c42773a5b5dd546dd"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no for 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 for=\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/View/Admin/Config/Other.html"},"region":{"startLine":373}}}],"partialFingerprints":{"codehealthFindingId/v1":"204f2fdf05d987111a125147a43e2a5e2e53e75c798c663323f191a946a94c37"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no for 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 for=\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/View/Admin/Config/Other.html"},"region":{"startLine":383}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddcac1390c4343e081112aa0fdf46a0174b9532ca47e007de9a4cf4544dd5f44"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Ctextarea\u003E without a programmatic label: This control has only a placeholder \u2014 a placeholder is not a label (it vanishes on input and many AT ignore it). Add a \u003Clabel for\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/View/Admin/Config/Other.html"},"region":{"startLine":387}}}],"partialFingerprints":{"codehealthFindingId/v1":"644a639ecdcfd16a228144bce12386520549b0b90c19045c750cb7c08e7b224d"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no for 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 for=\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/View/Admin/Config/Other.html"},"region":{"startLine":402}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1581385b2bdbae8c2e8e0639ab93c2d5ab249e436bda69d104844af4473bef9"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has only a placeholder \u2014 a placeholder is not a label (it vanishes on input and many AT ignore it). Add a \u003Clabel for\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/View/Admin/Config/Other.html"},"region":{"startLine":406}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fb427b79182a2a4b26469925f584844aecd3a8b6c25910ab8f40e776c522518"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no for 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 for=\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/View/Admin/Config/Other.html"},"region":{"startLine":417}}}],"partialFingerprints":{"codehealthFindingId/v1":"67e8d03c83ccaf74e327e3a6981af5961ab9b67574a62b15145b0746a5802128"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has only a placeholder \u2014 a placeholder is not a label (it vanishes on input and many AT ignore it). Add a \u003Clabel for\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/View/Admin/Config/Other.html"},"region":{"startLine":421}}}],"partialFingerprints":{"codehealthFindingId/v1":"4249afef6f1f0244295215796a8f67e9494182976d0a83d20d21fefabe6888e0"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no for 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 for=\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/View/Admin/Config/Other.html"},"region":{"startLine":435}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0a152c28ba1f9b1fee7f305636874bbdcbbc30af3fafb2a2243973c282e0a1b"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no for 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 for=\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/View/Admin/Config/Other.html"},"region":{"startLine":479}}}],"partialFingerprints":{"codehealthFindingId/v1":"3203101c8f38db57d7424daa21d4b28d1fd4c3dcfa53541f4dc559639532cf68"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has only a placeholder \u2014 a placeholder is not a label (it vanishes on input and many AT ignore it). Add a \u003Clabel for\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/View/Admin/Config/Other.html"},"region":{"startLine":483}}}],"partialFingerprints":{"codehealthFindingId/v1":"43ef0550be234bdda48848cbaf100a4f9c5b8712074459055a3da0bdf668583e"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no for 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 for=\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/View/Admin/Config/Other.html"},"region":{"startLine":495}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1c3958ef2b80597f715c56501dc230ee08a59cbf1d795a258d115572ef70117"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has only a placeholder \u2014 a placeholder is not a label (it vanishes on input and many AT ignore it). Add a \u003Clabel for\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/View/Admin/Config/Other.html"},"region":{"startLine":499}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f730b33630f4e0e17bc574c93c612021d947b8799a8e385dac4aead69245d34"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no for 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 for=\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/View/Admin/Config/Other.html"},"region":{"startLine":514}}}],"partialFingerprints":{"codehealthFindingId/v1":"658bf0ddd41fc2aa2200d7953469f7f4f4b51371fa64cb5bad16c5459bbdd1a2"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cselect\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel for\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/View/Admin/Config/Other.html"},"region":{"startLine":519}}}],"partialFingerprints":{"codehealthFindingId/v1":"235114cc6e13dbf4f77e50396e06d1fcd2da014f8d2c340b82b32f40d5c61414"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no for 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 for=\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/View/Admin/Config/Other.html"},"region":{"startLine":538}}}],"partialFingerprints":{"codehealthFindingId/v1":"a270cdf89e941587afcff0e19258375f8c178b09b341a29b46356e810ea7674e"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel for\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/View/Admin/Config/Other.html"},"region":{"startLine":543}}}],"partialFingerprints":{"codehealthFindingId/v1":"73e334ec1fbc188778907a35debdb9bb004b35417f4b15261390cff7ebd686e2"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no for 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 for=\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/View/Admin/Config/Other.html"},"region":{"startLine":546}}}],"partialFingerprints":{"codehealthFindingId/v1":"94f64271db649997e161a40304cef9c1d15d8ea42eb3a4f15fcf9dbea97585e8"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no for 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 for=\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/View/Admin/Config/Other.html"},"region":{"startLine":556}}}],"partialFingerprints":{"codehealthFindingId/v1":"4274fdb4b1602c642766f54c7b99b8622c15d4302f23e907fb89da7e399493ad"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Ctextarea\u003E without a programmatic label: This control has only a placeholder \u2014 a placeholder is not a label (it vanishes on input and many AT ignore it). Add a \u003Clabel for\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/View/Admin/Config/Other.html"},"region":{"startLine":560}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b69866b6182063e17be6742c7e183eeca1e8afc32bbb296dbd70f28601b1763"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no for 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 for=\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/View/Admin/Config/Security.html"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ce9cdf9d4855165e6c73dd789e58041f972d0fcf65988889754bd5e1629c115"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel for\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/View/Admin/Config/Security.html"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"e698daf24125b343b0311a7a87ff2c538eef37c58fc8c6b448a4ff9c0aa62464"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no for 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 for=\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/View/Admin/Config/Security.html"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"94d340e10302847ea4bdd7e171e1b1238605c01f97b509a2b469a76aae8ff5d7"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel for\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/View/Admin/Config/Security.html"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c347a4450d71c21d7e2c4d3da2b86ca239c3e8cec1a332befe4f23e07feb7ca"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has only a placeholder \u2014 a placeholder is not a label (it vanishes on input and many AT ignore it). Add a \u003Clabel for\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/View/Admin/Config/Security.html"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"66198622363ed11a3f5214f493d1242240fa61901553cb618a48f9664dbb1684"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel for\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/View/Admin/Config/Security.html"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"4518d53eb324158d528781cc024d2a84ddcc1bd19ebb3cb08263fe0f8c9f6e19"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no for 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 for=\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/View/Admin/Config/Security.html"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"746779a723e97068d1b3a0a8053dd8bcdc15976ce1ebaa63cca40da089d1134e"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cselect\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel for\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/View/Admin/Config/Security.html"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2cf6dc13c3038016845fab10a244cfd3d24ebeb980391a6c62e61c0889aa48f"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no for 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 for=\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/View/Admin/Config/Security.html"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"7811e8a0142f80f1c4d6a3c52a96344e861bfc4a9df4282977c8043b740ed1ce"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Ctextarea\u003E without a programmatic label: This control has only a placeholder \u2014 a placeholder is not a label (it vanishes on input and many AT ignore it). Add a \u003Clabel for\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/View/Admin/Config/Security.html"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"453ff967a6e0d1b21ee131970828e0fd87d46448e16a84ad25a9b9a02839aef1"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no for 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 for=\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/View/Admin/Config/Security.html"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c3864c8e1ca457c9bce85f57268b17165194cd349faf16e9addb7eeb360752b"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel for\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/View/Admin/Config/Security.html"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c165d1d554c49b9fd230e11f228fa1367cf9c35dd96dd9927d0f71ba9367856"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no for 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 for=\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/View/Admin/Config/Security.html"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"35e34ddb95c188685d207bf9da2b94eac44ec6cc977f7eb48f30ce87f06d71dc"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no for 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 for=\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/View/Admin/Config/Security.html"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"e23769dba6b14a6313080ce30b2d2a64a3d785637538bab2d2acf8070c247755"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Ctextarea\u003E without a programmatic label: This control has only a placeholder \u2014 a placeholder is not a label (it vanishes on input and many AT ignore it). Add a \u003Clabel for\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/View/Admin/Config/Security.html"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"fee808f922e236637c2b621eea0da9c992d1efeb30cafd2eb3ca366a4197cbf6"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no for 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 for=\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/View/Admin/Config/Security.html"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7d1c54d2e6a59d44e3e4a96f388b5bb1e39fa8845de296f982d9a2600d49ded"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cselect\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel for\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/View/Admin/Config/Security.html"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"77c0a0a9c1eae695c6738659e51e7e619f3f770cd212193b658ccdce5f6853e4"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no for 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 for=\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/View/Admin/Config/Setting.html"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"63f70c5d616b0bf75be4e94cd25c04d12eeeddada6f6fafff19428d69564b3ee"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no for 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 for=\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/View/Admin/Config/Setting.html"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"5570aca0cec7a4129abab12eedae9fb6dd0cfa51685586fc65d231f2a11ed92a"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cselect\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel for\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/View/Admin/Config/Setting.html"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b25b6ce60a07a6c8130455adef588df7fe7865d602344e1a58013fcb469f647"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no for 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 for=\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/View/Admin/Config/Setting.html"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e1740024271fab1ccabd51fc09928a67f1883612d3884c6153625a2535151b5"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cselect\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel for\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/View/Admin/Config/Setting.html"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3eb05aef96680edfc86122004a813bf610cdab8a42d1c0f0a7032a07b6277ff"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no for 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 for=\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/View/Admin/Config/Setting.html"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"81268678fc8434cd2ca2c5b450d1b0ba885e60c6679989671c98ce094e099c99"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cselect\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel for\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/View/Admin/Config/Setting.html"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"f12e366936450f018b6ed4c04033e912d4da5b135ac03d08f4685642feef1ec1"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no for 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 for=\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/View/Admin/Config/Setting.html"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"56c2a49b7da9571a632ca63df6544d98df5e429bad78bce22e2e23924badf828"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cselect\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel for\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/View/Admin/Config/Setting.html"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"69080766cc04c00517824ba29ce43bfe9836211f0acb29e020b4970d980a1733"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no for 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 for=\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/View/Admin/Config/Setting.html"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e3ab5356166e75dbeacd0951d9208ae58fc9e937718afefb66385f23f0072f1"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has only a placeholder \u2014 a placeholder is not a label (it vanishes on input and many AT ignore it). Add a \u003Clabel for\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/View/Admin/Config/Setting.html"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed16db08115f011b119ecc5a33b2c95d3c020b3ed3ebc5848b6e7d7eba2dc45d"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no for 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 for=\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/View/Admin/Config/Setting.html"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c44fc00a4bc0db181570555a1278a8fb1941d27ba43e8fce4193be77848fa6b"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has only a placeholder \u2014 a placeholder is not a label (it vanishes on input and many AT ignore it). Add a \u003Clabel for\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/View/Admin/Config/Setting.html"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"89fc5872f12c822ef7ceb7ef287945b16ed7f15f0efe9747092c298283ccb166"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no for 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 for=\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/View/Admin/Config/Setting.html"},"region":{"startLine":257}}}],"partialFingerprints":{"codehealthFindingId/v1":"11273edd4dbccdfea1f030a963c7893b3d04f6a5e332851834b2f4876c624f0a"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has only a placeholder \u2014 a placeholder is not a label (it vanishes on input and many AT ignore it). Add a \u003Clabel for\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/View/Admin/Config/Setting.html"},"region":{"startLine":261}}}],"partialFingerprints":{"codehealthFindingId/v1":"01c2b65788b467952059c5de929d8477c71b6c97e503e5f8d4de1bc8267680a2"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no for 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 for=\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/View/Admin/Config/Setting.html"},"region":{"startLine":272}}}],"partialFingerprints":{"codehealthFindingId/v1":"94e0f8eeab8c977544d23eb2b24df8b52226867ab4517e9831d771aefc9011eb"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has only a placeholder \u2014 a placeholder is not a label (it vanishes on input and many AT ignore it). Add a \u003Clabel for\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/View/Admin/Config/Setting.html"},"region":{"startLine":276}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d8a010f6a9089f70abf397039a104074aad5300ed101135d882704134dec75f"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no for 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 for=\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/View/Admin/Config/Setting.html"},"region":{"startLine":287}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a7ee4de2f12f1c8cba03600d13e411cff6170d0c47783a8af19339ec3c7e310"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has only a placeholder \u2014 a placeholder is not a label (it vanishes on input and many AT ignore it). Add a \u003Clabel for\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/View/Admin/Config/Setting.html"},"region":{"startLine":291}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee72da75ce7f7fc9c58f45f6398327a98bbd55ab13116733c7747556b76d30f1"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no for 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 for=\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/View/Admin/Config/Setting.html"},"region":{"startLine":302}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d8f065c1defde2bdb916c4e6dec2831494eecc115f6d829d28df4dfc7bb4c26"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Ctextarea\u003E without a programmatic label: This control has only a placeholder \u2014 a placeholder is not a label (it vanishes on input and many AT ignore it). Add a \u003Clabel for\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/View/Admin/Config/Setting.html"},"region":{"startLine":306}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a40d9dceb70b45655ebb4a006cfd6370e4f38d3eedd87969cdfde92d00b651f"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no for 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 for=\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/View/Admin/Config/Setting.html"},"region":{"startLine":317}}}],"partialFingerprints":{"codehealthFindingId/v1":"01b38e99f4d82d760e2607cbdfabb93861b994f74042a358facf819a65f1ce11"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no for 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 for=\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/View/Admin/Config/Setting.html"},"region":{"startLine":332}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fb98953752f62cb48ad8dff7ca807225a9412b2c5edb4c8e5120be177ac9348"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cselect\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel for\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/View/Admin/Config/Setting.html"},"region":{"startLine":337}}}],"partialFingerprints":{"codehealthFindingId/v1":"814e201fe813adcda52a83b21add773a0c130ddc18d23bed9e87cfd61330ecc2"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no for 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 for=\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/View/Admin/Config/Setting.html"},"region":{"startLine":354}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e4960714f264ef0d4b9fdcc64a1fe7a5fd9e093aaad6715e833a2ba267c2548"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cselect\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel for\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/View/Admin/Config/Setting.html"},"region":{"startLine":359}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ac539759f87f807b0d69d4afdc5ecf30671bb8462323206bfb60c477d5a76de"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no for 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 for=\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/View/Admin/Config/Setting.html"},"region":{"startLine":375}}}],"partialFingerprints":{"codehealthFindingId/v1":"c456da251c33e842bdeccb2ed73c85e765750d0fd9efb0f154abf9f086de5e4d"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no for 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 for=\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/View/Admin/Config/Setting.html"},"region":{"startLine":414}}}],"partialFingerprints":{"codehealthFindingId/v1":"e13708502b8d2c92ae267fd2448340d225d0d4609d3f9f050c18c7afb02f481c"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no for 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 for=\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/View/Admin/Config/Setting.html"},"region":{"startLine":452}}}],"partialFingerprints":{"codehealthFindingId/v1":"36b31ba8e0fe53189d4507c416deed20ca17e8472e8fbc48b534d1d1b5e442db"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has only a placeholder \u2014 a placeholder is not a label (it vanishes on input and many AT ignore it). Add a \u003Clabel for\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/View/Admin/Config/Setting.html"},"region":{"startLine":456}}}],"partialFingerprints":{"codehealthFindingId/v1":"73a69d08415fe1b7d62ca7974f0cc8813b5238cab3eabece07f30f77d199c8da"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no for 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 for=\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/View/Admin/Config/Setting.html"},"region":{"startLine":471}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbacffcfce3a90a9639983017179459a87043d5b9663501a702a0a3447952c7c"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has only a placeholder \u2014 a placeholder is not a label (it vanishes on input and many AT ignore it). Add a \u003Clabel for\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/View/Admin/Config/Setting.html"},"region":{"startLine":475}}}],"partialFingerprints":{"codehealthFindingId/v1":"b38d197f88e8486196bf0e87848b15541a71349a51e17fab92d6b3015047d419"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no for 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 for=\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/View/Admin/Config/Setting.html"},"region":{"startLine":515}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3ddbf2383d2ee307b1042eaf73edc91ba27d639aee3b729bb8b230e88307553"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel for\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/View/Admin/Config/Setting.html"},"region":{"startLine":520}}}],"partialFingerprints":{"codehealthFindingId/v1":"8638859712bd806365e7670b08f2a08969fc42d92c44fedd92318eb4a9452a39"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no for 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 for=\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/View/Admin/Config/Setting.html"},"region":{"startLine":523}}}],"partialFingerprints":{"codehealthFindingId/v1":"3901e6cf1b5476aeea5afa48ee56f507ad2e1e34ab6f2bd8089d7ad5e54abb69"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no for 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 for=\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/View/Admin/Config/Setting.html"},"region":{"startLine":533}}}],"partialFingerprints":{"codehealthFindingId/v1":"aaac6e72de0bd1e72aa8755644c224c7e5fa40ebde49bd99907fac37d13d00f5"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel for\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/View/Admin/Config/Setting.html"},"region":{"startLine":538}}}],"partialFingerprints":{"codehealthFindingId/v1":"9622ef57edb6acb4cb4bba6f43c7b1bab9af086c746c19b36973d412426c81cb"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no for 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 for=\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/View/Admin/Config/Setting.html"},"region":{"startLine":540}}}],"partialFingerprints":{"codehealthFindingId/v1":"728b9755aba6ef908b707476b7cc71d971b91f755211daa9e786db823855517f"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no for 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 for=\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/View/Admin/Config/Setting.html"},"region":{"startLine":550}}}],"partialFingerprints":{"codehealthFindingId/v1":"f99c12e22b25a021a8c3f6f31f2ae2e37b7c3044c739a4ea3efcdec826e2968e"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Ctextarea\u003E without a programmatic label: This control has only a placeholder \u2014 a placeholder is not a label (it vanishes on input and many AT ignore it). Add a \u003Clabel for\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/View/Admin/Config/Setting.html"},"region":{"startLine":554}}}],"partialFingerprints":{"codehealthFindingId/v1":"288526fd4857e673647ce161ab8b62d8e97273848d17bc340041476724ed7153"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no for 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 for=\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/View/Admin/Config/Sms.html"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a239f25d3a948d80ed2c109daf529c60caa3cd490e810beaaba64d6c632173c"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cselect\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel for\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/View/Admin/Config/Sms.html"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"f50e3f9d8767e071cf4f1b7133e5c53cc9ddfdf82ea7bc73bf6ca8a08869d348"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cselect\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel for\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/View/Admin/Header.html"},"region":{"startLine":387}}}],"partialFingerprints":{"codehealthFindingId/v1":"40000058f3c646960d2a755f01594fbcb3c37620f25e32d91e73d529529bb6a5"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no for 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 for=\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/View/Admin/Manage/Set.html"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab5c4c8b316aa2a2587f48b26ac4bc99f879740e7b7ff108ea2be4fe78771241"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no for 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 for=\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/View/Admin/Manage/Set.html"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"b84cd4fbcad2e7dc4bc47ca3a1d2ef1a06df79fe8445b890b586e70d98376640"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has only a placeholder \u2014 a placeholder is not a label (it vanishes on input and many AT ignore it). Add a \u003Clabel for\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/View/Admin/Manage/Set.html"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6a55e09c5aa8da43d2b6fc8127d9cf2d47ff95b5af197b46ba69ccb967883a9"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no for 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 for=\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/View/Admin/Manage/Set.html"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6052095344a610e2f016eb9a40cb4ca5d46d72a1140778a5b4f59467ed104fd"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has only a placeholder \u2014 a placeholder is not a label (it vanishes on input and many AT ignore it). Add a \u003Clabel for\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/View/Admin/Manage/Set.html"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1d88b450d12733a8df65365fe4cf871179493a4414019f008480fd586a35bb2"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no for 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 for=\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/View/Admin/Manage/Set.html"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"10413223cd2a97d71cb611840c88df7530ca1767ac9b10efebba82ec1f6478aa"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has only a placeholder \u2014 a placeholder is not a label (it vanishes on input and many AT ignore it). Add a \u003Clabel for\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/View/Admin/Manage/Set.html"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c384081c45111604b57eaf97c894fa1a9c8bfbdd1026a1d909df01e5081a107"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no for 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 for=\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/View/Admin/Manage/Set.html"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"8abe506b1694febe871cf02a0a6b599449447bac839c9b6ab4660398cabe4619"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has only a placeholder \u2014 a placeholder is not a label (it vanishes on input and many AT ignore it). Add a \u003Clabel for\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/View/Admin/Manage/Set.html"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb6f3d4547663c23133591e51f4d8d58a781dd18856221c38b88ce5f37ef03b6"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no for 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 for=\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/View/Admin/Manage/Set.html"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb95d7a9626244a8e64ca4ca8341eb08c42272e75ce9d1007f92ffff18bd7fe7"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has only a placeholder \u2014 a placeholder is not a label (it vanishes on input and many AT ignore it). Add a \u003Clabel for\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/View/User/Theme/Cartoon/Authentication/ForgetPhone.html"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdeddae98bc20ccea1c24e4c70e48952a501e7f660689e6205487d68c04fc84d"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has only a placeholder \u2014 a placeholder is not a label (it vanishes on input and many AT ignore it). Add a \u003Clabel for\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/View/User/Theme/Cartoon/Authentication/ForgetPhone.html"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"c928ee01544dab5dc62566c9c7f9c86ba8dfcacdac76e8e46fe393991f2d74c3"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has only a placeholder \u2014 a placeholder is not a label (it vanishes on input and many AT ignore it). Add a \u003Clabel for\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/View/User/Theme/Cartoon/Authentication/Register.html"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cf07461e519421543805e9ff1701f86d97710b325608f51e5896d42b73a17c2"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has only a placeholder \u2014 a placeholder is not a label (it vanishes on input and many AT ignore it). Add a \u003Clabel for\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/View/User/Theme/Cartoon/Authentication/Register.html"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"be40de38a4baf2a6d3757dc750f3806453e4cbecafd1f7f7f9cc216050b9894f"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has only a placeholder \u2014 a placeholder is not a label (it vanishes on input and many AT ignore it). Add a \u003Clabel for\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/View/User/Theme/Cartoon/Authentication/Register.html"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba6d991fe2c1a98967c75e9ed0cbace022c083ed81ad91a1830ad5f265891e54"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has only a placeholder \u2014 a placeholder is not a label (it vanishes on input and many AT ignore it). Add a \u003Clabel for\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/View/User/Theme/Cartoon/Authentication/Register.html"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"20f9bc7ba142a093586c635f59d828f347196d0f683b536b7a7f16ee60e591c3"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no for 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 for=\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/View/User/Theme/Cartoon/Index/Item.html"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3f934ce320c41ee12cec855f6451cf0b97b9d3bd0d212ee84df7c555b7461ba"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no for 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 for=\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/View/User/Theme/Cartoon/Index/Item.html"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"edaed0af7a532b250e214c9383d66f93bbe4a4ba7e3b4a87462fb6512eca4f3b"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no for 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 for=\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/View/User/Theme/Cartoon/Index/Item.html"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe9ef93296c089cce3554eb8f0cd41a43bedc0d731895c8fc3faaf3a8c6d72ca"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no for 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 for=\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/View/User/Theme/Cartoon/Index/Item.html"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4683cda62b604b601f958f295a513f0166fa146cd2d5b692ce3f66537a580d9"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has only a placeholder \u2014 a placeholder is not a label (it vanishes on input and many AT ignore it). Add a \u003Clabel for\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/View/User/Theme/Cartoon/Index/Item.html"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"32b5d892d753f1b687450548728d8827d730a8b240e90a309b0fab449def587d"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no for 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 for=\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/View/User/Theme/Cartoon/Index/Item.html"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"effc0682fedb807e6fe0000fcdd4dd1c7accdde7450db1c9e8b7df9f6ada0019"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has only a placeholder \u2014 a placeholder is not a label (it vanishes on input and many AT ignore it). Add a \u003Clabel for\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/View/User/Theme/Cartoon/Index/Item.html"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"08cfddc4af6cbe7114e09156cc96bf646fc2f49be3ff79cc9b063a6ac0a577b5"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no for 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 for=\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/View/User/Theme/Cartoon/Index/Item.html"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9109b2a261404557a19c7fb0f45d95fbbbbcd7d43812f5e4a48f83c822ab7fa"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has only a placeholder \u2014 a placeholder is not a label (it vanishes on input and many AT ignore it). Add a \u003Clabel for\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/View/User/Theme/Cartoon/Index/Item.html"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1032adc32c20e33f402b980ecb662290cb72558b629cd6545ef5ded5080edb7"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no for 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 for=\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/View/User/Theme/Cartoon/Index/Item.html"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"d82edcd66265aa2d84c9be49a86c78f02b00b61f18b9cace63d716a46d699285"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel for\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/View/User/Theme/Cartoon/Index/Item.html"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"91b23d312a8ee77c1d59b6664b1760973f9a8e58478c6a447be156ba8caa1612"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no for 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 for=\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/View/User/Theme/Cartoon/Index/Item.html"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbbdf072d45b651f466c554a57f07efd8cf8e22819a4d79d92323d4a6e99fcdb"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has only a placeholder \u2014 a placeholder is not a label (it vanishes on input and many AT ignore it). Add a \u003Clabel for\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/View/User/Theme/Cartoon/Index/Item.html"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"24f9de5e1ba4f4f49d9dacb62408918adfec95a9e5aa3b9b8dd860ee3cec314c"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has only a placeholder \u2014 a placeholder is not a label (it vanishes on input and many AT ignore it). Add a \u003Clabel for\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/View/User/Theme/Cartoon/Index/Query.html"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fe30983bc1f1b17a6c66cb3aa6d7d9327aff534898c2a7c19b7b2101512c3f6"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has only a placeholder \u2014 a placeholder is not a label (it vanishes on input and many AT ignore it). Add a \u003Clabel for\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/View/User/Theme/Cartoon/User/Password.html"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"1caaa758d4e808dfea596aa20571789bf19a2a4464ec404425982d70ca4ae396"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has only a placeholder \u2014 a placeholder is not a label (it vanishes on input and many AT ignore it). Add a \u003Clabel for\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/View/User/Theme/Cartoon/User/Password.html"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8021fab5096c170f329f7d63370d4004e9682c1ec3cd2c9f2c751e3d9386d18"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has only a placeholder \u2014 a placeholder is not a label (it vanishes on input and many AT ignore it). Add a \u003Clabel for\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/View/User/Theme/Cartoon/User/Password.html"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a744db93aaf99e087f9187b9c9746ee4b68898ba877b1f73afeb2d021cbf6d0"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has only a placeholder \u2014 a placeholder is not a label (it vanishes on input and many AT ignore it). Add a \u003Clabel for\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/View/User/Theme/Cartoon/User/Phone.html"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c912579fbd1971b7eef3f741aa142fdf2cdc27dcd16b8798fba4180e0f9d92c"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has only a placeholder \u2014 a placeholder is not a label (it vanishes on input and many AT ignore it). Add a \u003Clabel for\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/View/User/Theme/Cartoon/User/Phone.html"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4caff9c9c538c3c1165474115d543f6baed1077604667e2e2bbed7e06145a7b"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has only a placeholder \u2014 a placeholder is not a label (it vanishes on input and many AT ignore it). Add a \u003Clabel for\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/View/User/Theme/Cartoon/User/Phone.html"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c51d2d98906bf3e95a61ae47b82d621181e3ebe8c9fd02d2d152836356a6819"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Ctextarea\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel for\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/config/plugin.js"},"region":{"startLine":315}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2894a533e3e5a83d5e1ff21410e8cd1e249c904e80c7c35a295e79b2c354fa9"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Ctextarea\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel for\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/shared/store.js"},"region":{"startLine":1470}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0f039c193d8dc9463c4dd5fa1ab1eb38eb519e1aafcc3d2dd531949ec1c03b6"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel for\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/shared/store.js"},"region":{"startLine":393}}}],"partialFingerprints":{"codehealthFindingId/v1":"759a1ebedf56fac59af69e9c5e3abce0842dc8b69ae0ece581c12e0396497344"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no for 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 for=\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":"assets/admin/controller/shared/store.js"},"region":{"startLine":444}}}],"partialFingerprints":{"codehealthFindingId/v1":"6adc9af87a5dac873c2bd23441a7386338f7a4b42e8b64bbb8a79ff64aed5cd2"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel for\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/shared/store.js"},"region":{"startLine":445}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e9c2fed0279207ad9186a8dc65c162e685d55f073c4a283edac8eaf5fb60411"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no for 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 for=\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":"assets/admin/controller/shared/store.js"},"region":{"startLine":474}}}],"partialFingerprints":{"codehealthFindingId/v1":"4653c32d7db9e271da9df262b01feeef303807c9c7ea1ba881f0f8a4b5cf89c8"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel for\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/shared/store.js"},"region":{"startLine":475}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae2ee9125734477533427b2338715c78344b9b40cb6ece2b6fdd86ff0c4bc6fc"}},{"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":"assets/admin/controller/store/developer.js"},"region":{"startLine":500}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b27fd493de14569e04778530ae5897fcf81f394cbacbae5a911d4081a8a2410"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel for\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/js/mobile/fallback.js"},"region":{"startLine":2085}}}],"partialFingerprints":{"codehealthFindingId/v1":"20118df1a7d6045a0e8da78762b426e619938896dead5f9309937bdc95dd9132"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel for\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/js/mobile/fallback.js"},"region":{"startLine":2146}}}],"partialFingerprints":{"codehealthFindingId/v1":"85c897a0a6d395072966da4a0771620170480b5bd236d2aeb03a05fce9bbf2a0"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no for 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 for=\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":"assets/admin/js/mobile/fallback.js"},"region":{"startLine":2084}}}],"partialFingerprints":{"codehealthFindingId/v1":"93d1e7158bb10d48973456d4cb6298be59ec99bb13ab2e59cd2605f8711457ca"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no for 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 for=\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":"assets/admin/js/mobile/navigation.js"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"5551722dabc7d1db8cb2ecda954e65138313246f6f0b697e14b34b83fbb31a60"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cselect\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel for\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/common/js/jquery.min.js"},"region":{"startLine":313}}}],"partialFingerprints":{"codehealthFindingId/v1":"c08bc8ac8cf5465ad2510d11ac99ed26641a413eb3a0910baca01965fcaf5877"}},{"ruleId":"AC2","level":"error","message":{"text":"Link with no accessible name: A link with no text, aria-label or labelled child (e.g. an icon-only link) has no accessible name, so assistive tech can\u0027t say where it goes. Add visible text or an aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/common/js/jquery.min.js"},"region":{"startLine":315}}}],"partialFingerprints":{"codehealthFindingId/v1":"03104c35a1ea24cbf0b384408936cf41a839409358a82d5559a61ee61f31c89c"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cselect\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel for\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/common/js/jquery.min.js"},"region":{"startLine":315}}}],"partialFingerprints":{"codehealthFindingId/v1":"984648badfb6e7d4e8c0697d575496933af669f21e5b04d46c293fa3ae88d778"}},{"ruleId":"AC2","level":"error","message":{"text":"Link with no accessible name: A link with no text, aria-label or labelled child (e.g. an icon-only link) has no accessible name, so assistive tech can\u0027t say where it goes. Add visible text or an aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/common/js/jquery.min.js"},"region":{"startLine":685}}}],"partialFingerprints":{"codehealthFindingId/v1":"acbfbffc09f5053e483ee9afe077a1b63a95f268e2c79563fbf182822bf7ef7a"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel for\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/common/js/jquery.min.js"},"region":{"startLine":689}}}],"partialFingerprints":{"codehealthFindingId/v1":"66a9f483d8c5920b5f5db536e4f01be6b754e756627582fd5b06f1879cb9684a"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Ctextarea\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel for\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/common/js/jquery.min.js"},"region":{"startLine":1169}}}],"partialFingerprints":{"codehealthFindingId/v1":"5014259269669fbe6a26e24f19bb57aaedb38d7019aeadd159225ae9289622fd"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cselect\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel for\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/common/js/jquery.min.js"},"region":{"startLine":1187}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b005df36e08b73eb08e5486a0fab6337ffc76ed31be3b69c44de909ba8aca9f"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel for\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/common/js/jquery.min.js"},"region":{"startLine":4456}}}],"partialFingerprints":{"codehealthFindingId/v1":"42661d85a559343c9746cbd85c0367a09098ca2180341ad6e20ea4be3e7cf6e3"}},{"ruleId":"AC2","level":"error","message":{"text":"Link with no accessible name: A link with no text, aria-label or labelled child (e.g. an icon-only link) has no accessible name, so assistive tech can\u0027t say where it goes. Add visible text or an aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/common/js/jquery.min.js"},"region":{"startLine":5339}}}],"partialFingerprints":{"codehealthFindingId/v1":"d804d5bff6760861c93a304762fb17a0ad82951a9d19f93ced5bfb8d9808d59c"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel for\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/common/js/jquery.min.js"},"region":{"startLine":313}}}],"partialFingerprints":{"codehealthFindingId/v1":"186482c0055f723a06d2af83c3aef7de3f2c9dbc03fd5dc7b4e9069bb15b6b6e"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel for\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/common/js/jquery.min.js"},"region":{"startLine":1169}}}],"partialFingerprints":{"codehealthFindingId/v1":"f269f400490462561d20c93e3433660326afbcb13bc693ea90dfdecfc894d610"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Ctextarea\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel for\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/common/js/util.js"},"region":{"startLine":1079}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ecd5b33d44bbc767935e845e48ad19bb3bcc831fce3895ac0e0c6a087fa4933"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has only a placeholder \u2014 a placeholder is not a label (it vanishes on input and many AT ignore it). Add a \u003Clabel for\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/static/acg.js"},"region":{"startLine":910}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f70f4982b2f0307515d3470f167c940e641b309744864152d796590dc1b3eff"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cselect\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel for\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/static/acg.js"},"region":{"startLine":912}}}],"partialFingerprints":{"codehealthFindingId/v1":"388359e85738df2b735cd90b7caad05ae711bc5fb71b4f32c8ba36879ca32dad"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Ctextarea\u003E without a programmatic label: This control has only a placeholder \u2014 a placeholder is not a label (it vanishes on input and many AT ignore it). Add a \u003Clabel for\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/static/acg.js"},"region":{"startLine":924}}}],"partialFingerprints":{"codehealthFindingId/v1":"2126eef728562b94b51471dda842cef90d19c09118c21ed731e88d45b22a1a4a"}},{"ruleId":"AC2","level":"error","message":{"text":"Link with no accessible name: A link with no text, aria-label or labelled child (e.g. an icon-only link) has no accessible name, so assistive tech can\u0027t say where it goes. Add visible text or an aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/static/jquery.pjax.js"},"region":{"startLine":589}}}],"partialFingerprints":{"codehealthFindingId/v1":"79b9ae8f541f01220b64d564c9002bb16f3bfd0a87e2d5d480cfbe6f59a88510"}},{"ruleId":"AC3","level":"error","message":{"text":"Malformed \u003Chtml lang\u003E value \u0022#{lang_code()}\u0022: The lang value isn\u0027t a well-formed BCP-47 language tag (use e.g. \u0022en\u0022 or \u0022en-US\u0022, not \u0022english\u0022/\u0022en_US\u0022), so assistive tech may apply the wrong language. Use a valid language subtag."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/View/Admin/Authentication/Lock.html"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c3f60bb9dbcb2d609658d75628fbf874f2b51894d152ed2a6eb7f15e4978310"}},{"ruleId":"AC3","level":"error","message":{"text":"Malformed \u003Chtml lang\u003E value \u0022#{lang_code()}\u0022: The lang value isn\u0027t a well-formed BCP-47 language tag (use e.g. \u0022en\u0022 or \u0022en-US\u0022, not \u0022english\u0022/\u0022en_US\u0022), so assistive tech may apply the wrong language. Use a valid language subtag."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/View/Admin/Authentication/Login.html"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"5224f18922bf2b9c70d2d0d2c0bad05fb7f0a775aec3ba40d7b98ce461d638ac"}},{"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/View/Admin/Config/Security.html"},"region":{"startLine":339}}}],"partialFingerprints":{"codehealthFindingId/v1":"16d96da69db644cf55217165cbaf7d9ed97a58cd737a6c5039c772717f11797d"}},{"ruleId":"AC3","level":"error","message":{"text":"Malformed \u003Chtml lang\u003E value \u0022#{lang_code()}\u0022: The lang value isn\u0027t a well-formed BCP-47 language tag (use e.g. \u0022en\u0022 or \u0022en-US\u0022, not \u0022english\u0022/\u0022en_US\u0022), so assistive tech may apply the wrong language. Use a valid language subtag."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/View/Admin/Config/Wiki.html"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"a744354e5e335fae0deb49e38e28214c685745bdfff4443bdc5655aa2e8bd984"}},{"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/View/Admin/Config/Wiki.html"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"54ed466b2b42e12998c1eddf80705ff05d54902012fb6a86cbcc868163505e68"}},{"ruleId":"AC3","level":"error","message":{"text":"Malformed \u003Chtml lang\u003E value \u0022#{lang_code()}\u0022: The lang value isn\u0027t a well-formed BCP-47 language tag (use e.g. \u0022en\u0022 or \u0022en-US\u0022, not \u0022english\u0022/\u0022en_US\u0022), so assistive tech may apply the wrong language. Use a valid language subtag."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/View/Admin/Header.html"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"30e2537e26d7b687050f72d4f9b9da6c00683b2b977748777c81366e3aedb651"}},{"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/View/Admin/Header.html"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b19323d253db949d568b5a920e281305211d0eb55307b91e307b417e08d36cb"}},{"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/View/LegalTerms.html"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"480322cef23db5fcf81257b37b5e704a6e732ab07061a808aa34bc779e7774bb"}},{"ruleId":"AC3","level":"warning","message":{"text":"Heading level jumps from h1 to h3: 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/View/LegalTerms.html"},"region":{"startLine":421}}}],"partialFingerprints":{"codehealthFindingId/v1":"f881b24062ae26c6a5fa65338c8e880039af8c8df52092bdd2add45a08d83506"}},{"ruleId":"AC3","level":"error","message":{"text":"\u003Chtml\u003E without a lang: The page declares no language, so assistive tech can\u0027t pick the right pronunciation. Add lang (e.g. lang=\u0022en\u0022)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/View/Rewrite.html"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"e22c9f3e605050d735e59c247e14290c2fca992e58959963ef68a48bd35aaff0"}},{"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/View/Rewrite.html"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"16e9e03cb90948cfa1e15abd415ea896146148cf9240fb844ce2bf28127ae954"}},{"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/View/User/Submit.html"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cc4c1911e9c3a271aa10d44f799434e73b42a6945f6648bf104ec73f9568b0e"}},{"ruleId":"AC3","level":"error","message":{"text":"Viewport restricts zoom: user-scalable=no/0 or a maximum-scale below 2 stops low-vision users zooming to 200%. Remove the zoom restriction from the viewport meta."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/View/User/Submit.html"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffdd74117be37e331d78d1d7348f99ca1ae7826636dca5be1cd59c3d9c417a1c"}},{"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/View/User/Theme/Cartoon/Authentication/Header.html"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"36dffaf5aa6d23733e70139899eaff87f89b316cf1212d0142e5993e8b5354a5"}},{"ruleId":"AC3","level":"error","message":{"text":"Malformed \u003Chtml lang\u003E value \u0022#{lang_code()}\u0022: The lang value isn\u0027t a well-formed BCP-47 language tag (use e.g. \u0022en\u0022 or \u0022en-US\u0022, not \u0022english\u0022/\u0022en_US\u0022), so assistive tech may apply the wrong language. Use a valid language subtag."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/View/User/Theme/Cartoon/Common/Header.html"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"93676d3c280b1a8a145e7b523e25868eda604fb7cb882cbb24fa0f9ec17ec736"}},{"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/View/User/Theme/Cartoon/Common/Header.html"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c457949739aa91345482c2696ab995bec1e84cbec3cbb9a43fb27392496e4d9"}},{"ruleId":"AC3","level":"error","message":{"text":"Viewport restricts zoom: user-scalable=no/0 or a maximum-scale below 2 stops low-vision users zooming to 200%. Remove the zoom restriction from the viewport meta."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/View/User/Theme/Cartoon/Common/Header.html"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"f678b57b2ce1feb3d31e64456aa4cddbc6d3a0fc5bd77d4232237237eb731b6d"}},{"ruleId":"AC3","level":"error","message":{"text":"Malformed \u003Chtml lang\u003E value \u0022#{lang_code()}\u0022: The lang value isn\u0027t a well-formed BCP-47 language tag (use e.g. \u0022en\u0022 or \u0022en-US\u0022, not \u0022english\u0022/\u0022en_US\u0022), so assistive tech may apply the wrong language. Use a valid language subtag."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/View/User/Theme/Cartoon/Index/Header.html"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"d521ce4f9e2f3c1c669dcd097c42909f134cbe5a626b7f188f571fdb6aabbc19"}},{"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/View/User/Theme/Cartoon/Index/Header.html"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"e55844c44fb7f9c4ddc357a457b2ab59fc19bcaaf113f08df7d810916201e422"}},{"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/View/User/Theme/Cartoon/Index/Item.html"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"0448f22de372a42ea73e07346a3a52e15edd6871310ed95ca4f1ee133c919cbc"}},{"ruleId":"AC4","level":"error","message":{"text":"Clickable element isn\u0027t keyboard-operable: The repo\u0027s own CSS styles .image-input-wrapper with \u0060cursor: pointer\u0060, so this \u003Cdiv\u003E is a control \u2014 but it has no role, no tabindex=\u00220\u0022 and no key handler, so it can only be reached with a mouse. Use a \u003Cbutton\u003E, or add role \u002B tabindex=\u00220\u0022 \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/View/Admin/Config/Setting.html"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7bf85bc7e2b640cc48e7669977bdba8ae1dd9f38d8aded0994200d6cfe50dce"}},{"ruleId":"AC4","level":"error","message":{"text":"Clickable element isn\u0027t keyboard-operable: The repo\u0027s own CSS styles .btn with \u0060cursor: pointer\u0060, so this \u003Cspan\u003E is a control \u2014 but it has no role, no tabindex=\u00220\u0022 and no key handler, so it can only be reached with a mouse. Use a \u003Cbutton\u003E, or add role \u002B tabindex=\u00220\u0022 \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/View/Admin/Config/Setting.html"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec23526d785b06945f316b20ec64070b92de46cfcf729e6c29a62350ab665cea"}},{"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/View/Admin/Header.html"},"region":{"startLine":312}}}],"partialFingerprints":{"codehealthFindingId/v1":"977055477f6a482d0e4e21b4797d22a3a825bd63f0869e0fc742feea2d784be2"}},{"ruleId":"AC4","level":"error","message":{"text":"Clickable element isn\u0027t keyboard-operable: The repo\u0027s own CSS styles .btn with \u0060cursor: pointer\u0060, so this \u003Cdiv\u003E is a control \u2014 but it has no role, no tabindex=\u00220\u0022 and no key handler, so it can only be reached with a mouse. Use a \u003Cbutton\u003E, or add role \u002B tabindex=\u00220\u0022 \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/View/Admin/Header.html"},"region":{"startLine":348}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e7500c6df39a080337a69f9dc49927ebf26035f4c3b277889f2eaf6aeb82155"}},{"ruleId":"AC4","level":"error","message":{"text":"Clickable element isn\u0027t keyboard-operable: The repo\u0027s own CSS styles .image-input-wrapper with \u0060cursor: pointer\u0060, so this \u003Cdiv\u003E is a control \u2014 but it has no role, no tabindex=\u00220\u0022 and no key handler, so it can only be reached with a mouse. Use a \u003Cbutton\u003E, or add role \u002B tabindex=\u00220\u0022 \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/View/Admin/Manage/Set.html"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"2911d3382df033264cc87d71b13dbeb96e3ab6e9c43dc68e094ae391ec1b9aa0"}},{"ruleId":"AC4","level":"error","message":{"text":"Clickable element isn\u0027t keyboard-operable: The repo\u0027s own CSS styles .btn with \u0060cursor: pointer\u0060, so this \u003Cspan\u003E is a control \u2014 but it has no role, no tabindex=\u00220\u0022 and no key handler, so it can only be reached with a mouse. Use a \u003Cbutton\u003E, or add role \u002B tabindex=\u00220\u0022 \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/View/Admin/Manage/Set.html"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8f9057cef0f11f930292233804b9185462d5fd8269a66182ef830a61d0f61c9"}},{"ruleId":"AC4","level":"error","message":{"text":"Clickable element isn\u0027t keyboard-operable: The repo\u0027s own CSS styles .chip with \u0060cursor: pointer\u0060, so this \u003Cspan\u003E is a control \u2014 but it has no role, no tabindex=\u00220\u0022 and no key handler, so it can only be reached with a mouse. Use a \u003Cbutton\u003E, or add role \u002B tabindex=\u00220\u0022 \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/View/Install.html"},"region":{"startLine":379}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bd03d5984669d8b11ebcc3e3ddfb5dc8b93160d9d9c3385b2f5ea421e42b96d"}},{"ruleId":"AC4","level":"error","message":{"text":"Clickable element isn\u0027t keyboard-operable: The repo\u0027s own CSS styles .image-code with \u0060cursor: pointer\u0060, so this \u003Cimg\u003E is a control \u2014 but it has no role, no tabindex=\u00220\u0022 and no key handler, so it can only be reached with a mouse. Use a \u003Cbutton\u003E, or add role \u002B tabindex=\u00220\u0022 \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/View/User/Theme/Cartoon/Authentication/Login.html"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9d3a8f91e4fc25cff7c1e32fc5b6c406a686d55bd132e993f2b39449bdf4748"}},{"ruleId":"AC4","level":"error","message":{"text":"Clickable element isn\u0027t keyboard-operable: The repo\u0027s own CSS styles .image-code with \u0060cursor: pointer\u0060, so this \u003Cimg\u003E is a control \u2014 but it has no role, no tabindex=\u00220\u0022 and no key handler, so it can only be reached with a mouse. Use a \u003Cbutton\u003E, or add role \u002B tabindex=\u00220\u0022 \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/View/User/Theme/Cartoon/Authentication/Register.html"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"66579f54941b9e1ab5bed390e0e725fca7ee81161a393c655adb26ac93277f44"}},{"ruleId":"AC4","level":"warning","message":{"text":"Modal dialog does not manage focus: This \u003Cdiv role=\u0022dialog\u0022\u003E is a modal dialog, but nothing moves focus into it when it opens and nothing keeps focus inside it while it is open, so a keyboard or screen-reader user keeps acting on the content behind it (WCAG 2.4.3). Use a native \u003Cdialog\u003E opened with showModal(), a dialog component that traps focus, or move focus to the dialog on open, trap Tab inside it (or make the page behind inert) and return focus to the control that opened it on close."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/View/User/Theme/Cartoon/Common/Header.html"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"a20b9b9f0e592cb45a231d11c674fb4b4d46e3ab09fd7b52bc96d4bac9cb01d6"}},{"ruleId":"AC4","level":"error","message":{"text":"Clickable element isn\u0027t keyboard-operable: The repo\u0027s own CSS styles .shared-button with \u0060cursor: pointer\u0060, so this \u003Cspan\u003E is a control \u2014 but it has no role, no tabindex=\u00220\u0022 and no key handler, so it can only be reached with a mouse. Use a \u003Cbutton\u003E, or add role \u002B tabindex=\u00220\u0022 \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/View/User/Theme/Cartoon/Index/Item.html"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"0040c573c1a56067c8650a1eeb091ac721f1b5b0046655ab1716050937d25ce6"}},{"ruleId":"AC4","level":"error","message":{"text":"Clickable element isn\u0027t keyboard-operable: The repo\u0027s own CSS styles .captcha-img with \u0060cursor: pointer\u0060, so this \u003Cimg\u003E is a control \u2014 but it has no role, no tabindex=\u00220\u0022 and no key handler, so it can only be reached with a mouse. Use a \u003Cbutton\u003E, or add role \u002B tabindex=\u00220\u0022 \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/View/User/Theme/Cartoon/Index/Item.html"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"186d4ea1e64ecf01324906505e153b0f8581140d4204571bc1cf30bbfc84e203"}},{"ruleId":"AC4","level":"error","message":{"text":"Clickable element isn\u0027t keyboard-operable: The repo\u0027s own CSS styles .a-badge with \u0060cursor: pointer\u0060, so this \u003Cspan\u003E is a control \u2014 but it has no role, no tabindex=\u00220\u0022 and no key handler, so it can only be reached with a mouse. Use a \u003Cbutton\u003E, or add role \u002B tabindex=\u00220\u0022 \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/shared/store.js"},"region":{"startLine":1425}}}],"partialFingerprints":{"codehealthFindingId/v1":"123a705b435d249cf9484013caa8adb1fede893867063510766ed54c8e670c98"}},{"ruleId":"AC4","level":"error","message":{"text":"Clickable element isn\u0027t keyboard-operable: The repo\u0027s own CSS styles .a-badge with \u0060cursor: pointer\u0060, so this \u003Cspan\u003E is a control \u2014 but it has no role, no tabindex=\u00220\u0022 and no key handler, so it can only be reached with a mouse. Use a \u003Cbutton\u003E, or add role \u002B tabindex=\u00220\u0022 \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/store/developer.js"},"region":{"startLine":654}}}],"partialFingerprints":{"codehealthFindingId/v1":"20166a10cdc127ea13d851cf1c9c39002df007cd843b051660c87d1420d63219"}},{"ruleId":"AC4","level":"error","message":{"text":"Clickable element isn\u0027t keyboard-operable: The repo\u0027s own CSS styles .a-badge with \u0060cursor: pointer\u0060, so this \u003Cspan\u003E is a control \u2014 but it has no role, no tabindex=\u00220\u0022 and no key handler, so it can only be reached with a mouse. Use a \u003Cbutton\u003E, or add role \u002B tabindex=\u00220\u0022 \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/store/developer.js"},"region":{"startLine":663}}}],"partialFingerprints":{"codehealthFindingId/v1":"4313cae3fdaaa81737ee36ca93e98b225d9dfb9bbac199ca0d4817dc798c5085"}},{"ruleId":"AC4","level":"error","message":{"text":"Clickable element isn\u0027t keyboard-operable: The repo\u0027s own CSS styles .a-badge with \u0060cursor: pointer\u0060, so this \u003Cspan\u003E is a control \u2014 but it has no role, no tabindex=\u00220\u0022 and no key handler, so it can only be reached with a mouse. Use a \u003Cbutton\u003E, or add role \u002B tabindex=\u00220\u0022 \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/store/home.js"},"region":{"startLine":1217}}}],"partialFingerprints":{"codehealthFindingId/v1":"94e0bf0239de89f6c8355532c45595cbdcc345d5c175905cabc7a75c10369774"}},{"ruleId":"AC4","level":"error","message":{"text":"Clickable element isn\u0027t keyboard-operable: The repo\u0027s own CSS styles .a-badge with \u0060cursor: pointer\u0060, so this \u003Cspan\u003E is a control \u2014 but it has no role, no tabindex=\u00220\u0022 and no key handler, so it can only be reached with a mouse. Use a \u003Cbutton\u003E, or add role \u002B tabindex=\u00220\u0022 \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/store/home.js"},"region":{"startLine":1219}}}],"partialFingerprints":{"codehealthFindingId/v1":"35da5cbed3ac1c30f7c33b9965e46fbc5f41a0c79f5ed3e60413e22233f3e6af"}},{"ruleId":"AC4","level":"error","message":{"text":"Clickable element isn\u0027t keyboard-operable: The repo\u0027s own CSS styles .a-badge with \u0060cursor: pointer\u0060, so this \u003Cspan\u003E is a control \u2014 but it has no role, no tabindex=\u00220\u0022 and no key handler, so it can only be reached with a mouse. Use a \u003Cbutton\u003E, or add role \u002B tabindex=\u00220\u0022 \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/store/home.js"},"region":{"startLine":1225}}}],"partialFingerprints":{"codehealthFindingId/v1":"acd631d2bad6db45bd1065daa9d85595724c7803d2f4116237cbf6d546343480"}},{"ruleId":"AC4","level":"error","message":{"text":"Clickable element isn\u0027t keyboard-operable: The repo\u0027s own CSS styles .a-badge with \u0060cursor: pointer\u0060, so this \u003Cspan\u003E is a control \u2014 but it has no role, no tabindex=\u00220\u0022 and no key handler, so it can only be reached with a mouse. Use a \u003Cbutton\u003E, or add role \u002B tabindex=\u00220\u0022 \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/store/home.js"},"region":{"startLine":1231}}}],"partialFingerprints":{"codehealthFindingId/v1":"444dacc1d9105ee10e66690a49a9650311f6125d6c4d50ffcef54c089988176f"}},{"ruleId":"AC4","level":"error","message":{"text":"Clickable element isn\u0027t keyboard-operable: The repo\u0027s own CSS styles .a-badge with \u0060cursor: pointer\u0060, so this \u003Cspan\u003E is a control \u2014 but it has no role, no tabindex=\u00220\u0022 and no key handler, so it can only be reached with a mouse. Use a \u003Cbutton\u003E, or add role \u002B tabindex=\u00220\u0022 \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/store/home.js"},"region":{"startLine":1309}}}],"partialFingerprints":{"codehealthFindingId/v1":"e39cfbc44978af3cbfd5815caf23637a7ed4535f09c9dbc45b10b3da668d5e45"}},{"ruleId":"AC4","level":"error","message":{"text":"Clickable element isn\u0027t keyboard-operable: The repo\u0027s own CSS styles .a-badge with \u0060cursor: pointer\u0060, so this \u003Cspan\u003E is a control \u2014 but it has no role, no tabindex=\u00220\u0022 and no key handler, so it can only be reached with a mouse. Use a \u003Cbutton\u003E, or add role \u002B tabindex=\u00220\u0022 \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/store/home.js"},"region":{"startLine":1311}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8eaf164f4fa37b4f5c70504b592d27a970f96e7a5ff9ecaec9f4783d324d8e8"}},{"ruleId":"AC4","level":"error","message":{"text":"Clickable element isn\u0027t keyboard-operable: The repo\u0027s own CSS styles .a-badge with \u0060cursor: pointer\u0060, so this \u003Cspan\u003E is a control \u2014 but it has no role, no tabindex=\u00220\u0022 and no key handler, so it can only be reached with a mouse. Use a \u003Cbutton\u003E, or add role \u002B tabindex=\u00220\u0022 \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/store/home.js"},"region":{"startLine":1327}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fdd4ee3cc54e8a059482c7237e10d52630eb758f1aec9e1d19f91a3e595dd9b"}},{"ruleId":"AC4","level":"error","message":{"text":"Clickable element isn\u0027t keyboard-operable: The repo\u0027s own CSS styles .a-badge with \u0060cursor: pointer\u0060, so this \u003Cspan\u003E is a control \u2014 but it has no role, no tabindex=\u00220\u0022 and no key handler, so it can only be reached with a mouse. Use a \u003Cbutton\u003E, or add role \u002B tabindex=\u00220\u0022 \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/store/home.js"},"region":{"startLine":1336}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0bf8191a31de4d8fffe328fa698c63932af7fdcc0c464e6f7ea1d9ad848ace6"}},{"ruleId":"AC4","level":"error","message":{"text":"Clickable element isn\u0027t keyboard-operable: The repo\u0027s own CSS styles .a-badge with \u0060cursor: pointer\u0060, so this \u003Cspan\u003E is a control \u2014 but it has no role, no tabindex=\u00220\u0022 and no key handler, so it can only be reached with a mouse. Use a \u003Cbutton\u003E, or add role \u002B tabindex=\u00220\u0022 \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/store/home.js"},"region":{"startLine":1354}}}],"partialFingerprints":{"codehealthFindingId/v1":"41a069cdef3ca2d544f492a076e022eb494cbca3bcee92e4cc34273061fef97f"}},{"ruleId":"AC4","level":"error","message":{"text":"Clickable element isn\u0027t keyboard-operable: The repo\u0027s own CSS styles .a-badge with \u0060cursor: pointer\u0060, so this \u003Cspan\u003E is a control \u2014 but it has no role, no tabindex=\u00220\u0022 and no key handler, so it can only be reached with a mouse. Use a \u003Cbutton\u003E, or add role \u002B tabindex=\u00220\u0022 \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/store/home.js"},"region":{"startLine":1356}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4d1d991ea4ffc5df511b8887f569cbee3ad05b0b064f6ff21908127431139db"}},{"ruleId":"AC4","level":"error","message":{"text":"Clickable element isn\u0027t keyboard-operable: The repo\u0027s own CSS styles .a-badge with \u0060cursor: pointer\u0060, so this \u003Cspan\u003E is a control \u2014 but it has no role, no tabindex=\u00220\u0022 and no key handler, so it can only be reached with a mouse. Use a \u003Cbutton\u003E, or add role \u002B tabindex=\u00220\u0022 \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/store/home.js"},"region":{"startLine":1523}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8702c69869401791272d95a4a17ee9a537277d29ff4a7756c177ab03cdeb1c3"}},{"ruleId":"AC4","level":"error","message":{"text":"Clickable element isn\u0027t keyboard-operable: The repo\u0027s own CSS styles .a-badge with \u0060cursor: pointer\u0060, so this \u003Cspan\u003E is a control \u2014 but it has no role, no tabindex=\u00220\u0022 and no key handler, so it can only be reached with a mouse. Use a \u003Cbutton\u003E, or add role \u002B tabindex=\u00220\u0022 \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/store/home.js"},"region":{"startLine":1529}}}],"partialFingerprints":{"codehealthFindingId/v1":"4674407627039fafb033aba134826b5c080f2c3108067a916df2408778aa990e"}},{"ruleId":"AC4","level":"error","message":{"text":"Clickable element isn\u0027t keyboard-operable: The repo\u0027s own CSS styles .CodeMirror-foldmarker with \u0060cursor: pointer\u0060, so this \u003Cspan\u003E is a control \u2014 but it has no role, no tabindex=\u00220\u0022 and no key handler, so it can only be reached with a mouse. Use a \u003Cbutton\u003E, or add role \u002B tabindex=\u00220\u0022 \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/static/codemirror/addon/fold/foldcode.js"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"02c2520340ae792823333af626497b1272733dd85fb1970c8f7fc4083747b7f8"}},{"ruleId":"AC5","level":"error","message":{"text":"aria-hidden hides a focusable element: aria-hidden=\u0022true\u0022 here hides the subtree from assistive tech, but a focusable descendant stays in the tab order \u2014 a keyboard user can land on a control screen readers can\u0027t see. Add inert, take the descendants out of the tab order (tabindex=\u0022-1\u0022), or drop aria-hidden."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/View/Admin/Authentication/Lock.html"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2f9e03be9bfac3528931cbb7d724b1c0617cd1b080d8f9d757b3da0d4663dda"}},{"ruleId":"AC5","level":"error","message":{"text":"aria-hidden hides a focusable element: aria-hidden=\u0022true\u0022 here hides the subtree from assistive tech, but a focusable descendant stays in the tab order \u2014 a keyboard user can land on a control screen readers can\u0027t see. Add inert, take the descendants out of the tab order (tabindex=\u0022-1\u0022), or drop aria-hidden."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/View/Admin/Authentication/Login.html"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a518dbf3fe2266d528935693cfbfdea7892cdbd0d2f585f0894a6ea88064fae"}},{"ruleId":"AC5","level":"error","message":{"text":"Invalid value \u0022#{if $config.callback_ip_whitelist == 1}true#{else}false#{/if}\u0022 for aria-expanded: \u0022#{if $config.callback_ip_whitelist == 1}true#{else}false#{/if}\u0022 is not a valid value for aria-expanded \u2014 allowed: true, false, undefined."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/View/Admin/Config/Other.html"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a9e4cd2820bb228d2a6aaa6adad7859ea66d2287b8a8891b08b5077a941be57"}},{"ruleId":"AC5","level":"error","message":{"text":"aria-hidden on a focusable element: aria-hidden=\u0022true\u0022 hides the element from assistive tech but leaves it keyboard-focusable \u2014 a confusing dead stop. Remove aria-hidden or make the element non-focusable."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/common/js/jquery.min.js"},"region":{"startLine":5339}}}],"partialFingerprints":{"codehealthFindingId/v1":"d603382862544d5fa3cbcdf15e9887ce445dcf37c1a05bf8cd33d354c97c75ef"}},{"ruleId":"AX3","level":"error","message":{"text":"Project dependency cycle: The projects app \u2192 kernel \u2192 app form a reference cycle. Cyclic dependencies prevent independent build/test/deploy, blur ownership, and tend to grow into a big ball of mud. Break the cycle by extracting the shared types into a separate project both can reference."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Controller/Admin/Api/App.php"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"19f79da547854f99af42a5014efa3a5ad2f88f680c07afbfb15bb9f91c5e073f"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: App (27 methods): \u0060App\u0060 declares 27 methods: \u0060getVersions\u0060, \u0060update\u0060, \u0060upload\u0060, \u0060ad\u0060, \u0060install\u0060, \u0060captcha\u0060, \u0060register\u0060, \u0060login\u0060, \u0060plugins\u0060, \u0060authors\u0060, \u0060purchase\u0060, \u0060levels\u0060, \u0060bindLevel\u0060, \u0060installPlugin\u0060, \u0060updatePlugin\u0060, \u0060uninstallPlugin\u0060, \u0060purchaseRecords\u0060, \u0060unbind\u0060, \u0060rebindPlan\u0060, \u0060developerPlugins\u0060, \u0060developerCreatePlugin\u0060, \u0060developerCreateKit\u0060, \u0060developerDeletePlugin\u0060, \u0060developerUpdatePlugin\u0060, \u0060developerPluginPriceSet\u0060, \u0060service\u0060, \u0060editPassword\u0060. Counted over its public instance methods, once per name; constants and static methods are not counted. A wide interface forces every implementer and caller to depend on methods they don\u0027t use (the Interface-Segregation \u0027I\u0027 in SOLID). Split it into focused role-interfaces."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Service/App.php"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"da3dcbb21af990ec12d2b22aed8e2351b4179f4f019172c8fe4ab843369c2cb0"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: Shared (21 methods): \u0060Shared\u0060 declares 21 methods: \u0060connect\u0060, \u0060items\u0060, \u0060item\u0060, \u0060inventoryState\u0060, \u0060inventory\u0060, \u0060trade\u0060, \u0060retrieve\u0060, \u0060draftCard\u0060, \u0060getDraft\u0060, \u0060getItemStock\u0060, \u0060getValuation\u0060, \u0060AdjustmentPrice\u0060, \u0060AdjustmentTemplate\u0060, \u0060usesFactoryBase\u0060, \u0060factoryQuote\u0060, \u0060priceSkipped\u0060, \u0060AdjustmentAmount\u0060, \u0060AdjustmentExtra\u0060, \u0060syncRemoteItem\u0060, \u0060remoteCost\u0060, \u0060remoteLeaveMessage\u0060. Counted over its public instance methods, once per name; constants and static methods are not counted. A wide interface forces every implementer and caller to depend on methods they don\u0027t use (the Interface-Segregation \u0027I\u0027 in SOLID). Split it into focused role-interfaces."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Service/Shared.php"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"270711ed532f9511c2b67547a265d139cb8258d63a1fbc5596fce9e5998738c2"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: Ticket (17 methods): \u0060Ticket\u0060 declares 17 methods: \u0060ready\u0060, \u0060userData\u0060, \u0060adminData\u0060, \u0060userDetail\u0060, \u0060adminDetail\u0060, \u0060userMessages\u0060, \u0060adminMessages\u0060, \u0060commodityOptions\u0060, \u0060orderOptions\u0060, \u0060create\u0060, \u0060userReply\u0060, \u0060adminReply\u0060, \u0060close\u0060, \u0060delete\u0060, \u0060userBadge\u0060, \u0060adminBadge\u0060, \u0060upload\u0060. Counted over its public instance methods, once per name; constants and static methods are not counted. A wide interface forces every implementer and caller to depend on methods they don\u0027t use (the Interface-Segregation \u0027I\u0027 in SOLID). Split it into focused role-interfaces."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Service/Ticket.php"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"05f80b0a3c98cfd1919512ba95cc413b26e0ca127c7734d0b42996ad6c5c78d7"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: Request (18 methods): \u0060Request\u0060 declares 18 methods: \u0060method\u0060, \u0060all\u0060, \u0060post\u0060, \u0060unsafePost\u0060, \u0060xml\u0060, \u0060get\u0060, \u0060unsafeGet\u0060, \u0060header\u0060, \u0060cookie\u0060, \u0060json\u0060, \u0060unsafeJson\u0060, \u0060file\u0060, \u0060uri\u0060, \u0060uriSuffix\u0060, \u0060setProperty\u0060, \u0060url\u0060, \u0060domain\u0060, \u0060raw\u0060. Counted over its public instance methods, once per name; constants and static methods are not counted. A wide interface forces every implementer and caller to depend on methods they don\u0027t use (the Interface-Segregation \u0027I\u0027 in SOLID). Split it into focused role-interfaces."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kernel/Context/Interface/Request.php"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7190250b8dfe0ea2e1fc14a33b15293e6f00c4f32249c1dfe09c71fa7289ab2"}},{"ruleId":"M2","level":"note","message":{"text":"No ADRs: No Architecture Decision Records found \u2014 no conventional ADR directory, no numbered \u0060NNNN-title\u0060 documents in any markup this check reads, and nothing ADR-shaped by content. Design rationale recorded elsewhere (a design-notes tree, a mailing list, pull-request discussion) is not visible to this check and is not re-findable per decision, so a future maintainer cannot ask why one choice was made and get an answer."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"670b3d6e36a756d63097d0dfbf90afd5fc761308800b9354894a07c3f4e4aa14"}},{"ruleId":"M2","level":"note","message":{"text":"No architecture diagram/doc: No C4/Structurizr/PlantUML/Mermaid/Graphviz/D2 diagram, no drawn diagram named for the architecture, no file named \u0060architecture\u0060 or \u0060design\u0060 in any markup this check reads, and nothing in the README, docs or contributor guides that announces the shape \u2014 no \u0060## Architecture\u0060 heading, no \u0022architecture overview\u0022/\u0022high-level design\u0022 phrasing, no \u0022the architecture is \u2026\u0022 introduction, no guided code tour. A shape laid out in prose that never names itself as the architecture is not visible to this check, and neither is one kept outside the repository, so this row reports the absence of a re-findable shape document \u2014 not evidence that nobody wrote the shape down."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"0c190e7c159d1850ee706c3ac4486e151e8a4fe169de4bf61436b9f399654f06"}},{"ruleId":"P3","level":"note","message":{"text":"No SAST: No static application security testing detected. For this repository\u0027s stack, add 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 1 CI workflow file(s) in this repository, and the scanner and linter configuration checked in beside them. A scan that runs outside CI, one configured in your forge\u0027s web UI rather than in a committed file, or a tool whose name is none of those this check carries, is not seen \u2014 if that is your case the row is wrong, and saying so is more useful than adding a second scanner."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"6e54424179c892f03ef2fd003130ac4bd43f39bbf3b1ca0a0143e25acb80ec87"}},{"ruleId":"P5","level":"warning","message":{"text":"No DR/backup evidence: A persistence guard (data volume / purge-protection) was found, but no backup, geo-recovery or RTO/RPO controls were evidenced \u2014 a volume that survives a container recreate is not a tested restore from catastrophic loss."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"5daabb38c90b07af65b8738cf94ce884e90a7d8fef810d341de5c186188c8fe0"}},{"ruleId":"P6","level":"note","message":{"text":"No changelog: No CHANGELOG/HISTORY/RELEASES file \u2014 what shipped when isn\u0027t easy to reconstruct for support or audit. (Versioning/tagging makes releases traceable, but a changelog records the what.)"},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"dda5aa5aed8cbb292c3ef2b733bc138f614293ae6426c85e98bf31ef330d9415"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060new Client(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Pay/Base.php"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"76034d96a58edf215efc68c8d26b82c60f435fd910e59ba09cfcced10254af61"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060new \\GuzzleHttp\\Client(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Util/Http.php"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"d77834f961c102963d96fec0edb64c46ece8b550f363724b006d763fced42aab"}},{"ruleId":"R1","level":"warning","message":{"text":"Type Safety: 0 typed \u00B7 131 plain JS \u2014 the untyped files are assets/admin/controller/auth/lock.js, assets/admin/controller/auth/login.js, assets/admin/controller/config/google2fa.js, assets/admin/controller/config/index.js, assets/admin/controller/config/lang.js, assets/admin/controller/config/mail.js (\u002B125 more)."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"d00ee7953f55325a823d27e5db9657c80ca9b9861c0c0abf8fe487cd3fa586d3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplication concentrated across 10 sibling directories (55 clone groups): 55 duplicated blocks under assets/admin/controller/ have copies in at least two of the sibling directories auth, config, dashboard, file, manage, pay (\u002B4 more sibling(s) not listed) \u2014 45 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 55 and which does not depend on how exactly each block\u0027s copies still match. That concentration is one structural fact, not 55 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 55 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":"assets/admin/controller/config/plugin.js"},"region":{"startLine":296}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7dcafff5c68104620ac01776990a9f7da93836a66b818a0c62004e7788fa4c0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplication concentrated across 4 sibling directories (52 clone groups): 52 duplicated blocks under assets/ have copies in at least two of the sibling directories admin, common, static, user \u2014 40 of them are reported below, and 12 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 52 and which does not depend on how exactly each block\u0027s copies still match. That concentration is one structural fact, not 52 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 52 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":"assets/common/js/component/authtree.js"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2336fb08d22a01bc6ba4c5ceedeacec98e6f7dbcc3a03f6c46fbc5beb6304ab"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplication concentrated across 6 sibling directories (6 clone groups): 6 of the duplicated blocks reported below have copies in at least two of the sibling directories auth, business, dashboard, index, security, user under assets/user/controller/. That concentration is one structural fact, not 6 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 6 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":"assets/user/controller/dashboard/index.js"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"916cf8ab887f84f6ac64aa220be29ea1f8fe2092499a1b5b7385f02896668cd4"}},{"ruleId":"R10","level":"warning","message":{"text":"Wholesale file copy (432 identical lines \u00D7 2 files): assets/common/js/component/authtree.js:9 \u00B7 assets/static/modules/authtree.js:9 \u2014 these 2 files are line-for-line copies of one another \u2014 432 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":"assets/common/js/component/authtree.js"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ce347afef39343948de547d5ca6d6040e64a53562aaf6a1eae3e76281121e80"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (249 matched lines \u00D7 2 locations): assets/admin/controller/trade/card.js:141 \u00B7 assets/user/controller/business/card.js:43 \u2014 the two spans are one implementation copied and then locally edited \u2014 1578 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":"assets/admin/controller/trade/card.js"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"e43ca426435f711abae45ecc8c6b80f07d4179f9ded14e71067d4f729d67b1af"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (99 matched lines \u00D7 2 locations): assets/admin/controller/config/mail.js:50 \u00B7 assets/admin/controller/config/sms.js:73 \u2014 the two spans are one implementation copied and then locally edited \u2014 668 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":"assets/admin/controller/config/mail.js"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c698db2d4247dfe6260f20a29ce21d7bd89f11947c2922a30cd0ba52291c8ad"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (89 matched lines \u00D7 2 locations): assets/admin/js/material.js:129 \u00B7 assets/user/js/glass.js:392 \u2014 the two spans are one implementation copied and then locally edited \u2014 761 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":"assets/admin/js/material.js"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d26ea76a231175d174054cdfd2a91e86f5a2cc964730d07533d3a50d5be6ba3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (86 matched lines \u00D7 2 locations): assets/user/controller/dashboard/index.js:3 \u00B7 assets/user/controller/user/purchase.record.js:5 \u2014 the two spans are one implementation copied and then locally edited \u2014 899 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":"assets/user/controller/dashboard/index.js"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"33d157daca353893d2430dc9a24cf599f634cda734cb26a0ee87dbed7defddad"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (79 lines \u00D7 2 locations): assets/admin/controller/config/plugin.js:296 \u00B7 assets/admin/controller/pay/plugin.js:419 \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":"assets/admin/controller/config/plugin.js"},"region":{"startLine":296}}}],"partialFingerprints":{"codehealthFindingId/v1":"0109011ea20163c6fb20079a8061aa744c4881c1e072016076858a13fdf8c05b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (65 lines \u00D7 2 locations): assets/admin/controller/trade/order.js:790 \u00B7 assets/admin/controller/user/recharge.order.js:276 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/trade/order.js"},"region":{"startLine":790}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9a76c59b5df0cf39c0c8a267bde9c21a229696233abf71acea527abceae7712"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (60 lines \u00D7 2 locations): assets/admin/controller/trade/commodity.js:272 \u00B7 assets/user/controller/business/commodity.js:86 \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":"assets/admin/controller/trade/commodity.js"},"region":{"startLine":272}}}],"partialFingerprints":{"codehealthFindingId/v1":"f039915b5df1746b260c3b1f4f20ceccbba0d65b52af241d62f8498a6db60d7d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (58 lines \u00D7 2 locations): assets/admin/controller/trade/commodity.js:830 \u00B7 assets/user/controller/business/commodity.js:366 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/trade/commodity.js"},"region":{"startLine":830}}}],"partialFingerprints":{"codehealthFindingId/v1":"e50bd7f4d313a7632bc3158ce26bb825f336c64c7f0237a26f182f2df4c393e4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (55 lines \u00D7 2 locations): assets/admin/controller/trade/commodity.js:333 \u00B7 assets/user/controller/business/commodity.js:147 \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":"assets/admin/controller/trade/commodity.js"},"region":{"startLine":333}}}],"partialFingerprints":{"codehealthFindingId/v1":"65502fc6c75b9ad533de8c8292daa97a0e0a284b732ef6df960cdca60c4d1fbc"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (55 lines \u00D7 2 locations): assets/admin/controller/trade/commodity.js:414 \u00B7 assets/user/controller/business/commodity.js:224 \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":"assets/admin/controller/trade/commodity.js"},"region":{"startLine":414}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c0f3a5630d539d75122f90e1c9aed787d53a95f8c6b25d40b21aa75b41ea356"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (53 matched lines \u00D7 2 locations): assets/user/controller/index/item.js:223 \u00B7 assets/user/controller/user/recharge.js:26 \u2014 the two spans are one implementation copied and then locally edited \u2014 592 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":"assets/user/controller/index/item.js"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ccaa3a031289654d74dfafab8f0949e65310f05c13b1fed9ae024f753b18f67"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (51 matched lines \u00D7 2 locations): assets/static/acg.js:1075 \u00B7 assets/user/js/treasure.js:11 \u2014 the two spans are one implementation copied and then locally edited \u2014 495 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":"assets/static/acg.js"},"region":{"startLine":1075}}}],"partialFingerprints":{"codehealthFindingId/v1":"53f4fb42aa4825dcfa58699d8e1d2b4349be57060145b68e588786e14a97ee77"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (50 matched lines \u00D7 2 locations): assets/static/acg.js:11 \u00B7 assets/user/controller/index/item.js:218 \u2014 the two spans are one implementation copied and then locally edited \u2014 532 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":"assets/static/acg.js"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"72d684307d5296c138fb8a3f3ec1b73f256e5c41ef4e405c2cdb9cb9e517dabd"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (49 lines \u00D7 2 locations): assets/user/controller/business/business.js:180 \u00B7 assets/user/controller/business/business.js:323 \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":"assets/user/controller/business/business.js"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f1a3ebbccb0ab67deeece23cdcecc59cdd6aa92559e9eb35f2f2b69a6b7f56f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (45 lines \u00D7 2 locations): assets/admin/controller/trade/coupon.js:334 \u00B7 assets/user/controller/business/coupon.js:96 \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":"assets/admin/controller/trade/coupon.js"},"region":{"startLine":334}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9a7fe698f7b7e486660af5086c2e8c3dddc9af1c3f14d869cb7ad603dc03d2c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (44 lines \u00D7 2 locations): assets/admin/controller/user/index.js:481 \u00B7 assets/admin/controller/user/index.js:529 \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":"assets/admin/controller/user/index.js"},"region":{"startLine":481}}}],"partialFingerprints":{"codehealthFindingId/v1":"af005c3341167887241153d8cf804c1c68881088945cd4d21270681d97071941"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (44 lines \u00D7 2 locations): assets/user/controller/business/card.js:343 \u00B7 assets/user/controller/business/coupon.js:313 \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":"assets/user/controller/business/card.js"},"region":{"startLine":343}}}],"partialFingerprints":{"codehealthFindingId/v1":"519881d34a0d7bb9741925fdb9ae0a60c82fb0c6157afa9558c3ca0cec1857d4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (41 lines \u00D7 2 locations): assets/admin/controller/config/plugin.js:158 \u00B7 assets/admin/controller/pay/plugin.js:52 \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":"assets/admin/controller/config/plugin.js"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"eac6d78137eda607bb852b0225c1cf18a4ab55fb8eb91ec3039df76a9d990df6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (41 lines \u00D7 2 locations): assets/user/controller/business/card.js:103 \u00B7 assets/user/controller/business/commodity.js:426 \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":"assets/user/controller/business/card.js"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f69e4e99e38a0519eed2ca868ec7ae1e9a13749b67ca3bbc12ab642805a7de8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (38 lines \u00D7 2 locations): assets/admin/controller/trade/card.js:201 \u00B7 assets/admin/controller/trade/commodity.js:890 \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":"assets/admin/controller/trade/card.js"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"d28dbb50f30c93be39c9fbd26ab406b1b8e4f38505885a501ef81f0279d08c70"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (36 lines \u00D7 2 locations): assets/admin/controller/store/home.js:1221 \u00B7 assets/admin/controller/store/home.js:1519 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/store/home.js"},"region":{"startLine":1221}}}],"partialFingerprints":{"codehealthFindingId/v1":"c06178352afcee575d65319b86556a60a9da00b32ea38c4be14846d736cb73c1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (36 lines \u00D7 2 locations): assets/static/acg.js:298 \u00B7 assets/static/pay.js:24 \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":"assets/static/acg.js"},"region":{"startLine":298}}}],"partialFingerprints":{"codehealthFindingId/v1":"15257a224ed5ef9a451e30c6306c48cdf6bae9b2b89d50550f03f0aa6c523fe3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (35 lines \u00D7 2 locations): assets/admin/controller/store/developer.js:640 \u00B7 assets/admin/controller/store/home.js:1313 \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":"assets/admin/controller/store/developer.js"},"region":{"startLine":640}}}],"partialFingerprints":{"codehealthFindingId/v1":"94ea0a8ab599d38df35dbf9f6a09288c1764eac3d78bd0d0b0cf5826634f0978"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (34 lines \u00D7 2 locations): assets/user/controller/business/card.js:305 \u00B7 assets/user/controller/business/coupon.js:276 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is a DECLARATION HEADER \u2014 the name, parameter list with its constraints and defaults, and base-type clause of a declaration \u2014 rather than statements inside a body. A header cannot be lifted into a helper: there is no expression position for a call to stand in, and the copies are frequently required to match, because one declaration passes its parameters straight through to the other. So the move is not extraction. Give the repeated pieces names \u2014 factor a long constraint or base-type expression into one named type both declarations refer to \u2014 and where the headers must stay identical, derive one from the other (a shared base declaration, or a single alias that spells the parameter set once) so that changing it once changes both. Where the language offers neither, treat the two as a pair that must be edited together: they drift apart the first time only one of them is changed, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/user/controller/business/card.js"},"region":{"startLine":305}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d8cc8dac3b49cb749c09d285df339fc49435d8a33ecb586ea2ef0b733d00ce2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (33 lines \u00D7 2 locations): assets/admin/controller/trade/coupon.js:451 \u00B7 assets/admin/controller/user/recharge.order.js:86 \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":"assets/admin/controller/trade/coupon.js"},"region":{"startLine":451}}}],"partialFingerprints":{"codehealthFindingId/v1":"c19c11dfce178b8ab4b1676d35b82d3020d6d97fb3d121896f3080d7231f98ad"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (32 lines \u00D7 3 locations): assets/common/js/component/table.js:309 \u00B7 assets/common/js/component/table.js:447 \u00B7 assets/common/js/component/table.js:1724 \u2014 all 3 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/common/js/component/table.js"},"region":{"startLine":309}}}],"partialFingerprints":{"codehealthFindingId/v1":"8eab47b311dd64235557aeb44f25dea76a00bed9481e51548d87566893981ef1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (31 matched lines \u00D7 2 locations): assets/admin/controller/user/cash.js:5 \u00B7 assets/admin/controller/user/index.js:7 \u2014 the two spans are one implementation copied and then locally edited \u2014 218 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":"assets/admin/controller/user/cash.js"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"a11587bb04bb30c0057ffe5e4e7a6932e2bd55fe4f26cfdcaad3baf86de81645"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (30 lines \u00D7 2 locations): assets/admin/js/mobile/recipes.js:1640 \u00B7 assets/admin/js/mobile/recipes.js:1760 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/js/mobile/recipes.js"},"region":{"startLine":1640}}}],"partialFingerprints":{"codehealthFindingId/v1":"e10e87dca3c8508e2aa0f43f34a9faf4723ef872b687b3cb4ad4d5ede50e4422"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (29 lines \u00D7 2 locations): assets/admin/controller/config/plugin.js:47 \u00B7 assets/admin/controller/dashboard/index.js:711 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/config/plugin.js"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1b4223410135dc389696845f9059ef31b8ffa5d56257915dc860d56ad448c9a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (29 lines \u00D7 2 locations): assets/admin/controller/trade/card.js:46 \u00B7 assets/admin/controller/trade/coupon.js:47 \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":"assets/admin/controller/trade/card.js"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f40cd2df7003b51a324560eeb79aae368f7ce17304854269f8b810c930d676f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (29 lines \u00D7 2 locations): assets/admin/js/dict.js:83 \u00B7 assets/user/js/dict.js:21 \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":"assets/admin/js/dict.js"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"56dbf4101ab9762f388f5e87c7521c9266cb2a176a143b351060b08e5e48ef94"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (28 lines \u00D7 2 locations): assets/admin/controller/trade/order.js:298 \u00B7 assets/admin/controller/user/index.js:95 \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":"assets/admin/controller/trade/order.js"},"region":{"startLine":298}}}],"partialFingerprints":{"codehealthFindingId/v1":"050ea87eeb1a56ea712139c4f2d686ded08a73f6be1928282935363dff8d6a0a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (28 lines \u00D7 2 locations): assets/user/controller/security/email.js:19 \u00B7 assets/user/controller/security/phone.js:19 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/user/controller/security/email.js"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f9593908bb2ff4bcfe5e974275fbf2f46243be5a9fe027c17d1c41eab830b63"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 2 locations): assets/admin/controller/config/google2fa.js:128 \u00B7 assets/admin/controller/config/google2fa.js:180 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/config/google2fa.js"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"49e91f1547303220d5e7a2236d86f63a87cfef6552bc548b5d89d4f31ff8534f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 3 locations): assets/admin/controller/trade/card.js:356 \u00B7 assets/admin/controller/trade/coupon.js:458 \u00B7 assets/admin/controller/user/recharge.order.js:94 \u2014 the 3 copies are spread across 3 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/trade/card.js"},"region":{"startLine":356}}}],"partialFingerprints":{"codehealthFindingId/v1":"6329408998545e3c1dde8d62842af4b06b9cf73d27149db5329b53cbce67a481"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2 locations): assets/admin/controller/config/plugin.js:439 \u00B7 assets/admin/controller/pay/plugin.js:567 \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":"assets/admin/controller/config/plugin.js"},"region":{"startLine":439}}}],"partialFingerprints":{"codehealthFindingId/v1":"f14c4687aee502e144bf8d2e36efdbbc4e29438769a62e3fba03217ef397de10"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2 locations): assets/admin/controller/user/ticket.js:117 \u00B7 assets/user/controller/user/ticket.detail.js: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":"assets/admin/controller/user/ticket.js"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"7caf58f0d82342236b5489203c7a8053b5277eabafe66e4189aecbbc3976caba"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2 locations): assets/admin/js/menu.js:2671 \u00B7 assets/admin/js/menu.js:3513 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/js/menu.js"},"region":{"startLine":2671}}}],"partialFingerprints":{"codehealthFindingId/v1":"b07cf09ec9dc2bb188bdb8f66d8919fc7aa001aea7afee35c0176ec8534bedb3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2 locations): assets/common/js/component/form.js:1022 \u00B7 assets/static/modules/hex.js:603 \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":"assets/common/js/component/form.js"},"region":{"startLine":1022}}}],"partialFingerprints":{"codehealthFindingId/v1":"5de117170c4092febbaf612f44186c6d187e78f61fb013e8ae8b95311aa14db8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (25 matched lines \u00D7 2 locations): assets/common/js/component/search.js:28 \u00B7 assets/common/js/component/search.js:60 \u2014 the two spans are one implementation copied and then locally edited \u2014 100 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/common/js/component/search.js"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"33fae6517351caa6a548c596e61637033f99d3d706c8296561f4d063cfcf44d0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2 locations): assets/static/codemirror/mode/css/css.js:762 \u00B7 assets/static/codemirror/mode/css/css.js:805 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/static/codemirror/mode/css/css.js"},"region":{"startLine":762}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9773e8034297c338de243270b900a644a8ddc73e1e2ec2b74aa4e2e6baa903d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (23 matched lines \u00D7 2 locations): assets/admin/controller/manage/manage.js:26 \u00B7 assets/admin/controller/shared/store.js:1287 \u2014 the two spans are one implementation copied and then locally edited \u2014 155 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":"assets/admin/controller/manage/manage.js"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d0552ae91fdae7537bc90249b78577749be8af0150416d991f30ab917c3e78f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 3 locations): assets/user/controller/business/card.js:42 \u00B7 assets/user/controller/business/commodity.js:365 \u00B7 assets/user/controller/business/coupon.js:79 \u2014 the 3 copies are spread across 3 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/user/controller/business/card.js"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"95fa2bdf72e42019e357aacb917d841a75271c0121d0d77f9fbf9f8dc76317b8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 3 locations): assets/admin/controller/config/plugin.js:508 \u00B7 assets/admin/controller/config/plugin.js:582 \u00B7 assets/admin/controller/config/plugin.js:637 \u2014 all 3 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/config/plugin.js"},"region":{"startLine":508}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6b8fe36be9a72a8594f36d4e6029e1bf81bc55e67d9c0604adfc201175074dd"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (22 matched lines \u00D7 2 locations): assets/admin/controller/manage/manage.js:121 \u00B7 assets/admin/controller/trade/category.js:114 \u2014 the two spans are one implementation copied and then locally edited \u2014 115 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":"assets/admin/controller/manage/manage.js"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"66de6abe359e188a24d4e26f49a3a238301de2f7b7002e748bfd1948e5fcc921"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2 locations): assets/admin/controller/user/business.level.js:112 \u00B7 assets/admin/controller/user/group.js:385 \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":"assets/admin/controller/user/business.level.js"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3ce652078f8b56ef6e5b0ee522e70ec7f7534794394b1cecb89613f4bcabc6d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2 locations): assets/admin/js/dict.js:1 \u00B7 assets/user/js/dict.js:1 \u2014 the 2 copies are spread across 2 files, and each CITED SPAN is a SPECIALISATION DECLARATION \u2014 a type whose \u0060extends\u0060 clause names a base and whose body hands that base its own values through \u0060super(\u2026)\u0060. The shared module this dimension usually asks you to extract already exists: it is that base, every one of these sites already reaches it, and the \u0060super(\u2026)\u0060 call this row matched on is where each site passes its differences in. So do not read this as an extract-a-helper row \u2014 there is no missing helper, and what is left at each site is the declaration of one distinct specialisation, which cannot be deleted without deleting the thing it declares. Read what actually differs between the spans, because two different answers follow. Where the sites differ only in the values they hand the base \u2014 a type argument, a service, an alias, a cache \u2014 the repetition is a TEMPLATE, and the only moves that collapse it are to generate these declarations from the set they enumerate or to replace the repeated construction with one factory each site calls with its own values; where that set is the point, each site pinning one distinct thing, the repetition IS the enumeration and there is nothing to remove. Where instead a span carries logic OUTSIDE the delegation that is the same at every site, that logic is the part to move, and its home is the base type rather than a new module. Reported because the copies still drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/js/dict.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ded80c9e3c7c16560ce299f814c787d2d7d002e8721ee704c1ceef1bb5bd8669"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 3 locations): assets/admin/js/menu.js:2976 \u00B7 assets/admin/js/menu.js:3178 \u00B7 assets/admin/js/menu.js:3449 \u2014 all 3 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/js/menu.js"},"region":{"startLine":2976}}}],"partialFingerprints":{"codehealthFindingId/v1":"694f37fa9aa608b4ae0c7dd1e71999a7ac713144dd608b5833ff75a95f9e8217"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2 locations): assets/admin/controller/config/other.js:322 \u00B7 assets/admin/controller/config/security.js:20 \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":"assets/admin/controller/config/other.js"},"region":{"startLine":322}}}],"partialFingerprints":{"codehealthFindingId/v1":"1543a56934fa5e6248d3c682b5ed3c50c3e8c8443781f9ddcc9baad4c5ba2303"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2 locations): assets/admin/controller/pay/api.js:47 \u00B7 assets/admin/controller/pay/api.js:72 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/pay/api.js"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"25243b128e757d041c7505b2bf51efc23e9b11a2ad6c0252dd9c9fe27dfb946a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2 locations): assets/admin/js/menu.js:2904 \u00B7 assets/admin/js/menu.js:2931 \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":"assets/admin/js/menu.js"},"region":{"startLine":2904}}}],"partialFingerprints":{"codehealthFindingId/v1":"a97a388d52a7c7493bc60576c7aafc3287f09fecbc79ddf9045cfacd30269ee8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2 locations): assets/admin/js/mobile/overlay.js:558 \u00B7 assets/admin/js/mobile/workflows.js:561 \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":"assets/admin/js/mobile/overlay.js"},"region":{"startLine":558}}}],"partialFingerprints":{"codehealthFindingId/v1":"03cd89242ff9d0bd65461ad8954551337a1874c1ca8b2ae895b0a19f61559af1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2 locations): assets/common/js/component/table.js:220 \u00B7 assets/common/js/component/table.js:554 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/common/js/component/table.js"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4195ceac2968b82fe92829fb722a3515b821bac2192cb25888f993cfcd84a02"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2 locations): assets/static/modules/hex.js:1214 \u00B7 assets/static/pay.js:75 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/static/modules/hex.js"},"region":{"startLine":1214}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea691b82c170d4d9c75b237be375535f5eff6cfba22e41004a4727e9e91896ca"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2 locations): assets/admin/controller/dashboard/index.js:721 \u00B7 assets/common/js/component.js:130 \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":"assets/admin/controller/dashboard/index.js"},"region":{"startLine":721}}}],"partialFingerprints":{"codehealthFindingId/v1":"11a40f19b089092571e83a11ee09ee7e10ee77109e4d235e550774361800b315"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2 locations): assets/admin/controller/file/index.js:18 \u00B7 assets/admin/controller/shared/store.js:173 \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":"assets/admin/controller/file/index.js"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"b91c14c93025426151f6e3e5d53dba92aaade4b49ebbcfb0e78f25198d38b9f8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2 locations): assets/admin/controller/trade/order.js:712 \u00B7 assets/admin/controller/user/recharge.order.js:55 \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":"assets/admin/controller/trade/order.js"},"region":{"startLine":712}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2b5cab68f635beaf0b9aef4b0eb704e38fd529c1fe19af5dfe456f44106bb05"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2 locations): assets/common/js/component/tree.select.js:2571 \u00B7 assets/common/js/component/tree.select.js:3757 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/common/js/component/tree.select.js"},"region":{"startLine":2571}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6b88d19ac8e02cb504e85400e59de726637aa2d0859b3015dd056cf00d8570a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2 locations): assets/admin/controller/config/plugin.js:593 \u00B7 assets/admin/controller/config/plugin.js:648 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/config/plugin.js"},"region":{"startLine":593}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1ecd7416990af215b02e6c85f61c9e7d887ced2fd706e80c066dbb2bcdc4d39"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 3 locations): assets/admin/controller/trade/card.js:402 \u00B7 assets/user/controller/dashboard/index.js:70 \u00B7 assets/user/controller/user/purchase.record.js:75 \u2014 the 3 copies are spread across 3 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/trade/card.js"},"region":{"startLine":402}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef56437aff43be91bdb4ede8237f15c0a7c29e24ef7e05108b23406474d36162"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2 locations): assets/admin/controller/trade/coupon.js:613 \u00B7 assets/user/controller/business/coupon.js:341 \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":"assets/admin/controller/trade/coupon.js"},"region":{"startLine":613}}}],"partialFingerprints":{"codehealthFindingId/v1":"46bbc23b0fcbf8e3b1710b51899655dcc6ef7e1cabedbfdd7aa54c48bc7e6bd5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2 locations): assets/admin/js/menu.js:3009 \u00B7 assets/admin/js/menu.js:3200 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/js/menu.js"},"region":{"startLine":3009}}}],"partialFingerprints":{"codehealthFindingId/v1":"610937c20e72573ab7730fbcfde137c38a9fcea5319ac15aadf67ddc65afba8d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2 locations): assets/admin/js/menu.js:3064 \u00B7 assets/admin/js/menu.js:3635 \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":"assets/admin/js/menu.js"},"region":{"startLine":3064}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7a897bcfaa84b41c4f05a8d506d7c2a7960b1f7d5e01916e373e681392009b2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 6 locations): assets/user/controller/auth/forget.email.js:23 \u00B7 assets/user/controller/auth/forget.phone.js:23 \u00B7 assets/user/controller/auth/register.js:20 \u00B7 assets/user/controller/auth/register.js:47 \u00B7 \u002B2 more site(s) not listed \u2014 the 6 copies are spread across 5 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/user/controller/auth/forget.email.js"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4263d883b71eefb2cc044c2cfb48928c9650cd3c30f1e06cf2d07f9d907eaef"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): assets/admin/controller/config/lang.js:264 \u00B7 assets/admin/controller/config/lang.js:317 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/config/lang.js"},"region":{"startLine":264}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c59c3b18c07cf78d994ca7e9b65d01e6226cfb5127d87e2d95cddb0454d6698"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): assets/admin/controller/store/developer.js:148 \u00B7 assets/admin/controller/store/home.js:435 \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":"assets/admin/controller/store/developer.js"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba832ac9e8aaa589dabe526399331968d3821b3d802550b9f0bdf1f8138bdfc7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): assets/admin/controller/store/home.js:1378 \u00B7 assets/admin/controller/store/home.js:1444 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/store/home.js"},"region":{"startLine":1378}}}],"partialFingerprints":{"codehealthFindingId/v1":"00b73992405b137f4726090d155718862a7c2de1f25106bc704ad0548387ccf6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): assets/admin/js/mobile/recipes.js:64 \u00B7 assets/admin/js/mobile/recipes.js:84 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/js/mobile/recipes.js"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"e668b7b0fb37bc702e3dce49e3695c793da590fc165e2fa9fe48fbc9dc51243a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (17 matched lines \u00D7 2 locations): assets/admin/js/webauthn.js:29 \u00B7 assets/user/js/webauthn.js:34 \u2014 the two spans are one implementation copied and then locally edited \u2014 117 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":"assets/admin/js/webauthn.js"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ade5a4ff4305b2bc701a2ecf52f10f29f98100f2d15f7937f5523f99da0d156"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): assets/static/acg.js:97 \u00B7 assets/static/pay.js:2 \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":"assets/static/acg.js"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"caf359538121b48ab88928805245cd78e6076e36a268a73622056d11e0624f0b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): assets/static/codemirror/mode/python/python.js:227 \u00B7 assets/static/codemirror/mode/python/python.js:260 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/static/codemirror/mode/python/python.js"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"cde0d2610e9345a51d284cf987ad00313591266103a78dd0287730965a432bad"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): assets/admin/controller/auth/login.js:28 \u00B7 assets/user/controller/auth/login.js:2 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/auth/login.js"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"85fa1211b9bedef1e6b5ff7689bf55263a825fb324c7f7e8d887b79d34627254"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): assets/admin/controller/config/plugin.js:3 \u00B7 assets/admin/controller/user/cash.js:3 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/config/plugin.js"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a6a161e154c1d5a07c1607a05c2389aac8db2a66137542a1593746161b46da7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 3 locations): assets/admin/controller/pay/plugin.js:16 \u00B7 assets/admin/controller/trade/coupon.js:151 \u00B7 assets/admin/controller/trade/order.js:28 \u2014 the 3 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another. There is one copy in each of 3 separate files rather than several in one place, so check first whether these are sibling modules that each declare their own version of one shape \u2014 one per entity, per provider, per language. Where they are, no single extracted module collapses them: each module still has to be written, and what recurs is the TEMPLATE. The moves that do collapse a template are to generate these modules from the set they enumerate, or to replace the repeated construction with one factory each site calls with its own values \u2014 and where the set is the point, each module pinning one distinct thing, the repetition IS the enumeration and there is nothing to delete."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/pay/plugin.js"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"73cf0dad740475da41859b1cd65ac68f2a765b2548817ba364b94773dd6aa2a5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): assets/admin/controller/store/home.js:1176 \u00B7 assets/admin/controller/store/home.js:1477 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/store/home.js"},"region":{"startLine":1176}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d229c808a63a0aea9e2be541570aece12afa4ad6be363bf75d6634eabacfb16"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): assets/admin/controller/trade/order.js:533 \u00B7 assets/user/controller/user/purchase.record.js:46 \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":"assets/admin/controller/trade/order.js"},"region":{"startLine":533}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddce905d0f4e40d1a6e15a94b932861d74da7010f05f3203e4d74ca87375a6ec"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): assets/admin/js/dict.js:35 \u00B7 assets/user/js/dict.js:95 \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":"assets/admin/js/dict.js"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"da670df7b2413a1c59a5815a14b984f3eaa78a2693d3f6a6d112135ce6d92680"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): assets/common/js/component/form.js:1112 \u00B7 assets/common/js/component/form.js:1972 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/common/js/component/form.js"},"region":{"startLine":1112}}}],"partialFingerprints":{"codehealthFindingId/v1":"a49929c3753fa0546231bb6d2ed782e9b45f4a643f83a503c8b1cdfbb2837723"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): assets/static/codemirror/mode/javascript/javascript.js:479 \u00B7 assets/static/codemirror/mode/javascript/javascript.js:648 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/static/codemirror/mode/javascript/javascript.js"},"region":{"startLine":479}}}],"partialFingerprints":{"codehealthFindingId/v1":"431f17380619a0c0eabb1f9715d9c8f690859f61a40b2f8e8bf20af6d1948378"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): assets/admin/controller/trade/coupon.js:184 \u00B7 assets/user/controller/business/coupon.js:25 \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":"assets/admin/controller/trade/coupon.js"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e1aace82261588f17cb1ce89995fa3afbc5e27c3a05b136834da98d2704c464"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): assets/admin/controller/trade/drag-sort.js:418 \u00B7 assets/admin/controller/trade/drag-sort.js:816 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/trade/drag-sort.js"},"region":{"startLine":418}}}],"partialFingerprints":{"codehealthFindingId/v1":"79f48da4c47354d8d16fc73aba915534d351b32d4a7fa8710bd23a242e92d8a3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (15 matched lines \u00D7 2 locations): assets/admin/controller/trade/drag-sort.js:652 \u00B7 assets/admin/controller/trade/drag-sort.js:866 \u2014 the two spans are one implementation copied and then locally edited \u2014 173 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/trade/drag-sort.js"},"region":{"startLine":652}}}],"partialFingerprints":{"codehealthFindingId/v1":"e85b6e78484ac7aa5f00768e45356ca4cbe44244e70d51cf8afc74253d781756"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): assets/user/controller/business/category.js:103 \u00B7 assets/user/controller/business/commodity.js:588 \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":"assets/user/controller/business/category.js"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e286ee085fa63db79e3f988ebe6d3c8c8941569759aa783e7a42aabdaa402f3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): assets/user/controller/user/message.js:26 \u00B7 assets/user/js/glass.js:144 \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":"assets/user/controller/user/message.js"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d0e615afdf67067a23f39a65d4649a58fbe5dfe77669d8d17bb162b754f4139"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): assets/admin/controller/auth/lock.js:57 \u00B7 assets/admin/controller/manage/passkey.js:16 \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":"assets/admin/controller/auth/lock.js"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"985704f42b77e7d356461c6ca0bf5843e13e467d0134744bf5a6e91fed4766e3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (14 matched lines \u00D7 2 locations): assets/admin/controller/shared/store.js:1913 \u00B7 assets/admin/controller/trade/card.js:700 \u2014 the two spans are one implementation copied and then locally edited \u2014 109 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":"assets/admin/controller/shared/store.js"},"region":{"startLine":1913}}}],"partialFingerprints":{"codehealthFindingId/v1":"65e2b819aa9d04c1d9f163e2b1657b5f2a5752c064f8619f8a92ff35ad48cc9a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): assets/admin/controller/store/developer.js:5 \u00B7 assets/admin/controller/store/home.js:233 \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":"assets/admin/controller/store/developer.js"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"04ee9fab9a73c4be11313c39030509f67c80c9bb2038acfa3da2a3b8d8893d73"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): assets/admin/controller/trade/commodity.js:1333 \u00B7 assets/admin/controller/trade/commodity.js:1350 \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":"assets/admin/controller/trade/commodity.js"},"region":{"startLine":1333}}}],"partialFingerprints":{"codehealthFindingId/v1":"c48e01cca5c52abf3438ab26e97afe6753ead21e9cb631c9fa126cd211ec3941"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): assets/admin/controller/user/cash.js:227 \u00B7 assets/admin/controller/user/cash.js:284 \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":"assets/admin/controller/user/cash.js"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"50111955906cc2fee441d0ecb98a759011080dd9e7b76d5c38891cd2fd42af5c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3 locations): assets/admin/controller/user/index.js:719 \u00B7 assets/admin/controller/user/recharge.order.js:153 \u00B7 assets/admin/controller/user/recharge.order.js:204 \u2014 the 3 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/user/index.js"},"region":{"startLine":719}}}],"partialFingerprints":{"codehealthFindingId/v1":"374a547d4e1a1dd2d215be098208a237b79627829a051fb5fafd519449a260e2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): assets/admin/controller/user/ticket.js:666 \u00B7 assets/admin/controller/user/ticket.js:702 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/user/ticket.js"},"region":{"startLine":666}}}],"partialFingerprints":{"codehealthFindingId/v1":"86f56c588201f80c3ecc35430afad416983edd3553f5d617e0b7ae4af01a124f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (14 matched lines \u00D7 2 locations): assets/admin/js/lock.js:60 \u00B7 assets/admin/js/lock.js:89 \u2014 the two spans are one implementation copied and then locally edited \u2014 69 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/js/lock.js"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd886c0acfc564fd554b73fecbaa8f6d6911a00437dce871329f96e40a6e98fa"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): assets/common/js/component/form.js:1216 \u00B7 assets/common/js/component/form.js:1241 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/common/js/component/form.js"},"region":{"startLine":1216}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1bc6a0f68a20d5bd6c93b13c7aa9ee0737d545562621c5e6aebe528e832e32d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): assets/common/js/component/tree.select.js:635 \u00B7 assets/common/js/component/tree.select.js:2593 \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":"assets/common/js/component/tree.select.js"},"region":{"startLine":635}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f44acb71fa8b0b465e6f6334156cadbbec70e1ddc79a094b4950f3dcce25bcb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): assets/common/js/util.js:1161 \u00B7 assets/static/modules/hex.js:1239 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/common/js/util.js"},"region":{"startLine":1161}}}],"partialFingerprints":{"codehealthFindingId/v1":"a96736eeba1f467081e50f577f3d07457cb1de8e7b031a5abd28a1e7d7d91397"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): assets/static/acg.js:964 \u00B7 assets/static/modules/hex.js:830 \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":"assets/static/acg.js"},"region":{"startLine":964}}}],"partialFingerprints":{"codehealthFindingId/v1":"c593abf0f21d42cd658ada212e728a4d92424f6072999d2885b511533d69e00e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): assets/static/pay.js:100 \u00B7 assets/static/pay.js:158 \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":"assets/static/pay.js"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"2518df94619b204ad11157d7203f0db9c9bea2e8f00612a69b082a46df26a150"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): assets/static/pay.js:127 \u00B7 assets/static/pay.js:141 \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":"assets/static/pay.js"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"388cc4ab2b28129c9b93d89024cde86ff83403bee0e4ae8be7c2d356f89573e8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (14 matched lines \u00D7 2 locations): assets/user/controller/user/ticket.create.js:251 \u00B7 assets/user/controller/user/ticket.detail.js:282 \u2014 the two spans are one implementation copied and then locally edited \u2014 106 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":"assets/user/controller/user/ticket.create.js"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"e629e4063ca14c440e79eed831fca568c9c4279bfd3bec4833823d3e50999b15"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3 locations): assets/admin/controller/config/plugin.js:489 \u00B7 assets/admin/controller/config/plugin.js:542 \u00B7 assets/admin/controller/config/plugin.js:619 \u2014 all 3 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/config/plugin.js"},"region":{"startLine":489}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddabce6cd989fab9cffa7b1fe0b52f95b8064044ae071d18fe35ce6d6a849e3f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): assets/admin/controller/file/index.js:95 \u00B7 assets/admin/controller/file/index.js:146 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/file/index.js"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"9027556a8e16317d3c03d17c1953857398fe9de6b7e4f01682feaca114d0f5a5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): assets/admin/controller/manage/log.js:50 \u00B7 assets/admin/controller/user/bill.js:53 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/manage/log.js"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"97850ed9627a99b1754d55e5b9eb5cf7fda00a77e39ac109046d4200d4046fdf"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): assets/admin/controller/trade/category.js:173 \u00B7 assets/admin/controller/trade/category.js:187 \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":"assets/admin/controller/trade/category.js"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fc276ea7761712eb24c7062bca61864d1efe604cca33c43a29045818fd3e846"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): assets/admin/js/menu.js:1895 \u00B7 assets/admin/js/menu.js:1942 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/js/menu.js"},"region":{"startLine":1895}}}],"partialFingerprints":{"codehealthFindingId/v1":"99942f2c9c7f65481e85a85905d68a3fb2f9862793be81ba8249831396fab74f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): assets/admin/js/menu.js:3238 \u00B7 assets/admin/js/menu.js:3593 \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":"assets/admin/js/menu.js"},"region":{"startLine":3238}}}],"partialFingerprints":{"codehealthFindingId/v1":"14fc941694b12b7ad7c421c461306ef4e61154d9aa5908dac249a55c77a43fc8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): assets/common/js/component/tree.select.js:294 \u00B7 assets/common/js/component/tree.select.js:2805 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/common/js/component/tree.select.js"},"region":{"startLine":294}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca5fa850e80f50fd117a44f17bc2505c4ab8966bd67621edc1e9bb5d1530da57"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): assets/common/js/component/tree.select.js:3430 \u00B7 assets/common/js/component/tree.select.js:3449 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/common/js/component/tree.select.js"},"region":{"startLine":3430}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef3d64f4a879ca7a433e5ad77296ccf8fa19d1f91186defdedff70a27ec05758"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): assets/common/js/format.js:166 \u00B7 assets/common/js/format.js:188 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/common/js/format.js"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"173cc8853587c2364ec66251ef555e15c16d1093a01856160f1843de771f2bb5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): assets/common/js/util.js:738 \u00B7 assets/static/modules/hex.js:108 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/common/js/util.js"},"region":{"startLine":738}}}],"partialFingerprints":{"codehealthFindingId/v1":"27c110ad08e172cf842203aaf9035b59ed33abc1bcb59851832e8967c4cc73a9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): assets/static/acg.js:527 \u00B7 assets/static/acg.js:874 \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":"assets/static/acg.js"},"region":{"startLine":527}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f371e5380fff360a30e3fae7a61e48bfb770ed57a873d0ecaa029458f2e8660"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): assets/static/modules/hex.js:1011 \u00B7 assets/static/modules/hex.js:1046 \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":"assets/static/modules/hex.js"},"region":{"startLine":1011}}}],"partialFingerprints":{"codehealthFindingId/v1":"af6e00052d7cd61aa791f5ca7b9c4ae4cc7e306f95d86def89d272f09f6f0cc7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3 locations): assets/user/controller/auth/register.js:28 \u00B7 assets/user/controller/security/email.js:19 \u00B7 assets/user/controller/security/phone.js:19 \u2014 the 3 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another. There is one copy in each of 3 separate files rather than several in one place, so check first whether these are sibling modules that each declare their own version of one shape \u2014 one per entity, per provider, per language. Where they are, no single extracted module collapses them: each module still has to be written, and what recurs is the TEMPLATE. The moves that do collapse a template are to generate these modules from the set they enumerate, or to replace the repeated construction with one factory each site calls with its own values \u2014 and where the set is the point, each module pinning one distinct thing, the repetition IS the enumeration and there is nothing to delete."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/user/controller/auth/register.js"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf8988950c537b6bbdb5159c45d49fdda0d7b1009ae7f89f1d1805412cc774d6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): assets/admin/controller/config/index.js:18 \u00B7 assets/admin/controller/config/sms.js:10 \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":"assets/admin/controller/config/index.js"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bca6c270cd211ae52a344291dfcceee76ce42ed18a093859700067a1d69a621"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 4 locations): assets/admin/controller/config/index.js:45 \u00B7 assets/admin/controller/config/mail.js:20 \u00B7 assets/admin/controller/config/other.js:58 \u00B7 assets/admin/controller/config/sms.js:25 \u2014 the 4 copies are spread across 4 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/config/index.js"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"45805ae97e3903eb93e2d3d93025a40d659ba4fc96e97b3ed21d14bcdbdf6ea8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): assets/admin/controller/pay/api.js:17 \u00B7 assets/admin/controller/trade/coupon.js:19 \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":"assets/admin/controller/pay/api.js"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b3126c3935a6a9b502157a822e06496e0f594e7dee84162d4950f79a12c3e53"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (12 matched lines \u00D7 2 locations): assets/admin/controller/shared/store.js:1476 \u00B7 assets/admin/controller/shared/store.js:1512 \u2014 the two spans are one implementation copied and then locally edited \u2014 91 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/shared/store.js"},"region":{"startLine":1476}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5b7c69b89779b2dd5c2e9b67143ff0aadf90d7a18b673229f1912d00d4fac72"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 4 locations): assets/admin/controller/trade/coupon.js:138 \u00B7 assets/admin/controller/user/cash.js:167 \u00B7 assets/admin/controller/user/cash.js:232 \u00B7 assets/admin/controller/user/cash.js:289 \u2014 the 4 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":"assets/admin/controller/trade/coupon.js"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6d35bb384b72339bcb6357479931738a22ebaec8e2ff62b10bfb39866973615"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): assets/admin/controller/user/message.js:47 \u00B7 assets/admin/controller/user/message.js:552 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/user/message.js"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"03026a8b308b6689eb9722b6906d0775c92b00b500b95b13827a307716b3e399"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): assets/admin/js/mobile/fallback.js:3185 \u00B7 assets/admin/js/mobile/fallback.js:3201 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/js/mobile/fallback.js"},"region":{"startLine":3185}}}],"partialFingerprints":{"codehealthFindingId/v1":"aff0286e7f344f9a043e7e90dcc7be614fb7aa7ea8392c2736495cb7464a53c2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): assets/common/js/component.js:126 \u00B7 assets/user/controller/user/ticket.detail.js:50 \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":"assets/common/js/component.js"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"e06cbd05ed52640c2a678c168d0f9af8fe4c9736894f1a3e6fec361f9e98ae80"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): assets/common/js/component/form.js:405 \u00B7 assets/common/js/component/form.js:430 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/common/js/component/form.js"},"region":{"startLine":405}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c0e9ac9ba31868cd82f289a99059c1f8481fa4a39786fe9765ca48be84b585b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): assets/common/js/component/form.js:1365 \u00B7 assets/common/js/component/form.js:1379 \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":"assets/common/js/component/form.js"},"region":{"startLine":1365}}}],"partialFingerprints":{"codehealthFindingId/v1":"8215946bcb6e694e21147decfaea576f65bf4bb6104100b87eee0cbdb8b8becf"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): assets/static/pay.js:76 \u00B7 assets/static/pay.js:88 \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":"assets/static/pay.js"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"f63261ffd409b7f0d697904566d967dd2db4df0dd66ff73c4a64a13b7186812a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): assets/admin/controller/config/plugin.js:36 \u00B7 assets/admin/controller/store/developer.js:22 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/config/plugin.js"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5b3af8285f00e3155166bd4384d8e0210d9a37ea7b8976cdf7e36c9a5e94c6f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3 locations): assets/admin/controller/manage/manage.js:76 \u00B7 assets/admin/controller/shared/store.js:1382 \u00B7 assets/admin/controller/store/developer.js:360 \u2014 the 3 copies are spread across 3 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/manage/manage.js"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6ced246426fa26fff00805020a61a8c98b644a74877428906b0f5b932f66d48"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): assets/admin/controller/trade/card.js:110 \u00B7 assets/admin/controller/trade/commodity.js:801 \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":"assets/admin/controller/trade/card.js"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"8790aafc30021e5cb19857f1bd18b1f75440cae39634f0cde5e96ec456f1a3cd"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): assets/admin/controller/trade/coupon.js:651 \u00B7 assets/admin/controller/trade/coupon.js:666 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/trade/coupon.js"},"region":{"startLine":651}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e0d301f6c943b3cc20ef08546db5d5d31272bcd806ed2d44b60036938309c9a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): assets/admin/controller/trade/order.js:873 \u00B7 assets/admin/controller/user/recharge.order.js:362 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/trade/order.js"},"region":{"startLine":873}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d0cf7df5cf89579bfb27b65c082738cb8d55f759b713a4b0d2dbf7ab1259ff3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): assets/admin/js/menu.js:1547 \u00B7 assets/admin/js/menu.js:2540 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/js/menu.js"},"region":{"startLine":1547}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b5800965757276e29d7377836a395a35d027c31aad48ee6189f4177bbb4c729"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3 locations): assets/admin/js/menu.js:2314 \u00B7 assets/admin/js/menu.js:2679 \u00B7 assets/admin/js/menu.js:3521 \u2014 all 3 copies are in the same file, and what repeats is a LIST OF ENTRIES rather than behaviour \u2014 the same entries written out more than once. Extract them into one shared, exported constant and spread that constant into each site, rather than into a function the sites call: a list like this often lives in declarative metadata (a decorator\u0027s options object, a static configuration table) that a build step must be able to read statically, where a function call is not allowed. Adding an entry to one copy and not the other is the failure this prevents."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/js/menu.js"},"region":{"startLine":2314}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b3d3150fd14ccdc8fee4d14f95259982c389012f53f9b499e905de1864f8c46"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3 locations): assets/admin/js/menu.js:2513 \u00B7 assets/admin/js/menu.js:3085 \u00B7 assets/admin/js/menu.js:3254 \u2014 all 3 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/js/menu.js"},"region":{"startLine":2513}}}],"partialFingerprints":{"codehealthFindingId/v1":"67f7920b138d3acca850e3e6907402116750eb69ab509e521e28db8022f0fd6f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3 locations): assets/admin/js/menu.js:2796 \u00B7 assets/admin/js/menu.js:3112 \u00B7 assets/admin/js/menu.js:3284 \u2014 all 3 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/js/menu.js"},"region":{"startLine":2796}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ce207a58521ac0ae1ea4afd4f87781a0a810075be39907178d31b242dfe6e5e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): assets/admin/js/mobile/recipes.js:439 \u00B7 assets/admin/js/mobile/recipes.js:462 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/js/mobile/recipes.js"},"region":{"startLine":439}}}],"partialFingerprints":{"codehealthFindingId/v1":"edf6d67942154e9c260ab3c6f9c5031a6d5ec152cde925cd9f30f98677b49c9b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): assets/admin/js/util.js:2 \u00B7 assets/static/pay.js:206 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/js/util.js"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"24bd59917130fca7568691029cd4d8a5924936d23ebac4618506b8f6be3b19f8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): assets/common/js/component/form.js:119 \u00B7 assets/common/js/component/search.js:3 \u2014 the 2 copies are spread across 2 files, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/common/js/component/form.js"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb4bb225246269cdb1885d65b13c6c0b35f52f3122ed4be2c7aa4b69665c48c9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): assets/common/js/component/form.js:1585 \u00B7 assets/common/js/component/form.js:1648 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/common/js/component/form.js"},"region":{"startLine":1585}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d9958bb8640b5fd538d12766f01858a1f8409a42374488d4a583a387b9766c0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): assets/common/js/component/form.js:1784 \u00B7 assets/common/js/component/form.js:1824 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/common/js/component/form.js"},"region":{"startLine":1784}}}],"partialFingerprints":{"codehealthFindingId/v1":"f461613f477cc020500811b4f073f81f11a808fab89217bf5fc63d502d3678b0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): assets/static/acg.js:707 \u00B7 assets/static/acg.js:741 \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":"assets/static/acg.js"},"region":{"startLine":707}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e379b2cb3e04f5cb5c2f91a01d4c76682cddeb8d90601c5d6a3dd70be042766"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): assets/static/codemirror/lib/codemirror.js:8889 \u00B7 assets/static/codemirror/lib/codemirror.js:9440 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/static/codemirror/lib/codemirror.js"},"region":{"startLine":8889}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ba1c488705b52646f175251c184dc8436b6b10b4a3f7116a9d1b20a9710a85a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3 locations): assets/static/codemirror/mode/markdown/markdown.js:525 \u00B7 assets/static/codemirror/mode/markdown/markdown.js:537 \u00B7 assets/static/codemirror/mode/markdown/markdown.js:647 \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":"assets/static/codemirror/mode/markdown/markdown.js"},"region":{"startLine":525}}}],"partialFingerprints":{"codehealthFindingId/v1":"0911a416e465726cba8174113dde11862645dbf10577c5c5588bbfabd0378683"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): assets/static/codemirror/mode/python/python.js:205 \u00B7 assets/static/codemirror/mode/python/python.js:251 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/static/codemirror/mode/python/python.js"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b6c541337a5b2f614152f1f7930e6a4425efae32274a2cb0fb28fabe32ffde9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): assets/user/controller/business/business.js:263 \u00B7 assets/user/controller/business/business.js:398 \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":"assets/user/controller/business/business.js"},"region":{"startLine":263}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c0e07ecf7b3a486bd26c4a43530df205ee4a06c07fa3cee5561f7997d04ef81"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): assets/user/controller/user/ticket.detail.js:29 \u00B7 assets/user/controller/user/ticket.js:23 \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":"assets/user/controller/user/ticket.detail.js"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"77ecfc48d24c8c4ad523e7c96b64c8962046e9f02b4f6c995f5675cfec84c97e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (10 matched lines \u00D7 2 locations): assets/admin/controller/auth/login.js:172 \u00B7 assets/admin/controller/auth/login.js:331 \u2014 the two spans are one implementation copied and then locally edited \u2014 57 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/auth/login.js"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"849df5b84a3dfadacdbf2aa8a77fa5c8d7f5f066f2222435331c67796a14b814"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): assets/admin/controller/config/lang.js:234 \u00B7 assets/admin/controller/config/lang.js:246 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/config/lang.js"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bd563bd4ea5b200a726398b1ae8f2560038492e4e5ef1df31aa3e680bd9827f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): assets/admin/controller/config/plugin.js:82 \u00B7 assets/common/js/component.js:150 \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":"assets/admin/controller/config/plugin.js"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3aeb078fc163ea2aaf5e392507667a8dbc69aa6c1ea7c4e9cb9f2531d4f2b19"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3 locations): assets/admin/controller/manage/manage.js:167 \u00B7 assets/admin/controller/shared/priceTemplate.js:412 \u00B7 assets/admin/controller/trade/category.js:205 \u2014 the 3 copies are spread across 3 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another. There is one copy in each of 3 separate files rather than several in one place, so check first whether these are sibling modules that each declare their own version of one shape \u2014 one per entity, per provider, per language. Where they are, no single extracted module collapses them: each module still has to be written, and what recurs is the TEMPLATE. The moves that do collapse a template are to generate these modules from the set they enumerate, or to replace the repeated construction with one factory each site calls with its own values \u2014 and where the set is the point, each module pinning one distinct thing, the repetition IS the enumeration and there is nothing to delete."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/manage/manage.js"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"2959223c5de56e257b02b5f51bfc637746e16cab37a5e0faa2c144b1e04bdd3b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3 locations): assets/admin/controller/pay/plugin.js:6 \u00B7 assets/admin/controller/user/business.level.js:11 \u00B7 assets/admin/controller/user/group.js:11 \u2014 the 3 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another. There is one copy in each of 3 separate files rather than several in one place, so check first whether these are sibling modules that each declare their own version of one shape \u2014 one per entity, per provider, per language. Where they are, no single extracted module collapses them: each module still has to be written, and what recurs is the TEMPLATE. The moves that do collapse a template are to generate these modules from the set they enumerate, or to replace the repeated construction with one factory each site calls with its own values \u2014 and where the set is the point, each module pinning one distinct thing, the repetition IS the enumeration and there is nothing to delete."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/pay/plugin.js"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"149f88593305663c9fc81688919b1ba4d8a55210e197ae492dd06302849e3407"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (10 matched lines \u00D7 2 locations): assets/admin/controller/shared/priceTemplate.js:395 \u00B7 assets/user/controller/business/coupon.js:365 \u2014 the two spans are one implementation copied and then locally edited \u2014 61 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":"assets/admin/controller/shared/priceTemplate.js"},"region":{"startLine":395}}}],"partialFingerprints":{"codehealthFindingId/v1":"db3838cdb406a4fb9b77f82c7c8192a1d46d66e9eba61b17ef9c9ff621ad2374"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): assets/admin/controller/trade/card.js:78 \u00B7 assets/admin/controller/user/recharge.order.js:51 \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":"assets/admin/controller/trade/card.js"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"82223ee35d009c25d491914609f7ac30a198ac35227c97e7c5f44f2d4f1e6737"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): assets/admin/controller/trade/card.js:461 \u00B7 assets/admin/controller/trade/coupon.js:556 \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":"assets/admin/controller/trade/card.js"},"region":{"startLine":461}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf7a64e8cdbaa3a7e45fcd083946f136413efc6f92542b0460b2e4cf6660e775"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): assets/admin/controller/trade/card.js:663 \u00B7 assets/admin/controller/trade/coupon.js:687 \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":"assets/admin/controller/trade/card.js"},"region":{"startLine":663}}}],"partialFingerprints":{"codehealthFindingId/v1":"34e5dffa31a928018f0da881a2b3a1dba730f0ba73680dd5c7c92c9776c8c472"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): assets/admin/controller/trade/coupon.js:542 \u00B7 assets/admin/controller/trade/coupon.js:552 \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":"assets/admin/controller/trade/coupon.js"},"region":{"startLine":542}}}],"partialFingerprints":{"codehealthFindingId/v1":"c672731c6191b7c76672b92a9f99cc07b007ded37e9c8c98634af096edd13e67"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): assets/admin/js/mobile/fallback.js:1237 \u00B7 assets/admin/js/mobile/fallback.js:2173 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/js/mobile/fallback.js"},"region":{"startLine":1237}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7802311b570b48a175fb326046fc4c66c82e40730258715ec948c5ef03f8780"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3 locations): assets/admin/js/mobile/fallback.js:1695 \u00B7 assets/admin/js/mobile/fallback.js:1714 \u00B7 assets/admin/js/mobile/fallback.js:1756 \u2014 all 3 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/js/mobile/fallback.js"},"region":{"startLine":1695}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9005cb2a8edb207a018d184f3b4448c209adb0cbc6bc8f0217ac4a8c68f08a6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): assets/common/js/component.js:324 \u00B7 assets/common/js/component/table.js:1851 \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":"assets/common/js/component.js"},"region":{"startLine":324}}}],"partialFingerprints":{"codehealthFindingId/v1":"81088262a45d54a1ad09b710eab5bb0187d20cfcb23400628847e4e3fc5ecbf5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): assets/common/js/component.js:480 \u00B7 assets/common/js/component.js:674 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/common/js/component.js"},"region":{"startLine":480}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d7008a03bca14a4f769c838907a1b78c513d74758954f87a2c985e2ce19aeda"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): assets/common/js/component/tree.select.js:444 \u00B7 assets/common/js/component/tree.select.js:454 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/common/js/component/tree.select.js"},"region":{"startLine":444}}}],"partialFingerprints":{"codehealthFindingId/v1":"20453929810db5070f37cc2ba962e417e1a38273c424154d1a770129746228a7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): assets/common/js/component/tree.select.js:608 \u00B7 assets/common/js/component/tree.select.js:744 \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":"assets/common/js/component/tree.select.js"},"region":{"startLine":608}}}],"partialFingerprints":{"codehealthFindingId/v1":"82479c2156488b72186a1cbd3d71fcb60bdda925c892d02f5f4cacded2b8ac7c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 4 locations): assets/common/js/util.js:699 \u00B7 assets/static/acg.js:284 \u00B7 assets/static/modules/hex.js:577 \u00B7 assets/static/pay.js:239 \u2014 the 4 copies are spread across 4 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/common/js/util.js"},"region":{"startLine":699}}}],"partialFingerprints":{"codehealthFindingId/v1":"77ac346033d2a6db86870ea7ff4d82e4e7117d2b11c06570bf4e51dd03ae5e76"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): assets/static/acg.js:924 \u00B7 assets/static/acg.js:936 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/static/acg.js"},"region":{"startLine":924}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c2f53c3781cce4412245e95d02e5408639305936b2b00bae3450d792d558ab4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): assets/static/codemirror/addon/fold/brace-fold.js:44 \u00B7 assets/static/codemirror/addon/fold/comment-fold.js:40 \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":"assets/static/codemirror/addon/fold/brace-fold.js"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"130cf282c0b93265de409d28638f3cec4fc24dac79eba97560de6d9c8ee5e973"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (10 matched lines \u00D7 2 locations): assets/static/codemirror/addon/fold/comment-fold.js:4 \u00B7 assets/static/codemirror/addon/fold/foldgutter.js:4 \u2014 the two spans are one implementation copied and then locally edited \u2014 65 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":"assets/static/codemirror/addon/fold/comment-fold.js"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"432c119f5cc98ee2c633c37b8b4892bd1fdc3b0cfc233deb4081123fd205667f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (10 matched lines \u00D7 2 locations): assets/static/codemirror/addon/fold/comment-fold.js:4 \u00B7 assets/static/codemirror/mode/markdown/markdown.js:4 \u2014 the two spans are one implementation copied and then locally edited \u2014 65 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":"assets/static/codemirror/addon/fold/comment-fold.js"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b400e1f8b88b95ee32988b82cf823cb5386403278d89481cd5c4bedeff2ea4b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): assets/static/codemirror/mode/xml/xml.js:235 \u00B7 assets/static/codemirror/mode/xml/xml.js:256 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/static/codemirror/mode/xml/xml.js"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1deb17a006ab2c44768fcf9e40bf1146af2ebdd82c6af28178e51df75ef01eb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): assets/static/modules/hex.js:237 \u00B7 assets/static/modules/hex.js:946 \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":"assets/static/modules/hex.js"},"region":{"startLine":237}}}],"partialFingerprints":{"codehealthFindingId/v1":"a749a77f418e56a53e2c149c885cabef59cf8a63807ceed37db0ed08eef75069"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (10 matched lines \u00D7 2 locations): assets/user/controller/auth/login.js:39 \u00B7 assets/user/controller/auth/login.js:59 \u2014 the two spans are one implementation copied and then locally edited \u2014 64 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/user/controller/auth/login.js"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"82fa62d5e5245f41568f65c2902830c1de34e909d27d39b92d7ef108d503f3aa"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (10 matched lines \u00D7 2 locations): assets/user/controller/auth/login.js:104 \u00B7 assets/user/controller/security/passkey.js:88 \u2014 the two spans are one implementation copied and then locally edited \u2014 77 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":"assets/user/controller/auth/login.js"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"29766a4a78586ebbcaae90252cfebe595ccd6ad094c4fc3c9af29849cf923dbd"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): assets/user/controller/business/coupon.js:238 \u00B7 assets/user/controller/business/order.js:101 \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":"assets/user/controller/business/coupon.js"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e78c41376277b1a607640600bc90c87bb3c58ced65ce37e176f40a24dadab8e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): assets/user/controller/user/ticket.create.js:278 \u00B7 assets/user/controller/user/ticket.detail.js:394 \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":"assets/user/controller/user/ticket.create.js"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d77f3be507dfb9cd28277b51f421a7e44e6b2df965a6b16339c4cb4258bb08a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): assets/user/js/webauthn.js:92 \u00B7 assets/user/js/webauthn.js:123 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/user/js/webauthn.js"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"39b9e6be7301663c5df973f8e220a0ce6dbd77fb665e1fb93cc662a8d1146897"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): assets/admin/controller/auth/lock.js:31 \u00B7 assets/admin/controller/auth/login.js:65 \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":"assets/admin/controller/auth/lock.js"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"599480ef812eb6ad3fbd06d787ed696f2c317022345f07298c710223e2d07bd2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): assets/admin/controller/auth/lock.js:124 \u00B7 assets/admin/controller/auth/login.js:346 \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":"assets/admin/controller/auth/lock.js"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"436cb201d1bde93f4f7d09d22be2174f1706bb7f69fb5d5b983e2da9f8443689"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3 locations): assets/admin/controller/config/index.js:453 \u00B7 assets/admin/controller/config/plugin.js:193 \u00B7 assets/admin/controller/pay/plugin.js:88 \u2014 the 3 copies are spread across 3 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/config/index.js"},"region":{"startLine":453}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb9d036c680608f5ec856a571a37f0c37982a2404d15568a9315d1ded18ac67c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): assets/admin/controller/config/index.js:556 \u00B7 assets/admin/controller/config/sms.js:99 \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":"assets/admin/controller/config/index.js"},"region":{"startLine":556}}}],"partialFingerprints":{"codehealthFindingId/v1":"4abec3f58d74321e0640eb849560a90ca0277669ae32e562781ee049fac2ce48"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (9 matched lines \u00D7 2 locations): assets/admin/controller/config/other.js:353 \u00B7 assets/admin/controller/trade/card.js:703 \u2014 the two spans are one implementation copied and then locally edited \u2014 80 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":"assets/admin/controller/config/other.js"},"region":{"startLine":353}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a0ecf7445d4cd5c09a7bb61fbacb39c620c7ae2311605c94655b94f535eba17"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3 locations): assets/admin/controller/dashboard/index.js:86 \u00B7 assets/admin/controller/pay/api.js:22 \u00B7 assets/admin/controller/trade/coupon.js:22 \u2014 the 3 copies are spread across 3 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another. There is one copy in each of 3 separate files rather than several in one place, so check first whether these are sibling modules that each declare their own version of one shape \u2014 one per entity, per provider, per language. Where they are, no single extracted module collapses them: each module still has to be written, and what recurs is the TEMPLATE. The moves that do collapse a template are to generate these modules from the set they enumerate, or to replace the repeated construction with one factory each site calls with its own values \u2014 and where the set is the point, each module pinning one distinct thing, the repetition IS the enumeration and there is nothing to delete."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/dashboard/index.js"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"dac2a8b3e85a69e14eaf3009ae23597f22c89701b7c1c5a41122ee51c4c4f3d8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (9 matched lines \u00D7 2 locations): assets/admin/controller/global.js:218 \u00B7 assets/user/controller/user/global.js:34 \u2014 the two spans are one implementation copied and then locally edited \u2014 72 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":"assets/admin/controller/global.js"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b4f9785f0089e3812f7ff2dbbe47d6f5fce1444ab1d52f5f8adfd1622b98913"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): assets/admin/controller/store/home.js:901 \u00B7 assets/admin/controller/store/home.js:972 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/store/home.js"},"region":{"startLine":901}}}],"partialFingerprints":{"codehealthFindingId/v1":"f54e428128cff64493210e9793fc646e62f557e50f91230da5f66f9869a65af4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): assets/admin/controller/trade/card-file-upload.js:159 \u00B7 assets/admin/controller/trade/category-tree.js:220 \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":"assets/admin/controller/trade/card-file-upload.js"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d42de08813574edb8bde414436c5f0f6933d90519711b51d4bfe69d282ebf5c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): assets/admin/controller/trade/card-file-upload.js:175 \u00B7 assets/common/js/ready.js:556 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/trade/card-file-upload.js"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"de20fa41a0b79743d1d3af45b1cb56858a574cb43d44e55579265319a34230d4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 4 locations): assets/admin/controller/trade/card.js:88 \u00B7 assets/admin/controller/trade/coupon.js:91 \u00B7 assets/admin/controller/trade/order.js:719 \u00B7 assets/admin/controller/user/recharge.order.js:63 \u2014 the 4 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another. There is one copy in each of 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":"assets/admin/controller/trade/card.js"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cfc8d266312d4c87c219804497a370aa82637c961b79c05535f4a5bd29a238f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): assets/admin/controller/trade/card.js:249 \u00B7 assets/admin/controller/trade/commodity.js:938 \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":"assets/admin/controller/trade/card.js"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a472acf1a90c92df353e88aede577781afef7aea23ac0e27ffc6bbbdd31198e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): assets/admin/controller/trade/coupon.js:303 \u00B7 assets/user/controller/business/coupon.js:68 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/trade/coupon.js"},"region":{"startLine":303}}}],"partialFingerprints":{"codehealthFindingId/v1":"d62e9e61d7d3d4e15394e3fd861c0307ff895e5ed59c91bf034c37b3e977d005"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): assets/admin/controller/trade/drag-sort.js:557 \u00B7 assets/admin/controller/trade/drag-sort.js:968 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/trade/drag-sort.js"},"region":{"startLine":557}}}],"partialFingerprints":{"codehealthFindingId/v1":"2552bcd70e78ae1be4247aaf7b6f3c1c8858ac08b1c99ba8af1afdaad5adc9ec"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3 locations): assets/admin/controller/trade/order.js:433 \u00B7 assets/user/controller/dashboard/index.js:79 \u00B7 assets/user/controller/user/purchase.record.js:84 \u2014 the 3 copies are spread across 3 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/trade/order.js"},"region":{"startLine":433}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5831f2ec435acb0f8cf596c9cc467bd235eb37bcc71be8b410b0b4130d4023d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 5 locations): assets/admin/controller/user/index.js:585 \u00B7 assets/user/controller/business/card.js:303 \u00B7 assets/user/controller/business/card.js:314 \u00B7 assets/user/controller/business/coupon.js:274 \u00B7 \u002B1 more site(s) not listed \u2014 the 5 copies are spread across 3 files, and the CITED SPAN is a DECLARATION HEADER \u2014 the name, parameter list with its constraints and defaults, and base-type clause of a declaration \u2014 rather than statements inside a body. A header cannot be lifted into a helper: there is no expression position for a call to stand in, and the copies are frequently required to match, because one declaration passes its parameters straight through to the other. So the move is not extraction. Give the repeated pieces names \u2014 factor a long constraint or base-type expression into one named type both declarations refer to \u2014 and where the headers must stay identical, derive one from the other (a shared base declaration, or a single alias that spells the parameter set once) so that changing it once changes both. Where the language offers neither, treat the two as a pair that must be edited together: they drift apart the first time only one of them is changed, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/user/index.js"},"region":{"startLine":585}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c524a940cacf641b3a3347e95681740f71bd41f0fe9a27c6e6548b3b72b65fe"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): assets/admin/controller/user/ticket.js:653 \u00B7 assets/admin/controller/user/ticket.js:691 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/user/ticket.js"},"region":{"startLine":653}}}],"partialFingerprints":{"codehealthFindingId/v1":"d66c734e0df494f0baecd931403705fd1301e2d423f076bad5b6185b954d2a65"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): assets/admin/js/menu.js:2431 \u00B7 assets/admin/js/menu.js:2449 \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":"assets/admin/js/menu.js"},"region":{"startLine":2431}}}],"partialFingerprints":{"codehealthFindingId/v1":"db05bf410eec50f5bc9a90d75fbec467c3b7476b2cbab3f04bd200fb1bcab0ad"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): assets/admin/js/menu.js:2499 \u00B7 assets/admin/js/menu.js:2714 \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":"assets/admin/js/menu.js"},"region":{"startLine":2499}}}],"partialFingerprints":{"codehealthFindingId/v1":"780995c290fbdc585f03c2eea9c2cfaab1d72de470a152879212653720c49fe0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): assets/admin/js/mobile/navigation.js:77 \u00B7 assets/admin/js/mobile/shell.js:165 \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":"assets/admin/js/mobile/navigation.js"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"21fac06693ee9211aaece9e0214869845eb8f4172001ee6de6b89c14a9257696"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): assets/admin/js/mobile/recipes.js:708 \u00B7 assets/admin/js/mobile/recipes.js:718 \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":"assets/admin/js/mobile/recipes.js"},"region":{"startLine":708}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1d355bb65d50e14b1ce31ee439a3ae47ca752675fc9f49ab94caa6a33c02c87"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): assets/common/js/component/form.js:476 \u00B7 assets/common/js/component/form.js:605 \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":"assets/common/js/component/form.js"},"region":{"startLine":476}}}],"partialFingerprints":{"codehealthFindingId/v1":"e89449d0ba3baec7ba9589cb98663c5404f3483562c7bd5fc3da8f021a567833"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): assets/common/js/component/tree.select.js:534 \u00B7 assets/common/js/component/tree.select.js:548 \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":"assets/common/js/component/tree.select.js"},"region":{"startLine":534}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd986d5ccc2642c3fa363ae66492104bfa2ae9dd88687464e3af5e9b48f2470c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): assets/common/js/editor/markdown/editorv2.js:327 \u00B7 assets/common/js/editor/markdown/editorv2.js:414 \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":"assets/common/js/editor/markdown/editorv2.js"},"region":{"startLine":327}}}],"partialFingerprints":{"codehealthFindingId/v1":"c56e252cb78f7a2d30b6eebd29fcbf81f5d2c70058a91f777af201684046d722"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): assets/common/js/util.js:14 \u00B7 assets/common/js/util.js:45 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/common/js/util.js"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff33ceec01243e40f04a055b7c84ce4d816414fde130084bb3cfb141621913d1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): assets/common/js/util.js:35 \u00B7 assets/static/acg.js:1018 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/common/js/util.js"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"4eadf332542cde2368497cbef92aafa55bafa95763778dc4cce7ec9403d619f8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (9 matched lines \u00D7 2 locations): assets/static/codemirror/addon/fold/comment-fold.js:4 \u00B7 assets/static/codemirror/mode/htmlmixed/htmlmixed.js:4 \u2014 the two spans are one implementation copied and then locally edited \u2014 63 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":"assets/static/codemirror/addon/fold/comment-fold.js"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"4427c28e605a1c8a893176d3dfba99e7cecd651d92070731dc587e5308ad36a9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): assets/static/codemirror/lib/codemirror.js:5329 \u00B7 assets/static/codemirror/lib/codemirror.js:5396 \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":"assets/static/codemirror/lib/codemirror.js"},"region":{"startLine":5329}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec591d3be32f0c092dbdb628c09a3cff388188e9d07bd091879f04d8d6627232"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): assets/static/codemirror/mode/javascript/javascript.js:508 \u00B7 assets/static/codemirror/mode/javascript/javascript.js:833 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/static/codemirror/mode/javascript/javascript.js"},"region":{"startLine":508}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d9db1a1f556c70d850951bdbc6d852c40b312d146765fa7f2180d6f7d660ae8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 6 locations): assets/static/modules/hex.js:375 \u00B7 assets/static/modules/hex.js:386 \u00B7 assets/static/modules/hex.js:396 \u00B7 assets/static/modules/hex.js:407 \u00B7 \u002B2 more site(s) not listed \u2014 all 6 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/static/modules/hex.js"},"region":{"startLine":375}}}],"partialFingerprints":{"codehealthFindingId/v1":"7534ed7056c85ad8749ce820699a70adcaa6f9b67a772b76b1e0da2eb79aa8e5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): assets/static/modules/hex.js:506 \u00B7 assets/static/modules/hex.js:517 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/static/modules/hex.js"},"region":{"startLine":506}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e57ee8aae60d3ca1548538e12c29298406e1f2c6e7d3e980958213357c986e3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): assets/user/controller/business/business.js:125 \u00B7 assets/user/controller/business/business.js:137 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/user/controller/business/business.js"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"085bf363d095852aa9dc4d845dfb2bb4ee89bb6841f99dcee6a35f08fd0726e9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): assets/user/controller/user/ticket.create.js:200 \u00B7 assets/user/controller/user/ticket.detail.js:248 \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":"assets/user/controller/user/ticket.create.js"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"3706307e7fd159594c421c020078b09603f14765daf1e1af27723f3dafe05cec"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): assets/admin/controller/config/index.js:99 \u00B7 assets/user/controller/business/business.js:154 \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":"assets/admin/controller/config/index.js"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4e0ade93b48de1c0b9b9d3cdc7aa879218cb0eaade65ad1c56f6d4ad60c3acd"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): assets/admin/controller/config/index.js:262 \u00B7 assets/admin/controller/config/index.js:289 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/config/index.js"},"region":{"startLine":262}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ef8fcc1bc9d9b7c57ede9e24314bf89356348d52032fe687c3900c3e673ddf1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): assets/admin/controller/config/plugin.js:26 \u00B7 assets/admin/controller/shared/store.js:208 \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":"assets/admin/controller/config/plugin.js"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5c44e191308c8f8951f2e236791ccd13ba9a4455f7b6cf0e41711f2b648825c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): assets/admin/controller/config/plugin.js:468 \u00B7 assets/admin/controller/pay/plugin.js:589 \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":"assets/admin/controller/config/plugin.js"},"region":{"startLine":468}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5a0370c6a4af198d7e6a61a2b7d0804073242ccae7f68be2b3890579d08d1dd"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): assets/admin/controller/config/security.js:81 \u00B7 assets/admin/controller/config/security.js:161 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/config/security.js"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a3bf2e1396fa2e2e658d18a51c6547bdd1a94a9d0948ac2edeee6521b9f8209"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): assets/admin/controller/dashboard/index.js:6 \u00B7 assets/admin/controller/shared/store.js:167 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/dashboard/index.js"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0802d08ffc284812ab32ae62464eacfadb04928e151d25cd78ae9fde3167416"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 13 locations): assets/admin/controller/file/index.js:348 \u00B7 assets/admin/controller/manage/log.js:57 \u00B7 assets/admin/controller/manage/manage.js:169 \u00B7 assets/admin/controller/pay/plugin.js:612 \u00B7 \u002B9 more site(s) not listed \u2014 the 13 copies are spread across 13 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":"assets/admin/controller/file/index.js"},"region":{"startLine":348}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7b87276780411c561972b427f1baa80a9950695af0cf9c72829ff9c93cf6e3e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 14 locations): assets/admin/controller/pay/api.js:874 \u00B7 assets/admin/controller/trade/card.js:538 \u00B7 assets/admin/controller/trade/card.js:554 \u00B7 assets/admin/controller/trade/card.js:570 \u00B7 \u002B10 more site(s) not listed \u2014 the 14 copies are spread across 5 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/pay/api.js"},"region":{"startLine":874}}}],"partialFingerprints":{"codehealthFindingId/v1":"36974a4e76edfe9e769f6a6db93052c7a41eda6135c6aa93c3f6a59fa694c945"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): assets/admin/controller/store/developer.js:56 \u00B7 assets/common/js/editor/markdown/editorv2.js:112 \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":"assets/admin/controller/store/developer.js"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"43ca8834f8df282d0b135c63358a93b464096bc6ae6664298297177749c2d68e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): assets/admin/controller/trade/card-file-upload.js:22 \u00B7 assets/admin/controller/trade/category-tree.js:25 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/trade/card-file-upload.js"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6e3e5cd1b69d3cd77d8bc2b62fb0aff91b714475231ef3656bfb275c541c4be"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (8 matched lines \u00D7 2 locations): assets/admin/controller/trade/category-actions.js:21 \u00B7 assets/admin/controller/trade/category-actions.js:72 \u2014 the two spans are one implementation copied and then locally edited \u2014 79 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/trade/category-actions.js"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"175b58a7dc703425075035c35f164be1923ab8ee316e139824569ccda4f901bd"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): assets/admin/controller/trade/commodity.js:1118 \u00B7 assets/admin/controller/trade/order.js:608 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is a DECLARATION HEADER \u2014 the name, parameter list with its constraints and defaults, and base-type clause of a declaration \u2014 rather than statements inside a body. A header cannot be lifted into a helper: there is no expression position for a call to stand in, and the copies are frequently required to match, because one declaration passes its parameters straight through to the other. So the move is not extraction. Give the repeated pieces names \u2014 factor a long constraint or base-type expression into one named type both declarations refer to \u2014 and where the headers must stay identical, derive one from the other (a shared base declaration, or a single alias that spells the parameter set once) so that changing it once changes both. Where the language offers neither, treat the two as a pair that must be edited together: they drift apart the first time only one of them is changed, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/trade/commodity.js"},"region":{"startLine":1118}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff6db4ec7ef7a38888be6dc17afb26a75d5aa895cb67eec293f62293863a2bcc"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): assets/admin/controller/trade/order.js:781 \u00B7 assets/admin/controller/user/recharge.order.js:267 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/trade/order.js"},"region":{"startLine":781}}}],"partialFingerprints":{"codehealthFindingId/v1":"1afc72463414e8af1bb850f31173c22380cca26c999701c2b180d5ad9a0c6ab2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3 locations): assets/admin/controller/user/business.level.js:5 \u00B7 assets/admin/controller/user/cash.js:28 \u00B7 assets/admin/controller/user/index.js:34 \u2014 the 3 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it. There is one copy in each of 3 separate files rather than several in one place, so check first whether these are sibling modules that each declare their own version of one shape \u2014 one per entity, per provider, per language. Where they are, no single extracted module collapses them: each module still has to be written, and what recurs is the TEMPLATE. The moves that do collapse a template are to generate these modules from the set they enumerate, or to replace the repeated construction with one factory each site calls with its own values \u2014 and where the set is the point, each module pinning one distinct thing, the repetition IS the enumeration and there is nothing to delete."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/user/business.level.js"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"04048b4ced44298cfe9b1377aefe0a217fba81a6d5bd511ba5ef59e109e48da7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): assets/admin/controller/user/business.level.js:19 \u00B7 assets/admin/controller/user/group.js:29 \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":"assets/admin/controller/user/business.level.js"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"74479aa980b614807f45c211deaf3652697005d6bc85b04f45de1c0b0dbe15e4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): assets/admin/controller/user/ticket.js:905 \u00B7 assets/common/js/component.js:252 \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":"assets/admin/controller/user/ticket.js"},"region":{"startLine":905}}}],"partialFingerprints":{"codehealthFindingId/v1":"53d1ccceece6fa9672ee4060bf2b1084515dcfa6634c4ef4cd5f2a64aab3702e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): assets/admin/js/menu.js:383 \u00B7 assets/admin/js/menu.js:403 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/js/menu.js"},"region":{"startLine":383}}}],"partialFingerprints":{"codehealthFindingId/v1":"172f77aa5d958223ef5fc995d695ff2f461379a62399fb2af6dbbb5f40e65abe"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): assets/admin/js/mobile/fallback.js:307 \u00B7 assets/admin/js/mobile/fallback.js:317 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/js/mobile/fallback.js"},"region":{"startLine":307}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e40116993f9368595f091dc6a0b6ba4f6e63608c613233da3258a878e6658bc"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): assets/admin/js/mobile/fallback.js:2254 \u00B7 assets/admin/js/mobile/fallback.js:2262 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/js/mobile/fallback.js"},"region":{"startLine":2254}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ce928c744bd311f5f698fb6540eb1a0f849a0592437425738c69619ab926f07"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): assets/admin/js/mobile/recipes.js:171 \u00B7 assets/admin/js/mobile/recipes.js:244 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/js/mobile/recipes.js"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c78c074c3c0d6054c3989db051cf5abd0275286d3a6a12709564e50e9228cc1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 4 locations): assets/admin/js/mobile/recipes.js:226 \u00B7 assets/admin/js/mobile/recipes.js:317 \u00B7 assets/admin/js/mobile/recipes.js:366 \u00B7 assets/admin/js/mobile/recipes.js:597 \u2014 all 4 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/js/mobile/recipes.js"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa0ebdb46c6210be94bef8b6b9c7bfa36c6815b3947f1616d7a65d68619b4231"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): assets/admin/js/mobile/recipes.js:427 \u00B7 assets/admin/js/mobile/recipes.js:435 \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":"assets/admin/js/mobile/recipes.js"},"region":{"startLine":427}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe09f06be2bec1008ba23423e3d5f59404d53c966beb328a69c61f27d9922934"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): assets/common/js/component/form.js:2076 \u00B7 assets/common/js/component/search.js:539 \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":"assets/common/js/component/form.js"},"region":{"startLine":2076}}}],"partialFingerprints":{"codehealthFindingId/v1":"32b14402ad7e9d9995c1b51dbc365d7a0e48b3c9b36a84264c87ccee4c7804f4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): assets/common/js/component/tree.select.js:218 \u00B7 assets/common/js/component/tree.select.js:2078 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/common/js/component/tree.select.js"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"56256f64b9f6388abcbffaab68ba7c3dbe5c5ad104bc9b066e0d7ec2423f2ebf"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): assets/common/js/component/tree.select.js:1599 \u00B7 assets/common/js/component/tree.select.js:1613 \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":"assets/common/js/component/tree.select.js"},"region":{"startLine":1599}}}],"partialFingerprints":{"codehealthFindingId/v1":"a275511edf159c0848a1f18060586172a1aa4926d33bf6f8d6422e1f625d29c5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): assets/common/js/component/tree.select.js:2773 \u00B7 assets/common/js/component/tree.select.js:2782 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/common/js/component/tree.select.js"},"region":{"startLine":2773}}}],"partialFingerprints":{"codehealthFindingId/v1":"12b55b180683bc14868cf7b61ec6a4904843508300a9771dd1ab728a01b72e32"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3 locations): assets/static/acg.js:912 \u00B7 assets/static/acg.js:926 \u00B7 assets/static/acg.js:938 \u2014 all 3 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/static/acg.js"},"region":{"startLine":912}}}],"partialFingerprints":{"codehealthFindingId/v1":"eae3671fc2cac91f5de1baf6643d1f3551309366d381288ea9510a626b714c08"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): assets/static/codemirror/addon/fold/brace-fold.js:4 \u00B7 assets/static/codemirror/addon/fold/markdown-fold.js:4 \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":"assets/static/codemirror/addon/fold/brace-fold.js"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"d19260cf80f46a94867e296dfdb938e823568cecde853f4977e5204b82ffeff5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3 locations): assets/static/codemirror/addon/fold/foldcode.js:4 \u00B7 assets/static/codemirror/addon/fold/indent-fold.js:4 \u00B7 assets/static/codemirror/mode/python/python.js:4 \u2014 the 3 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another. There is one copy in each of 3 separate files rather than several in one place, so check first whether these are sibling modules that each declare their own version of one shape \u2014 one per entity, per provider, per language. Where they are, no single extracted module collapses them: each module still has to be written, and what recurs is the TEMPLATE. The moves that do collapse a template are to generate these modules from the set they enumerate, or to replace the repeated construction with one factory each site calls with its own values \u2014 and where the set is the point, each module pinning one distinct thing, the repetition IS the enumeration and there is nothing to delete."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/static/codemirror/addon/fold/foldcode.js"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7106838454cf379331b45d96e3e657a5333c185d548a99a463d24a0708ec74f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): assets/static/codemirror/addon/fold/xml-fold.js:4 \u00B7 assets/static/codemirror/mode/xml/xml.js:4 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/static/codemirror/addon/fold/xml-fold.js"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bf16d6b190b471f295c3b6a056456fec357a7b1e1977afb826c80d8e9dab8f7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): assets/static/codemirror/addon/fold/xml-fold.js:97 \u00B7 assets/static/codemirror/addon/fold/xml-fold.js:123 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/static/codemirror/addon/fold/xml-fold.js"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"630b78a6e96f8281b04a0213534018ee8b3345678d313a6c7094e23a61c546df"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): assets/static/codemirror/mode/css/css.js:4 \u00B7 assets/static/codemirror/mode/javascript/javascript.js:4 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/static/codemirror/mode/css/css.js"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1ac46155b9f26c7426bd3cd583cc331dc0f30a7a61603bbbd90d5bd8fb860b8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): assets/static/codemirror/mode/python/python.js:180 \u00B7 assets/static/codemirror/mode/python/python.js:241 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/static/codemirror/mode/python/python.js"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"50321e17968f9b81d026b6dc8cc03a553391d94985b6689b834f7a2b37c8c3ee"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): assets/user/controller/business/card.js:151 \u00B7 assets/user/controller/business/commodity.js:474 \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":"assets/user/controller/business/card.js"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7ac57063e78ba45275acf773622ae3a5a4a9d901fdea5592697201b94e7c199"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): assets/user/controller/business/card.js:446 \u00B7 assets/user/controller/business/coupon.js:398 \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":"assets/user/controller/business/card.js"},"region":{"startLine":446}}}],"partialFingerprints":{"codehealthFindingId/v1":"542232da3cf786eac3074c6cd305e90608cf308bf646c9196b0230908132ca41"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3 locations): assets/admin/controller/config/google2fa.js:215 \u00B7 assets/admin/controller/config/mail.js:159 \u00B7 assets/admin/controller/pay/api.js:900 \u2014 the 3 copies are spread across 3 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/config/google2fa.js"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"68b0fbe50b409762162e25cbe16337d7604bf002284a74b8d2830296e27474ae"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): assets/admin/controller/config/plugin.js:262 \u00B7 assets/admin/controller/config/plugin.js:282 \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":"assets/admin/controller/config/plugin.js"},"region":{"startLine":262}}}],"partialFingerprints":{"codehealthFindingId/v1":"33c77fbc4647ebd2ff6bf45b420a0f3cfd146ffdd14a073a79330b76088c34e4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): assets/admin/controller/config/sms.js:20 \u00B7 assets/admin/controller/manage/set.js:37 \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":"assets/admin/controller/config/sms.js"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa984d55364caddec4711671237dd6675750c386ef3d321e93899a86b85507ee"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): assets/admin/controller/dashboard/index.js:232 \u00B7 assets/admin/controller/dashboard/index.js:389 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/dashboard/index.js"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"e282c6a0841e1fde6d7052b8eea97a9082c091fdb8423f10bcbfa524680fc2ae"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3 locations): assets/admin/controller/trade/card-file-upload.js:1041 \u00B7 assets/static/codemirror/addon/fold/foldgutter.js:18 \u00B7 assets/static/codemirror/addon/fold/foldgutter.js:28 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/trade/card-file-upload.js"},"region":{"startLine":1041}}}],"partialFingerprints":{"codehealthFindingId/v1":"bed10ebd1ace37b99ae42ea45624487dedcc6e924e605937c72e5f0cd2c9c48e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): assets/admin/controller/trade/card.js:10 \u00B7 assets/admin/controller/user/group.js:34 \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":"assets/admin/controller/trade/card.js"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"a546bdcdc4df5a9981f1e6139a8514c8a67e6a37b5d9c792784989c5163c7b92"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 4 locations): assets/admin/controller/trade/category.js:5 \u00B7 assets/admin/controller/user/cash.js:28 \u00B7 assets/admin/controller/user/index.js:34 \u00B7 assets/admin/controller/user/message.js:16 \u2014 the 4 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another. There is one copy in each of 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":"assets/admin/controller/trade/category.js"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce0478f8aa2072e232966e803424c93fa8744000cf56aac3eac3b14f48701d98"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3 locations): assets/admin/controller/trade/category.js:158 \u00B7 assets/admin/controller/trade/category.js:173 \u00B7 assets/admin/controller/trade/category.js:187 \u2014 all 3 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/trade/category.js"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"60e4176ba56a6ffe8708bd1a46b43b22cdcfc032660651353f9dfb9df65ef2fb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): assets/admin/controller/trade/coupon.js:12 \u00B7 assets/admin/controller/user/ticket.js:6 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/trade/coupon.js"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"998ce5d369e5bdb1e39336a870e4aecd1460226d927e4e2f7aa33ac8da2393f8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): assets/admin/controller/trade/drag-sort.js:452 \u00B7 assets/admin/controller/trade/drag-sort.js:853 \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":"assets/admin/controller/trade/drag-sort.js"},"region":{"startLine":452}}}],"partialFingerprints":{"codehealthFindingId/v1":"6af9d8c553376bb3445cbaa480470a424aa2f875fb3eb33c958ed5b89c4bc54d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): assets/admin/controller/trade/order.js:679 \u00B7 assets/admin/controller/user/recharge.order.js:15 \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":"assets/admin/controller/trade/order.js"},"region":{"startLine":679}}}],"partialFingerprints":{"codehealthFindingId/v1":"63788a705cdf57f007aa281c5ba47d96719d2ecaca99df08677d7e4e284a082e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): assets/admin/js/menu.js:1256 \u00B7 assets/admin/js/menu.js:1270 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/js/menu.js"},"region":{"startLine":1256}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfa1b929b0ece4ab3bdc58052624c1d72597e38a0c75e332a865727db5056e73"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): assets/admin/js/mobile/fallback.js:1495 \u00B7 assets/admin/js/mobile/fallback.js:3006 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/js/mobile/fallback.js"},"region":{"startLine":1495}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2c55fe5d52109506e3ffa543536513a114cdda24b9e0778651c71f82fe16fe5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): assets/admin/js/mobile/navigation.js:184 \u00B7 assets/admin/js/mobile/navigation.js:191 \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":"assets/admin/js/mobile/navigation.js"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b75f9a9c291552d957d787bbfd6d80ca7b61bc74ec5292e65e4372b5e14bff8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): assets/admin/js/mobile/recipes.js:281 \u00B7 assets/admin/js/mobile/recipes.js:288 \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":"assets/admin/js/mobile/recipes.js"},"region":{"startLine":281}}}],"partialFingerprints":{"codehealthFindingId/v1":"daa96eb11c8dc63439a78d756c54ec98139803ec130e5431e896fc4f6e52d020"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): assets/admin/js/mobile/workflows.js:202 \u00B7 assets/admin/js/mobile/workflows.js:614 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/js/mobile/workflows.js"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2e40d1fde205f711c152779de8d437d99269d0904f0869073747842d291c29b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): assets/admin/js/mobile/workflows.js:1109 \u00B7 assets/admin/js/mobile/workflows.js:1149 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/js/mobile/workflows.js"},"region":{"startLine":1109}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e3fab5902ae9f83c0e0a1bf3a42377ec3ad5a865df0cebfd0dfbd9a523e5264"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): assets/common/js/component/table.js:1427 \u00B7 assets/common/js/component/table.js:1518 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/common/js/component/table.js"},"region":{"startLine":1427}}}],"partialFingerprints":{"codehealthFindingId/v1":"676d4936fbbbe7ecbb003bd7f2a32e5e9dfe53074eaaf77b293cd7c23372b443"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3 locations): assets/common/js/component/tree.select.js:468 \u00B7 assets/common/js/component/tree.select.js:479 \u00B7 assets/common/js/component/tree.select.js:574 \u2014 all 3 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/common/js/component/tree.select.js"},"region":{"startLine":468}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ea7b9d629f84f94a53764b8f2461bb25514edfa204f0422a7ab9f73a2f46e80"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 4 locations): assets/common/js/component/tree.select.js:839 \u00B7 assets/common/js/component/tree.select.js:846 \u00B7 assets/common/js/component/tree.select.js:853 \u00B7 assets/common/js/component/tree.select.js:860 \u2014 all 4 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/common/js/component/tree.select.js"},"region":{"startLine":839}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5b63b130db143826a026f981ed4da1ece2304d17a83c75ed92680b0f54aa2d7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): assets/common/js/component/tree.select.js:2245 \u00B7 assets/common/js/component/tree.select.js:2265 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/common/js/component/tree.select.js"},"region":{"startLine":2245}}}],"partialFingerprints":{"codehealthFindingId/v1":"0df714b2a7e7c5974d53725d77cb6c576650a17613c1e8d175f78ad7afe1caa7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): assets/common/js/component/tree.select.js:2287 \u00B7 assets/common/js/component/tree.select.js:2303 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/common/js/component/tree.select.js"},"region":{"startLine":2287}}}],"partialFingerprints":{"codehealthFindingId/v1":"afc8deffea823296932b7fb1dd197bac22c42f9e91a882e67d748e57b8e684f8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3 locations): assets/common/js/format.js:44 \u00B7 assets/common/js/format.js:56 \u00B7 assets/common/js/format.js:68 \u2014 all 3 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/common/js/format.js"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6d599c705c2fd0993a42f21c0e877af6f4fb3193887cfc0a564394da2402b3d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): assets/static/acg.js:481 \u00B7 assets/user/controller/index/item.js:25 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/static/acg.js"},"region":{"startLine":481}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfc05a36d01448159d7db0b12fcb0251f32305477dc24bbacfb4e1c4e5aee246"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): assets/static/codemirror/addon/fold/brace-fold.js:62 \u00B7 assets/static/codemirror/addon/fold/brace-fold.js:86 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/static/codemirror/addon/fold/brace-fold.js"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"f741c48e0eaaf6992a7d9b29c58a8d092f8244cff62ec56f1138c6a76558d8e1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): assets/static/codemirror/addon/fold/xml-fold.js:51 \u00B7 assets/static/codemirror/addon/fold/xml-fold.js:84 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/static/codemirror/addon/fold/xml-fold.js"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed9e84571a25a21758fd19d1dfb32ace9c38b40e4ce97c1a4fe1d9f758a6572a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): assets/static/codemirror/lib/codemirror.js:534 \u00B7 assets/static/codemirror/lib/codemirror.js:549 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/static/codemirror/lib/codemirror.js"},"region":{"startLine":534}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0ceb482b178c7aa2ea82b1bc2759a5b9f27944f814e24267b9f6b86a2e9d328"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): assets/static/codemirror/lib/codemirror.js:8854 \u00B7 assets/static/codemirror/lib/codemirror.js:9381 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/static/codemirror/lib/codemirror.js"},"region":{"startLine":8854}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff61451754c5436aabac7ae84499527f43b469f2f9ac9b63fd1135417fd5c0dc"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 7 locations): assets/static/modules/hex.js:366 \u00B7 assets/static/modules/hex.js:376 \u00B7 assets/static/modules/hex.js:387 \u00B7 assets/static/modules/hex.js:397 \u00B7 \u002B3 more site(s) not listed \u2014 all 7 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/static/modules/hex.js"},"region":{"startLine":366}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0a2f34b5f8202c4c9d1bd56cd21330b353db12d6daccc8d5ff573feb2491562"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 4 locations): assets/user/controller/business/coupon.js:19 \u00B7 assets/user/controller/business/order.js:47 \u00B7 assets/user/controller/dashboard/index.js:30 \u00B7 assets/user/controller/user/purchase.record.js:34 \u2014 the 4 copies are spread across 4 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/user/controller/business/coupon.js"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcddfbacabab7c33f9b269ed9d860e5ed764359042e2fb1a9303a8719816083d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 4 locations): assets/user/controller/user/ticket.create.js:16 \u00B7 assets/user/controller/user/ticket.detail.js:29 \u00B7 assets/user/controller/user/ticket.js:23 \u00B7 assets/user/js/glass.js:122 \u2014 the 4 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another. There is one copy in each of 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":"assets/user/controller/user/ticket.create.js"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"a351794bdec40134f00ae0e168a749af4740883542e013f6881ceaaba1ab89a1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): assets/admin/controller/config/lang.js:15 \u00B7 assets/admin/controller/shared/priceTemplate.js:6 \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":"assets/admin/controller/config/lang.js"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cf388aaab106ad5c829652c5d75f0d63bf5e64f47b2817d9bd2e2259f170db5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): assets/admin/controller/manage/manage.js:5 \u00B7 assets/admin/controller/pay/plugin.js:5 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/manage/manage.js"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4c5543a9bd3663f378818812c932cf2331210eb206b3d504de7a178b889cab8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): assets/admin/controller/shared/store.js:1293 \u00B7 assets/admin/controller/store/developer.js:195 \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":"assets/admin/controller/shared/store.js"},"region":{"startLine":1293}}}],"partialFingerprints":{"codehealthFindingId/v1":"ece18a936b054969cc645b3c7c513ea643d88af0f2a2f44c29b025c14660e652"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3 locations): assets/admin/controller/trade/coupon.js:641 \u00B7 assets/admin/controller/trade/coupon.js:655 \u00B7 assets/admin/controller/trade/coupon.js:669 \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":"assets/admin/controller/trade/coupon.js"},"region":{"startLine":641}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a8bff704b33b4de7800581b7246737cd8f1a002e664c079244c68a6dcb385fa"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): assets/admin/controller/trade/drag-sort.js:578 \u00B7 assets/admin/controller/trade/drag-sort.js:983 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/trade/drag-sort.js"},"region":{"startLine":578}}}],"partialFingerprints":{"codehealthFindingId/v1":"5abb9d46ca9ed4ebcab9d463374d0d400035e1d181bb041b9932a6f3366d8cb5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): assets/admin/controller/trade/drag-sort.js:619 \u00B7 assets/admin/controller/trade/drag-sort.js:1019 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/trade/drag-sort.js"},"region":{"startLine":619}}}],"partialFingerprints":{"codehealthFindingId/v1":"1308d7dc668543b9b1c0badf5c8d229877b356252387cfb62af7c3a2cc343e89"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): assets/admin/controller/user/index.js:172 \u00B7 assets/admin/controller/user/index.js:179 \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":"assets/admin/controller/user/index.js"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"a69d77637d3feed4e795a8bb7859ae2dc6ca553430d1f3faedec3ca9a62ea764"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): assets/admin/js/menu.js:1145 \u00B7 assets/admin/js/menu.js:1152 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/js/menu.js"},"region":{"startLine":1145}}}],"partialFingerprints":{"codehealthFindingId/v1":"39a13fe8dfb98c650f738f78335b86126ddeb9426448ec2a533a19e916363477"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3 locations): assets/admin/js/menu.js:2362 \u00B7 assets/admin/js/menu.js:3553 \u00B7 assets/admin/js/menu.js:3577 \u2014 all 3 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/js/menu.js"},"region":{"startLine":2362}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a7add8b3731a4d14164e2b5947a8cba5c4802246f24a4c29eba7c2f280eaecd"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): assets/admin/js/menu.js:2453 \u00B7 assets/admin/js/menu.js:2462 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/js/menu.js"},"region":{"startLine":2453}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd3a4d815b326386a21b0002f5054ad9a4b7a6b4f9f3618fa99d4a466d6b31d4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): assets/admin/js/menu.js:2605 \u00B7 assets/admin/js/menu.js:2627 \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":"assets/admin/js/menu.js"},"region":{"startLine":2605}}}],"partialFingerprints":{"codehealthFindingId/v1":"f93c912a69abc2ad4b9268a4eb84e2cbe4cafd1002f1e81be82a5c85c6d1e6ee"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): assets/admin/js/menu.js:3369 \u00B7 assets/admin/js/menu.js:3389 \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":"assets/admin/js/menu.js"},"region":{"startLine":3369}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c1d15435b2a998317bebeb2146f6766a3091c13b40373bb27c9826b37c31f03"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): assets/admin/js/mobile/recipes.js:329 \u00B7 assets/admin/js/mobile/recipes.js:620 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/js/mobile/recipes.js"},"region":{"startLine":329}}}],"partialFingerprints":{"codehealthFindingId/v1":"18acb7a6115dcb2964d3bc7676a18b04b97c9b957eeea557162a0a685f28b1e4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): assets/admin/js/mobile/recipes.js:416 \u00B7 assets/admin/js/mobile/recipes.js:444 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/js/mobile/recipes.js"},"region":{"startLine":416}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8dc608520eebd2b782d27accb8e96044428e60c4081b711c59bfccb7baf05b8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): assets/common/js/component.js:616 \u00B7 assets/common/js/component.js:625 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/common/js/component.js"},"region":{"startLine":616}}}],"partialFingerprints":{"codehealthFindingId/v1":"a462d41cbcfcb11274eddb5c359dd40366b1dead1ec89ca32d238cc9a0ac0b2b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): assets/common/js/component/form.js:1337 \u00B7 assets/common/js/component/form.js:1752 \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":"assets/common/js/component/form.js"},"region":{"startLine":1337}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4d824c667643e363c83dbacfe955ee09a13bfd707b40fb8fe9a788b9ac6625c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): assets/common/js/component/form.js:2126 \u00B7 assets/common/js/component/search.js:552 \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":"assets/common/js/component/form.js"},"region":{"startLine":2126}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e66247c79736d6a9126ad901d2e0e9ef717d7a3910949e2184887428d418c19"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): assets/common/js/component/table.js:686 \u00B7 assets/common/js/component/table.js:1055 \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":"assets/common/js/component/table.js"},"region":{"startLine":686}}}],"partialFingerprints":{"codehealthFindingId/v1":"41b86641621c4a61994e4eb64eaaacb5e68c36e3e830b741e3bb888da54bfb19"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): assets/static/codemirror/addon/fold/foldcode.js:104 \u00B7 assets/static/codemirror/addon/fold/foldcode.js:110 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/static/codemirror/addon/fold/foldcode.js"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"01f6bafd7a23b2ac6229c71c697a68dfd7afa9f19db901fd51c78297c6b9b9aa"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): assets/static/codemirror/lib/codemirror.js:1334 \u00B7 assets/static/codemirror/lib/codemirror.js:1351 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/static/codemirror/lib/codemirror.js"},"region":{"startLine":1334}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e7fb65710065e73ce7e6f56073bf1b3e0203b11552dad131950ec5b2e2a2f8a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): assets/static/codemirror/lib/codemirror.js:6355 \u00B7 assets/static/codemirror/lib/codemirror.js:6367 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/static/codemirror/lib/codemirror.js"},"region":{"startLine":6355}}}],"partialFingerprints":{"codehealthFindingId/v1":"303371caa2f060e68ed885336252478bc679165a559710434dbfa91e6e3c0c1d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): assets/static/codemirror/mode/css/css.js:221 \u00B7 assets/static/codemirror/mode/css/css.js:350 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/static/codemirror/mode/css/css.js"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"4612f9df20db878bf168634232c88eec4a120c537836770958b3f29d571cfc7e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): assets/static/codemirror/mode/javascript/javascript.js:732 \u00B7 assets/static/codemirror/mode/javascript/javascript.js:738 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/static/codemirror/mode/javascript/javascript.js"},"region":{"startLine":732}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5f9e644c677e3bb0bee217f19d8a057edc09c36a2571f2761bc42e6d584a17f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): assets/static/codemirror/mode/markdown/markdown.js:572 \u00B7 assets/static/codemirror/mode/markdown/markdown.js:578 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/static/codemirror/mode/markdown/markdown.js"},"region":{"startLine":572}}}],"partialFingerprints":{"codehealthFindingId/v1":"a24cfa11020fa5b900a96f85f3b71b2aebc4a492016f4c3dffc2ce6da192f86e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): assets/static/modules/hex.js:653 \u00B7 assets/static/modules/hex.js:664 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/static/modules/hex.js"},"region":{"startLine":653}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa4835aa1793cbee7756315290f3d8f75f41e703e5f9e10fc79d3dd5dd6a1d29"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3 locations): assets/user/controller/business/category.js:7 \u00B7 assets/user/controller/business/commodity.js:8 \u00B7 assets/user/controller/business/coupon.js:7 \u2014 the 3 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it. There is one copy in each of 3 separate files rather than several in one place, so check first whether these are sibling modules that each declare their own version of one shape \u2014 one per entity, per provider, per language. Where they are, no single extracted module collapses them: each module still has to be written, and what recurs is the TEMPLATE. The moves that do collapse a template are to generate these modules from the set they enumerate, or to replace the repeated construction with one factory each site calls with its own values \u2014 and where the set is the point, each module pinning one distinct thing, the repetition IS the enumeration and there is nothing to delete."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/user/controller/business/category.js"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a42a2a7fd8d637c60509e6b018e351770f7f2836646549be8f77452c864ee79"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (5 matched lines \u00D7 2 locations): assets/admin/controller/manage/log.js:1 \u00B7 assets/admin/controller/pay/api.js:1 \u2014 the two spans are one implementation copied and then locally edited \u2014 57 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":"assets/admin/controller/manage/log.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d9312e7e4dd36d104a49099beb75b620ab725b21178d488a467d94cb90830c7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): assets/admin/controller/shared/store.js:22 \u00B7 assets/admin/controller/shared/store.js:96 \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":"assets/admin/controller/shared/store.js"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"57e52dd22ec8b54b6ff1a80e53338021c13f6d5501ef49ad815d178fb335641e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3 locations): assets/admin/js/menu.js:2383 \u00B7 assets/admin/js/menu.js:3068 \u00B7 assets/admin/js/menu.js:3639 \u2014 all 3 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/js/menu.js"},"region":{"startLine":2383}}}],"partialFingerprints":{"codehealthFindingId/v1":"b12fbf2039a4373f4b700114e33b9447e9a77e56fc24bcb7a4e4508418038a4a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3 locations): assets/admin/js/menu.js:2478 \u00B7 assets/admin/js/menu.js:3066 \u00B7 assets/admin/js/menu.js:3637 \u2014 all 3 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/js/menu.js"},"region":{"startLine":2478}}}],"partialFingerprints":{"codehealthFindingId/v1":"662e63d37dffe7452ba3543716190698aeb8bb7949c33bc0dd718254cd8ea267"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): assets/admin/js/mobile/overlay.js:20 \u00B7 assets/admin/js/mobile/recipes.js:18 \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":"assets/admin/js/mobile/overlay.js"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c8f9b86c44ea5d2c434376b5e6164adb2389bec7dfdbbe45fbbf41afe1516c8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): assets/admin/js/mobile/overlay.js:523 \u00B7 assets/admin/js/mobile/overlay.js:532 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/js/mobile/overlay.js"},"region":{"startLine":523}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f704fd2eb42dbd4faa16c7b0b9ed92d96f16317e29a2db484622d5ccbf64dcd"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (5 matched lines \u00D7 2 locations): assets/admin/js/mobile/viewport.js:39 \u00B7 assets/admin/js/mobile/viewport.js:54 \u2014 the two spans are one implementation copied and then locally edited \u2014 59 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/js/mobile/viewport.js"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"73bcab5d0325f2930ff3fc388dedb520ea9e516a781ee749582f021f75f40f6a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): assets/common/js/component/decimal.js:13 \u00B7 assets/common/js/component/decimal.js:19 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/common/js/component/decimal.js"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"313453db064ff675c0cddfaf5ba610a01616ab188058e570958d13827fb9aaa6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): assets/common/js/component/form.js:1302 \u00B7 assets/common/js/component/form.js:1332 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/common/js/component/form.js"},"region":{"startLine":1302}}}],"partialFingerprints":{"codehealthFindingId/v1":"8108ec1c3c04ba233dacdb9d2790882fbff5b43d4a80fc6b56ef5e05e992f5c5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): assets/common/js/component/table.js:445 \u00B7 assets/common/js/component/table.js:1723 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/common/js/component/table.js"},"region":{"startLine":445}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b36a1e62451cd43c492c2c983f22d2ab477fde8fdff4a70b48e7c951f9adaf4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): assets/common/js/component/table.js:1886 \u00B7 assets/common/js/component/table.js:1895 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/common/js/component/table.js"},"region":{"startLine":1886}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e95c931d23c0de8f59a323fa668f4e26202386426215430ec96fb4fabc25e47"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): assets/common/js/component/tree.select.js:1430 \u00B7 assets/common/js/component/tree.select.js:3699 \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":"assets/common/js/component/tree.select.js"},"region":{"startLine":1430}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b3b9d7cb556825d29076279edc6cbd5d6dd8c148cddd59de7e01d618fbc43bf"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): assets/common/js/component/tree.select.js:1572 \u00B7 assets/common/js/component/tree.select.js:3700 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/common/js/component/tree.select.js"},"region":{"startLine":1572}}}],"partialFingerprints":{"codehealthFindingId/v1":"00698792f50732e7518706e46cd86278dc6065c792ab2f610dee84486f610553"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): assets/static/acg.js:180 \u00B7 assets/static/pay.js:230 \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":"assets/static/acg.js"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"697aa74d2295d04d4fac734f6e71f28d1b7c309354da8460ae60d48128c9ab5e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): assets/static/codemirror/lib/codemirror.js:3755 \u00B7 assets/static/codemirror/lib/codemirror.js:3760 \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":"assets/static/codemirror/lib/codemirror.js"},"region":{"startLine":3755}}}],"partialFingerprints":{"codehealthFindingId/v1":"5061c32d41548bfeb301592a6420aa7a85080e766eba571ce8165669d02c7240"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): assets/static/codemirror/lib/codemirror.js:7124 \u00B7 assets/static/codemirror/lib/codemirror.js:7130 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/static/codemirror/lib/codemirror.js"},"region":{"startLine":7124}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e2a4f9e7ae1c6c55871fd0c82f166e112c768a703fad92b49b5106faa719605"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): assets/user/controller/security/device.js:39 \u00B7 assets/user/controller/security/totp.js:104 \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":"assets/user/controller/security/device.js"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2cbd525ca5c364afbf7dfe590a104d363dd7bbcca4c41b84ce1e9e03df448ea"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function _docMouseMove (cyclomatic 132, cognitive 229): _docMouseMove has cyclomatic complexity 132 and cognitive complexity 229; 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":"assets/common/js/component/tree.select.js"},"region":{"startLine":2968}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c21303fe77be1bc164d6afbd9f67bbb1c8c0a15a87f36caf3eca9869c3402db"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function inlineNormal (cyclomatic 121, cognitive 180): inlineNormal has cyclomatic complexity 121 and cognitive complexity 180; 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":"assets/static/codemirror/mode/markdown/markdown.js"},"region":{"startLine":414}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d35c2779ce3c0553653a7754fa8d819042ae30018e66e1479471e96e3cfcba4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 116, cognitive 135): (anonymous) has cyclomatic complexity 116 and cognitive complexity 135; 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":"assets/static/modules/hex.js"},"region":{"startLine":351}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c297401a26c6d48ab47e35752f253265c37657031ff3466dadf852735e7bcd9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 78, cognitive 74): (anonymous) has cyclomatic complexity 78 and cognitive complexity 74; 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":"assets/admin/js/mobile/fallback.js"},"region":{"startLine":2883}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4045ed04a5e54c5f14d1710339cf43ba9a32f0bf554582d5df4e74bbbd25a64"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 68, cognitive 198): (anonymous) has cyclomatic complexity 68 and cognitive complexity 198; 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":"assets/static/acg.js"},"region":{"startLine":658}}}],"partialFingerprints":{"codehealthFindingId/v1":"94b3597363fdba74b7a5ce476b1b56dd8faef2b53e9af58447e759dc6b2e37f2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 63, cognitive 113): (anonymous) has cyclomatic complexity 63 and cognitive complexity 113; 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":"assets/static/codemirror/lib/codemirror.js"},"region":{"startLine":393}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0d69d767b13c9af8ce543de9a98c15a3ba2dd7da90085dd6109ed92b397bc90"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function blockNormal (cyclomatic 62, cognitive 66): blockNormal has cyclomatic complexity 62 and cognitive complexity 66; 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":"assets/static/codemirror/mode/markdown/markdown.js"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"506cce6cc1a2a37bdb94eb5d6e458afae1cc0db59a7e6611567b34a1012c03f5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function moveNode (cyclomatic 57, cognitive 75): moveNode has cyclomatic complexity 57 and cognitive complexity 75; 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":"assets/common/js/component/tree.select.js"},"region":{"startLine":3551}}}],"partialFingerprints":{"codehealthFindingId/v1":"767972e9a8df58155e5efdc575ba4d49da063cc75243553af49855e8a811c5f8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function insertLineContent (cyclomatic 56, cognitive 147): insertLineContent has cyclomatic complexity 56 and cognitive complexity 147; 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":"assets/static/codemirror/lib/codemirror.js"},"region":{"startLine":1921}}}],"partialFingerprints":{"codehealthFindingId/v1":"5df74a4ea6c8b1a841060e6866083f15be78591ff44a4c3ba3e69320b7b6e233"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function upload (cyclomatic 49, cognitive 75): upload has cyclomatic complexity 49 and cognitive complexity 75; 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":"assets/admin/controller/trade/card-file-upload.js"},"region":{"startLine":603}}}],"partialFingerprints":{"codehealthFindingId/v1":"a49cd1c2ef6519317d7dca29ed2ae02553a0b681a1a72eea71a24e684d56ac45"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function render (cyclomatic 49, cognitive 50): render has cyclomatic complexity 49 and cognitive complexity 50; 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":"assets/admin/js/mobile/fallback.js"},"region":{"startLine":2784}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ac240dcd0c84b068f37b5451802e921e33e4fe76c8ee2570ddd624ed97dd0bc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function popup (cyclomatic 44, cognitive 47): popup has cyclomatic complexity 44 and cognitive complexity 47; 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":"assets/common/js/component.js"},"region":{"startLine":339}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5a2824572ca5a39644f5e9c8abd04da1591040981c44296c624762346a900fa"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function tokenBase (cyclomatic 43, cognitive 57): tokenBase has cyclomatic complexity 43 and cognitive complexity 57; 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":"assets/static/codemirror/mode/javascript/javascript.js"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"9195af0165612e293ad212e44609282b1a75e18b10b69f5bdb91e8435c0894f7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 41, cognitive 40): (anonymous) has cyclomatic complexity 41 and cognitive complexity 40; 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":"assets/static/codemirror/lib/codemirror.js"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"28098143497242920127a553373ebbc0b63cebcdce368d1ba81682b924cf0f0f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function statement (cyclomatic 40, cognitive 46): statement has cyclomatic complexity 40 and cognitive complexity 46; 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":"assets/static/codemirror/mode/javascript/javascript.js"},"region":{"startLine":368}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ef74460df921af60f354d2b98b15137d36044eb90bf27f2f2b611377397766f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 39, cognitive 60): (anonymous) has cyclomatic complexity 39 and cognitive complexity 60; 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":"assets/static/codemirror/lib/codemirror.js"},"region":{"startLine":3232}}}],"partialFingerprints":{"codehealthFindingId/v1":"68dc3bef0965897773e787185ffc7bcf331872a8e654db798b6def4bc08930a6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 39, cognitive 52): (anonymous) has cyclomatic complexity 39 and cognitive complexity 52; 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":"assets/static/modules/hex.js"},"region":{"startLine":647}}}],"partialFingerprints":{"codehealthFindingId/v1":"28ec487df5ec2e8dc775c2e4334ea38a17d11c7b59c13ca1194b49d247755c8d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function indent (cyclomatic 36, cognitive 42): indent has cyclomatic complexity 36 and cognitive complexity 42; 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":"assets/static/codemirror/mode/javascript/javascript.js"},"region":{"startLine":895}}}],"partialFingerprints":{"codehealthFindingId/v1":"608f1a1fc5eea4060087756c535bd0acd1012544e046a0eb2cc9ba05599e0c6c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function renderRelated (cyclomatic 36, cognitive 33): renderRelated has cyclomatic complexity 36 and cognitive complexity 33; 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":"assets/user/controller/user/ticket.detail.js"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3a02b356ec8f9ae6fa3f8cf8c866477f25d35cb5955650316df59c4c204cbcd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function done (cyclomatic 36, cognitive 28): done has cyclomatic complexity 36 and cognitive complexity 28; 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":"assets/admin/controller/pay/api.js"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6e2cd0b537cd4734193730dab85bef66d4f50ed1f85ba4d8754648a2db34308"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function measureCharInner (cyclomatic 35, cognitive 49): measureCharInner has cyclomatic complexity 35 and cognitive complexity 49; 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":"assets/static/codemirror/lib/codemirror.js"},"region":{"startLine":2489}}}],"partialFingerprints":{"codehealthFindingId/v1":"e813da5b63ceeb477bcf22c18899d6ffb3c1fce43f3695ebc874cfb19de00f6f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function renderTreeContext (cyclomatic 35, cognitive 46): renderTreeContext has cyclomatic complexity 35 and cognitive complexity 46; 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":"assets/admin/js/mobile/fallback.js"},"region":{"startLine":2628}}}],"partialFingerprints":{"codehealthFindingId/v1":"05d662d93ef5bc6573924a23eb5528423c6165631b0dafc86bf8d3f4395c1d2c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function markText (cyclomatic 34, cognitive 38): markText has cyclomatic complexity 34 and cognitive complexity 38; 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":"assets/static/codemirror/lib/codemirror.js"},"region":{"startLine":5968}}}],"partialFingerprints":{"codehealthFindingId/v1":"61a42b74b95b43063c8ae779e9834675d47a9c1f452075e2bf4db320ebcfd0fb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getType (cyclomatic 33, cognitive 59): getType has cyclomatic complexity 33 and cognitive complexity 59; 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":"assets/static/codemirror/mode/markdown/markdown.js"},"region":{"startLine":324}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8870ab3df6575e9c162bcb9444f691a36bd603f3eeeeea335c83415fcfcbb5e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function render (cyclomatic 33, cognitive 34): render has cyclomatic complexity 33 and cognitive complexity 34; 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":"assets/common/js/component/authtree.js"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"692ce9c418408c35936d6465ff8928d761072b40aa8b82d23c43c9cc9781ede5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function render (cyclomatic 33, cognitive 34): render has cyclomatic complexity 33 and cognitive complexity 34; 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":"assets/static/modules/authtree.js"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"d36d40c12f6bb920c503f0aea043a6916baebbb455ab9cd2eb0352b566ea05b4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function success (cyclomatic 33, cognitive 30): success has cyclomatic complexity 33 and cognitive complexity 30; 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":"assets/user/js/glass.js"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce15f36da34b250f5fb97c36245dd8963c0cab5aa099a6d2313ebae10c504443"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function stretchSpansOverChange (cyclomatic 32, cognitive 64): stretchSpansOverChange has cyclomatic complexity 32 and cognitive complexity 64; 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":"assets/static/codemirror/lib/codemirror.js"},"region":{"startLine":1372}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5eabefc205771579bb4a1f91dab7b3a3f9552fd7e38a2d9d962cae48ebf0998"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildToken (cyclomatic 32, cognitive 57): buildToken has cyclomatic complexity 32 and cognitive complexity 57; 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":"assets/static/codemirror/lib/codemirror.js"},"region":{"startLine":1801}}}],"partialFingerprints":{"codehealthFindingId/v1":"e917231c06792960c436e70ec03a0de70efafa670b86cb62e86f0e5e94df2563"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function pollContent (cyclomatic 32, cognitive 33): pollContent has cyclomatic complexity 32 and cognitive complexity 33; 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":"assets/static/codemirror/lib/codemirror.js"},"region":{"startLine":9058}}}],"partialFingerprints":{"codehealthFindingId/v1":"6667678ac9bcf060c161dd304b29a811f615988ce1c6ed672b1663f219cfbf9d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function renderToolbar (cyclomatic 32, cognitive 31): renderToolbar has cyclomatic complexity 32 and cognitive complexity 31; 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":"assets/admin/js/mobile/fallback.js"},"region":{"startLine":2193}}}],"partialFingerprints":{"codehealthFindingId/v1":"6807482de893fe192586f058fa7b97831c1015ce0ef1e3f9273812fe39a3fa8b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function submit (cyclomatic 32, cognitive 27): submit has cyclomatic complexity 32 and cognitive complexity 27; 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":"assets/admin/controller/trade/order.js"},"region":{"startLine":785}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce799ef4701a5e1e8b2b262e11e499f89ed79c3e9638b8c91fd93f4209ee1f00"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 32, cognitive 13): (anonymous) has cyclomatic complexity 32 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":"assets/common/js/component/form.js"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"31cd5a0bdc2702c5e7e0f6ce90581e9a2d946cd0fdfe0198de7b3f455fc3d347"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function skipAtomicInner (cyclomatic 31, cognitive 105): skipAtomicInner has cyclomatic complexity 31 and cognitive complexity 105; 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":"assets/static/codemirror/lib/codemirror.js"},"region":{"startLine":5202}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0fe67237ba77719f849654b0d5e31491f67810177d0a13def791c40776b1e16"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function presentPopup (cyclomatic 31, cognitive 30): presentPopup has cyclomatic complexity 31 and cognitive complexity 30; 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":"assets/admin/js/mobile/overlay.js"},"region":{"startLine":1130}}}],"partialFingerprints":{"codehealthFindingId/v1":"20b7afc43d121dd6f5f763738eef3d045658163b012133f1477bd84112f73d0b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function submit (cyclomatic 31, cognitive 27): submit has cyclomatic complexity 31 and cognitive complexity 27; 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":"assets/admin/controller/user/recharge.order.js"},"region":{"startLine":271}}}],"partialFingerprints":{"codehealthFindingId/v1":"61bb96dfe16e057fe4af8d26cd30b6d8f667812bdf3d148587c3ba2e29ebd155"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function tokenBaseInner (cyclomatic 30, cognitive 43): tokenBaseInner has cyclomatic complexity 30 and cognitive complexity 43; 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":"assets/static/codemirror/mode/python/python.js"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"57cdc16e19c65979228771a42521aff7971b65702a71a5b61ccbeb0fbc72d80b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function clear (cyclomatic 30, cognitive 39): clear has cyclomatic complexity 30 and cognitive complexity 39; 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":"assets/static/codemirror/lib/codemirror.js"},"region":{"startLine":5858}}}],"partialFingerprints":{"codehealthFindingId/v1":"afc06cfbb31c59511a980094c3ce4b9eb410bb7bbaa219085dc12cccf6b36b32"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function onKey (cyclomatic 30, cognitive 30): onKey has cyclomatic complexity 30 and cognitive complexity 30; 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":"assets/admin/controller/trade/category-tree.js"},"region":{"startLine":1041}}}],"partialFingerprints":{"codehealthFindingId/v1":"e037f855b7b5cf422ff4f31b1fdbed713f069e64f09d41e67aa5af59eb29174a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function makeChkFlag (cyclomatic 29, cognitive 54): makeChkFlag has cyclomatic complexity 29 and cognitive complexity 54; 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":"assets/common/js/component/tree.select.js"},"region":{"startLine":2278}}}],"partialFingerprints":{"codehealthFindingId/v1":"4193a5e502f44cebbef151af6b1c17039a3b169ba1a17cb5b2e94d9c2e4281c4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function renderReferenceCard (cyclomatic 29, cognitive 34): renderReferenceCard has cyclomatic complexity 29 and cognitive complexity 34; 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":"assets/admin/js/mobile/fallback.js"},"region":{"startLine":441}}}],"partialFingerprints":{"codehealthFindingId/v1":"c52e7bbfb6a9092775d98210a259d150ec4941f87537e86aa8efa21347d15a8b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function findPosH (cyclomatic 28, cognitive 46): findPosH has cyclomatic complexity 28 and cognitive complexity 46; 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":"assets/static/codemirror/lib/codemirror.js"},"region":{"startLine":8708}}}],"partialFingerprints":{"codehealthFindingId/v1":"31abb82292b009abc577a3ca6d7083be3cfa1615f02bbb5bd73981729eafd93c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function indent (cyclomatic 28, cognitive 40): indent has cyclomatic complexity 28 and cognitive complexity 40; 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":"assets/static/codemirror/mode/xml/xml.js"},"region":{"startLine":340}}}],"partialFingerprints":{"codehealthFindingId/v1":"782c76583b2abdb3eb131804183011d83b238af5d058e5f66b9a5d939190d9f2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function applyTextInput (cyclomatic 28, cognitive 37): applyTextInput has cyclomatic complexity 28 and cognitive complexity 37; 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":"assets/static/codemirror/lib/codemirror.js"},"region":{"startLine":8146}}}],"partialFingerprints":{"codehealthFindingId/v1":"14897ff92dfb92705b0aaaab97e62f8bf4a5249334a8bb9edbff7455a95b9a99"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function register (cyclomatic 28, cognitive 31): register has cyclomatic complexity 28 and cognitive complexity 31; 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":"assets/common/js/editor/markdown/editorv2.js"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"240c8a2ec90570261aa1766d86268b575235cfbaee716a052be06805ed6192b7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function _docMouseUp (cyclomatic 28, cognitive 29): _docMouseUp has cyclomatic complexity 28 and cognitive complexity 29; 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":"assets/common/js/component/tree.select.js"},"region":{"startLine":3266}}}],"partialFingerprints":{"codehealthFindingId/v1":"16577a48e3df1f55f76d1c7a3cf0cd74133e0bb832be1da1251a90ca9a5bf6a3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function focusInvalid (cyclomatic 28, cognitive 26): focusInvalid has cyclomatic complexity 28 and cognitive complexity 26; 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":"assets/admin/js/mobile/overlay.js"},"region":{"startLine":1063}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f351928e5c23b7216741f685a3bfc2f3d5cb8eab0b3e98d19a5ddf2a0e80b43"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function checkNodeRelation (cyclomatic 27, cognitive 60): checkNodeRelation has cyclomatic complexity 27 and cognitive complexity 60; 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":"assets/common/js/component/tree.select.js"},"region":{"startLine":2369}}}],"partialFingerprints":{"codehealthFindingId/v1":"427b3778c557def008248d39326a333734e8910bbffb6166aae7e4669ccc8661"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function onScrollWheel (cyclomatic 27, cognitive 35): onScrollWheel has cyclomatic complexity 27 and cognitive complexity 35; 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":"assets/static/codemirror/lib/codemirror.js"},"region":{"startLine":4509}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba699b5ba477447bb779fb6cfa5531ead82c6f243516cb85103cfec35ec02e7f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function tokenBase (cyclomatic 27, cognitive 31): tokenBase has cyclomatic complexity 27 and cognitive complexity 31; 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":"assets/static/codemirror/mode/css/css.js"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"402fe703637a2514705585b052a0c23e583b1b67199ba68b46f00edbdc586a04"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function openMenu (cyclomatic 27, cognitive 25): openMenu has cyclomatic complexity 27 and cognitive complexity 25; 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":"assets/admin/controller/trade/category-tree.js"},"region":{"startLine":750}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c2202726e82c2b52c27e0f27b6dca11fbd4c75aa0ad767ef84ce532202cee05"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function updateDisplayIfNeeded (cyclomatic 27, cognitive 18): updateDisplayIfNeeded has cyclomatic complexity 27 and cognitive complexity 18; 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":"assets/static/codemirror/lib/codemirror.js"},"region":{"startLine":4104}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c1e59f1eff7e7ceee008a2d7fdc6688bb9219c0165a5816a33a5d4135774d56"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function tokenLexer (cyclomatic 26, cognitive 28): tokenLexer has cyclomatic complexity 26 and cognitive complexity 28; 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":"assets/static/codemirror/mode/python/python.js"},"region":{"startLine":300}}}],"partialFingerprints":{"codehealthFindingId/v1":"95428de4e593745f6fa1019625c0c5af22477dd363065eed77cd280275d6ddb3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function showPrimarySelection (cyclomatic 26, cognitive 27): showPrimarySelection has cyclomatic complexity 26 and cognitive complexity 27; 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":"assets/static/codemirror/lib/codemirror.js"},"region":{"startLine":8917}}}],"partialFingerprints":{"codehealthFindingId/v1":"85d1a72581a3e063fa9f050ca6f614ef104e9f31e280673c646aac043c5a1953"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function normalizeMessage (cyclomatic 26, cognitive 11): normalizeMessage has cyclomatic complexity 26 and cognitive complexity 11; 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":"assets/user/controller/user/message.js"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c68d8260001ce8d568e99da0d95394badcc21f08a82a2aa9e2eb005cf771849"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function normalizeMessage (cyclomatic 26, cognitive 11): normalizeMessage has cyclomatic complexity 26 and cognitive complexity 11; 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":"assets/user/js/glass.js"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"167b3c4d4af26e7588437a28e1f63e47bfa5f235152fda32793b95df61cb4ef5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function regChange (cyclomatic 25, cognitive 34): regChange has cyclomatic complexity 25 and cognitive complexity 34; 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":"assets/static/codemirror/lib/codemirror.js"},"region":{"startLine":3002}}}],"partialFingerprints":{"codehealthFindingId/v1":"42efdcc4dcc76b7e51cccc9d95cdc9f85d73b7a77205a52179ada29c171a7deb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function moveVisually (cyclomatic 25, cognitive 31): moveVisually has cyclomatic complexity 25 and cognitive complexity 31; 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":"assets/static/codemirror/lib/codemirror.js"},"region":{"startLine":6912}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bdcb50de8abe762c5a352e3f157898d6a9d361d232f011b852eb4e75a45c4a8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function add (cyclomatic 25, cognitive 29): add has cyclomatic complexity 25 and cognitive complexity 29; 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":"assets/user/controller/security/passkey.js"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"8197ceb56d0191e3e16efa308b59d4f4e5ec71cb8c0e20d4e8715533a12b5b06"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function validateCompose (cyclomatic 25, cognitive 26): validateCompose has cyclomatic complexity 25 and cognitive complexity 26; 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":"assets/admin/controller/user/message.js"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ec1acca205c280a4481e1bfe775a5e346638fe83cbcff6fa405ca1bffc25a31"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function renderCartoonMobile (cyclomatic 25, cognitive 26): renderCartoonMobile has cyclomatic complexity 25 and cognitive complexity 26; 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":"assets/user/controller/user/message.js"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"65c75418d0f3c98375c4a4705d50d183a02f4e6f50b7367a070ddcf743942101"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function openFilters (cyclomatic 25, cognitive 24): openFilters has cyclomatic complexity 25 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 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":"assets/admin/js/mobile/fallback.js"},"region":{"startLine":2055}}}],"partialFingerprints":{"codehealthFindingId/v1":"638fc811ef53f832c8c0e85e227bce9afbe72bef80b290ff9ec7eb9c034c0a8c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 25, cognitive 23): (anonymous) has cyclomatic complexity 25 and cognitive complexity 23; 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":"assets/common/js/component/form.js"},"region":{"startLine":992}}}],"partialFingerprints":{"codehealthFindingId/v1":"489eae736af466aa5e901e60780f61042e209d381315ae1777e101a5f0e6cc2a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function submit (cyclomatic 25, cognitive 21): submit has cyclomatic complexity 25 and cognitive complexity 21; 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":"assets/admin/controller/trade/card.js"},"region":{"startLine":656}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ec409333255d26b497fd2f1493c1035e4826ae4bb31a90628bb6c89e22fbb9b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 24, cognitive 39): (anonymous) has cyclomatic complexity 24 and cognitive complexity 39; 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":"assets/static/codemirror/addon/fold/comment-fold.js"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0d4df8e7ac7a2cde68eeecc712d5a1b57cab3af65a2724b0de7e531982c4f60"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function _eventProxy (cyclomatic 24, cognitive 29): _eventProxy has cyclomatic complexity 24 and cognitive complexity 29; 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":"assets/common/js/component/tree.select.js"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a6f130b56b3224f3eb78364bea47cee2c373365790d70f284b7c7e91cf380cf"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 24, cognitive 19): (anonymous) has cyclomatic complexity 24 and cognitive complexity 19; 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":"assets/admin/controller/trade/coupon.js"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f03b99512e3e09aaf3ecd8404b3ecdff0061b9a094664570eae79973422d788"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function onKeyDown (cyclomatic 24, cognitive 19): onKeyDown has cyclomatic complexity 24 and cognitive complexity 19; 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":"assets/static/codemirror/lib/codemirror.js"},"region":{"startLine":7242}}}],"partialFingerprints":{"codehealthFindingId/v1":"424fdc65b4e039b059e31c8e4d3aee3abea77f22198ba04a1eb448ef66690a06"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fitImportPopupHeight (cyclomatic 24, cognitive 17): fitImportPopupHeight has cyclomatic complexity 24 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":"assets/admin/controller/shared/store.js"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b74594d42b50c4d64297f59fdd63851ed5c9ada5fe61ced975e5698c24406a1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function findFatArrow (cyclomatic 23, cognitive 39): findFatArrow has cyclomatic complexity 23 and cognitive complexity 39; 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":"assets/static/codemirror/mode/javascript/javascript.js"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"db15e270bb27c06a795712fc939d5f325f7a52c16163eb3569aa4a7ca7c82b5a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildLineContent (cyclomatic 23, cognitive 34): buildLineContent has cyclomatic complexity 23 and cognitive complexity 34; 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":"assets/static/codemirror/lib/codemirror.js"},"region":{"startLine":1734}}}],"partialFingerprints":{"codehealthFindingId/v1":"e528bc73cfc1b9802779c02a0f3cd8d827d54bd97a8c074c829e62f25b083f00"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function indentLine (cyclomatic 23, cognitive 34): indentLine has cyclomatic complexity 23 and cognitive complexity 34; 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":"assets/static/codemirror/lib/codemirror.js"},"region":{"startLine":8078}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ea13dec903e590143464a22c1ebbfac9d6dc95f18ab43416ca93a38abd1dc05"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function cardActionIcon (cyclomatic 23, cognitive 22): cardActionIcon has cyclomatic complexity 23 and cognitive complexity 22; 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":"assets/admin/js/mobile/fallback.js"},"region":{"startLine":1777}}}],"partialFingerprints":{"codehealthFindingId/v1":"044a9a04d77398e88d03a3f7d8f965c37ba93bfaf32e94675e9cf9910d1292e2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 23, cognitive 19): (anonymous) has cyclomatic complexity 23 and cognitive complexity 19; 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":"assets/admin/controller/trade/coupon.js"},"region":{"startLine":677}}}],"partialFingerprints":{"codehealthFindingId/v1":"b77b68fc253f6036fc0f76240d4efb5695a7c132c8074f341b02f9a4ce9d05ca"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 22, cognitive 38): (anonymous) has cyclomatic complexity 22 and cognitive complexity 38; 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":"assets/admin/controller/shared/store.js"},"region":{"startLine":1047}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a7006453ec53b5b414aee67edfe30078b5395ae9b7d9d09b0c5840f2f4d973c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function nodeAndOffsetInLineMap (cyclomatic 22, cognitive 38): nodeAndOffsetInLineMap has cyclomatic complexity 22 and cognitive complexity 38; 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":"assets/static/codemirror/lib/codemirror.js"},"region":{"startLine":2441}}}],"partialFingerprints":{"codehealthFindingId/v1":"14422323f30c0bf468df773925accac5461ea14f31950b6ae2e343fef02f8e84"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function expandCollapseNode (cyclomatic 22, cognitive 32): expandCollapseNode has cyclomatic complexity 22 and cognitive complexity 32; 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":"assets/common/js/component/tree.select.js"},"region":{"startLine":1203}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7032ef2f0924bafa0772c435ea9bde1f469cae303f64ed9ad124212fc418587"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 22, cognitive 28): (anonymous) has cyclomatic complexity 22 and cognitive complexity 28; 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":"assets/user/controller/user/message.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"81e176ef4b85055d9abd5a6364d7c36647311d99e5e3a4e5c07790db11b4d470"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function renderCardSubtitle (cyclomatic 22, cognitive 25): renderCardSubtitle has cyclomatic complexity 22 and cognitive complexity 25; 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":"assets/admin/js/mobile/fallback.js"},"region":{"startLine":655}}}],"partialFingerprints":{"codehealthFindingId/v1":"5eff2c409e57a1ebb4f4a0b2cd90938af2a89f46bdaab1285bfc4b6636c0aa3d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function expressionInner (cyclomatic 22, cognitive 25): expressionInner has cyclomatic complexity 22 and cognitive complexity 25; 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":"assets/static/codemirror/mode/javascript/javascript.js"},"region":{"startLine":430}}}],"partialFingerprints":{"codehealthFindingId/v1":"56bf5f34c85cf229e62ccb3d7a19112fb3b000cbc8d5e8d4c829d0948f6e624c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function updateSummary (cyclomatic 22, cognitive 22): updateSummary has cyclomatic complexity 22 and cognitive complexity 22; 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":"assets/user/controller/user/recharge.js"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"85553ec40c5faf8f3ac493712bd27d447a543530774e662b51656860fc7a7b3d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function armAutofill (cyclomatic 22, cognitive 21): armAutofill has cyclomatic complexity 22 and cognitive complexity 21; 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":"assets/user/controller/auth/login.js"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"00e886e798e7d7fd1c5e3246d2218ffb2573bd5b3b3423840688cf6f93a53743"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function poll (cyclomatic 22, cognitive 18): poll has cyclomatic complexity 22 and cognitive complexity 18; 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":"assets/static/codemirror/lib/codemirror.js"},"region":{"startLine":9548}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cb188b8951cc978a1e699d259498f976c9476b9a686a3e8546d328d118761e7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function controlAvailable (cyclomatic 22, cognitive 17): controlAvailable has cyclomatic complexity 22 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":"assets/admin/js/mobile/fallback.js"},"region":{"startLine":936}}}],"partialFingerprints":{"codehealthFindingId/v1":"3542061be2ec1e515da24e33d1b3e2de121bfc8de7e6beb449c1a5c70c80b45c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function normalizeImportRequest (cyclomatic 22, cognitive 14): normalizeImportRequest has cyclomatic complexity 22 and cognitive complexity 14; 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":"assets/admin/controller/shared/store.js"},"region":{"startLine":254}}}],"partialFingerprints":{"codehealthFindingId/v1":"38731221e6f35dbc85be60a2f2eebc6fb599a9dbed396f99bcc0fcd6e53e57de"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function makeChangeFromHistory (cyclomatic 21, cognitive 28): makeChangeFromHistory has cyclomatic complexity 21 and cognitive complexity 28; 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":"assets/static/codemirror/lib/codemirror.js"},"region":{"startLine":5341}}}],"partialFingerprints":{"codehealthFindingId/v1":"bca1f094f8e0c88bfb22d8bf8dde24aa4a5ff710251dc61f4e3e3762865bf9f3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function #getSelectionRowState (cyclomatic 21, cognitive 26): #getSelectionRowState has cyclomatic complexity 21 and cognitive complexity 26; 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":"assets/common/js/component/table.js"},"region":{"startLine":806}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ab9e80670e4cecba57b21f29f1aee53849bb3b4921f26a348c258b9927316f7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function definitionValue (cyclomatic 21, cognitive 23): definitionValue has cyclomatic complexity 21 and cognitive complexity 23; 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":"assets/admin/js/mobile/fallback.js"},"region":{"startLine":861}}}],"partialFingerprints":{"codehealthFindingId/v1":"12caee8c2df40207e181d31d963b6205f94fa4060a2ea4192ccc8f4038a9beef"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function atBlock (cyclomatic 21, cognitive 23): atBlock has cyclomatic complexity 21 and cognitive complexity 23; 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":"assets/static/codemirror/mode/css/css.js"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"70012656e8a8c8a7742e06e1fc33257efa03815ef3585618c05ee65225c41406"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function maybeoperatorNoComma (cyclomatic 21, cognitive 23): maybeoperatorNoComma has cyclomatic complexity 21 and cognitive complexity 23; 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":"assets/static/codemirror/mode/javascript/javascript.js"},"region":{"startLine":459}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3a08f5207b2b18352bd6bee9872698598d5fbdc8c22090b76b1df9df805b2cd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function renderPageActions (cyclomatic 21, cognitive 21): renderPageActions has cyclomatic complexity 21 and cognitive complexity 21; 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":"assets/admin/js/mobile/workflows.js"},"region":{"startLine":1067}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb96700b9f44e52b14580ee8f38619db74ce71d037283f3574ea01f5f482489f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function render (cyclomatic 21, cognitive 20): render has cyclomatic complexity 21 and cognitive complexity 20; 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":"assets/static/modules/hex.js"},"region":{"startLine":1102}}}],"partialFingerprints":{"codehealthFindingId/v1":"09b2d97b3818fcd636287b29534620f1a52362412acb9bd8702cd58cb4cbaf74"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function renderLedgerCard (cyclomatic 21, cognitive 18): renderLedgerCard has cyclomatic complexity 21 and cognitive complexity 18; 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":"assets/admin/js/mobile/fallback.js"},"region":{"startLine":728}}}],"partialFingerprints":{"codehealthFindingId/v1":"d068ce9fbd9871439975c2f1e7c260b50b398873d4cd20bb7042ab98146fffd9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function visible (cyclomatic 21, cognitive 18): visible has cyclomatic complexity 21 and cognitive complexity 18; 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":"assets/admin/js/mobile/workflows.js"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"c66b8cdf8ea4b1298611c2b48090e19fb446c9d960ec40ef9a8f0f32fb8f3686"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 21, cognitive 17): (anonymous) has cyclomatic complexity 21 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":"assets/admin/js/mobile/fallback.js"},"region":{"startLine":2230}}}],"partialFingerprints":{"codehealthFindingId/v1":"7835613322116aa43ef1f7ce783aead791f721a868b0e38e5e31aa4adb38a514"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function classBody (cyclomatic 21, cognitive 17): classBody has cyclomatic complexity 21 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":"assets/static/codemirror/mode/javascript/javascript.js"},"region":{"startLine":777}}}],"partialFingerprints":{"codehealthFindingId/v1":"6249a168878001b7cb38855d4eb6a6429b3ee953ae699ff2bebcb97f138b2890"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 21, cognitive 16): (anonymous) has cyclomatic complexity 21 and cognitive complexity 16; 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":"assets/admin/controller/user/index.js"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"2108cf86566efe356552559ab550fe44af48dac6fdccc3edd74bc802d77e1f81"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handleNavigationClick (cyclomatic 21, cognitive 11): handleNavigationClick has cyclomatic complexity 21 and cognitive complexity 11; 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":"assets/admin/js/mobile/overlay.js"},"region":{"startLine":1285}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2062388d9ba08139acd0ce2e23a0007954f6afd3c1d95ed901729a19151bad6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function setSonNodeCheckBox (cyclomatic 20, cognitive 33): setSonNodeCheckBox has cyclomatic complexity 20 and cognitive complexity 33; 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":"assets/common/js/component/tree.select.js"},"region":{"startLine":2542}}}],"partialFingerprints":{"codehealthFindingId/v1":"492402b6fee93784abf3d74e852ec86280f5652e2c35941021479c65a70142d4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function bidiSimplify (cyclomatic 20, cognitive 24): bidiSimplify has cyclomatic complexity 20 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":"assets/static/codemirror/lib/codemirror.js"},"region":{"startLine":7613}}}],"partialFingerprints":{"codehealthFindingId/v1":"c827a92afacd07e50044a7aba3edce42587c2c23e17c89def8a2d5f4f2a931d9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function closeTransientInput (cyclomatic 20, cognitive 20): closeTransientInput has cyclomatic complexity 20 and cognitive complexity 20; 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":"assets/admin/js/mobile/overlay.js"},"region":{"startLine":419}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5c2bbd73551a07ece5c16739ea369aeffa2b65c4a595fde50b833953116fe5c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function CodeMirror (cyclomatic 20, cognitive 20): CodeMirror has cyclomatic complexity 20 and cognitive complexity 20; 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":"assets/static/codemirror/lib/codemirror.js"},"region":{"startLine":7883}}}],"partialFingerprints":{"codehealthFindingId/v1":"de7cf5d5f62ec3eb02430e1e1ca58509c7fba7c63dedffbf836c95b3174ac04c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function clone (cyclomatic 20, cognitive 19): clone has cyclomatic complexity 20 and cognitive complexity 19; 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":"assets/common/js/util.js"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"c43bddab010d9465297b013fa6285c16847844ffd46844db96717c8523699f79"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function updateViewportVars (cyclomatic 20, cognitive 17): updateViewportVars has cyclomatic complexity 20 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":"assets/admin/js/mobile/viewport.js"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5fd60a72d5ca286a4456bb56246ba5860ca491498cafe4e5ad9efb617ca4b67"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function conflictingCollapsedRange (cyclomatic 19, cognitive 29): conflictingCollapsedRange has cyclomatic complexity 19 and cognitive complexity 29; 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":"assets/static/codemirror/lib/codemirror.js"},"region":{"startLine":1535}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e3a2298f750961a41904fecdfd36cc731a5f7455ca1c455e0fa1b8ba726f653"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function onDrop (cyclomatic 19, cognitive 28): onDrop has cyclomatic complexity 19 and cognitive complexity 28; 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":"assets/static/codemirror/lib/codemirror.js"},"region":{"startLine":6532}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fcca5c15d499e373f9a76997a78b93bfdf7968d395b7e907a12de629ba581ac"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function invalidFormField (cyclomatic 19, cognitive 26): invalidFormField has cyclomatic complexity 19 and cognitive complexity 26; 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":"assets/admin/js/mobile/workflows.js"},"region":{"startLine":271}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a10c9219c3771037efabd10ba5867080fa13175d825db13e5bccd2f2e73120a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function calculateScrollPos (cyclomatic 19, cognitive 23): calculateScrollPos has cyclomatic complexity 19 and cognitive complexity 23; 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":"assets/static/codemirror/lib/codemirror.js"},"region":{"startLine":3499}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d11b87e3ee5ebb34b7b8285ff658a4028055fab411c4c0f42fc8e1e926ebe9b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function onMouseDown (cyclomatic 19, cognitive 23): onMouseDown has cyclomatic complexity 19 and cognitive complexity 23; 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":"assets/static/codemirror/lib/codemirror.js"},"region":{"startLine":7335}}}],"partialFingerprints":{"codehealthFindingId/v1":"4355b65b9ac61ba56f300351a3790b2ff20b22881a708ea7be55ddc7c748d3cf"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function slide (cyclomatic 19, cognitive 22): slide has cyclomatic complexity 19 and cognitive complexity 22; 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":"assets/admin/js/menu.js"},"region":{"startLine":896}}}],"partialFingerprints":{"codehealthFindingId/v1":"cda77a6c9566c59ee4bd783e206c653d532188e2108f4ef8914fab3bc487e81c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function objprop (cyclomatic 19, cognitive 20): objprop has cyclomatic complexity 19 and cognitive complexity 20; 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":"assets/static/codemirror/mode/javascript/javascript.js"},"region":{"startLine":522}}}],"partialFingerprints":{"codehealthFindingId/v1":"b06132e88e9b8e152c5eb7991fafd164bcb622c8d1e3b5de69744c748aea7bc0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function menuContent (cyclomatic 19, cognitive 18): menuContent has cyclomatic complexity 19 and cognitive complexity 18; 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":"assets/admin/js/mobile/navigation.js"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca28e0b8ab2aae3c66ca03f6d38a0700baa75ecfb1708af83fb69ee1c2332baa"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function top (cyclomatic 19, cognitive 18): top has cyclomatic complexity 19 and cognitive complexity 18; 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":"assets/static/codemirror/mode/css/css.js"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b84557a2c54a350726b54afc49b66da8b593b72982746eeb5d0b3c2584fddbc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function relativeTimeTimestamp (cyclomatic 19, cognitive 16): relativeTimeTimestamp has cyclomatic complexity 19 and cognitive complexity 16; 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":"assets/admin/js/mobile/fallback.js"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"f255cf0de4bdc53f22ea8ec4990cbb2092ce7d25f52802b2a36b9143862d56a1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function syncSettingsNavigation (cyclomatic 19, cognitive 15): syncSettingsNavigation 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":"assets/admin/js/mobile/workflows.js"},"region":{"startLine":768}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b6caaf393eafe6d8758a5fa6dc43258b9e05ddad48f7d46d3589c1f31c0bb09"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function configureShellSearch (cyclomatic 19, cognitive 14): configureShellSearch has cyclomatic complexity 19 and cognitive complexity 14; 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":"assets/admin/js/mobile/fallback.js"},"region":{"startLine":806}}}],"partialFingerprints":{"codehealthFindingId/v1":"aea1679d620f57b0a17d31867c583ba05a0a8bee9eebd7d2f7164132c3e600f8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function normalizeImportTask (cyclomatic 19, cognitive 12): normalizeImportTask has cyclomatic complexity 19 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":"assets/admin/controller/shared/store.js"},"region":{"startLine":730}}}],"partialFingerprints":{"codehealthFindingId/v1":"55916368890a50264c43fd69e9718eeeee57bdf5965e668c623c3c2271bc1e8e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function _getAutoHeight (cyclomatic 18, cognitive 41): _getAutoHeight has cyclomatic complexity 18 and cognitive complexity 41; 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":"assets/admin/js/menu.js"},"region":{"startLine":2896}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7bb67ba4ee8d114af3411b5e8a865e734969eebf810b12ebae1fb589a63d98b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function coordsCharInner (cyclomatic 18, cognitive 31): coordsCharInner has cyclomatic complexity 18 and cognitive complexity 31; 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":"assets/static/codemirror/lib/codemirror.js"},"region":{"startLine":2753}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9ce8e05850824a3085739e79cca121737cff8f9712ef01ea3a7e83a57a86bf4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function locateNodeInLineView (cyclomatic 18, cognitive 25): locateNodeInLineView has cyclomatic complexity 18 and cognitive complexity 25; 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":"assets/static/codemirror/lib/codemirror.js"},"region":{"startLine":9280}}}],"partialFingerprints":{"codehealthFindingId/v1":"85d17c1cc3aca21a26d355acc10289c8e9151d0abdf0fa39eddc8395fc562512"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function disposeControl (cyclomatic 18, cognitive 24): disposeControl has cyclomatic complexity 18 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":"assets/common/js/component/form.js"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"9830c29558793df9f978013d5df49e8743dcd212675263977cc6a1883400779b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 18, cognitive 23): (anonymous) has cyclomatic complexity 18 and cognitive complexity 23; 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":"assets/admin/controller/config/plugin.js"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"3aba81e60fb71b632045243477ef59c3176933e958960c6a50573e8338dff46f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function endOperation_finish (cyclomatic 18, cognitive 23): endOperation_finish has cyclomatic complexity 18 and cognitive complexity 23; 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":"assets/static/codemirror/lib/codemirror.js"},"region":{"startLine":3910}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc82eeda053152f372818340dd3faabcd9334a90cf22aa1380c1b628a34c3f07"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 18, cognitive 22): (anonymous) has cyclomatic complexity 18 and cognitive complexity 22; 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":"assets/static/codemirror/lib/codemirror.js"},"region":{"startLine":3998}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fbf33f87f65d24951a1e746aaace5e1b59f9774c5955951fba25ede33b28228"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseResponse (cyclomatic 18, cognitive 18): parseResponse has cyclomatic complexity 18 and cognitive complexity 18; 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":"assets/admin/controller/trade/card-file-upload.js"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c5ba60884c5afe43e0318cf51452a217f21a70932f4d56496e6ee29bcee70be"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function #mobileDisplayValue (cyclomatic 18, cognitive 18): #mobileDisplayValue has cyclomatic complexity 18 and cognitive complexity 18; 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":"assets/common/js/component/table.js"},"region":{"startLine":726}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3510fb5722b64f10e0d2a232ce611c9be907abd47b24766efa95da360e1ec6b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function onKeyPress (cyclomatic 18, cognitive 17): onKeyPress 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":"assets/static/codemirror/lib/codemirror.js"},"region":{"startLine":7286}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b105d9143865aa92b5e22b0ca2177d0dbffc06ead3f7bd203d3e3c92efc8832"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function openSecret (cyclomatic 18, cognitive 17): openSecret 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":"assets/user/controller/dashboard/index.js"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"1332c26b7c4b5d7147908b399ae7aa6db78a5645be7ca584bcd2407859e6c61b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function openSecret (cyclomatic 18, cognitive 17): openSecret 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":"assets/user/controller/user/purchase.record.js"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"73c135ac7d58b80c951650cb77c982a7fb2482ee8edb2da3c463b0e280109bfa"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function pointerDown (cyclomatic 18, cognitive 16): pointerDown has cyclomatic complexity 18 and cognitive complexity 16; 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":"assets/admin/js/mobile/overlay.js"},"region":{"startLine":745}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c67b0ea022d8009d869d8fb77dd48bcd327bcd92921df54ce72c9c464f2dc08"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 18, cognitive 15): (anonymous) has cyclomatic complexity 18 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":"assets/admin/controller/trade/order.js"},"region":{"startLine":260}}}],"partialFingerprints":{"codehealthFindingId/v1":"de9b3be4633e93db82da7c8988a48bc5a467886147fe1ce4736e546509d92177"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function typeexpr (cyclomatic 18, cognitive 15): typeexpr has cyclomatic complexity 18 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":"assets/static/codemirror/mode/javascript/javascript.js"},"region":{"startLine":610}}}],"partialFingerprints":{"codehealthFindingId/v1":"22b98104fdabc9f5d2487881677ec7ecb00397efcee7ea59b0ec178e714d220a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function updateSummary (cyclomatic 18, cognitive 15): updateSummary has cyclomatic complexity 18 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":"assets/user/controller/user/ticket.create.js"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fa760ca2f86a4fe8dc6aff318a7adc5f59851ce43869e4171213b4709fecab0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function showTestResult (cyclomatic 18, cognitive 14): showTestResult has cyclomatic complexity 18 and cognitive complexity 14; 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":"assets/admin/controller/pay/api.js"},"region":{"startLine":320}}}],"partialFingerprints":{"codehealthFindingId/v1":"802cb47ed6fdf0befc9de40c7df65fa11ca625d13b7e6bbfd2e4f463d9e1358d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function syncSourceState (cyclomatic 18, cognitive 12): syncSourceState has cyclomatic complexity 18 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":"assets/admin/js/mobile/fallback.js"},"region":{"startLine":2270}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6a8b8c889b2a66d6ecc12a6cf652594ab24e2a9ea524685b19af4f144d90677"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 17, cognitive 25): (anonymous) has cyclomatic complexity 17 and cognitive complexity 25; 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":"assets/static/acg.js"},"region":{"startLine":908}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb39d57b038a6c4fbfa98d341f21047e1f224cbe46dc6793e740e15eb08a265c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 17, cognitive 22): (anonymous) has cyclomatic complexity 17 and cognitive complexity 22; 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":"assets/common/js/component/authtree.js"},"region":{"startLine":277}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d6a0f13833d631dd225b27f9401fa9ed94c7cb3fa9f020e918e0c24e2bb872d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 17, cognitive 22): (anonymous) has cyclomatic complexity 17 and cognitive complexity 22; 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":"assets/static/modules/authtree.js"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cd775ebae74fe5922bd0ca5379994bcae5439644e022ba23e762d6b2af90afd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function _eventProxy (cyclomatic 17, cognitive 18): _eventProxy has cyclomatic complexity 17 and cognitive complexity 18; 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":"assets/common/js/component/tree.select.js"},"region":{"startLine":2081}}}],"partialFingerprints":{"codehealthFindingId/v1":"c12591448625252cdae7ebe831c1ece4e30057e802bc9c5dd0291d02d188dc71"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function destroy (cyclomatic 17, cognitive 17): destroy has cyclomatic complexity 17 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 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":"assets/admin/controller/config/wiki.mobile.js"},"region":{"startLine":311}}}],"partialFingerprints":{"codehealthFindingId/v1":"b45756a0f9530fc497753b37ff83a17879f10e6e87e5368907470b988d407282"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function expandNode (cyclomatic 17, cognitive 15): expandNode has cyclomatic complexity 17 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":"assets/common/js/component/tree.select.js"},"region":{"startLine":1804}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3a1c2b2026022eec681ecb10fa1ed7bfb8941a7992ec1767891ef41a285eeaa"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function done (cyclomatic 17, cognitive 14): done has cyclomatic complexity 17 and cognitive complexity 14; 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":"assets/admin/controller/trade/commodity.js"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8691360df8725f978deb12dc3d00a0b243e15be492338955a6ed64712e4808f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function indent (cyclomatic 17, cognitive 14): indent has cyclomatic complexity 17 and cognitive complexity 14; 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":"assets/static/codemirror/mode/css/css.js"},"region":{"startLine":391}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf06ad99834f2709a57145d7c8d12cffc3b62a583dd0725202a575d01ae70252"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function onMobilePointerDown (cyclomatic 17, cognitive 11): onMobilePointerDown has cyclomatic complexity 17 and cognitive complexity 11; 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":"assets/admin/controller/trade/drag-sort.js"},"region":{"startLine":1028}}}],"partialFingerprints":{"codehealthFindingId/v1":"83463c7352e12b624833445557a660adface7cacbb9358c19e3c422da0dfead9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function inText (cyclomatic 16, cognitive 33): inText has cyclomatic complexity 16 and cognitive complexity 33; 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":"assets/static/codemirror/mode/xml/xml.js"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf0a933eaaf1b2ba5b63d4391f55d8b3b84fb014b411614c0a429da3070c3824"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function firstInvalidField (cyclomatic 16, cognitive 29): firstInvalidField has cyclomatic complexity 16 and cognitive complexity 29; 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":"assets/admin/js/mobile/overlay.js"},"region":{"startLine":1041}}}],"partialFingerprints":{"codehealthFindingId/v1":"86467a27b5f4d494de7bb7dc5e2c1becd0f0da9d200a1b6d3794a31b763504ff"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 16, cognitive 29): (anonymous) has cyclomatic complexity 16 and cognitive complexity 29; 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":"assets/static/codemirror/addon/fold/brace-fold.js"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cdd6306aa5ad54d816ebd10b80282d9d7ea39c27381f9ff480bf80966bae8b1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function updateLineGutter (cyclomatic 16, cognitive 25): updateLineGutter has cyclomatic complexity 16 and cognitive complexity 25; 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":"assets/static/codemirror/lib/codemirror.js"},"region":{"startLine":2177}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4549f99754beb03fdfe0d786c0ede15d76a4dc2093c548c360798d3f830dbc0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function setParentNodeCheckBox (cyclomatic 16, cognitive 23): setParentNodeCheckBox has cyclomatic complexity 16 and cognitive complexity 23; 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":"assets/common/js/component/tree.select.js"},"region":{"startLine":2512}}}],"partialFingerprints":{"codehealthFindingId/v1":"acf0d7af164c84748ce7e746b2e26f11abd7180d3c2df84c1e3123362fa2c4e8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function paint (cyclomatic 16, cognitive 22): paint has cyclomatic complexity 16 and cognitive complexity 22; 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":"assets/admin/controller/trade/card-file-upload.js"},"region":{"startLine":799}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce73d373d4c963620513e8917b6ac1115e44e1d459a62337186798cbe3574c24"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function addChangeToHistory (cyclomatic 16, cognitive 21): addChangeToHistory has cyclomatic complexity 16 and cognitive complexity 21; 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":"assets/static/codemirror/lib/codemirror.js"},"region":{"startLine":4896}}}],"partialFingerprints":{"codehealthFindingId/v1":"f79676c4185c3afa30c7a11732a96e7b088ad7ea3267d4ed2b11ce3299d7526b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function appendNodes (cyclomatic 16, cognitive 20): appendNodes has cyclomatic complexity 16 and cognitive complexity 20; 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":"assets/common/js/component/tree.select.js"},"region":{"startLine":977}}}],"partialFingerprints":{"codehealthFindingId/v1":"5605e0741f06995c1f41b5000cd95e3cce47019194359c6910c76eda75066d4a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function renderSelectionDock (cyclomatic 16, cognitive 15): renderSelectionDock has cyclomatic complexity 16 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":"assets/admin/js/mobile/fallback.js"},"region":{"startLine":2329}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9d8efe9a6861a591a7d86eaa5ae8f03a62516608eeb5e62faef67727c1a306c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function renderTreeToggle (cyclomatic 16, cognitive 15): renderTreeToggle has cyclomatic complexity 16 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":"assets/admin/js/mobile/fallback.js"},"region":{"startLine":2744}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a9d388919ea2aa071403fbdc37ebdaed7cb7ef6d3f555c5a26837e621d1d73b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function markSemanticPage (cyclomatic 16, cognitive 15): markSemanticPage has cyclomatic complexity 16 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":"assets/admin/js/mobile/workflows.js"},"region":{"startLine":687}}}],"partialFingerprints":{"codehealthFindingId/v1":"077cd71d8acc28180730d23973a0577a8784ae72c7d59a483e1b9dde3fedd6a9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function addWidget (cyclomatic 16, cognitive 15): addWidget has cyclomatic complexity 16 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":"assets/common/js/component/form.js"},"region":{"startLine":474}}}],"partialFingerprints":{"codehealthFindingId/v1":"80c2231075661a8ef97d097b8acb7390958e0f89553d21588a263d11ca0dee89"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function renderChart (cyclomatic 16, cognitive 14): renderChart has cyclomatic complexity 16 and cognitive complexity 14; 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":"assets/admin/controller/dashboard/index.js"},"region":{"startLine":298}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfd17822d79ab28532a3b5a71a4559727d594aa7dfbfc34085eaf32fe6a55ce2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handleKey (cyclomatic 16, cognitive 14): handleKey has cyclomatic complexity 16 and cognitive complexity 14; 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":"assets/admin/js/mobile/overlay.js"},"region":{"startLine":1307}}}],"partialFingerprints":{"codehealthFindingId/v1":"20e58ce7a648cae24b58d766d1d47165d352d1a028951e9206f635dd6ad18586"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function openActions (cyclomatic 16, cognitive 12): openActions has cyclomatic complexity 16 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":"assets/admin/controller/trade/category-tree.js"},"region":{"startLine":1158}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d829d19527bf1b83f0288ab096d2702c10230a939a6d1da465673fa55a79c04"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function #getPreprocessColumn (cyclomatic 16, cognitive 12): #getPreprocessColumn has cyclomatic complexity 16 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":"assets/common/js/component/table.js"},"region":{"startLine":1382}}}],"partialFingerprints":{"codehealthFindingId/v1":"c96f89e8d96e5216cb03cfee05340f0e4ea8b67b44641b90b43cd9e6458e55ff"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function cloneLabel (cyclomatic 16, cognitive 11): cloneLabel has cyclomatic complexity 16 and cognitive complexity 11; 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":"assets/admin/js/mobile/workflows.js"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"8759547ec96c86fbc18f6e3ca647ae74e44732ae5ea0605b5a81584617c6b9e1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function updateHeightsInViewport (cyclomatic 15, cognitive 30): updateHeightsInViewport has cyclomatic complexity 15 and cognitive complexity 30; 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":"assets/static/codemirror/lib/codemirror.js"},"region":{"startLine":3358}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c0e2db879897301b5e3ab0315ed5fd6472dc468487d8212a60e793e6c3fde33"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function #setField (cyclomatic 15, cognitive 27): #setField has cyclomatic complexity 15 and cognitive complexity 27; 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":"assets/common/js/component/search.js"},"region":{"startLine":413}}}],"partialFingerprints":{"codehealthFindingId/v1":"26aa892514528649769565d295f5d86aee8a8bb8676f43ca9de6cb685cedb28a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function markedSpansAfter (cyclomatic 15, cognitive 27): markedSpansAfter has cyclomatic complexity 15 and cognitive complexity 27; 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":"assets/static/codemirror/lib/codemirror.js"},"region":{"startLine":1352}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0c19c875cd0eafaa98212e556969d16d720ec22b2035991a767ad16beea1fd9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function show (cyclomatic 15, cognitive 25): show has cyclomatic complexity 15 and cognitive complexity 25; 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":"assets/common/js/component/loading.js"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f3af39e104c123590392bc094f89f621f33ae9d9f3f3117547d0fb6976771aa"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function scrollPosIntoView (cyclomatic 15, cognitive 25): scrollPosIntoView has cyclomatic complexity 15 and cognitive complexity 25; 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":"assets/static/codemirror/lib/codemirror.js"},"region":{"startLine":3455}}}],"partialFingerprints":{"codehealthFindingId/v1":"04c41873692797316d5faa1792608fef6e11fee18c5fb168cc2ba1be2f118a53"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function configureMouse (cyclomatic 15, cognitive 20): configureMouse has cyclomatic complexity 15 and cognitive complexity 20; 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":"assets/static/codemirror/lib/codemirror.js"},"region":{"startLine":7392}}}],"partialFingerprints":{"codehealthFindingId/v1":"433355626f614fc6211693d182eb121b8d1e030de6748e5b439c2fc80570427a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function treeHtml (cyclomatic 15, cognitive 17): treeHtml has cyclomatic complexity 15 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 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":"assets/admin/controller/trade/category-tree.js"},"region":{"startLine":389}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b95f28b04e1becde15e89cd3e02aa73ef4a4394bd8b8ffd390ebae484bf3d64"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 15, cognitive 16): (anonymous) has cyclomatic complexity 15 and cognitive complexity 16; 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":"assets/admin/js/mobile/fallback.js"},"region":{"startLine":2718}}}],"partialFingerprints":{"codehealthFindingId/v1":"c154c89f357c6fda13a216275458cbb6a1ec40eecc5569e5795df302dee58cc9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function pointerEnd (cyclomatic 15, cognitive 16): pointerEnd has cyclomatic complexity 15 and cognitive complexity 16; 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":"assets/admin/js/mobile/overlay.js"},"region":{"startLine":784}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1483448133a33593c4dc104dbea034f747d7c27d571ef582f1f093be17549fb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function destroy (cyclomatic 15, cognitive 16): destroy has cyclomatic complexity 15 and cognitive complexity 16; 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":"assets/common/js/editor/markdown/editorv2.js"},"region":{"startLine":980}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7428e8ea6f164d9efc476668cb8785ae9b48c0b8185350cd8f24d5c8a915a36"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function openRecordSheet (cyclomatic 15, cognitive 15): openRecordSheet has cyclomatic complexity 15 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 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":"assets/admin/js/mobile/fallback.js"},"region":{"startLine":1684}}}],"partialFingerprints":{"codehealthFindingId/v1":"58a0c38c83e1b6fdb5812e924496f3a154fae6443af46bc89db59936e6afe785"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function openSheet (cyclomatic 15, cognitive 15): openSheet has cyclomatic complexity 15 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 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":"assets/admin/js/mobile/overlay.js"},"region":{"startLine":829}}}],"partialFingerprints":{"codehealthFindingId/v1":"0effbc3f7f56eef28cee40ccf95e593d5f87a2c4dab2897b71da47b55a0b9df2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 15, cognitive 15): (anonymous) has cyclomatic complexity 15 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 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":"assets/static/modules/hex.js"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b32b03bf720a8b1604a1b4fc44fe4dbae1976f60b1b31eb4f910a952f09d3b1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 15, cognitive 14): (anonymous) has cyclomatic complexity 15 and cognitive complexity 14; 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":"assets/admin/controller/shared/priceTemplate.js"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"06d2e107ebff4538c9e62515d77ad5974297b821266a0bb8d8381a1f6195c13f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 15, cognitive 14): (anonymous) has cyclomatic complexity 15 and cognitive complexity 14; 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":"assets/admin/controller/trade/category-tree.js"},"region":{"startLine":366}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc16a2c707bf17fde2a9a2bbbea26919516a94fb9386e59ca0f33bf7e0e12021"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 15, cognitive 14): (anonymous) has cyclomatic complexity 15 and cognitive complexity 14; 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":"assets/admin/js/mobile/fallback.js"},"region":{"startLine":3220}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc88aaeb40f788f7402d12c4b35435e9163b4f57a972b44216c3267e3f58a853"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function saveSettings (cyclomatic 15, cognitive 13): saveSettings has cyclomatic complexity 15 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":"assets/admin/controller/manage/set.js"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"415303a50703356e4c32db14f2296602154e45b00060e8f39d3d86d30d0c699b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 15, cognitive 13): (anonymous) has cyclomatic complexity 15 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":"assets/admin/js/mobile/fallback.js"},"region":{"startLine":3029}}}],"partialFingerprints":{"codehealthFindingId/v1":"549f67383025a690eafe26a179610f4d51c5ee98d662070c0ac6c9f9ab9dcfc7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function snapshotFilterCount (cyclomatic 15, cognitive 11): snapshotFilterCount has cyclomatic complexity 15 and cognitive complexity 11; 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":"assets/admin/js/mobile/fallback.js"},"region":{"startLine":2011}}}],"partialFingerprints":{"codehealthFindingId/v1":"1109796b0c2a865fd389c9a8c39d35d1fb1d38df0a9e538b426714feb7dfc03c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function triggerEvent (cyclomatic 15, cognitive 9): triggerEvent has cyclomatic complexity 15 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":"assets/admin/js/menu.js"},"region":{"startLine":437}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c02db94519461133f902c8ae6e9235ddac4f137dee189b1698836baff0583ee"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function shouldApplyFiltersOnEnter (cyclomatic 15, cognitive 9): shouldApplyFiltersOnEnter has cyclomatic complexity 15 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":"assets/admin/js/mobile/fallback.js"},"region":{"startLine":2044}}}],"partialFingerprints":{"codehealthFindingId/v1":"29572b85f3a7abe48fc540bf661a679b1d3a217ded24e86df6e2fd153d4f8381"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function endOfLine (cyclomatic 14, cognitive 34): endOfLine has cyclomatic complexity 14 and cognitive complexity 34; 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":"assets/static/codemirror/lib/codemirror.js"},"region":{"startLine":6884}}}],"partialFingerprints":{"codehealthFindingId/v1":"491160965f9ce6f1ea648976237b29a1c73c162c557f7887d730812e4c9fad8a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runMode (cyclomatic 14, cognitive 26): runMode has cyclomatic complexity 14 and cognitive complexity 26; 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":"assets/static/codemirror/lib/codemirror.js"},"region":{"startLine":1211}}}],"partialFingerprints":{"codehealthFindingId/v1":"48f25b664267316bc6e3cf85d7481ef3352309923090be4e73678c61886f137c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function mount (cyclomatic 14, cognitive 23): mount has cyclomatic complexity 14 and cognitive complexity 23; 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":"assets/admin/js/mobile/lifecycle.js"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"8133a9d5c1143419bf17fec9f0670a4324d690a4d2047278660fd3876d8c97b8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function markedSpansBefore (cyclomatic 14, cognitive 23): markedSpansBefore has cyclomatic complexity 14 and cognitive complexity 23; 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":"assets/static/codemirror/lib/codemirror.js"},"region":{"startLine":1340}}}],"partialFingerprints":{"codehealthFindingId/v1":"43895a7769ac84e95e6218a8ffcf2a7bf13e82a866c69d8d1db64d6de8922125"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function walk (cyclomatic 14, cognitive 23): walk has cyclomatic complexity 14 and cognitive complexity 23; 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":"assets/static/codemirror/lib/codemirror.js"},"region":{"startLine":9224}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ba6ab850fb7deb4a8c6c5d65804d5d187257ccacf1ff48cf5e802eee977f515"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handleClick (cyclomatic 14, cognitive 19): handleClick has cyclomatic complexity 14 and cognitive complexity 19; 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":"assets/admin/js/mobile/navigation.js"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"3966758ad6d3373a7f908571a77b1f23e03e9d4e2e9cbc89799f1874478c2379"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function alignLine (cyclomatic 14, cognitive 19): alignLine has cyclomatic complexity 14 and cognitive complexity 19; 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":"assets/common/js/editor/markdown/editorv2.js"},"region":{"startLine":714}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3db706c025c81a645d268f5be5c01189aab3282f40dda84075d00ebfb9b0bb9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function leftButtonSelect (cyclomatic 14, cognitive 19): leftButtonSelect has cyclomatic complexity 14 and cognitive complexity 19; 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":"assets/static/codemirror/lib/codemirror.js"},"region":{"startLine":7475}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b6adc417eab4f4e63328c34994a5d653ea17f27b95908684ea8c029556da9fb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 14, cognitive 17): (anonymous) has cyclomatic complexity 14 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 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":"assets/admin/js/material.js"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"3435a12fba0f20697fca4bacfc452453ceb0f85d883e1ce49955e702992d3d89"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function asyncNode (cyclomatic 14, cognitive 17): asyncNode has cyclomatic complexity 14 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 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":"assets/common/js/component/tree.select.js"},"region":{"startLine":1040}}}],"partialFingerprints":{"codehealthFindingId/v1":"57b7e26e0b867832483d6729339c37ca836f8072449f84eda34c7027b209552c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 14, cognitive 16): (anonymous) has cyclomatic complexity 14 and cognitive complexity 16; 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":"assets/static/codemirror/addon/fold/foldgutter.js"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7068a59f1ee42c673e68fafcc02634a2eab5405a9b2cdfd23054b12b1b138f5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function makeChangeSingleDocInEditor (cyclomatic 14, cognitive 16): makeChangeSingleDocInEditor has cyclomatic complexity 14 and cognitive complexity 16; 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":"assets/static/codemirror/lib/codemirror.js"},"region":{"startLine":5469}}}],"partialFingerprints":{"codehealthFindingId/v1":"f37aaa21c7b62b9c0d7eaf1624ededfb99fb39ff317cf638407eb4adfe9e329f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function langCard (cyclomatic 14, cognitive 15): langCard has cyclomatic complexity 14 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 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":"assets/admin/controller/config/lang.js"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"11049b6090a591027e1c991334b670e55ace23412b3d8afc91cb197a596522b6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handlePagePopstate (cyclomatic 14, cognitive 15): handlePagePopstate has cyclomatic complexity 14 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 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":"assets/admin/js/mobile/workflows.js"},"region":{"startLine":420}}}],"partialFingerprints":{"codehealthFindingId/v1":"90afb841a1bd4ea505b4ccac538eb75a7d88a3772d5949bc11d383e3ffb4761b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function checkNode (cyclomatic 14, cognitive 15): checkNode has cyclomatic complexity 14 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 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":"assets/common/js/component/tree.select.js"},"region":{"startLine":2160}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fe6a964f1fcb23af304f49a70e082e069a92d96f755934cefa33cf93b295c0a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fallback (cyclomatic 14, cognitive 15): fallback has cyclomatic complexity 14 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 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":"assets/common/js/csp-bind.js"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"15b88c7904097b47209fc1b13da165b325f2f8fd300f70267c48e1c9b6ae935a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function acgSecretPopup (cyclomatic 14, cognitive 15): acgSecretPopup has cyclomatic complexity 14 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 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":"assets/static/acg.js"},"region":{"startLine":1073}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f13fa987794a95f283ba83c8511d38f17ddb46f9aa0902c937ead3c9adff308"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function success (cyclomatic 14, cognitive 14): success has cyclomatic complexity 14 and cognitive complexity 14; 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":"assets/common/js/component.js"},"region":{"startLine":534}}}],"partialFingerprints":{"codehealthFindingId/v1":"31dabcd8950743d62c8ed6e5dd5f7ecdab95d356291cf5e0f8ffc15de9d17b4e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getPagination (cyclomatic 14, cognitive 14): getPagination has cyclomatic complexity 14 and cognitive complexity 14; 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":"assets/common/js/component/table.js"},"region":{"startLine":785}}}],"partialFingerprints":{"codehealthFindingId/v1":"35a9382d90b408f42301b1c4a2af679f512da091591b8b568491abdd67b1bae7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 14, cognitive 14): (anonymous) has cyclomatic complexity 14 and cognitive complexity 14; 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":"assets/static/codemirror/mode/markdown/markdown.js"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"51c10cb2cae4f5f953b13ece25fc0a04d78379fcd7f0ce461b6ebe55991f2dde"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function createOptionNode (cyclomatic 14, cognitive 14): createOptionNode has cyclomatic complexity 14 and cognitive complexity 14; 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":"assets/user/controller/user/ticket.create.js"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"587c8a3ecf16183348ff242323087d6f583da26991ffdc0130d94d6a3535d3de"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function _ShowRebindPlan (cyclomatic 14, cognitive 13): _ShowRebindPlan 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":"assets/admin/controller/store/home.js"},"region":{"startLine":1067}}}],"partialFingerprints":{"codehealthFindingId/v1":"12d7bd8f186806c7e5421a8f8063cf667fd9321e79543ff5a6138b75cd1d580c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function renderBody (cyclomatic 14, cognitive 13): renderBody 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":"assets/admin/controller/trade/category-tree.js"},"region":{"startLine":451}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c91f2e2faf8a068ddb909656569222f0f6fe1afbc31bd945279c4fdd43e0afd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function onDestroy (cyclomatic 14, cognitive 13): onDestroy 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":"assets/admin/js/mobile/fallback.js"},"region":{"startLine":3163}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddb1c66793cc3395962781b5a4cc324a683910c897d9696f3785e3f88c366932"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function addControl (cyclomatic 14, cognitive 13): addControl 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":"assets/admin/js/mobile/workflows.js"},"region":{"startLine":947}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a72e243d2d696e9af8d46543f2705639a8502a873eb91df017415a956863228"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 14, cognitive 13): (anonymous) 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":"assets/static/codemirror/lib/codemirror.js"},"region":{"startLine":6416}}}],"partialFingerprints":{"codehealthFindingId/v1":"5662f658e043296a8b2f0bf763e9fa8fe384573ef0b1c34feeecfcdf01eed210"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function save (cyclomatic 14, cognitive 13): save 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":"assets/user/controller/security/ipwhitelist.js"},"region":{"startLine":303}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f2b6d1523aff1a054c38fd20b24cadc7f46a2c26421322a63f1593adeba6e5b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function recipeVariant (cyclomatic 14, cognitive 12): recipeVariant has cyclomatic complexity 14 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":"assets/admin/js/mobile/fallback.js"},"region":{"startLine":300}}}],"partialFingerprints":{"codehealthFindingId/v1":"07a0a88a70d1cc9fe4d0d380fdd47ca616b1666f7a33f264f225467c54ae7541"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function recordActionButton (cyclomatic 14, cognitive 12): recordActionButton has cyclomatic complexity 14 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":"assets/admin/js/mobile/fallback.js"},"region":{"startLine":1565}}}],"partialFingerprints":{"codehealthFindingId/v1":"75aff1711ab6c60c683c2615069ff59e807fe5c16297727aa43ea4c1a4449214"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runAction (cyclomatic 14, cognitive 12): runAction has cyclomatic complexity 14 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":"assets/common/js/component/table.js"},"region":{"startLine":1093}}}],"partialFingerprints":{"codehealthFindingId/v1":"d413755ffb35787341d3beda319278c06f98b0d77d80e2864cd4a1bb0d9fd4b6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function renderRow (cyclomatic 14, cognitive 12): renderRow has cyclomatic complexity 14 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":"assets/user/controller/user/ticket.js"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b5a0fd99fafb6b0dced289ffc72b4666c43ce58d19fb114f52cf9d739dc0316"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 14, cognitive 11): (anonymous) has cyclomatic complexity 14 and cognitive complexity 11; 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":"assets/admin/controller/config/other.js"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca0c3009274fa8160d3e4f1b64cafda7c7188ff17b26251499b99b5f3c32b321"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function activateLongPress (cyclomatic 14, cognitive 11): activateLongPress has cyclomatic complexity 14 and cognitive complexity 11; 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":"assets/admin/controller/trade/drag-sort.js"},"region":{"startLine":909}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d2e3acbcec2f1b062b3661dc972d9922021637e3dc68ea6e180e1d908f4d5dc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function _initNode (cyclomatic 14, cognitive 10): _initNode has cyclomatic complexity 14 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":"assets/common/js/component/tree.select.js"},"region":{"startLine":2129}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd1ee571163c6fb6be62c28c27becdf7f1dfcb591a090ae8d7b4c32c60dae74f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function messageNode (cyclomatic 14, cognitive 9): messageNode has cyclomatic complexity 14 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":"assets/admin/controller/user/ticket.js"},"region":{"startLine":274}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ec2a640d4bc23a944d70464e06a20e12497e23cbc6a92f95beab1d9ba5856f5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function dropCallback (cyclomatic 13, cognitive 33): dropCallback has cyclomatic complexity 13 and cognitive complexity 33; 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":"assets/common/js/component/tree.select.js"},"region":{"startLine":3312}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2e63425e6221a9b25b32e4c7dd4d4ac3882475bfc426c6448fca187f2567781"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function patchDisplay (cyclomatic 13, cognitive 22): patchDisplay has cyclomatic complexity 13 and cognitive complexity 22; 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":"assets/static/codemirror/lib/codemirror.js"},"region":{"startLine":4225}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f14c97e37404fc36a1002e8c4ab82b34c0a7eb13a7c6e02b48524afbb4e5d6e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function triggerElectric (cyclomatic 13, cognitive 22): triggerElectric has cyclomatic complexity 13 and cognitive complexity 22; 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":"assets/static/codemirror/lib/codemirror.js"},"region":{"startLine":8204}}}],"partialFingerprints":{"codehealthFindingId/v1":"94013fb5ed3d1bd0d3957da5d20b4c7289c9199f600a703b8746dff98bf19d5a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function tokenString (cyclomatic 13, cognitive 21): tokenString has cyclomatic complexity 13 and cognitive complexity 21; 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":"assets/static/codemirror/mode/python/python.js"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"b61696cc8c31dce965a021092e2399c3cd9cb93e69ad3a794e9c9c0d9a50c98f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function releasePageHistoryGuard (cyclomatic 13, cognitive 18): releasePageHistoryGuard has cyclomatic complexity 13 and cognitive complexity 18; 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":"assets/admin/js/mobile/workflows.js"},"region":{"startLine":381}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e8d58bc2734e19ed4bc8093ce13910251a2ead3030d443e977f4e4d1f33a4e0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function prepareSelection (cyclomatic 13, cognitive 18): prepareSelection has cyclomatic complexity 13 and cognitive complexity 18; 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":"assets/static/codemirror/lib/codemirror.js"},"region":{"startLine":3148}}}],"partialFingerprints":{"codehealthFindingId/v1":"560d1502697fb98f5626bfb58962baac3edafb18a3d1193b31d0d27bbf79cbef"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function makeChange (cyclomatic 13, cognitive 18): makeChange has cyclomatic complexity 13 and cognitive complexity 18; 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":"assets/static/codemirror/lib/codemirror.js"},"region":{"startLine":5301}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb0fe2def246c1344b332b4b6bce8502bded36da6a4baef390962e4cf4839a77"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function postUpdateDisplay (cyclomatic 13, cognitive 17): postUpdateDisplay has cyclomatic complexity 13 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 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":"assets/static/codemirror/lib/codemirror.js"},"region":{"startLine":4176}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f2583e595d676cf9a72228d052775d65f8cf48c380f2d61c5034227462d7a84"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getHelpers (cyclomatic 13, cognitive 17): getHelpers has cyclomatic complexity 13 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 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":"assets/static/codemirror/lib/codemirror.js"},"region":{"startLine":8388}}}],"partialFingerprints":{"codehealthFindingId/v1":"c58dde7838b2c430c4b247811edce012044c721e48c77b6e8ea8d0c0db77963d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function addWidget (cyclomatic 13, cognitive 16): addWidget has cyclomatic complexity 13 and cognitive complexity 16; 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":"assets/static/codemirror/lib/codemirror.js"},"region":{"startLine":8458}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0ab159cf79767ac5a48caff32c688022ac33ed89a1b75cfc51e054c64c5488a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 13, cognitive 15): (anonymous) has cyclomatic complexity 13 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 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":"assets/admin/controller/user/ticket.js"},"region":{"startLine":877}}}],"partialFingerprints":{"codehealthFindingId/v1":"156d458f1ebd6a750a84e0ff54d83ac95b8f74ff26f64d0cf0bbd93ba1e20b04"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function safeItem (cyclomatic 13, cognitive 15): safeItem has cyclomatic complexity 13 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 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":"assets/user/controller/business/commodity.js"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"961a7f0ba766d9bcd6ed95d9d879f8f78457e8d535606aa5bb17888f3a64d7e6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function render (cyclomatic 13, cognitive 15): render has cyclomatic complexity 13 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 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":"assets/user/controller/security/ipwhitelist.js"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b47776f2544a45781df193efdeeff0e905abdb524bf4d7856f8733dde0cd235"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function add (cyclomatic 13, cognitive 14): add has cyclomatic complexity 13 and cognitive complexity 14; 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":"assets/admin/controller/manage/passkey.js"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"113bc00c31485ce5b930083a36f9dc9e6731a3f38bcd3ce10d7408b080433c3a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function cardOfferContent (cyclomatic 13, cognitive 14): cardOfferContent has cyclomatic complexity 13 and cognitive complexity 14; 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":"assets/admin/js/mobile/fallback.js"},"region":{"startLine":1814}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5acae5cfc4bc2cf2d241a26c0f291a52143d60e15ef6205f29103b5cdcf9fd9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveMode (cyclomatic 13, cognitive 14): resolveMode has cyclomatic complexity 13 and cognitive complexity 14; 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":"assets/static/codemirror/lib/codemirror.js"},"region":{"startLine":728}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c2eaceb56cc2a1ac69d3f437f8a2ace97b3f93b78e49174c258d5dde0ea2f46"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function inline (cyclomatic 13, cognitive 14): inline has cyclomatic complexity 13 and cognitive complexity 14; 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":"assets/user/controller/security/totp.js"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ba029c90a25c4951b60ce2ad24379e01129afbe9f50e46263536138aa981e37"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function show (cyclomatic 13, cognitive 14): show has cyclomatic complexity 13 and cognitive complexity 14; 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":"assets/user/js/treasure.js"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c713d243591a749e3c24b3d03ea8fb13b04c59c42efa8d4a7f22b58575374ee"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 13, cognitive 13): (anonymous) has cyclomatic complexity 13 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 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":"assets/admin/controller/trade/card-file-upload.js"},"region":{"startLine":863}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c2cf47c9a7c46aaa774e64cdad83f29efba7ba0b5307ef5d1446f17555dd9bb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function primaryDefinitionValue (cyclomatic 13, cognitive 13): primaryDefinitionValue has cyclomatic complexity 13 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 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":"assets/admin/js/mobile/fallback.js"},"region":{"startLine":880}}}],"partialFingerprints":{"codehealthFindingId/v1":"98f97bba4ab2f3522b3d0f09115bd1fb614cae71a598eea3c6da2e164a72408e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function finishSheetClose (cyclomatic 13, cognitive 13): finishSheetClose has cyclomatic complexity 13 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 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":"assets/admin/js/mobile/overlay.js"},"region":{"startLine":333}}}],"partialFingerprints":{"codehealthFindingId/v1":"49bd2524bde76db4a3b64f71051ac851d8065daf60d40752a65581cf190556b6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function i18n (cyclomatic 13, cognitive 13): i18n has cyclomatic complexity 13 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 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":"assets/common/js/ready.js"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"56fecfefbea03c1a3eab019c998e5b2699664265c292a64e2b4f8e4ccad109c4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function onContextMenu (cyclomatic 13, cognitive 13): onContextMenu has cyclomatic complexity 13 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 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":"assets/static/codemirror/lib/codemirror.js"},"region":{"startLine":9608}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fce29309c62a498f9d8b529e439b18a9bd2dd90f9cabbf7db5df5c5af454694"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 13, cognitive 13): (anonymous) has cyclomatic complexity 13 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 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":"assets/static/codemirror/mode/python/python.js"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7f0e8029043b0177b3e6577bf0d0a63c21c450510085f112a07d8cece531d3d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function syncCartoonSelectionUi (cyclomatic 13, cognitive 13): syncCartoonSelectionUi has cyclomatic complexity 13 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 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":"assets/user/controller/user/message.js"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"f20446e01a162e0d59cc9fbb792671072cd0c79ffe3a26cd12f145e44725b6c1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 13, cognitive 12): (anonymous) 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":"assets/admin/controller/config/security.js"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"484770868da8fa8f831137c96542e287c69394c20203cb5c80e2a6c99bec38b5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function navigateFromDocs (cyclomatic 13, cognitive 12): navigateFromDocs 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":"assets/admin/controller/config/wiki.mobile.js"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e4a7ab6a0065fd6ea469a1e0e263d3d151a09758ae35f2fec7bcbcb6938cae4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 13, cognitive 12): (anonymous) 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":"assets/admin/controller/shared/store.js"},"region":{"startLine":966}}}],"partialFingerprints":{"codehealthFindingId/v1":"11eb32a30cc05dc0618ab39fc0c1f1bb4fc435fb4070b6c57436718fc4583ae4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function endDrag (cyclomatic 13, cognitive 12): endDrag 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":"assets/admin/controller/trade/category-tree.js"},"region":{"startLine":985}}}],"partialFingerprints":{"codehealthFindingId/v1":"5720cef095d268277091bd016dedb7caf2372ad8f04fe7fcac26f4b769baac95"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function setDefinitionInlineContent (cyclomatic 13, cognitive 12): setDefinitionInlineContent 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":"assets/admin/js/mobile/fallback.js"},"region":{"startLine":891}}}],"partialFingerprints":{"codehealthFindingId/v1":"db35ac5f583eb01633b358053275cc238995c541a06a2ab84cfda396e257edf4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 13, cognitive 12): (anonymous) 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":"assets/admin/js/mobile/overlay.js"},"region":{"startLine":905}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c5ca791058889226224440edb1245f818e4a2ca2aa11b5467b55c67eb571446"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function format (cyclomatic 13, cognitive 12): format 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":"assets/admin/js/mobile/recipes.js"},"region":{"startLine":280}}}],"partialFingerprints":{"codehealthFindingId/v1":"916c1ed6df29ae46e30d2b5e1e1f80bededcd1ab5483985dda8a283743e8c4cd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function recipeMatches (cyclomatic 13, cognitive 12): recipeMatches 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":"assets/admin/js/mobile/viewport.js"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e3ed4bce39add4248940d13f98a08dc23336a154b02bd3273fb4e45b47441c7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 13, cognitive 12): (anonymous) 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":"assets/admin/js/mobile/viewport.js"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"804438cb6fd5728b9af9b9e92f12de7bf55583cde1bc984ae7ea4dba94ec9b5e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function treeConvertSelect (cyclomatic 13, cognitive 12): treeConvertSelect 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":"assets/common/js/component/authtree.js"},"region":{"startLine":381}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e42e760d4905c92f8e2ba3a4afaf19f057e84ab8b0efb7cc8d9e51bb67f7cb4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function success (cyclomatic 13, cognitive 12): success 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":"assets/common/js/util.js"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"728ef10600354872fdddc945830300d39199bbb18a0afe8d003ec5b55b124bdd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function treeConvertSelect (cyclomatic 13, cognitive 12): treeConvertSelect 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":"assets/static/modules/authtree.js"},"region":{"startLine":379}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbdca49d7037d2228d18f3bcf6a0f624d4bd1e86ffdb9bc352c76908066319d2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function evaluateAmount (cyclomatic 13, cognitive 12): evaluateAmount 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":"assets/user/controller/user/cash.js"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2aff21853be830cfbb2e5cd8aa8f96cffa8546e33a302e05d0ecf28b6e5eb4c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function openImagePreview (cyclomatic 13, cognitive 11): openImagePreview has cyclomatic complexity 13 and cognitive complexity 11; 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":"assets/admin/controller/file/index.js"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fb6b2858d866b96e57f3e797bdd37ad95832ec0b1d1cc266566b3116c7af23b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function renderTicket (cyclomatic 13, cognitive 11): renderTicket has cyclomatic complexity 13 and cognitive complexity 11; 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":"assets/admin/controller/user/ticket.js"},"region":{"startLine":395}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3d9ab532d7e880b4aa176b1facda65cba5552c7aa44b9371d48d75d056c939e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function moveNode (cyclomatic 13, cognitive 11): moveNode has cyclomatic complexity 13 and cognitive complexity 11; 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":"assets/common/js/component/tree.select.js"},"region":{"startLine":2860}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cad04e56df18a8fd5b9a053b480ac0a3793118e271703ccaefe6b7769402f04"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function lineIsHiddenInner (cyclomatic 13, cognitive 11): lineIsHiddenInner has cyclomatic complexity 13 and cognitive complexity 11; 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":"assets/static/codemirror/lib/codemirror.js"},"region":{"startLine":1613}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcf29a950cc80310bd5ddec82f75760ed5db57ae4f053f3262f3525ea6cd28f4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function renderRelationContext (cyclomatic 13, cognitive 10): renderRelationContext has cyclomatic complexity 13 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":"assets/admin/controller/user/ticket.js"},"region":{"startLine":367}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3b18fb57279ec939206e0d7ae091480a62afbda7162f20043e7c77d509cbdad"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function previewMessage (cyclomatic 13, cognitive 10): previewMessage has cyclomatic complexity 13 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":"assets/common/js/component.js"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"abc04cddd40b83c89a4cce793940fb04706a6f07c2ff91e778a9f76d0119891b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function isSourceMenuLinkAllowed (cyclomatic 13, cognitive 9): isSourceMenuLinkAllowed has cyclomatic complexity 13 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":"assets/admin/js/mobile/navigation.js"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"758678e93458a83455d4630d16d72056f82a081136dd5d00ebbbdb30422eb747"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function alignHorizontally (cyclomatic 12, cognitive 25): alignHorizontally has cyclomatic complexity 12 and cognitive complexity 25; 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":"assets/static/codemirror/lib/codemirror.js"},"region":{"startLine":4281}}}],"partialFingerprints":{"codehealthFindingId/v1":"d33db4e31d285fec80b48b1aaa464e3a757abfbbcfa18dc2808ea4ea080a014a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function findMatchingClose (cyclomatic 12, cognitive 23): findMatchingClose has cyclomatic complexity 12 and cognitive complexity 23; 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":"assets/static/codemirror/addon/fold/xml-fold.js"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"33da95d0341e85c35af720fecdc84bdac186e4d759876e19fc1386dc2fc090c0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function moveOnce (cyclomatic 12, cognitive 22): moveOnce has cyclomatic complexity 12 and cognitive complexity 22; 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":"assets/static/codemirror/lib/codemirror.js"},"region":{"startLine":8719}}}],"partialFingerprints":{"codehealthFindingId/v1":"44f9ca66b5d5d84bb6aea34bcac11a2954012071f5a37697f191f020771b7f64"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function post (cyclomatic 12, cognitive 19): post has cyclomatic complexity 12 and cognitive complexity 19; 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":"assets/common/js/util.js"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"d70bf9065f8592eb92341fb81203c69e0ce76b9336448b321801908aeda77cb2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function removeReadOnlyRanges (cyclomatic 12, cognitive 18): removeReadOnlyRanges has cyclomatic complexity 12 and cognitive complexity 18; 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":"assets/static/codemirror/lib/codemirror.js"},"region":{"startLine":1445}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d2976593c99721b9150030087c086bbea3b8c1cbd4dc689ac9bcf5af9169203"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function update (cyclomatic 12, cognitive 18): update has cyclomatic complexity 12 and cognitive complexity 18; 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":"assets/static/codemirror/lib/codemirror.js"},"region":{"startLine":3646}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d300c72b129209c3db50f5d9b2ceb0f4acf4fc9cc0bf11e6908a5cbf829be76"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function tokenBase (cyclomatic 12, cognitive 17): tokenBase has cyclomatic complexity 12 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 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":"assets/static/codemirror/mode/python/python.js"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbd48df8536fd4b0ce413020ea6484778a7eb8650575a626d6f02848f4cc00d7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function set (cyclomatic 12, cognitive 16): set has cyclomatic complexity 12 and cognitive complexity 16; 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":"assets/common/js/component/search.js"},"region":{"startLine":459}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2b58e49c82d82454f159d95664f5aa574235e4c5061c20f0bb4ed0d3bd9e7ec"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function makeChkClass (cyclomatic 12, cognitive 16): makeChkClass has cyclomatic complexity 12 and cognitive complexity 16; 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":"assets/common/js/component/tree.select.js"},"region":{"startLine":2428}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ac0d140e310ca720c4d2f5ff2c5f38b7f24bd0d8a8a36557e36c6fdc0526186"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function onMousedownNode (cyclomatic 12, cognitive 16): onMousedownNode has cyclomatic complexity 12 and cognitive complexity 16; 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":"assets/common/js/component/tree.select.js"},"region":{"startLine":2921}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f79af78cade8bc35e64ad63b3e665352b473a966b9b7cd8643df2e68946f6cb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 12, cognitive 16): (anonymous) has cyclomatic complexity 12 and cognitive complexity 16; 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":"assets/common/js/csp-bind.js"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae8f0ca54e5946155dca4c97763caf809005b1d323b09defa834a3e262b894e5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function coordsBidiPartWrapped (cyclomatic 12, cognitive 15): coordsBidiPartWrapped has cyclomatic complexity 12 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 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":"assets/static/codemirror/lib/codemirror.js"},"region":{"startLine":2844}}}],"partialFingerprints":{"codehealthFindingId/v1":"81a6650074c47c070c40cf3a7714e54f75af7f6846bb2d41f8c4d54b1d944c1d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function initMuiOutline (cyclomatic 12, cognitive 15): initMuiOutline has cyclomatic complexity 12 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 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":"assets/user/js/glass.js"},"region":{"startLine":442}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae584ad42ddf52e0250219bab35392d5994aa7acde832ff4b47cd7123a03bc4a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 12, cognitive 14): (anonymous) has cyclomatic complexity 12 and cognitive complexity 14; 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":"assets/admin/controller/auth/login.js"},"region":{"startLine":318}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbe2b667dfed409b12358f239d3708f501a34e4fb135cea6848ae42b94b0579e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 12, cognitive 14): (anonymous) has cyclomatic complexity 12 and cognitive complexity 14; 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":"assets/admin/controller/shared/store.js"},"region":{"startLine":824}}}],"partialFingerprints":{"codehealthFindingId/v1":"6455917f65fecc9d667169f138f4d11c480c003fb13c43536bdf4f48f813a7bb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getTreeCheckedNodes (cyclomatic 12, cognitive 14): getTreeCheckedNodes has cyclomatic complexity 12 and cognitive complexity 14; 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":"assets/common/js/component/tree.select.js"},"region":{"startLine":2243}}}],"partialFingerprints":{"codehealthFindingId/v1":"83f75d02777778b0d081051f3705515276bbc2769f94cbeaf09485df4df35ae1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fromTextArea (cyclomatic 12, cognitive 14): fromTextArea has cyclomatic complexity 12 and cognitive complexity 14; 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":"assets/static/codemirror/lib/codemirror.js"},"region":{"startLine":9699}}}],"partialFingerprints":{"codehealthFindingId/v1":"b94e20041f24b65a360c96bccd0d4c7dac8606a14b90abd2fd34d59c0e1af90b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 12, cognitive 12): (anonymous) has cyclomatic complexity 12 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 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":"assets/admin/js/mobile/fallback.js"},"region":{"startLine":1540}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3930c008f2c97c25997742405a61b59f94807ccaa62a2c1f22d352eac3a5584"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function finalize (cyclomatic 12, cognitive 12): finalize has cyclomatic complexity 12 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 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":"assets/admin/js/mobile/overlay.js"},"region":{"startLine":360}}}],"partialFingerprints":{"codehealthFindingId/v1":"b69e3e5cd76bab69f3527d8f2c43c687a7a974aba2af0840f13fb6b53dfb057d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function _i18nMiss (cyclomatic 12, cognitive 12): _i18nMiss has cyclomatic complexity 12 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 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":"assets/common/js/ready.js"},"region":{"startLine":271}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce521502ec9be9e27d70cc9b3502bb565a2f228d6f457fcf9649fdfa5e1939bd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function endOperation_W2 (cyclomatic 12, cognitive 12): endOperation_W2 has cyclomatic complexity 12 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 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":"assets/static/codemirror/lib/codemirror.js"},"region":{"startLine":3885}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2e669f0b586ca7b30b1c0d16bd84873f92834faa715e86645506fc421cc9799"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function addModifierNames (cyclomatic 12, cognitive 12): addModifierNames has cyclomatic complexity 12 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 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":"assets/static/codemirror/lib/codemirror.js"},"region":{"startLine":6825}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ff48c4b9dcb409d1f82cdbf57f92244820cdfd7d49efdfb3c8235bce34ab990"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function messageHtml (cyclomatic 12, cognitive 12): messageHtml has cyclomatic complexity 12 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 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":"assets/user/controller/user/ticket.detail.js"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"b44b7c155a3abd7602f0c0c8567347fad0519c098be262ef8489830fef8ba8ec"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 12, cognitive 11): (anonymous) has cyclomatic complexity 12 and cognitive complexity 11; 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":"assets/admin/controller/shared/priceTemplate.js"},"region":{"startLine":262}}}],"partialFingerprints":{"codehealthFindingId/v1":"71ce1f4272b6832d770bcd5a6fcf1b19dba5ea3e3418c38b87b0b7ede686a1ad"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function dragUpdate (cyclomatic 12, cognitive 11): dragUpdate has cyclomatic complexity 12 and cognitive complexity 11; 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":"assets/admin/controller/trade/category-tree.js"},"region":{"startLine":945}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f50ca8fe237941f2ad7520b8cf9f34cbcc99b21c160d8b0b899c9d98c269a9b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function cashAccountContent (cyclomatic 12, cognitive 11): cashAccountContent has cyclomatic complexity 12 and cognitive complexity 11; 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":"assets/admin/controller/user/cash.js"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b747b68a32c5173a0bab19a06b0774c752a30bfa1b353b16040d84085bcdcae"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 12, cognitive 11): (anonymous) has cyclomatic complexity 12 and cognitive complexity 11; 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":"assets/admin/js/mobile/fallback.js"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"238387e77f705ca0bb44c85d79d231d1917494017a4f0482721552ab4ce4d9ee"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 12, cognitive 11): (anonymous) has cyclomatic complexity 12 and cognitive complexity 11; 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":"assets/admin/js/mobile/viewport.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d41d6afbcecc8931d35ef17eca16367a89a86fe7c03f1bfb0013cbdafbaa5401"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function listConvert (cyclomatic 12, cognitive 11): listConvert has cyclomatic complexity 12 and cognitive complexity 11; 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":"assets/common/js/component/authtree.js"},"region":{"startLine":331}}}],"partialFingerprints":{"codehealthFindingId/v1":"b73f1bd5ae9c289ab5ff5c3db5c160f6c169828188e5918a7c6bff99fe9a4d0c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function #mobileRenderedValue (cyclomatic 12, cognitive 11): #mobileRenderedValue has cyclomatic complexity 12 and cognitive complexity 11; 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":"assets/common/js/component/table.js"},"region":{"startLine":681}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e9ead56f4c2381c73032d1b10471db29f8788a2e023a1be1507f8ed0dde3fcc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 12, cognitive 11): (anonymous) has cyclomatic complexity 12 and cognitive complexity 11; 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":"assets/static/codemirror/mode/css/css.js"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d422a64627149d46fe250053fde00219fc8cebbb8d4d00f1ccd1817fa58a249"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function listConvert (cyclomatic 12, cognitive 11): listConvert has cyclomatic complexity 12 and cognitive complexity 11; 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":"assets/static/modules/authtree.js"},"region":{"startLine":329}}}],"partialFingerprints":{"codehealthFindingId/v1":"85d2f0be934e2c496c633aaca434ad23dd076ecaad4f290a52a6501b234fbc17"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 12, cognitive 10): (anonymous) has cyclomatic complexity 12 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":"assets/admin/controller/dashboard/index.js"},"region":{"startLine":573}}}],"partialFingerprints":{"codehealthFindingId/v1":"91bad8a1479c84555ed9b3d7060b0ab7c3d40f8be10a22c974c96e9a74d889f5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function add (cyclomatic 12, cognitive 10): add has cyclomatic complexity 12 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":"assets/admin/js/mobile/fallback.js"},"region":{"startLine":335}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5a716b0cc175d5ae1410ce8db41ea37053a10d61503f2e735fe59b3b6866532"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function mediaIcon (cyclomatic 12, cognitive 10): mediaIcon has cyclomatic complexity 12 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":"assets/admin/js/mobile/fallback.js"},"region":{"startLine":547}}}],"partialFingerprints":{"codehealthFindingId/v1":"05b066ba9a0cfebb88107dce81f9c97b30f97551605b592cbeb3d25304a0e08a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function format (cyclomatic 12, cognitive 10): format has cyclomatic complexity 12 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":"assets/admin/js/mobile/recipes.js"},"region":{"startLine":1119}}}],"partialFingerprints":{"codehealthFindingId/v1":"40ad74fce3255c21ca5cd2122d1b4763cb4fd48480f149d16bb6d5063156cc5a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function _verifyDialog (cyclomatic 12, cognitive 10): _verifyDialog has cyclomatic complexity 12 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":"assets/common/js/util.js"},"region":{"startLine":355}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c1f88d8a0e06b0854451a1ad9b2e000c7e0c2578de16174dbeefeb7d90287c9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function submitTicket (cyclomatic 12, cognitive 10): submitTicket has cyclomatic complexity 12 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":"assets/user/controller/user/ticket.create.js"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac17fc882650db1c9d08618014b7b57108a8bf8c81f9e95632351760581c40ef"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function done (cyclomatic 12, cognitive 9): done has cyclomatic complexity 12 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":"assets/admin/controller/trade/coupon.js"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"44a520470d6137da8f14b525438ebb9a93531075fdd3eb6cf78b7d4d5ec96110"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function inlineInputEditor (cyclomatic 12, cognitive 9): inlineInputEditor has cyclomatic complexity 12 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":"assets/admin/js/mobile/fallback.js"},"region":{"startLine":1196}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdf799483e49f074bdc6e40dff9a6ad153edadf5fe2b14d3e8f1cc187ec91bfb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 12, cognitive 9): (anonymous) has cyclomatic complexity 12 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":"assets/common/js/editor/markdown/editorv2.js"},"region":{"startLine":747}}}],"partialFingerprints":{"codehealthFindingId/v1":"8958dc283264f984c92b8dd711e0dbfc911269314825a6d206252d913d4bf5d6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function find (cyclomatic 11, cognitive 25): find has cyclomatic complexity 11 and cognitive complexity 25; 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":"assets/static/codemirror/lib/codemirror.js"},"region":{"startLine":9301}}}],"partialFingerprints":{"codehealthFindingId/v1":"376debd3d4bb5c34a04552faf211bd7e222b26d4637b0ab1c7f098043fab727d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function findMatchingOpen (cyclomatic 11, cognitive 22): findMatchingOpen has cyclomatic complexity 11 and cognitive complexity 22; 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":"assets/static/codemirror/addon/fold/xml-fold.js"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"dac1de956eda2c52028d001ee98558129281393eafb1214b5b6ac9679ee4df27"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function find (cyclomatic 11, cognitive 20): find has cyclomatic complexity 11 and cognitive complexity 20; 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":"assets/static/codemirror/lib/codemirror.js"},"region":{"startLine":5905}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d30c31d8c446a67c1c7ea4116df07284cba0d52ad1f3bc7b13cff430c3f7d2c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getBidiPartAt (cyclomatic 11, cognitive 19): getBidiPartAt has cyclomatic complexity 11 and cognitive complexity 19; 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":"assets/static/codemirror/lib/codemirror.js"},"region":{"startLine":329}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b31f0363abe6f0fcabd882268919cd096c47877ce60fbca8a8f133debf88b01"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseJS (cyclomatic 11, cognitive 19): parseJS has cyclomatic complexity 11 and cognitive complexity 19; 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":"assets/static/codemirror/mode/javascript/javascript.js"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2059c60d3c31f2317198b6306337c0c8987b3df1d762a5092dba83e4ed89946"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function viewCuttingPoint (cyclomatic 11, cognitive 18): viewCuttingPoint has cyclomatic complexity 11 and cognitive complexity 18; 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":"assets/static/codemirror/lib/codemirror.js"},"region":{"startLine":3087}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffb658603d88286076b5259218e296771d80336746664665bcf454c3d534f706"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function block (cyclomatic 11, cognitive 17): block has cyclomatic complexity 11 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 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":"assets/static/codemirror/mode/css/css.js"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"242f1385963eb39218e867e8c9619b3ad542fd66d54286176cc07d4e4498b56e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function success (cyclomatic 11, cognitive 16): success has cyclomatic complexity 11 and cognitive complexity 16; 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":"assets/admin/js/mobile/overlay.js"},"region":{"startLine":1194}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef760d8e3f7b8017f4b0b4b84f940f37778d140e92fb347cc94a650d61bce732"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function removeNode (cyclomatic 11, cognitive 16): removeNode has cyclomatic complexity 11 and cognitive complexity 16; 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":"assets/common/js/component/tree.select.js"},"region":{"startLine":1530}}}],"partialFingerprints":{"codehealthFindingId/v1":"24a8ddbd1e583ac639962a98857c4e0181fe7900f0757abcce29ae41e7f4f691"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function findWordAt (cyclomatic 11, cognitive 16): findWordAt has cyclomatic complexity 11 and cognitive complexity 16; 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":"assets/static/codemirror/lib/codemirror.js"},"region":{"startLine":8573}}}],"partialFingerprints":{"codehealthFindingId/v1":"85adf6ab23f04dad73ee93bd454b7919fa6ba5239cd7012dfca035b1764322ef"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 11, cognitive 16): (anonymous) has cyclomatic complexity 11 and cognitive complexity 16; 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":"assets/user/controller/user/ticket.detail.js"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"8eac8f67cdc150c3802562a46ecd90369a7ae2991de0f3b6767a016fe1b33fdb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 11, cognitive 15): (anonymous) has cyclomatic complexity 11 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 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":"assets/common/js/ready.js"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe1a6e585ee8c139fc9286650c581da447bdfab0206ebdaec5182ac3ce31e6a5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 11, cognitive 15): (anonymous) has cyclomatic complexity 11 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 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":"assets/common/js/ready.js"},"region":{"startLine":353}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c17450ebdf05fe3a5a13b3ac712a915ee3939900a219c65045adbf954c93e9c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function findStartLine (cyclomatic 11, cognitive 15): findStartLine has cyclomatic complexity 11 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 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":"assets/static/codemirror/lib/codemirror.js"},"region":{"startLine":1255}}}],"partialFingerprints":{"codehealthFindingId/v1":"348ed415205dbd93c9cb3f7954ff4efb8d2d156d8e148a743dfd011dd6329bfd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function syncContextNavigation (cyclomatic 11, cognitive 14): syncContextNavigation has cyclomatic complexity 11 and cognitive complexity 14; 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":"assets/admin/js/mobile/workflows.js"},"region":{"startLine":874}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d429fa3ceae5052d1c8dafbbb30aa2a20813deb2d8187e689b62886d298ec86"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function createNodes (cyclomatic 11, cognitive 14): createNodes has cyclomatic complexity 11 and cognitive complexity 14; 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":"assets/common/js/component/tree.select.js"},"region":{"startLine":1163}}}],"partialFingerprints":{"codehealthFindingId/v1":"0945e53848f3689ee3f24915e341f5f6e5318fcfbdd51e7bb1d340a07d7bb7db"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 11, cognitive 13): (anonymous) has cyclomatic complexity 11 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 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":"assets/admin/controller/dashboard/index.js"},"region":{"startLine":472}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c0d7994b4729d81ff77657c373b4c32e137cee6c6231edcfb418d13a77adcc1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function modal (cyclomatic 11, cognitive 13): modal has cyclomatic complexity 11 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 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":"assets/admin/controller/pay/api.js"},"region":{"startLine":496}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a005590a80989cbd7db4c3ab37bf19f430d4d0efee839979f7e36521bcc7816"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 11, cognitive 13): (anonymous) has cyclomatic complexity 11 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 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":"assets/common/js/component.js"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"d59cb2d9b6213c4f31db3d351e37541e02edca99f7740b83641c69474320acd7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function _i18nMarkup (cyclomatic 11, cognitive 13): _i18nMarkup has cyclomatic complexity 11 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 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":"assets/common/js/ready.js"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"a98d7a4d882c8d47f4002a9341ddbc1fc8e60f9c1fba415fc931bf833c43df59"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function collapsedSpanAround (cyclomatic 11, cognitive 13): collapsedSpanAround has cyclomatic complexity 11 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 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":"assets/static/codemirror/lib/codemirror.js"},"region":{"startLine":1522}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e6167b25546469c550cbaa64ed7acdbe5d88c13716d1325837df677111a60f2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function signIn (cyclomatic 11, cognitive 13): signIn has cyclomatic complexity 11 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 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":"assets/user/controller/auth/login.js"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ac75aaff54f6120b6f25172e1f86fbc24d8c396ebc22ee9f97dbdbf56a5c897"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function definitionTone (cyclomatic 11, cognitive 12): definitionTone has cyclomatic complexity 11 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 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":"assets/admin/js/mobile/fallback.js"},"region":{"startLine":585}}}],"partialFingerprints":{"codehealthFindingId/v1":"730979f053b355d10bf071aae7ab2bd878b9925e6953b80864b57d1eec993cc1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 11, cognitive 12): (anonymous) has cyclomatic complexity 11 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 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":"assets/admin/js/mobile/fallback.js"},"region":{"startLine":1417}}}],"partialFingerprints":{"codehealthFindingId/v1":"9716a32aa44cadd98462d56d46e1c54e5a8fd4f70c15baedd9ab01c5c52dafa9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function cardSearchText (cyclomatic 11, cognitive 12): cardSearchText has cyclomatic complexity 11 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 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":"assets/admin/js/mobile/fallback.js"},"region":{"startLine":1940}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b9af0d083a021608d42bc6ae42e0742b9986c28399db5306ae62ff11e7ddf9f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function #getActionTarget (cyclomatic 11, cognitive 12): #getActionTarget has cyclomatic complexity 11 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 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":"assets/common/js/component/table.js"},"region":{"startLine":1053}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a3bdb3b5afb2454014b2e28713f29b5d8bc14d785b2704c0ea37732b8f6b341"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function _eventProxy (cyclomatic 11, cognitive 12): _eventProxy has cyclomatic complexity 11 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 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":"assets/common/js/component/tree.select.js"},"region":{"startLine":2764}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d39cddd6245caaddd8bff60818c77c90cfc941e0021659110d419b5d6ed44bb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function done (cyclomatic 11, cognitive 12): done has cyclomatic complexity 11 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 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":"assets/user/controller/user/ticket.js"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2d38c189f394e473338da96546ea4034bf01a04aa63b3371bfd0b8e96f415c6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function modal (cyclomatic 11, cognitive 11): modal has cyclomatic complexity 11 and cognitive complexity 11; 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":"assets/admin/controller/config/index.js"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"7940ffd965a69a8597b0872dac2fc3ae3a811da7901ebf39b2f6f88c8f347ed0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function submit (cyclomatic 11, cognitive 11): submit has cyclomatic complexity 11 and cognitive complexity 11; 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":"assets/admin/controller/shared/store.js"},"region":{"startLine":1631}}}],"partialFingerprints":{"codehealthFindingId/v1":"db5488b492d96fd821ea38c153b2149d9f28322cb214ec1487b34d5e30bdbe59"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function renderMcp (cyclomatic 11, cognitive 11): renderMcp has cyclomatic complexity 11 and cognitive complexity 11; 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":"assets/admin/controller/store/developer.js"},"region":{"startLine":516}}}],"partialFingerprints":{"codehealthFindingId/v1":"307751c8570fc314244fdb478d335064d0c458f1ea465083f89408743fbeaad7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 11, cognitive 11): (anonymous) has cyclomatic complexity 11 and cognitive complexity 11; 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":"assets/admin/controller/trade/category-actions.js"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a7879af1844bdf22891c1c6177eeb47890e0b76bf15b87f9f8b2f757860ab9a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function copyConfiguredField (cyclomatic 11, cognitive 11): copyConfiguredField has cyclomatic complexity 11 and cognitive complexity 11; 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":"assets/admin/js/mobile/fallback.js"},"region":{"startLine":1020}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bfdf41945b07cc49b24e7969fab665f03907dad7d2b234961ff81c7a3456786"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveLayerElement (cyclomatic 11, cognitive 11): resolveLayerElement has cyclomatic complexity 11 and cognitive complexity 11; 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":"assets/admin/js/mobile/overlay.js"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"12670c71f15256a0d36a4baa04f2fbf0842ef007d9f4ac403d101049a6786292"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function addAttribute (cyclomatic 11, cognitive 11): addAttribute has cyclomatic complexity 11 and cognitive complexity 11; 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":"assets/common/js/component/form.js"},"region":{"startLine":603}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7bdafceeecc1839cb0c3825e6e638135ece1b1b0438fd18b409b618d04fa061"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function createSearch (cyclomatic 11, cognitive 11): createSearch has cyclomatic complexity 11 and cognitive complexity 11; 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":"assets/common/js/component/search.js"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"f49bde1af5c83b45d19bfff636395ec3ed0697f13602bac012fdfdec93aa4a01"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function onClickNode (cyclomatic 11, cognitive 11): onClickNode has cyclomatic complexity 11 and cognitive complexity 11; 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":"assets/common/js/component/tree.select.js"},"region":{"startLine":829}}}],"partialFingerprints":{"codehealthFindingId/v1":"06a2348feb950b31f9caf15c74344774a4deaa660d911e7a97473b2ae0d6eb5c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function charType (cyclomatic 11, cognitive 11): charType has cyclomatic complexity 11 and cognitive complexity 11; 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":"assets/static/codemirror/lib/codemirror.js"},"region":{"startLine":375}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c99d7ec421a95f84f6c05d601608251c0783cdbc2d86da948e21021d05b427c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function makeChangeSingleDoc (cyclomatic 11, cognitive 11): makeChangeSingleDoc has cyclomatic complexity 11 and cognitive complexity 11; 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":"assets/static/codemirror/lib/codemirror.js"},"region":{"startLine":5433}}}],"partialFingerprints":{"codehealthFindingId/v1":"22c4cd640d8b93bf76cb6ee958e331a7149fc64284c442b4ec74bd5ea0cd4882"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function addFiles (cyclomatic 11, cognitive 10): addFiles 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":"assets/admin/controller/trade/card-file-upload.js"},"region":{"startLine":507}}}],"partialFingerprints":{"codehealthFindingId/v1":"01b100a55fcae35b559a81301fc0b048f84a02db0e6790235787ec1749cc7a06"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function done (cyclomatic 11, cognitive 10): done 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":"assets/admin/controller/trade/category-tree.js"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"55cf658f594fc61e31e86406087037ca7771bfcfc7662ce6ea2c2d5fdf0bf1a6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function openComposer (cyclomatic 11, cognitive 10): openComposer 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":"assets/admin/controller/user/message.js"},"region":{"startLine":360}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d06feff0819afed7442ebebd9d27e0385ce1d58cfb7183572f3a8ed5e9dc031"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function appendCustomDetailContent (cyclomatic 11, cognitive 10): appendCustomDetailContent 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":"assets/admin/js/mobile/fallback.js"},"region":{"startLine":1375}}}],"partialFingerprints":{"codehealthFindingId/v1":"82517104e87b08e117a7bda7d5ace169758bf32baddee4d60ad4d44a23dc7b18"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function detailContent (cyclomatic 11, cognitive 10): detailContent 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":"assets/admin/js/mobile/fallback.js"},"region":{"startLine":1395}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7c08b87303181e50df76950815513ceeea2b8c9f4c9338823f22a4da1ea784b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function format (cyclomatic 11, cognitive 10): format 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":"assets/admin/js/mobile/recipes.js"},"region":{"startLine":1673}}}],"partialFingerprints":{"codehealthFindingId/v1":"547bdba719dbcd68d5d085b8e7c88cb505ee7aa95c10f9b0d176cd6bcd96739c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function #openColumnDetail (cyclomatic 11, cognitive 10): #openColumnDetail 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":"assets/common/js/component/table.js"},"region":{"startLine":443}}}],"partialFingerprints":{"codehealthFindingId/v1":"4aa8328a966c736f92be3ea98e85e6a1388174e3568c4cedf3df97b2a10bf3d5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function prop (cyclomatic 11, cognitive 10): prop 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":"assets/static/codemirror/mode/css/css.js"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"a05524bb2eb48a90ce0831baa91764edb4383fc7252e0e0f8759f3490a3d88c7"}},{"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":"assets/admin/controller/config/wiki.mobile.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e014ab0ab958752cd442121270a699d64b6b05eaff19d00a966c2d981f03e6cc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function normalizeImportTaskItem (cyclomatic 11, cognitive 9): normalizeImportTaskItem 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":"assets/admin/controller/shared/store.js"},"region":{"startLine":710}}}],"partialFingerprints":{"codehealthFindingId/v1":"f42e5f51a1d678abe9aa71bb738789b1b12dc8aac0dc72a141d689e1a31c7840"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function attach (cyclomatic 11, cognitive 9): attach 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":"assets/admin/controller/trade/drag-sort.js"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ac53e4b7c2839b1a621a1992c866b0a726a45d5dc745b0864df536723edf5e4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function click (cyclomatic 11, cognitive 9): click 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":"assets/admin/controller/user/recharge.order.js"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"8de6766342d2a3625c288e0a1f0fa465776199df42355ed72f04624943d19733"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function openCard (cyclomatic 11, cognitive 9): openCard 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":"assets/admin/js/mobile/fallback.js"},"region":{"startLine":3088}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab210f6a2e3ed71a2d2349358ee65edbb64548b8c9fc42f55636075bc366b7d6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function end (cyclomatic 11, cognitive 9): end 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":"assets/admin/js/mobile/overlay.js"},"region":{"startLine":1243}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b625d1a887b3c03bd3d39419dfd1dd010be44370d7279f7f48578aa8183eb9f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function isSensitiveKey (cyclomatic 11, cognitive 9): isSensitiveKey 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":"assets/common/js/util.js"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"da66320aa0ea3f56fa038ed47d6f99448c4674b2b638b9810567f4006f604c05"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function setSelectionNoUndo (cyclomatic 11, cognitive 9): setSelectionNoUndo 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":"assets/static/codemirror/lib/codemirror.js"},"region":{"startLine":5154}}}],"partialFingerprints":{"codehealthFindingId/v1":"46479e142e74b447baeb257e1bdce89a1d7dbc4918ba524bc1862efb1087df0e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function pollSelection (cyclomatic 11, cognitive 9): pollSelection 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":"assets/static/codemirror/lib/codemirror.js"},"region":{"startLine":9033}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf499bfe519dfe15d801fd3afd49102fb7b9610b48a340aab4be0a35d32e3f76"}},{"ruleId":"R3","level":"warning","message":{"text":"assets/static/codemirror/lib/codemirror.js: 8882 lines of code: assets/static/codemirror/lib/codemirror.js has 8882 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/static/codemirror/lib/codemirror.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3702a3623a4a0d1fe562dd6c1606f404621e46d2f736ffc2dbc170ce2fe9752b"}},{"ruleId":"R3","level":"warning","message":{"text":"assets/common/js/component/tree.select.js: 3978 lines of code: assets/common/js/component/tree.select.js has 3978 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/common/js/component/tree.select.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0478810243167cd4285673b3c07003bd2d4da4fcc193c27ffc471509412a15d0"}},{"ruleId":"R3","level":"warning","message":{"text":"assets/admin/js/mobile/fallback.js: 3083 lines of code: assets/admin/js/mobile/fallback.js has 3083 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/js/mobile/fallback.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a14508f1ff1283bc653a31693656bde2f8274b0cc9b5400558edf3a7ab031eb"}},{"ruleId":"R3","level":"warning","message":{"text":"assets/admin/js/menu.js: 2923 lines of code: assets/admin/js/menu.js has 2923 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/js/menu.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c30be2dab5830a397a66af75bbff3331a163d6359b983d423f6e5b866fe5297"}},{"ruleId":"R3","level":"warning","message":{"text":"assets/common/js/component/form.js: 1951 lines of code: assets/common/js/component/form.js has 1951 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/common/js/component/form.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c05fd7a6172dcd5851e1b5c5715aee813fa6cd35b81bb36b9e9cc19ae653aa0"}},{"ruleId":"R3","level":"warning","message":{"text":"assets/admin/js/mobile/recipes.js: 1936 lines of code: assets/admin/js/mobile/recipes.js has 1936 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/js/mobile/recipes.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"89af870e9764695dd2f53a0887e19f9305c742390e02fca927ac4aacc337c4da"}},{"ruleId":"R3","level":"warning","message":{"text":"assets/admin/controller/shared/store.js: 1876 lines of code: assets/admin/controller/shared/store.js has 1876 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/shared/store.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b00a10e0189918ec9e0073d47a921f34302599dde7fdbae3b0b69a2843c940b"}},{"ruleId":"R3","level":"warning","message":{"text":"assets/common/js/component/table.js: 1852 lines of code: assets/common/js/component/table.js has 1852 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/common/js/component/table.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd5a47b2c868e1f97b01e599f0f8760a10f9215da019d5aebbb4d198b0c91ed3"}},{"ruleId":"R3","level":"warning","message":{"text":"assets/admin/controller/store/home.js: 1588 lines of code: assets/admin/controller/store/home.js has 1588 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/store/home.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"34fad0554c3d4da5739a74f813c7da3cc9d76eeb11ac91b76201e82bf61e908d"}},{"ruleId":"R3","level":"warning","message":{"text":"assets/admin/controller/trade/commodity.js: 1488 lines of code: assets/admin/controller/trade/commodity.js has 1488 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/trade/commodity.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"492ea17df78c1bf7c66e19f6c89dfb691f75f1702c5b3c4336988a3e4254e461"}},{"ruleId":"R3","level":"warning","message":{"text":"assets/admin/js/mobile/overlay.js: 1376 lines of code: assets/admin/js/mobile/overlay.js has 1376 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/js/mobile/overlay.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc7e5a9121cc98753bd57919a42e8fb793e794ee88093459aba49f971af2a0ef"}},{"ruleId":"R3","level":"warning","message":{"text":"assets/admin/js/mobile/workflows.js: 1319 lines of code: assets/admin/js/mobile/workflows.js has 1319 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/js/mobile/workflows.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4b85039d9423466b953e11fee35588498c1b7f2a53b6df6e28754b9dfb05633"}},{"ruleId":"R3","level":"warning","message":{"text":"assets/admin/controller/trade/category-tree.js: 1286 lines of code: assets/admin/controller/trade/category-tree.js has 1286 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/trade/category-tree.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"677b569193d3edacb75f38f208e7de2f30d95e004411df0e183000085c47dc8f"}},{"ruleId":"R3","level":"warning","message":{"text":"assets/admin/controller/trade/card-file-upload.js: 1209 lines of code: assets/admin/controller/trade/card-file-upload.js has 1209 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/trade/card-file-upload.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e21763fa8d091b8731fa9673c196430bba3ea2a0e9c8ecc244215a8e1669d9e"}},{"ruleId":"R3","level":"warning","message":{"text":"assets/static/modules/hex.js: 1204 lines of code: assets/static/modules/hex.js has 1204 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/static/modules/hex.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6013ecac3a29b0c5e3d99af5be89c175219b0480e2c08df230a6d2463e6f3d1"}},{"ruleId":"R3","level":"warning","message":{"text":"assets/common/js/util.js: 1166 lines of code: assets/common/js/util.js has 1166 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/common/js/util.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2793212ed6f4c61d3db251c9bcd7f3c3bd074bd839407546ad9956338d340123"}},{"ruleId":"R3","level":"warning","message":{"text":"assets/static/acg.js: 1130 lines of code: assets/static/acg.js has 1130 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/static/acg.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"87bc6bed261eee9beba98c5537a20a1c36239b4d1ca5df46e2d347a9670e0c83"}},{"ruleId":"R3","level":"warning","message":{"text":"assets/admin/controller/trade/drag-sort.js: 1105 lines of code: assets/admin/controller/trade/drag-sort.js has 1105 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/trade/drag-sort.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea6ed32f46d0670e22d0e37c1cee4ebed57492efb9abbdcfbcad654cd80af394"}},{"ruleId":"R3","level":"warning","message":{"text":"assets/common/js/editor/markdown/editorv2.js: 1022 lines of code: assets/common/js/editor/markdown/editorv2.js has 1022 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/common/js/editor/markdown/editorv2.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"937558559ffb9d84f98a501ccb4dd87f3a6456b3545045e9446a286894fd20b9"}},{"ruleId":"R3","level":"warning","message":{"text":"assets/static/codemirror/mode/javascript/javascript.js: 914 lines of code: assets/static/codemirror/mode/javascript/javascript.js has 914 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/static/codemirror/mode/javascript/javascript.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"118c50ba34a25eb682ed34c705d6b487d8237b01adab24bd1ddcda832cf15ee7"}},{"ruleId":"R3","level":"warning","message":{"text":"assets/admin/controller/store/developer.js: 899 lines of code: assets/admin/controller/store/developer.js has 899 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/store/developer.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd9ae8023feeba6c545c097c822751349f9e6bceb7cd3ff1eedbae0df3404fa8"}},{"ruleId":"R3","level":"warning","message":{"text":"assets/admin/controller/user/ticket.js: 872 lines of code: assets/admin/controller/user/ticket.js has 872 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/user/ticket.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"37cb97fcd6e80d9b8f64ca754d6a00766caf7ea88a77cd854f283604087e71e7"}},{"ruleId":"R3","level":"warning","message":{"text":"assets/admin/controller/trade/order.js: 856 lines of code: assets/admin/controller/trade/order.js has 856 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/trade/order.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"991acdc78fe22bfc0977770d2700f1ac1e8594b43b2be4cc25ba5625caa1a02f"}},{"ruleId":"R3","level":"warning","message":{"text":"assets/admin/controller/pay/api.js: 851 lines of code: assets/admin/controller/pay/api.js has 851 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/pay/api.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"96cbec0a65e20063a464fa25d57bb42717c16cd05695bad2aa551ee14d44cc77"}},{"ruleId":"R3","level":"warning","message":{"text":"assets/admin/controller/dashboard/index.js: 832 lines of code: assets/admin/controller/dashboard/index.js has 832 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/dashboard/index.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd4b85f52a0b211608a64d37db1ba486d6a95843b1651413f0a9ed5d64ff6c29"}},{"ruleId":"R3","level":"warning","message":{"text":"assets/static/codemirror/mode/css/css.js: 808 lines of code: assets/static/codemirror/mode/css/css.js has 808 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/static/codemirror/mode/css/css.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9962c146b222bab27321726df25fb7902f3e013a4d3254873c2090cad77154f"}},{"ruleId":"R3","level":"warning","message":{"text":"assets/common/js/component.js: 793 lines of code: assets/common/js/component.js has 793 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/common/js/component.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"04a92d65cdcb42599e9efa78bbb1f66b67b63ac5745b78e0601eb7e1ff011951"}},{"ruleId":"R3","level":"warning","message":{"text":"assets/admin/controller/user/index.js: 771 lines of code: assets/admin/controller/user/index.js has 771 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/user/index.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5dda97b99002927aa4e86450d7b1643c76c13d2c20484670343f29849712d40e"}},{"ruleId":"R3","level":"warning","message":{"text":"assets/common/js/component/authtree.js: 764 lines of code: assets/common/js/component/authtree.js has 764 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/common/js/component/authtree.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb523f8b4512bd6f0c608ed7b2af1717d4ae6c49e8b3959338caa821c024e4f3"}},{"ruleId":"R3","level":"warning","message":{"text":"assets/admin/controller/trade/coupon.js: 725 lines of code: assets/admin/controller/trade/coupon.js has 725 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/trade/coupon.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e440350e88865fe729899863f9ac9fbcaff6aa0bab14f58511525ed9f7c4225"}},{"ruleId":"R3","level":"warning","message":{"text":"assets/static/modules/authtree.js: 712 lines of code: assets/static/modules/authtree.js has 712 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/static/modules/authtree.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"29a79a38ffa5f411b63a99aa68a095349b01866bc2f760f5c683502398f24af4"}},{"ruleId":"R3","level":"warning","message":{"text":"assets/admin/controller/config/plugin.js: 705 lines of code: assets/admin/controller/config/plugin.js has 705 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/config/plugin.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"63f1b2c14eecf69c91109f9b9902da2e6092b27ac0210926747fbb74ec0492a9"}},{"ruleId":"R3","level":"warning","message":{"text":"assets/admin/controller/trade/card.js: 703 lines of code: assets/admin/controller/trade/card.js has 703 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/trade/card.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b9413fcd3ea77d4edd635dbfb160081ab9d516dcc96981d3ee936bc635f4956"}},{"ruleId":"R3","level":"warning","message":{"text":"assets/user/controller/business/commodity.js: 673 lines of code: assets/user/controller/business/commodity.js has 673 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/user/controller/business/commodity.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"eaf20181b67264839bbca336e50a2b8061dcc4f5f9f3ac4e7faf2ba9a984b077"}},{"ruleId":"R3","level":"warning","message":{"text":"assets/common/js/ready.js: 671 lines of code: assets/common/js/ready.js has 671 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/common/js/ready.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"99744e6dc52966a912f12994d0ada96ed69b8dd651a69de675d5cbfd49db602d"}},{"ruleId":"R3","level":"warning","message":{"text":"assets/admin/controller/user/message.js: 610 lines of code: assets/admin/controller/user/message.js has 610 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/user/message.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"75ccee0ceb685c1faac735076937e4c5be8be135002bd163f9ee66b1abea1317"}},{"ruleId":"R3","level":"warning","message":{"text":"assets/admin/controller/pay/plugin.js: 586 lines of code: assets/admin/controller/pay/plugin.js has 586 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/pay/plugin.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a35d22c337bac81ec0e7f7ad7f962f67412d170259772f8d92ee927e1726eaf0"}},{"ruleId":"R3","level":"warning","message":{"text":"assets/admin/controller/config/index.js: 540 lines of code: assets/admin/controller/config/index.js has 540 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/config/index.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e5af6a1fba91d11c111add692efdffdb6ac04c7ce2376a45263ec20c775b925"}},{"ruleId":"R3","level":"warning","message":{"text":"assets/common/js/component/search.js: 518 lines of code: assets/common/js/component/search.js has 518 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/common/js/component/search.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"203eb53657acf4e8c33bf392a20a864182038ad94b29361a67c423dcf4c4ce7b"}},{"ruleId":"R3","level":"warning","message":{"text":"assets/user/js/glass.js: 515 lines of code: assets/user/js/glass.js has 515 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/user/js/glass.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"05032a31544e3f20c4ad9d75fc0ec22daf39db21971e6b9b834971990a681968"}},{"ruleId":"R3","level":"warning","message":{"text":"assets/user/controller/business/card.js: 502 lines of code: assets/user/controller/business/card.js has 502 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/user/controller/business/card.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd4563e54175d270907d9cca0420b2773ca4035e4e3280c223901fe022a93511"}},{"ruleId":"R3","level":"warning","message":{"text":"assets/admin/controller/user/group.js: 478 lines of code: assets/admin/controller/user/group.js has 478 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/user/group.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdb5391ddc09a0145363fa70d05161f204015f3829135f171855e27df200e1cf"}},{"ruleId":"R3","level":"warning","message":{"text":"assets/user/controller/user/message.js: 429 lines of code: assets/user/controller/user/message.js has 429 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/user/controller/user/message.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e5c436e2c3c7c3828b553ac283dcaf2a4a6b6ed4ba501edd9be7386169b9961"}},{"ruleId":"R3","level":"warning","message":{"text":"assets/user/controller/business/business.js: 425 lines of code: assets/user/controller/business/business.js has 425 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/user/controller/business/business.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9492c4d8e1b6682c8e80d240e04874ed67689400a122fe4bcf9ca46a8762c23"}},{"ruleId":"R3","level":"warning","message":{"text":"assets/user/controller/user/ticket.detail.js: 414 lines of code: assets/user/controller/user/ticket.detail.js has 414 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/user/controller/user/ticket.detail.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe6c73ec31b78e7e7dea55fa8ae86308674c6a530855fda629ca4b3ed07fb290"}},{"ruleId":"R3","level":"warning","message":{"text":"assets/user/controller/index/item.js: 412 lines of code: assets/user/controller/index/item.js has 412 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/user/controller/index/item.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"692834c68ee3c0cbcbd1169a08f3087081706dea48a6a3c78e34dc586a8bb65b"}},{"ruleId":"R3","level":"warning","message":{"text":"assets/admin/controller/shared/priceTemplate.js: 402 lines of code: assets/admin/controller/shared/priceTemplate.js has 402 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/shared/priceTemplate.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"31b2681383532856b35ab9667570004cb667cf3f711a4015c3137d4d76169bfa"}},{"ruleId":"R4","level":"warning","message":{"text":"Test Coverage: 0% of 131 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":"S1","level":"note","message":{"text":"No security response headers detected: None of the 11 security response headers the OWASP Secure Headers Project recommends (Content-Security-Policy, Strict-Transport-Security, X-Content-Type-Options, X-Frame-Options, \u2026) is configured \u2014 defense in depth, even when a reverse proxy could set them. This is reported because \u0060nginx.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/nginx.conf"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d1145a1a686a832a906ad66bbb0ed730d42ecd93ee0711e9758821687c54020"}},{"ruleId":"S1","level":"note","message":{"text":"Information-disclosure response header set: \u0060sourceMap\u0060 is set explicitly here. The OWASP Secure Headers Project lists it among the response headers to REMOVE: it names the server, framework or tooling behind the application, which is exactly what an attacker looks up known exploits for. (No deduction on this card.)"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/common/js/editor/editor.js"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9be00c6ed2ae5515dcb456405871945e907171247600a3454f6a5e8bbcf5dec"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!(result.isConfirmed === true || result.value === true) || !controllerActive || requesting\u0060 appears character-identically in 2 files \u2014 assets/admin/controller/trade/order.js, assets/admin/controller/user/index.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/trade/order.js"},"region":{"startLine":301}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba33593fc7f4c5dcc8b4944a3bd4d60658d80efca5a520c34fabfdaf1b78c668"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!Array.isArray(submit) || submit.length === 0\u0060 appears character-identically in 2 files \u2014 assets/admin/controller/config/index.js, assets/admin/controller/pay/plugin.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/config/index.js"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"41e2b48eb73d854cfd2dfdebff7248e9f0ec5e0c128a0a5aa67f5266cf0ad8b2"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!Number.isInteger(count) || count \u003C 1 || !previewToken.includes(\u0027.\u0027)\u0060 appears character-identically in 2 files \u2014 assets/admin/controller/trade/order.js, assets/admin/controller/user/recharge.order.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/trade/order.js"},"region":{"startLine":817}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e73fbb9bb673f7fb99d86af66c0c17decb3684ee30812201a89eb6401758434"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!Number.isInteger(exportNum) || exportNum \u003C 0 || exportNum \u003E 5000\u0060 appears character-identically in 2 files \u2014 assets/admin/controller/trade/card.js, assets/admin/controller/trade/order.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/trade/card.js"},"region":{"startLine":658}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee6dfe51c04725dab1eaf646555175abc984c9a91093f818cf40b0700289b275"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!contentType.includes(\u0027text/csv\u0027) \u0026\u0026 !contentType.includes(\u0027application/octet-stream\u0027)\u0060 appears character-identically in 2 files \u2014 assets/admin/controller/trade/order.js, assets/admin/controller/user/recharge.order.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/trade/order.js"},"region":{"startLine":708}}}],"partialFingerprints":{"codehealthFindingId/v1":"f57159fdb0cd6891b6ad952b22bc9f0010d4919f123b6a7f762d1d551cbeef3e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!controllerActive || _.isDestroyed || revision !== skuRevision\u0060 appears character-identically in 2 files \u2014 assets/admin/controller/trade/card.js, assets/admin/controller/trade/commodity.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/trade/card.js"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf2b45abc50be6b23b435d74fabee5dbc1912a6e95809fc684c126b683f06e77"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!controllerActive || _LogPid !== logPid || !$logText\u0060 appears character-identically in 2 files \u2014 assets/admin/controller/config/plugin.js, assets/admin/controller/pay/plugin.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/config/plugin.js"},"region":{"startLine":325}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea941146ac9c9e054347d3b6e3ba8cc2b832420bf8b8cf36a64677ebf5cc2952"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!controllerActive || form.isDestroyed || revision !== groupRevision\u0060 appears character-identically in 2 files \u2014 assets/admin/controller/shared/priceTemplate.js, assets/admin/controller/trade/commodity.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/shared/priceTemplate.js"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"76c46de076c5e2b0500e3b66bdfe4e53f0cb1035abd496bad56b33da6fb90ece"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!delivery || delivery.textOf(secret).trim() !== \u0027\u0027\u0060 appears character-identically in 2 files \u2014 assets/user/controller/dashboard/index.js, assets/user/controller/user/purchase.record.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/user/controller/dashboard/index.js"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a36d6f998f38935b0449f764761edd2754685f66b1a436afcc7c385441775ac"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!event.shiftKey \u0026\u0026 document.activeElement === last\u0060 appears character-identically in 2 files \u2014 assets/admin/controller/user/ticket.js, assets/common/js/component.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/user/ticket.js"},"region":{"startLine":908}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f44f8a098a591f3aabe10825fc167f5aad1783a5c6a82a98a4df287c6c1e6c2"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!ipod \u0026\u0026 !ipad \u0026\u0026 ua.match(/(iPhone\\sOS)\\s([\\d_]\u002B)/i)\u0060 appears character-identically in 2 files \u2014 assets/common/js/util.js, assets/static/pay.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/common/js/util.js"},"region":{"startLine":831}}}],"partialFingerprints":{"codehealthFindingId/v1":"c56445c7646d1bf1d7e7b3e537a3fcb447d95919e26618edcdef16a3d99912bc"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!label || !label.textContent.replace(/\\s\u002B/g, \u0027\u0027)\u0060 appears character-identically in 2 files \u2014 assets/admin/js/material.js, assets/user/js/glass.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/js/material.js"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fe9c5028679e9f7b2027798c099d94840141fe5508240be170a960eb0f5a789"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!request || typeof request.always !== \u0027function\u0027\u0060 appears character-identically in 2 files \u2014 assets/admin/controller/dashboard/index.js, assets/admin/controller/shared/store.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/dashboard/index.js"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"02b9ba87fce6acae275a04b2e02055b5d632c056833237e04ae2483636c783e3"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060[\u0027http:\u0027, \u0027https:\u0027].includes(url.protocol) \u0026\u0026 !url.username \u0026\u0026 !url.password\u0060 appears character-identically in 6 files \u2014 assets/admin/controller/config/plugin.js, assets/admin/controller/manage/manage.js, assets/admin/controller/shared/store.js, assets/admin/controller/store/developer.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/config/plugin.js"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfcb5ed92f8242701bd14971432ace81166c4378f3b67a4aad0ba9ecc5b86523"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060answer.isConfirmed === true || answer.value === true\u0060 appears character-identically in 2 files \u2014 assets/admin/js/mobile/overlay.js, assets/admin/js/mobile/workflows.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/js/mobile/overlay.js"},"region":{"startLine":572}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a2fb1531ba4b8129c8b6f10e062fdf02b6d9f607b4acfa57f6b24f81759fd2f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060api.navigation \u0026\u0026 typeof api.navigation.openAll === \u0027function\u0027\u0060 appears character-identically in 2 files \u2014 assets/admin/controller/config/wiki.mobile.js, assets/admin/js/mobile/shell.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/config/wiki.mobile.js"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"2141de0085e641ac61f31a2228c51d38612daddeb2d5d03d918575baab7ac7e7"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060controllerActive \u0026\u0026 error?.name !== \u0027AbortError\u0027\u0060 appears character-identically in 2 files \u2014 assets/admin/controller/trade/card.js, assets/admin/controller/user/recharge.order.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/trade/card.js"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"49fe542c61127de607d93c961ebc0be29472c00abc8c3dfb5584ecf516b62413"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060document.scrollingElement || document.documentElement\u0060 appears character-identically in 2 files \u2014 assets/admin/controller/shared/store.js, assets/admin/js/menu.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/shared/store.js"},"region":{"startLine":673}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d44c28b415732b4a4234f94bf4f77827e6a5b06faffd653f5cdffbd4088617d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060event.key !== \u0027Enter\u0027 \u0026\u0026 event.key !== \u0027 \u0027\u0060 appears character-identically in 3 files \u2014 assets/admin/controller/config/wiki.mobile.js, assets/admin/controller/user/ticket.js, assets/admin/js/mobile/overlay.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/config/wiki.mobile.js"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8507070ba33c5506b8a2a31aef68586a76652eac7cbd61574e3d1aae3237e11"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060event.shiftKey \u0026\u0026 document.activeElement === first\u0060 appears character-identically in 2 files \u2014 assets/admin/controller/user/ticket.js, assets/common/js/component.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/user/ticket.js"},"region":{"startLine":905}}}],"partialFingerprints":{"codehealthFindingId/v1":"d58916800e0ac86662c1e736f3ff65f739377280da00e99095c662f2892ea134"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060event.target.closest \u0026\u0026 event.target.closest(\u0027a[href]\u0027)\u0060 appears character-identically in 2 files \u2014 assets/admin/controller/config/wiki.mobile.js, assets/admin/js/mobile/overlay.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/config/wiki.mobile.js"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"8158ef9cdcd0abcc475bdc6199b38ea37fb8341a5affe6a1dc5f9ab8269d7552"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060event.type === \u0027keydown\u0027 \u0026\u0026 ![\u0027Enter\u0027, \u0027 \u0027].includes(event.key)\u0060 appears character-identically in 2 files \u2014 assets/common/js/component.js, assets/common/js/component/table.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/common/js/component.js"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2165c8fe3fffbf582bcbc8009225ad4c268c8b57ec08d08955f5b70b061c11a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060form \u0026\u0026 window.AdminMobile?.pageWorkflows?.getRevision\u0060 appears character-identically in 5 files \u2014 assets/admin/controller/config/index.js, assets/admin/controller/config/mail.js, assets/admin/controller/config/other.js, assets/admin/controller/config/sms.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/config/index.js"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcef3022238dc95c3d26f19f70adc70834694bf264c6f950dcabb3942d116241"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060hasText || delivery.files(secret).length \u003E 1\u0060 appears character-identically in 2 files \u2014 assets/user/controller/dashboard/index.js, assets/user/controller/user/purchase.record.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/user/controller/dashboard/index.js"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"056dd8ad15ac9b9433a9dc23ead0d8f880a100bf93ae8c438637d927159e091c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060inlineStyle \u0026\u0026 (inlineStyle.display === \u0027none\u0027 || inlineStyle.visibility === \u0027hidden\u0027)\u0060 appears character-identically in 2 files \u2014 assets/admin/js/mobile/navigation.js, assets/admin/js/mobile/workflows.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/js/mobile/navigation.js"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"29996edf9040bb56aedeccb1023884fdf21fc9beddc25eee7099c4caed9416a8"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060input.isConnected \u0026\u0026 input.value === value\u0060 appears character-identically in 2 files \u2014 assets/admin/controller/config/mail.js, assets/admin/controller/config/sms.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/config/mail.js"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"12f029cd3348f26f966ef6a105aaf2e6f1d40015914169013c2991c85ce9d292"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060item[childKey] \u0026\u0026 (item[childKey].length || !$.isEmptyObject(item[childKey].length))\u0060 appears character-identically in 2 files \u2014 assets/common/js/component/authtree.js, assets/static/modules/authtree.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/common/js/component/authtree.js"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2c5615b5ccba05860b92bde1c1f6b948c7621d30ba51ee8f770930d7358e4df"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060mobileAdminEnabled() \u0026\u0026 Boolean(row.web_site) \u0026\u0026 row.web_site !== \u0027#\u0027\u0060 appears character-identically in 2 files \u2014 assets/admin/controller/store/developer.js, assets/admin/controller/store/home.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/store/developer.js"},"region":{"startLine":882}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8517cb56d29ad9db2e9ab13b6cd98e17c54c828a983ad81abf630654a1d6657"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060muts[i].addedNodes \u0026\u0026 muts[i].addedNodes.length\u0060 appears character-identically in 2 files \u2014 assets/admin/js/material.js, assets/user/js/glass.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/js/material.js"},"region":{"startLine":373}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2a337b0e3cbf40baa281a9b869de4fc426031cd9484ae8cd3fbf95fd6c04599"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060navigator.clipboard \u0026\u0026 window.isSecureContext\u0060 appears character-identically in 3 files \u2014 assets/admin/controller/config/google2fa.js, assets/common/js/ready.js, assets/user/controller/security/totp.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/config/google2fa.js"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb650cae770db9ba2e9d029c93cf5c16293a3021f2211c290dc889630ede36d7"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060openall || (opt.openchecked \u0026\u0026 item.checked)\u0060 appears character-identically in 2 files \u2014 assets/common/js/component/authtree.js, assets/static/modules/authtree.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/common/js/component/authtree.js"},"region":{"startLine":281}}}],"partialFingerprints":{"codehealthFindingId/v1":"093bed6fbdfe4e6849518c2d7cc5c7488128f371ccd2d5239b1ef0a0edff8601"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060opt.childKey in item \u0026\u0026 item[opt.childKey] \u0026\u0026 item[opt.childKey].length \u003E 0\u0060 appears character-identically in 2 files \u2014 assets/common/js/component/authtree.js, assets/static/modules/authtree.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/common/js/component/authtree.js"},"region":{"startLine":423}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd2e5e6f776a8b0e70af1054f939a5fcc7a27f7b0c060e8a7017bffc8279a943"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060plugin?.update_content || i18n(\u0027\u8BE5\u66F4\u65B0\u6CA1\u6709\u63D0\u4F9B\u8BF4\u660E\u0027)\u0060 appears character-identically in 2 files \u2014 assets/admin/controller/config/plugin.js, assets/admin/controller/pay/plugin.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/config/plugin.js"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0445304bd804e7207b3ef4bc406fae4ff80e0b8c66c567769925738fca5b5a6"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060presented === true || presented?.handled === true\u0060 appears character-identically in 2 files \u2014 assets/common/js/component.js, assets/common/js/component/table.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/common/js/component.js"},"region":{"startLine":427}}}],"partialFingerprints":{"codehealthFindingId/v1":"365730633259c37964de0ebecc24df089860f489a4dc3de91e11b5c42437a1d1"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060previewPending || downloadPending || !controllerActive\u0060 appears character-identically in 2 files \u2014 assets/admin/controller/trade/order.js, assets/admin/controller/user/recharge.order.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/trade/order.js"},"region":{"startLine":786}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb9b825abf14e4a2e8c4879752c52f11d3abf71865416051f10c65362eeda143"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060response.headers.get(\u0027content-type\u0027) || \u0027\u0027\u0060 appears character-identically in 4 files \u2014 assets/admin/controller/trade/card.js, assets/admin/controller/trade/coupon.js, assets/admin/controller/trade/order.js, assets/admin/controller/user/recharge.order.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/trade/card.js"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6bfb6f2042382777ca3a9aef13eeb47b13c315bfe9adb7ece640fb1c8c7829d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060result.isConfirmed === true || result.value === true\u0060 appears character-identically in 3 files \u2014 assets/admin/controller/store/home.js, assets/admin/controller/trade/category-actions.js, assets/admin/controller/user/cash.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/store/home.js"},"region":{"startLine":351}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecb68dc33cfbfc3a440b72f2e2538abd41c9d467826b7e171f726f0aff71155b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060row.create_time || source.create_time || \u0027\u0027\u0060 appears character-identically in 2 files \u2014 assets/user/controller/user/message.js, assets/user/js/glass.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/user/controller/user/message.js"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a6c69f9b90885478d8a559419d60d1a1936962a3e317062e4a81bd2fefadb92"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060row.id || row.user_message_id || source.user_message_id || 0\u0060 appears character-identically in 2 files \u2014 assets/user/controller/user/message.js, assets/user/js/glass.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/user/controller/user/message.js"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"db708ab553a71bcd9bc1b69ed94a9d616a30cbccb7bf7a7d39be763c161a59cb"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060row.jump_url || source.jump_url || row.url || source.url || row.link_url || source.link_url || \u0027\u0027\u0060 appears character-identically in 2 files \u2014 assets/user/controller/user/message.js, assets/user/js/glass.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/user/controller/user/message.js"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb8e5972071ac359b9ab502104213adc34b34679c09c8506f018eba82dac4605"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060row.message || row.system_message || row\u0060 appears character-identically in 2 files \u2014 assets/user/controller/user/message.js, assets/user/js/glass.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/user/controller/user/message.js"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"f90079bceca05581e93a4aee9f9c39592d9de5c4accfdfab2f7e9eba19167b20"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060row.title || source.title || i18n(\u0027\u672A\u547D\u540D\u6D88\u606F\u0027)\u0060 appears character-identically in 2 files \u2014 assets/user/controller/user/message.js, assets/user/js/glass.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/user/controller/user/message.js"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"41b1465ce581fb1806f767a7c717c5686f21808da037192ccd1ab1088368b80f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060row.update_time || source.update_time || \u0027\u0027\u0060 appears character-identically in 2 files \u2014 assets/user/controller/user/message.js, assets/user/js/glass.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/user/controller/user/message.js"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"f43f29118562d0e0af1dfba961dba0728ea97b3b5bd57001c25bdc19c34d0ec2"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060table \u0026\u0026 !table.isDestroyed \u0026\u0026 typeof table.destroy === \u0027function\u0027\u0060 appears character-identically in 18 files \u2014 assets/admin/controller/config/lang.js, assets/admin/controller/file/index.js, assets/admin/controller/manage/log.js, assets/admin/controller/manage/manage.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/config/lang.js"},"region":{"startLine":344}}}],"partialFingerprints":{"codehealthFindingId/v1":"2da56775b7c1d01c5dffcd583f7d7ffebdb03a34189d787aca733f26bdf17d5b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060tag === \u0027A\u0027 \u0026\u0026 [\u0027href\u0027, \u0027title\u0027].includes(name)\u0060 appears character-identically in 2 files \u2014 assets/admin/controller/user/ticket.js, assets/common/js/component.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/user/ticket.js"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c589fcc49914b92fd40331910e3ba51a9fd414629ad60988afa3ee6441ad368"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060tag === \u0027CODE\u0027 \u0026\u0026 name === \u0027class\u0027 \u0026\u0026 /^language-[\\w-]\u002B$/.test(attribute.value)\u0060 appears character-identically in 2 files \u2014 assets/admin/controller/user/ticket.js, assets/common/js/component.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/user/ticket.js"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac3c7a27496a59f81677d54215b4f0cbd66ddbfd5bab65fe814855bf8b1644e2"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060tag === \u0027IMG\u0027 \u0026\u0026 [\u0027src\u0027, \u0027alt\u0027, \u0027title\u0027, \u0027width\u0027, \u0027height\u0027].includes(name)\u0060 appears character-identically in 2 files \u2014 assets/admin/controller/user/ticket.js, assets/common/js/component.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/user/ticket.js"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fa94566bb7cb704c649275f7933e98f31cb899a10e81a8bb96e628ac6bae46c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060target.charAt(0) === \u0022/\u0022 \u0026\u0026 target.charAt(1) !== \u0022/\u0022 \u0026\u0026 target.indexOf(\u0022\\\\\u0022) === -1 \u0026\u0026 !/[\\u0000-\\u001f\\u007f]/.test(target)\u0060 appears character-identically in 2 files \u2014 assets/admin/controller/auth/login.js, assets/user/controller/auth/login.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/auth/login.js"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"286034ffd1afb71aafa31d0c52f3bbab746cf723c19a74d7aa7cb21772032583"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060text === \u0027\u0027 || text === \u0027-\u0027 || text.startsWith(\u00270000-00-00\u0027)\u0060 appears character-identically in 2 files \u2014 assets/user/controller/dashboard/index.js, assets/user/controller/user/purchase.record.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/user/controller/dashboard/index.js"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"54e7cf8a0dc8f8cc111a06981464abcc0b9b4ef9e36e8f8ec51d13f26973f390"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof component !== \u0027undefined\u0027 \u0026\u0026 typeof component.plainInlineText === \u0027function\u0027\u0060 appears character-identically in 2 files \u2014 assets/admin/controller/store/developer.js, assets/admin/controller/store/home.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/store/developer.js"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"c35fe66a304580596142a26a52f5991869e4a5655bf23a4957eb8dffad1c18c7"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof component !== \u0027undefined\u0027 \u0026\u0026 typeof component.sanitizeInlineHtml === \u0027function\u0027\u0060 appears character-identically in 2 files \u2014 assets/admin/controller/store/developer.js, assets/admin/controller/store/home.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/store/developer.js"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e07f33b78b0ab46e40efb054f400ad33fc7b5beb89aacf8e3f12a1bd2f860c1"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof define == \u0022function\u0022 \u0026\u0026 define.amd\u0060 appears character-identically in 12 files \u2014 assets/static/codemirror/addon/fold/brace-fold.js, assets/static/codemirror/addon/fold/comment-fold.js, assets/static/codemirror/addon/fold/foldcode.js, assets/static/codemirror/addon/fold/foldgutter.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/static/codemirror/addon/fold/brace-fold.js"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b992bfcf484aedf4df06b2d69e4574a53c5a433aecbbbd980cd42a630b6949c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof done === \u0027function\u0027 \u0026\u0026 done(res.data)\u0060 appears character-identically in 3 files \u2014 assets/common/js/util.js, assets/static/modules/hex.js, assets/static/pay.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/common/js/util.js"},"region":{"startLine":657}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd754f0f3773c480691347f24534889da98865f522a1c7d3336c137b4e4c3128"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof dynamicKey === \u0022string\u0022 || typeof dynamicKey === \u0027number\u0027\u0060 appears character-identically in 2 files \u2014 assets/common/js/component/authtree.js, assets/static/modules/authtree.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/common/js/component/authtree.js"},"region":{"startLine":308}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c12c7431c9fe78d1b715b86168d40fad4235c0a96a4bbfe1624af62e60ac641"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof error === \u0027function\u0027 \u0026\u0026 error(res)\u0060 appears character-identically in 2 files \u2014 assets/common/js/util.js, assets/static/pay.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/common/js/util.js"},"region":{"startLine":651}}}],"partialFingerprints":{"codehealthFindingId/v1":"1502ddea573db422f5b6de4059f532544f3592f383134094784f4d5ef9ff6501"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof item[opt.parentKey] !== \u0027undefined\u0027 \u0026\u0026 item[opt.parentKey] === startPid\u0060 appears character-identically in 2 files \u2014 assets/common/js/component/authtree.js, assets/static/modules/authtree.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/common/js/component/authtree.js"},"region":{"startLine":355}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5b66c16c65fc99484d2879d00daffeeb89a5dccb56a2b99db9cd74ce4e70d5e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof layui !== \u0027undefined\u0027 \u0026\u0026 typeof layui.off === \u0027function\u0027\u0060 appears character-identically in 2 files \u2014 assets/common/js/component/search.js, assets/common/js/component/table.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/common/js/component/search.js"},"region":{"startLine":530}}}],"partialFingerprints":{"codehealthFindingId/v1":"7341da6dc80ac2e733175759fa31a1c9c2f2bdf7dec74128342fac5abce2c6cf"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof opt.theme === \u0027string\u0027 \u0026\u0026 opt.theme !== \u0027\u0027\u0060 appears character-identically in 2 files \u2014 assets/common/js/component/authtree.js, assets/static/modules/authtree.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/common/js/component/authtree.js"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"05c2c745ef03aae8751d9cae1fa04fb4b27e0117ccd868688eded2692144f56e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof raw !== \u0022string\u0022 || raw === \u0022\u0022 || raw === \u0022null\u0022\u0060 appears character-identically in 3 files \u2014 assets/admin/controller/auth/lock.js, assets/admin/controller/auth/login.js, assets/user/controller/auth/login.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/auth/lock.js"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"e057eab62d6b65459904a9669c9a81d8ded63370e66d82946d15d0a28500de44"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof tree.length !== \u0027number\u0027 || tree.length \u003C= 0\u0060 appears character-identically in 2 files \u2014 assets/common/js/component/authtree.js, assets/static/modules/authtree.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/common/js/component/authtree.js"},"region":{"startLine":382}}}],"partialFingerprints":{"codehealthFindingId/v1":"877ca649d284f98609e1b27ea424365700e50ecd946b7698d527597078586974"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060window.AdminMobile \u0026\u0026 typeof window.AdminMobile.isEnabled === \u0027function\u0027 \u0026\u0026 window.AdminMobile.isEnabled()\u0060 appears character-identically in 4 files \u2014 assets/admin/controller/trade/card-file-upload.js, assets/admin/controller/trade/category-tree.js, assets/admin/controller/trade/drag-sort.js, assets/common/js/component.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/trade/card-file-upload.js"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"c78d822517be891abf619c0bd86aa6191dd90e56880fb0c1d5b9bbd0ed85f331"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060window.AdminMobile \u0026\u0026 window.AdminMobile.isEnabled \u0026\u0026 window.AdminMobile.isEnabled()\u0060 appears character-identically in 16 files \u2014 assets/admin/controller/config/mail.js, assets/admin/controller/config/plugin.js, assets/admin/controller/config/sms.js, assets/admin/controller/file/index.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/config/mail.js"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"926f3d919b365073cb776e86da60066e14d9fd490df20328cf06eb6bd990ba4f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060window.AdminWebAuthn \u0026\u0026 AdminWebAuthn.supported()\u0060 appears character-identically in 3 files \u2014 assets/admin/controller/auth/lock.js, assets/admin/controller/auth/login.js, assets/admin/controller/manage/passkey.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/auth/lock.js"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"a94a9897d4295cf4d269e66c8fc4d3553f58747c84b6d197a216a44911e53b7a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060window.SeattleTheme \u0026\u0026 typeof window.SeattleTheme.safeInlineHtml === \u0027function\u0027\u0060 appears character-identically in 4 files \u2014 assets/user/controller/business/card.js, assets/user/controller/business/category.js, assets/user/controller/business/commodity.js, assets/user/controller/business/coupon.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/user/controller/business/card.js"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec01024b9554afb40c178edb47c1fb5f8e4489fcd35accf025a2128a54021a1f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060window.Swal \u0026\u0026 typeof window.Swal.fire === \u0027function\u0027\u0060 appears character-identically in 2 files \u2014 assets/admin/js/mobile/overlay.js, assets/admin/js/mobile/workflows.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/js/mobile/overlay.js"},"region":{"startLine":560}}}],"partialFingerprints":{"codehealthFindingId/v1":"618e24f907d71f55c784aa2eff2cd5c8086d25e5ca26e3ad41d9cb8b49d24d5a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060window.acgDelivery \u0026\u0026 window.acgDelivery.hasFile(secret)\u0060 appears character-identically in 2 files \u2014 assets/user/controller/dashboard/index.js, assets/user/controller/user/purchase.record.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/user/controller/dashboard/index.js"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a753fe3b1233b75d2952786786f93065acc07c7b91500f490eb76cab201c443"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060window.matchMedia \u0026\u0026 window.matchMedia(\u0027(prefers-reduced-motion: reduce)\u0027).matches\u0060 appears character-identically in 10 files \u2014 assets/admin/controller/manage/set.js, assets/admin/controller/trade/card-file-upload.js, assets/admin/controller/trade/category-tree.js, assets/admin/controller/trade/drag-sort.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/manage/set.js"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"487fa8648910aa9ff0231af58460d1891dfe2cf05c6b200e719ca365af9f0f9b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!$file || !isset($file[\u0027tmp_name\u0027], $file[\u0027name\u0027], $file[\u0027size\u0027], $file[\u0027error\u0027]) || (int)$file[\u0027error\u0027] !== UPLOAD_ERR_OK\u0060 appears character-identically in 2 files \u2014 app/Service/Bind/Message.php, app/Service/Bind/Ticket.php. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Service/Bind/Message.php"},"region":{"startLine":1027}}}],"partialFingerprints":{"codehealthFindingId/v1":"b09316bab4236799ea05b1c98fd4ce0afb6cf7607bdc9c323bd2802ae2606446"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!$info || $mime !== $allowed[$extension]\u0060 appears character-identically in 2 files \u2014 app/Service/Bind/Message.php, app/Service/Bind/Ticket.php. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Service/Bind/Message.php"},"region":{"startLine":1046}}}],"partialFingerprints":{"codehealthFindingId/v1":"2efd953b8b7e63c7278c02ab2ba7709153ca6eef02d60322c9fec4eafc85b0a9"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!array_key_exists($field, $raw) || $raw[$field] === \u0027\u0027 || $raw[$field] === null\u0060 appears character-identically in 2 files \u2014 app/Controller/Admin/Api/BusinessLevel.php, app/Controller/Admin/Api/Group.php. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Controller/Admin/Api/BusinessLevel.php"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"27c580e9d0c8945723da6f2e87b9ef7ed69b40677d5b3c121fe14b536b66c104"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!array_key_exists(\u0027owner\u0027, $attributes) || !array_key_exists(\u0027category_id\u0027, $attributes)\u0060 appears character-identically in 2 files \u2014 app/Controller/User/Api/Promote.php, app/Model/UserCommodity.php. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Controller/User/Api/Promote.php"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"726d21c2058c0a6a1928be72120c5b64cd1d3878ce2b6831ac7813d682370cf1"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!empty($map[\u0027sku\u0027]) \u0026\u0026 is_array($map[\u0027sku\u0027])\u0060 appears character-identically in 2 files \u2014 app/Controller/Shared/Commodity.php, app/Controller/User/Api/Index.php. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Controller/Shared/Commodity.php"},"region":{"startLine":463}}}],"partialFingerprints":{"codehealthFindingId/v1":"108e6dafa73ad8faecdc974f1adbb4cbeafe903cd6535dee0d273fa9a533b86c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!in_array($scheme, [\u0027http\u0027, \u0027https\u0027], true) || $host === \u0027\u0027\u0060 appears character-identically in 2 files \u2014 app/Service/Bind/Message.php, app/Util/CardFile/Link.php. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Service/Bind/Message.php"},"region":{"startLine":311}}}],"partialFingerprints":{"codehealthFindingId/v1":"85a80103eeea1c7a7f684518555fcbb71bc1837d3714b1f3c11ef8deaa731a8b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!is_dir($cachePath) \u0026\u0026 !mkdir($cachePath, 0755, true) \u0026\u0026 !is_dir($cachePath)\u0060 appears character-identically in 2 files \u2014 app/Controller/Admin/Api/Store.php, app/Service/Bind/Message.php. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Controller/Admin/Api/Store.php"},"region":{"startLine":611}}}],"partialFingerprints":{"codehealthFindingId/v1":"f104b8459c72f8dc6be51a215bc3a771d004eafebdd46ee334492acb96bf4726"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!is_dir($dir) \u0026\u0026 !@mkdir($dir, 0755, true) \u0026\u0026 !is_dir($dir)\u0060 appears character-identically in 3 files \u2014 app/Util/CardFile/Storage.php, app/Util/Csp.php, app/Util/RichHtml.php. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Util/CardFile/Storage.php"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff70809169684d9221989b6e49686c70e934dafb8cff9363a0c5f8e5586f15ec"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!is_dir($directory) \u0026\u0026 !@mkdir($directory, 0755, true) \u0026\u0026 !is_dir($directory)\u0060 appears character-identically in 3 files \u2014 app/Controller/Admin/Api/Config.php, app/Service/Bind/Message.php, app/Service/Bind/Ticket.php. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Controller/Admin/Api/Config.php"},"region":{"startLine":584}}}],"partialFingerprints":{"codehealthFindingId/v1":"a65488e9b344c122c17095725c4dcde7e7ef99c6bd6b1212153e83c0dfe3cdf5"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!is_file($file) || !@getimagesize($file)\u0060 appears character-identically in 2 files \u2014 app/Service/Bind/Message.php, app/Service/Bind/Ticket.php. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Service/Bind/Message.php"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"549e7509743596ae70ed1097675964c5f64a4186201bfa20d386655c25c3d17d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!is_numeric($amount) || (float)$amount \u003C= 0\u0060 appears character-identically in 2 files \u2014 app/Model/PriceTemplate.php, app/Service/Bind/Shared.php. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Model/PriceTemplate.php"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"e446e225fa7beca9868d834e85d17a254cfbc40a27764197f02e9d59f11cb89c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!is_scalar($paidAmount) || !is_numeric((string)$paidAmount)\u0060 appears character-identically in 2 files \u2014 app/Service/Bind/Order.php, app/Service/Bind/Recharge.php. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Service/Bind/Order.php"},"region":{"startLine":1489}}}],"partialFingerprints":{"codehealthFindingId/v1":"667715627f715e76ea6ec92c49d22b3eb833c2e5092780a7439cb498fa26d4fc"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!is_scalar($value) || !in_array((string)$value, [\u00270\u0027, \u00271\u0027], true)\u0060 appears character-identically in 2 files \u2014 app/Controller/Admin/Api/BusinessLevel.php, app/Controller/Admin/Api/Store.php. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Controller/Admin/Api/BusinessLevel.php"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"a326ca8f5092098c1b8b9619de927577e138e6b68b2ec090738b62ae124bde3c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!is_string($field) || !in_array($field, $allowed, true)\u0060 appears character-identically in 4 files \u2014 app/Controller/Admin/Api/BusinessLevel.php, app/Controller/Admin/Api/Group.php, app/Controller/Admin/Api/Pay.php, app/Controller/Admin/Api/Store.php. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Controller/Admin/Api/BusinessLevel.php"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5e5dc003e7066d54ec1316113d0f5ba654be6d00dafd1bd97c5490302cc87b4"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!is_string($token) || $token === \u0027\u0027 || substr_count($token, \u0027.\u0027) !== 1\u0060 appears character-identically in 3 files \u2014 app/Controller/Admin/Api/Category.php, app/Controller/Admin/Api/Order.php, app/Controller/Admin/Api/RechargeOrder.php. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Controller/Admin/Api/Category.php"},"region":{"startLine":291}}}],"partialFingerprints":{"codehealthFindingId/v1":"63178bbecc7cdf1d36108257f5ddbf097b9af31c90b6f6ebedaaccbfa9c26e57"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!isset($_GET[\u0027_PARAMETER\u0027][0]) || !isset($_GET[\u0027_PARAMETER\u0027][1])\u0060 appears character-identically in 2 files \u2014 app/Controller/User/Pay.php, app/Controller/User/Recharge.php. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Controller/User/Pay.php"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4868edea32b2f6ea792375b96f63e4619e54a0646006071c24c992841acdabb"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!isset($_POST[\u0027email\u0027]) || !Validation::email((string)$_POST[\u0027email\u0027])\u0060 appears character-identically in 2 files \u2014 app/Controller/User/Api/Authentication.php, app/Controller/User/Api/Security.php. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Controller/User/Api/Authentication.php"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"53c43c96739f01703d9b75136a8d88c70bd51515cca73a9f93cd037ca1512f2f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!isset($_POST[\u0027phone\u0027]) || !Validation::phone((string)$_POST[\u0027phone\u0027])\u0060 appears character-identically in 2 files \u2014 app/Controller/User/Api/Authentication.php, app/Controller/User/Api/Security.php. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Controller/User/Api/Authentication.php"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"564407c32b435a6ea2d63b9326d7e38fc42cba34a1515faa89622225804e7387"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!isset($parsed[$section]) || !is_array($parsed[$section])\u0060 appears character-identically in 2 files \u2014 app/Model/PriceTemplate.php, app/Util/SharedCurrency.php. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Model/PriceTemplate.php"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"9297d8c2a0d33a909ccdd6e7428ac972da9028cd17b4ac148728ea6856da94ce"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!preg_match(\u0027/^[a-f0-9]{64}$/D\u0027, $signature) || !hash_equals($expectedSignature, $signature)\u0060 appears character-identically in 2 files \u2014 app/Controller/Admin/Api/Order.php, app/Controller/Admin/Api/RechargeOrder.php. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Controller/Admin/Api/Order.php"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"b99affd39ec9a03cfec9e030709fd57fd75dbcc12d4e79ac6222f42998a464bf"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060$detected !== \u0027\u0027 \u0026\u0026 $detected !== $allowed[$extension]\u0060 appears character-identically in 2 files \u2014 app/Service/Bind/Message.php, app/Service/Bind/Ticket.php. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Service/Bind/Message.php"},"region":{"startLine":1055}}}],"partialFingerprints":{"codehealthFindingId/v1":"a44077e7367c1fb9c52a5dc475e4147db24c7c6f0e47db5e9f1e42eda103f99d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060$exceptSessionId !== null \u0026\u0026 $exceptSessionId \u003E 0\u0060 appears character-identically in 2 files \u2014 app/Service/ManageSessionManager.php, app/Service/UserSessionManager.php. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Service/ManageSessionManager.php"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e82d07ab735c705bbe75fd0c382786032e258a40d7478a56a63c7051a0008de"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060$expectedCount === false || $expectedCount \u003C 1 || $expectedCount \u003E self::MAX_EXPORT_COUNT\u0060 appears character-identically in 3 files \u2014 app/Controller/Admin/Api/Coupon.php, app/Controller/Admin/Api/Order.php, app/Controller/Admin/Api/RechargeOrder.php. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Controller/Admin/Api/Coupon.php"},"region":{"startLine":555}}}],"partialFingerprints":{"codehealthFindingId/v1":"32c40ef824e433dbf239fa58368ddcccda965d082e27726a32d96ce1185db965"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060$exportNum === false || $exportNum \u003C 0 || $exportNum \u003E self::MAX_EXPORT_COUNT\u0060 appears character-identically in 2 files \u2014 app/Controller/Admin/Api/Card.php, app/Controller/Admin/Api/Order.php. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Controller/Admin/Api/Card.php"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"634b98e5fffd1b6bf2ee3f0af87bcaac71bad9d47284712a77e8283888adacf1"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060$exportStatus === false || !in_array($exportStatus, [0, 1], true)\u0060 appears character-identically in 2 files \u2014 app/Controller/Admin/Api/Order.php, app/Controller/Admin/Api/RechargeOrder.php. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Controller/Admin/Api/Order.php"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"bee73109e69240daf2fb6e8b049db387cd20cc33c86dbfa7107379ad1b693502"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060$integer === false || $integer \u003C $minimum || ($maximum !== null \u0026\u0026 $integer \u003E $maximum)\u0060 appears character-identically in 2 files \u2014 app/Controller/Admin/Api/Order.php, app/Controller/Admin/Api/RechargeOrder.php. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Controller/Admin/Api/Order.php"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c3cd7807c02b6d10e46366dbff5ce881be5552a3f60230ac628be3fd551f44b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060$integer === false || $integer \u003C 0 || ($column === \u0027status\u0027 \u0026\u0026 !in_array($integer, [0, 1, 2], true))\u0060 appears character-identically in 2 files \u2014 app/Controller/Admin/Api/Card.php, app/Controller/Admin/Api/Coupon.php. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Controller/Admin/Api/Card.php"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"8443960ae803cb6ccb6f72e73212aca82ebe790a25fb273be2fd6f0bd8f612ab"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060$item != \u0027.\u0027 \u0026\u0026 $item != \u0027..\u0027 \u0026\u0026 is_dir($path . $item)\u0060 appears character-identically in 2 files \u2014 app/Service/Bind/Pay.php, app/Util/Theme.php. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Service/Bind/Pay.php"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"f41638af673e06678f3f0be815c229bb5af4c097478c0a576cd402afb40d30a2"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060$lastSeen !== false \u0026\u0026 $lastSeen \u003E time() - self::TOUCH_INTERVAL\u0060 appears character-identically in 2 files \u2014 app/Service/ManageSessionManager.php, app/Service/UserSessionManager.php. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Service/ManageSessionManager.php"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"492817c7239068d3f41c21acc80183d01e4ea9e4086720cce7820489c8e420a1"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060$list === [] || !in_array($rawStatus, [\u00270\u0027, \u00271\u0027], true)\u0060 appears character-identically in 2 files \u2014 app/Controller/Admin/Api/Category.php, app/Controller/Admin/Api/Commodity.php. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Controller/Admin/Api/Category.php"},"region":{"startLine":714}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4d4493f2c13b189f5d7bc64222c3273340d388414db92a8b3c1fe4aaae5b456"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060$name === \u0027\u0027 || mb_strlen($name, \u0027UTF-8\u0027) \u003E 32 || preg_match(\u0027//u\u0027, $name) !== 1 || preg_match(\u0027/[\\x00-\\x1F\\x7F\u003C\u003E]/u\u0027, $name)\u0060 appears character-identically in 2 files \u2014 app/Controller/Admin/Api/BusinessLevel.php, app/Controller/Admin/Api/Group.php. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Controller/Admin/Api/BusinessLevel.php"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"90b341bd040130e1f3e58a544cdc451b0c7da71ef3d94bb1dcb192d3d84a2cae"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060$port !== null \u0026\u0026 ($port \u003C 1 || $port \u003E 65535)\u0060 appears character-identically in 2 files \u2014 app/Controller/Admin/Api/Store.php, app/Service/Bind/Message.php. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Controller/Admin/Api/Store.php"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"438f7555531339839ede1b4270e3f46e127088b9749d1236b79af9005eeb4833"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060$protectCurrent \u0026\u0026 self::currentSessionId() === $sessionId\u0060 appears character-identically in 2 files \u2014 app/Service/ManageSessionManager.php, app/Service/UserSessionManager.php. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Service/ManageSessionManager.php"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"422d61e0e45ff090daf42c7c9238418105286d5accd6a3debae408e092a15def"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060$safe === \u0027\u0027 || strlen($safe) \u003E self::MAX_CONTENT_BYTES\u0060 appears character-identically in 2 files \u2014 app/Service/Bind/Message.php, app/Service/Bind/Ticket.php. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Service/Bind/Message.php"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"2dd9ebb1d008d514ef91ec10e2624cc1d565a366bed1373ee00dcdc87f737643"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060$type == self::MIME[0] \u0026\u0026 $thumbHeight \u003E 0\u0060 appears character-identically in 2 files \u2014 app/Controller/Admin/Api/Upload.php, app/Controller/User/Api/Upload.php. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Controller/Admin/Api/Upload.php"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"f879d2e783c8424f5c7a605a9e6095154f58e2230b357a2243b956292a68d987"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060$verifiedTradeNo === \u0027\u0027 || !hash_equals((string)$order-\u003Etrade_no, $verifiedTradeNo)\u0060 appears character-identically in 2 files \u2014 app/Service/Bind/Order.php, app/Service/Bind/Recharge.php. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Service/Bind/Order.php"},"region":{"startLine":1472}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0a3cc85422cdaf3fef59049b403e213f000fc180a475fde61293f015baaaef0"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060(!is_int($candidate) \u0026\u0026 !(is_string($candidate) \u0026\u0026 preg_match(\u0027/^\\d{1,10}$/D\u0027, trim($candidate)))) || (int)$candidate \u003C 0 || (int)$candidate\u2026\u0060 appears character-identically in 2 files \u2014 app/Controller/Admin/Api/BusinessLevel.php, app/Controller/Admin/Api/Group.php. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Controller/Admin/Api/BusinessLevel.php"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"a18fd2b30d0864cfcb2cf8949622b57bbffc55b2dfea3db7e464de26f49c4e45"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060(!is_int($rawId) \u0026\u0026 !(is_string($rawId) \u0026\u0026 ctype_digit(trim($rawId)))) || (int)$rawId \u003C= 0\u0060 appears character-identically in 2 files \u2014 app/Controller/Admin/Api/Manage.php, app/Controller/User/Api/Security.php. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Controller/Admin/Api/Manage.php"},"region":{"startLine":486}}}],"partialFingerprints":{"codehealthFindingId/v1":"b27d346dc15c7f1b38d91b1b71ce798103b0a79a67d0bef85198910240f112f0"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060($id === 0 \u0026\u0026 !isset($map[\u0027name\u0027])) || (isset($map[\u0027name\u0027]) \u0026\u0026 trim((string)$map[\u0027name\u0027]) === \u0027\u0027)\u0060 appears character-identically in 2 files \u2014 app/Controller/Admin/Api/Category.php, app/Controller/User/Api/Category.php. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Controller/Admin/Api/Category.php"},"region":{"startLine":442}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1f8b3ae7c7d5a4466c8db5031d17c64691e0b824d23c3ec96da5eddd78fc498"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060(int)$file[\u0027size\u0027] \u003C= 0 || (int)$file[\u0027size\u0027] \u003E self::MAX_IMAGE_BYTES\u0060 appears character-identically in 2 files \u2014 app/Service/Bind/Message.php, app/Service/Bind/Ticket.php. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Service/Bind/Message.php"},"region":{"startLine":1030}}}],"partialFingerprints":{"codehealthFindingId/v1":"751524b8b3725bd1e6b865612b458354d474ac8bcae0b5f3191032701b90a6da"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060(is_scalar($value) \u0026\u0026 trim((string)$value) === \u0027\u0027) || $value === null\u0060 appears character-identically in 2 files \u2014 app/Controller/Admin/Api/Order.php, app/Controller/Admin/Api/RechargeOrder.php. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Controller/Admin/Api/Order.php"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"13991578f3cc94ccf40092124a10de5e168b2582951263bcbea0b164ee65a0ad"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060Client::isMobile() \u0026\u0026 $data[\u0027config\u0027][\u0027background_mobile_url\u0027]\u0060 appears character-identically in 3 files \u2014 app/Controller/Base/View/Manage.php, app/Controller/Base/View/ManagePlugin.php, app/Controller/Base/View/UserPlugin.php. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Controller/Base/View/Manage.php"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a0e24e6a18c496c391a7360e570146e266e555112d39e307a6a12db3f955a44"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060Context::get(Base::STORE_STATUS) \u0026\u0026 Context::get(Base::IS_INSTALL)\u0060 appears character-identically in 2 files \u2014 kernel/Kernel.php, kernel/Util/Plugin.php. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kernel/Kernel.php"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa589669827a83df739719eda22e709ee962153050db18b3096799fcac9812da"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060array_key_exists(\u0027id\u0027, $raw) \u0026\u0026 $raw[\u0027id\u0027] !== \u0027\u0027 \u0026\u0026 $raw[\u0027id\u0027] !== null\u0060 appears character-identically in 2 files \u2014 app/Controller/Admin/Api/BusinessLevel.php, app/Controller/Admin/Api/Group.php. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Controller/Admin/Api/BusinessLevel.php"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"62ae4135141a4dffaa1aabde9b6122b0f6fe9a05ef3b7f6582c68039f8426d70"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060delivery_status === 1 || trim((string)$order-\u003Esecret) !== \u0027\u0027\u0060 appears character-identically in 2 files \u2014 app/Controller/Admin/Api/Order.php, app/Controller/User/Api/CommodityOrder.php. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Controller/Admin/Api/Order.php"},"region":{"startLine":457}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe1a01abbb9a5a4638e00ffdf615afea488ef701fd65ebafabc44f86a62193f7"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060is_array($parts) \u0026\u0026 filter_var($icon, FILTER_VALIDATE_URL) !== false \u0026\u0026 isset($parts[\u0027scheme\u0027], $parts[\u0027host\u0027]) \u0026\u0026 in_array(strtolower((stri\u2026\u0060 appears character-identically in 2 files \u2014 app/Controller/Admin/Api/BusinessLevel.php, app/Controller/Admin/Api/Group.php. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Controller/Admin/Api/BusinessLevel.php"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"52cba274fc2c007ca14d13f4c2b45565b5ae084a51bc2fa5e9fafe0e45167703"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060is_string($candidate) \u0026\u0026 ctype_digit(trim($candidate))\u0060 appears character-identically in 7 files \u2014 app/Controller/Admin/Api/BusinessLevel.php, app/Controller/Admin/Api/Card.php, app/Controller/Admin/Api/Category.php, app/Controller/Admin/Api/Commodity.php. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Controller/Admin/Api/BusinessLevel.php"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3a8f18f120d814765815bbeb9354b19b601167fc135384e7ee6aed3e912a27f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060is_string($candidate) \u0026\u0026 preg_match(\u0027/^\\d{1,10}$/D\u0027, trim($candidate))\u0060 appears character-identically in 2 files \u2014 app/Controller/Admin/Api/Card.php, app/Controller/Admin/Api/CardFile.php. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Controller/Admin/Api/Card.php"},"region":{"startLine":575}}}],"partialFingerprints":{"codehealthFindingId/v1":"f086ee1f49d67b49f46e7974946c9ba2593468e73a646c9939062c5215587775"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060is_string($reference) \u0026\u0026 ctype_digit(trim($reference))\u0060 appears character-identically in 2 files \u2014 app/Controller/Admin/Api/Commodity.php, app/Util/CommodityPurge.php. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Controller/Admin/Api/Commodity.php"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"f130304cbd84b87838540a4c69e08af63bbce60fbf82301a0045f8cc2574cfc5"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060isset($config[\u0027category\u0027]) \u0026\u0026 is_array($config[\u0027category\u0027])\u0060 appears character-identically in 2 files \u2014 app/Util/Sku.php, app/Util/SkuStock.php. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Util/Sku.php"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"eef94c07266747aae100b34921a8567553d1b99acea16d464cb8ca61fad6d844"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060isset($config[\u0027sku\u0027]) \u0026\u0026 is_array($config[\u0027sku\u0027])\u0060 appears character-identically in 2 files \u2014 app/Util/Sku.php, app/Util/SkuStock.php. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Util/Sku.php"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"60328621395065fa17eb46954397b368d0ed09cc9c454ff892fb7f69e12335a9"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060isset($data[\u0027sign\u0027]) \u0026\u0026 Str::isInvalidSign($data[\u0027sign\u0027])\u0060 appears character-identically in 2 files \u2014 app/Controller/User/Api/Order.php, app/Controller/User/Api/RechargeNotification.php. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Controller/User/Api/Order.php"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b52e1e7a53df640755c214a850111038f5cda247d203e8055cadcfafa60451f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060isset($data[\u0027signature\u0027]) \u0026\u0026 Str::isInvalidSign($data[\u0027signature\u0027])\u0060 appears character-identically in 2 files \u2014 app/Controller/User/Api/Order.php, app/Controller/User/Api/RechargeNotification.php. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Controller/User/Api/Order.php"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"53044958e80b90a26cb0695f7fc5e1941924cf2ee98e3535c44778035b4ef9ae"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060isset($map[$richField]) \u0026\u0026 is_string($map[$richField]) \u0026\u0026 trim($map[$richField]) !== \u0027\u0027\u0060 appears character-identically in 2 files \u2014 app/Controller/User/Api/Commodity.php, app/Controller/User/Api/Master.php. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Controller/User/Api/Commodity.php"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"c077dda4d93a2a07d37c614b1dd0ae56313470b9a67b4a3aab0f5f13b35212c5"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060isset($map[\u0027name\u0027]) \u0026\u0026 is_string($map[\u0027name\u0027]) \u0026\u0026 trim($map[\u0027name\u0027]) !== \u0027\u0027\u0060 appears character-identically in 2 files \u2014 app/Controller/User/Api/Category.php, app/Controller/User/Api/Master.php. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Controller/User/Api/Category.php"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"9044d63949983f48c7d9591a08e293ae6a71fc6617bf445f62faddfdb8e02ac1"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060isset($map[\u0027user_id\u0027]) \u0026\u0026 $map[\u0027user_id\u0027] \u003E 0\u0060 appears character-identically in 2 files \u2014 app/Controller/Admin/Api/Category.php, app/Controller/Admin/Api/Commodity.php. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Controller/Admin/Api/Category.php"},"region":{"startLine":349}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e30899c40da651b8fe83195e2ff95e711df37150b69fd3fef6c64b5783d656d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060preg_match(\u0027/^(?:equal|search|betweenStart|betweenEnd)-/\u0027, (string)$key) \u0026\u0026 !in_array((string)$key, $handled, true)\u0060 appears character-identically in 2 files \u2014 app/Controller/Admin/Api/Order.php, app/Controller/Admin/Api/RechargeOrder.php. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Controller/Admin/Api/Order.php"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1a238e61090f7f77ddb159362cc8a56335e41ceadce7b009a53eac3b7b685bc"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060strlen($packed) === 16 \u0026\u0026 substr($packed, 0, 12) === str_repeat(\u0022\\0\u0022, 10) . \u0022\\xff\\xff\u0022\u0060 appears character-identically in 2 files \u2014 app/Util/CallbackIpWhitelist.php, app/Util/Client.php. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Util/CallbackIpWhitelist.php"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f1ecd2ad7c523729bdc45c1c87142ffc5d111e1d425bb7854ff96d80faa0891"}},{"ruleId":"X2","level":"note","message":{"text":"Not all async functions that make a request accept an AbortSignal: Only 3/4 async functions that make a cancellable request (fetch, axios, ky, ofetch, got, undici, node:http) accept an AbortSignal or pass one on, so a request keeps running after whatever wanted it has given up \u2014 a page navigated away from, an unmounted component, a timed-out job. Take a \u0060signal\u0060 (or an options object that carries one) and hand it to the request; where nothing could ever cancel the call, omitting it is a deliberate choice \u2014 judge against how the function is used."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"bd89d014f84408f7063269aa5892ba3df7c9af3e981ecfb0752c5731bc62d406"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: postOrderExportRequest: \u0060postOrderExportRequest\u0060 awaits \u0060fetch(\u2026)\u0060 but neither accepts an AbortSignal nor passes one on, so its caller cannot stop the request once it has started. Accept \u0060{ signal }\u0060 and pass it through: \u0060fetch(url, { signal })\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/trade/order.js"},"region":{"startLine":694}}}],"partialFingerprints":{"codehealthFindingId/v1":"d49d194a31becae488069cc2d5883d7711339626d0f436d2343d90ce224a2f50"}},{"ruleId":"X24","level":"warning","message":{"text":"Document value reaches a markup attribute unescaped: \u0060state.element.getAttribute(\u0027data-icon\u0027)\u0060 carries text this program read out of a document \u2014 an attribute or a text node, which the DOM hands back already decoded, so an entity its author wrote is a live character again \u2014 and it is written straight into the \u0060src\u0060 attribute of markup built here with nothing escaping it on the way. The value is chosen by whoever authored that document, not by this program, so it can close the attribute or element it sits in and open another \u2014 a crafted document becomes markup in what this code renders. Escape \u0060state.element.getAttribute(\u0027data-icon\u0027)\u0060 at this site, or validate it against the shape the position accepts before interpolating it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/common/js/format.js"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"777c1dc3156f478f0f79fdb394ffae34c9f4735393d76aaed95dbe9bb92e20d9"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060escapeHtml(theme.icon)\u0060 is text this program did not author, and it is written into the start of a URL attribute, where it chooses the scheme through markup this function returns with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. HTML encoding does not help here \u2014 a \u0060javascript:\u0060 URL contains nothing it changes; allow only http(s) or a relative path."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/config/index.js"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"b33e8cd9b0049a9a52c1d47963c08727f2eb3f483934928b80d3bd27118454dc"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060REGISTRY.map(langCard).join(\u0027\u0027)\u0060 is text this program did not author, and it is written into the text of an element through the DOM library\u0027s \u0060.html()\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/config/lang.js"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"98e08cb3b1c96f1d880dd9dc557e9d4e4b3ce31c23546f26f4f29f68dea602ba"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060String(value??\u0027\u0027)\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/config/plugin.js"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"1149967c74cdee082b68ff43e20291776a811e483af3c3ed6f107c6b70da952e"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060this.updateNum\u0060 is text this program did not author, and it is written into the text of an element through the DOM library\u0027s \u0060.html()\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/config/plugin.js"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f48a88803a74d514cf60c944e1078d8bf278fcecd6037eb857c2bcf6c0eb14c"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060escapeHtml(icon.href)\u0060 is text this program did not author, and it is written into the start of a URL attribute, where it chooses the scheme through markup this function returns with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. HTML encoding does not help here \u2014 a \u0060javascript:\u0060 URL contains nothing it changes; allow only http(s) or a relative path."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/config/plugin.js"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"8339d687932c2d2078879634ea8186a878a0ca1dc73923c587019d0c26f8a322"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060escapeHtml(wiki.href)\u0060 is text this program did not author, and it is written into the start of a URL attribute, where it chooses the scheme through markup this function returns with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. HTML encoding does not help here \u2014 a \u0060javascript:\u0060 URL contains nothing it changes; allow only http(s) or a relative path."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/config/plugin.js"},"region":{"startLine":395}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e2494067fe68c0655babbb33b61e91037ed4787e5f6d5c9b172b1197b2e8351"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060String(value??\u0027\u0027)\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/dashboard/index.js"},"region":{"startLine":710}}}],"partialFingerprints":{"codehealthFindingId/v1":"2285143fc8b280be71bacb7b9e53f7bf36fa86867247ee9e8b6ad2c35a681a6e"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060escapeHtml(previewUrl)\u0060 is text this program did not author, and it is written into the start of a URL attribute, where it chooses the scheme through markup this function returns with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. HTML encoding does not help here \u2014 a \u0060javascript:\u0060 URL contains nothing it changes; allow only http(s) or a relative path."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/file/index.js"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"67167f2127ba4726adced010334658f29e4a257a43093a9d70cb97d4c4f7cf18"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060item.version\u0060 is text this program did not author, and it is written into the text of an element through the DOM library\u0027s \u0060.append()\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/global.js"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"71f9a1b34bec0acf967af5a325ad45a2311e333da350b4f751669813d1e378cf"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060item.content\u0060 is text this program did not author, and it is written into the text of an element through the DOM library\u0027s \u0060.append()\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/global.js"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"490ddf4074bfaf6072bf8d948d22a399482c33965fc12eac110b4e7749b2062f"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060item.update_url\u0060 is text this program did not author, and it is written into the start of a URL attribute, where it chooses the scheme through the DOM library\u0027s \u0060.append()\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. HTML encoding does not help here \u2014 a \u0060javascript:\u0060 URL contains nothing it changes; allow only http(s) or a relative path."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/global.js"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8fcc0ee3e0f06521538dc569eddc75e5024e6869551542ab863aaf5046e779e"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060item.update_date\u0060 is text this program did not author, and it is written into the text of an element through the DOM library\u0027s \u0060.append()\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/global.js"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"e77d8245e7153ed463bc6d32fa4a625d9f3cda9a2af821560fd8635309a8e216"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060res.data.local\u0060 is text this program did not author, and it is written into the text of an element through the DOM library\u0027s \u0060.html()\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/global.js"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1e924d310cd1e21abc3ca2f165f00409113297d77d938991c8de7afda1f22ad"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060\u0060[ ${i18n(\u0027\u66F4\u65B0\u0027)} v${res.data.version} ]\u0060\u0060 is text this program did not author, and it is written into the text of an element through the DOM library\u0027s \u0060.html()\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/global.js"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fc0fe279d81365b7a09cb52bc352947629071308c12242e6e25908df127632e"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060\u0060${res.themePlugin}${i18n(\u0027\u4E2A\u66F4\u65B0\u0027)}\u0060\u0060 is text this program did not author, and it is written into the text of an element through the DOM library\u0027s \u0060.html()\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/global.js"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb8dd2cdd6dde5841c8175469c55a5c8a28fb907ae34f2b3209dbe79fde94865"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060\u0060${res.generalPlugin}${i18n(\u0027\u4E2A\u66F4\u65B0\u0027)}\u0060\u0060 is text this program did not author, and it is written into the text of an element through the DOM library\u0027s \u0060.html()\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/global.js"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ae94222062962ba3989d5ee5150dcf727dd0d5a392901d67e97498b00a04177"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060\u0060${res.payPlugin}${i18n(\u0027\u4E2A\u66F4\u65B0\u0027)}\u0060\u0060 is text this program did not author, and it is written into the text of an element through the DOM library\u0027s \u0060.html()\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/global.js"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a4382fa178d5d2c7182f30f99b8c7fda7c04c8a0fa93387f98a8ae925cc48d6"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060avatar\u0060 is text this program did not author, and it is written into the start of a URL attribute, where it chooses the scheme through markup this function returns with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. HTML encoding does not help here \u2014 a \u0060javascript:\u0060 URL contains nothing it changes; allow only http(s) or a relative path."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/manage/manage.js"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7bf4ed4b3c8861c4ca580e09ae947bea7ff79e5ab95c548012180c29e205786"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060hit.icon\u0060 is text this program did not author, and it is written into a quoted attribute value through the DOM library\u0027s \u0060.html()\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/pay/api.js"},"region":{"startLine":405}}}],"partialFingerprints":{"codehealthFindingId/v1":"d121347c1c6d9d4f856da1cb12dcef80f3a3df3d732992f60db85964711c3246"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060this.updateNum\u0060 is text this program did not author, and it is written into the text of an element through the DOM library\u0027s \u0060.html()\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/pay/plugin.js"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"3792a10292a8380143e2ad57e8b9d0e480fe9084f6fe125bed441ecf0501e7d8"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060escapeHtml(safeImageUrl(item?.icon))\u0060 is text this program did not author, and it is written into the start of a URL attribute, where it chooses the scheme through markup this function returns with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. HTML encoding does not help here \u2014 a \u0060javascript:\u0060 URL contains nothing it changes; allow only http(s) or a relative path."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/pay/plugin.js"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"56ec11cd7092e092f6b0d26685a6659f4f3cf56909471a6b5414fe5ebf607f7a"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060escapeHtml(safeImageUrl(item?.icon))\u0060 is text this program did not author, and it is written into the start of a URL attribute, where it chooses the scheme through markup this function returns with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. HTML encoding does not help here \u2014 a \u0060javascript:\u0060 URL contains nothing it changes; allow only http(s) or a relative path."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/pay/plugin.js"},"region":{"startLine":406}}}],"partialFingerprints":{"codehealthFindingId/v1":"559002d8b95be9336a1a444b7e67a2a0da0627045a89abfd06a7a748443efc75"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060String(value??\u0027\u0027)\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/shared/priceTemplate.js"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"434c61d117507c8b5b1c6d20bb130ef7fc18ab815a44c834913596c96059d813"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060String(value??\u0027\u0027)\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/shared/store.js"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"92d12bfd9574eb309499cedacba34e3cf2f6ae15e6a633b4929bb8745f54889d"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060util.icon(\u0022fa-duotone fa-regular fa-rotate-right\u0022)\u002B\u0060 ${i18n(\u0027\u7EE7\u7EED\u5BFC\u5165\u5931\u8D25\u5546\u54C1\uFF08\u0027)}${stats.failed}\uFF09\u0060\u0060 is text this program did not author, and it is written into the text of an element through the DOM library\u0027s \u0060.html()\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/shared/store.js"},"region":{"startLine":884}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c875582613deafe15db241d6bb121c59ba3be2190b95dea8774a3d8ff303d52"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060escapeHtml(favicon)\u0060 is text this program did not author, and it is written into the start of a URL attribute, where it chooses the scheme through markup this function returns with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. HTML encoding does not help here \u2014 a \u0060javascript:\u0060 URL contains nothing it changes; allow only http(s) or a relative path."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/shared/store.js"},"region":{"startLine":1243}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e113f11367516cc5da6f3fadce398c4c531202e8d0aa5aeb35b410d83de8787"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060escapeHtml(url.href)\u0060 is text this program did not author, and it is written into the start of a URL attribute, where it chooses the scheme through markup this function returns with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. HTML encoding does not help here \u2014 a \u0060javascript:\u0060 URL contains nothing it changes; allow only http(s) or a relative path."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/shared/store.js"},"region":{"startLine":1248}}}],"partialFingerprints":{"codehealthFindingId/v1":"167c9874c988f58ff4df3a06fcd0e64f255607064f9f94870b4673c2bb171987"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060html\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/store/developer.js"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"e822d7ad4600d1a301b7e5196da74f749bbae3f5f4edbebfc1c9b697f3f269b8"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060escapeHtml(url.href)\u0060 is text this program did not author, and it is written into the start of a URL attribute, where it chooses the scheme through markup this function returns with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. HTML encoding does not help here \u2014 a \u0060javascript:\u0060 URL contains nothing it changes; allow only http(s) or a relative path."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/store/developer.js"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9eeca64dab6fdd3fd026d6e786895fb9c38fbae067ba2bfb909a620ba269a28"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060escapeHtml(icon.href)\u0060 is text this program did not author, and it is written into the start of a URL attribute, where it chooses the scheme through markup this function returns with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. HTML encoding does not help here \u2014 a \u0060javascript:\u0060 URL contains nothing it changes; allow only http(s) or a relative path."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/store/developer.js"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e8857ad8a4f2140146e3312c430727b6a1ab02ceea881030d44f9c4194520ff"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060escapeHtml(iconUrl)\u0060 is text this program did not author, and it is written into the start of a URL attribute, where it chooses the scheme through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. HTML encoding does not help here \u2014 a \u0060javascript:\u0060 URL contains nothing it changes; allow only http(s) or a relative path."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/store/home.js"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"06b047fd3ef1ac6a79b87e5219fea98af0fd4016e6f3fa3be08df7ed71d66b6c"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060escapeHtml(url)\u0060 is text this program did not author, and it is written into the start of a URL attribute, where it chooses the scheme through markup this function returns with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. HTML encoding does not help here \u2014 a \u0060javascript:\u0060 URL contains nothing it changes; allow only http(s) or a relative path."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/store/home.js"},"region":{"startLine":366}}}],"partialFingerprints":{"codehealthFindingId/v1":"b83a2cde83d4e23eb2053e9ab74a35fbffcb51e502545a102e3db005bba9600e"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060escapeHtml(icon)\u0060 is text this program did not author, and it is written into the start of a URL attribute, where it chooses the scheme through markup this function returns with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. HTML encoding does not help here \u2014 a \u0060javascript:\u0060 URL contains nothing it changes; allow only http(s) or a relative path."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/store/home.js"},"region":{"startLine":370}}}],"partialFingerprints":{"codehealthFindingId/v1":"da05d62ef388908dbde33de7b85f5f58064f3d5f51098bb153928038318673f7"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060title\u0060 is text this program did not author, and it is written into the text of an element through the DOM library\u0027s \u0060.html()\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/store/home.js"},"region":{"startLine":394}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec61ec2321e023fc37afc0f262d72a6c48938ab11c52e96a78433fd3d56ea31e"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060description\u0060 is text this program did not author, and it is written into the text of an element through the DOM library\u0027s \u0060.html()\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/store/home.js"},"region":{"startLine":395}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7cfc13930d7b2cb694b04989597ce8eadebe396540d6886e8c699a6da5fd3cd"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060escapeHtml(item.icon)\u0060 is text this program did not author, and it is written into the start of a URL attribute, where it chooses the scheme through markup this function returns with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. HTML encoding does not help here \u2014 a \u0060javascript:\u0060 URL contains nothing it changes; allow only http(s) or a relative path."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/store/home.js"},"region":{"startLine":1082}}}],"partialFingerprints":{"codehealthFindingId/v1":"16112684d0af1b1b6cfce18f1d0cad65375334f563d7df54d82b89eea8218981"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060state\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/trade/card-file-upload.js"},"region":{"startLine":912}}}],"partialFingerprints":{"codehealthFindingId/v1":"a82c225279a6e095dade30cfbee9ff7862104a0f04a6dbd289db53892443c885"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060esc(node.icon)\u0060 is text this program did not author, and it is written into the start of a URL attribute, where it chooses the scheme through markup this function returns with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. HTML encoding does not help here \u2014 a \u0060javascript:\u0060 URL contains nothing it changes; allow only http(s) or a relative path."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/trade/category-tree.js"},"region":{"startLine":358}}}],"partialFingerprints":{"codehealthFindingId/v1":"1dd197e8bddca6de72985cd03c223ebe30efecfe9547cd3e507f2b252701797c"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060escapeAttr(item.cover)\u0060 is text this program did not author, and it is written into the start of a URL attribute, where it chooses the scheme through markup this function returns with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. HTML encoding does not help here \u2014 a \u0060javascript:\u0060 URL contains nothing it changes; allow only http(s) or a relative path."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/trade/commodity.js"},"region":{"startLine":1025}}}],"partialFingerprints":{"codehealthFindingId/v1":"01e96b0c78b05342f5482ef887fa6502d67fe4506e467db14d97dc761a3dc9bf"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060escapeHtml(avatarUrl)\u0060 is text this program did not author, and it is written into the start of a URL attribute, where it chooses the scheme through markup this function returns with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. HTML encoding does not help here \u2014 a \u0060javascript:\u0060 URL contains nothing it changes; allow only http(s) or a relative path."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/trade/coupon.js"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ef7f64d71101b4d653db1ccff4b292036140ce3a40b8586b57c24566bf061b8"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060format.currencySymbol()\u002BNumber(res.data.order_amount||0).toLocaleString(\u0027en-US\u0027,{minimumFractionDigits:2,maximumFract\u2026\u0060 is text this program did not author, and it is written into the text of an element through the DOM library\u0027s \u0060.html()\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/trade/order.js"},"region":{"startLine":664}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6da4fe4817a6b7a8b0f1e1be59a235a0fbaf056e32e42cc03832134b4548791"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060format.currencySymbol()\u002BNumber(res.data.order_cost||0).toLocaleString(\u0027en-US\u0027,{minimumFractionDigits:2,maximumFractio\u2026\u0060 is text this program did not author, and it is written into the text of an element through the DOM library\u0027s \u0060.html()\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/trade/order.js"},"region":{"startLine":665}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e6d4571bf789593e9f80bbcd9a8773cafe6d6cdae988273ebbfd375dc103ce8"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060icon\u0060 is text this program did not author, and it is written into the start of a URL attribute, where it chooses the scheme through markup this function returns with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. HTML encoding does not help here \u2014 a \u0060javascript:\u0060 URL contains nothing it changes; allow only http(s) or a relative path."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/user/business.level.js"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"3781cb24910147bb6e2b7fb477f0b2561d7cbcd2f38dba6a1f241dab5423f576"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060icon\u0060 is text this program did not author, and it is written into the start of a URL attribute, where it chooses the scheme through markup this function returns with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. HTML encoding does not help here \u2014 a \u0060javascript:\u0060 URL contains nothing it changes; allow only http(s) or a relative path."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/user/group.js"},"region":{"startLine":403}}}],"partialFingerprints":{"codehealthFindingId/v1":"6366388601a7ef5310268264436fc92fe951b8d9f6ec29d184aa07bf197f9e60"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060escapeHtml(parsed.href)\u0060 is text this program did not author, and it is written into the start of a URL attribute, where it chooses the scheme through markup this function returns with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. HTML encoding does not help here \u2014 a \u0060javascript:\u0060 URL contains nothing it changes; allow only http(s) or a relative path."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/user/index.js"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee9dac0bda99bc37863d0aee4d7e3c2007836ca52ba84b13fc8a9c396a311b86"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060escapeHtml(row.avatar||\u0027/favicon.ico\u0027)\u0060 is text this program did not author, and it is written into the start of a URL attribute, where it chooses the scheme through markup this function returns with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. HTML encoding does not help here \u2014 a \u0060javascript:\u0060 URL contains nothing it changes; allow only http(s) or a relative path."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/user/index.js"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a34baecd909fb800d2db18afacffc1e857197294cd7513cf3e66ebcde28d86a"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060escapeHtml(row.avatar)\u0060 is text this program did not author, and it is written into the start of a URL attribute, where it chooses the scheme through markup this function returns with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. HTML encoding does not help here \u2014 a \u0060javascript:\u0060 URL contains nothing it changes; allow only http(s) or a relative path."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/user/index.js"},"region":{"startLine":428}}}],"partialFingerprints":{"codehealthFindingId/v1":"44c433393f0c3e4db81dfcc2833b9c6f60ecefa961a764aedbfa24c523cdde86"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060attributes\u0060 is text this program did not author, and it is written into an unquoted attribute through markup this function returns with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. HTML text encoding does not help in an unquoted attribute \u2014 whitespace ends it; quote the attribute and encode the value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/user/index.js"},"region":{"startLine":657}}}],"partialFingerprints":{"codehealthFindingId/v1":"528a351154dab98432d77686e6b3422abe47b6dd8484473cdbae3fc4dad21d2a"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060attributes\u0060 is text this program did not author, and it is written into an unquoted attribute through markup this function returns with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. HTML text encoding does not help in an unquoted attribute \u2014 whitespace ends it; quote the attribute and encode the value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/user/index.js"},"region":{"startLine":658}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab516069d907a5b79bbbbf8e06af83c1331236d5314d2268b092a8784b1fe263"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060String(value||\u0027\u0027)\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/user/message.js"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c3fd91a78f2ba8ef105122f32cfd51adfd7e9f48a98120e2f7f10d103d40d3c"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060content\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/user/message.js"},"region":{"startLine":298}}}],"partialFingerprints":{"codehealthFindingId/v1":"78b934eda7cc450f6acaf37f85fbbd8376f892050e53bbcb20ab82ea3fde116d"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060recipientCount(item).toLocaleString(\u0027zh-CN\u0027)\u0060 is text this program did not author, and it is written into the text of an element through the DOM library\u0027s \u0060.html()\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/user/message.js"},"region":{"startLine":387}}}],"partialFingerprints":{"codehealthFindingId/v1":"32159136d4066550485aea19b1a99f7d9f594c6db077f7bb417df7efe5d80a5b"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060String(value||\u0027\u0027)\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/user/ticket.js"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"6680d027fdd8cd1b67d70d96de9d0b4d994fa1a62a946b102272948fc3919451"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060html||\u0027\u0027\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/user/ticket.js"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"241b204b282367cfd342f94fb71c54054d2d2321311d59bd6eae42a9592d6f99"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060_Dict.result(\u0027_ticket_status\u0027,ticket.status)||\u0027\u0027\u0060 is text this program did not author, and it is written into the text of an element through the DOM library\u0027s \u0060.html()\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/user/ticket.js"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"de788a1572b006898f0097422569567bc99191fce4c34a3b226524605c017d95"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060esc(image)\u0060 is text this program did not author, and it is written into the start of a URL attribute, where it chooses the scheme through markup this function returns with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. HTML encoding does not help here \u2014 a \u0060javascript:\u0060 URL contains nothing it changes; allow only http(s) or a relative path."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/user/ticket.js"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef85a7f95821ed4dc7245975815ccf28a3cf76572838ae753cd9befc6f0c6d37"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060esc(avatar)\u0060 is text this program did not author, and it is written into the start of a URL attribute, where it chooses the scheme through the DOM library\u0027s \u0060.html()\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. HTML encoding does not help here \u2014 a \u0060javascript:\u0060 URL contains nothing it changes; allow only http(s) or a relative path."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/user/ticket.js"},"region":{"startLine":360}}}],"partialFingerprints":{"codehealthFindingId/v1":"80c542834d4990b65cbd32b36c2a182ff3f514ef8d492bf1ff6a6563c1e01230"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060esc(cover)\u0060 is text this program did not author, and it is written into the start of a URL attribute, where it chooses the scheme through the DOM library\u0027s \u0060.html()\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. HTML encoding does not help here \u2014 a \u0060javascript:\u0060 URL contains nothing it changes; allow only http(s) or a relative path."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/user/ticket.js"},"region":{"startLine":371}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba26f9efdd6ae798573ae89e78264a32024a5024e1361b78fad862c0c7b9067b"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060esc(proof)\u0060 is text this program did not author, and it is written into the start of a URL attribute, where it chooses the scheme through the DOM library\u0027s \u0060.html()\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. HTML encoding does not help here \u2014 a \u0060javascript:\u0060 URL contains nothing it changes; allow only http(s) or a relative path."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/user/ticket.js"},"region":{"startLine":392}}}],"partialFingerprints":{"codehealthFindingId/v1":"f98cd38ceb12aed6bc986b8e1171648525cb9d3d48ccaec5ff3e8fc40eb5074b"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060_Dict.result(\u0027_ticket_type\u0027,Number(current.type))||\u0027\u0027\u0060 is text this program did not author, and it is written into the text of an element through the DOM library\u0027s \u0060.html()\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/user/ticket.js"},"region":{"startLine":404}}}],"partialFingerprints":{"codehealthFindingId/v1":"a35be943fdc62e81f2210b2de69f2228b1129a625172ff35daa0189c50446791"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060_Dict.result(\u0027_ticket_priority\u0027,Number(current.priority))||\u0027\u0027\u0060 is text this program did not author, and it is written into the text of an element through the DOM library\u0027s \u0060.html()\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/user/ticket.js"},"region":{"startLine":405}}}],"partialFingerprints":{"codehealthFindingId/v1":"83d82d8a2d08f78e506ecaaa6da332fa31a42d65da766f67217c7f38820b8104"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060meta.icon\u0060 is text this program did not author, and it is written into a quoted attribute value through markup this function returns with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/js/material.js"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a9ac71ea99f6febc273a45fa28bb013e2bed5a4a85ceca7bd65e6bc02c2bf87"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060label\u0060 is text this program did not author, and it is written into the text of an element through markup this function returns with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/js/material.js"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5c84953cfdde8d7093110b531b60fc48a1d3cb0099e59165bc71ce9d0506225"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060html\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/js/menu.js"},"region":{"startLine":1233}}}],"partialFingerprints":{"codehealthFindingId/v1":"026d8ddac9331aa3e7424f89e5cbbdff98a52e4c25f04f71db100f3ea39538f0"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060value==null?\u0027\u0027:String(value)\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/js/mobile/fallback.js"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"67bc411e61b5c9f60e5f03fcf3c63804d6c3fc1eaf1cd56576a991dd5934181c"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060rendered\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/js/mobile/fallback.js"},"region":{"startLine":1385}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0139b0e377e82e550c42824144fede2f56d79578e172a7105edfd78d16a41ae"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060pagination.total\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/js/mobile/fallback.js"},"region":{"startLine":2445}}}],"partialFingerprints":{"codehealthFindingId/v1":"17357f31e853f50cbeb65bb8b75ae037b70352d2ab630dc6e3c875be3643e8f8"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060pagination.pageNumber\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/js/mobile/fallback.js"},"region":{"startLine":2447}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5eb2a81aa8eecab5855c4631437baa5003600690c65ad890f46ec5577366ed5"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060headingControl.innerHTML\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/js/mobile/fallback.js"},"region":{"startLine":2908}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fea1aee0762b13d97e3e7dfed488bb7183d25f2f1f23681f44e0bbc182f0c65"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060(localVersion||\u0027-\u0027)\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/js/mobile/navigation.js"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e69aacf9d8eca8fad2fc5e7d849d51402a28dca14c2da6f18f494382e2758e6"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060(newVersion?\u0027 \u0027\u002BnewVersion:\u0027\u0027)\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/js/mobile/navigation.js"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"f76a03a1934a77af8de588b577aa9c8928af8e8cc82d1a441332b1ee3b717240"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060String(value==null?\u0027\u0027:value)\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/js/mobile/overlay.js"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"b473db753129cb71d71acbb584406a0a0645da9e0d1562ebde5b9e4b0c3f62e3"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060value\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/js/mobile/overlay.js"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b537b5662b42e9c7738c5ef91b774c1edadd71dcd7b814040ce1380d9037684"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060String(content||\u0027\u0027)\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/js/mobile/overlay.js"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"76f64de760cdc72c22491fa6562b49f3a485b62e4f66d191a6207568b4fc1eb2"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060overlayToken\u0060 is text this program did not author, and it is written into a quoted attribute value through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/js/mobile/overlay.js"},"region":{"startLine":846}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6f7da54eda87010cbc123499d7ebefbdb9cdb7cd1161aa921154e113f2390d7"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060tab.content||\u0027\u0027\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/js/mobile/overlay.js"},"region":{"startLine":1027}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc4065fbf144a58194f51731839053926b0d26bee549d268d2496f58f4c70dbf"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060value==null?\u0027\u0027:String(value)\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/js/mobile/workflows.js"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"c345949182fb7fc52f79c0e87084d1b422202dcd0f4347c33bc7a6c90b1bd806"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060actionIcon(action)\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/js/mobile/workflows.js"},"region":{"startLine":1142}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e4fd8362fc4a2ea1e961e84ba8747b35a8961bd823af846dc617fe9fbdf2f14"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060String(value??\u0027\u0027)\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/common/js/component.js"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e8f3908fb775950f836b36e7e0f12d9e07d140ecde34b77153f27aba102fbb8"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060String(value??\u0027\u0027)\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/common/js/component.js"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"74fc5ea352b04dea062d67d949a78c15661de3d2657f003fc2278d1eba1b6a6c"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060item?.title??\u0027\u0027\u0060 is text this program did not author, and it is written into the text of an element through the DOM library\u0027s \u0060.html()\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/common/js/component.js"},"region":{"startLine":704}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa378f25e7bc10d2c4b1260f248fad94ed537fcff0913ea875335350420067b6"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060obj.renderAuth(trees,0,{inputname:inputname,layfilter:layfilter,openall:openall,openchecked:openchecked,checkType:thi\u2026\u0060 is text this program did not author, and it is written into the text of an element through the DOM library\u0027s \u0060.html()\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/common/js/component/authtree.js"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4dc844f077d894762567edf9d94381bced64b0c9566e3e57d6f949b71574c6a"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060$(this).html()\u0060 is text this program did not author, and it is written into the text of an element through the DOM library\u0027s \u0060.append()\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/common/js/component/authtree.js"},"region":{"startLine":473}}}],"partialFingerprints":{"codehealthFindingId/v1":"4840cef396020daa3a14af157b6a94dd6441a7e85b81c8f0948c9828a24703a5"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060val\u0060 is text this program did not author, and it is written into the text of an element through the DOM library\u0027s \u0060.html()\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/common/js/component/form.js"},"region":{"startLine":359}}}],"partialFingerprints":{"codehealthFindingId/v1":"79cac96eb6efc462bd209cf2dbb3519e961095c1007cd37c8b3e2529da5a87eb"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060percent\u0060 is text this program did not author, and it is written into a quoted attribute value through the DOM library\u0027s \u0060.html()\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/common/js/component/form.js"},"region":{"startLine":870}}}],"partialFingerprints":{"codehealthFindingId/v1":"1142178ab487246548b1d3b1e760b9fe11187332a7e261993f6fa011ac209f64"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060_this.unique\u0060 is text this program did not author, and it is written into a quoted attribute value through the DOM library\u0027s \u0060.append()\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/common/js/component/form.js"},"region":{"startLine":1412}}}],"partialFingerprints":{"codehealthFindingId/v1":"556b0314b28164f9a9c477545bff0c30f51c18993e32c1b81e19597acbf55817"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060uuid\u0060 is text this program did not author, and it is written into a quoted attribute value through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/common/js/component/table.js"},"region":{"startLine":455}}}],"partialFingerprints":{"codehealthFindingId/v1":"f12c06cf543e2109289bf1d21cd7b5aecc70afbd7a1ec2b7c4784768a5745098"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060val\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/common/js/component/table.js"},"region":{"startLine":479}}}],"partialFingerprints":{"codehealthFindingId/v1":"1dea134995012fd79d4e97a7a8921c4904c55b8a7e11ed17df9e2aaec06e4b1a"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060node.tId\u0060 is text this program did not author, and it is written into a quoted attribute value through the DOM library\u0027s \u0060.html()\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/common/js/component/tree.select.js"},"region":{"startLine":3520}}}],"partialFingerprints":{"codehealthFindingId/v1":"36a4587b322fe2d5fa8e37b80dc4337de1a8a6d4107a38502a6009dcb7d6319d"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060placeholder\u0060 is text this program did not author, and it is written into a quoted attribute value through the DOM library\u0027s \u0060.append()\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/common/js/component/tree.select.js"},"region":{"startLine":3962}}}],"partialFingerprints":{"codehealthFindingId/v1":"f34853c779b3c82a8398e360058416f452d0b68fc9d22a2f197ae983b7f92b0e"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060ph\u0060 is text this program did not author, and it is written into the text of an element through markup this function returns with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/common/js/editor/markdown/editorv2.js"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"10e33f3feb6aab3d4bf6c0c3c0f6fad98906b1578fe2bb2ca7fcc03ebdbaa133"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060name\u0060 is text this program did not author, and it is written into a quoted attribute value through markup this function returns with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/common/js/editor/markdown/editorv2.js"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f0901b429124418e782064a7828946ac8dda701f4d188162c5390abd3a15da1"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060html\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/common/js/editor/markdown/editorv2.js"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd40f323bd4875a5143abf31df93efa40f1764ec97b1c5ef0796dcc922611191"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060allowRawHtml?seedHtml:sanitizePreview(seedHtml)\u0060 is text this program did not author, and it is written into the text of an element through the DOM library\u0027s \u0060.html()\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/common/js/editor/markdown/editorv2.js"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"d35a1630714ab95c98a72e42aae6bdb44ef33145d5ae406080b7e1713448a6a7"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060html\u0060 is text this program did not author, and it is written into the text of an element through the DOM library\u0027s \u0060.html()\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/common/js/editor/markdown/editorv2.js"},"region":{"startLine":503}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f3419b28fdd428d8e60a3bde7bda56f32d7b1bed261855948118ab161073cb7"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060aceId\u0060 is text this program did not author, and it is written into a quoted attribute value through the DOM library\u0027s \u0060.append()\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/common/js/editor/markdown/editorv2.js"},"region":{"startLine":612}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d8f4dae10dc284e2d0769eb4c7360d63f3336b0e46ca085ec487040b49a2cf0"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060h\u0060 is text this program did not author, and it is written into the text of an element through the DOM library\u0027s \u0060.html()\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/common/js/editor/markdown/editorv2.js"},"region":{"startLine":620}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bc7abf9d0bbef71e8756cdaadf4193f5ef7fc07ba8a1c87f89d631a3ccd1981"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060allowRawHtml?html:sanitizePreview(html)\u0060 is text this program did not author, and it is written into the text of an element through the DOM library\u0027s \u0060.html()\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/common/js/editor/markdown/editorv2.js"},"region":{"startLine":631}}}],"partialFingerprints":{"codehealthFindingId/v1":"567212d3bde0be55dd2b86ec513993e40d88a4ffea8f159b6d4ab5eabaa2d045"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060attrText(span.attrs.filter(([name])=\u003Ename!==\u0027style\u0027).concat([[\u0027style\u0027,stringifyStyle(decl)]]))\u0060 is text this program did not author, and it is written into an unquoted attribute through markup this function returns with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. HTML text encoding does not help in an unquoted attribute \u2014 whitespace ends it; quote the attribute and encode the value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/common/js/editor/markdown/editorv2.js"},"region":{"startLine":698}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3472d73af17385d221c8f502cd9f4d7826a6f24e0ef6aded6603ccb138d5cfe"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060attrText(attrs)\u0060 is text this program did not author, and it is written into an unquoted attribute through markup this function returns with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. HTML text encoding does not help in an unquoted attribute \u2014 whitespace ends it; quote the attribute and encode the value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/common/js/editor/markdown/editorv2.js"},"region":{"startLine":764}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cfd9353140c588e7a040de01c2763419063d2938f273ffcc18121c38636abb8"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060allowRawHtml?html:sanitizePreview(html)\u0060 is text this program did not author, and it is written into the text of an element through the DOM library\u0027s \u0060.html()\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/common/js/editor/markdown/editorv2.js"},"region":{"startLine":1042}}}],"partialFingerprints":{"codehealthFindingId/v1":"2260e2972918e6258f63129b66b222dc74f51c9f866ea11f190b0577cbae4520"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060format.property.success\u0060 is text this program did not author, and it is written into a quoted attribute value through markup this function returns with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/common/js/format.js"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cf78ae7a02ff6c3f7d8359fefaab0b36f27669b2d3cd46dd7c796086c22d1f1"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060format.property.danger\u0060 is text this program did not author, and it is written into a quoted attribute value through markup this function returns with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/common/js/format.js"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"a189067bc058cec49d628c07ee46f494d72faf6c8742ebcecc6be7c73bc4577c"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060format.property.warning\u0060 is text this program did not author, and it is written into a quoted attribute value through markup this function returns with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/common/js/format.js"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"74733b2800be3639bd4a71d4acea193d028e037c7d2d02ed14dd50d5e064b17d"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060format.property.info\u0060 is text this program did not author, and it is written into a quoted attribute value through markup this function returns with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/common/js/format.js"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"f763da4932a4cafed22b23409cfac9865c4747223d667f0ce9d4ed018fb1c396"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060format.property.primary\u0060 is text this program did not author, and it is written into a quoted attribute value through markup this function returns with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/common/js/format.js"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"22173bfb6c9b94494e5191a4bd5ade34a8a95b174b2fae387a8984940b0c077f"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060format.property.dark\u0060 is text this program did not author, and it is written into a quoted attribute value through markup this function returns with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/common/js/format.js"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b27a3a6b64aff416855e0b3c69275f266ae5ecc2ffb3eccc41b7c5abd3e8a72"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060format.property.cambridgeBlue\u0060 is text this program did not author, and it is written into a quoted attribute value through markup this function returns with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/common/js/format.js"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b878aeeb0aa194df3e4b0b501a153544ea985725f581b0d1b092e8e1294578b"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060format.property.italic\u0060 is text this program did not author, and it is written into a quoted attribute value through markup this function returns with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/common/js/format.js"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"84aebcf79c9038f599651561fc637cff6f66fd471f14fa6d4f49f4c67907f749"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060format.property.bold\u0060 is text this program did not author, and it is written into a quoted attribute value through markup this function returns with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/common/js/format.js"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"81c313911ae9afb2ddf7fff421ad31f1bcc6627a945778f859691fd7d2e2d575"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060format.property.underline\u0060 is text this program did not author, and it is written into a quoted attribute value through markup this function returns with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/common/js/format.js"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c4fa5711eaadfa2f478059c0114a3a8608d87128c331534a32db7392f277f54"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060format.currencySymbol()\u0060 is text this program did not author, and it is written into the text of an element through markup this function returns with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/common/js/format.js"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"81c33fe51f44b6b6239c176d22522b3a6cb6fd6b6afd75c3c8d96dac268b1841"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060format.join(\u0022 \u0022,...classes)\u0060 is text this program did not author, and it is written into a quoted attribute value through markup this function returns with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/common/js/format.js"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e07b682f4fd14439cac3a1ff6ed4d49ca6732ca54f997bec444b6a7c25732b3"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060format.join(\u0022 \u0022,...classes)\u0060 is text this program did not author, and it is written into a quoted attribute value through markup this function returns with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/common/js/format.js"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"101ecdb4caa0f86a1a1e2e2b48d5aac6a50cbe9501d81ff9f233e0bdb6c9f3a3"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060message.replace(\u0022{$second}\u0022,second)\u0060 is text this program did not author, and it is written into the text of an element through the DOM library\u0027s \u0060.html()\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/common/js/util.js"},"region":{"startLine":895}}}],"partialFingerprints":{"codehealthFindingId/v1":"0920fa799d95c7fdee86db6a57d17714f86b5501b91bf91c1d599546992fe974"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060message.replace(\u0022{$second}\u0022,second)\u0060 is text this program did not author, and it is written into the text of an element through the DOM library\u0027s \u0060.html()\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/common/js/util.js"},"region":{"startLine":899}}}],"partialFingerprints":{"codehealthFindingId/v1":"aded7e7f2a5d5271b3272204af3b5440b6ed0c0c1fe4d618f80b72a2130e49ea"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060successMessage\u0060 is text this program did not author, and it is written into the text of an element through the DOM library\u0027s \u0060.html()\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/common/js/util.js"},"region":{"startLine":901}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d5790abc9cf9fe0883c5307f52086d8db98cf447063c3c25deb8c3e57b73df7"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060acgCurrencySymbol()\u002B(res.price*$(\u0022input[name=num]\u0022).val())\u0060 is text this program did not author, and it is written into the text of an element through the DOM library\u0027s \u0060.html()\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/static/acg.js"},"region":{"startLine":523}}}],"partialFingerprints":{"codehealthFindingId/v1":"a54614ea2f7c35be838c92b94daadb7a5132b1f75c10f137e68fee691f43e533"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060res.card_count\u0060 is text this program did not author, and it is written into the text of an element through the DOM library\u0027s \u0060.html()\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/static/acg.js"},"region":{"startLine":538}}}],"partialFingerprints":{"codehealthFindingId/v1":"8afab21528f34e58917d92ff6d2e18cf3801d596e8ba03cfb404650c139baa9c"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060instance\u0060 is text this program did not author, and it is written into a quoted attribute value through the DOM library\u0027s \u0060.html()\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/static/acg.js"},"region":{"startLine":589}}}],"partialFingerprints":{"codehealthFindingId/v1":"54ce5ccea5673ef05f2fa636b7dd25209752f0f7f83f181d10039ee291e78717"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060item.draft\u0060 is text this program did not author, and it is written into the text of an element through the DOM library\u0027s \u0060.append()\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/static/acg.js"},"region":{"startLine":601}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1399e9b45d626a0902f233715d2f1f067781647cace9152e8e0337ae89c7765"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060acgCurrencySymbol()\u0060 is text this program did not author, and it is written into the text of an element through markup built here with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/static/acg.js"},"region":{"startLine":714}}}],"partialFingerprints":{"codehealthFindingId/v1":"b308413175ea7f5317227f8791cd02a4feb0708e8d159651d08611934eca0d07"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060acgCurrencySymbol()\u0060 is text this program did not author, and it is written into the text of an element through markup built here with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/static/acg.js"},"region":{"startLine":748}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce68d144e187bc924caad204bc0d03bd22b14d54465f2fcbb97a0843e6e0adda"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060skuKey\u0060 is text this program did not author, and it is written into a quoted attribute value through the DOM library\u0027s \u0060.append()\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/static/acg.js"},"region":{"startLine":770}}}],"partialFingerprints":{"codehealthFindingId/v1":"42967b0796c612cb559e851891478c2d8c693b0cc8e6448f7856acf11606dbad"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060acgT(skuKey)\u0060 is text this program did not author, and it is written into the text of an element through the DOM library\u0027s \u0060.append()\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/static/acg.js"},"region":{"startLine":773}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1b67e8054481f2f4341cff1bb1c9f5a7a97359613f74e771eaf3a11324b6532"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060acgCurrencySymbol()\u002Bres.user_price\u0060 is text this program did not author, and it is written into the text of an element through the DOM library\u0027s \u0060.html()\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/static/acg.js"},"region":{"startLine":901}}}],"partialFingerprints":{"codehealthFindingId/v1":"03b78aa8ba929a79bd97c6e06dbce21bc245814e4c48e7941dd6fc766bdb2919"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060acgCurrencySymbol()\u002Bres.price\u0060 is text this program did not author, and it is written into the text of an element through the DOM library\u0027s \u0060.html()\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/static/acg.js"},"region":{"startLine":903}}}],"partialFingerprints":{"codehealthFindingId/v1":"f54861e8d3bff6ea6077d763e56de1e977fd32ce9672ed2ba70339e2769cfb09"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060widget.cn\u0060 is text this program did not author, and it is written into the text of an element through the DOM library\u0027s \u0060.append()\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/static/acg.js"},"region":{"startLine":910}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3ebe6416a9abdb208b9ba2fccd7d72004762f194811d8155785013e1895c025"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060widget.cn\u0060 is text this program did not author, and it is written into the text of an element through the DOM library\u0027s \u0060.append()\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/static/acg.js"},"region":{"startLine":912}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e38b7b68e9c2e6cb7c4616fb3df6fe3159375543645322dc075dbea2c979a93"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060sp[1]\u0060 is text this program did not author, and it is written into a quoted attribute value through the DOM library\u0027s \u0060.append()\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/static/acg.js"},"region":{"startLine":919}}}],"partialFingerprints":{"codehealthFindingId/v1":"10f48946726fcef51f6fbefca1d67941d86f238b3c0fa9d34ad46baf5656379e"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060widget.name\u0060 is text this program did not author, and it is written into a quoted attribute value through the DOM library\u0027s \u0060.append()\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/static/acg.js"},"region":{"startLine":924}}}],"partialFingerprints":{"codehealthFindingId/v1":"7633ef69f577d6e7317a023513da645b4d67f92ad6636028ea5cba6994be735d"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060widget.cn\u0060 is text this program did not author, and it is written into the text of an element through the DOM library\u0027s \u0060.append()\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/static/acg.js"},"region":{"startLine":926}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e2a9ec2ea86b50036d79c652128825c152f7717103c01255e6bdbb285611ada"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060widget.name\u0060 is text this program did not author, and it is written into a quoted attribute value through the DOM library\u0027s \u0060.append()\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/static/acg.js"},"region":{"startLine":933}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3b051608291d20c7936c2bcc0f94f3ea9842e82e0fb1ed93afb4320ed622f75"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060widget.cn\u0060 is text this program did not author, and it is written into the text of an element through the DOM library\u0027s \u0060.append()\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/static/acg.js"},"region":{"startLine":938}}}],"partialFingerprints":{"codehealthFindingId/v1":"500b23a00f3d6c0fde6d4fd18a136e8709143d845f0b7fd11ba771d84a9b4cba"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060widget.name\u0060 is text this program did not author, and it is written into a quoted attribute value through the DOM library\u0027s \u0060.append()\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/static/acg.js"},"region":{"startLine":945}}}],"partialFingerprints":{"codehealthFindingId/v1":"75f0ac44def0a83bba06e7498301dcd53310cfeae6209301e734182a1d7adf94"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060customName\u0060 is text this program did not author, and it is written into a quoted attribute value through the DOM library\u0027s \u0060.append()\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/static/acg.js"},"region":{"startLine":953}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7e8f4add4957d942baa81f18497756b4a1c765fa5aebea59b075e96aecc64da"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060value\u0060 is text this program did not author, and it is written into the text of an element through the DOM library\u0027s \u0060.html()\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/static/acg.js"},"region":{"startLine":962}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b474338a86aba9666b4cfa1aeaff0ee7c68a6beb5a7be04aff86e15a11dc915"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060value\u0060 is text this program did not author, and it is written into the text of an element through the DOM library\u0027s \u0060.html()\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/static/acg.js"},"region":{"startLine":983}}}],"partialFingerprints":{"codehealthFindingId/v1":"e651ea0e4529f2a11a1e5690f420afcbba0b3f9103aa7f426801991a666a1954"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060res.share_url\u0060 is text this program did not author, and it is written into a URL attribute through the DOM library\u0027s \u0060.after()\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/static/acg.js"},"region":{"startLine":991}}}],"partialFingerprints":{"codehealthFindingId/v1":"1da89b3f72120952b8126074a1d8fcb06b2a247b9f44eeca454b64b54a5d1836"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060contents\u0060 is text this program did not author, and it is written into the text of an element through the DOM library\u0027s \u0060.html()\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/static/jquery.pjax.js"},"region":{"startLine":487}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0f00bdbe26dfd48618f903b39134414efd8a23055e5c40dd59e8749b729b2de"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060obj.renderAuth(trees,0,{inputname:inputname,layfilter:layfilter,openall:openall,openchecked:openchecked,checkType:thi\u2026\u0060 is text this program did not author, and it is written into the text of an element through the DOM library\u0027s \u0060.html()\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/static/modules/authtree.js"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b1f27172b5da76dce9b89b3d096ed989cfd184648662e550dfa084830f9e743"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060$(this).html()\u0060 is text this program did not author, and it is written into the text of an element through the DOM library\u0027s \u0060.append()\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/static/modules/authtree.js"},"region":{"startLine":471}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb61e1c944c58ae7eef0c6dc4008a65d854edb865dfe915f07af60c7f77dffa6"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060elem\u0060 is text this program did not author, and it is written into a script or style context through the DOM library\u0027s \u0060.append()\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. A script or style context needs its own escaping (or a JSON serialiser that escapes \u0060\u003C\u0060); better, pass the value through a data attribute."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/static/modules/hex.js"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f541c794420fe255328c0f30cd8c7de9c7615b551354f71939419ba77e22de0"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060width\u0060 is text this program did not author, and it is written into an unquoted attribute through the DOM library\u0027s \u0060.append()\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. HTML text encoding does not help in an unquoted attribute \u2014 whitespace ends it; quote the attribute and encode the value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/static/modules/hex.js"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"d20e3c2fbd76b8c51f0c44a6871eec097fd0c961aad808dfcfa29889fa5a6518"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060item.title\u0060 is text this program did not author, and it is written into a quoted attribute value through the DOM library\u0027s \u0060.append()\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/static/modules/hex.js"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4c65743ba8b1cb5a5b1698be0e7f7d6b187294fdce29bd787f40ad224a14778"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060width\u0060 is text this program did not author, and it is written into an unquoted attribute through the DOM library\u0027s \u0060.append()\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. HTML text encoding does not help in an unquoted attribute \u2014 whitespace ends it; quote the attribute and encode the value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/static/modules/hex.js"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"48b99859106556039611d94c45cc20ff24a2ef1d351a2f1f2e02a0028868d94d"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060item.name\u0060 is text this program did not author, and it is written into a quoted attribute value through the DOM library\u0027s \u0060.append()\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/static/modules/hex.js"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7eafec1c518320c1638154a20f5121aa58abf1e293b3bed82cf93f2ec59ed29"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060width\u0060 is text this program did not author, and it is written into an unquoted attribute through the DOM library\u0027s \u0060.append()\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. HTML text encoding does not help in an unquoted attribute \u2014 whitespace ends it; quote the attribute and encode the value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/static/modules/hex.js"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"e19e4d7628152ff0cbc564b65776be5111ff43c421d91f3e58569ea016081db1"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060item.name\u0060 is text this program did not author, and it is written into a quoted attribute value through the DOM library\u0027s \u0060.append()\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/static/modules/hex.js"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2e1c08888d3f2979290e004c04051e96ca72cfa82887e3b4b35a93c0f279ee2"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060s.name.replace(/(\u003C([^\u003E]\u002B)\u003E)/ig,\u0022\u0022)\u0060 is text this program did not author, and it is written into the text of an element through the DOM library\u0027s \u0060.append()\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/static/modules/hex.js"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"59cb3d66214a353bdeaec6bcde62d2c51941882918290a879e96b71a3ac74cc4"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060width\u0060 is text this program did not author, and it is written into an unquoted attribute through the DOM library\u0027s \u0060.append()\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. HTML text encoding does not help in an unquoted attribute \u2014 whitespace ends it; quote the attribute and encode the value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/static/modules/hex.js"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"0298c806822e32717884e9a7eb53131add013a22c878d28f98a47fa724b820c4"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060item.name\u0060 is text this program did not author, and it is written into a quoted attribute value through the DOM library\u0027s \u0060.append()\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/static/modules/hex.js"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"5735092359f3b4863b798c0790971f4ec7a249b2fb48d83e8e7ab97dd4a5b775"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060width\u0060 is text this program did not author, and it is written into an unquoted attribute through the DOM library\u0027s \u0060.append()\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. HTML text encoding does not help in an unquoted attribute \u2014 whitespace ends it; quote the attribute and encode the value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/static/modules/hex.js"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"44458d42a83df45a52acaf4ea3a3a5fd9a7351beaf79621148ea485fcf288e4e"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060item.name\u0060 is text this program did not author, and it is written into a quoted attribute value through the DOM library\u0027s \u0060.append()\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/static/modules/hex.js"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"491876ae8d9595d3167600bab3d2d1c0132c18cfb5e31e9df8d61f1702c6868c"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060item.name\u0060 is text this program did not author, and it is written into a quoted attribute value through the DOM library\u0027s \u0060.append()\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/static/modules/hex.js"},"region":{"startLine":658}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fcdc7046574b7a7e5f13a982773dbbf654506cddc7c5fe3b49aaf333374a65c"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060s.name.replace(/(\u003C([^\u003E]\u002B)\u003E)/ig,\u0022\u0022)\u0060 is text this program did not author, and it is written into the text of an element through the DOM library\u0027s \u0060.append()\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/static/modules/hex.js"},"region":{"startLine":669}}}],"partialFingerprints":{"codehealthFindingId/v1":"96038d5c827ce5056abe4a57caf6282ab68096965303befd0dd4efa688442ce3"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060item.name\u0060 is text this program did not author, and it is written into a quoted attribute value through the DOM library\u0027s \u0060.append()\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/static/modules/hex.js"},"region":{"startLine":741}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5c5ad616a72e2aeafe2318ac5ce23d764a05febbc72121d2002dd66d26f0c41"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060\u0022\u8BF7\u7A0D\u540E,\u5DF2\u4E0A\u4F20:\u0022\u002Bpercent\u0060 is text this program did not author, and it is written into the text of an element through the DOM library\u0027s \u0060.html()\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/static/modules/hex.js"},"region":{"startLine":909}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5c13f26881b25aa186deabf163e92a66bf23074b09d13f7a7a2d7d5bd00980f"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060item.name\u0060 is text this program did not author, and it is written into a quoted attribute value through the DOM library\u0027s \u0060.append()\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/static/modules/hex.js"},"region":{"startLine":1010}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a65fc0b7f672e0ae7ba5c32f1f0b86307f7e59dd6f4fbb4e62cedc71ce37585"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060escapeHtml(item.cover)\u0060 is text this program did not author, and it is written into the start of a URL attribute, where it chooses the scheme through markup this function returns with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. HTML encoding does not help here \u2014 a \u0060javascript:\u0060 URL contains nothing it changes; allow only http(s) or a relative path."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/user/controller/business/card.js"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"e951969bd448e3a1ae83ee714b996508dc3e3526a5f8730b0198808c87784770"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060escapeHtml(item.cover)\u0060 is text this program did not author, and it is written into the start of a URL attribute, where it chooses the scheme through markup this function returns with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. HTML encoding does not help here \u2014 a \u0060javascript:\u0060 URL contains nothing it changes; allow only http(s) or a relative path."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/user/controller/business/commodity.js"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"faa65b6819ca7c3ea83324ff0d9e722d18a735a1b2185282107de44fdd504fb2"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060escapeHtml(item.cover)\u0060 is text this program did not author, and it is written into the start of a URL attribute, where it chooses the scheme through markup this function returns with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. HTML encoding does not help here \u2014 a \u0060javascript:\u0060 URL contains nothing it changes; allow only http(s) or a relative path."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/user/controller/business/commodity.js"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1a805c6c8a53e3b52845f1147f488d456482def3a12974a8c4b2ab31e11fe90"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060escapeHtml(item.cover)\u0060 is text this program did not author, and it is written into the start of a URL attribute, where it chooses the scheme through markup this function returns with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. HTML encoding does not help here \u2014 a \u0060javascript:\u0060 URL contains nothing it changes; allow only http(s) or a relative path."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/user/controller/business/order.js"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"50e3d6d2f0fcb0f5a14f6cae709f95eb8bc249f0eb445b4eca1c1842b162dd90"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060escapeHtml(item.avatar)\u0060 is text this program did not author, and it is written into the start of a URL attribute, where it chooses the scheme through markup this function returns with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. HTML encoding does not help here \u2014 a \u0060javascript:\u0060 URL contains nothing it changes; allow only http(s) or a relative path."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/user/controller/business/order.js"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"8631bf7d518837de252c3271e1955fd1817ce535d6b088d738606237898712c7"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060escapeHtml(item.icon)\u0060 is text this program did not author, and it is written into the start of a URL attribute, where it chooses the scheme through markup this function returns with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. HTML encoding does not help here \u2014 a \u0060javascript:\u0060 URL contains nothing it changes; allow only http(s) or a relative path."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/user/controller/business/order.js"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc011ba7f106b98d3985ec710ccbe08e458f7fba76a35c845face05b9ddf000c"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060badge\u0060 is text this program did not author, and it is written into the text of an element through markup this function returns with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/user/controller/dashboard/index.js"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"9be2f2354aa5e622ccb3078385c57138939c14b5cb570bfaec128147f5c7fc15"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060item.cover\u0060 is text this program did not author, and it is written into a script or style context through the DOM library\u0027s \u0060.append()\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. A script or style context needs its own escaping (or a JSON serialiser that escapes \u0060\u003C\u0060); better, pass the value through a data attribute."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/user/controller/index/index.js"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d5122e2ca5ff62d89ef769f2a60094ff3fc0ca03222ad43347657cf7d1c7e15"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060format.currencySymbol()\u0060 is text this program did not author, and it is written into the text of an element through the DOM library\u0027s \u0060.append()\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/user/controller/index/index.js"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"4753894837cc77d9b10fc0b4b110ad16c2f65fb44deec6cbc71bf08bb8ce95eb"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060item.order_sold\u0060 is text this program did not author, and it is written into the text of an element through the DOM library\u0027s \u0060.append()\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/user/controller/index/index.js"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0c7d4c247d5c9b7a549c81fc0784e1d835ef46bbcc21f4e60b1c61321b43aa1"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060format.currencySymbol()\u0060 is text this program did not author, and it is written into the text of an element through the DOM library\u0027s \u0060.html()\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/user/controller/index/item.js"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8bc697bb6ff8f8843372b22ad79d71b399a76680a26e06ca140336c750761c0"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060format.currencySymbol()\u0060 is text this program did not author, and it is written into the text of an element through the DOM library\u0027s \u0060.html()\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/user/controller/index/item.js"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"594a4eb1f65df2c157710d4572a76e514baee326e1a3653929b1e1d95c09e5a8"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060esc(order?.pay?.icon)\u0060 is text this program did not author, and it is written into the start of a URL attribute, where it chooses the scheme through markup this function returns with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. HTML encoding does not help here \u2014 a \u0060javascript:\u0060 URL contains nothing it changes; allow only http(s) or a relative path."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/user/controller/index/query.js"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a462941406a330837c26d40342d819bb4b7dde9ed7bdc5630a8ea49d17b4d65"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060qrTempHtml\u0060 is text this program did not author, and it is written into the text of an element through the DOM library\u0027s \u0060.html()\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/user/controller/security/personal.js"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"28950a4978c8d9d4120c1802d3bc0df6022e7753f9ab1558fedf075c8875eeb9"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060res.data.app_key\u0060 is text this program did not author, and it is written into the text of an element through the DOM library\u0027s \u0060.html()\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/user/controller/security/personal.js"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e63c96bef95c34f49b03c45bc1b6a3cf321a8a1e3b6c086583a21f527498c2a"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060esc(value?.cover)\u0060 is text this program did not author, and it is written into the start of a URL attribute, where it chooses the scheme through markup this function returns with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. HTML encoding does not help here \u2014 a \u0060javascript:\u0060 URL contains nothing it changes; allow only http(s) or a relative path."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/user/controller/user/purchase.record.js"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"65274ffe095b57c3be364af02452626ea77bccdddccc40205eb56671320c17de"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060badge\u0060 is text this program did not author, and it is written into the text of an element through markup this function returns with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/user/controller/user/purchase.record.js"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf729f21f9145040b36edaf763f52477aa9d1bac796c1bd6ba4822b04130417e"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060esc(item.icon)\u0060 is text this program did not author, and it is written into the start of a URL attribute, where it chooses the scheme through the DOM library\u0027s \u0060.append()\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. HTML encoding does not help here \u2014 a \u0060javascript:\u0060 URL contains nothing it changes; allow only http(s) or a relative path."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/user/controller/user/recharge.js"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"af22a154bc3ce508b712ec75bbd8839dab4edf48c71c4b3cbac67239fc7204f0"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060cover\u0060 is text this program did not author, and it is written into the start of a URL attribute, where it chooses the scheme through the DOM library\u0027s \u0060.html()\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. HTML encoding does not help here \u2014 a \u0060javascript:\u0060 URL contains nothing it changes; allow only http(s) or a relative path."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/user/controller/user/ticket.create.js"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c151cc4aeb2dc8761b4bb0b9d81d4ae44472151159dc8e340ed298c3d62e65a"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060String(html==null?\u0027\u0027:html)\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/user/controller/user/ticket.detail.js"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a249387622b7a14c128b0f91d5cecb6ea12bb2cf520bf074ba9b2fbb628504b"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060rows.map(function(raw){var item=normalizeMessage(raw);return\u0027\u003Cbutton type=\u0022button\u0022 class=\u0022uc-message-recent__item\u0027\u002B(i\u2026\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/user/js/glass.js"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fd7f369430d4a42b102e62879cfabb5139511bf0532b2dae764fb79eb845529"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kernel/Kernel.php"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"73b465440cdace86f2ff1bd36659dab35dbda09c8e52c7d147e2d7a289132476"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kernel/Kernel.php"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd30c48decb3755784df66adb2971cbb8762a787378ebf45e2f94a85c17aac53"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kernel/Util/Lang.php"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"620f4d24f0d5ed0c8cd583c544e3a345656bd2b0a2b09679d5142e65bfb744da"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kernel/Util/Lang.php"},"region":{"startLine":512}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c2e64aecb56bfdefaee1e8e5f216317a21a25ca11a8c768dd7a051f42fed341"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (\\Throwable)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kernel/Util/Lang.php"},"region":{"startLine":652}}}],"partialFingerprints":{"codehealthFindingId/v1":"478f96338ee13178aad650f0386b20e7198cda86bb65bf69fc5bf8d7a3546161"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kernel/Util/Lang.php"},"region":{"startLine":661}}}],"partialFingerprints":{"codehealthFindingId/v1":"e76175ca9cb3dd54ff0667aec7aa71c693d9f00a73e8087a088f9739764c8937"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kernel/Util/Lang.php"},"region":{"startLine":710}}}],"partialFingerprints":{"codehealthFindingId/v1":"b164f1730eb9741c576662820c8ed40f8e1f2e7db8bf000417e982363d760ec6"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (\\Throwable)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kernel/Util/Lang.php"},"region":{"startLine":877}}}],"partialFingerprints":{"codehealthFindingId/v1":"72cb07827de16a89ff87787e81bb7f6e101e7650281e72394cf8f71e2e2b5587"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (\\Throwable)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kernel/Util/Lang.php"},"region":{"startLine":898}}}],"partialFingerprints":{"codehealthFindingId/v1":"37e83d1a559d0aad9c290626babc28b1957305fc8f14212fcb530b1bec541aa6"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kernel/Util/Lang.php"},"region":{"startLine":963}}}],"partialFingerprints":{"codehealthFindingId/v1":"26c3083ca5ff7e641ff5769e6150119ff48770459b895d8dfa6d8ec186f43639"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kernel/Util/Lang.php"},"region":{"startLine":970}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e12abf5c86d07afc0a1e4a8be75e98e37b7d68cad0a154a6060bd742d18a0d9"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (\\Throwable)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kernel/Util/Lang.php"},"region":{"startLine":1095}}}],"partialFingerprints":{"codehealthFindingId/v1":"385ecff7a4625e4b2306d861a7023cfe0148797ac306b738ad3c66a5ea261673"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (\\Throwable)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kernel/Util/Lang.php"},"region":{"startLine":1134}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ddccb83f8b63609254ed7b60536747044c8b6e631016f52aba855259b8559d2"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (\\Throwable)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kernel/Util/RequestLogger.php"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"391018605b21a1827b7275e4b882a98e15d98d69e5b8267fb9d7521b604b4cb9"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/user/js/glass.js"},"region":{"startLine":489}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c2fd20192395c13402b75370272fb00ea6275375a4e78f3fae6cde186f14330"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.catch(() =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to report problems, hand it to a caller that can (\u0060next(error)\u0060, a returned rejection), or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/user/js/webauthn.js"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"119686ebf997e15b58cf7a57d9f74400c1e268188a4468a40f39f49d09ac24f7"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/user/js/webauthn.js"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"838beaa9e0034d124a69ca834e6cf8663d3988698a97fd6cca05ba06e1f912ac"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.catch(() =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to report problems, hand it to a caller that can (\u0060next(error)\u0060, a returned rejection), or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/user/js/webauthn.js"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5a4d8ac3371c03f3f4aafff52495bd2445dce47bcecdf302e32e57881aef17b"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/user/js/webauthn.js"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9157b40f3da9c9ad351ee37201c4d4953f48cb7b02e8894b65661f57ceb2241"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/user/controller/security/ipwhitelist.js"},"region":{"startLine":294}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ecb2dcf4bdbf30700edceedb138c2db45799c7bcb46bf58c4303f3456f1d585"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/user/controller/security/totp.js"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"bac486b9b367e5540d73875317fdadf2d3331fb8467723acd095354dfbed1e57"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/static/acg.js"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9e366708bf0b66c22b670e180b8ecfdbf76dacdaa3d9b18237af18a7b10db7e"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (e)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, or keep only the failure you expect and rethrow the rest (\u0060catch (e) { if (!(e instanceof SyntaxError)) throw e; \u2026 }\u0060, or test \u0060e.name\u0060), because a JavaScript catch takes every exception, programming errors included."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/static/acg.js"},"region":{"startLine":395}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ca9f5a14c7cbb465833a0e9fc83613bdfd4e43aae13ab8b54555038c7fd1e06"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/static/acg.js"},"region":{"startLine":1182}}}],"partialFingerprints":{"codehealthFindingId/v1":"f54f8753c9871ec892e7793cef311c884aea2623965a6704c1cc478b5ede33bd"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/static/jquery.pjax.js"},"region":{"startLine":302}}}],"partialFingerprints":{"codehealthFindingId/v1":"03235906d9ad8b2f33fa859f64a656545b026139fbf852e408ea9dc49431facc"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/static/codemirror/lib/codemirror.js"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7374b45b89270c1827f520fcd8bb842f6d9c6ddc6bdd7a9ccfad0f282eb4977"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/static/codemirror/lib/codemirror.js"},"region":{"startLine":689}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0da5ec5f5cec766327afb6ddbb8d90f79323d04a86846f0496760858246b20e"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/static/codemirror/lib/codemirror.js"},"region":{"startLine":6599}}}],"partialFingerprints":{"codehealthFindingId/v1":"35a7f7e325c179e34d5c86039ad632ac0c5bbb4cfef2a39f16001807979cd57a"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/static/codemirror/lib/codemirror.js"},"region":{"startLine":8950}}}],"partialFingerprints":{"codehealthFindingId/v1":"f898c0b3f543f1a056451ea3e29186b5524bd21ebe0968b283c2b0f50ff117a0"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/static/codemirror/lib/codemirror.js"},"region":{"startLine":9504}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1b91d17816ef2d4ea26b7b4fd4f86a984e4a2cd8ea6ef56ecac22556c77ef19"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/static/codemirror/lib/codemirror.js"},"region":{"startLine":9730}}}],"partialFingerprints":{"codehealthFindingId/v1":"3caaeaaa46f10923c07c5a57ad46d47269d7df51139acb6061c662d18eba8f2d"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/common/js/ready.js"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4abdd2d16654fe504317afd06e760f4299ca07bc4600df50e54b0b3fa20dad6"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.catch(() =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to report problems, hand it to a caller that can (\u0060next(error)\u0060, a returned rejection), or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/common/js/ready.js"},"region":{"startLine":314}}}],"partialFingerprints":{"codehealthFindingId/v1":"0649c7cf73f5b1f2d271e8eb31b81f8df030df177b7ef1428adb230dc4def579"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/common/js/ready.js"},"region":{"startLine":316}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea054db8707349ba297fe087c814a883303f79ca8a0ed97c8c47516f6fadfabf"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/common/js/ready.js"},"region":{"startLine":503}}}],"partialFingerprints":{"codehealthFindingId/v1":"7328ec618385ed466dd8e69ab77d1d9265c45df994300760930cbb6e6c95ba5c"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/common/js/ready.js"},"region":{"startLine":586}}}],"partialFingerprints":{"codehealthFindingId/v1":"3283b4185d2acc5fc90b8ebe966c5251078907726b4136566c3264e2c995b946"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/common/js/editor/markdown/editorv2.js"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd28660a2255c9838e408359368990f6b6caee19e9a55a656afdeda3003e1039"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/common/js/editor/markdown/editorv2.js"},"region":{"startLine":302}}}],"partialFingerprints":{"codehealthFindingId/v1":"a335ec3c6820e46f5cb55f55577a96c8e5009d1185d11cef9a3265770130f50d"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (err)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, or keep only the failure you expect and rethrow the rest (\u0060catch (e) { if (!(e instanceof SyntaxError)) throw e; \u2026 }\u0060, or test \u0060e.name\u0060), because a JavaScript catch takes every exception, programming errors included."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/common/js/editor/markdown/editorv2.js"},"region":{"startLine":431}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d397f349039a6ef40a6e65f9805e28a0432971e7e59efa80a48d8d8df993c7b"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/common/js/editor/markdown/editorv2.js"},"region":{"startLine":594}}}],"partialFingerprints":{"codehealthFindingId/v1":"16189efcf023fcea477831054b62623107727b3ded78ad3c8031ef1da8a82a33"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/common/js/editor/markdown/editorv2.js"},"region":{"startLine":978}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea98ab27495320e2b0a1cafaa780ca99bc462d859164f877063dc5f8f15e2ba2"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/common/js/editor/markdown/editorv2.js"},"region":{"startLine":989}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9b445fb9f6f89a3a2cabefa10ba462c0c54e9dc61738ca0630895269dbe6e48"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/common/js/editor/markdown/editorv2.js"},"region":{"startLine":1006}}}],"partialFingerprints":{"codehealthFindingId/v1":"28fbea79d56897ed7ac19e122797f052e7eb6283fffbef773cfabadb68b403e5"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/common/js/editor/markdown/editorv2.js"},"region":{"startLine":1010}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8e164312a0b44487c044f8f14c623a7e4218fa44e1d5949903c2cbb29c138b5"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/common/js/editor/markdown/editorv2.js"},"region":{"startLine":1011}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fd3992747a7d9c71d067072e715d3d7fcfab1a86026b54bdd38e9b6ec84f58b"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/common/js/editor/markdown/editorv2.js"},"region":{"startLine":1012}}}],"partialFingerprints":{"codehealthFindingId/v1":"622870c4c4104102cbbeb3877aaf2146118b7f461fda899de57be630cf166523"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/common/js/editor/markdown/editorv2.js"},"region":{"startLine":1014}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac0cc42cdaedee82e6e5a9007c6c2766a8dbcf4dc9823b4f0830552b0a528067"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/common/js/component/search.js"},"region":{"startLine":532}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ce8be13b9fb959dfd67aa79ca3127e3f3d33d9925192e485c9fcc777d1a1729"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/common/js/component/search.js"},"region":{"startLine":548}}}],"partialFingerprints":{"codehealthFindingId/v1":"80562280a67b16da9c3ee7f133588f9fbcb4599967605750c93e35485c62efa9"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/common/js/component/tree.select.js"},"region":{"startLine":1949}}}],"partialFingerprints":{"codehealthFindingId/v1":"04136ed116579607c8b61f6306ab9d896c7ec02386e6dd153004e19599257e60"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/common/js/component/tree.select.js"},"region":{"startLine":4077}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a34dea66f3277f2a530b5e100e59ac0369fd36be0962f74b8e8edbb6fdd0cba"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/js/lock.js"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb7e0d19124a04ce79c53286cc8653459dae6872a7e1f93bf7aba9226b3a33c2"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/js/material.js"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"0673eafa85aad7294e089179bd331e9f9bfb53e21b1bd783cdd9c3b162d000de"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/js/material.js"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"556cd65153865614f0aa5165c476cb69d17a90713a02893c28486ffbd465b13d"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/js/menu.js"},"region":{"startLine":1318}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e892a5ec4d236191c7a8eb389a236db408d9ad39918df4b0e5ba56fa544f18e"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/js/mobile/fallback.js"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"dee28c361286bede2c4bce36d23fcb0192d72f205b3d8fa31e8e5d80f804319d"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/js/mobile/fallback.js"},"region":{"startLine":274}}}],"partialFingerprints":{"codehealthFindingId/v1":"7693dd6c23478424adee51c3713f7f348d179cc8571b9c863e6936cc78b3ced7"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (error)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, or keep only the failure you expect and rethrow the rest (\u0060catch (e) { if (!(e instanceof SyntaxError)) throw e; \u2026 }\u0060, or test \u0060e.name\u0060), because a JavaScript catch takes every exception, programming errors included."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/js/mobile/fallback.js"},"region":{"startLine":675}}}],"partialFingerprints":{"codehealthFindingId/v1":"13067ac754cb0c959856da73414ed05374945efabb115b2a74e23849c6af6515"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/js/mobile/fallback.js"},"region":{"startLine":866}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf62356da2c1f48774f66d92b6c7c04198830967b00f7516c3a87ea60c3ba49d"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/js/mobile/fallback.js"},"region":{"startLine":870}}}],"partialFingerprints":{"codehealthFindingId/v1":"640ab20a4be3bea67358dd09d1d120eb1262de65c4832f6f099466af884b8862"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/js/mobile/fallback.js"},"region":{"startLine":873}}}],"partialFingerprints":{"codehealthFindingId/v1":"a74e14ca0a63b432b29444450da54ae82503a4dd564f7cc64d7533034f197492"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/js/mobile/fallback.js"},"region":{"startLine":1041}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fb9128a8a0370d08226785a66523703101c601bde85d48ad82e37ec2e6f75d4"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (error)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, or keep only the failure you expect and rethrow the rest (\u0060catch (e) { if (!(e instanceof SyntaxError)) throw e; \u2026 }\u0060, or test \u0060e.name\u0060), because a JavaScript catch takes every exception, programming errors included."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/js/mobile/fallback.js"},"region":{"startLine":1379}}}],"partialFingerprints":{"codehealthFindingId/v1":"aaa4c8d899fdef839c3329e12585a7674321fc3a3b0f9bc5437738a23e8a7500"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/js/mobile/fallback.js"},"region":{"startLine":1420}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea85ef51ee38be77c1d8323364f282467ca4c295e23d4e7eb7a3c47a56e3d075"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/js/mobile/fallback.js"},"region":{"startLine":1452}}}],"partialFingerprints":{"codehealthFindingId/v1":"2969c1c493e78bf92b82d698e7182391f54f9a15282384b6d3541bc8c9a181a2"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/js/mobile/fallback.js"},"region":{"startLine":1542}}}],"partialFingerprints":{"codehealthFindingId/v1":"5341d4dfe964b6953f31df927c9d59c842511bfee5c1c784400c81e7bda6b824"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/js/mobile/fallback.js"},"region":{"startLine":1820}}}],"partialFingerprints":{"codehealthFindingId/v1":"917a862487580cc20b391cee8f2c60d2ece4ade335f5062fc61591495d395cd4"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (error)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, or keep only the failure you expect and rethrow the rest (\u0060catch (e) { if (!(e instanceof SyntaxError)) throw e; \u2026 }\u0060, or test \u0060e.name\u0060), because a JavaScript catch takes every exception, programming errors included."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/js/mobile/fallback.js"},"region":{"startLine":1842}}}],"partialFingerprints":{"codehealthFindingId/v1":"32f7c1d766a9101a5798135425792909e8ed3c3ef8265d678c9f7e51dad95ed0"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/js/mobile/fallback.js"},"region":{"startLine":1985}}}],"partialFingerprints":{"codehealthFindingId/v1":"0161d604628bf7d0e434116749942e9dea0a09e2a5b9dca6885d27c074886f38"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/js/mobile/overlay.js"},"region":{"startLine":711}}}],"partialFingerprints":{"codehealthFindingId/v1":"8688ece813befa2265b48850cd4f3c4255af466a4019d7d044b83171606e506e"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/js/mobile/overlay.js"},"region":{"startLine":766}}}],"partialFingerprints":{"codehealthFindingId/v1":"91802538fdf1679fea0eb228199b58a832a58973146aa4ffde3c766ef3d084a5"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/js/mobile/overlay.js"},"region":{"startLine":1037}}}],"partialFingerprints":{"codehealthFindingId/v1":"81160799a527d02fbf1c424eae2c541e6ad2ff4459b158bf221a6a429752bc02"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/js/mobile/overlay.js"},"region":{"startLine":1056}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cd60a64a4eb7bf2e523be9eb8bb230cccb32c8790cf7d0e9a190f36a1338fef"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (error)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, or keep only the failure you expect and rethrow the rest (\u0060catch (e) { if (!(e instanceof SyntaxError)) throw e; \u2026 }\u0060, or test \u0060e.name\u0060), because a JavaScript catch takes every exception, programming errors included."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/js/mobile/overlay.js"},"region":{"startLine":1294}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe3f983fd3d0fec49e26e00a75bd64ccf3b21d79cb2a6d87af53d9d12bd6a274"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/js/mobile/shell.js"},"region":{"startLine":252}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c24a79fa35d2b4f205a7bf3e9f0a1dbba6352ee6b0de05cc72864527bbf7b6f"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/js/mobile/viewport.js"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fd750660625645dcc1b8b6681bb7a2afd0a56096447d063237f703a5b395c41"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/js/mobile/workflows.js"},"region":{"startLine":982}}}],"partialFingerprints":{"codehealthFindingId/v1":"49aeeda4e42dd9ce75352c65efc87eb41c6f845182bea7483b8588f0eb88f6fe"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (e)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, or keep only the failure you expect and rethrow the rest (\u0060catch (e) { if (!(e instanceof SyntaxError)) throw e; \u2026 }\u0060, or test \u0060e.name\u0060), because a JavaScript catch takes every exception, programming errors included."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/js/login/scene.js"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"57f8c9d4cf1ee612d949aef1e5e30df7ec13e9d8e64456ad48881d98efd63dd9"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/js/login/scene.js"},"region":{"startLine":345}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c573aec1bfa5c31992fe72b5e1bbfec4f9d0e5ad53db97a383087fac026029a"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/user/ticket.js"},"region":{"startLine":418}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fcdf665f6cc0c98a46806c89f00824ebeeac519898309369ffbd843bd581d24"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/user/ticket.js"},"region":{"startLine":423}}}],"partialFingerprints":{"codehealthFindingId/v1":"51c5b960a75846246c6ded37dc71c801f839c7cb1c159f60b36ff2204ace7e77"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/user/ticket.js"},"region":{"startLine":433}}}],"partialFingerprints":{"codehealthFindingId/v1":"f00fd99166d394ef8cda26af03a72ae6caf62c6ec3465727d48b91e822b01a46"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/user/ticket.js"},"region":{"startLine":746}}}],"partialFingerprints":{"codehealthFindingId/v1":"55d1a961a50f8e5aeaa102d3a2c6ee72efaa6d9bf641d8232d0ec07493661e27"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.catch(() =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to report problems, hand it to a caller that can (\u0060next(error)\u0060, a returned rejection), or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/trade/card-file-upload.js"},"region":{"startLine":310}}}],"partialFingerprints":{"codehealthFindingId/v1":"184b8b67dabccab754abb0251c771d5b034ae0b9615e67222f06f666f108d83d"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.catch(() =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to report problems, hand it to a caller that can (\u0060next(error)\u0060, a returned rejection), or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/trade/card-file-upload.js"},"region":{"startLine":312}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0cc36e757377ceeaa96abbb5186a05e00749f8991bd4f678a68d650225f5460"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/trade/category-actions.js"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbc36ce1ba7288f5c9259ecb3aef95dc33a52f7aae6d0684b80649746c16424f"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/trade/category-tree.js"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"c453bdb68da7594330e2193acf7dd02d052543ee2c1cdfcb499bf7e21a9578e1"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/trade/category-tree.js"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"00f7e4d86c335407b9a03f2d9eb2271eb8e5aca769da8006ab027427cabb96b3"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/trade/drag-sort.js"},"region":{"startLine":535}}}],"partialFingerprints":{"codehealthFindingId/v1":"49aefd9d11956d96053c0be9503c664abaed5f90c584acfdf18348dd5479f75e"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/trade/drag-sort.js"},"region":{"startLine":614}}}],"partialFingerprints":{"codehealthFindingId/v1":"69ff6fe810bdfa7472f368a12b198ec3902bea8f5b1f2affa168a32689a908b6"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/trade/drag-sort.js"},"region":{"startLine":642}}}],"partialFingerprints":{"codehealthFindingId/v1":"683275efe6ac91af16770d4ee4bff4e10402930686999a09e0d82b9d43b899cd"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/trade/drag-sort.js"},"region":{"startLine":708}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef56d53c89c3b6bea697023f7f25d5c328c4e4cbb6192e64a223de8624773aa4"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/trade/drag-sort.js"},"region":{"startLine":729}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3e7f910fa1b892414e3279903d9bf9cf26204b7539f125bf8a80a1e0eb04625"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/trade/drag-sort.js"},"region":{"startLine":904}}}],"partialFingerprints":{"codehealthFindingId/v1":"e58f17a72f7b595bd4d0eded2c1e7c40175d883ef3a5567ac747a3219be4fc90"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/shared/store.js"},"region":{"startLine":808}}}],"partialFingerprints":{"codehealthFindingId/v1":"68b8bb7722fa59ab9751932ed59c253b2b9ef00e50999b75d90f0773dafaa169"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/shared/store.js"},"region":{"startLine":1927}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c7cd83fff9a371f3ace913dd010d79a5905ade8d1213db3ef69a3611993f0f4"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.catch(() =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to report problems, hand it to a caller that can (\u0060next(error)\u0060, a returned rejection), or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/manage/passkey.js"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"74eb42d501b02623638850a580e14bf65a39da7d3c74ea4e675f1e8cbe7edc26"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/dashboard/index.js"},"region":{"startLine":804}}}],"partialFingerprints":{"codehealthFindingId/v1":"170302a04729759ea8fa7451a66f11345842281669e509d21e38f4e4c5a947bf"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/dashboard/index.js"},"region":{"startLine":817}}}],"partialFingerprints":{"codehealthFindingId/v1":"989985d9a18b2a42491a9ec88d965dfef427c5c9bb0bcd249cb46c2a091e0f94"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/dashboard/index.js"},"region":{"startLine":875}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1978162d22e5d8eadb2abb850bb3f2714e170de638952f3a49a98ecf233a975"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/config/index.js"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"0752c8f21624fa9108c1ed5ccb6c086e35904e3a710750705ea972559b5d73bd"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/config/lang.js"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"7390c33f426f6cd7adbbae8c638c97b9d12eccda76741b3457c45811eb59d57c"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/config/other.js"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"46eb0d1ca3cfc1dba4397e5f5f892d9381fcec6d01b08b660cf8d727f1ead63c"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (error)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, or keep only the failure you expect and rethrow the rest (\u0060catch (e) { if (!(e instanceof SyntaxError)) throw e; \u2026 }\u0060, or test \u0060e.name\u0060), because a JavaScript catch takes every exception, programming errors included."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/config/wiki.mobile.js"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d5c2c77484bda65c15f5664d13c85d0aa6558afe286081ff03b3bbf394e6179"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.catch(function(){})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to report problems, hand it to a caller that can (\u0060next(error)\u0060, a returned rejection), or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/config/wiki.mobile.js"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b5fa5d26394839ca1ccb4cbd5b247635f04c72948ec4894dcd1da6058dfa756"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/auth/login.js"},"region":{"startLine":364}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d77e1bb0eda3e99692adad6225cc3f85ae533468d9216899d92dd1c0fd03642"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (\\Throwable)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Util/Client.php"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"229b20674a329d4e6bad942b73933ce00c542aa7b96338f38be85ee920bf2c0b"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (\\Throwable)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Util/Client.php"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"62c06a38f45022b2591b39b4d0d0b1849b1abec067af58ee5da54dc0ba665e18"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (\\Throwable)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Util/Client.php"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"96815e6d058e98e62d898c89a6808312cc06cf4b1debf4b4c89e82020c2f41ed"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (\\Throwable)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Util/Csp.php"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"5497f4b79358162a0b650a7e90811d41e96d1b837cb37cbb26d956121ce594e4"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Util/Csp.php"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"95d7a107d7c30ab16e64dfce02d2a2fc91ce93c8ec214e1458c1fc00f0555dbe"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (\\Throwable)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Util/Csp.php"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bd1081b862dcbc0cb54b659ad9f851ef3d733ca53cdab4788d103ce87eaf3cf"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (\\Throwable)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Util/Csp.php"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"b076b733ccf3af62cc5a408e6051c7bd2152f804a312148261469f4bfc109dca"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (\\Throwable)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Util/Csp.php"},"region":{"startLine":465}}}],"partialFingerprints":{"codehealthFindingId/v1":"bffe61a664bb62bf98cee27cc97e97e1f995f7cb486ed513b42c1dcb5c3a36d1"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (\\Throwable)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Util/FileCache.php"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"62ac5c2555345dafc7d82f719a0ebf5a96ee0f71a5893c2f87935855668f9092"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (\\Throwable)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Util/Http.php"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6aba2edd1cb52995d24ef494b91284959b55625945556ff2f582217d0431e67"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (\\Throwable)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Util/IpWhitelist.php"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"a22f888b087e07b83b06afc2f512ba8c4000c6242c74cf0ad51e3846775bbd6c"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (\\Throwable)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Util/IpWhitelist.php"},"region":{"startLine":280}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7ee5c17621b4f5540424e724782af41756b8974879f079b9a9510191b4044f2"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (\\Throwable)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Util/LangRecycle.php"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"45f44d21f8237f70081e8b124e22de0edd8aaa9737d38857514dd8a898f361ca"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Util/LangRecycle.php"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"5566cb7395294386d61e2106893cbfce50bd28e6c2f9bf7439edfad450095356"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (\\Throwable)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Util/LinkDomainGuard.php"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd62ef2285dce8112ac06d45bd27d177f017125d7cd399dd9d825039c527bac7"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (\\Throwable)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Util/LinkDomainGuard.php"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2c01145df448857dc882c02c3cb1d42bd3b57d40967453bb8305d174c3458a6"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Util/LinkDomainGuard.php"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"df638f3a750f2477e0237541487bce8a43fa5a5f9c89ed7ba523f4d52d3dea05"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (\\Throwable)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Util/RequestLogCrypto.php"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"59e86f607dc9b77c1881f62f7d55cf3ae35a7e2f3a1e9552d9d9f294c7c805a2"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (\\Throwable)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Util/RequestLogCrypto.php"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"88d4b296fdf61f302735de839bcec7f4e937eeab973055cb90c710eac9798a73"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (\\Throwable)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Util/RichHtml.php"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3e3991814b5ab7943f78ecc127e30e9289a0a7a785aa0bf0b8b06904c578554"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (\\Throwable)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Util/SharedCurrency.php"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab2876fa77361729ec15210af761ab0f8a0871a0c1195d20c35b424d248a76e9"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (\\Throwable)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Util/SharedCurrency.php"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"26a2d8d1d6632c18f856c5df87ec340403dab19e001170a9131ef43e1b5e2290"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (\\Throwable)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Util/Sku.php"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cc3acda86e2c2b958e546588825deb852400f48247ff18f7d5bcaa576748e91"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (\\Throwable)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Util/Theme.php"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec34f7b20710f70a6f9cce6d6aae52f475d9f51a3feecead0e7c2c9284269725"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Util/Throttle.php"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"c589afcbcb5c00f40a7ea2516a74927769b682dc4ceabb84bd68cc8ed4dae02b"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (\\Throwable)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Util/CardFile/Policy.php"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d6fb75b9bd5df64e312a1683fbd1d561c1d766eba278c168768d07aa02f657e"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (\\Throwable)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Util/CardFile/Purge.php"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"8145fb159a9d2532d76e5ccd49c2f038b9ed9ba387e716fe6956090b24dd06b0"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (\\Throwable)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Util/CardFile/Purge.php"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"62da1e5c1e516826ba7ccedf75d8a205ca46aef2d301dfeda44bea0c5dbd2886"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (\\Throwable)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Util/CardFile/Purge.php"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"a55d97a9f1cebbf75a37d29262d37e71e273ad061bca4322cb2955efeeae683e"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (\\Throwable)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Util/CardFile/Purge.php"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"d803c8c480754519641981cf1d5b3ad269495146a1aa607dd7aae8f8b6c00621"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Util/CardFile/Purge.php"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6d57f5030781e4331db8b0db8cf90840d85013f4862ce62d22e695cca39f983"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Util/CardFile/Purge.php"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7ec173883bf386b8c3bdf0f6999227bf7204b64731f85f5bbe18effabf90a70"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Util/CardFile/Purge.php"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6b83111b65e575044f68cf6393dea65126ecdf544e7fc943ff434d6b0beb760"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Util/CardFile/Purge.php"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3e150bc401a9741059abaec91915d34ce2a0a431390deab5c3f5e616ac7d345"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (\\Throwable)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Util/CardFile/Purge.php"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"ace853dfcad50ac4ca8909d1d348a29738658aa38b239884cb6cb8fae2bf696c"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (\\Throwable)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Util/CardFile/Stream.php"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"269d318c1ae7c68f8cf2738eca061a03cd9558528ad07b72b8ba56185c5088ec"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Util/CardFile/Stream.php"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"31398eee1a0202821b5f3a9bf8c8a0147aabaa9e3f72d3b38637a605087a1da6"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (\\Throwable)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Service/ManageSessionManager.php"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"9948151e3b6f8d861574a76ee6e3490398753dc673e761d79df092b01ecc2201"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (\\Throwable)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Service/UserSessionManager.php"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"acb12adaf77be2487e27163e84ad633ced574c432f58efe7544c4a22327962fc"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (\\Throwable)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Service/UserSessionManager.php"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"34a361591658348b458f26fba7fc4ad8351fb4c5678d1749ced1f3f33a1b1e0c"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Service/Bind/App.php"},"region":{"startLine":293}}}],"partialFingerprints":{"codehealthFindingId/v1":"6345ce49b5423b8c0af73f0cdc6eb2e25ca6a9220f0d5d324e7312fb40680e2b"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Service/Bind/Cash.php"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4da6799a94eefd3a1d011809c31de0b94d8377ee8a038459924c5910b3bc5d3"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (\\Throwable)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Service/Bind/Currency.php"},"region":{"startLine":434}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ce26a3545a1c6d97a371a46e744aea6efb449a0d570c5b42d49a0bbe123831d"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (\\Throwable)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Service/Bind/Email.php"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"3160e17d7978c29b1216dc22a3ad9504cc082416383bb0a34e2fe1e2a198e77c"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Service/Bind/Email.php"},"region":{"startLine":332}}}],"partialFingerprints":{"codehealthFindingId/v1":"08532a96ed9cc3d454a5393e9d4b7f7e5cedff328977fbe6ed25d0f628f83134"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Service/Bind/Email.php"},"region":{"startLine":337}}}],"partialFingerprints":{"codehealthFindingId/v1":"8491f901bca887b0b41c2e4f1a24e48da493f4bc55cbcd7eb026466702c67487"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (\\Throwable)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Service/Bind/Email.php"},"region":{"startLine":364}}}],"partialFingerprints":{"codehealthFindingId/v1":"44e47deee8962c9a21452488375a546d37d5e77025c79dd59d8c155308fe07b3"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Service/Bind/ManageSSO.php"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"4af5c28582ec39fa148d0eb3a86721e922ab3c43dfd50a99a7cb5d19e471f744"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (\\Throwable)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Service/Bind/Message.php"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"26615dcf396f75d3c5cb0fd823da755c1249b42d12d30b3ca3bc6bbd689e8079"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (\\Throwable)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Service/Bind/Message.php"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ba4fa2b4776fa37db838ad2402a22579eba0235cdb1400f3db2400f83d66628"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (\\Throwable)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Service/Bind/Message.php"},"region":{"startLine":347}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bda15e0c88d5de0ba35b5bfa6dd5c967439b12da5b4821358cd217d03daff30"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (\\Throwable)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Service/Bind/Message.php"},"region":{"startLine":404}}}],"partialFingerprints":{"codehealthFindingId/v1":"271f62815490a454fad77f55dd2249369d10554623312884339bdeb339054a75"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Service/Bind/Order.php"},"region":{"startLine":1094}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab5e057492a3a059c74d16759a2fa16fe6ffdc0d3ba071de8bfffac2f66a65f6"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Service/Bind/Order.php"},"region":{"startLine":1401}}}],"partialFingerprints":{"codehealthFindingId/v1":"95ad19def5654d3935e545f85187bc1ec194c5e8c4359ee7d84c62d6e96d28bc"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (\\Throwable)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Service/Bind/Query.php"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"68c1e6ce211f7ccaed1acda5e230416386ad41a214c003e70830838fef7c49d3"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Service/Bind/Shared.php"},"region":{"startLine":463}}}],"partialFingerprints":{"codehealthFindingId/v1":"909dd13f11fbbdf80b2d35b358a016666a9c400d94e9e6506dc58f61891a4ad7"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (\\Throwable)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Service/Bind/Shared.php"},"region":{"startLine":798}}}],"partialFingerprints":{"codehealthFindingId/v1":"0128cf25dd6f1a6dbcc1cdcbb72d285f125aeefaff11a9252b2fa9db67dd9db2"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (\\Throwable)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Service/Bind/Shared.php"},"region":{"startLine":895}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac240466c69babe74c8279d2a18f25a245a90a0fd956068666112974789115c2"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (\\Throwable)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Service/Bind/Shared.php"},"region":{"startLine":999}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5af5fe76ad60dd4314c172dc33412766c97f3ba63ba6f41542d28f54b79e7d1"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (\\Throwable)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Service/Bind/Ticket.php"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac0ddd1888488fcb51f42b60602caf6220e5d3b2570757544a4a47bda3d091c4"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Service/Bind/Ticket.php"},"region":{"startLine":608}}}],"partialFingerprints":{"codehealthFindingId/v1":"91f08ba3eaa6f5dec89a2082c2eddf713e853637ae066b7ab94a636fc9ed4d59"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Service/Bind/Ticket.php"},"region":{"startLine":1035}}}],"partialFingerprints":{"codehealthFindingId/v1":"48a8b973b28711f32a9c6c50c6383c7d9d3ed342b72c7fe4e84d5b9e1db09ea5"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (\\Throwable)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Model/Config.php"},"region":{"startLine":327}}}],"partialFingerprints":{"codehealthFindingId/v1":"677337a90ca0f70e1e0f435da63cc3899a732c18c2548af2dba1e0483e8191c0"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (\\Throwable)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Model/PriceTemplate.php"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"d97a87397b106fae985c6f9ba702d0c64f68e80822948c7884de9933cab861f6"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (\\Throwable)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Model/PriceTemplate.php"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"52ca5d94b2871cd44c367e7fa609038d3a8c6d9d7af277adcee70731616f02c6"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (\\Throwable)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Model/PriceTemplate.php"},"region":{"startLine":266}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f8b062fced5ff346a16992e42606e3c16a887035f46167d4f245ae08b7647cc"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (\\Throwable)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Model/PriceTemplate.php"},"region":{"startLine":277}}}],"partialFingerprints":{"codehealthFindingId/v1":"858e73c92ce721fe0614322a1f727a1a8e863633efca34114bb913688fa81ca2"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Model/UserLog.php"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"4de1a9592cde91f89b2cc207f82fb8412e29486a03c196ac663528dc54397d98"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Controller/Install.php"},"region":{"startLine":286}}}],"partialFingerprints":{"codehealthFindingId/v1":"3198aa74ab14ce36691a7e4b9b6febec41674ec33cfb90efb7245c4f882bece8"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Controller/Install.php"},"region":{"startLine":315}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ebd88d21109707588633b50657f72f2c41184f1dbe5dd8a9fbf1090e43ed69f"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Controller/Install.php"},"region":{"startLine":320}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbae881eff7ea86126b6fc82a4637fd2e67bf5ebe0de64c13e8468ffea7647e3"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Controller/User/Api/Authentication.php"},"region":{"startLine":568}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e63a24503bae6533c711f4c96795f4bcebb57caf135639f1ab09d1ee11402de"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Controller/User/Api/Card.php"},"region":{"startLine":344}}}],"partialFingerprints":{"codehealthFindingId/v1":"11e53700417179163463745db734214ab361200493a1ba0f2e5d2e4e689cb792"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Controller/User/Api/Card.php"},"region":{"startLine":352}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1ee451dfe6e306fe730cff4ebc0735f5a2bd4e401efcb661393b8e1f500c2aa"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Controller/User/Api/CommodityOrder.php"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"628ee4906239975f5da4be8d9db7d554d0e846a341fd4dea9012d047feab76b7"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (\\Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Controller/User/Api/Coupon.php"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"16fc970ee7282a34fb74e0fd40746cef06057661f90c8baf6da9a5845c59589e"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (\\Throwable)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Controller/User/Api/Promote.php"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"9631bd3bed1b7ad35239d843a20b4d27d7de601153eb439e26cab7b780450b8f"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (\\Throwable)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Controller/User/Api/Promote.php"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e492181986f92f6a355469e52567a9b838f49a1378d786653b4a58f38789166"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (\\Throwable)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Controller/User/Api/Security.php"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d4e57a5b56932d6acbe7be47b42e4a34794872607d635b49d99e0101f3bba70"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (\\Error | \\Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Controller/Shared/Commodity.php"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ee58c0ff99e1b595f0ea3f0f91e7602774650c925497be58fbc8b3fa00f7e54"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (\\Error | \\Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Controller/Shared/Commodity.php"},"region":{"startLine":365}}}],"partialFingerprints":{"codehealthFindingId/v1":"c26dbffdaf9fce9143d47ce89b653195278099e48286015f6cc0659ae5bf8cb0"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Controller/Admin/Api/Authentication.php"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"2493c96159872bdc3f4b2435a77e90184c2084dbd44b17b359b4ef02f641ba07"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Controller/Admin/Api/Authentication.php"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"25e7f49533be419ed686607fa9915bf32032c4d850baefaee26735577cb95b79"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (\\Throwable)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Controller/Admin/Api/Card.php"},"region":{"startLine":532}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee6f7e2283794476758b23ee311262b27ab5f61f20357d80828270f564eeb24b"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (\\Throwable)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Controller/Admin/Api/Config.php"},"region":{"startLine":556}}}],"partialFingerprints":{"codehealthFindingId/v1":"40a82f5e9c500f33d1d9011e2674c3d5aa736f9a8d96f4f41e473d3e805550dd"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (\\Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Controller/Admin/Api/Coupon.php"},"region":{"startLine":375}}}],"partialFingerprints":{"codehealthFindingId/v1":"6becde8707c694687e4b9b3fc9c9c1c411ed5d457af20d0b644fef08eeeeb68e"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Controller/Admin/Api/Dashboard.php"},"region":{"startLine":299}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdd5611d5bc4af17f668466013c8c82c7995699525a72df7c871beb2bd5d8f40"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Controller/Admin/Api/Dashboard.php"},"region":{"startLine":311}}}],"partialFingerprints":{"codehealthFindingId/v1":"15e141c833349cdb780a76834aee7471b8daca663154240111b777da3dd76897"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Controller/Admin/Api/Dashboard.php"},"region":{"startLine":315}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6fa86b3edf4b2c4ffa88d1bc59abd7834cd860c2225c8f50145ebc060883636"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Controller/Admin/Api/Order.php"},"region":{"startLine":474}}}],"partialFingerprints":{"codehealthFindingId/v1":"656914d0b0f2d597b497f77397de8e611d0e7d26e62faf70ef8c0beb18e17759"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (\\Throwable)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Controller/Admin/Api/PriceTemplate.php"},"region":{"startLine":304}}}],"partialFingerprints":{"codehealthFindingId/v1":"8722f364f32dd11637eaf4290480993031dfe9d476797a7b2d8c2d129c1955c8"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (\\Throwable)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Controller/Admin/Api/PriceTemplate.php"},"region":{"startLine":368}}}],"partialFingerprints":{"codehealthFindingId/v1":"f390de82548a8bb0e904706d2eaa1d61ec383aa3116429e493c27956b61f7a32"}},{"ruleId":"X5","level":"note","message":{"text":"PHP static analysis does not check null everywhere: This repository commits no PHPStan or Psalm configuration (\u0060phpstan.neon[.dist]\u0060, \u0060phpstan.dist.neon\u0060, \u0060psalm.xml[.dist]\u0060, or one a composer.json script names with \u0060--configuration\u0060), so nothing checks null: a \u0060?Customer\u0060 reaches \u0060-\u003Ename()\u0060 silently and throws \u0060Error: Call to a member function name() on null\u0060 the first time it is null. If the build passes a level on a command line instead, put it in a committed configuration \u2014 this check reads configuration, and configuration is all it can read."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"4ee877508ebc333ebff2765634874753d7fd67f71ea749a6c333792a59b461d7"}},{"ruleId":"X6","level":"note","message":{"text":"Hand-rolled JSON/XML parsing via regex: A regex whose pattern encodes JSON/XML syntax is parsing a structured format by hand \u2014 malformed or differently-typed content (e.g. \u0060\u0022amount\u0022: \u00225\u0022\u0060 as a string) silently mis-parses instead of failing validation. This JavaScript/TypeScript code already uses a real parser in the same package; use it here too."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/static/jquery.pjax.js"},"region":{"startLine":672}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1bb68f846cfa33f98203678bae66a526554203f843d5d591732e135d6ce4222"}},{"ruleId":"X6","level":"note","message":{"text":"Hand-rolled JSON/XML parsing via regex: A regex whose pattern encodes JSON/XML syntax is parsing a structured format by hand \u2014 malformed or differently-typed content (e.g. \u0060\u0022amount\u0022: \u00225\u0022\u0060 as a string) silently mis-parses instead of failing validation. This JavaScript/TypeScript code already uses a real parser in the same package; use it here too."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/static/jquery.pjax.js"},"region":{"startLine":673}}}],"partialFingerprints":{"codehealthFindingId/v1":"716ef66a57bbf47280d58211f738ebc4855d19386c61002e97c70ea30c6c0116"}},{"ruleId":"X6","level":"note","message":{"text":"Hand-rolled JSON/XML parsing via regex: A regex whose pattern encodes JSON/XML syntax is parsing a structured format by hand \u2014 malformed or differently-typed content (e.g. \u0060\u0022amount\u0022: \u00225\u0022\u0060 as a string) silently mis-parses instead of failing validation. This JavaScript/TypeScript code already uses a real parser in the same package; use it here too."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/static/layui/lay/modules/mobile.js"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"76492ff89fb85040b8de2b1399aff5b109880a53536e77eb70e3fc20762755e2"}},{"ruleId":"X6","level":"note","message":{"text":"Hand-rolled JSON/XML parsing via regex: A regex whose pattern encodes JSON/XML syntax is parsing a structured format by hand \u2014 malformed or differently-typed content (e.g. \u0060\u0022amount\u0022: \u00225\u0022\u0060 as a string) silently mis-parses instead of failing validation. This JavaScript/TypeScript code already uses a real parser in the same package; use it here too."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/common/js/_.js"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a07fc8e025c1ceeeb18ba42a26d3e1d02920524e5ac6ac11fcbc99f3a128570"}},{"ruleId":"X6","level":"note","message":{"text":"Hand-rolled JSON/XML parsing via regex: A regex whose pattern encodes JSON/XML syntax is parsing a structured format by hand \u2014 malformed or differently-typed content (e.g. \u0060\u0022amount\u0022: \u00225\u0022\u0060 as a string) silently mis-parses instead of failing validation. This JavaScript/TypeScript code already uses a real parser in the same package; use it here too."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/common/js/_.js"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"e640ca4ab76760ae593be6aae2adf5ecf10e8fbbe7811ce06ff9dc6ca50fba86"}},{"ruleId":"X6","level":"note","message":{"text":"Hand-rolled JSON/XML parsing via regex: A regex whose pattern encodes JSON/XML syntax is parsing a structured format by hand \u2014 malformed or differently-typed content (e.g. \u0060\u0022amount\u0022: \u00225\u0022\u0060 as a string) silently mis-parses instead of failing validation. This JavaScript/TypeScript code already uses a real parser in the same package; use it here too."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/common/js/editor/editor.js"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ae8d65982bbd8d0d9da8d08cd877be4d0662b880467d4a5be8079af862ce9cb"}},{"ruleId":"X6","level":"note","message":{"text":"Hand-rolled JSON/XML parsing via regex: A regex whose pattern encodes JSON/XML syntax is parsing a structured format by hand \u2014 malformed or differently-typed content (e.g. \u0060\u0022amount\u0022: \u00225\u0022\u0060 as a string) silently mis-parses instead of failing validation. This JavaScript/TypeScript code already uses a real parser in the same package; use it here too."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/common/js/editor/markdown/_editorv2.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"038780e7aa94af1109d22f27e369c236dab4629a9456be727049bd14487547ea"}},{"ruleId":"X6","level":"note","message":{"text":"Hand-rolled JSON/XML parsing via regex: A regex whose pattern encodes JSON/XML syntax is parsing a structured format by hand \u2014 malformed or differently-typed content (e.g. \u0060\u0022amount\u0022: \u00225\u0022\u0060 as a string) silently mis-parses instead of failing validation. This JavaScript/TypeScript code already uses a real parser in the same package; use it here too."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/common/js/editor/markdown/editorv2.js"},"region":{"startLine":678}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b361e58dc76270a179d2095e093edc98c4617e94c9f05bbcb012afc15de9a4b"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060storedJsonConfig\u0060 swallows every exception into \u0060return []\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it propagate. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment in the catch or in the docblock, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Controller/Admin/Api/Config.php"},"region":{"startLine":556}}}],"partialFingerprints":{"codehealthFindingId/v1":"766462a01ac16478568dfafd53cad951810112c451543c37c66135561a83eed1"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060pricedCategoryCount\u0060 swallows every exception into \u0060return 0\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it propagate. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment in the catch or in the docblock, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Controller/Admin/Api/PriceTemplate.php"},"region":{"startLine":304}}}],"partialFingerprints":{"codehealthFindingId/v1":"d991a5d9d8f05cf6ad40bec4daed8c53a9582e321684d2c2d98c6dc7dcb849d2"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060emailConfig\u0060 swallows every exception into \u0060return []\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it propagate. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment in the catch or in the docblock, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Service/Bind/Email.php"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"2274da46b63f759de52fb6a30b4cae531bcf331185dfd761a91747a254d98157"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060revokeAll\u0060 swallows every exception into \u0060return 0\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it propagate. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment in the catch or in the docblock, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Service/UserSessionManager.php"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d9881f4a48ff74e2c780c41ff8a0f4e17dadd7f54c1c77974755ac262f6cebc"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060lookup\u0060 swallows every exception into \u0060return []\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it propagate. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment in the catch or in the docblock, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Util/CardFile/Link.php"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"236c174fab19fa62563666571ea2766752040d5ecea7322e1b0a3a2c6d6355dd"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060forCards\u0060 swallows every exception into \u0060return 0\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it propagate. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment in the catch or in the docblock, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Util/CardFile/Purge.php"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a131d137656457cb4f38c7f78b75fad0098990c7a80b310405f27059a3dd482"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060forOrders\u0060 swallows every exception into \u0060return 0\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it propagate. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment in the catch or in the docblock, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Util/CardFile/Purge.php"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d62dda4c0abc74e0eba2d9437242420ae282c07089fe220d2277014a687dc6b"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060staged\u0060 swallows every exception into \u0060return 0\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it propagate. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment in the catch or in the docblock, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Util/CardFile/Purge.php"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"cca5a03458d95b0c0c00373968287f1e3a7b2f51bd9fe8fa2373cd357e2168b5"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060resolveClientMode\u0060 swallows every exception into \u0060return 0\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it propagate. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment in the catch or in the docblock, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Util/Client.php"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"c06ccea9e831dedc92d9f35668e5d1947f9947ca617cdf885ea26c4496fbe8c7"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060secret\u0060 swallows every exception into \u0060return \u0027acg\u0027\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it propagate. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment in the catch or in the docblock, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Util/Csp.php"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"442bc0e6414fa73fd1a1358c8bcde0dc1d5c4fc80efb39fcc3396648b6394308"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060allowList\u0060 swallows every exception into \u0060return []\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it propagate. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment in the catch or in the docblock, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Util/Csp.php"},"region":{"startLine":465}}}],"partialFingerprints":{"codehealthFindingId/v1":"944b810f2e2b9b1b2750894afd659af28313c0b1f0f522e8fa7ace354f587f26"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060recentDenied\u0060 swallows every exception into \u0060return []\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it propagate. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment in the catch or in the docblock, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Util/IpWhitelist.php"},"region":{"startLine":280}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6c26e8deb94dadaffaa8222d5afce4e1b05ca23b2a5659fab0c59457926e0f0"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060release\u0060 swallows every exception into \u0060return 0\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it propagate. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment in the catch or in the docblock, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Util/LangRecycle.php"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"26ac2d706790ea3bb6e07a5a416dbafaf174853201d4c537e0c5ee798b6ad3ab"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060sanitize\u0060 swallows every exception into \u0060return \u0027\u0027\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it propagate. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment in the catch or in the docblock, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Util/RichHtml.php"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"17e7b26c08153779419473a008bb8ee03b023bfedc4a6486e7bdcde55e5fad55"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060config\u0060 swallows every exception into \u0060return \u0027\u0027\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it propagate. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment in the catch or in the docblock, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Util/SharedPayload.php"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d2db5936f67ad6dd91bf723e234b5cd3b4db281cd287e068b7e1630abbfb6e0"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060configArray\u0060 swallows every exception into \u0060return []\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it propagate. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment in the catch or in the docblock, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/Util/Sku.php"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"80f568eea68296541d59092946a4897b889a20db279af1970e20d5d5465b42fb"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060forgetExtension\u0060 swallows every exception into \u0060return 0\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it propagate. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment in the catch or in the docblock, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kernel/Util/Lang.php"},"region":{"startLine":898}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d94700faa0e6bef67afee8692d1a4b2947c6d3555a19518a6ea81e5fda2e4ad"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060version\u0060 swallows every exception into \u0060return \u00220\u0022\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it propagate. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment in the catch or in the docblock, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kernel/Util/Lang.php"},"region":{"startLine":1095}}}],"partialFingerprints":{"codehealthFindingId/v1":"11b7b65da04a921e010f93c91a6af9599af779f394424a44077a63c628c60197"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060loadDict\u0060 swallows every exception into \u0060return []\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it propagate. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment in the catch or in the docblock, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kernel/Util/Lang.php"},"region":{"startLine":1134}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b00fb034b3536dab582278d4a146abaff033eeb7e19c21164bf776cd92ebcfc"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060safeHttpUrl\u0060 swallows every exception into \u0060return \u0027\u0027\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/dashboard/index.js"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"0413866c2f1851d7715863e9227784d611adc0dfb8726ab93df46725f604ea4e"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060safePublicUrl\u0060 swallows every exception into \u0060return \u0027\u0027\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/file/index.js"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"bec1e25de378282edc55596d1fad2895f1bbffae7eba01bb941d998b55d4bdd9"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060safeImageUrl\u0060 swallows every exception into \u0060return \u0027/favicon.ico\u0027\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/manage/manage.js"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e187b2eb64ef4dc3e196e8f0dfada362e2e406dd3e66736a5fc4b009540d136"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060normalizeHttpUrl\u0060 swallows every exception into \u0060return \u0027\u0027\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/pay/api.js"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7ba7bd2b0acc03e605eca46b0d8835dc60ce937b1e619ff16189165d068d4ce"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060safeImageUrl\u0060 swallows every exception into \u0060return \u0027/favicon.ico\u0027\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/pay/plugin.js"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ac820be4bd196b091894cc19daac95c61690069a79e634bdfd57b23b769a2dd"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060safeImageUrl\u0060 swallows every exception into \u0060return \u0027\u0027\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/trade/coupon.js"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bc57dee10a4a11e98582a6c5cf86bced5fb0be9064191f470eed8a59cd4e9a8"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060parseWidget\u0060 swallows every exception into \u0060return []\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/trade/order.js"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"618860f0704d06180be42e929782a0926cf182c3709d06a775922553d28e4b33"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060safeImageUrl\u0060 swallows every exception into \u0060return \u0027/favicon.ico\u0027\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/user/business.level.js"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"11bef45aca6ae494b5f4219f93a02f57f4ef19d1d8e5004cabb9393dfff08618"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060safeImageUrl\u0060 swallows every exception into \u0060return \u0027/favicon.ico\u0027\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/user/group.js"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"82ba426ac01a5fc948807ace70700943e8bbb6f96e8cbb6df6a93d6ef3a264ff"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060safeImageUrl\u0060 swallows every exception into \u0060return \u0027\u0027\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/controller/user/ticket.js"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba30ebdeaa61ff98bbb2c72937e643f79d751d134c058318686bc37487677571"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060getPref\u0060 swallows every exception into \u0060return \u0027auto\u0027\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/js/material.js"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad8e8757ad39f4b11995bb0ca78046ac400eaa241773c73eacf3344cfaafa1dc"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060discoveredControls\u0060 swallows every exception into \u0060return false\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/js/mobile/fallback.js"},"region":{"startLine":971}}}],"partialFingerprints":{"codehealthFindingId/v1":"06d60fe234f56b151a9764cbbb0bccb9de76000f3fd5e39c81c244abbb9ce02d"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060availableActions\u0060 swallows every exception into \u0060return false\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/js/mobile/fallback.js"},"region":{"startLine":1016}}}],"partialFingerprints":{"codehealthFindingId/v1":"19a4fc9aa59236127663cd0d3341cfd484920fedada8edc5d95e32968281186f"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060columnAvailable\u0060 swallows every exception into \u0060return false\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/js/mobile/fallback.js"},"region":{"startLine":1122}}}],"partialFingerprints":{"codehealthFindingId/v1":"922d33afe2c08a6e87debe3713f8222dd0841af34a37de0e457fec54722b748b"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060readTheme\u0060 swallows every exception into \u0060return \u0027auto\u0027\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/js/mobile/shell.js"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"94f3922a8a314ecb4b66ed1682b0c3c1444ed9acf26a2f63e77d9c7b8c2abc6a"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060controlIsInlineAction\u0060 swallows every exception into \u0060return false\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/admin/js/mobile/workflows.js"},"region":{"startLine":969}}}],"partialFingerprints":{"codehealthFindingId/v1":"de698dc40b70a8dcf1900c99947afaa7fadf93b6bd02dc925dd5b29beea48e4f"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060safeNavigationUrl\u0060 swallows every exception into \u0060return \u0027\u0027\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/common/js/component.js"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a5e890e10b1db8ab647c711e33bf16fc178d0abb82a80035cd41ae48f8bd388"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060safeMessageImageUrl\u0060 swallows every exception into \u0060return \u0027\u0027\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/common/js/component.js"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"121f17bed6ded7406cdaa48ab17c2dcec3364035df17cdf79a87a66229cc5c7f"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060normalizeLink\u0060 (in \u0060sanitizeInlineHtml\u0060) swallows every exception into \u0060return \u0027\u0027\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/common/js/component.js"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5ae7e3bf5e4d4b40f2de4b9e30a106aa2eb0ee9bbf34d806f7d9fc08e7e946e"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060gutterEvent\u0060 swallows every exception into \u0060return false\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/static/codemirror/lib/codemirror.js"},"region":{"startLine":7655}}}],"partialFingerprints":{"codehealthFindingId/v1":"0574e7d0479a7cbb3c9b123d6dc70c9ed4e35d3683008821b85549bb52888ef9"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060cleanUrl\u0060 (in \u0060sanitizeHtml\u0060) swallows every exception into \u0060return \u0027\u0027\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/user/controller/user/ticket.detail.js"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9610217b49dd398458de1afc978cb6074207757e965b6cad90a7911437be560"}}],"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-125","guid":"98717707-96bf-ca5b-9568-8d1d257574c1","name":"CWE-125","shortDescription":{"text":"CWE-125"},"helpUri":"https://cwe.mitre.org/data/definitions/125.html"},{"id":"CWE-1333","guid":"11a336ce-63de-c45c-845e-29ca1e8df13d","name":"CWE-1333","shortDescription":{"text":"CWE-1333"},"helpUri":"https://cwe.mitre.org/data/definitions/1333.html"},{"id":"CWE-1357","guid":"e4d2e772-757e-0a5c-bd7d-77052949d866","name":"Reliance on Insufficiently Trustworthy Component","shortDescription":{"text":"Reliance on Insufficiently Trustworthy Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1357.html"},{"id":"CWE-1395","guid":"800e09e7-c11a-8654-9fa6-86f398995fed","name":"Dependency on Vulnerable Third-Party Component","shortDescription":{"text":"Dependency on Vulnerable Third-Party Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1395.html"},{"id":"CWE-16","guid":"659db3ea-affc-8453-8add-c1218fbfcb92","name":"Configuration","shortDescription":{"text":"Configuration"},"helpUri":"https://cwe.mitre.org/data/definitions/16.html"},{"id":"CWE-259","guid":"ae9ad959-fbb6-9d5e-892d-3dca66da0b69","name":"Use of Hard-coded Password","shortDescription":{"text":"Use of Hard-coded Password"},"helpUri":"https://cwe.mitre.org/data/definitions/259.html"},{"id":"CWE-353","guid":"09d7e902-d4ee-f05d-ae6c-0a1554d0c18f","name":"Missing Support for Integrity Check","shortDescription":{"text":"Missing Support for Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/353.html"},{"id":"CWE-457","guid":"b62874fe-6222-8b5b-8ade-9527ad1cbb4a","name":"CWE-457","shortDescription":{"text":"CWE-457"},"helpUri":"https://cwe.mitre.org/data/definitions/457.html"},{"id":"CWE-470","guid":"cb7c8905-5e4e-8953-beaa-c539c9922a31","name":"Use of Externally-Controlled Input to Select Classes or Code (\u0027Unsafe Reflection\u0027)","shortDescription":{"text":"Use of Externally-Controlled Input to Select Classes or Code (\u0027Unsafe Reflection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/470.html"},{"id":"CWE-494","guid":"b8a65e0d-e459-4a55-a931-fc1136482375","name":"Download of Code Without Integrity Check","shortDescription":{"text":"Download of Code Without Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/494.html"},{"id":"CWE-506","guid":"401d6455-56e3-0552-9a39-f77461673e3f","name":"Embedded Malicious Code","shortDescription":{"text":"Embedded Malicious Code"},"helpUri":"https://cwe.mitre.org/data/definitions/506.html"},{"id":"CWE-522","guid":"71fb233e-ce6a-ae57-9419-ef8373540b09","name":"Insufficiently Protected Credentials","shortDescription":{"text":"Insufficiently Protected Credentials"},"helpUri":"https://cwe.mitre.org/data/definitions/522.html"},{"id":"CWE-732","guid":"1da27e8f-b330-7650-ab63-bd61953eae5d","name":"Incorrect Permission Assignment for Critical Resource","shortDescription":{"text":"Incorrect Permission Assignment for Critical Resource"},"helpUri":"https://cwe.mitre.org/data/definitions/732.html"},{"id":"CWE-77","guid":"332c8ade-6612-9f56-a06b-d8d90b1a8750","name":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/77.html"},{"id":"CWE-78","guid":"2e31ceaf-c7ae-2e5e-9661-cfb1362789cf","name":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/78.html"},{"id":"CWE-79","guid":"fd45580b-e8c4-fc5e-8c2f-aa8fab0b4dbf","name":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)","shortDescription":{"text":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/79.html"},{"id":"CWE-798","guid":"5e8f057d-fee3-995a-a0cb-9fc5b0d174d1","name":"Use of Hard-coded Credentials","shortDescription":{"text":"Use of Hard-coded Credentials"},"helpUri":"https://cwe.mitre.org/data/definitions/798.html"},{"id":"CWE-829","guid":"13c33925-97fb-5a5e-b40c-56d328b8a4d7","name":"Inclusion of Functionality from Untrusted Control Sphere","shortDescription":{"text":"Inclusion of Functionality from Untrusted Control Sphere"},"helpUri":"https://cwe.mitre.org/data/definitions/829.html"},{"id":"CWE-89","guid":"6d08fdad-37eb-c150-bbf0-d7d946863407","name":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/89.html"},{"id":"CWE-918","guid":"2e9b9091-5a0f-dc57-b644-7ad04bd56e64","name":"Server-Side Request Forgery (SSRF)","shortDescription":{"text":"Server-Side Request Forgery (SSRF)"},"helpUri":"https://cwe.mitre.org/data/definitions/918.html"},{"id":"CWE-937","guid":"16f316ae-415c-b354-a59b-1f7905f756e9","name":"Using Components with Known Vulnerabilities","shortDescription":{"text":"Using Components with Known Vulnerabilities"},"helpUri":"https://cwe.mitre.org/data/definitions/937.html"},{"id":"CWE-94","guid":"75e7f50c-6c2f-dd52-bf40-bf6c52b861fd","name":"Improper Control of Generation of Code (\u0027Code Injection\u0027)","shortDescription":{"text":"Improper Control of Generation of Code (\u0027Code Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/94.html"}]},{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61","version":"2025","organization":"OWASP Foundation","informationUri":"https://top10.owasp.org/2025/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10:2025 web application security risks."},"taxa":[{"id":"A01:2025","guid":"df693558-c822-0452-8f7b-4d53cb6bcc59","name":"Broken Access Control","shortDescription":{"text":"Broken Access Control"},"helpUri":"https://top10.owasp.org/2025/A01_2025-Broken_Access_Control/"},{"id":"A02:2025","guid":"668dee9e-41bc-6354-97d0-fdf8f40c50c1","name":"Security Misconfiguration","shortDescription":{"text":"Security Misconfiguration"},"helpUri":"https://top10.owasp.org/2025/A02_2025-Security_Misconfiguration/"},{"id":"A03:2025","guid":"168e227c-7735-2e57-bc6e-997affe644c5","name":"Software Supply Chain Failures","shortDescription":{"text":"Software Supply Chain Failures"},"helpUri":"https://top10.owasp.org/2025/A03_2025-Software_Supply_Chain_Failures/"},{"id":"A05:2025","guid":"87e86033-3231-8458-8e4a-5cb82743553a","name":"Injection","shortDescription":{"text":"Injection"},"helpUri":"https://top10.owasp.org/2025/A05_2025-Injection/"},{"id":"A06:2025","guid":"491554d7-b8e4-9652-91a9-53700dc92ece","name":"Insecure Design","shortDescription":{"text":"Insecure Design"},"helpUri":"https://top10.owasp.org/2025/A06_2025-Insecure_Design/"},{"id":"A07:2025","guid":"334ddd78-539d-d35c-83dd-253647eb7eaf","name":"Authentication Failures","shortDescription":{"text":"Authentication Failures"},"helpUri":"https://top10.owasp.org/2025/A07_2025-Authentication_Failures/"},{"id":"A08:2025","guid":"84b0c297-710e-9a5f-9335-936ecb260c36","name":"Software or Data Integrity Failures","shortDescription":{"text":"Software or Data Integrity Failures"},"helpUri":"https://top10.owasp.org/2025/A08_2025-Software_or_Data_Integrity_Failures/"}]},{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35","organization":"OWASP Foundation","informationUri":"https://owasp.org/www-project-top-10-ci-cd-security-risks/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10 CI/CD Security Risks."},"taxa":[{"id":"CICD-SEC-3","guid":"458c83a6-ebf7-cf55-8cc3-b4d949bbf271","name":"Dependency Chain Abuse","shortDescription":{"text":"Dependency Chain Abuse"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-03-Dependency-Chain-Abuse"},{"id":"CICD-SEC-6","guid":"f2ee2486-b260-2952-a41f-6b67fa713940","name":"Insufficient Credential Hygiene","shortDescription":{"text":"Insufficient Credential Hygiene"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-06-Insufficient-Credential-Hygiene"},{"id":"CICD-SEC-8","guid":"b6b2dacf-a168-4957-876e-a8c73ee00eb0","name":"Ungoverned Usage of 3rd Party Services","shortDescription":{"text":"Ungoverned Usage of 3rd Party Services"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-08-Ungoverned-Usage-of-3rd-Party-Services"},{"id":"CICD-SEC-9","guid":"b3d36727-0395-5b51-94c4-5e173d62eab3","name":"Improper Artifact Integrity Validation","shortDescription":{"text":"Improper Artifact Integrity Validation"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-09-Improper-Artifact-Integrity-Validation"}]}],"properties":{"codehealthPublication":{"public":true,"notice":"This is the PUBLIC form of this artifact. Findings are listed in full, but the details of SECURITY findings \u2014 which rule fired, in which file, on which line, and how to fix it \u2014 are deliberately withheld, and any secret-scanner results are excluded entirely. Where detail is absent here it was REMOVED FOR PUBLICATION; it is not missing from the analysis. The complete artifact is available from the repository owner.","securityFindingsRedacted":70,"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."]}]}