{"$schema":"https://json.schemastore.org/sarif-2.1.0.json","version":"2.1.0","runs":[{"tool":{"driver":{"name":"codehealth","informationUri":"https://codehealth.canine.dev","rules":[{"id":"D1","name":"Cyclomatic Complexity","shortDescription":{"text":"Cyclomatic Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D1"},{"id":"D2","name":"Cognitive Complexity","shortDescription":{"text":"Cognitive Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D2"},{"id":"D3","name":"God Classes","shortDescription":{"text":"God Classes"},"helpUri":"https://codehealth.canine.dev/dimensions/D3"},{"id":"D4","name":"Code Duplication","shortDescription":{"text":"Code Duplication"},"helpUri":"https://codehealth.canine.dev/dimensions/D4"},{"id":"D6","name":"Cohesion (LCOM4)","shortDescription":{"text":"Cohesion (LCOM4)"},"helpUri":"https://codehealth.canine.dev/dimensions/D6"},{"id":"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":"D15","name":"Churn \u00D7 Complexity Hotspots","shortDescription":{"text":"Churn \u00D7 Complexity Hotspots"},"helpUri":"https://codehealth.canine.dev/dimensions/D15"},{"id":"D16","name":"Bus Factor","shortDescription":{"text":"Bus Factor"},"helpUri":"https://codehealth.canine.dev/dimensions/D16"},{"id":"D17","name":"Explicit Debt","shortDescription":{"text":"Explicit Debt"},"helpUri":"https://codehealth.canine.dev/dimensions/D17"},{"id":"D21","name":"Naming Consistency","shortDescription":{"text":"Naming Consistency"},"helpUri":"https://codehealth.canine.dev/dimensions/D21"},{"id":"D26","name":"Project Cohesion","shortDescription":{"text":"Project Cohesion"},"helpUri":"https://codehealth.canine.dev/dimensions/D26"},{"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":"D32","name":"Data Compliance (PII/GDPR)","shortDescription":{"text":"Data Compliance (PII/GDPR)"},"helpUri":"https://codehealth.canine.dev/dimensions/D32","relationships":[{"target":{"id":"CWE-359","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-312","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-200","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A01:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-359","CWE-312","CWE-200"],"owasp":"A01: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":"D37","name":"Vulnerability-disclosure Policy","shortDescription":{"text":"Vulnerability-disclosure Policy"},"helpUri":"https://codehealth.canine.dev/dimensions/D37","relationships":[{"target":{"id":"CWE-1059","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A02:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1059"],"owasp":"A02:2025"}},{"id":"D44","name":"Platform End-of-Life","shortDescription":{"text":"Platform End-of-Life"},"helpUri":"https://codehealth.canine.dev/dimensions/D44"},{"id":"AC2","name":"Forms \u0026 labels","shortDescription":{"text":"Forms \u0026 labels"},"helpUri":"https://codehealth.canine.dev/dimensions/AC2"},{"id":"AC7","name":"A11y enforcement","shortDescription":{"text":"A11y enforcement"},"helpUri":"https://codehealth.canine.dev/dimensions/AC7"},{"id":"AX10","name":"Code composition","shortDescription":{"text":"Code composition"},"helpUri":"https://codehealth.canine.dev/dimensions/AX10"},{"id":"AX3","name":"Project dependency cycles","shortDescription":{"text":"Project dependency cycles"},"helpUri":"https://codehealth.canine.dev/dimensions/AX3"},{"id":"AX4","name":"Dependency direction","shortDescription":{"text":"Dependency direction"},"helpUri":"https://codehealth.canine.dev/dimensions/AX4"},{"id":"ED5","name":"Idempotency","shortDescription":{"text":"Idempotency"},"helpUri":"https://codehealth.canine.dev/dimensions/ED5"},{"id":"M1","name":"Documentation (README)","shortDescription":{"text":"Documentation (README)"},"helpUri":"https://codehealth.canine.dev/dimensions/M1"},{"id":"M2","name":"Architecture documentation","shortDescription":{"text":"Architecture documentation"},"helpUri":"https://codehealth.canine.dev/dimensions/M2"},{"id":"M3","name":"Folder \u0026 project structure","shortDescription":{"text":"Folder \u0026 project structure"},"helpUri":"https://codehealth.canine.dev/dimensions/M3"},{"id":"M4","name":"Documentation accuracy","shortDescription":{"text":"Documentation accuracy"},"helpUri":"https://codehealth.canine.dev/dimensions/M4"},{"id":"P1","name":"CI/CD gates","shortDescription":{"text":"CI/CD gates"},"helpUri":"https://codehealth.canine.dev/dimensions/P1"},{"id":"P3","name":"Security \u0026 performance tooling","shortDescription":{"text":"Security \u0026 performance tooling"},"helpUri":"https://codehealth.canine.dev/dimensions/P3"},{"id":"P6","name":"Release Hygiene","shortDescription":{"text":"Release Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/P6"},{"id":"P7","name":"Outbound HTTP resilience","shortDescription":{"text":"Outbound HTTP resilience"},"helpUri":"https://codehealth.canine.dev/dimensions/P7"},{"id":"P8","name":"Schema migrations","shortDescription":{"text":"Schema migrations"},"helpUri":"https://codehealth.canine.dev/dimensions/P8"},{"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":"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":"X1","name":"Async correctness","shortDescription":{"text":"Async correctness"},"helpUri":"https://codehealth.canine.dev/dimensions/X1"},{"id":"X10","name":"Duplicated predicate","shortDescription":{"text":"Duplicated predicate"},"helpUri":"https://codehealth.canine.dev/dimensions/X10"},{"id":"X12","name":"Unreachable branch","shortDescription":{"text":"Unreachable branch"},"helpUri":"https://codehealth.canine.dev/dimensions/X12"},{"id":"X13","name":"Undrained process stream","shortDescription":{"text":"Undrained process stream"},"helpUri":"https://codehealth.canine.dev/dimensions/X13"},{"id":"X14","name":"Bypassable address classification","shortDescription":{"text":"Bypassable address classification"},"helpUri":"https://codehealth.canine.dev/dimensions/X14"},{"id":"X15","name":"Unvalidated length from an untrusted reader","shortDescription":{"text":"Unvalidated length from an untrusted reader"},"helpUri":"https://codehealth.canine.dev/dimensions/X15"},{"id":"X16","name":"Unfloored truncation loop","shortDescription":{"text":"Unfloored truncation loop"},"helpUri":"https://codehealth.canine.dev/dimensions/X16"},{"id":"X17","name":"Uncapped recursion over a caller-supplied document","shortDescription":{"text":"Uncapped recursion over a caller-supplied document"},"helpUri":"https://codehealth.canine.dev/dimensions/X17"},{"id":"X18","name":"Disposal-pattern correctness","shortDescription":{"text":"Disposal-pattern correctness"},"helpUri":"https://codehealth.canine.dev/dimensions/X18"},{"id":"X19","name":"Unrestored process-global state","shortDescription":{"text":"Unrestored process-global state"},"helpUri":"https://codehealth.canine.dev/dimensions/X19"},{"id":"X20","name":"Mistyped argument guard","shortDescription":{"text":"Mistyped argument guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X20"},{"id":"X21","name":"Side-effecting pattern guard","shortDescription":{"text":"Side-effecting pattern guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X21"},{"id":"X22","name":"Contradicted release guard","shortDescription":{"text":"Contradicted release guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X22"},{"id":"X23","name":"Unguarded diagnostic materialisation","shortDescription":{"text":"Unguarded diagnostic materialisation"},"helpUri":"https://codehealth.canine.dev/dimensions/X23"},{"id":"X24","name":"Document value interpolated into markup unescaped","shortDescription":{"text":"Document value interpolated into markup unescaped"},"helpUri":"https://codehealth.canine.dev/dimensions/X24"},{"id":"X25","name":"Inert configuration knob","shortDescription":{"text":"Inert configuration knob"},"helpUri":"https://codehealth.canine.dev/dimensions/X25"},{"id":"X26","name":"Unsynchronised callback handoff","shortDescription":{"text":"Unsynchronised callback handoff"},"helpUri":"https://codehealth.canine.dev/dimensions/X26"},{"id":"X28","name":"Index access outside its own emptiness guard","shortDescription":{"text":"Index access outside its own emptiness guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X28"},{"id":"X29","name":"Per-element action decided by a fixed element","shortDescription":{"text":"Per-element action decided by a fixed element"},"helpUri":"https://codehealth.canine.dev/dimensions/X29"},{"id":"X3","name":"Exception handling","shortDescription":{"text":"Exception handling"},"helpUri":"https://codehealth.canine.dev/dimensions/X3"},{"id":"X30","name":"Support guard that admits what it rejects","shortDescription":{"text":"Support guard that admits what it rejects"},"helpUri":"https://codehealth.canine.dev/dimensions/X30"},{"id":"X32","name":"Type resolved by simple name across every loaded assembly","shortDescription":{"text":"Type resolved by simple name across every loaded assembly"},"helpUri":"https://codehealth.canine.dev/dimensions/X32"},{"id":"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":"sm-extend.Swiper (cyclomatic 688): sm-extend.Swiper has cyclomatic complexity 688 (threshold 15). Of this number, 166 points are the body\u0027s own statements and 522 belong to 81 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":"app/apphtml5/theme/base/html5/assets/js/sm-extend.js"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"baf807fcd98e01670d5019f68e895b7b8ff55953ee014ebd8af3ff850fd8b96b"}},{"ruleId":"D1","level":"warning","message":{"text":"sm.Calendar (cyclomatic 291): sm.Calendar has cyclomatic complexity 291 (threshold 15). Of this number, 47 points are the body\u0027s own statements and 244 belong to 39 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":"app/apphtml5/theme/base/html5/assets/js/sm.js"},"region":{"startLine":1710}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bbd975d4f8ffd360acb33611b384ccf22d34740faa4cfee06e91c8a98e7f97e"}},{"ruleId":"D1","level":"warning","message":{"text":"sm-extend.PhotoBrowser (cyclomatic 150): sm-extend.PhotoBrowser has cyclomatic complexity 150 (threshold 15). Of this number, 58 points are the body\u0027s own statements and 92 belong to 27 function literals inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/apphtml5/theme/base/html5/assets/js/sm-extend.js"},"region":{"startLine":2769}}}],"partialFingerprints":{"codehealthFindingId/v1":"4839e6facb04c144086ff98e590c72db7477775795f8ff018b26a3afbed713eb"}},{"ruleId":"D1","level":"warning","message":{"text":"sm.Picker (cyclomatic 119): sm.Picker has cyclomatic complexity 119 (threshold 15). Of this number, 30 points are the body\u0027s own statements and 89 belong to 23 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":"app/apphtml5/theme/base/html5/assets/js/sm.js"},"region":{"startLine":2948}}}],"partialFingerprints":{"codehealthFindingId/v1":"d79bb6ed55bb1eede8fba60dc290fcbd66aa5c81dae49573c2a9cf7e5af1879a"}},{"ruleId":"D1","level":"warning","message":{"text":"MobileDetect.mobileGrade (cyclomatic 77): MobileDetect.mobileGrade has cyclomatic complexity 77 (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":"services/helper/MobileDetect.php"},"region":{"startLine":1242}}}],"partialFingerprints":{"codehealthFindingId/v1":"00304f220f0ab11344774a436199860f4bbc616cdecc089f578b13f3c78b559f"}},{"ruleId":"D1","level":"warning","message":{"text":"ProductApi.checkShopfwPostDataRequireAndInt (cyclomatic 76): ProductApi.checkShopfwPostDataRequireAndInt has cyclomatic complexity 76 (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":"services/product/ProductApi.php"},"region":{"startLine":553}}}],"partialFingerprints":{"codehealthFindingId/v1":"08e0dde05a4d94f8512e2dd60ae9271ebc1efe5c11eff39c14b9cccfa8198d3b"}},{"ruleId":"D1","level":"warning","message":{"text":"ProductApi.checkPostDataRequireAndInt (cyclomatic 75): ProductApi.checkPostDataRequireAndInt has cyclomatic complexity 75 (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":"services/product/ProductApi.php"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"c03ae5e77a96fb8e4efd160c268d533c64122802bf5c669ba17c4087453dc112"}},{"ruleId":"D1","level":"warning","message":{"text":"Managerbatchedit.initParamType (cyclomatic 69): Managerbatchedit.initParamType has cyclomatic complexity 69 (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/appadmin/modules/Catalog/block/productinfo/Managerbatchedit.php"},"region":{"startLine":500}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f9d1a24b7f081183f9c685114d24ae1175365b59cf4cfd9f88d24da4974fa19"}},{"ruleId":"D1","level":"warning","message":{"text":"Manageredit.initParamType (cyclomatic 69): Manageredit.initParamType has cyclomatic complexity 69 (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/appadmin/modules/Catalog/block/productinfo/Manageredit.php"},"region":{"startLine":457}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f15939030700de544d64062e72add6ad15ea640358091c0113a6dc07b805c30"}},{"ruleId":"D1","level":"warning","message":{"text":"AppadminbaseBlockEdit.getEditBar (cyclomatic 66): AppadminbaseBlockEdit.getEditBar has cyclomatic complexity 66 (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/appadmin/modules/AppadminbaseBlockEdit.php"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"4da98d981b3c73aff5ea6cc536936041be3f33e83efc3a2b66f26e398c2b399e"}},{"ruleId":"D1","level":"warning","message":{"text":"Swiper::onTouchMove (cyclomatic 62): Swiper::onTouchMove has cyclomatic complexity 62 (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/apphtml5/theme/base/html5/assets/js/sm-extend.js"},"region":{"startLine":946}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e536ea3282977c152e64d4e65edb0893d23d23dae9d9678a3e8249a048e19da"}},{"ruleId":"D1","level":"warning","message":{"text":"Swiper::onTouchEnd (cyclomatic 57): Swiper::onTouchEnd has cyclomatic complexity 57 (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/apphtml5/theme/base/html5/assets/js/sm-extend.js"},"region":{"startLine":1096}}}],"partialFingerprints":{"codehealthFindingId/v1":"be88b78f3a760473e7ffb3168745f8a312238ba9969a4a7553379dce521f09c4"}},{"ruleId":"D1","level":"warning","message":{"text":"Index.initAddress (cyclomatic 51): Index.initAddress has cyclomatic complexity 51 (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/appserver/modules/Checkout/block/onepage/Index.php"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"e39f39a430e03a547a097cbb558e5c07d3ce2edd476a736f1d36b01af54f0d1d"}},{"ruleId":"D1","level":"warning","message":{"text":"Index.initAddress (cyclomatic 50): Index.initAddress has cyclomatic complexity 50 (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/appfront/modules/Checkout/block/onepage/Index.php"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"656353d1035b7d029e626ab63f14defd76b03590abe2a08ac5d682d10d49d5df"}},{"ruleId":"D1","level":"warning","message":{"text":"Index.initAddress (cyclomatic 50): Index.initAddress has cyclomatic complexity 50 (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/apphtml5/modules/Checkout/block/onepage/Index.php"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ad8447a706d127a5925aa5a80556eb33049acbfe3c60089b51a58362813ecdf"}},{"ruleId":"D1","level":"warning","message":{"text":"Index.getTableTbodyHtml (cyclomatic 40): Index.getTableTbodyHtml has cyclomatic complexity 40 (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/appadmin/modules/Catalog/block/productinfo/Index.php"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cb3a9e3de073d38c53b7aaa7f9cea1685d79a12b7a9d4e34e101bbdd7efc09c"}},{"ruleId":"D1","level":"warning","message":{"text":"sm.$.initSwipePanels::handleTouchMove (cyclomatic 40): sm.$.initSwipePanels::handleTouchMove has cyclomatic complexity 40 (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: 2 other methods here (sm.$.initSwipePanels::handleTouchStart, sm.$.initSwipePanels::handleTouchEnd) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 3 times rather than 3 independent problems. Splitting this body alone leaves the other 2 exactly as they are. Where these are variations on one operation, the change that clears all 3 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/apphtml5/theme/base/html5/assets/js/sm.js"},"region":{"startLine":6723}}}],"partialFingerprints":{"codehealthFindingId/v1":"8655a564c5f2332beaf88243728ee190793dd756edcbe6c8195580512dc3a894"}},{"ruleId":"D1","level":"warning","message":{"text":"Swiper::updateSlidesSize (cyclomatic 40): Swiper::updateSlidesSize has cyclomatic complexity 40 (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/apphtml5/theme/base/html5/assets/js/sm-extend.js"},"region":{"startLine":312}}}],"partialFingerprints":{"codehealthFindingId/v1":"879d40b1f3ef1af002febf9fba3a75ed557e76ac6f48ccfbc21c8a52eb177278"}},{"ruleId":"D1","level":"warning","message":{"text":"gestures (cyclomatic 40): gestures has cyclomatic complexity 40 (threshold 15). Most of this is not in the body itself: 1 of the 40 points is its own statement and the rest belongs to 8 function items inside it that branch (dragMove, dragStart, dragEnd, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appfront/theme/base/front/assets/js/owl.carousel.js"},"region":{"startLine":863}}}],"partialFingerprints":{"codehealthFindingId/v1":"990bb2c212570dd7052b0babe8013d91daa26df0128d9caf35f001447aa7720d"}},{"ruleId":"D1","level":"warning","message":{"text":"ProductMongodb.excelSave (cyclomatic 38): ProductMongodb.excelSave has cyclomatic complexity 38 (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":"services/product/ProductMongodb.php"},"region":{"startLine":1216}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cbe56618c4bcecd79585a0f6558b2a1a8e302b9cf5930142160b8c9bd62068b"}},{"ruleId":"D1","level":"warning","message":{"text":"Review.initAddress (cyclomatic 37): Review.initAddress has cyclomatic complexity 37 (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/appfront/modules/Payment/block/paypal/express/Review.php"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"604e9cd2913a687b4f14b710de26713cfc8801faaad0a6826666ea838a935ffd"}},{"ruleId":"D1","level":"warning","message":{"text":"Review.initAddress (cyclomatic 37): Review.initAddress has cyclomatic complexity 37 (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/apphtml5/modules/Payment/block/paypal/express/Review.php"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a1c94e37513e9a43c843b5c91d46405d92311152c94821c8d26967358dd9fa6"}},{"ruleId":"D1","level":"warning","message":{"text":"Review.initAddress (cyclomatic 37): Review.initAddress has cyclomatic complexity 37 (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/appserver/modules/Payment/block/paypal/express/Review.php"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"158288496b5490f0ee0e7763293c172096117e1cc41811f481c289c3f311a5a3"}},{"ruleId":"D1","level":"warning","message":{"text":"ProductMysqldb.excelSave (cyclomatic 36): ProductMysqldb.excelSave 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":"services/product/ProductMysqldb.php"},"region":{"startLine":1420}}}],"partialFingerprints":{"codehealthFindingId/v1":"35362944ecd81d92dfd90427f819b949928cd6d85985ef53f1b8faf0fdfabd72"}},{"ruleId":"D1","level":"warning","message":{"text":"_move (cyclomatic 36): _move 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":"app/apphtml5/theme/base/html5/assets/js/sm.js"},"region":{"startLine":4110}}}],"partialFingerprints":{"codehealthFindingId/v1":"2be6024d6369f41238811263430a1e514adc67f04682b6a28e5641c111b25958"}},{"ruleId":"D1","level":"warning","message":{"text":"Product.getTableTbodyHtml (cyclomatic 35): Product.getTableTbodyHtml 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/appadmin/modules/Catalog/block/category/Product.php"},"region":{"startLine":342}}}],"partialFingerprints":{"codehealthFindingId/v1":"269b87a12732c0ea47de9735f35712ea206cea9434a1facbed8703ca5b8fb90b"}},{"ruleId":"D1","level":"warning","message":{"text":"(anonymous) (cyclomatic 35): (anonymous) has cyclomatic complexity 35 (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/apphtml5/theme/base/html5/assets/js/sm.js"},"region":{"startLine":296}}}],"partialFingerprints":{"codehealthFindingId/v1":"be9b85842444721b60ab2c39d87200d650a5cbae58f9b0eaddbe1c0753bac074"}},{"ruleId":"D1","level":"warning","message":{"text":"_key (cyclomatic 35): _key 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/apphtml5/theme/base/html5/assets/js/sm.js"},"region":{"startLine":5125}}}],"partialFingerprints":{"codehealthFindingId/v1":"683d77902d177db62363b75c00bbad9eab5b029e4ad4d5632bda0391775b3223"}},{"ruleId":"D1","level":"warning","message":{"text":"Index.getTableTbodyHtml (cyclomatic 34): Index.getTableTbodyHtml 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/appadmin/modules/Catalog/block/productfavorite/Index.php"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"badac3100aa623e99316997a13b6e9d2f93c065979be767f9f1f6c5fe07d37e1"}},{"ruleId":"D1","level":"warning","message":{"text":"Index.getTableTbodyHtml (cyclomatic 34): Index.getTableTbodyHtml 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/appadmin/modules/Catalog/block/productreview/Index.php"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"49dcd733233a75b23697dc7aeef667764208b8c869640e424961cff01103eb06"}},{"ruleId":"D1","level":"warning","message":{"text":"Manager.getTableTbodyHtml (cyclomatic 33): Manager.getTableTbodyHtml has cyclomatic complexity 33 (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/appadmin/modules/Sales/block/orderinfo/Manager.php"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b4d05c2728277ccf978142e521a90c82d5e09c74c6b1dbd5935dd3706a5f024"}},{"ruleId":"D1","level":"warning","message":{"text":"Swiper::setTranslate (cyclomatic 33): Swiper::setTranslate has cyclomatic complexity 33 (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/apphtml5/theme/base/html5/assets/js/sm-extend.js"},"region":{"startLine":1754}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0956237382b3dc32d8c2595675284d417d4d7ff7d29bb805ccc355ee043a0c6"}},{"ruleId":"D1","level":"warning","message":{"text":"Index.getTableTbodyHtml (cyclomatic 32): Index.getTableTbodyHtml 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":"app/appadmin/modules/Catalog/block/urlrewrite/Index.php"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdb8ff9c82591986f5a6da3d65314e9f98c6aea9df247d95b654c4c16e2bb454"}},{"ruleId":"D1","level":"warning","message":{"text":"Index.getTableTbodyHtml (cyclomatic 32): Index.getTableTbodyHtml 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":"app/appadmin/modules/Cms/block/article/Index.php"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab2601d9c199fa07b345870236dbe55986f880f644932d51d50ab93a815685cf"}},{"ruleId":"D1","level":"warning","message":{"text":"Index.getTableTbodyHtml (cyclomatic 32): Index.getTableTbodyHtml 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":"app/appadmin/modules/Cms/block/staticblock/Index.php"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3b9fbc0888b42521c66a370767c5110df3b96f69b3a62b39d525838a596dd9a"}},{"ruleId":"D1","level":"warning","message":{"text":"Manager.getTableTbodyHtml (cyclomatic 32): Manager.getTableTbodyHtml 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":"app/appadmin/modules/Sales/block/coupon/Manager.php"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a04773df1bcf4331652e0ac26a772d9f46030c025b5e96e5c9ebe4be0a21ab4"}},{"ruleId":"D1","level":"warning","message":{"text":"Index.getTableTbodyHtml (cyclomatic 32): Index.getTableTbodyHtml 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":"app/appadmin/modules/System/block/error/Index.php"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed5e00bf757145bd2d807e089275ea976070eb5271f96b3da4a827eb1c33497c"}},{"ruleId":"D1","level":"warning","message":{"text":"Manager.getTableTbodyHtml (cyclomatic 32): Manager.getTableTbodyHtml 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":"app/appadmin/modules/System/block/extensioninstalled/Manager.php"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"3970bae82156ed823a9698f27d2c8334dc9e89106ee73146e0f3ed5068036811"}},{"ruleId":"D1","level":"warning","message":{"text":"(anonymous) (cyclomatic 31): (anonymous) has cyclomatic complexity 31 (threshold 15). Most of this is not in the body itself: 5 of the 31 points are its own statements and the rest belongs to 21 function items inside it that branch (momentum, fn, a function literal at line 3660, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/apphtml5/theme/base/html5/assets/js/sm.js"},"region":{"startLine":3656}}}],"partialFingerprints":{"codehealthFindingId/v1":"684cfa8fece70c5189f1a8cad557e1f7f764e0458b11870ff21577985f2884f1"}},{"ruleId":"D1","level":"warning","message":{"text":"refresh (cyclomatic 31): refresh 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/apphtml5/theme/base/html5/assets/js/sm.js"},"region":{"startLine":5556}}}],"partialFingerprints":{"codehealthFindingId/v1":"23e9b44771180ecc9d1254abd193ae4e56f83bc69d67baa144aa7294b87d1d8d"}},{"ruleId":"D1","level":"warning","message":{"text":"AppadminbaseBlock.getTableTbodyHtml (cyclomatic 30): AppadminbaseBlock.getTableTbodyHtml 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/appadmin/modules/AppadminbaseBlock.php"},"region":{"startLine":518}}}],"partialFingerprints":{"codehealthFindingId/v1":"80a0483648eae46f1aa298ccd5287d2fbee6f16c61d4033b43c67e36a7d993f3"}},{"ruleId":"D1","level":"warning","message":{"text":"Index.getTableTbodyHtml (cyclomatic 30): Index.getTableTbodyHtml 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/appadmin/modules/Customer/block/contacts/Index.php"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d97ad1fc87b475d590307d3bbfad86b453a2671a9ced4a9d1fc0e820fd9261c"}},{"ruleId":"D1","level":"warning","message":{"text":"XunSearch.fullTearchText (cyclomatic 30): XunSearch.fullTearchText 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":"services/search/XunSearch.php"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0a12a14d9ffb0bc54e012f5b0432c515cc57d04dbc00e9a109f8d4b45ae32b5"}},{"ruleId":"D1","level":"warning","message":{"text":"Index.getTableTbodyHtml (cyclomatic 29): Index.getTableTbodyHtml 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/appadmin/modules/Customer/block/newsletter/Index.php"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"67132ec5c7eface3020ce9ca219a4ceb1e0ad8b0f3ba8c35be7b661183bb2a8f"}},{"ruleId":"D1","level":"warning","message":{"text":"CategoryController.actionUpsertone2 (cyclomatic 29): CategoryController.actionUpsertone2 has cyclomatic complexity 29 (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/appapi/modules/V1/controllers/CategoryController.php"},"region":{"startLine":413}}}],"partialFingerprints":{"codehealthFindingId/v1":"657d277ab449c2aa0a4a3cd2c6967ce776c30819e1d0a42c4d8063d73c29d7eb"}},{"ruleId":"D1","level":"warning","message":{"text":"Manager.getTableTbodyHtml (cyclomatic 28): Manager.getTableTbodyHtml 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/appadmin/modules/Catalog/block/productbrand/Manager.php"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"7769a168d5dadb0a6c41736ed465dd498b31aa28679ea30780ede6394ee471b0"}},{"ruleId":"D1","level":"warning","message":{"text":"LtXml.getArray (cyclomatic 28): LtXml.getArray 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":"lib/alipay/lotusphp_runtime/XML/Xml.php"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdf34ea0de253d18fb499656e9ee9691ca4cba923a5c05c860eddce1ddf79554"}},{"ruleId":"D1","level":"warning","message":{"text":"sm.$.initPullToRefresh::handleTouchMove (cyclomatic 28): sm.$.initPullToRefresh::handleTouchMove 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/apphtml5/theme/base/html5/assets/js/sm.js"},"region":{"startLine":6345}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a5328013df7c08942f60ba47949e30de008cceeaca04206bcdd695efca3dd0c"}},{"ruleId":"D1","level":"warning","message":{"text":"Calendar::monthHTML (cyclomatic 28): Calendar::monthHTML 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. This is NOT this file\u0027s highest cyclomatic complexity: handleEvent (cyclomatic 29) 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/apphtml5/theme/base/html5/assets/js/sm.js"},"region":{"startLine":2261}}}],"partialFingerprints":{"codehealthFindingId/v1":"bca9d7158c81ada05fa1d8e5e065bdb484b54fcd435a55ef1bbb1acf652943bf"}},{"ruleId":"D1","level":"warning","message":{"text":"ProductController.actionUpdateqty (cyclomatic 27): ProductController.actionUpdateqty 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":"app/appapi/modules/V1/controllers/ProductController.php"},"region":{"startLine":355}}}],"partialFingerprints":{"codehealthFindingId/v1":"a10be6239db91d7f6c90c752d72738a43a554d5ef3dc46be843b3e57b9528ca2"}},{"ruleId":"D1","level":"warning","message":{"text":"Page.getLastData (cyclomatic 27): Page.getLastData 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":"app/appfront/widgets/Page.php"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"dff9df8c4629ab7bcbdd2f0513569269978c5069739fcec1c5436118350a45fc"}},{"ruleId":"D1","level":"warning","message":{"text":"Page.getLastData (cyclomatic 27): Page.getLastData 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":"app/apphtml5/widgets/Page.php"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"fffcabbe1f2987da8f489a3d70d99db2b5881991934cfa182b0b23d0a652d80d"}},{"ruleId":"D1","level":"warning","message":{"text":"Asset.register (cyclomatic 27): Asset.register 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":"services/page/Asset.php"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"1009641bb3c60b929a7df9b697eab244c575b461fd60d7afb471071764599237"}},{"ruleId":"D1","level":"warning","message":{"text":"Calendar::setYearMonth (cyclomatic 27): Calendar::setYearMonth 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. This is NOT this file\u0027s highest cyclomatic complexity: handleEvent (cyclomatic 29) 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/apphtml5/theme/base/html5/assets/js/sm.js"},"region":{"startLine":2595}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a5d964cf8a91ce255fdf4f02afc274f7f3767326135248f771f0f619160b3b9"}},{"ruleId":"D1","level":"warning","message":{"text":"_end (cyclomatic 27): _end 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. This is NOT this file\u0027s highest cyclomatic complexity: handleEvent (cyclomatic 29) 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/apphtml5/theme/base/html5/assets/js/sm.js"},"region":{"startLine":4213}}}],"partialFingerprints":{"codehealthFindingId/v1":"35b8d143f6b1df655024e6eab512564b7d714b8731f05e4899f7c299206932e7"}},{"ruleId":"D1","level":"warning","message":{"text":"PhotoBrowser::onSlideTouchMove (cyclomatic 27): PhotoBrowser::onSlideTouchMove 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":"app/apphtml5/theme/base/html5/assets/js/sm-extend.js"},"region":{"startLine":3158}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e68a02b8e6b3912ad5ebb8708bee3e153efd3829769b4e9b1a5ec6824040caf"}},{"ruleId":"D1","level":"warning","message":{"text":"CustomOption.getAllItems (cyclomatic 26): CustomOption.getAllItems 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/appfront/modules/Catalog/block/product/CustomOption.php"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ae518e3bf2c8496054f5fded69dc284981f8be9528033f7dbf0b9c8086aadd1"}},{"ruleId":"D1","level":"warning","message":{"text":"Index.getSameSpuInfo (cyclomatic 26): Index.getSameSpuInfo 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/appfront/modules/Catalog/block/product/Index.php"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"8af8e4ec2ff0f7199c2e1427816412eb1748eebc809e0f8bb1b421bab03a66b0"}},{"ruleId":"D1","level":"warning","message":{"text":"CustomOption.getAllItems (cyclomatic 26): CustomOption.getAllItems 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/apphtml5/modules/Catalog/block/product/CustomOption.php"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8ce9c5452a5c707800cdf174e551036f09aa36ea3486509013f808c9a75358e"}},{"ruleId":"D1","level":"warning","message":{"text":"Index.getSameSpuInfo (cyclomatic 26): Index.getSameSpuInfo 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/apphtml5/modules/Catalog/block/product/Index.php"},"region":{"startLine":274}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c0f55514ce685668f5437ea7857762ec50dd89e55aef466bcfa99e98c8e5e98"}},{"ruleId":"D1","level":"warning","message":{"text":"ProductController.getSameSpuInfo (cyclomatic 26): ProductController.getSameSpuInfo 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/appserver/modules/Catalog/controllers/ProductController.php"},"region":{"startLine":518}}}],"partialFingerprints":{"codehealthFindingId/v1":"b11ffa8e048ff9658a61525c8c7f276be5988abfbb3794f3575787ce574b3748"}},{"ruleId":"D1","level":"warning","message":{"text":"jquery.lazyload.$.fn.lazyload (cyclomatic 26): jquery.lazyload.$.fn.lazyload has cyclomatic complexity 26 (threshold 15). Most of this is not in the body itself: 8 of the 26 points are its own statements and the rest belongs to 6 function literals inside it that branch (lines 37, 84, 98, \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/appfront/theme/base/front/assets/js/jquery.lazyload.js"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"83bcaaeac52090584c0c27643df86f8ccf3befae539a5c638b76cc3ab8260863"}},{"ruleId":"D1","level":"warning","message":{"text":"sm.$.initSwipePanels::handleTouchEnd (cyclomatic 26): sm.$.initSwipePanels::handleTouchEnd 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: 2 other methods here (sm.$.initSwipePanels::handleTouchStart, sm.$.initSwipePanels::handleTouchMove) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 3 times rather than 3 independent problems. Splitting this body alone leaves the other 2 exactly as they are. Where these are variations on one operation, the change that clears all 3 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/apphtml5/theme/base/html5/assets/js/sm.js"},"region":{"startLine":6825}}}],"partialFingerprints":{"codehealthFindingId/v1":"a418c1a58b36e5c1538685eebbe6cadd58701077615a25aefb559b0804ae7f9b"}},{"ruleId":"D1","level":"warning","message":{"text":"Swiper::init (cyclomatic 26): Swiper::init 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/apphtml5/theme/base/html5/assets/js/sm-extend.js"},"region":{"startLine":2368}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e396c8317089cc72d7853ba61606bbded55ef7a80f6f65e3f381266eb61489e"}},{"ruleId":"D1","level":"warning","message":{"text":"Product.initDataWhere (cyclomatic 25): Product.initDataWhere has cyclomatic complexity 25 (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/appadmin/modules/Catalog/block/category/Product.php"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"18d50be13cdf7445c1f60521cc2e3489edd7b2838b0e5a9bbe2803cf3bd3738f"}},{"ruleId":"D1","level":"warning","message":{"text":"CategoryController.actionUpdateone (cyclomatic 25): CategoryController.actionUpdateone 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. This shape REPEATS in the file: one other method here (CategoryController.actionUpsertone) 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/appapi/modules/V1/controllers/CategoryController.php"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"59333b6c378db8dc29fc803719ad0a222d71f321adb8572dcb49efeba768c07e"}},{"ruleId":"D1","level":"warning","message":{"text":"CategoryController.actionUpsertone (cyclomatic 25): CategoryController.actionUpsertone 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. This shape REPEATS in the file: one other method here (CategoryController.actionUpdateone) 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/appapi/modules/V1/controllers/CategoryController.php"},"region":{"startLine":312}}}],"partialFingerprints":{"codehealthFindingId/v1":"28cdfb94d04308b94355a4d7b6e1fd523be213ba16de226620ee25ba0f7d494a"}},{"ruleId":"D1","level":"warning","message":{"text":"Index.getGroupAttrArr (cyclomatic 25): Index.getGroupAttrArr has cyclomatic complexity 25 (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/appfront/modules/Catalog/block/product/Index.php"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"888b01b4af3289aad5db8b4f00e23268d7d492132a322f888700b80eb97540b1"}},{"ruleId":"D1","level":"warning","message":{"text":"Index.getGroupAttrArr (cyclomatic 25): Index.getGroupAttrArr has cyclomatic complexity 25 (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/apphtml5/modules/Catalog/block/product/Index.php"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"712cc9dbba691621c19679e1dfb81696b22e0fa3419c0d76dd0866ae7a8df025"}},{"ruleId":"D1","level":"warning","message":{"text":"ProductController.getGroupAttrArr (cyclomatic 25): ProductController.getGroupAttrArr has cyclomatic complexity 25 (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/appserver/modules/Catalog/controllers/ProductController.php"},"region":{"startLine":340}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5a36ff77194085301a8237ee8bc24622ec6240a31574f68ea4d77b8bbe9364a"}},{"ruleId":"D1","level":"warning","message":{"text":"CategoryMongodb.excelSave (cyclomatic 25): CategoryMongodb.excelSave has cyclomatic complexity 25 (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":"services/category/CategoryMongodb.php"},"region":{"startLine":613}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d496ab83e3eb3da3ac87653dc2d0576dad0a9680b797943b2f4f5b79b9382c3"}},{"ruleId":"D1","level":"warning","message":{"text":"CategoryMysqldb.excelSave (cyclomatic 25): CategoryMysqldb.excelSave has cyclomatic complexity 25 (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":"services/category/CategoryMysqldb.php"},"region":{"startLine":692}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4a489ab9331be20f00b57554aa861d15a920ca6b1a7191ddfe13abc3537d4cf"}},{"ruleId":"D1","level":"warning","message":{"text":"sm.showTab (cyclomatic 25): sm.showTab has cyclomatic complexity 25 (threshold 15). Of this number, 23 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":"app/apphtml5/theme/base/html5/assets/js/sm.js"},"region":{"startLine":6037}}}],"partialFingerprints":{"codehealthFindingId/v1":"658e4779d8b6fdc79d4441325ed32bc9032332b4d7318837373dce8b24ab9b2f"}},{"ruleId":"D1","level":"warning","message":{"text":"sm.$.initSwipePanels::handleTouchStart (cyclomatic 25): sm.$.initSwipePanels::handleTouchStart has cyclomatic complexity 25 (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: 2 other methods here (sm.$.initSwipePanels::handleTouchMove, sm.$.initSwipePanels::handleTouchEnd) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 3 times rather than 3 independent problems. Splitting this body alone leaves the other 2 exactly as they are. Where these are variations on one operation, the change that clears all 3 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/apphtml5/theme/base/html5/assets/js/sm.js"},"region":{"startLine":6687}}}],"partialFingerprints":{"codehealthFindingId/v1":"080e69a558ecdcfeb5c1ded1d2584d5aeb95846c311c4c08bc4d5fd2f397eb59"}},{"ruleId":"D1","level":"warning","message":{"text":"Swiper::setTranslate (cyclomatic 25): Swiper::setTranslate has cyclomatic complexity 25 (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/apphtml5/theme/base/html5/assets/js/sm-extend.js"},"region":{"startLine":1861}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b920ec884aa4a8e3d499b57ab41e50ee20bfeda2cf3610fd14395829dd56701"}},{"ruleId":"D1","level":"warning","message":{"text":"AppadminbaseBlock.initDataWhere (cyclomatic 24): AppadminbaseBlock.initDataWhere 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/appadmin/modules/AppadminbaseBlock.php"},"region":{"startLine":325}}}],"partialFingerprints":{"codehealthFindingId/v1":"28b65e1f38ed11263a058b51c66ed0850d1dead99884162cd5c5f97132e3dd00"}},{"ruleId":"D1","level":"warning","message":{"text":"Index.saveAccount (cyclomatic 24): Index.saveAccount 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/appfront/modules/Customer/block/editaccount/Index.php"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b75d3a22bea8d8ac6da091d34d4e9635a15add7c7970b98a72cf3bf88fc8c72"}},{"ruleId":"D1","level":"warning","message":{"text":"Index.saveAccount (cyclomatic 24): Index.saveAccount 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/apphtml5/modules/Customer/block/editaccount/Index.php"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f5e4b3d217337489290507e736a1bff087f818408cd29367a988cdacd48523e"}},{"ruleId":"D1","level":"warning","message":{"text":"sm.FastClick.notNeeded (cyclomatic 24): sm.FastClick.notNeeded 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/apphtml5/theme/base/html5/assets/js/sm.js"},"region":{"startLine":1159}}}],"partialFingerprints":{"codehealthFindingId/v1":"3056f879aaf603392aaba8b334827482115f3736943bf0f554b5bdf7b8627c97"}},{"ruleId":"D1","level":"warning","message":{"text":"ProductMysqldb.save (cyclomatic 23): ProductMysqldb.save 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":"services/product/ProductMysqldb.php"},"region":{"startLine":437}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1db65150056f8f3e05ce42f6310d8fc1f8aa59b4ea1f0aae9f0ce854ac700e8"}},{"ruleId":"D1","level":"warning","message":{"text":"Placeorder.checkOrderInfoAndInit (cyclomatic 22): Placeorder.checkOrderInfoAndInit 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/appfront/modules/Checkout/block/onepage/Placeorder.php"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"caa28db8290d3bc5c558744f66d3790320eb34e28ee0e8fdb6393a1c7c302165"}},{"ruleId":"D1","level":"warning","message":{"text":"Placeorder.checkOrderInfoAndInit (cyclomatic 22): Placeorder.checkOrderInfoAndInit 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/apphtml5/modules/Checkout/block/onepage/Placeorder.php"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"c630d54559066cc6e7d3d816f613b361a30e7528c102d7dd23fe167d3379d8a2"}},{"ruleId":"D1","level":"warning","message":{"text":"Placeorder.checkOrderInfoAndInit (cyclomatic 22): Placeorder.checkOrderInfoAndInit 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/appserver/modules/Checkout/block/onepage/Placeorder.php"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"75bb182627c9a09b1050f273611945565f09c64b2b063474f6fe0e72658cab55"}},{"ruleId":"D1","level":"warning","message":{"text":"Wxplaceorder.checkOrderInfoAndInit (cyclomatic 22): Wxplaceorder.checkOrderInfoAndInit 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/appserver/modules/Checkout/block/onepage/Wxplaceorder.php"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cd4ccf60ef4c81a2066dee398c3bdddf8ca00468adb4c3f9cfbc2c017e790c3"}},{"ruleId":"D1","level":"warning","message":{"text":"Category.getFilterInfo (cyclomatic 22): Category.getFilterInfo 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":"services/Category.php"},"region":{"startLine":367}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c2b25d7dedf0c53bcdf9d91fd61b5973f042da0492f45c254b79c6245f374b1"}},{"ruleId":"D1","level":"warning","message":{"text":"Store.bootstrap (cyclomatic 22): Store.bootstrap 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":"services/Store.php"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4ca52c8a2101eb2d2ee7247e4f4b8150b4dcfc739bf724a8ccf139f769944c2"}},{"ruleId":"D1","level":"warning","message":{"text":"ProductMongodb.save (cyclomatic 22): ProductMongodb.save 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":"services/product/ProductMongodb.php"},"region":{"startLine":340}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddb5fbff400ac49831d1a5a9111754d1bc196cef3fe0c4df008e532c138899b0"}},{"ruleId":"D1","level":"warning","message":{"text":"sm.FastClick.onTouchEnd (cyclomatic 22): sm.FastClick.onTouchEnd 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/apphtml5/theme/base/html5/assets/js/sm.js"},"region":{"startLine":939}}}],"partialFingerprints":{"codehealthFindingId/v1":"abc6cd5a650784d4de9713ac947325201825f983dc58905acbaeae6288c46d59"}},{"ruleId":"D1","level":"warning","message":{"text":"Swiper::updateClasses (cyclomatic 22): Swiper::updateClasses 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/apphtml5/theme/base/html5/assets/js/sm-extend.js"},"region":{"startLine":567}}}],"partialFingerprints":{"codehealthFindingId/v1":"fca5f8d05e05c0ede2ba3d4d2865633052544a092dbc9905024c85c64d521fc3"}},{"ruleId":"D1","level":"warning","message":{"text":"Store.html5DeviceCheckAndRedirect (cyclomatic 21): Store.html5DeviceCheckAndRedirect 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":"services/Store.php"},"region":{"startLine":302}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf960eb365a601126d0945bdc996a6e89d9b6483c0d1a2813605ad63cc7ae8e2"}},{"ruleId":"D1","level":"warning","message":{"text":"sm.$.openModal (cyclomatic 21): sm.$.openModal has cyclomatic complexity 21 (threshold 15). Of this number, 20 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/apphtml5/theme/base/html5/assets/js/sm.js"},"region":{"startLine":1538}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e9a407224888a1f5d35a1f83df5b1577ff482e5399d020146a1b01467f5161b"}},{"ruleId":"D1","level":"warning","message":{"text":"sm.IScroll (cyclomatic 21): sm.IScroll 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/apphtml5/theme/base/html5/assets/js/sm.js"},"region":{"startLine":3918}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbf195b52fdac0aba3520e8602a936508d70e3f5ade29f95b27d34b896b3679f"}},{"ruleId":"D1","level":"warning","message":{"text":"Swiper::initEvents (cyclomatic 21): Swiper::initEvents 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/apphtml5/theme/base/html5/assets/js/sm-extend.js"},"region":{"startLine":737}}}],"partialFingerprints":{"codehealthFindingId/v1":"13f3a237e08c0b4a4b5d6e1c36645a03b3750c38d30da41b0539e4373f24ee0e"}},{"ruleId":"D1","level":"warning","message":{"text":"Manageredit.getEditBar (cyclomatic 20): Manageredit.getEditBar 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/appadmin/modules/Fecadmin/block/account/Manageredit.php"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"99559a0d233565c23026b368667eed61bdde4d9ca489580d4677afa93ab5d8e7"}},{"ruleId":"D1","level":"warning","message":{"text":"Manageredit.getEditBar (cyclomatic 20): Manageredit.getEditBar 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/appadmin/modules/Fecadmin/block/config/Manageredit.php"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"0382bb010e4882111c59e1ecc93e7118fd13cb5847b3530ee73eca80a0b6b6b1"}},{"ruleId":"D1","level":"warning","message":{"text":"Order.generateOrderByCart (cyclomatic 20): Order.generateOrderByCart 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":"services/Order.php"},"region":{"startLine":591}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb947c4fb76c2e4b8ce16fe0c90a0859f1557feb0b7aca38d64bf77349690835"}},{"ruleId":"D1","level":"warning","message":{"text":"_wheel (cyclomatic 20): _wheel 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. This is NOT this file\u0027s highest cyclomatic complexity: handleEvent (cyclomatic 29) 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/apphtml5/theme/base/html5/assets/js/sm.js"},"region":{"startLine":4741}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ef5a398dc8328f353179e94c59b0fbc91c39629580bd942cd01c9d75b7ee9d3"}},{"ruleId":"D1","level":"warning","message":{"text":"_initSnap (cyclomatic 20): _initSnap 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 4841, 4932). 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: handleEvent (cyclomatic 29) 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/apphtml5/theme/base/html5/assets/js/sm.js"},"region":{"startLine":4834}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0504ddfd90875c359f1cb01377bfdec0d0ce234308d31c1864f5a60d90030be"}},{"ruleId":"D1","level":"warning","message":{"text":"Swiper::getTranslate (cyclomatic 20): Swiper::getTranslate 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/apphtml5/theme/base/html5/assets/js/sm-extend.js"},"region":{"startLine":1484}}}],"partialFingerprints":{"codehealthFindingId/v1":"76d017d8d4d5c96696d7406efe6b42f3e9858c103ec051d9c54ce3b0fb78c880"}},{"ruleId":"D1","level":"warning","message":{"text":"updateItems (cyclomatic 20): updateItems has cyclomatic complexity 20 (threshold 15). This file\u0027s own header attributes it to another copyright holder, so it is code this repository carries rather than code it wrote: restructuring the body in place forks it from upstream and turns every future re-sync into a manual merge. The performable moves are to leave the body as close to its upstream form as possible and keep it behind a narrow interface of your own, and to re-sync it when upstream changes \u2014 or, if it has already diverged far enough that you maintain it here, adopt it deliberately and then split the body into named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appfront/theme/base/front/assets/js/owl.carousel.js"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"3298804e85324299ec8dd2bf85840e33ba1b132a4bad212beeb392e0777474df"}},{"ruleId":"D1","level":"warning","message":{"text":"Index.getTableTbodyHtml (cyclomatic 19): Index.getTableTbodyHtml 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/appadmin/modules/Fecadmin/block/log/Index.php"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0f28233b50b264a3ee49f430e51f8b3809ccea8c5d75e1735d47a061cb23a30"}},{"ruleId":"D1","level":"warning","message":{"text":"Add.saveReview (cyclomatic 19): Add.saveReview 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/appfront/modules/Catalog/block/reviewproduct/Add.php"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"10140d06be42f04e46e08281849907b9f72c33605a344ebf5d70f615483fd3be"}},{"ruleId":"D1","level":"warning","message":{"text":"Add.saveReview (cyclomatic 19): Add.saveReview 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/apphtml5/modules/Catalog/block/reviewproduct/Add.php"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6804527d0a289826ca12bad4c49e7c99398d92fa7458d0bcd006b34e12d58cb"}},{"ruleId":"D1","level":"warning","message":{"text":"AopClient.execute (cyclomatic 19): AopClient.execute 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":"lib/alipay/aop/AopClient.php"},"region":{"startLine":436}}}],"partialFingerprints":{"codehealthFindingId/v1":"0de031990d561cafb4b33289110cf97bd6b3e84aa691f344d5db54fd49c5fc67"}},{"ruleId":"D1","level":"warning","message":{"text":"LtRouter.init (cyclomatic 19): LtRouter.init 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":"lib/alipay/lotusphp_runtime/Router/Router.php"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"119a5e62ee2c505dc3887ab6e585d5353e1931bea4c7fc0a4c0757dba06b093d"}},{"ruleId":"D1","level":"warning","message":{"text":"Store.isAppServerMobile (cyclomatic 19): Store.isAppServerMobile 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":"services/Store.php"},"region":{"startLine":366}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bd03d36f947448b7b2017e06c6efadc76fc7339e8782f421c71e719ea3062bd"}},{"ruleId":"D1","level":"warning","message":{"text":"Paypal.updateOrderStatusByIpn (cyclomatic 19): Paypal.updateOrderStatusByIpn 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":"services/payment/Paypal.php"},"region":{"startLine":304}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ac9ae9dc029a8153ed1cf4e2a625ae1d4dc89ed8d317d680f4defdaa8ddc496"}},{"ruleId":"D1","level":"warning","message":{"text":"ProductMongodb.initSave (cyclomatic 19): ProductMongodb.initSave 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":"services/product/ProductMongodb.php"},"region":{"startLine":735}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fd547b9a6033dac11a28676c65d4530f8a64da4f711b8f2af67e759d4997e7a"}},{"ruleId":"D1","level":"warning","message":{"text":"ProductMongodb.addAndDeleteProductCategory (cyclomatic 19): ProductMongodb.addAndDeleteProductCategory 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":"services/product/ProductMongodb.php"},"region":{"startLine":840}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a078e2d10e0a1e3be2f37d561cf62346075d0472fd44715144116916d23879b"}},{"ruleId":"D1","level":"warning","message":{"text":"ProductMysqldb.initSave (cyclomatic 19): ProductMysqldb.initSave 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":"services/product/ProductMysqldb.php"},"region":{"startLine":884}}}],"partialFingerprints":{"codehealthFindingId/v1":"25969454d6f9e116dd03227006728b7ba3317a072587f7e9aed126dbdd92cdb0"}},{"ruleId":"D1","level":"warning","message":{"text":"sm.$.closeModal (cyclomatic 19): sm.$.closeModal has cyclomatic complexity 19 (threshold 15). Of this number, 12 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":"app/apphtml5/theme/base/html5/assets/js/sm.js"},"region":{"startLine":1598}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bf9b4949609fb715ba9ebae46f070832af5c7b6190c245f95c382eafa6a19ee"}},{"ruleId":"D1","level":"warning","message":{"text":"updatePosition (cyclomatic 19): updatePosition 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. This is NOT this file\u0027s highest cyclomatic complexity: handleEvent (cyclomatic 29) 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/apphtml5/theme/base/html5/assets/js/sm.js"},"region":{"startLine":5641}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3e310126ca46f05b99d53ff03514d7cce415d26f380ed043db901532a70e72e"}},{"ruleId":"D1","level":"warning","message":{"text":"ProductinfoController.actionManagerdelete (cyclomatic 18): ProductinfoController.actionManagerdelete 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/appadmin/modules/Catalog/controllers/ProductinfoController.php"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2c12d251ef7bea67c0bfe97a710cf02cc6a541aa67fb95a6e3810f83977b5b0"}},{"ruleId":"D1","level":"warning","message":{"text":"Index.getRedisCacheConfig (cyclomatic 18): Index.getRedisCacheConfig 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/appadmin/modules/Fecadmin/block/cache/Index.php"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc470753e742fb28ae6f53bea6abaa1ffc7f12da5cf3f5fd308ab5fde7fe8680"}},{"ruleId":"D1","level":"warning","message":{"text":"Index.getTableTbodyHtml (cyclomatic 18): Index.getTableTbodyHtml 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/appadmin/modules/Fecadmin/block/logtj/Index.php"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8e9fe8d59510259a9db12307194ca5a04113df3a324e02376b303b39f8d9fe5"}},{"ruleId":"D1","level":"warning","message":{"text":"Index.getSpuAttrInfo (cyclomatic 18): Index.getSpuAttrInfo 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/appfront/modules/Catalog/block/product/Index.php"},"region":{"startLine":383}}}],"partialFingerprints":{"codehealthFindingId/v1":"caaf0112001cc76da94ec1bc76db656df5d16ca6416080828e36693578d7a6a8"}},{"ruleId":"D1","level":"warning","message":{"text":"Index.saveContactsInfo (cyclomatic 18): Index.saveContactsInfo 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/appfront/modules/Customer/block/contacts/Index.php"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0b1d725fe00c08418d4fd722b7c829929e1328e968ce697354d1e36f3dd2262"}},{"ruleId":"D1","level":"warning","message":{"text":"Index.getSpuAttrInfo (cyclomatic 18): Index.getSpuAttrInfo 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/apphtml5/modules/Catalog/block/product/Index.php"},"region":{"startLine":372}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f29a45da3b0b46cd1cea6859a81af0d90ddf5e24beb646b6bb20b09006e4778"}},{"ruleId":"D1","level":"warning","message":{"text":"Index.saveContactsInfo (cyclomatic 18): Index.saveContactsInfo 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/apphtml5/modules/Customer/block/contacts/Index.php"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b602fc415443f46de14704e95f2e6c641a2387d992c86326ef8e529d56e39c4"}},{"ruleId":"D1","level":"warning","message":{"text":"ProductController.getSpuAttrInfo (cyclomatic 18): ProductController.getSpuAttrInfo 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/appserver/modules/Catalog/controllers/ProductController.php"},"region":{"startLine":615}}}],"partialFingerprints":{"codehealthFindingId/v1":"1374304e667c933a46088a66358995eca664082a6559bf734f4219da2da9905a"}},{"ruleId":"D1","level":"warning","message":{"text":"LtValidator.validate (cyclomatic 18): LtValidator.validate 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":"lib/alipay/lotusphp_runtime/Validator/Validator.php"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c18d7202b1a8cadf825ce4f3528e2305fd3a37fd16ac4bcd84955b38b871be6"}},{"ruleId":"D1","level":"warning","message":{"text":"jquery.fancybox.$.fn.fancybox (cyclomatic 18): jquery.fancybox.$.fn.fancybox has cyclomatic complexity 18 (threshold 15). Most of this is not in the body itself: 6 of the 18 points are its own statements and the rest belongs to one function item inside it that branches (run). 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":"app/appfront/theme/base/front/assets/fancybox/jquery.fancybox.js"},"region":{"startLine":1926}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c19adefe17de3b7ab28b015d3293dad8a88657b33c6068707847916927f1e83"}},{"ruleId":"D1","level":"warning","message":{"text":"_nearestSnap (cyclomatic 18): _nearestSnap 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. This is NOT this file\u0027s highest cyclomatic complexity: handleEvent (cyclomatic 29) 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/apphtml5/theme/base/html5/assets/js/sm.js"},"region":{"startLine":4947}}}],"partialFingerprints":{"codehealthFindingId/v1":"231d82bac99cc473a86bbaa23c6b052e4bdab9fa9074cc6e03c8f6f05a72dc8c"}},{"ruleId":"D1","level":"warning","message":{"text":"Swiper::updateSlidesProgress (cyclomatic 18): Swiper::updateSlidesProgress 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/apphtml5/theme/base/html5/assets/js/sm-extend.js"},"region":{"startLine":477}}}],"partialFingerprints":{"codehealthFindingId/v1":"c134ada8708900ed663f1f32cf07da6b5b8d885fda53e046a0cb7c8266024c34"}},{"ruleId":"D1","level":"warning","message":{"text":"ArticleController.actionUpdateone (cyclomatic 17): ArticleController.actionUpdateone 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/appapi/modules/V1/controllers/ArticleController.php"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6a3b2464f301b7f99d34b78be9356754a92b7be29710a0a37f02af6c7b92949"}},{"ruleId":"D1","level":"warning","message":{"text":"Email.mailer (cyclomatic 17): Email.mailer 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":"services/Email.php"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"76de54b88233a11eb81baf37e2b5b43f8893f1135bf88228c1c7cf2fbb0af04b"}},{"ruleId":"D1","level":"warning","message":{"text":"AR.getCollByFilter (cyclomatic 17): AR.getCollByFilter 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":"services/helper/AR.php"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"18afddced4b4444a7c4edbd31f885b2b32c90072c9f62648cabd575d811c06f9"}},{"ruleId":"D1","level":"warning","message":{"text":"ProductApi.insertByShopfwItem (cyclomatic 17): ProductApi.insertByShopfwItem 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":"services/product/ProductApi.php"},"region":{"startLine":491}}}],"partialFingerprints":{"codehealthFindingId/v1":"76e205e56b062df639b253244b7ae09b6898ff7c3b771d5d1ca24745e68c9f1f"}},{"ruleId":"D1","level":"warning","message":{"text":"Stock.checkItemsQty (cyclomatic 17): Stock.checkItemsQty 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":"services/product/Stock.php"},"region":{"startLine":549}}}],"partialFingerprints":{"codehealthFindingId/v1":"0259de0fa1314523b71f9f18e3b53d7ab6ce0b8b407219e5b85efafe8d5f8ded"}},{"ruleId":"D1","level":"warning","message":{"text":"MysqlSearch.fullTearchText (cyclomatic 17): MysqlSearch.fullTearchText 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":"services/search/MysqlSearch.php"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"125a4117442f1fd47a14e57b101d9948c8c2e1361a506bddfb72c261b66bec0f"}},{"ruleId":"D1","level":"warning","message":{"text":"sm.$.actions (cyclomatic 17): sm.$.actions has cyclomatic complexity 17 (threshold 15). Of this number, 13 points are the body\u0027s own statements and 4 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":"app/apphtml5/theme/base/html5/assets/js/sm.js"},"region":{"startLine":1429}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cb8751c2ee0224b3945e0c75123e3efa65828ae86ed07d1d46f693e07384083"}},{"ruleId":"D1","level":"warning","message":{"text":"Swiper::onTouchStart (cyclomatic 17): Swiper::onTouchStart 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/apphtml5/theme/base/html5/assets/js/sm-extend.js"},"region":{"startLine":911}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b31fdd5fe7b0d179c39c1ab22c4e09e4c23295e4e79ff47d9ae516ecb85957c"}},{"ruleId":"D1","level":"warning","message":{"text":"Managerbatchedit.getCustomOptionAdd (cyclomatic 16): Managerbatchedit.getCustomOptionAdd 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/appadmin/modules/Catalog/block/productinfo/Managerbatchedit.php"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"fff013e9e385827a7340515bdf7c620b8beb425074b50e73f09651f73ddaf228"}},{"ruleId":"D1","level":"warning","message":{"text":"Manageredit.getCustomOptionAdd (cyclomatic 16): Manageredit.getCustomOptionAdd 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/appadmin/modules/Catalog/block/productinfo/Manageredit.php"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"39ba89196763f97085219f2aaeae9c07b7e75fe6bfd4ae6ebf9060acf6689f61"}},{"ruleId":"D1","level":"warning","message":{"text":"ProductController.actionUpdateone (cyclomatic 16): ProductController.actionUpdateone 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":"app/appapi/modules/V1/controllers/ProductController.php"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c82f038e153340749f8ddcfb75fc5a13f1cf22d79a5c5d8c7a8941a3d1ad84c"}},{"ruleId":"D1","level":"warning","message":{"text":"Edit.initAddress (cyclomatic 16): Edit.initAddress 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/appfront/modules/Customer/block/address/Edit.php"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"57a348a118bf63d76d9996058fb479627a6b4b43f2a7a9feb96466ecfe6dc26c"}},{"ruleId":"D1","level":"warning","message":{"text":"Edit.initAddress (cyclomatic 16): Edit.initAddress 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/apphtml5/modules/Customer/block/address/Edit.php"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"df7422f4efb00edef0115ee9389e4e07091d2c8da228e3b65c0b972f658cba93"}},{"ruleId":"D1","level":"warning","message":{"text":"EditaccountController.validateParams (cyclomatic 16): EditaccountController.validateParams 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":"app/appserver/modules/Customer/controllers/EditaccountController.php"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"4280161139a628f7b0c40485e2aeb8ecd05fd7fb1ecb2abb0be6e19743b1d69f"}},{"ruleId":"D1","level":"warning","message":{"text":"RegisterController.validateParam (cyclomatic 16): RegisterController.validateParam 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":"app/appserver/modules/Customer/controllers/RegisterController.php"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"efd5d0b7467be1fc99754d612c4b91a575ff9f4e30c5ddd2325fe3810916380a"}},{"ruleId":"D1","level":"warning","message":{"text":"Store.initCurrentStoreConfig (cyclomatic 16): Store.initCurrentStoreConfig 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":"services/Store.php"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd0ef6250cc59c9e5c211baf6f56d98afdd3dd5df773b12214ff81e15c876a1b"}},{"ruleId":"D1","level":"warning","message":{"text":"Generate.createAddonsFiles (cyclomatic 16): Generate.createAddonsFiles 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":"services/extension/Generate.php"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"61b61262e054e0d60323f51f12f85d42b393b7296fd057764fb9b162f8bfc6b8"}},{"ruleId":"D1","level":"warning","message":{"text":"sm.FastClick.needsClick (cyclomatic 16): sm.FastClick.needsClick has cyclomatic complexity 16 (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/apphtml5/theme/base/html5/assets/js/sm.js"},"region":{"startLine":632}}}],"partialFingerprints":{"codehealthFindingId/v1":"eef108720fe29a69cf83fd1d87e7ada4ea427e3f7965ee256c6b8fb130016964"}},{"ruleId":"D1","level":"warning","message":{"text":"sm.$.modal (cyclomatic 16): sm.$.modal has cyclomatic complexity 16 (threshold 15). Of this number, 13 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":"app/apphtml5/theme/base/html5/assets/js/sm.js"},"region":{"startLine":1271}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c368891aab74ccffff226fc79ce3aa7d865467ec03827c74314a453aaf45ef5"}},{"ruleId":"D1","level":"warning","message":{"text":"Swiper::slideTo (cyclomatic 16): Swiper::slideTo 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":"app/apphtml5/theme/base/html5/assets/js/sm-extend.js"},"region":{"startLine":1324}}}],"partialFingerprints":{"codehealthFindingId/v1":"a68f82cdfc17ecf7348b265414f54285b138314808b73012534c89f1d3d99a3b"}},{"ruleId":"D2","level":"warning","message":{"text":"sm-extend.Swiper (cognitive 210): sm-extend.Swiper has cognitive complexity 210 (threshold 15). Drivers by points: boolean chains 137, if/else 46 (63 pts), loops 3 (5 pts), ternaries 4 (5 pts) (nesting depth added 20). Of this number, 176 points are the body\u0027s own statements and 34 belong to 81 function items inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/apphtml5/theme/base/html5/assets/js/sm-extend.js"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4a339cebec6886a7b08f767fe5098e3a070ebece1e158c7db4b0c52e94cab0e"}},{"ruleId":"D2","level":"warning","message":{"text":"Managerbatchedit.initParamType (cognitive 163): Managerbatchedit.initParamType has cognitive complexity 163 (threshold 15). Drivers by points: if/else 33 (98 pts), loops 9 (33 pts), boolean chains 16, ternaries 16 (nesting depth added 89). 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/appadmin/modules/Catalog/block/productinfo/Managerbatchedit.php"},"region":{"startLine":500}}}],"partialFingerprints":{"codehealthFindingId/v1":"70fd9580cbd7442f2cd90329ff08d550f7693848967a0db4e49f0b241775c825"}},{"ruleId":"D2","level":"warning","message":{"text":"Manageredit.initParamType (cognitive 163): Manageredit.initParamType has cognitive complexity 163 (threshold 15). Drivers by points: if/else 33 (98 pts), loops 9 (33 pts), boolean chains 16, ternaries 16 (nesting depth added 89). 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/appadmin/modules/Catalog/block/productinfo/Manageredit.php"},"region":{"startLine":457}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e0a3a4d235a68bb198d77d79e070feafc41945264dc59be735f5d0fecf4e470"}},{"ruleId":"D2","level":"warning","message":{"text":"Picker (cognitive 161): Picker has cognitive complexity 161 (threshold 15). Drivers by points: if/else 80 (112 pts), boolean chains 23, ternaries 13 (19 pts), loops 6 (7 pts) (nesting depth added 39). Of this number, 18 points are the body\u0027s own statements and 143 belong to 34 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/apphtml5/theme/base/html5/assets/js/sm.js"},"region":{"startLine":2948}}}],"partialFingerprints":{"codehealthFindingId/v1":"7dd1d97e4e50a517321a87f323d314b70c6746fa8f43c336d42bf70ae731583f"}},{"ruleId":"D2","level":"warning","message":{"text":"AppadminbaseBlockEdit.getEditBar (cognitive 159): AppadminbaseBlockEdit.getEditBar has cognitive complexity 159 (threshold 15). Drivers by points: if/else 28 (76 pts), ternaries 19 (54 pts), loops 6 (21 pts), boolean chains 8 (nesting depth added 98). To reduce it, split the body into named stages: move each independent step or branch into 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/appadmin/modules/AppadminbaseBlockEdit.php"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7570aa561971cbd18a1ee43159d593abbe765ccffc08aa8924a2c4597513db7"}},{"ruleId":"D2","level":"warning","message":{"text":"Index.getTableTbodyHtml (cognitive 134): Index.getTableTbodyHtml has cognitive complexity 134 (threshold 15). Drivers by points: if/else 20 (88 pts), ternaries 6 (34 pts), loops 4 (9 pts), boolean chains 3 (nesting depth added 101). 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/appadmin/modules/Catalog/block/productinfo/Index.php"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"26a6d0fdbb233f54cdf373c0e8fc24953dc705908689b5600630dd7437a7a761"}},{"ruleId":"D2","level":"warning","message":{"text":"Swiper::onTouchEnd (cognitive 125): Swiper::onTouchEnd has cognitive complexity 125 (threshold 15). Drivers by points: if/else 52 (114 pts), boolean chains 8, ternaries 1 (2 pts), loops 1 (nesting depth added 63). 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/apphtml5/theme/base/html5/assets/js/sm-extend.js"},"region":{"startLine":1096}}}],"partialFingerprints":{"codehealthFindingId/v1":"aaacfe122628f86216044913e345bead062ef07e06bfe4a4f841b23f3b03449e"}},{"ruleId":"D2","level":"warning","message":{"text":"ProductApi.checkPostDataRequireAndInt (cognitive 124): ProductApi.checkPostDataRequireAndInt has cognitive complexity 124 (threshold 15). Drivers by points: if/else 61 (94 pts), boolean chains 21, loops 3 (9 pts) (nesting depth added 39). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"services/product/ProductApi.php"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"55588080884eb5be72ef4ccb1b934a6a94a4ce67f949f4ccbae234cda921257b"}},{"ruleId":"D2","level":"warning","message":{"text":"ProductApi.checkShopfwPostDataRequireAndInt (cognitive 116): ProductApi.checkShopfwPostDataRequireAndInt has cognitive complexity 116 (threshold 15). Drivers by points: if/else 59 (84 pts), boolean chains 23, loops 3 (9 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":"services/product/ProductApi.php"},"region":{"startLine":553}}}],"partialFingerprints":{"codehealthFindingId/v1":"765782fb3b7b43dfbfeb2c51ffb69fa4b3d7b0e3a09ad8a731415b540c5528a8"}},{"ruleId":"D2","level":"warning","message":{"text":"Product.getTableTbodyHtml (cognitive 106): Product.getTableTbodyHtml has cognitive complexity 106 (threshold 15). Drivers by points: if/else 14 (69 pts), ternaries 4 (25 pts), loops 4 (9 pts), boolean chains 3 (nesting depth added 81). 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/appadmin/modules/Catalog/block/category/Product.php"},"region":{"startLine":342}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fe5ea419c9675e08f995eabf1fd6c18b7c4450cddc82d4221b9aabd2a5ec038"}},{"ruleId":"D2","level":"warning","message":{"text":"Index.getTableTbodyHtml (cognitive 104): Index.getTableTbodyHtml has cognitive complexity 104 (threshold 15). Drivers by points: if/else 12 (63 pts), ternaries 5 (29 pts), loops 4 (9 pts), boolean chains 3 (nesting depth added 80). 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/appadmin/modules/Catalog/block/productfavorite/Index.php"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cf9e1312685a46808197bdede2fb6a0578c404077373b906db63db7495a28d5"}},{"ruleId":"D2","level":"warning","message":{"text":"Index.getTableTbodyHtml (cognitive 104): Index.getTableTbodyHtml has cognitive complexity 104 (threshold 15). Drivers by points: if/else 12 (63 pts), ternaries 5 (29 pts), loops 4 (9 pts), boolean chains 3 (nesting depth added 80). 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/appadmin/modules/Catalog/block/productreview/Index.php"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e03e564d4e38fc3e533c03ec478eefce49f2f6f29c70aee15b8f79f737f6b7c"}},{"ruleId":"D2","level":"warning","message":{"text":"Index.getTableTbodyHtml (cognitive 102): Index.getTableTbodyHtml has cognitive complexity 102 (threshold 15). Drivers by points: if/else 18 (86 pts), loops 3 (8 pts), ternaries 1 (6 pts), boolean chains 2 (nesting depth added 78). 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/appadmin/modules/Fecadmin/block/log/Index.php"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7787941278db85a0a775fcb766ecfacc3dfbd42ab8302bfe507b918166ae23b"}},{"ruleId":"D2","level":"warning","message":{"text":"Manager.getTableTbodyHtml (cognitive 100): Manager.getTableTbodyHtml has cognitive complexity 100 (threshold 15). Drivers by points: if/else 12 (63 pts), ternaries 4 (25 pts), loops 4 (9 pts), boolean chains 3 (nesting depth added 77). 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/appadmin/modules/Sales/block/orderinfo/Manager.php"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"c28c5aa6e20fc1a5df50dd391ec14f52d34b3a2627c07d3d34d33549205d410f"}},{"ruleId":"D2","level":"warning","message":{"text":"Index.getTableTbodyHtml (cognitive 97): Index.getTableTbodyHtml has cognitive complexity 97 (threshold 15). Drivers by points: if/else 11 (60 pts), ternaries 4 (25 pts), loops 4 (9 pts), boolean chains 3 (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":"app/appadmin/modules/Catalog/block/urlrewrite/Index.php"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ce4e6e6fa844bdc7eba15a6491c1f20a09d7708c9ee2fbc547334468ce45e57"}},{"ruleId":"D2","level":"warning","message":{"text":"Index.getTableTbodyHtml (cognitive 97): Index.getTableTbodyHtml has cognitive complexity 97 (threshold 15). Drivers by points: if/else 11 (60 pts), ternaries 4 (25 pts), loops 4 (9 pts), boolean chains 3 (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":"app/appadmin/modules/Cms/block/article/Index.php"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e3e693fce6d0493ae297c4947160363eaf6e236fe78db2e8f67e4a8c8a2d1be"}},{"ruleId":"D2","level":"warning","message":{"text":"Index.getTableTbodyHtml (cognitive 97): Index.getTableTbodyHtml has cognitive complexity 97 (threshold 15). Drivers by points: if/else 11 (60 pts), ternaries 4 (25 pts), loops 4 (9 pts), boolean chains 3 (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":"app/appadmin/modules/Cms/block/staticblock/Index.php"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bcca745b3e4577b7b4975a0e06da02d2a96e0fa04a6fa318d09586a865e972c"}},{"ruleId":"D2","level":"warning","message":{"text":"Manager.getTableTbodyHtml (cognitive 97): Manager.getTableTbodyHtml has cognitive complexity 97 (threshold 15). Drivers by points: if/else 11 (60 pts), ternaries 4 (25 pts), loops 4 (9 pts), boolean chains 3 (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":"app/appadmin/modules/Sales/block/coupon/Manager.php"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"545d58ab735f1802bd1dfb59e2996165e9f09346608f20a90c5bed0e99131409"}},{"ruleId":"D2","level":"warning","message":{"text":"Index.getTableTbodyHtml (cognitive 97): Index.getTableTbodyHtml has cognitive complexity 97 (threshold 15). Drivers by points: if/else 11 (60 pts), ternaries 4 (25 pts), loops 4 (9 pts), boolean chains 3 (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":"app/appadmin/modules/System/block/error/Index.php"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3756c5bbe1de47175ab78b272c7e1739c6158d5462fd6a3148caf5a8d832d7d"}},{"ruleId":"D2","level":"warning","message":{"text":"Manager.getTableTbodyHtml (cognitive 97): Manager.getTableTbodyHtml has cognitive complexity 97 (threshold 15). Drivers by points: if/else 11 (60 pts), ternaries 4 (25 pts), loops 4 (9 pts), boolean chains 3 (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":"app/appadmin/modules/System/block/extensioninstalled/Manager.php"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c2e7b49e554ab3d92b6ba64f582b8d69c38679d69eadfa40620dc663d3289a1"}},{"ruleId":"D2","level":"warning","message":{"text":"Index.getTableTbodyHtml (cognitive 95): Index.getTableTbodyHtml has cognitive complexity 95 (threshold 15). Drivers by points: if/else 16 (80 pts), loops 3 (8 pts), ternaries 1 (5 pts), boolean chains 2 (nesting depth added 73). 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/appadmin/modules/Fecadmin/block/logtj/Index.php"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"16c29efa085e6a9f107f18364e6ad6c8f4a56d65623717c2718258d1c16782d7"}},{"ruleId":"D2","level":"warning","message":{"text":"Index.initAddress (cognitive 93): Index.initAddress has cognitive complexity 93 (threshold 15). Drivers by points: if/else 36 (78 pts), boolean chains 13, loops 1 (2 pts) (nesting depth added 43). To reduce it, split the body into named stages: move each independent step or branch into 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/appserver/modules/Checkout/block/onepage/Index.php"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"08fe33f1942c959b34ac128948f82bb1b0d9e8764cd788d4a9bba03912e9c6a0"}},{"ruleId":"D2","level":"warning","message":{"text":"AppadminbaseBlock.getTableTbodyHtml (cognitive 92): AppadminbaseBlock.getTableTbodyHtml has cognitive complexity 92 (threshold 15). Drivers by points: if/else 11 (60 pts), ternaries 3 (21 pts), loops 3 (8 pts), boolean chains 3 (nesting depth added 72). 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/appadmin/modules/AppadminbaseBlock.php"},"region":{"startLine":518}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fbee4b9476b6057231bf7b6b7f109631f269a65c6ce02c41dfa132039d0399f"}},{"ruleId":"D2","level":"warning","message":{"text":"Index.getTableTbodyHtml (cognitive 92): Index.getTableTbodyHtml has cognitive complexity 92 (threshold 15). Drivers by points: if/else 11 (60 pts), ternaries 3 (21 pts), loops 3 (8 pts), boolean chains 3 (nesting depth added 72). 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/appadmin/modules/Customer/block/contacts/Index.php"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"874860dcaca78d4fcda3435cac8be79ad751c2d084f3d7b6927627fb6716b42d"}},{"ruleId":"D2","level":"warning","message":{"text":"Index.initAddress (cognitive 92): Index.initAddress has cognitive complexity 92 (threshold 15). Drivers by points: if/else 35 (77 pts), boolean chains 13, loops 1 (2 pts) (nesting depth added 43). To reduce it, split the body into named stages: move each independent step or branch into 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/appfront/modules/Checkout/block/onepage/Index.php"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac737f919b88259e0c23b634a12b5d1e55a75455b2238f2f8d116140b7a40f77"}},{"ruleId":"D2","level":"warning","message":{"text":"Index.initAddress (cognitive 92): Index.initAddress has cognitive complexity 92 (threshold 15). Drivers by points: if/else 35 (77 pts), boolean chains 13, loops 1 (2 pts) (nesting depth added 43). To reduce it, split the body into named stages: move each independent step or branch into 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/apphtml5/modules/Checkout/block/onepage/Index.php"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"14c5d6fbf08c5dec9fc2757d96f5e55bd1e449c641fce61a2133f02e896c1ca6"}},{"ruleId":"D2","level":"warning","message":{"text":"Index.getTableTbodyHtml (cognitive 89): Index.getTableTbodyHtml has cognitive complexity 89 (threshold 15). Drivers by points: if/else 10 (57 pts), ternaries 3 (21 pts), loops 3 (8 pts), boolean chains 3 (nesting depth added 70). 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/appadmin/modules/Customer/block/newsletter/Index.php"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"94ed48e2ecd6eda9ebbff75fa54afe4acde7cd8d3203f7a464d81374deae4365"}},{"ruleId":"D2","level":"warning","message":{"text":"Category.getFilterInfo (cognitive 85): Category.getFilterInfo has cognitive complexity 85 (threshold 15). Drivers by points: if/else 16 (66 pts), loops 2 (7 pts), ternaries 1 (7 pts), boolean chains 5 (nesting depth added 61). 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":"services/Category.php"},"region":{"startLine":367}}}],"partialFingerprints":{"codehealthFindingId/v1":"8733fe31c0b13a2fc92392355663a28b7d67a1c489e420af9f5b3234f37f3c3a"}},{"ruleId":"D2","level":"warning","message":{"text":"Asset.register (cognitive 83): Asset.register has cognitive complexity 83 (threshold 15). Drivers by points: if/else 10 (31 pts), loops 7 (29 pts), ternaries 2 (16 pts), boolean chains 7 (nesting depth added 57). 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":"services/page/Asset.php"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"f74322914bbe9aff3f62e5d3c5f83318b48c11b265582018dd764f20da68a5e1"}},{"ruleId":"D2","level":"warning","message":{"text":"XunSearch.fullTearchText (cognitive 83): XunSearch.fullTearchText has cognitive complexity 83 (threshold 15). Drivers by points: if/else 19 (44 pts), ternaries 4 (20 pts), loops 6 (14 pts), boolean chains 5 (nesting depth added 49). 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":"services/search/XunSearch.php"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb96f3c9b477badac54e23e5a1b020fcee64d15a15f4a82754cb30499da51c09"}},{"ruleId":"D2","level":"warning","message":{"text":"Swiper::onTouchMove (cognitive 82): Swiper::onTouchMove has cognitive complexity 82 (threshold 15). Drivers by points: if/else 38 (52 pts), boolean chains 15, ternaries 8 (15 pts) (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/apphtml5/theme/base/html5/assets/js/sm-extend.js"},"region":{"startLine":946}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e83bef5a01b6abed4edb13b53d0570b206df61a9416b87ed7fe7f44f0e936b7"}},{"ruleId":"D2","level":"warning","message":{"text":"Review.initAddress (cognitive 81): Review.initAddress has cognitive complexity 81 (threshold 15). Drivers by points: if/else 25 (68 pts), boolean chains 11, loops 1 (2 pts) (nesting depth added 44). To reduce it, split the body into named stages: move each independent step or branch into 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/appfront/modules/Payment/block/paypal/express/Review.php"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"e23f516fc1ea3e8af3189663d4bd73ace9eff0ad4ee74f4c077b58a7f0251fbe"}},{"ruleId":"D2","level":"warning","message":{"text":"Review.initAddress (cognitive 81): Review.initAddress has cognitive complexity 81 (threshold 15). Drivers by points: if/else 25 (68 pts), boolean chains 11, loops 1 (2 pts) (nesting depth added 44). To reduce it, split the body into named stages: move each independent step or branch into 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/apphtml5/modules/Payment/block/paypal/express/Review.php"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"d57e999814d4eac89cde4f39f08dda0905a169a1e51dbecd0d3baa2ef6df0b97"}},{"ruleId":"D2","level":"warning","message":{"text":"Review.initAddress (cognitive 81): Review.initAddress has cognitive complexity 81 (threshold 15). Drivers by points: if/else 25 (68 pts), boolean chains 11, loops 1 (2 pts) (nesting depth added 44). To reduce it, split the body into named stages: move each independent step or branch into 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/appserver/modules/Payment/block/paypal/express/Review.php"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8cfb45c460a2011868e469f8d803a5d94e4acb3a13642b402c69dd6f542a2d5"}},{"ruleId":"D2","level":"warning","message":{"text":"sm.Calendar (cognitive 80): sm.Calendar has cognitive complexity 80 (threshold 15). Drivers by points: boolean chains 39, if/else 20 (35 pts), ternaries 4 (5 pts), loops 1 (nesting depth added 16). Of this number, 52 points are the body\u0027s own statements and 28 belong to 39 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/apphtml5/theme/base/html5/assets/js/sm.js"},"region":{"startLine":1710}}}],"partialFingerprints":{"codehealthFindingId/v1":"746fc331d90e7d9934350a733bcb4567b5755f7b9c79926c421e0de73348e3e4"}},{"ruleId":"D2","level":"warning","message":{"text":"Swiper::updateSlidesSize (cognitive 79): Swiper::updateSlidesSize has cognitive complexity 79 (threshold 15). Drivers by points: if/else 37 (65 pts), loops 3 (6 pts), boolean chains 5, ternaries 1 (3 pts) (nesting depth added 33). To reduce it, split the body into named stages: move each independent step or branch into 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/apphtml5/theme/base/html5/assets/js/sm-extend.js"},"region":{"startLine":312}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ffad898841937528f78abde7c5928867dd2027e08d61219d41d04822ab99c78"}},{"ruleId":"D2","level":"warning","message":{"text":"Manager.getTableTbodyHtml (cognitive 76): Manager.getTableTbodyHtml has cognitive complexity 76 (threshold 15). Drivers by points: if/else 11 (60 pts), loops 3 (8 pts), ternaries 1 (5 pts), boolean chains 3 (nesting depth added 58). 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/appadmin/modules/Catalog/block/productbrand/Manager.php"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fcf7a377c65c928894f0b13e43035f1cce095abcd00f1d2e5e8fc4a0ba81ff6"}},{"ruleId":"D2","level":"warning","message":{"text":"MobileDetect.mobileGrade (cognitive 76): MobileDetect.mobileGrade has cognitive complexity 76 (threshold 15). Drivers by points: boolean chains 73, 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":"services/helper/MobileDetect.php"},"region":{"startLine":1242}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd6e619377325560182645e5ed73ce3ac1471ac5ca34dda37f539c9896f98011"}},{"ruleId":"D2","level":"warning","message":{"text":"Manageredit.getEditBar (cognitive 75): Manageredit.getEditBar has cognitive complexity 75 (threshold 15). Drivers by points: if/else 15 (45 pts), ternaries 7 (21 pts), loops 2 (9 pts) (nesting depth added 51). 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/appadmin/modules/Fecadmin/block/account/Manageredit.php"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8811351c2d94e70070762822949b2a58ef103d41ef49163035cd797f7061f90"}},{"ruleId":"D2","level":"warning","message":{"text":"Manageredit.getEditBar (cognitive 75): Manageredit.getEditBar has cognitive complexity 75 (threshold 15). Drivers by points: if/else 15 (45 pts), ternaries 7 (21 pts), loops 2 (9 pts) (nesting depth added 51). 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/appadmin/modules/Fecadmin/block/config/Manageredit.php"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cdb64ecda922870a245b97ae748e0300a9f2b418cf0825ad87c10ba973fbdf7"}},{"ruleId":"D2","level":"warning","message":{"text":"CustomOption.getAllItems (cognitive 71): CustomOption.getAllItems has cognitive complexity 71 (threshold 15). Drivers by points: if/else 11 (41 pts), loops 5 (15 pts), boolean chains 8, ternaries 1 (7 pts) (nesting depth added 46). 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/appfront/modules/Catalog/block/product/CustomOption.php"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"f30fe59c726c27fc4e94f2351b99613e8b89c7079f8738ce28fc89b8ff0d9262"}},{"ruleId":"D2","level":"warning","message":{"text":"CustomOption.getAllItems (cognitive 71): CustomOption.getAllItems has cognitive complexity 71 (threshold 15). Drivers by points: if/else 11 (41 pts), loops 5 (15 pts), boolean chains 8, ternaries 1 (7 pts) (nesting depth added 46). 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/apphtml5/modules/Catalog/block/product/CustomOption.php"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"c23a5a7427de238477eff1cb9b17ff22969d9cec64d36f1bb2d56efd75d09ef1"}},{"ruleId":"D2","level":"warning","message":{"text":"ProductMongodb.excelSave (cognitive 71): ProductMongodb.excelSave has cognitive complexity 71 (threshold 15). Drivers by points: if/else 19 (34 pts), ternaries 8 (21 pts), boolean chains 8, loops 3 (8 pts) (nesting depth added 33). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"services/product/ProductMongodb.php"},"region":{"startLine":1216}}}],"partialFingerprints":{"codehealthFindingId/v1":"7706d10e304fdf4d579176ea304b4564386f2e925e9cb88fde0ed0b9e283d3e9"}},{"ruleId":"D2","level":"warning","message":{"text":"Swiper::setTranslate (cognitive 68): Swiper::setTranslate has cognitive complexity 68 (threshold 15). Drivers by points: if/else 22 (44 pts), ternaries 9 (21 pts), boolean chains 2, loops 1 (nesting depth added 34). To reduce it, split the body into named stages: move each independent step or branch into 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/apphtml5/theme/base/html5/assets/js/sm-extend.js"},"region":{"startLine":1754}}}],"partialFingerprints":{"codehealthFindingId/v1":"7910ad0e44b9056d95d4edcc1fcc580df6fe24390db7d706402d5f0b8dfdfa31"}},{"ruleId":"D2","level":"warning","message":{"text":"initSwipePanels::handleTouchMove (cognitive 67): initSwipePanels::handleTouchMove has cognitive complexity 67 (threshold 15). Drivers by points: if/else 28 (52 pts), ternaries 6 (9 pts), boolean chains 6 (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":"app/apphtml5/theme/base/html5/assets/js/sm.js"},"region":{"startLine":6723}}}],"partialFingerprints":{"codehealthFindingId/v1":"940fec283cea233adff9cf1a0b7dec740b3193b6a9c09fd4aac40b60ee7a017a"}},{"ruleId":"D2","level":"warning","message":{"text":"ProductMysqldb.excelSave (cognitive 65): ProductMysqldb.excelSave has cognitive complexity 65 (threshold 15). Drivers by points: if/else 19 (35 pts), ternaries 8 (20 pts), boolean chains 8, loops 1 (2 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":"services/product/ProductMysqldb.php"},"region":{"startLine":1420}}}],"partialFingerprints":{"codehealthFindingId/v1":"bae765704216b9fc09d05707c4d53568ed562602e6768cd64e2bb432217fb0dd"}},{"ruleId":"D2","level":"warning","message":{"text":"sm-extend.PhotoBrowser (cognitive 65): sm-extend.PhotoBrowser has cognitive complexity 65 (threshold 15). Drivers by points: boolean chains 42, if/else 9 (17 pts), ternaries 4, loops 2 (nesting depth added 8). 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/apphtml5/theme/base/html5/assets/js/sm-extend.js"},"region":{"startLine":2769}}}],"partialFingerprints":{"codehealthFindingId/v1":"e87bedb62192d8f30cee6429f5fccbf51230e8728fb10a9288dcc9a4b27b23b6"}},{"ruleId":"D2","level":"warning","message":{"text":"LtValidator.validate (cognitive 62): LtValidator.validate has cognitive complexity 62 (threshold 15). Drivers by points: if/else 16 (55 pts), boolean chains 3, loops 1 (2 pts), ternaries 1 (2 pts) (nesting depth added 41). 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":"lib/alipay/lotusphp_runtime/Validator/Validator.php"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"dba0782ed3bcbe4332338033c0035162e4ff06c8429554408a1c2dbc1fc56040"}},{"ruleId":"D2","level":"warning","message":{"text":"Calendar::monthHTML (cognitive 62): Calendar::monthHTML has cognitive complexity 62 (threshold 15). Drivers by points: if/else 17 (32 pts), ternaries 6 (20 pts), boolean chains 5, loops 3 (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/apphtml5/theme/base/html5/assets/js/sm.js"},"region":{"startLine":2261}}}],"partialFingerprints":{"codehealthFindingId/v1":"eceed895c175adb5b8e0ad1938053b6fa9fc0df89be00b82756acabfe90462ca"}},{"ruleId":"D2","level":"warning","message":{"text":"Store.bootstrap (cognitive 61): Store.bootstrap has cognitive complexity 61 (threshold 15). Drivers by points: if/else 12 (42 pts), loops 2 (8 pts), boolean chains 7, ternaries 1 (4 pts) (nesting depth added 39). 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":"services/Store.php"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0bc48536c3ba705a2810835d792dce432b06fa7066c89d4cb045107443d04fa"}},{"ruleId":"D2","level":"warning","message":{"text":"LtXml.getArray (cognitive 59): LtXml.getArray has cognitive complexity 59 (threshold 15). Drivers by points: if/else 20 (41 pts), boolean chains 12, loops 2 (6 pts) (nesting depth added 25). 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":"lib/alipay/lotusphp_runtime/XML/Xml.php"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"777d31c631ba52ebd17107f3ed2c4d207d72076afdc9eb3a2107fd5654e1d99f"}},{"ruleId":"D2","level":"warning","message":{"text":"ProductController.actionUpdateqty (cognitive 58): ProductController.actionUpdateqty has cognitive complexity 58 (threshold 15). Drivers by points: if/else 19 (41 pts), ternaries 5 (11 pts), boolean chains 4, loops 2 (nesting depth added 28). 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/appapi/modules/V1/controllers/ProductController.php"},"region":{"startLine":355}}}],"partialFingerprints":{"codehealthFindingId/v1":"6aef4e05b291ac328bde05c0c18d1d10b4780523fd44af73ff7baf1298809c10"}},{"ruleId":"D2","level":"warning","message":{"text":"Swiper::setTranslate (cognitive 58): Swiper::setTranslate has cognitive complexity 58 (threshold 15). Drivers by points: ternaries 12 (32 pts), if/else 11 (25 pts), loops 1 (nesting depth added 34). To reduce it, split the body into named stages: move each independent step or branch into 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/apphtml5/theme/base/html5/assets/js/sm-extend.js"},"region":{"startLine":1861}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1068b936a0ab405d71565aaf1d35f47f9b550846d89d3e269c333861e067ba5"}},{"ruleId":"D2","level":"warning","message":{"text":"AppadminbaseBlock.initDataWhere (cognitive 55): AppadminbaseBlock.initDataWhere has cognitive complexity 55 (threshold 15). Drivers by points: if/else 15 (48 pts), boolean chains 4, ternaries 1 (2 pts), loops 1 (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":"app/appadmin/modules/AppadminbaseBlock.php"},"region":{"startLine":325}}}],"partialFingerprints":{"codehealthFindingId/v1":"6754e49e4642a74b29fff7c1f39060687ca500e559179b70295b4551d4868e88"}},{"ruleId":"D2","level":"warning","message":{"text":"Index.getGroupAttrArr (cognitive 55): Index.getGroupAttrArr has cognitive complexity 55 (threshold 15). Drivers by points: if/else 17 (44 pts), boolean chains 9, loops 1 (2 pts) (nesting depth added 28). 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/appfront/modules/Catalog/block/product/Index.php"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"c96ac88a76cab47d649c1fd5d6d9f111fdeb82bed9bd3e1e1a9d76cbbb3fc55c"}},{"ruleId":"D2","level":"warning","message":{"text":"Index.saveAccount (cognitive 55): Index.saveAccount has cognitive complexity 55 (threshold 15). Drivers by points: if/else 11 (28 pts), ternaries 6 (12 pts), loops 2 (10 pts), boolean chains 5 (nesting depth added 31). 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/appfront/modules/Customer/block/editaccount/Index.php"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"f532f06e6a4515ffd0db3d6f7eda16f0202c1b537f9d5c1dddaa2291257b4ddc"}},{"ruleId":"D2","level":"warning","message":{"text":"Index.getGroupAttrArr (cognitive 55): Index.getGroupAttrArr has cognitive complexity 55 (threshold 15). Drivers by points: if/else 17 (44 pts), boolean chains 9, loops 1 (2 pts) (nesting depth added 28). 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/apphtml5/modules/Catalog/block/product/Index.php"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"229049b738c434c717b1d6bd23c627120c682396c9531da407680968fcc14c81"}},{"ruleId":"D2","level":"warning","message":{"text":"Index.saveAccount (cognitive 55): Index.saveAccount has cognitive complexity 55 (threshold 15). Drivers by points: if/else 11 (28 pts), ternaries 6 (12 pts), loops 2 (10 pts), boolean chains 5 (nesting depth added 31). 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/apphtml5/modules/Customer/block/editaccount/Index.php"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"a82c0a2e9c3180f7119309a9ec8e74b67820ed2ea663d8e4700b2ab35a53aebe"}},{"ruleId":"D2","level":"warning","message":{"text":"ProductController.getGroupAttrArr (cognitive 55): ProductController.getGroupAttrArr has cognitive complexity 55 (threshold 15). Drivers by points: if/else 17 (44 pts), boolean chains 9, loops 1 (2 pts) (nesting depth added 28). 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/appserver/modules/Catalog/controllers/ProductController.php"},"region":{"startLine":340}}}],"partialFingerprints":{"codehealthFindingId/v1":"a84177d0c09bd8a5f8df5bd71c85305f291613bfc6af278ee3071746375a8142"}},{"ruleId":"D2","level":"warning","message":{"text":"LtRouter.init (cognitive 54): LtRouter.init has cognitive complexity 54 (threshold 15). Drivers by points: if/else 17 (36 pts), loops 4 (13 pts), boolean chains 5 (nesting depth added 28). 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":"lib/alipay/lotusphp_runtime/Router/Router.php"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2fd7bf0bf85239778660d5386404c3fc4fd73af7878092645886af91a15fdf9"}},{"ruleId":"D2","level":"warning","message":{"text":"Product.initDataWhere (cognitive 53): Product.initDataWhere has cognitive complexity 53 (threshold 15). Drivers by points: if/else 17 (46 pts), boolean chains 4, ternaries 1 (2 pts), loops 1 (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/appadmin/modules/Catalog/block/category/Product.php"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f9f020eeaeabac9b704dd2d0c66e70d61bb430a3763b22f1c7729df74a849b9"}},{"ruleId":"D2","level":"warning","message":{"text":"Index.getSameSpuInfo (cognitive 53): Index.getSameSpuInfo has cognitive complexity 53 (threshold 15). Drivers by points: if/else 12 (27 pts), loops 8 (15 pts), ternaries 2 (6 pts), boolean chains 5 (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/appfront/modules/Catalog/block/product/Index.php"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"a764ff76453b134721ebffab8c51ebb4f7e0ba0c3c365f8dc9d040b8f2d02501"}},{"ruleId":"D2","level":"warning","message":{"text":"Index.getSameSpuInfo (cognitive 53): Index.getSameSpuInfo has cognitive complexity 53 (threshold 15). Drivers by points: if/else 12 (27 pts), loops 8 (15 pts), ternaries 2 (6 pts), boolean chains 5 (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/apphtml5/modules/Catalog/block/product/Index.php"},"region":{"startLine":274}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f3dfcc24cd076cf0f6f7399fc88aa5887f80269caab89d165a42a43979601e3"}},{"ruleId":"D2","level":"warning","message":{"text":"ProductController.getSameSpuInfo (cognitive 53): ProductController.getSameSpuInfo has cognitive complexity 53 (threshold 15). Drivers by points: if/else 12 (27 pts), loops 8 (15 pts), ternaries 2 (6 pts), boolean chains 5 (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/appserver/modules/Catalog/controllers/ProductController.php"},"region":{"startLine":518}}}],"partialFingerprints":{"codehealthFindingId/v1":"3813f11ee9260f84107a545b8c0bde1f6ef53aad1f79bc23941d42168195e003"}},{"ruleId":"D2","level":"warning","message":{"text":"Stock.checkItemsQty (cognitive 52): Stock.checkItemsQty has cognitive complexity 52 (threshold 15). Drivers by points: if/else 16 (46 pts), boolean chains 3, loops 1 (2 pts), ternaries 1 (nesting depth added 31). 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":"services/product/Stock.php"},"region":{"startLine":549}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf9ace97c2b6ec2ced5eb9fecf86b25346586a75ff6c996b1112f59445e2a4a9"}},{"ruleId":"D2","level":"warning","message":{"text":"Swiper::updateClasses (cognitive 52): Swiper::updateClasses has cognitive complexity 52 (threshold 15). Drivers by points: if/else 20 (46 pts), boolean chains 6 (nesting depth added 26). 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/apphtml5/theme/base/html5/assets/js/sm-extend.js"},"region":{"startLine":567}}}],"partialFingerprints":{"codehealthFindingId/v1":"5951a8dde21ac447addbb3c4e8ded1232d7ac228d32fd9d12724366b06e9f07a"}},{"ruleId":"D2","level":"warning","message":{"text":"refresh (cognitive 51): refresh has cognitive complexity 51 (threshold 15). Drivers by points: if/else 21 (31 pts), boolean chains 14, ternaries 3 (6 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":"app/apphtml5/theme/base/html5/assets/js/sm.js"},"region":{"startLine":5556}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e48bf5b30f638d51981ba231c1ced2851a49d37ab9bc234691a4be048d7ed87"}},{"ruleId":"D2","level":"warning","message":{"text":"Index.getSpuAttrInfo (cognitive 47): Index.getSpuAttrInfo has cognitive complexity 47 (threshold 15). Drivers by points: if/else 14 (31 pts), loops 3 (13 pts), boolean chains 3 (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":"app/appfront/modules/Catalog/block/product/Index.php"},"region":{"startLine":383}}}],"partialFingerprints":{"codehealthFindingId/v1":"a55ea3d2e0c4a9cf0812df6a0f4af40b6bf42e60f79a20568d5b964835fe4983"}},{"ruleId":"D2","level":"warning","message":{"text":"Index.getSpuAttrInfo (cognitive 47): Index.getSpuAttrInfo has cognitive complexity 47 (threshold 15). Drivers by points: if/else 14 (31 pts), loops 3 (13 pts), boolean chains 3 (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":"app/apphtml5/modules/Catalog/block/product/Index.php"},"region":{"startLine":372}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad8c078315358053c4006bf3eb88af3539151856bc70cae266425cec45fbe878"}},{"ruleId":"D2","level":"warning","message":{"text":"ProductController.getSpuAttrInfo (cognitive 47): ProductController.getSpuAttrInfo has cognitive complexity 47 (threshold 15). Drivers by points: if/else 14 (31 pts), loops 3 (13 pts), boolean chains 3 (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":"app/appserver/modules/Catalog/controllers/ProductController.php"},"region":{"startLine":615}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b7d27c4c5818fb37f004737eb4622c53ec9783814dfd89d630c1543c826b6e1"}},{"ruleId":"D2","level":"warning","message":{"text":"Placeorder.getLastData (cognitive 46): Placeorder.getLastData has cognitive complexity 46 (threshold 15). Drivers by points: if/else 12 (35 pts), error handling 2 (10 pts), boolean chains 1 (nesting depth added 31). 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/appfront/modules/Payment/block/paypal/express/Placeorder.php"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb485e72d744e14cd0d1b3e91b71df56254fd393824e70917b29692fae310587"}},{"ruleId":"D2","level":"warning","message":{"text":"Placeorder.getLastData (cognitive 46): Placeorder.getLastData has cognitive complexity 46 (threshold 15). Drivers by points: if/else 12 (35 pts), error handling 2 (10 pts), boolean chains 1 (nesting depth added 31). 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/apphtml5/modules/Payment/block/paypal/express/Placeorder.php"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa99bc9b7d05427d68dc35cc423e3a1bb86018dfddfb2650650b202c612076a8"}},{"ruleId":"D2","level":"warning","message":{"text":"Sitemap.category (cognitive 46): Sitemap.category has cognitive complexity 46 (threshold 15). Drivers by points: if/else 5 (22 pts), loops 3 (14 pts), boolean chains 5, ternaries 1 (5 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. This shape REPEATS in the file: 2 other methods here (Sitemap.product, Sitemap.cmspage) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 3 times rather than 3 independent problems. Splitting this body alone leaves the other 2 exactly as they are. Where these are variations on one operation, the change that clears all 3 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":"services/Sitemap.php"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6ce1dd6964855da9f1db75619a3015035f5dc7307f33511b49b7d068aa480c5"}},{"ruleId":"D2","level":"warning","message":{"text":"Sitemap.product (cognitive 46): Sitemap.product has cognitive complexity 46 (threshold 15). Drivers by points: if/else 5 (22 pts), loops 3 (14 pts), boolean chains 5, ternaries 1 (5 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. This shape REPEATS in the file: 2 other methods here (Sitemap.category, Sitemap.cmspage) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 3 times rather than 3 independent problems. Splitting this body alone leaves the other 2 exactly as they are. Where these are variations on one operation, the change that clears all 3 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":"services/Sitemap.php"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"e78b40d2bd37286e34da7a10400c4280c43c2f5fdb1f7d12aa7952eb43ec3f8c"}},{"ruleId":"D2","level":"warning","message":{"text":"Sitemap.cmspage (cognitive 46): Sitemap.cmspage has cognitive complexity 46 (threshold 15). Drivers by points: if/else 5 (22 pts), loops 3 (14 pts), boolean chains 5, ternaries 1 (5 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. This shape REPEATS in the file: 2 other methods here (Sitemap.category, Sitemap.product) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 3 times rather than 3 independent problems. Splitting this body alone leaves the other 2 exactly as they are. Where these are variations on one operation, the change that clears all 3 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":"services/Sitemap.php"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"f561c17b1bb2b705fc0cab9d9c5fa70dffbe72df66742ad2b6c8196495f5364e"}},{"ruleId":"D2","level":"warning","message":{"text":"QuoteItem.getCartProductInfo (cognitive 46): QuoteItem.getCartProductInfo has cognitive complexity 46 (threshold 15). Drivers by points: if/else 6 (22 pts), ternaries 3 (18 pts), loops 1 (4 pts), boolean chains 2 (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":"services/cart/QuoteItem.php"},"region":{"startLine":267}}}],"partialFingerprints":{"codehealthFindingId/v1":"47c1bfc5fa47650bb96fdf6aec8698eacd8578d30b3c8931a94e973e91634f1b"}},{"ruleId":"D2","level":"warning","message":{"text":"sm.$.initSwipePanels::handleTouchEnd (cognitive 46): sm.$.initSwipePanels::handleTouchEnd has cognitive complexity 46 (threshold 15). Drivers by points: if/else 22 (33 pts), boolean chains 9, ternaries 1 (4 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/apphtml5/theme/base/html5/assets/js/sm.js"},"region":{"startLine":6825}}}],"partialFingerprints":{"codehealthFindingId/v1":"a620854991904686f774f3e7ee1f82c7eeb6d93ef5cf33fca2794dacff9726ac"}},{"ruleId":"D2","level":"warning","message":{"text":"ProductinfoController.actionManagerdelete (cognitive 45): ProductinfoController.actionManagerdelete has cognitive complexity 45 (threshold 15). Drivers by points: if/else 10 (32 pts), boolean chains 8, loops 1 (5 pts) (nesting depth added 26). 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/appadmin/modules/Catalog/controllers/ProductinfoController.php"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"311b0948354854b0c4b1cc6e63f1866fa371120e4cfcba4746fa6d045942fa7d"}},{"ruleId":"D2","level":"warning","message":{"text":"Product.initCustomAttrGroup (cognitive 45): Product.initCustomAttrGroup has cognitive complexity 45 (threshold 15). Drivers by points: if/else 9 (28 pts), loops 4 (12 pts), ternaries 1 (4 pts), boolean chains 1 (nesting depth added 30). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"services/Product.php"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f146d1b2910c896706698332163c82d51f008fbbacea58c933d058a590ea3a6"}},{"ruleId":"D2","level":"warning","message":{"text":"_key (cognitive 45): _key has cognitive complexity 45 (threshold 15). Drivers by points: ternaries 13 (27 pts), if/else 11 (13 pts), boolean chains 4, match/switch 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/apphtml5/theme/base/html5/assets/js/sm.js"},"region":{"startLine":5125}}}],"partialFingerprints":{"codehealthFindingId/v1":"357150406624f66c105eb2396d63f245ddd7bbbd16a83ac3997fb1cd21484976"}},{"ruleId":"D2","level":"warning","message":{"text":"Placeorder.checkOrderInfoAndInit (cognitive 43): Placeorder.checkOrderInfoAndInit has cognitive complexity 43 (threshold 15). Drivers by points: if/else 18 (31 pts), loops 1 (5 pts), ternaries 5, boolean chains 2 (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/appfront/modules/Checkout/block/onepage/Placeorder.php"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"624842f6bcdb211ba53fc3039f0b9d242c8784b2139393aac565ccaf481102e4"}},{"ruleId":"D2","level":"warning","message":{"text":"Placeorder.checkOrderInfoAndInit (cognitive 43): Placeorder.checkOrderInfoAndInit has cognitive complexity 43 (threshold 15). Drivers by points: if/else 18 (31 pts), loops 1 (5 pts), ternaries 5, boolean chains 2 (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/apphtml5/modules/Checkout/block/onepage/Placeorder.php"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"888d4db3772d29c0577c95ec038bbfe3a294094fe3628a1e76a6d4c802c37fd1"}},{"ruleId":"D2","level":"warning","message":{"text":"Placeorder.checkOrderInfoAndInit (cognitive 43): Placeorder.checkOrderInfoAndInit has cognitive complexity 43 (threshold 15). Drivers by points: if/else 18 (31 pts), loops 1 (5 pts), ternaries 5, boolean chains 2 (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/appserver/modules/Checkout/block/onepage/Placeorder.php"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"8be4c7504c2b3cbf4face79cdcba1ddfa9732fa364c3552f803176e11cb47f09"}},{"ruleId":"D2","level":"warning","message":{"text":"Wxplaceorder.checkOrderInfoAndInit (cognitive 43): Wxplaceorder.checkOrderInfoAndInit has cognitive complexity 43 (threshold 15). Drivers by points: if/else 18 (31 pts), loops 1 (5 pts), ternaries 5, boolean chains 2 (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/appserver/modules/Checkout/block/onepage/Wxplaceorder.php"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"8537c2c0cd8457a517cfb9098ce31883727cb07c6be4e89229b89a8d13fbfaf8"}},{"ruleId":"D2","level":"warning","message":{"text":"LtRbac.checkAcl (cognitive 43): LtRbac.checkAcl has cognitive complexity 43 (threshold 15). Drivers by points: if/else 5 (18 pts), ternaries 3 (17 pts), loops 3 (8 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":"lib/alipay/lotusphp_runtime/RBAC/Rbac.php"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffcaf9d58531492bc8ee66cd36b6ac7ff95749d31bafd48d8266e2930c4c024f"}},{"ruleId":"D2","level":"warning","message":{"text":"sm.FastClick.notNeeded (cognitive 43): sm.FastClick.notNeeded has cognitive complexity 43 (threshold 15). Drivers by points: if/else 16 (35 pts), boolean chains 8 (nesting depth added 19). 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/apphtml5/theme/base/html5/assets/js/sm.js"},"region":{"startLine":1159}}}],"partialFingerprints":{"codehealthFindingId/v1":"25798dfd9d4387bda3a1f2b8fa718c006ec819225118185baa07f97ed94fccd7"}},{"ruleId":"D2","level":"warning","message":{"text":"_move (cognitive 43): _move has cognitive complexity 43 (threshold 15). Drivers by points: if/else 19 (23 pts), ternaries 11 (15 pts), boolean chains 5 (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/apphtml5/theme/base/html5/assets/js/sm.js"},"region":{"startLine":4110}}}],"partialFingerprints":{"codehealthFindingId/v1":"22d8fbaddff75e83cc1fc7ba684746d031ceb9654db78c4d4e7c55c44588ee74"}},{"ruleId":"D2","level":"warning","message":{"text":"gestures (cognitive 43): gestures has cognitive complexity 43 (threshold 15). Drivers by points: if/else 24 (28 pts), boolean chains 15 (nesting depth added 4). None of this is in the body itself: all 43 points belong to 8 function items inside it that branch (dragMove, dragStart, dragEnd, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appfront/theme/base/front/assets/js/owl.carousel.js"},"region":{"startLine":863}}}],"partialFingerprints":{"codehealthFindingId/v1":"a318e2e694cb2df5bd977b9fbf7686dac210fc92e7e8c24577beb87cf4d1b23b"}},{"ruleId":"D2","level":"warning","message":{"text":"CategoryMongodb.excelSave (cognitive 42): CategoryMongodb.excelSave has cognitive complexity 42 (threshold 15). Drivers by points: if/else 13 (19 pts), ternaries 7 (17 pts), boolean chains 6 (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":"services/category/CategoryMongodb.php"},"region":{"startLine":613}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a298a43ba04f3c4e96f8aba0d1590e0421bbc36b617adcaec73fd1e07f6b39e"}},{"ruleId":"D2","level":"warning","message":{"text":"CategoryMysqldb.excelSave (cognitive 42): CategoryMysqldb.excelSave has cognitive complexity 42 (threshold 15). Drivers by points: if/else 13 (19 pts), ternaries 7 (17 pts), boolean chains 6 (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":"services/category/CategoryMysqldb.php"},"region":{"startLine":692}}}],"partialFingerprints":{"codehealthFindingId/v1":"1627000e770a27375b58b531117024a07762ba1542d0b027d3166c2e42948d02"}},{"ruleId":"D2","level":"warning","message":{"text":"Index.getRedisCacheConfig (cognitive 41): Index.getRedisCacheConfig has cognitive complexity 41 (threshold 15). Drivers by points: if/else 8 (20 pts), ternaries 4 (12 pts), loops 3 (6 pts), boolean chains 3 (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/appadmin/modules/Fecadmin/block/cache/Index.php"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"11a5f16002ba58f87daa4725a8c68f61015c011bda1456a0cf6fe3c71ce8e374"}},{"ruleId":"D2","level":"warning","message":{"text":"ProductMongodb.addAndDeleteProductCategory (cognitive 41): ProductMongodb.addAndDeleteProductCategory has cognitive complexity 41 (threshold 15). Drivers by points: if/else 9 (25 pts), loops 3 (8 pts), boolean chains 5, ternaries 1 (3 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":"services/product/ProductMongodb.php"},"region":{"startLine":840}}}],"partialFingerprints":{"codehealthFindingId/v1":"79d93be0d5055a545c61df2ac41c14ad042cceb0ecb332a7230b0c10a503f909"}},{"ruleId":"D2","level":"warning","message":{"text":"Managerbatchedit.getCustomOptionAdd (cognitive 40): Managerbatchedit.getCustomOptionAdd has cognitive complexity 40 (threshold 15). Drivers by points: loops 4 (17 pts), if/else 5 (11 pts), ternaries 2 (8 pts), boolean chains 4 (nesting depth added 25). To reduce it, split the body into named stages: move each independent step or branch into 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/appadmin/modules/Catalog/block/productinfo/Managerbatchedit.php"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"801632319d9dc160d9008ba801990221bf19f3e5193996cf7211e269ef2d1bd5"}},{"ruleId":"D2","level":"warning","message":{"text":"Manageredit.getCustomOptionAdd (cognitive 40): Manageredit.getCustomOptionAdd has cognitive complexity 40 (threshold 15). Drivers by points: loops 4 (17 pts), if/else 5 (11 pts), ternaries 2 (8 pts), boolean chains 4 (nesting depth added 25). To reduce it, split the body into named stages: move each independent step or branch into 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/appadmin/modules/Catalog/block/productinfo/Manageredit.php"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf3440cd954c1c646024858c2b7bf339e6c7a2bf77e477565d4e3cf2ddf6324e"}},{"ruleId":"D2","level":"warning","message":{"text":"initPullToRefresh::handleTouchMove (cognitive 39): initPullToRefresh::handleTouchMove has cognitive complexity 39 (threshold 15). Drivers by points: if/else 17 (25 pts), boolean chains 10, ternaries 3 (4 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/apphtml5/theme/base/html5/assets/js/sm.js"},"region":{"startLine":6345}}}],"partialFingerprints":{"codehealthFindingId/v1":"99d3d440b187cb1f6aa668e444b677a609b9ae5a5b7e5938c00c5225698eb303"}},{"ruleId":"D2","level":"warning","message":{"text":"CategoryMongodb.getAllParentCate (cognitive 38): CategoryMongodb.getAllParentCate has cognitive complexity 38 (threshold 15). Drivers by points: if/else 6 (27 pts), loops 2 (7 pts), boolean chains 4 (nesting depth added 26). 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":"services/category/CategoryMongodb.php"},"region":{"startLine":533}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7e0d75fc8f26d3dada5c503ff6863f1a183791471de90503376fad219d07936"}},{"ruleId":"D2","level":"warning","message":{"text":"CategoryMysqldb.getAllParentCate (cognitive 38): CategoryMysqldb.getAllParentCate has cognitive complexity 38 (threshold 15). Drivers by points: if/else 6 (27 pts), loops 2 (7 pts), boolean chains 4 (nesting depth added 26). 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":"services/category/CategoryMysqldb.php"},"region":{"startLine":601}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe6df6876402fe459ef8b7da38073c14e0935f1bc27da5bb9bbe688124c98cb1"}},{"ruleId":"D2","level":"warning","message":{"text":"ProductMongodb.save (cognitive 38): ProductMongodb.save has cognitive complexity 38 (threshold 15). Drivers by points: if/else 14 (23 pts), loops 3 (8 pts), ternaries 4 (6 pts), boolean chains 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":"services/product/ProductMongodb.php"},"region":{"startLine":340}}}],"partialFingerprints":{"codehealthFindingId/v1":"9db9921b1482a4c74bb1d06d51f2085177019b1db4037d26a38527be5f2353de"}},{"ruleId":"D2","level":"warning","message":{"text":"(anonymous) (cognitive 38): (anonymous) has cognitive complexity 38 (threshold 15). Drivers by points: if/else 16 (18 pts), boolean chains 13, ternaries 2 (4 pts), loops 1 (3 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":"app/apphtml5/theme/base/html5/assets/js/sm.js"},"region":{"startLine":296}}}],"partialFingerprints":{"codehealthFindingId/v1":"98c2810177fdace38d0cb7171e4a9e20ef123cd119c2e7b263145289cbd71feb"}},{"ruleId":"D2","level":"warning","message":{"text":"initSwipePanels::handleTouchStart (cognitive 38): initSwipePanels::handleTouchStart has cognitive complexity 38 (threshold 15). Drivers by points: if/else 15 (26 pts), boolean chains 7, ternaries 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":"app/apphtml5/theme/base/html5/assets/js/sm.js"},"region":{"startLine":6687}}}],"partialFingerprints":{"codehealthFindingId/v1":"919c093d1551af489ffd4f04a511bbba66c69fcc963175462576c3c7bcb32051"}},{"ruleId":"D2","level":"warning","message":{"text":"ProductMysqldb.save (cognitive 37): ProductMysqldb.save has cognitive complexity 37 (threshold 15). Drivers by points: if/else 15 (26 pts), ternaries 5 (7 pts), loops 2 (3 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":"services/product/ProductMysqldb.php"},"region":{"startLine":437}}}],"partialFingerprints":{"codehealthFindingId/v1":"e39242c51307e50696e21e4fb414df289222bd0dc9eb49125ca84855d2d0def8"}},{"ruleId":"D2","level":"warning","message":{"text":"Manageredit.getGroupAttr (cognitive 36): Manageredit.getGroupAttr has cognitive complexity 36 (threshold 15). Drivers by points: if/else 7 (18 pts), loops 3 (10 pts), boolean chains 4, ternaries 1 (4 pts) (nesting depth added 21). 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/appadmin/modules/Catalog/block/productinfo/Manageredit.php"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"8650b612141d265ca6ded797b17753562ce4b1e4adda3946d05af5c54527808f"}},{"ruleId":"D2","level":"warning","message":{"text":"Address.remove (cognitive 36): Address.remove has cognitive complexity 36 (threshold 15). Drivers by points: if/else 15 (31 pts), boolean chains 3, loops 1 (2 pts) (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":"services/customer/Address.php"},"region":{"startLine":258}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba41cdc5205c765b329d07115563a161398c5abfb63b03ac836594912d06fcab"}},{"ruleId":"D2","level":"warning","message":{"text":"sm.showTab (cognitive 36): sm.showTab has cognitive complexity 36 (threshold 15). Drivers by points: if/else 19 (29 pts), boolean chains 7 (nesting depth added 10). Of this number, 30 points are the body\u0027s own statements and 6 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":"app/apphtml5/theme/base/html5/assets/js/sm.js"},"region":{"startLine":6037}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebb1c9b453342a2b33f686aebff3ae07b02702645978b343d29b8caffbfc5c6a"}},{"ruleId":"D2","level":"warning","message":{"text":"Calendar::setYearMonth (cognitive 36): Calendar::setYearMonth has cognitive complexity 36 (threshold 15). Drivers by points: if/else 15 (18 pts), ternaries 9 (14 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/apphtml5/theme/base/html5/assets/js/sm.js"},"region":{"startLine":2595}}}],"partialFingerprints":{"codehealthFindingId/v1":"fde5e7761d7683c5c2e5fb4d73651b1c882eb4501eed4625b8e681c727dbef01"}},{"ruleId":"D2","level":"warning","message":{"text":"LtUrl.reverseMatchingRoutingTable (cognitive 35): LtUrl.reverseMatchingRoutingTable has cognitive complexity 35 (threshold 15). Drivers by points: if/else 14 (30 pts), loops 2 (5 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":"lib/alipay/lotusphp_runtime/Url/Url.php"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"29bb2bf3ef4d67666793d5e6999bfe908a399ab21c582b1280269e38a27b1e4e"}},{"ruleId":"D2","level":"warning","message":{"text":"ProductMysqldb.getFrontCategoryProductsGroupBySpu (cognitive 35): ProductMysqldb.getFrontCategoryProductsGroupBySpu has cognitive complexity 35 (threshold 15). Drivers by points: if/else 9 (27 pts), loops 3 (7 pts), boolean chains 1 (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":"services/product/ProductMysqldb.php"},"region":{"startLine":1229}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5e5577aa6cd56bd994fa7292cc07f3c91b3dd2d36af2c7b6aa92e4e9d246ce3"}},{"ruleId":"D2","level":"warning","message":{"text":"ProductMysqldb.getFrontCategoryFilter (cognitive 35): ProductMysqldb.getFrontCategoryFilter has cognitive complexity 35 (threshold 15). Drivers by points: if/else 10 (28 pts), loops 2 (6 pts), boolean chains 1 (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":"services/product/ProductMysqldb.php"},"region":{"startLine":1313}}}],"partialFingerprints":{"codehealthFindingId/v1":"7074be58f2ecbbdbbde5a08f9b5046830ff87fa0112f8ba3311a1da447905838"}},{"ruleId":"D2","level":"warning","message":{"text":"MysqlSearch.fullTearchText (cognitive 35): MysqlSearch.fullTearchText has cognitive complexity 35 (threshold 15). Drivers by points: if/else 10 (18 pts), ternaries 4 (12 pts), loops 3 (4 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":"services/search/MysqlSearch.php"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"6635a4d1706b71d036d1609da54bf6338035bfdfd2ca74ab30ac1722bdcfd9e5"}},{"ruleId":"D2","level":"warning","message":{"text":"jquery.lazyload.$.fn.lazyload (cognitive 35): jquery.lazyload.$.fn.lazyload has cognitive complexity 35 (threshold 15). Drivers by points: if/else 20 (29 pts), boolean chains 6 (nesting depth added 9). Most of this is not in the body itself: 8 of the 35 points are its own statements and the rest belongs to 6 function literals inside it that branch (lines 37, 84, 98, \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/appfront/theme/base/front/assets/js/jquery.lazyload.js"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"2eb679d2ef0c7f73738133322b8eec8d69d4f47b546a213442438c3306d49fe1"}},{"ruleId":"D2","level":"warning","message":{"text":"Swiper::init (cognitive 35): Swiper::init has cognitive complexity 35 (threshold 15). Drivers by points: if/else 19 (28 pts), boolean chains 7 (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/apphtml5/theme/base/html5/assets/js/sm-extend.js"},"region":{"startLine":2368}}}],"partialFingerprints":{"codehealthFindingId/v1":"12a02d0b6d04018976fc7d9e976540120a2918f9329a735b466613cd1a4d01e7"}},{"ruleId":"D2","level":"warning","message":{"text":"Shipping.getAvailableShippingMethods (cognitive 34): Shipping.getAvailableShippingMethods has cognitive complexity 34 (threshold 15). Drivers by points: if/else 7 (19 pts), ternaries 5 (11 pts), loops 1 (3 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":"services/Shipping.php"},"region":{"startLine":291}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a2c53f3d3b2a245be6ba4244bdad01bf68062b4565278caf7cc429f5b2f5923"}},{"ruleId":"D2","level":"warning","message":{"text":"QuoteItem.getProductSpuOptions (cognitive 34): QuoteItem.getProductSpuOptions has cognitive complexity 34 (threshold 15). Drivers by points: if/else 7 (20 pts), loops 2 (8 pts), boolean chains 6 (nesting depth added 19). 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":"services/cart/QuoteItem.php"},"region":{"startLine":371}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbc17de603d7557cb6f52af1b5e67691e77db3e219a4d84e7da7106b1131b153"}},{"ruleId":"D2","level":"warning","message":{"text":"Item.getProductSpuOptions (cognitive 34): Item.getProductSpuOptions has cognitive complexity 34 (threshold 15). Drivers by points: if/else 7 (20 pts), loops 2 (8 pts), boolean chains 6 (nesting depth added 19). 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":"services/order/Item.php"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"98757812f02435c5cf765cd1e4bc1268a170c7e2b4d28dc5564f148143f524e6"}},{"ruleId":"D2","level":"warning","message":{"text":"ProductMysqldb.getFrontCategoryProductsAll (cognitive 34): ProductMysqldb.getFrontCategoryProductsAll has cognitive complexity 34 (threshold 15). Drivers by points: if/else 9 (27 pts), loops 2 (6 pts), boolean chains 1 (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":"services/product/ProductMysqldb.php"},"region":{"startLine":1157}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a3c22a0a9c9f858066a2f958a217492da65f2336a592cb922f17a658425b12d"}},{"ruleId":"D2","level":"warning","message":{"text":"(anonymous) (cognitive 34): (anonymous) has cognitive complexity 34 (threshold 15). Drivers by points: if/else 17 (19 pts), ternaries 6 (8 pts), loops 4, boolean chains 3 (nesting depth added 4). Most of this is not in the body itself: 3 of the 34 points are its own statements and the rest belongs to 21 function items inside it that branch (momentum, fn, a function literal at line 3660, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/apphtml5/theme/base/html5/assets/js/sm.js"},"region":{"startLine":3656}}}],"partialFingerprints":{"codehealthFindingId/v1":"4657aaa134086235759efd30f68b6ddb7c36ccc01ce1285b2cc584a4b5a473ec"}},{"ruleId":"D2","level":"warning","message":{"text":"sm.$.actions (cognitive 33): sm.$.actions has cognitive complexity 33 (threshold 15). Drivers by points: if/else 11 (25 pts), loops 2 (3 pts), ternaries 1 (3 pts), boolean chains 2 (nesting depth added 17). Of this number, 27 points are the body\u0027s own statements and 6 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":"app/apphtml5/theme/base/html5/assets/js/sm.js"},"region":{"startLine":1429}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bd506a321a526f045d819816af0f13211ef1b51c29edfb2713fcce79ec535ca"}},{"ruleId":"D2","level":"warning","message":{"text":"Index.getAttr1AndAttr2Info (cognitive 32): Index.getAttr1AndAttr2Info has cognitive complexity 32 (threshold 15). Drivers by points: if/else 6 (20 pts), ternaries 2 (6 pts), boolean chains 4, loops 1 (2 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":"app/apphtml5/modules/Catalog/block/product/Index.php"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"31ab626d9b9ab6b86aca823d84d6c245ef71361eb0955bb4e5f6f20265ab9513"}},{"ruleId":"D2","level":"warning","message":{"text":"ProductController.getProductBySkus (cognitive 32): ProductController.getProductBySkus has cognitive complexity 32 (threshold 15). Drivers by points: if/else 6 (16 pts), ternaries 2 (10 pts), loops 1 (4 pts), boolean chains 2 (nesting depth added 21). 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/appserver/modules/Catalog/controllers/ProductController.php"},"region":{"startLine":803}}}],"partialFingerprints":{"codehealthFindingId/v1":"51159662a5d036ff67e4b5bbac2be9068946cd28cdc0166c8d4c755a291541e9"}},{"ruleId":"D2","level":"warning","message":{"text":"HomeController.getProductBySkus (cognitive 32): HomeController.getProductBySkus has cognitive complexity 32 (threshold 15). Drivers by points: if/else 7 (19 pts), ternaries 2 (8 pts), loops 1 (3 pts), boolean chains 2 (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/appserver/modules/Cms/controllers/HomeController.php"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"54ea5abe7ab4858508b537f4926d0dbee77f0aaf5534b6de3b2abaead76f7132"}},{"ruleId":"D2","level":"warning","message":{"text":"Shipping.init (cognitive 32): Shipping.init has cognitive complexity 32 (threshold 15). Drivers by points: if/else 9 (26 pts), loops 1 (4 pts), boolean chains 2 (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":"services/Shipping.php"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"471011553d66dd58697509fa0da8441957b0c5adb22d6f401928c4ac6a15678a"}},{"ruleId":"D2","level":"warning","message":{"text":"Store.initCurrentStoreConfig (cognitive 32): Store.initCurrentStoreConfig has cognitive complexity 32 (threshold 15). Drivers by points: ternaries 5 (15 pts), if/else 5 (11 pts), boolean chains 4, loops 1 (2 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":"services/Store.php"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"cca60c09b537bbc0a158f53f7ecc8705660ac512b340d5815bd1a6cafadbecd0"}},{"ruleId":"D2","level":"warning","message":{"text":"Index.getAttr1AndAttr2Info (cognitive 31): Index.getAttr1AndAttr2Info has cognitive complexity 31 (threshold 15). Drivers by points: if/else 6 (20 pts), ternaries 2 (6 pts), boolean chains 3, loops 1 (2 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":"app/appfront/modules/Catalog/block/product/Index.php"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"467b1de366690e36e57c906a1d786986466dec938221b5f35d1cb9c2e418320d"}},{"ruleId":"D2","level":"warning","message":{"text":"Review.getReviewAndStarCount (cognitive 31): Review.getReviewAndStarCount has cognitive complexity 31 (threshold 15). Drivers by points: ternaries 6 (18 pts), if/else 6 (13 pts) (nesting depth added 19). 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/appfront/modules/Catalog/helpers/Review.php"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"32cf630462d128d506300d7ec9077523fa97eefb8ebc92beba82746e9aa7bedf"}},{"ruleId":"D2","level":"warning","message":{"text":"Review.getReviewAndStarCount (cognitive 31): Review.getReviewAndStarCount has cognitive complexity 31 (threshold 15). Drivers by points: ternaries 6 (18 pts), if/else 6 (13 pts) (nesting depth added 19). 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/apphtml5/modules/Catalog/helpers/Review.php"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a7152801066c71552e78009fca0db5cb35d97f59d6e5d781e56127d60424e4d"}},{"ruleId":"D2","level":"warning","message":{"text":"Echart.getLine (cognitive 31): Echart.getLine has cognitive complexity 31 (threshold 15). Drivers by points: if/else 8 (16 pts), loops 5 (13 pts), boolean chains 1, 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":"services/helper/Echart.php"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbe551781e09b3dcab805ce475a57686d99f84f36298e23ed0969f1c0f4cb009"}},{"ruleId":"D2","level":"warning","message":{"text":"_initSnap (cognitive 31): _initSnap has cognitive complexity 31 (threshold 15). Drivers by points: if/else 9 (15 pts), boolean chains 9, loops 3 (7 pts) (nesting depth added 10). 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 4841, 4932). 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/apphtml5/theme/base/html5/assets/js/sm.js"},"region":{"startLine":4834}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7312581f75e976865df1ebb620419f2247bfa10e72090734780ec77c9bf741d"}},{"ruleId":"D2","level":"warning","message":{"text":"updatePosition (cognitive 31): updatePosition has cognitive complexity 31 (threshold 15). Drivers by points: if/else 15 (25 pts), boolean chains 6 (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/apphtml5/theme/base/html5/assets/js/sm.js"},"region":{"startLine":5641}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a32363cde0124625efb84cc9732f5c4a67462e9374a51ae776f0781df59aac6"}},{"ruleId":"D2","level":"warning","message":{"text":"IndexController.getSearchProductColl (cognitive 30): IndexController.getSearchProductColl has cognitive complexity 30 (threshold 15). Drivers by points: if/else 7 (19 pts), ternaries 2 (8 pts), loops 1 (2 pts), boolean chains 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/appserver/modules/Catalogsearch/controllers/IndexController.php"},"region":{"startLine":327}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba4f421852d10f9f89cea68d42b5662c198b27504891db441a43731d9c7fc790"}},{"ruleId":"D2","level":"warning","message":{"text":"OrderController.actionWxview (cognitive 30): OrderController.actionWxview has cognitive complexity 30 (threshold 15). Drivers by points: if/else 6 (17 pts), loops 2 (12 pts), boolean chains 1 (nesting depth added 21). 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/appserver/modules/Customer/controllers/OrderController.php"},"region":{"startLine":266}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb86763a3fe4aa50ebd2c72aaf4f0a4c9985a5a6bf44390c361b7d7b7c6fb459"}},{"ruleId":"D2","level":"warning","message":{"text":"Placeorder.getLastData (cognitive 30): Placeorder.getLastData has cognitive complexity 30 (threshold 15). Drivers by points: if/else 12 (23 pts), error handling 2 (6 pts), boolean chains 1 (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/appserver/modules/Payment/block/paypal/express/Placeorder.php"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"a855d5415849bf31c23158635fe08dbf821208a5df726392bf13163e9da93593"}},{"ruleId":"D2","level":"warning","message":{"text":"Sitemap.beginSiteMap (cognitive 30): Sitemap.beginSiteMap has cognitive complexity 30 (threshold 15). Drivers by points: if/else 4 (15 pts), loops 2 (6 pts), ternaries 1 (5 pts), boolean chains 4 (nesting depth added 19). 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. This shape REPEATS in the file: 2 other methods here (Sitemap.endSiteMap, Sitemap.home) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 3 times rather than 3 independent problems. Splitting this body alone leaves the other 2 exactly as they are. Where these are variations on one operation, the change that clears all 3 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":"services/Sitemap.php"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"07b6a98e5c46872ebd8d9c961ad11c0bb9e7ddcec31bf63074a287a8590dd65e"}},{"ruleId":"D2","level":"warning","message":{"text":"Sitemap.endSiteMap (cognitive 30): Sitemap.endSiteMap has cognitive complexity 30 (threshold 15). Drivers by points: if/else 4 (15 pts), loops 2 (6 pts), ternaries 1 (5 pts), boolean chains 4 (nesting depth added 19). 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. This shape REPEATS in the file: 2 other methods here (Sitemap.beginSiteMap, Sitemap.home) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 3 times rather than 3 independent problems. Splitting this body alone leaves the other 2 exactly as they are. Where these are variations on one operation, the change that clears all 3 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":"services/Sitemap.php"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"12f56a1df3fef58a1564a9f378e8d1f437c85bec7f81b2c83a261281c9aa48ab"}},{"ruleId":"D2","level":"warning","message":{"text":"Sitemap.home (cognitive 30): Sitemap.home has cognitive complexity 30 (threshold 15). Drivers by points: if/else 4 (15 pts), loops 2 (6 pts), ternaries 1 (5 pts), boolean chains 4 (nesting depth added 19). 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. This shape REPEATS in the file: 2 other methods here (Sitemap.beginSiteMap, Sitemap.endSiteMap) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 3 times rather than 3 independent problems. Splitting this body alone leaves the other 2 exactly as they are. Where these are variations on one operation, the change that clears all 3 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":"services/Sitemap.php"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"4eee29d5e04967e61d70b15ac0ebb62b2f755b4e84810fff61397156a1ff4c40"}},{"ruleId":"D2","level":"warning","message":{"text":"MongoSearch.syncProductInfo (cognitive 30): MongoSearch.syncProductInfo has cognitive complexity 30 (threshold 15). Drivers by points: if/else 5 (19 pts), loops 2 (8 pts), boolean chains 3 (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":"services/search/MongoSearch.php"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"b85ed9070b75f8645538a557c3ea57c1db3442d7a012ea24367ae195ab67e793"}},{"ruleId":"D2","level":"warning","message":{"text":"MysqlSearch.syncProductInfo (cognitive 30): MysqlSearch.syncProductInfo has cognitive complexity 30 (threshold 15). Drivers by points: if/else 5 (19 pts), loops 2 (8 pts), boolean chains 3 (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":"services/search/MysqlSearch.php"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc944950870c5c0e6819b0a12ad9ea93d09fee1a7a2bf43720d93492841d7a2b"}},{"ruleId":"D2","level":"warning","message":{"text":"_end (cognitive 30): _end has cognitive complexity 30 (threshold 15). Drivers by points: if/else 11 (14 pts), boolean chains 8, ternaries 4 (8 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/apphtml5/theme/base/html5/assets/js/sm.js"},"region":{"startLine":4213}}}],"partialFingerprints":{"codehealthFindingId/v1":"29564af26f467e8ee71a2d2287e7ac72de8784e9133f09609da857e03368768f"}},{"ruleId":"D2","level":"warning","message":{"text":"CategoryController.actionUpsertone2 (cognitive 29): CategoryController.actionUpsertone2 has cognitive complexity 29 (threshold 15). Drivers by points: ternaries 12, if/else 10 (11 pts), boolean chains 6 (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/appapi/modules/V1/controllers/CategoryController.php"},"region":{"startLine":413}}}],"partialFingerprints":{"codehealthFindingId/v1":"b94e731d8d74734a741201845ab04898c94340983daff2d7e714376b24ad0595"}},{"ruleId":"D2","level":"warning","message":{"text":"AopClient.execute (cognitive 29): AopClient.execute has cognitive complexity 29 (threshold 15). Drivers by points: if/else 16 (24 pts), boolean chains 3, error handling 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":"lib/alipay/aop/AopClient.php"},"region":{"startLine":436}}}],"partialFingerprints":{"codehealthFindingId/v1":"0519a9e0a499492fbce77c72f9b7919547808ab1c72f9e9e4f0b302a7d8ab017"}},{"ruleId":"D2","level":"warning","message":{"text":"LtTemplateView.template (cognitive 29): LtTemplateView.template has cognitive complexity 29 (threshold 15). Drivers by points: if/else 15 (26 pts), loops 1 (3 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":"lib/alipay/lotusphp_runtime/MVC/TemplateView.php"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7604f7842679b4b1d8aca565cc5d24ad235b2a6abca2f344218ddb15ed21653"}},{"ruleId":"D2","level":"warning","message":{"text":"LtTemplateView.parseInclude (cognitive 29): LtTemplateView.parseInclude has cognitive complexity 29 (threshold 15). Drivers by points: if/else 10 (26 pts), loops 2 (3 pts) (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":"lib/alipay/lotusphp_runtime/MVC/TemplateView.php"},"region":{"startLine":300}}}],"partialFingerprints":{"codehealthFindingId/v1":"996c1db361353e576c330e35debacf8883b5873f83c5f913f6f823ee0748fd2f"}},{"ruleId":"D2","level":"warning","message":{"text":"Order.generateOrderByCart (cognitive 29): Order.generateOrderByCart has cognitive complexity 29 (threshold 15). Drivers by points: if/else 20 (25 pts), boolean chains 4 (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":"services/Order.php"},"region":{"startLine":591}}}],"partialFingerprints":{"codehealthFindingId/v1":"7838055176458e6aae21a59c09b7815a098732e08cd1c9cc7ed99844f6933c6c"}},{"ruleId":"D2","level":"warning","message":{"text":"ZipFile.unzip (cognitive 29): ZipFile.unzip has cognitive complexity 29 (threshold 15). Drivers by points: if/else 8 (21 pts), loops 1 (3 pts), ternaries 1 (3 pts), boolean chains 2 (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":"services/helper/ZipFile.php"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"c13c8b933c999ae350b72af457c0a9e9b7d1c3c137005735fcdff12d657ac65b"}},{"ruleId":"D2","level":"warning","message":{"text":"Paypal.updateOrderPayment (cognitive 29): Paypal.updateOrderPayment has cognitive complexity 29 (threshold 15). Drivers by points: if/else 12 (26 pts), boolean chains 3 (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":"services/payment/Paypal.php"},"region":{"startLine":748}}}],"partialFingerprints":{"codehealthFindingId/v1":"c759e538ca09e45e3d28dcf64d0b47f7f920882c91c3d96c02f05b4bb365d7cf"}},{"ruleId":"D2","level":"warning","message":{"text":"AppadminbaseBlock.getDbSearchBarHtml (cognitive 28): AppadminbaseBlock.getDbSearchBarHtml has cognitive complexity 28 (threshold 15). Drivers by points: if/else 4 (12 pts), loops 3 (12 pts), ternaries 1 (4 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/appadmin/modules/AppadminbaseBlock.php"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"08d4b38c14c8a1dda7ab4d19769f25fd3625bfd33238d462bcdae0d3c999c6c5"}},{"ruleId":"D2","level":"warning","message":{"text":"Product.getDbSearchBarHtml (cognitive 28): Product.getDbSearchBarHtml has cognitive complexity 28 (threshold 15). Drivers by points: if/else 4 (12 pts), loops 3 (12 pts), ternaries 1 (4 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/appadmin/modules/Catalog/block/category/Product.php"},"region":{"startLine":463}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bcdd2f545a4660b3ce92d0c6b18b653ce7ed417728a49b4bc0b43834aeec355"}},{"ruleId":"D2","level":"warning","message":{"text":"Index.getPayment (cognitive 28): Index.getPayment has cognitive complexity 28 (threshold 15). Drivers by points: if/else 7 (17 pts), loops 3 (10 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":"app/appfront/modules/Checkout/block/onepage/Index.php"},"region":{"startLine":383}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8623129bbaf7a0cd5601a28a0a6c72c623a2eae751f72e9f57cd51743a5af0a"}},{"ruleId":"D2","level":"warning","message":{"text":"Index.getPayment (cognitive 28): Index.getPayment has cognitive complexity 28 (threshold 15). Drivers by points: if/else 7 (17 pts), loops 3 (10 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":"app/apphtml5/modules/Checkout/block/onepage/Index.php"},"region":{"startLine":375}}}],"partialFingerprints":{"codehealthFindingId/v1":"22793a23f1f229628175c971b425a30b2852ec8780bcec33a84f35b7ac25de68"}},{"ruleId":"D2","level":"warning","message":{"text":"Index.getPayment (cognitive 28): Index.getPayment has cognitive complexity 28 (threshold 15). Drivers by points: if/else 7 (17 pts), loops 3 (10 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":"app/appserver/modules/Checkout/block/onepage/Index.php"},"region":{"startLine":407}}}],"partialFingerprints":{"codehealthFindingId/v1":"d16836b27427eaf5f78f19ce66954f135c76cfb127659aeb494ff9d747144eda"}},{"ruleId":"D2","level":"warning","message":{"text":"Helper.copyDirImage (cognitive 28): Helper.copyDirImage has cognitive complexity 28 (threshold 15). Drivers by points: if/else 10 (25 pts), boolean chains 2, loops 1 (nesting depth added 15). 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":"services/Helper.php"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac7e9a5281893bbcad47af31afc61aef6b85b30d01352911e351f4e039858005"}},{"ruleId":"D2","level":"warning","message":{"text":"Category.getFilterSortAttrUrl (cognitive 28): Category.getFilterSortAttrUrl has cognitive complexity 28 (threshold 15). Drivers by points: if/else 13 (26 pts), boolean chains 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":"services/url/Category.php"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"86cdc38d765f189afe03babcb311815aa5805d0a3f2b7b2ba4f3c29fdef2ef4b"}},{"ruleId":"D2","level":"warning","message":{"text":"Calendar::initCalendarEvents::handleTouchEnd (cognitive 28): Calendar::initCalendarEvents::handleTouchEnd has cognitive complexity 28 (threshold 15). Drivers by points: if/else 17 (27 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":"app/apphtml5/theme/base/html5/assets/js/sm.js"},"region":{"startLine":1911}}}],"partialFingerprints":{"codehealthFindingId/v1":"30243aa24438378773e1490e0f7dce63c316dafacbd58f61b651f19451f10b30"}},{"ruleId":"D2","level":"warning","message":{"text":"Calendar::initCalendarEvents::handleYearTouchEnd (cognitive 28): Calendar::initCalendarEvents::handleYearTouchEnd has cognitive complexity 28 (threshold 15). Drivers by points: if/else 17 (27 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":"app/apphtml5/theme/base/html5/assets/js/sm.js"},"region":{"startLine":2032}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b23601a2c15e5a2d80ff570b7a43c4b666ae1cb2dad5fc673d9a9ae36792d75"}},{"ruleId":"D2","level":"warning","message":{"text":"updateItems (cognitive 28): updateItems has cognitive complexity 28 (threshold 15). Drivers by points: if/else 12 (19 pts), boolean chains 7, loops 1 (2 pts) (nesting depth added 8). This file\u0027s own header attributes it to another copyright holder, so it is code this repository carries rather than code it wrote: restructuring the body in place forks it from upstream and turns every future re-sync into a manual merge. The performable moves are to leave the body as close to its upstream form as possible and keep it behind a narrow interface of your own, and to re-sync it when upstream changes \u2014 or, if it has already diverged far enough that you maintain it here, adopt it deliberately and then split the body into named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appfront/theme/base/front/assets/js/owl.carousel.js"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d85f4b94f8d8b2c03143cf1a360b6512b76a0bed3c5dd7fa5943e5d7514b5a6"}},{"ruleId":"D2","level":"warning","message":{"text":"CartController.getCartInfo (cognitive 27): CartController.getCartInfo has cognitive complexity 27 (threshold 15). Drivers by points: if/else 4 (10 pts), ternaries 3 (9 pts), loops 2 (6 pts), boolean chains 2 (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/appserver/modules/Checkout/controllers/CartController.php"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3a5ec4486e2a5987625dbadd29ec8ded7a57eababafb79a4207d12c002ac5d2"}},{"ruleId":"D2","level":"warning","message":{"text":"MongoSearch.fullTearchText (cognitive 27): MongoSearch.fullTearchText has cognitive complexity 27 (threshold 15). Drivers by points: if/else 8 (16 pts), loops 5 (9 pts), boolean chains 1, ternaries 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":"services/search/MongoSearch.php"},"region":{"startLine":314}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2b6a336fb046a802c7d174a8586d8b050425e0812e03f8356a5d2a7df1f9890"}},{"ruleId":"D2","level":"warning","message":{"text":"Category.getFilterChooseAttrUrl (cognitive 27): Category.getFilterChooseAttrUrl has cognitive complexity 27 (threshold 15). Drivers by points: if/else 13 (26 pts), boolean chains 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":"services/url/Category.php"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ecf908e1cdb2b1056c5b26492d0204c2e4c673b04154df4238364b85c55dd57"}},{"ruleId":"D2","level":"warning","message":{"text":"PhotoBrowser::onSlideTouchMove (cognitive 27): PhotoBrowser::onSlideTouchMove has cognitive complexity 27 (threshold 15). Drivers by points: if/else 15 (16 pts), boolean chains 9, 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":"app/apphtml5/theme/base/html5/assets/js/sm-extend.js"},"region":{"startLine":3158}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9864771b416f897df9bebf695370d9610e6414b1bbcbfb174a71ef57d2f8ee0"}},{"ruleId":"D2","level":"warning","message":{"text":"Edit.initAddress (cognitive 26): Edit.initAddress has cognitive complexity 26 (threshold 15). Drivers by points: if/else 10 (16 pts), loops 1 (5 pts), boolean chains 4, ternaries 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/appfront/modules/Customer/block/address/Edit.php"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"d465b263e6caa618e920af36d89575bd0cf7c01ed0a5080f811115bec529123b"}},{"ruleId":"D2","level":"warning","message":{"text":"Edit.initAddress (cognitive 26): Edit.initAddress has cognitive complexity 26 (threshold 15). Drivers by points: if/else 10 (16 pts), loops 1 (5 pts), boolean chains 4, ternaries 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/apphtml5/modules/Customer/block/address/Edit.php"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e1c1a87865603ccf9082208de1cb057f6921ea4037e562f94d4c164ddfb25f5"}},{"ruleId":"D2","level":"warning","message":{"text":"CategoryController.getCategoryProductColl (cognitive 26): CategoryController.getCategoryProductColl has cognitive complexity 26 (threshold 15). Drivers by points: if/else 8 (15 pts), ternaries 2 (6 pts), loops 2 (4 pts), boolean chains 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/appserver/modules/Catalog/controllers/CategoryController.php"},"region":{"startLine":593}}}],"partialFingerprints":{"codehealthFindingId/v1":"96f598829b11df0c36275a809418e69d2998d8dc2568cba9452da956a7855bbb"}},{"ruleId":"D2","level":"warning","message":{"text":"LtAutoloader.parseLibNames (cognitive 26): LtAutoloader.parseLibNames has cognitive complexity 26 (threshold 15). Drivers by points: if/else 8 (21 pts), match/switch 1 (3 pts), boolean chains 1, loops 1 (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":"lib/alipay/lotusphp_runtime/Autoloader/Autoloader.php"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"91863e818c7cf73c5f33597621912ee21dfe3541ac9063465703a9732eab2af7"}},{"ruleId":"D2","level":"warning","message":{"text":"LtRouter.matchingRoutingTable (cognitive 26): LtRouter.matchingRoutingTable has cognitive complexity 26 (threshold 15). Drivers by points: if/else 8 (20 pts), loops 2 (5 pts), boolean chains 1 (nesting depth added 15). 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":"lib/alipay/lotusphp_runtime/Router/Router.php"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"c321aba6efc07f614cc156ffd6cb5761c5487eb7b5d76840947995165f2a52eb"}},{"ruleId":"D2","level":"warning","message":{"text":"Store.html5DeviceCheckAndRedirect (cognitive 26): Store.html5DeviceCheckAndRedirect has cognitive complexity 26 (threshold 15). Drivers by points: if/else 7 (14 pts), boolean chains 6, ternaries 5 (6 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":"services/Store.php"},"region":{"startLine":302}}}],"partialFingerprints":{"codehealthFindingId/v1":"d71db9c30733af32ff019938f71cdfe32266f3d09304293e1ceb4d533b06ff01"}},{"ruleId":"D2","level":"warning","message":{"text":"Menu.getLeftMenuTreeHtml (cognitive 26): Menu.getLeftMenuTreeHtml has cognitive complexity 26 (threshold 15). Drivers by points: if/else 11 (22 pts), boolean chains 3, 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":"services/admin/Menu.php"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e469a6296130fe8698562ae5fe71e92d0955456189f2822b1cb1445516e568e"}},{"ruleId":"D2","level":"warning","message":{"text":"Quote.mergeCartAfterUserLogin (cognitive 26): Quote.mergeCartAfterUserLogin has cognitive complexity 26 (threshold 15). Drivers by points: if/else 9 (23 pts), boolean chains 3 (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":"services/cart/Quote.php"},"region":{"startLine":470}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1130e747b00a538b388c279e2407e642a5c554adf51bd79d9c277fb86b60e6d"}},{"ruleId":"D2","level":"warning","message":{"text":"ProductMysqldb.checkSpuAttrUnique (cognitive 26): ProductMysqldb.checkSpuAttrUnique has cognitive complexity 26 (threshold 15). Drivers by points: if/else 6 (19 pts), loops 2 (6 pts), boolean chains 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":"services/product/ProductMysqldb.php"},"region":{"startLine":404}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad17abc6ee721c78f67673711d37e1a2f5f9882891b6c4d1ea8e1f756d49cb64"}},{"ruleId":"D2","level":"warning","message":{"text":"sm.FastClick.onTouchEnd (cognitive 26): sm.FastClick.onTouchEnd has cognitive complexity 26 (threshold 15). Drivers by points: if/else 14 (20 pts), boolean chains 6 (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/apphtml5/theme/base/html5/assets/js/sm.js"},"region":{"startLine":939}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3080142ef4983e4dbeff055603cd7370d586e0d8e3c0a87b43cdc205db248cb"}},{"ruleId":"D2","level":"warning","message":{"text":"Managerbatchedit.getGroupGeneralAttr (cognitive 25): Managerbatchedit.getGroupGeneralAttr has cognitive complexity 25 (threshold 15). Drivers by points: if/else 5 (15 pts), loops 2 (7 pts), boolean chains 3 (nesting depth added 15). 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/appadmin/modules/Catalog/block/productinfo/Managerbatchedit.php"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a6ed1790521523c6f88b1e48c1aa75b148a712e75c4aa9495e7161a5d649e53"}},{"ruleId":"D2","level":"warning","message":{"text":"Quote.getCartId (cognitive 25): Quote.getCartId has cognitive complexity 25 (threshold 15). Drivers by points: if/else 9 (23 pts), boolean chains 2 (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":"services/cart/Quote.php"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ed4321a8bc28cd95b46a9818cb917e888eff5ec7e7469f57785ea18eb9602f5"}},{"ruleId":"D2","level":"warning","message":{"text":"Product.convertToCategoryInfo (cognitive 25): Product.convertToCategoryInfo has cognitive complexity 25 (threshold 15). Drivers by points: if/else 7 (13 pts), ternaries 2 (6 pts), boolean chains 4, 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":"services/category/Product.php"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d7edd7bde52a3812aeea378ed263e2b824c8c23460f8b4b2d07a808355d3c34"}},{"ruleId":"D2","level":"warning","message":{"text":"Address.currentAddressList (cognitive 25): Address.currentAddressList has cognitive complexity 25 (threshold 15). Drivers by points: if/else 5 (15 pts), loops 2 (9 pts), boolean chains 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":"services/customer/Address.php"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bcfce52ad5134bd60ee3d206ea58c41bfd3ce6cda1358f890370a745c7a4abb"}},{"ruleId":"D2","level":"warning","message":{"text":"Stock.deduct (cognitive 25): Stock.deduct has cognitive complexity 25 (threshold 15). Drivers by points: if/else 9 (19 pts), boolean chains 2, 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":"services/product/Stock.php"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae73cc64a05a3c59e48f76fabbf9c0b6cf2230453970751d227c5eef817b8104"}},{"ruleId":"D2","level":"warning","message":{"text":"Getproductcategory.getMenArray (cognitive 24): Getproductcategory.getMenArray has cognitive complexity 24 (threshold 15). Drivers by points: if/else 4 (14 pts), loops 4 (10 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/appadmin/modules/Catalog/block/productinfo/Getproductcategory.php"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"de36976ce8b99a330eed7ecdaa058f07ddb34647e2817eeb91c0522233cf99e8"}},{"ruleId":"D2","level":"warning","message":{"text":"CategoryController.actionUpdateone (cognitive 24): CategoryController.actionUpdateone has cognitive complexity 24 (threshold 15). Drivers by points: ternaries 12, if/else 7, boolean chains 5. 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. This shape REPEATS in the file: one other method here (CategoryController.actionUpsertone) 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/appapi/modules/V1/controllers/CategoryController.php"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7a2e07d6e3dfac52fadd060fa23cbbf4298e7dba5b585e24628f1f1c1623f24"}},{"ruleId":"D2","level":"warning","message":{"text":"CategoryController.actionUpsertone (cognitive 24): CategoryController.actionUpsertone has cognitive complexity 24 (threshold 15). Drivers by points: ternaries 12, if/else 7, boolean chains 5. 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. This shape REPEATS in the file: one other method here (CategoryController.actionUpdateone) 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/appapi/modules/V1/controllers/CategoryController.php"},"region":{"startLine":312}}}],"partialFingerprints":{"codehealthFindingId/v1":"739597ffbf59b5db9fc8e799dea2d15cce962518e1545027c2e34ceab013050c"}},{"ruleId":"D2","level":"warning","message":{"text":"ArticleController.behaviors (cognitive 24): ArticleController.behaviors has cognitive complexity 24 (threshold 15). Drivers by points: if/else 7 (17 pts), boolean chains 4, loops 1 (3 pts) (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":"app/appfront/modules/Cms/controllers/ArticleController.php"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"8542141e9a107c587d5515ebc2efc9d9f42b72056b2826647739f0b30c801b0d"}},{"ruleId":"D2","level":"warning","message":{"text":"Index.saveContactsInfo (cognitive 24): Index.saveContactsInfo has cognitive complexity 24 (threshold 15). Drivers by points: if/else 7 (10 pts), ternaries 5 (9 pts), boolean chains 5 (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/appfront/modules/Customer/block/contacts/Index.php"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e3e689392a39f72b006955b6c7fbc18bbbc9b8f6c5c51f84652738ebee01ce0"}},{"ruleId":"D2","level":"warning","message":{"text":"Index.saveContactsInfo (cognitive 24): Index.saveContactsInfo has cognitive complexity 24 (threshold 15). Drivers by points: if/else 7 (10 pts), ternaries 5 (9 pts), boolean chains 5 (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/apphtml5/modules/Customer/block/contacts/Index.php"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b12f6c38c2b5be865ac7bc87e5886b9f554089e9f3210cfb20caf89e9222b8f"}},{"ruleId":"D2","level":"warning","message":{"text":"AccountController.actionRegister (cognitive 24): AccountController.actionRegister has cognitive complexity 24 (threshold 15). Drivers by points: if/else 9 (23 pts), boolean chains 1 (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":"app/apphtml5/modules/Customer/controllers/AccountController.php"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"69feeeffbc0bb939328a6f4beaad7ac328dabefabe2b9c5da8094482fb71b5c5"}},{"ruleId":"D2","level":"warning","message":{"text":"CategoryController.getOrderBy (cognitive 24): CategoryController.getOrderBy has cognitive complexity 24 (threshold 15). Drivers by points: if/else 7 (14 pts), ternaries 2 (6 pts), loops 1 (3 pts), boolean chains 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/appserver/modules/Catalog/controllers/CategoryController.php"},"region":{"startLine":507}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0c765af985eb323c0881de3d5703ae92db8da0d6dd9d2cbc21acd2ed840cf05"}},{"ruleId":"D2","level":"warning","message":{"text":"Index.getCartInfo (cognitive 24): Index.getCartInfo has cognitive complexity 24 (threshold 15). Drivers by points: if/else 5 (12 pts), ternaries 2 (8 pts), loops 1 (3 pts), boolean chains 1 (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/appserver/modules/Checkout/block/onepage/Index.php"},"region":{"startLine":303}}}],"partialFingerprints":{"codehealthFindingId/v1":"22b3eaed1344833bdb0bec5193eb1e791eb5a61604e7e271d5ca0efae027941a"}},{"ruleId":"D2","level":"warning","message":{"text":"AdminUserResetPassword.validateNewPassword (cognitive 24): AdminUserResetPassword.validateNewPassword has cognitive complexity 24 (threshold 15). Drivers by points: if/else 10 (23 pts), boolean chains 1 (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":"models/mysqldb/adminUser/AdminUserResetPassword.php"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ba4db8b19ae8109361d7fa86417efc56ade1b817b796e0b296e4ab276862941"}},{"ruleId":"D2","level":"warning","message":{"text":"Price.getCartPriceByProductId (cognitive 24): Price.getCartPriceByProductId has cognitive complexity 24 (threshold 15). Drivers by points: ternaries 7 (15 pts), if/else 3 (6 pts), boolean chains 3 (nesting depth added 11). 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":"services/product/Price.php"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4e536e9692f16a8be5d3a1aab3c7c371f3642b6b0d74d0892cbc8156ba03944"}},{"ruleId":"D2","level":"warning","message":{"text":"XunSearch.syncProductInfo (cognitive 24): XunSearch.syncProductInfo has cognitive complexity 24 (threshold 15). Drivers by points: if/else 4 (13 pts), loops 2 (8 pts), boolean chains 3 (nesting depth added 15). 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":"services/search/XunSearch.php"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca2ce60a74cd058e049cbea89d243ba992b3c45914a9bc9327c07d5e10f42d49"}},{"ruleId":"D2","level":"warning","message":{"text":"_wheel (cognitive 24): _wheel has cognitive complexity 24 (threshold 15). Drivers by points: if/else 19 (22 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/apphtml5/theme/base/html5/assets/js/sm.js"},"region":{"startLine":4741}}}],"partialFingerprints":{"codehealthFindingId/v1":"c082595dd75453eb9705305e10a62fb518b5f488b327459b773f26fa2a3361f0"}},{"ruleId":"D2","level":"warning","message":{"text":"Swiper::initEvents (cognitive 24): Swiper::initEvents has cognitive complexity 24 (threshold 15). Drivers by points: if/else 10 (14 pts), boolean chains 5, ternaries 5 (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":"app/apphtml5/theme/base/html5/assets/js/sm-extend.js"},"region":{"startLine":737}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab379245dbf22eb3b710e219e643bf1272073fd16db3dbf623b39dadbb9d9efc"}},{"ruleId":"D2","level":"warning","message":{"text":"Index.getCartInfo (cognitive 23): Index.getCartInfo has cognitive complexity 23 (threshold 15). Drivers by points: if/else 4 (11 pts), ternaries 2 (8 pts), loops 1 (3 pts), boolean chains 1 (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/appfront/modules/Checkout/block/onepage/Index.php"},"region":{"startLine":282}}}],"partialFingerprints":{"codehealthFindingId/v1":"f366dfbad8443164f9fffd8da5b31fa8008d76c859e0b25a8ca7373cfadb00ba"}},{"ruleId":"D2","level":"warning","message":{"text":"AccountController.actionRegister (cognitive 23): AccountController.actionRegister has cognitive complexity 23 (threshold 15). Drivers by points: if/else 9 (22 pts), boolean chains 1 (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":"app/appfront/modules/Customer/controllers/AccountController.php"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"e19dcff922245ee729693a6f80af1a7783c00d845ebc1fcc7f1a2313eea87023"}},{"ruleId":"D2","level":"warning","message":{"text":"Review.getCartInfo (cognitive 23): Review.getCartInfo has cognitive complexity 23 (threshold 15). Drivers by points: if/else 4 (11 pts), ternaries 2 (8 pts), loops 1 (3 pts), boolean chains 1 (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/appfront/modules/Payment/block/paypal/express/Review.php"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"edba3abdfef022fe6457aa37ad66be2ee2a10aafe4dcc03aa246da28a19841ff"}},{"ruleId":"D2","level":"warning","message":{"text":"Page.getLastData (cognitive 23): Page.getLastData has cognitive complexity 23 (threshold 15). Drivers by points: if/else 9 (11 pts), loops 4 (8 pts), boolean chains 3, ternaries 1 (nesting depth added 6). 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/appfront/widgets/Page.php"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"a19bd8b73018557986b25b70c5f441de7ef66f9ff4b69adc275f6580e331f978"}},{"ruleId":"D2","level":"warning","message":{"text":"Index.getCartInfo (cognitive 23): Index.getCartInfo has cognitive complexity 23 (threshold 15). Drivers by points: if/else 4 (11 pts), ternaries 2 (8 pts), loops 1 (3 pts), boolean chains 1 (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/apphtml5/modules/Checkout/block/onepage/Index.php"},"region":{"startLine":272}}}],"partialFingerprints":{"codehealthFindingId/v1":"5df4af10a330fdc97b51576eba39adef805c5926578bf4f9c81bbad666cedf78"}},{"ruleId":"D2","level":"warning","message":{"text":"Review.getCartInfo (cognitive 23): Review.getCartInfo has cognitive complexity 23 (threshold 15). Drivers by points: if/else 4 (11 pts), ternaries 2 (8 pts), loops 1 (3 pts), boolean chains 1 (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/apphtml5/modules/Payment/block/paypal/express/Review.php"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d5034be51b002e87daa8a1e500205c73ddf91ab73588ab0f78b881f3563b942"}},{"ruleId":"D2","level":"warning","message":{"text":"Page.getLastData (cognitive 23): Page.getLastData has cognitive complexity 23 (threshold 15). Drivers by points: if/else 9 (11 pts), loops 4 (8 pts), boolean chains 3, ternaries 1 (nesting depth added 6). 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/apphtml5/widgets/Page.php"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fca3841684cce947859cd9903f629b9f714e097d09a3deb05b4c12032c6d670"}},{"ruleId":"D2","level":"warning","message":{"text":"Review.getCartInfo (cognitive 23): Review.getCartInfo has cognitive complexity 23 (threshold 15). Drivers by points: if/else 4 (11 pts), ternaries 2 (8 pts), loops 1 (3 pts), boolean chains 1 (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/appserver/modules/Payment/block/paypal/express/Review.php"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"f100e2af50c499561fdf8461fe47e0c7cb80c7747cfb8d12735057574e077ca3"}},{"ruleId":"D2","level":"warning","message":{"text":"AopClient.checkResponseSign (cognitive 23): AopClient.checkResponseSign has cognitive complexity 23 (threshold 15). Drivers by points: if/else 7 (18 pts), boolean chains 5 (nesting depth added 11). 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":"lib/alipay/aop/AopClient.php"},"region":{"startLine":1022}}}],"partialFingerprints":{"codehealthFindingId/v1":"04260cb4fc8d23d01a9e5004d6d81e97c48ea7c24d202df8b3f0a143f538ba5e"}},{"ruleId":"D2","level":"warning","message":{"text":"LtXml.getString (cognitive 23): LtXml.getString has cognitive complexity 23 (threshold 15). Drivers by points: if/else 6 (11 pts), loops 3 (8 pts), ternaries 1 (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":"lib/alipay/lotusphp_runtime/XML/Xml.php"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"916c18033d004874768aee87ca2e89aefef0c4110f16e1b3b7734bc90f6dd3ca"}},{"ruleId":"D2","level":"warning","message":{"text":"Store.isAppServerMobile (cognitive 23): Store.isAppServerMobile has cognitive complexity 23 (threshold 15). Drivers by points: if/else 7 (14 pts), boolean chains 5, ternaries 4 (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":"services/Store.php"},"region":{"startLine":366}}}],"partialFingerprints":{"codehealthFindingId/v1":"0708521449f0be7b9cd49b8e922018ee98184b063fca69af9b878ffd5d9c5b75"}},{"ruleId":"D2","level":"warning","message":{"text":"Role.getRoleResourcesByRoleIds (cognitive 23): Role.getRoleResourcesByRoleIds has cognitive complexity 23 (threshold 15). Drivers by points: if/else 7 (15 pts), loops 2 (6 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":"services/admin/Role.php"},"region":{"startLine":282}}}],"partialFingerprints":{"codehealthFindingId/v1":"31bfb49ab1fd5ce5028362e45bdb58fbee5a2f3fbf138275648c64da549464c9"}},{"ruleId":"D2","level":"warning","message":{"text":"AR.getCollByFilter (cognitive 23): AR.getCollByFilter has cognitive complexity 23 (threshold 15). Drivers by points: if/else 8 (12 pts), ternaries 7, loops 1 (3 pts), boolean chains 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, 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":"services/helper/AR.php"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"7dedbeeab9200121258dee436eccbe0d8248ea0e5edd9b25ee7af2a6ac836820"}},{"ruleId":"D2","level":"warning","message":{"text":"AttrGroupMysqldb.save (cognitive 23): AttrGroupMysqldb.save has cognitive complexity 23 (threshold 15). Drivers by points: if/else 13 (21 pts), ternaries 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":"services/product/attrgroup/AttrGroupMysqldb.php"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef63509b5c8d14dbb1d3ca9f4c7f6f1dccde608aed81b3963204033c8ce872c9"}},{"ruleId":"D2","level":"warning","message":{"text":"ErrorHandler.argumentsToString (cognitive 23): ErrorHandler.argumentsToString has cognitive complexity 23 (threshold 15). Drivers by points: if/else 10 (19 pts), ternaries 1 (3 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":"yii/web/ErrorHandler.php"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"260845741c9129469081ef979eea76944c92a38c7b57dbea257697df4ad2c2d4"}},{"ruleId":"D2","level":"warning","message":{"text":"Scroller (cognitive 23): Scroller has cognitive complexity 23 (threshold 15). Drivers by points: if/else 9 (16 pts), boolean chains 4, ternaries 1 (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/apphtml5/theme/base/html5/assets/js/sm.js"},"region":{"startLine":5781}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9545a54a6afa3a446a9c0e632753cd931c0d5f1b51e3ff712a08b61175e7d39"}},{"ruleId":"D2","level":"warning","message":{"text":"Swiper::updateSlidesProgress (cognitive 23): Swiper::updateSlidesProgress has cognitive complexity 23 (threshold 15). Drivers by points: if/else 6 (9 pts), ternaries 4 (7 pts), boolean chains 6, 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/apphtml5/theme/base/html5/assets/js/sm-extend.js"},"region":{"startLine":477}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc0e7bc32356f30c78d2749e3d6a476618de10767f518566c01e64225612ec31"}},{"ruleId":"D2","level":"warning","message":{"text":"Swiper::setTranslate (cognitive 23): Swiper::setTranslate has cognitive complexity 23 (threshold 15). Drivers by points: if/else 5 (11 pts), ternaries 2 (6 pts), boolean chains 4, 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":"app/apphtml5/theme/base/html5/assets/js/sm-extend.js"},"region":{"startLine":2094}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2feb0dc571d4f000c07a7d0ea1cb66c5e5c0a76d6999df5b2f31e4d7f071d87"}},{"ruleId":"D2","level":"warning","message":{"text":"Manageredit.exportExcel (cognitive 22): Manageredit.exportExcel has cognitive complexity 22 (threshold 15). Drivers by points: if/else 4 (9 pts), loops 2 (6 pts), ternaries 1 (5 pts), boolean chains 2 (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":"app/appadmin/modules/Sales/block/orderinfo/Manageredit.php"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"72fa70cbc087f1bf6117830e07129d41e416ca50a4c84fe81cdd4eaa6e16d21c"}},{"ruleId":"D2","level":"warning","message":{"text":"CategoryController.actionFetchone (cognitive 22): CategoryController.actionFetchone has cognitive complexity 22 (threshold 15). Drivers by points: if/else 10 (19 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":"app/appapi/modules/V1/controllers/CategoryController.php"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8977e2e180b47c23c34ec6c9d9801fa55f8c90351cc00aebe9b8bd066a39335"}},{"ruleId":"D2","level":"warning","message":{"text":"Placeorder.getLastData (cognitive 22): Placeorder.getLastData has cognitive complexity 22 (threshold 15). Drivers by points: if/else 8 (16 pts), error handling 1 (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":"app/appfront/modules/Checkout/block/onepage/Placeorder.php"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed073ffdad55b3b6d0caca3d9c1f9f66082ecce3b55b3e1735de5ef03596706e"}},{"ruleId":"D2","level":"warning","message":{"text":"ProductController.getAttr1AndAttr2Info (cognitive 22): ProductController.getAttr1AndAttr2Info has cognitive complexity 22 (threshold 15). Drivers by points: if/else 5 (14 pts), ternaries 2 (4 pts), boolean chains 3, 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":"app/appserver/modules/Catalog/controllers/ProductController.php"},"region":{"startLine":444}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d473a0b524a2fa07ae65ee658b704392c626c0d1f88ae53597d2fe3737c2c26"}},{"ruleId":"D2","level":"warning","message":{"text":"RegisterController.actionAccount (cognitive 22): RegisterController.actionAccount has cognitive complexity 22 (threshold 15). Drivers by points: if/else 10 (20 pts), boolean chains 1, ternaries 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/appserver/modules/Customer/controllers/RegisterController.php"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"de81c9d6b18cc762443e3743088e7d8bf1c7ad757897adf82b9b015bed5a4650"}},{"ruleId":"D2","level":"warning","message":{"text":"LtPagination.renderPager (cognitive 22): LtPagination.renderPager has cognitive complexity 22 (threshold 15). Drivers by points: if/else 10 (16 pts), loops 3 (5 pts), boolean chains 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":"lib/alipay/lotusphp_runtime/Pagination/Pagination.php"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7bcd75610cc9ec7a86a1bb671b3325adce976c9bac97428a81c4d5289d585a4"}},{"ruleId":"D2","level":"warning","message":{"text":"CategoryMysqldb.save (cognitive 22): CategoryMysqldb.save has cognitive complexity 22 (threshold 15). Drivers by points: if/else 11 (16 pts), ternaries 4 (5 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":"services/category/CategoryMysqldb.php"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"148c5663b57e411b8744c5bca81ce1f09eaa21a91d3d0dcdd1ff358263c0e82f"}},{"ruleId":"D2","level":"warning","message":{"text":"Widget.renderContent (cognitive 22): Widget.renderContent has cognitive complexity 22 (threshold 15). Drivers by points: if/else 6 (12 pts), ternaries 2 (6 pts), boolean chains 4 (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":"services/page/Widget.php"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"2769681c529ee44165f77ae0c2075a389eca0ee52bafbde8e6df75ae308cd8d7"}},{"ruleId":"D2","level":"warning","message":{"text":"Info.getProductCOSku (cognitive 22): Info.getProductCOSku has cognitive complexity 22 (threshold 15). Drivers by points: if/else 4 (13 pts), loops 2 (6 pts), boolean chains 3 (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":"services/product/Info.php"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"8904c7c2e71661eab59d498588db0cdeaea0770d5f04e051b35debe15659530e"}},{"ruleId":"D2","level":"warning","message":{"text":"ProductMysqldb.apicoll (cognitive 22): ProductMysqldb.apicoll has cognitive complexity 22 (threshold 15). Drivers by points: if/else 4 (11 pts), loops 3 (11 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":"services/product/ProductMysqldb.php"},"region":{"startLine":277}}}],"partialFingerprints":{"codehealthFindingId/v1":"eef340132e5af2755ff33d9fd5c713f8e9761eb5ee4ac9e13a0b67519e11e38c"}},{"ruleId":"D2","level":"warning","message":{"text":"Stock.updatebybase (cognitive 22): Stock.updatebybase has cognitive complexity 22 (threshold 15). Drivers by points: if/else 8 (18 pts), boolean chains 2, loops 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":"services/product/Stock.php"},"region":{"startLine":310}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0bc0f34506f17d09e74549e950de54f1ec271426584fb1ab70f25a9db10473a"}},{"ruleId":"D2","level":"warning","message":{"text":"Swiper::getTranslate (cognitive 22): Swiper::getTranslate has cognitive complexity 22 (threshold 15). Drivers by points: if/else 13 (15 pts), ternaries 2 (4 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":"app/apphtml5/theme/base/html5/assets/js/sm-extend.js"},"region":{"startLine":1484}}}],"partialFingerprints":{"codehealthFindingId/v1":"7640e7ce4e1aeb6a64a4caa6fb122a4f28cd36cb9969265e8441e399726b083e"}},{"ruleId":"D2","level":"warning","message":{"text":"Index.getOrderBy (cognitive 21): Index.getOrderBy has cognitive complexity 21 (threshold 15). Drivers by points: if/else 6 (11 pts), ternaries 2 (6 pts), loops 1 (3 pts), boolean chains 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/appfront/modules/Catalog/block/category/Index.php"},"region":{"startLine":379}}}],"partialFingerprints":{"codehealthFindingId/v1":"b883e58e488a69a7745776828e3ec939c5801770d12598f45803486a1f8c7ce5"}},{"ruleId":"D2","level":"warning","message":{"text":"CategoryController.behaviors (cognitive 21): CategoryController.behaviors has cognitive complexity 21 (threshold 15). Drivers by points: if/else 6 (15 pts), boolean chains 3, loops 1 (3 pts) (nesting depth added 11). 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/appfront/modules/Catalog/controllers/CategoryController.php"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"021cd5f1d48a6cdb61d3fcc2754bb31ce0f97d791834ae3db2351a41d019d79b"}},{"ruleId":"D2","level":"warning","message":{"text":"ProductController.behaviors (cognitive 21): ProductController.behaviors has cognitive complexity 21 (threshold 15). Drivers by points: if/else 6 (15 pts), boolean chains 3, loops 1 (3 pts) (nesting depth added 11). 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/appfront/modules/Catalog/controllers/ProductController.php"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"c838ce8abbb7dfa93269efe536d02aa142a633a2ba24ab5d58da84b23c95316a"}},{"ruleId":"D2","level":"warning","message":{"text":"Index.getOrderBy (cognitive 21): Index.getOrderBy has cognitive complexity 21 (threshold 15). Drivers by points: if/else 7 (16 pts), loops 1 (4 pts), boolean chains 1 (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":"app/appfront/modules/Catalogsearch/block/index/Index.php"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"944bfb6410f7c9b5dff64235a18ff0e47f4d47484515f27307fe52ed8fc4bc39"}},{"ruleId":"D2","level":"warning","message":{"text":"Review.getPayment (cognitive 21): Review.getPayment has cognitive complexity 21 (threshold 15). Drivers by points: if/else 6 (14 pts), loops 2 (6 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/appfront/modules/Payment/block/paypal/express/Review.php"},"region":{"startLine":325}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5cddc4c78d5b53b8df552a45b57d7888592a17ca24816f0212ea16409abc99e"}},{"ruleId":"D2","level":"warning","message":{"text":"Index.getOrderBy (cognitive 21): Index.getOrderBy has cognitive complexity 21 (threshold 15). Drivers by points: if/else 6 (11 pts), ternaries 2 (6 pts), loops 1 (3 pts), boolean chains 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/apphtml5/modules/Catalog/block/category/Index.php"},"region":{"startLine":366}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ff77799808f642317b149b6c2cc10b4e7746c1077a71df73c32d6b3845ef492"}},{"ruleId":"D2","level":"warning","message":{"text":"Index.getOrderBy (cognitive 21): Index.getOrderBy has cognitive complexity 21 (threshold 15). Drivers by points: if/else 7 (16 pts), loops 1 (4 pts), boolean chains 1 (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":"app/apphtml5/modules/Catalogsearch/block/index/Index.php"},"region":{"startLine":279}}}],"partialFingerprints":{"codehealthFindingId/v1":"267c1b209a0484c112ae641c740451f276a92dbc3eff01817a44dcfc9422454d"}},{"ruleId":"D2","level":"warning","message":{"text":"Review.getPayment (cognitive 21): Review.getPayment has cognitive complexity 21 (threshold 15). Drivers by points: if/else 6 (14 pts), loops 2 (6 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/apphtml5/modules/Payment/block/paypal/express/Review.php"},"region":{"startLine":325}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b5c91032ba61652fbcab55cba791ce9504654f5f923ec1f397ba13a2ec88c84"}},{"ruleId":"D2","level":"warning","message":{"text":"ConfigController.updateDomainConfig (cognitive 21): ConfigController.updateDomainConfig has cognitive complexity 21 (threshold 15). Drivers by points: if/else 14 (21 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/appinstall/modules/Database/controllers/ConfigController.php"},"region":{"startLine":252}}}],"partialFingerprints":{"codehealthFindingId/v1":"d17d9d223970c63a8db8ddb191b6a6a3d8d6a4965fbac8705e042171a3b58a86"}},{"ruleId":"D2","level":"warning","message":{"text":"ConfigController.copyDir (cognitive 21): ConfigController.copyDir has cognitive complexity 21 (threshold 15). Drivers by points: if/else 8 (18 pts), boolean chains 2, 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/appinstall/modules/Database/controllers/ConfigController.php"},"region":{"startLine":653}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e5837bdd28535b7b28b79d372ff652d9518438cd5d08c7cb88941e3b9a638c1"}},{"ruleId":"D2","level":"warning","message":{"text":"OrderController.actionIndex (cognitive 21): OrderController.actionIndex has cognitive complexity 21 (threshold 15). Drivers by points: loops 3 (10 pts), if/else 5 (9 pts), boolean chains 1, ternaries 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/appserver/modules/Customer/controllers/OrderController.php"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fa349bd2395751dc8e017ff27c9a60d21938a8943f09a66d368db82eba7758f"}},{"ruleId":"D2","level":"warning","message":{"text":"Review.getPayment (cognitive 21): Review.getPayment has cognitive complexity 21 (threshold 15). Drivers by points: if/else 6 (14 pts), loops 2 (6 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/appserver/modules/Payment/block/paypal/express/Review.php"},"region":{"startLine":346}}}],"partialFingerprints":{"codehealthFindingId/v1":"9edff6ac3aeea1c78b24cfe0e67a19b1efb0cd14f372b0e6400cd239571b7815"}},{"ruleId":"D2","level":"warning","message":{"text":"LtDbTableDataGateway.updateRows (cognitive 21): LtDbTableDataGateway.updateRows has cognitive complexity 21 (threshold 15). Drivers by points: if/else 8 (15 pts), ternaries 3, boolean chains 2, 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":"lib/alipay/lotusphp_runtime/DB/QueryEngine/TableDataGateway/DbTableDataGateway.php"},"region":{"startLine":252}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b59336159326bc7b18ab4a36e8659fda80291d4c5861bea827e0fa6c548301d"}},{"ruleId":"D2","level":"warning","message":{"text":"Helper.copyDir (cognitive 21): Helper.copyDir has cognitive complexity 21 (threshold 15). Drivers by points: if/else 8 (18 pts), boolean chains 2, 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":"services/Helper.php"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b498d005e2a0689abd21cc460ceb714fabe3683807abe66468f456866093f72"}},{"ruleId":"D2","level":"warning","message":{"text":"Quote.getCartInfo (cognitive 21): Quote.getCartInfo has cognitive complexity 21 (threshold 15). Drivers by points: if/else 7 (18 pts), boolean chains 3 (nesting depth added 11). 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":"services/cart/Quote.php"},"region":{"startLine":310}}}],"partialFingerprints":{"codehealthFindingId/v1":"44048ea81ab676a9e2be36d7bc1ce583a70ea8bf7ba127a3cca0fc2262e8c5f3"}},{"ruleId":"D2","level":"warning","message":{"text":"ProductApi.insertByShopfwPost (cognitive 21): ProductApi.insertByShopfwPost has cognitive complexity 21 (threshold 15). Drivers by points: if/else 7 (15 pts), boolean chains 5, 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":"services/product/ProductApi.php"},"region":{"startLine":416}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8cab0c7d06e91026e3707f184fb2e0b51fa174af76b840ee90684d85c348675"}},{"ruleId":"D2","level":"warning","message":{"text":"Request.getRewriteUri (cognitive 21): Request.getRewriteUri has cognitive complexity 21 (threshold 15). Drivers by points: if/else 15 (21 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":"yii/web/Request.php"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfe81adabfba34425c5cd98509c297e46876501cb97574f320c2186b4b1d1135"}},{"ruleId":"D2","level":"warning","message":{"text":"sm.$.closeModal (cognitive 21): sm.$.closeModal has cognitive complexity 21 (threshold 15). Drivers by points: if/else 12 (14 pts), boolean chains 6, ternaries 1 (nesting depth added 2). Of this number, 12 points are the body\u0027s own statements and 9 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":"app/apphtml5/theme/base/html5/assets/js/sm.js"},"region":{"startLine":1598}}}],"partialFingerprints":{"codehealthFindingId/v1":"55525ef0bb679c9471115057c20536f4a26c4b79e16ef8f958f1ab6ede7837f7"}},{"ruleId":"D2","level":"warning","message":{"text":"_nearestSnap (cognitive 21): _nearestSnap has cognitive complexity 21 (threshold 15). Drivers by points: if/else 14 (18 pts), loops 2, boolean chains 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/apphtml5/theme/base/html5/assets/js/sm.js"},"region":{"startLine":4947}}}],"partialFingerprints":{"codehealthFindingId/v1":"aade44a9313901c3c1402d03f6fb894be071481948a7bc438000f0a422fab45b"}},{"ruleId":"D2","level":"warning","message":{"text":"Managerbatchedit.getImgHtml (cognitive 20): Managerbatchedit.getImgHtml has cognitive complexity 20 (threshold 15). Drivers by points: ternaries 4 (10 pts), boolean chains 4, if/else 4, loops 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/appadmin/modules/Catalog/block/productinfo/Managerbatchedit.php"},"region":{"startLine":294}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e067ac42d9a680a0883d8021bc41c59da17fef524f7a8b7dc2911559a95a6b5"}},{"ruleId":"D2","level":"warning","message":{"text":"Manageredit.getImgHtml (cognitive 20): Manageredit.getImgHtml has cognitive complexity 20 (threshold 15). Drivers by points: ternaries 4 (10 pts), boolean chains 4, if/else 4, loops 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/appadmin/modules/Catalog/block/productinfo/Manageredit.php"},"region":{"startLine":293}}}],"partialFingerprints":{"codehealthFindingId/v1":"c193ab925ec6b941dd05eee2f2f4bd298ac64b30cd9e9afb4ed46fae230ba98a"}},{"ruleId":"D2","level":"warning","message":{"text":"ArticleController.actionFetchone (cognitive 20): ArticleController.actionFetchone has cognitive complexity 20 (threshold 15). Drivers by points: if/else 9 (17 pts), boolean chains 3 (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/appapi/modules/V1/controllers/ArticleController.php"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6b791eb08e29ebbdc2d204607eab73ee90c036581999455f30e8f4f504e62af"}},{"ruleId":"D2","level":"warning","message":{"text":"CategoryController.behaviors (cognitive 20): CategoryController.behaviors has cognitive complexity 20 (threshold 15). Drivers by points: if/else 5 (14 pts), boolean chains 3, loops 1 (3 pts) (nesting depth added 11). 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/apphtml5/modules/Catalog/controllers/CategoryController.php"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c8ff293e7a34b1b0b8b4390dc1e542b5de53548234b5394785846166c2d6773"}},{"ruleId":"D2","level":"warning","message":{"text":"ProductController.behaviors (cognitive 20): ProductController.behaviors has cognitive complexity 20 (threshold 15). Drivers by points: if/else 5 (14 pts), boolean chains 3, loops 1 (3 pts) (nesting depth added 11). 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/apphtml5/modules/Catalog/controllers/ProductController.php"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b7f1145155b15294589f659475e45e804de9ed0ee53d13d77f11d0bf96da962"}},{"ruleId":"D2","level":"warning","message":{"text":"Placeorder.getLastData (cognitive 20): Placeorder.getLastData has cognitive complexity 20 (threshold 15). Drivers by points: if/else 7 (14 pts), error handling 1 (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/apphtml5/modules/Checkout/block/onepage/Placeorder.php"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd97869a822fe07dae05b263d5d79866164ac17375900316e5a073e3add18c15"}},{"ruleId":"D2","level":"warning","message":{"text":"ArticleController.behaviors (cognitive 20): ArticleController.behaviors has cognitive complexity 20 (threshold 15). Drivers by points: if/else 5 (14 pts), boolean chains 3, loops 1 (3 pts) (nesting depth added 11). 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/apphtml5/modules/Cms/controllers/ArticleController.php"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c3eaff42ff2704e697a88cf541eca0ff847776e885ec95843e22d7cb7d06833"}},{"ruleId":"D2","level":"warning","message":{"text":"CategoryController.behaviors (cognitive 20): CategoryController.behaviors has cognitive complexity 20 (threshold 15). Drivers by points: if/else 5 (14 pts), boolean chains 3, loops 1 (3 pts) (nesting depth added 11). 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/appserver/modules/Catalog/controllers/CategoryController.php"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b8e28087df17d2551cff06f53f615be423dae335708daa30e5b07ce33dff2f4"}},{"ruleId":"D2","level":"warning","message":{"text":"ProductController.behaviors (cognitive 20): ProductController.behaviors has cognitive complexity 20 (threshold 15). Drivers by points: if/else 5 (14 pts), boolean chains 3, loops 1 (3 pts) (nesting depth added 11). 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/appserver/modules/Catalog/controllers/ProductController.php"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"818ab930e56688c3d904d795a769ac1305383bc9e17bdf82d162ccb13c376007"}},{"ruleId":"D2","level":"warning","message":{"text":"ArticleController.behaviors (cognitive 20): ArticleController.behaviors has cognitive complexity 20 (threshold 15). Drivers by points: if/else 5 (14 pts), boolean chains 3, loops 1 (3 pts) (nesting depth added 11). 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/appserver/modules/Cms/controllers/ArticleController.php"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7a4e3687e5a1bb804f852411f682f8ab57580860c0049fb19ce34b5be20bc1d"}},{"ruleId":"D2","level":"warning","message":{"text":"BaseController.behaviors (cognitive 20): BaseController.behaviors has cognitive complexity 20 (threshold 15). Drivers by points: if/else 5 (14 pts), boolean chains 3, loops 1 (3 pts) (nesting depth added 11). 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/appserver/modules/General/controllers/BaseController.php"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3857cde970cb9d5ed9bc7dfa19b98ef0dcb386bebf744ccbdaad99d651763c9"}},{"ruleId":"D2","level":"warning","message":{"text":"MysqldatatomongoController.actionSync (cognitive 20): MysqldatatomongoController.actionSync has cognitive complexity 20 (threshold 15). Drivers by points: loops 4 (9 pts), if/else 3 (8 pts), ternaries 1 (2 pts), boolean chains 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/console/modules/Product/controllers/MysqldatatomongoController.php"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1042aae5fbf842cd5a7c86e5cfd784d04f2996a3cd37304bd8469e50792384d"}},{"ruleId":"D2","level":"warning","message":{"text":"WxPayApi.refund (cognitive 20): WxPayApi.refund has cognitive complexity 20 (threshold 15). Drivers by points: if/else 9 (19 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":"lib/wxpay/lib/WxPay.Api.php"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f700b49827199736a276120b37c4f842e8ac0c486bea5aac09693fedc3de1d1"}},{"ruleId":"D2","level":"warning","message":{"text":"Email.mailer (cognitive 20): Email.mailer has cognitive complexity 20 (threshold 15). Drivers by points: if/else 8 (15 pts), boolean chains 3, 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":"services/Email.php"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"91095824772eba87f7b4c1cb6c2b61c5ee0a5e6c1ef0a12d671b6018fea14be0"}},{"ruleId":"D2","level":"warning","message":{"text":"Search.getAllChildServiceName (cognitive 20): Search.getAllChildServiceName has cognitive complexity 20 (threshold 15). Drivers by points: if/else 5 (13 pts), loops 2 (6 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":"services/Search.php"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"e92ac4f0d91497b94dc4d225e98c97da14c6c5740e02258c98fb8762a5de9f59"}},{"ruleId":"D2","level":"warning","message":{"text":"UrlKey.getResourcesWithGroupAndSelected (cognitive 20): UrlKey.getResourcesWithGroupAndSelected has cognitive complexity 20 (threshold 15). Drivers by points: if/else 6 (10 pts), loops 4 (7 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":"services/admin/UrlKey.php"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f9d2e30b3f45be9f72316bcf8aeef08710c8f2795261e90800fff0588076fcd"}},{"ruleId":"D2","level":"warning","message":{"text":"Coupon.couponIsActive (cognitive 20): Coupon.couponIsActive has cognitive complexity 20 (threshold 15). Drivers by points: if/else 8 (20 pts) (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":"services/cart/Coupon.php"},"region":{"startLine":283}}}],"partialFingerprints":{"codehealthFindingId/v1":"9045748da25f4bfc4059c7fa87f09b9129f45c0f46a2f8df83803633be12e428"}},{"ruleId":"D2","level":"warning","message":{"text":"ArticleMysqldb.remove (cognitive 20): ArticleMysqldb.remove has cognitive complexity 20 (threshold 15). Drivers by points: if/else 7 (10 pts), error handling 2 (5 pts), boolean chains 3, loops 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":"services/cms/article/ArticleMysqldb.php"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"958823c5e6290c2bf53b0723669e4e2d164c87513195cb193d9b3aebbd6fe7c6"}},{"ruleId":"D2","level":"warning","message":{"text":"Menu.getMenuData (cognitive 20): Menu.getMenuData has cognitive complexity 20 (threshold 15). Drivers by points: if/else 5 (6 pts), loops 3 (6 pts), boolean chains 4, 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":"services/page/Menu.php"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"f849fbea551007c0609742d69569682843a4c3cde586131f49376fabc054015d"}},{"ruleId":"D2","level":"warning","message":{"text":"Theme.getViewFile (cognitive 20): Theme.getViewFile has cognitive complexity 20 (threshold 15). Drivers by points: if/else 10 (16 pts), loops 2 (3 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":"services/page/Theme.php"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"61c85b108011c91fe1753a1089c4f8fbf5094c49da4288cc29896a361cb22fc4"}},{"ruleId":"D2","level":"warning","message":{"text":"Paypal.updateOrderStatusByIpn (cognitive 20): Paypal.updateOrderStatusByIpn has cognitive complexity 20 (threshold 15). Drivers by points: if/else 17 (20 pts) (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"services/payment/Paypal.php"},"region":{"startLine":304}}}],"partialFingerprints":{"codehealthFindingId/v1":"524c6c9dafe28953c0de632b59a64aa9e0d3409ff61f7dbe0ac41867977dc833"}},{"ruleId":"D2","level":"warning","message":{"text":"RewriteMysqldb.remove (cognitive 20): RewriteMysqldb.remove has cognitive complexity 20 (threshold 15). Drivers by points: if/else 7 (10 pts), error handling 2 (5 pts), boolean chains 3, loops 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":"services/url/rewrite/RewriteMysqldb.php"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5534115ef6ea01f7c85218355a1308c16616064ccf13ceac961b92fc9324f7b"}},{"ruleId":"D2","level":"warning","message":{"text":"View.renderBodyEndHtml (cognitive 20): View.renderBodyEndHtml has cognitive complexity 20 (threshold 15). Drivers by points: if/else 12 (19 pts), 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":"yii/web/View.php"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d5bce4de58bfa305bf2770b27da45666499db01b6f95155bada6f06494c2586"}},{"ruleId":"D2","level":"warning","message":{"text":"FastClick (cognitive 20): FastClick has cognitive complexity 20 (threshold 15). Drivers by points: if/else 9 (13 pts), boolean chains 6, loops 1 (nesting depth added 4). Most of this is not in the body itself: 9 of the 20 points are its own statements and the rest belongs to 6 function items inside it that branch (removeEventListener, addEventListener, addEventListener::hijacked, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/apphtml5/theme/base/html5/assets/js/sm.js"},"region":{"startLine":422}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9ddf797034069f7f6b3756ebd10a058945dbbd3d73d10f0dad05059ea9d7e67"}},{"ruleId":"D2","level":"warning","message":{"text":"openModal (cognitive 20): openModal 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). Of this number, 18 points are the body\u0027s own statements and 2 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":"app/apphtml5/theme/base/html5/assets/js/sm.js"},"region":{"startLine":1538}}}],"partialFingerprints":{"codehealthFindingId/v1":"21832a51da885038182198cc8341090c355e42eea409f12e0877051301200f51"}},{"ruleId":"D2","level":"warning","message":{"text":"IScroll (cognitive 20): IScroll has cognitive complexity 20 (threshold 15). Drivers by points: ternaries 9, boolean chains 7, if/else 3, loops 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/apphtml5/theme/base/html5/assets/js/sm.js"},"region":{"startLine":3918}}}],"partialFingerprints":{"codehealthFindingId/v1":"634a034fc01715c9074a960161de9ad87c619dfb4f53255f18683d1326d8c5d3"}},{"ruleId":"D2","level":"warning","message":{"text":"Swiper::onTouchStart (cognitive 20): Swiper::onTouchStart has cognitive complexity 20 (threshold 15). Drivers by points: if/else 10 (14 pts), boolean chains 4, ternaries 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/apphtml5/theme/base/html5/assets/js/sm-extend.js"},"region":{"startLine":911}}}],"partialFingerprints":{"codehealthFindingId/v1":"67a977386e909c2447fb174c1dbe460628d37c1661fca311fbb6672a4774c3ca"}},{"ruleId":"D2","level":"warning","message":{"text":"Swiper::slideTo (cognitive 20): Swiper::slideTo has cognitive complexity 20 (threshold 15). Drivers by points: if/else 13 (16 pts), boolean chains 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, 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/apphtml5/theme/base/html5/assets/js/sm-extend.js"},"region":{"startLine":1324}}}],"partialFingerprints":{"codehealthFindingId/v1":"3be343f3bb96fa458d3931696800caa8383316aaea3815eaf8855d8455990a5e"}},{"ruleId":"D2","level":"warning","message":{"text":"Index.getNumPerPage (cognitive 19): Index.getNumPerPage has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (18 pts), boolean chains 1 (nesting depth added 11). 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/appfront/modules/Catalog/block/category/Index.php"},"region":{"startLine":416}}}],"partialFingerprints":{"codehealthFindingId/v1":"11998e74347d809d9b774583432279c0ff18457c1b16a76db6da2236363c8bd2"}},{"ruleId":"D2","level":"warning","message":{"text":"Index.getNumPerPage (cognitive 19): Index.getNumPerPage has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (18 pts), boolean chains 1 (nesting depth added 11). 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/appfront/modules/Catalogsearch/block/index/Index.php"},"region":{"startLine":293}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cca5cdb92361ee5f9235adda4de66d24e375ceda26b52c9512a249e1cf502d7"}},{"ruleId":"D2","level":"warning","message":{"text":"Index.getNumPerPage (cognitive 19): Index.getNumPerPage has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (18 pts), boolean chains 1 (nesting depth added 11). 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/apphtml5/modules/Catalog/block/category/Index.php"},"region":{"startLine":403}}}],"partialFingerprints":{"codehealthFindingId/v1":"89fb281162ca8d551873675e02bdbffb541f5f4e5381f8892e90e40a6d8381dd"}},{"ruleId":"D2","level":"warning","message":{"text":"Index.getNumPerPage (cognitive 19): Index.getNumPerPage has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (18 pts), boolean chains 1 (nesting depth added 11). 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/apphtml5/modules/Catalogsearch/block/index/Index.php"},"region":{"startLine":316}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ce222da9b0a43e407c9d1c3776d5c9250c3e29aa5c6979478815da73d6c7e32"}},{"ruleId":"D2","level":"warning","message":{"text":"CategoryController.getNumPerPage (cognitive 19): CategoryController.getNumPerPage has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (18 pts), boolean chains 1 (nesting depth added 11). 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/appserver/modules/Catalog/controllers/CategoryController.php"},"region":{"startLine":553}}}],"partialFingerprints":{"codehealthFindingId/v1":"4dd9b40e4819b511dac597c861628fa5dc05e7bf2921152bf8a2dccf1a21aeb4"}},{"ruleId":"D2","level":"warning","message":{"text":"IndexController.getNumPerPage (cognitive 19): IndexController.getNumPerPage has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (18 pts), boolean chains 1 (nesting depth added 11). 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/appserver/modules/Catalogsearch/controllers/IndexController.php"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"f36edf75ba4bd839bc41c28857efb44d4e566685c5e6901db55c44fd3ba60d5a"}},{"ruleId":"D2","level":"warning","message":{"text":"LtDbConfigBuilder.addHost (cognitive 19): LtDbConfigBuilder.addHost has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (17 pts), boolean chains 2 (nesting depth added 9). 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":"lib/alipay/lotusphp_runtime/DB/DbConfigBuilder.php"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b572573d461452cbe8596de83525943d0c55c6c7b3f067964b67d8a355bb5dc"}},{"ruleId":"D2","level":"warning","message":{"text":"Customer.save (cognitive 19): Customer.save has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (15 pts), ternaries 2 (4 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":"services/Customer.php"},"region":{"startLine":260}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cc9690bc1600cc8aa700a116d61cd9d21b27b6afff00df86241dc0a5e78e379"}},{"ruleId":"D2","level":"warning","message":{"text":"Request.getRewriteUri (cognitive 19): Request.getRewriteUri has cognitive complexity 19 (threshold 15). Drivers by points: if/else 13 (19 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":"services/Request.php"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"af5264e50ded8396e9253e121bb4c9c1ed5dc6391c3ca40c34b18be44b4a7f2f"}},{"ruleId":"D2","level":"warning","message":{"text":"CategoryMongodb.save (cognitive 19): CategoryMongodb.save has cognitive complexity 19 (threshold 15). Drivers by points: if/else 11 (16 pts), ternaries 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":"services/category/CategoryMongodb.php"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"cccb5417486d42e94b92d05dac234d4df43f6c9cfaa48bf9c0dbd17eb33dc448"}},{"ruleId":"D2","level":"warning","message":{"text":"Brand.save (cognitive 19): Brand.save has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (12 pts), ternaries 3 (4 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":"services/product/Brand.php"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b40be6cad4e63ff051b2ee19b79795339cc1a96d3e2cd3a1d05b1df7b7032b4"}},{"ruleId":"D2","level":"warning","message":{"text":"Brandcategory.save (cognitive 19): Brandcategory.save has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (12 pts), ternaries 3 (4 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":"services/product/Brandcategory.php"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cf837003451b791f68269e9f4528ca852ca0c55eefee3cdf3f2cc2e752b30b6"}},{"ruleId":"D2","level":"warning","message":{"text":"sm.handleClicks (cognitive 19): sm.handleClicks has cognitive complexity 19 (threshold 15). Drivers by points: if/else 11 (16 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/apphtml5/theme/base/html5/assets/js/sm.js"},"region":{"startLine":1650}}}],"partialFingerprints":{"codehealthFindingId/v1":"78d3d495027fd4a6909a56295011b5157483a694f67518d80ef927be211bb50a"}},{"ruleId":"D2","level":"warning","message":{"text":"Calendar::nextMonth (cognitive 19): Calendar::nextMonth has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (11 pts), ternaries 5 (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":"app/apphtml5/theme/base/html5/assets/js/sm.js"},"region":{"startLine":2513}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb36b90564eff9c7995db66f95cd3e50479df4802f8f0a8c096a2ee574712430"}},{"ruleId":"D2","level":"warning","message":{"text":"Calendar::prevMonth (cognitive 19): Calendar::prevMonth has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (11 pts), ternaries 5 (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":"app/apphtml5/theme/base/html5/assets/js/sm.js"},"region":{"startLine":2552}}}],"partialFingerprints":{"codehealthFindingId/v1":"4db5b57c9a2439e4561082f771c835d564d010012a57fc307c340b63f04a5f5c"}},{"ruleId":"D2","level":"warning","message":{"text":"Swiper::setTranslate (cognitive 19): Swiper::setTranslate has cognitive complexity 19 (threshold 15). Drivers by points: if/else 14 (18 pts), boolean chains 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":"app/apphtml5/theme/base/html5/assets/js/sm-extend.js"},"region":{"startLine":2031}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba9548deefbb0ce109dd359f7d298f97be72a99bc587b7a0e38ede35f6176bb3"}},{"ruleId":"D2","level":"warning","message":{"text":"goTo (cognitive 19): goTo has cognitive complexity 19 (threshold 15). Drivers by points: if/else 15 (18 pts), boolean chains 1 (nesting depth added 3). This file\u0027s own header attributes it to another copyright holder, so it is code this repository carries rather than code it wrote: restructuring the body in place forks it from upstream and turns every future re-sync into a manual merge. The performable moves are to leave the body as close to its upstream form as possible and keep it behind a narrow interface of your own, and to re-sync it when upstream changes \u2014 or, if it has already diverged far enough that you maintain it here, adopt it deliberately and then split the body into named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appfront/theme/base/front/assets/js/owl.carousel.js"},"region":{"startLine":597}}}],"partialFingerprints":{"codehealthFindingId/v1":"e07477ca850fe767c313564c7eec5b12be62f3e0f9bfddf55ce53ae5b0304b38"}},{"ruleId":"D2","level":"warning","message":{"text":"ExtensionmarketController.actionAdministertest (cognitive 18): ExtensionmarketController.actionAdministertest has cognitive complexity 18 (threshold 15). Drivers by points: if/else 9 (18 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/appadmin/modules/System/controllers/ExtensionmarketController.php"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4deec5612bca22683b5f7fc7a70cd0dc473830a71fb735413d191060ff9ddc9"}},{"ruleId":"D2","level":"warning","message":{"text":"Index.getRefineByInfo (cognitive 18): Index.getRefineByInfo has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (15 pts), loops 1 (2 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":"app/appfront/modules/Catalog/block/category/Index.php"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa4338f5c8636ee7d698dbaaa5c6d91373efe5074748e076291f08182ea424c5"}},{"ruleId":"D2","level":"warning","message":{"text":"Index.getRefineByInfo (cognitive 18): Index.getRefineByInfo has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (15 pts), loops 1 (2 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":"app/apphtml5/modules/Catalog/block/category/Index.php"},"region":{"startLine":273}}}],"partialFingerprints":{"codehealthFindingId/v1":"e600956a1422677e7058fb9f61f36ef8359087252b8c737b71f3a3f78a8150f4"}},{"ruleId":"D2","level":"warning","message":{"text":"IndexController.getFilterInfo (cognitive 18): IndexController.getFilterInfo has cognitive complexity 18 (threshold 15). Drivers by points: if/else 4 (11 pts), loops 2 (5 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/appserver/modules/Catalogsearch/controllers/IndexController.php"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"d433bd32274dc6ff8acc646de219db3013df1c9385a8512db11742afcff534f6"}},{"ruleId":"D2","level":"warning","message":{"text":"CartController.actionAdd (cognitive 18): CartController.actionAdd has cognitive complexity 18 (threshold 15). Drivers by points: if/else 9 (15 pts), error handling 1 (2 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":"app/appserver/modules/Checkout/controllers/CartController.php"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"38213636137cad1770032e661481397fbf78618407f0e66879f7d0ece51473ea"}},{"ruleId":"D2","level":"warning","message":{"text":"AddressController.actionEdit (cognitive 18): AddressController.actionEdit has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (10 pts), loops 1 (4 pts), ternaries 3 (4 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/appserver/modules/Customer/controllers/AddressController.php"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6df6fceaa569da2f251afaa7946a512950fc90dacaa17ac32428bee8d973603"}},{"ruleId":"D2","level":"warning","message":{"text":"WxPayApi.unifiedOrder (cognitive 18): WxPayApi.unifiedOrder has cognitive complexity 18 (threshold 15). Drivers by points: if/else 10 (16 pts), boolean chains 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":"lib/wxpay/lib/WxPay.Api.php"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"a94b0f6307839838ab0a69deb7e6da04f0ae092cb72bf94190fe9396dea3077f"}},{"ruleId":"D2","level":"warning","message":{"text":"Url.getRandomUrlKey (cognitive 18): Url.getRandomUrlKey has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (18 pts) (nesting depth added 11). 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":"services/Url.php"},"region":{"startLine":438}}}],"partialFingerprints":{"codehealthFindingId/v1":"102807c9c571078c9aa452ad47e356ecc4e84ff652ea98769fca60d260733ae0"}},{"ruleId":"D2","level":"warning","message":{"text":"AR.save (cognitive 18): AR.save has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (14 pts), boolean chains 2, loops 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":"services/helper/AR.php"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6e02452bc89b2ce44baf1e41712d2028341b735d9e52fd969bc43f719f56943"}},{"ruleId":"D2","level":"warning","message":{"text":"Country.getStateOptionsByContryCode (cognitive 18): Country.getStateOptionsByContryCode has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (10 pts), loops 2 (6 pts), boolean chains 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":"services/helper/Country.php"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1dfed68991658da7d736c1e3455667a9eb679e903e346588ed7304d1cbb3466"}},{"ruleId":"D2","level":"warning","message":{"text":"ProductMongodb.upsert (cognitive 18): ProductMongodb.upsert has cognitive complexity 18 (threshold 15). Drivers by points: if/else 10 (11 pts), loops 2 (4 pts), ternaries 2 (3 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":"services/product/ProductMongodb.php"},"region":{"startLine":469}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc879b1e152571070c91db1821754fe41608a5fecf591f0f88eae875bc5c0f4a"}},{"ruleId":"D2","level":"warning","message":{"text":"ProductMongodb.initSave (cognitive 18): ProductMongodb.initSave has cognitive complexity 18 (threshold 15). Drivers by points: boolean chains 11, if/else 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":"services/product/ProductMongodb.php"},"region":{"startLine":735}}}],"partialFingerprints":{"codehealthFindingId/v1":"9029ecfdfae7d77fe8a27375aeb2c945d399f992b264c5e8171f20ed344d807d"}},{"ruleId":"D2","level":"warning","message":{"text":"ProductMysqldb.initSave (cognitive 18): ProductMysqldb.initSave has cognitive complexity 18 (threshold 15). Drivers by points: boolean chains 11, if/else 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":"services/product/ProductMysqldb.php"},"region":{"startLine":884}}}],"partialFingerprints":{"codehealthFindingId/v1":"c62d54c805b88a086601c516aa3a7b975ed3c19e8768d8aaf1df13d632e3b233"}},{"ruleId":"D2","level":"warning","message":{"text":"sm.handleInfiniteScroll (cognitive 18): sm.handleInfiniteScroll has cognitive complexity 18 (threshold 15). Drivers by points: if/else 9 (16 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/apphtml5/theme/base/html5/assets/js/sm.js"},"region":{"startLine":6520}}}],"partialFingerprints":{"codehealthFindingId/v1":"81d7141ce62f4bd878d63d6b965854e49bd9297f08c85534a5c0161a38420b55"}},{"ruleId":"D2","level":"warning","message":{"text":"modal (cognitive 18): modal has cognitive complexity 18 (threshold 15). Drivers by points: ternaries 6 (8 pts), boolean chains 4, if/else 4, loops 1 (2 pts) (nesting depth added 3). Of this number, 15 points are the body\u0027s own statements and 3 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":"app/apphtml5/theme/base/html5/assets/js/sm.js"},"region":{"startLine":1271}}}],"partialFingerprints":{"codehealthFindingId/v1":"19d1414fbf0d28e701e67f9739de6bc92bf9ef2eb92319df79240d1609d8a9fc"}},{"ruleId":"D2","level":"warning","message":{"text":"Calendar::layout (cognitive 18): Calendar::layout has cognitive complexity 18 (threshold 15). Drivers by points: ternaries 6 (12 pts), boolean chains 2, if/else 2, loops 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/apphtml5/theme/base/html5/assets/js/sm.js"},"region":{"startLine":2664}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c7bc844d962a9d9738396d90b0f23715ce4a9cd9d939e3ad6c7c57560157cad"}},{"ruleId":"D2","level":"warning","message":{"text":"Swiper::updateActiveIndex (cognitive 18): Swiper::updateActiveIndex has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (13 pts), boolean chains 3, 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":"app/apphtml5/theme/base/html5/assets/js/sm-extend.js"},"region":{"startLine":527}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea5fd25465aa9b5d347ea9732f29604204636d99ca6317a6a8e9eec538725ac6"}},{"ruleId":"D2","level":"warning","message":{"text":"Swiper::setWrapperTranslate (cognitive 18): Swiper::setWrapperTranslate has cognitive complexity 18 (threshold 15). Drivers by points: if/else 10 (11 pts), boolean chains 4, 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, 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/apphtml5/theme/base/html5/assets/js/sm-extend.js"},"region":{"startLine":1453}}}],"partialFingerprints":{"codehealthFindingId/v1":"150d30bae83673b0f507e4dc6f1ad74a4b3a4ce061cee406121cbd1abeaa3969"}},{"ruleId":"D2","level":"warning","message":{"text":"Swiper::removeSlide (cognitive 18): Swiper::removeSlide has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (14 pts), boolean chains 2, loops 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/apphtml5/theme/base/html5/assets/js/sm-extend.js"},"region":{"startLine":1674}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0a96ce53df126bc536dfb1d9eb4ba08189f78309a544d645c89619ba2015e21"}},{"ruleId":"D2","level":"warning","message":{"text":"Index.sortSpuAttr (cognitive 17): Index.sortSpuAttr has cognitive complexity 17 (threshold 15). Drivers by points: if/else 4 (10 pts), loops 2 (5 pts), boolean chains 1, 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/appfront/modules/Catalog/block/product/Index.php"},"region":{"startLine":456}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b142b54e2712e20fc79018087755808e24cd738c62d69de4d79ee9e87f116e8"}},{"ruleId":"D2","level":"warning","message":{"text":"Add.saveReview (cognitive 17): Add.saveReview has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8, ternaries 6, boolean chains 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":"app/appfront/modules/Catalog/block/reviewproduct/Add.php"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd8ac5fa6933c7af834eedacc51d121ff05aa695de48df0bab15569effe1b6ee"}},{"ruleId":"D2","level":"warning","message":{"text":"Login.login (cognitive 17): Login.login has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (12 pts), boolean chains 4, 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":"app/appfront/modules/Customer/block/account/Login.php"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"e076410f60a50350deb960a5a74b6551860e7b5ffd60c4c2c6eaf72b731ab568"}},{"ruleId":"D2","level":"warning","message":{"text":"Start.checkStockQty (cognitive 17): Start.checkStockQty has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (11 pts), loops 1 (5 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":"app/appfront/modules/Payment/block/paypal/express/Start.php"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"8071530587e390a708422eef7c52a5cb8446d167dd2b85fc1e2869c57402c565"}},{"ruleId":"D2","level":"warning","message":{"text":"Index.sortSpuAttr (cognitive 17): Index.sortSpuAttr has cognitive complexity 17 (threshold 15). Drivers by points: if/else 4 (10 pts), loops 2 (5 pts), boolean chains 1, 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/apphtml5/modules/Catalog/block/product/Index.php"},"region":{"startLine":444}}}],"partialFingerprints":{"codehealthFindingId/v1":"9dcb07531cda3789491eb67ac0bdfad8c3a94352d129dff4b32436bd890ecb5d"}},{"ruleId":"D2","level":"warning","message":{"text":"Add.saveReview (cognitive 17): Add.saveReview has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8, ternaries 6, boolean chains 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":"app/apphtml5/modules/Catalog/block/reviewproduct/Add.php"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b7052343d7a4e6d7bf30887334a15ba89ed6aaa53fd488f6e11efdda4eb38d7"}},{"ruleId":"D2","level":"warning","message":{"text":"Login.login (cognitive 17): Login.login has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (12 pts), boolean chains 4, 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":"app/apphtml5/modules/Customer/block/account/Login.php"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"400c1c22b3b3df15ffdab5230214e2b1e149fd12bd946334c7f8366d70c974dd"}},{"ruleId":"D2","level":"warning","message":{"text":"Start.checkStockQty (cognitive 17): Start.checkStockQty has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (11 pts), loops 1 (5 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":"app/apphtml5/modules/Payment/block/paypal/express/Start.php"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b31a990f3ce379b74f37b6719d92e3834a92d324281ad5945343f641eae5ef6"}},{"ruleId":"D2","level":"warning","message":{"text":"ProductController.actionIndex (cognitive 17): ProductController.actionIndex has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (9 pts), boolean chains 5, loops 1 (2 pts), 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, 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/appserver/modules/Catalog/controllers/ProductController.php"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a92e91d7e8bba94bf11edf24c6e71af1d29419407a6e74e414e4bbf3d76402a"}},{"ruleId":"D2","level":"warning","message":{"text":"ProductController.sortSpuAttr (cognitive 17): ProductController.sortSpuAttr has cognitive complexity 17 (threshold 15). Drivers by points: if/else 4 (10 pts), loops 2 (5 pts), boolean chains 1, 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/appserver/modules/Catalog/controllers/ProductController.php"},"region":{"startLine":688}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ed6848069a68cef3a7bbea01ab9bb667f9a7b46a1d2ccf6dbbda2131864458c"}},{"ruleId":"D2","level":"warning","message":{"text":"OrderController.actionView (cognitive 17): OrderController.actionView has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (11 pts), loops 1 (5 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":"app/appserver/modules/Customer/controllers/OrderController.php"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"196e848c58864692e89844fbf08c36c770ed85dd3698fc9f2c324fea643f8990"}},{"ruleId":"D2","level":"warning","message":{"text":"BaseController.actionWxmenu (cognitive 17): BaseController.actionWxmenu has cognitive complexity 17 (threshold 15). Drivers by points: loops 2 (6 pts), if/else 3 (5 pts), ternaries 1 (5 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":"app/appserver/modules/General/controllers/BaseController.php"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7265c43b423bae47d31289e527e6a716886b2d554ac448353e1b8b23f86d4ad"}},{"ruleId":"D2","level":"warning","message":{"text":"Start.checkStockQty (cognitive 17): Start.checkStockQty has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (11 pts), loops 1 (5 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":"app/appserver/modules/Payment/block/paypal/express/Start.php"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"de91121c1d288f10ef9739b28e20b669686b6184f2d9f95e99735b39c41e8139"}},{"ruleId":"D2","level":"warning","message":{"text":"AopClient.curl (cognitive 17): AopClient.curl has cognitive complexity 17 (threshold 15). Drivers by points: if/else 10 (14 pts), loops 1 (2 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":"lib/alipay/aop/AopClient.php"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"69c3bc19cf0c8581c30ff5e789ec2d06ff1e2b044437fc9794114665bf57a3b7"}},{"ruleId":"D2","level":"warning","message":{"text":"LtAction.validateInput (cognitive 17): LtAction.validateInput has cognitive complexity 17 (threshold 15). Drivers by points: if/else 3 (8 pts), loops 2 (5 pts), ternaries 1 (3 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":"lib/alipay/lotusphp_runtime/MVC/Action.php"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3473945aeb938ef985e48f8cb0e2f62e51e55dc09a51e5062962b09b5608d27"}},{"ruleId":"D2","level":"warning","message":{"text":"Systemhelper.getRecentStatisticsInfo (cognitive 17): Systemhelper.getRecentStatisticsInfo has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (8 pts), boolean chains 4, ternaries 3, loops 1 (2 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":"services/Systemhelper.php"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e4ebc2c3e8f69b77538a027a318bd005ecfb69d236d46467264e740aa16a815"}},{"ruleId":"D2","level":"warning","message":{"text":"Menu.hasChildRoleUrlKey (cognitive 17): Menu.hasChildRoleUrlKey has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (15 pts), boolean chains 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":"services/admin/Menu.php"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9ec9b406978e07f4d60fbc1e3fa3ce2637dc6330a59d3a439899e7240523a17"}},{"ruleId":"D2","level":"warning","message":{"text":"jquery.fancybox.$.fn.fancybox (cognitive 17): jquery.fancybox.$.fn.fancybox has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (9 pts), boolean chains 8 (nesting depth added 3). 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 (run). 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":"app/appfront/theme/base/front/assets/fancybox/jquery.fancybox.js"},"region":{"startLine":1926}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f7ad0f69baf3ce749df5b6b9f3597dafc5f2c1bbf53b0352fd5963def541bc6"}},{"ruleId":"D2","level":"warning","message":{"text":"getTranslate (cognitive 17): getTranslate has cognitive complexity 17 (threshold 15). Drivers by points: if/else 11 (13 pts), boolean chains 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, 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/apphtml5/theme/base/html5/assets/js/sm.js"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"a58c3dea81fbf5944b57eb1be20c5d4553267fafcdbf29f5a4f83c9aea845035"}},{"ruleId":"D2","level":"warning","message":{"text":"Swiper::load (cognitive 17): Swiper::load has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (14 pts), 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":"app/apphtml5/theme/base/html5/assets/js/sm-extend.js"},"region":{"startLine":1953}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8f338d7cfc9d167377b3cb7dce3b562baa24d96cdb2c9eec3f4bb1c43059224"}},{"ruleId":"D2","level":"warning","message":{"text":"Manager.uploadCategory (cognitive 16): Manager.uploadCategory has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (12 pts), loops 1 (3 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":"app/appadmin/modules/Catalog/block/categoryupload/Manager.php"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8a19475b38c0778d246c0fc3a4ed74d951fe98e69f300e4a1ea39b1b202651e"}},{"ruleId":"D2","level":"warning","message":{"text":"Manager.uploadProduct (cognitive 16): Manager.uploadProduct has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (12 pts), loops 1 (3 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":"app/appadmin/modules/Catalog/block/productupload/Manager.php"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d0cfa54e1ced4012b17e41a8520d8b4897a11bb9f31fe173e261dd7977f194f"}},{"ruleId":"D2","level":"warning","message":{"text":"ArticleController.actionUpdateone (cognitive 16): ArticleController.actionUpdateone has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6, ternaries 6, 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":"app/appapi/modules/V1/controllers/ArticleController.php"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"4779b6ed161e60fde5e90c3066ad76fb7af356c2f39177d690ffeb35bff82626"}},{"ruleId":"D2","level":"warning","message":{"text":"OrderController.actionList (cognitive 16): OrderController.actionList has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (8 pts), loops 2 (4 pts), ternaries 3, boolean chains 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":"app/appapi/modules/V1/controllers/OrderController.php"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2a210b70e138e343d3d83001f3d70ead6f480b55036d7c5654342b8bdbda505"}},{"ruleId":"D2","level":"warning","message":{"text":"ProductController.actionUpdateone (cognitive 16): ProductController.actionUpdateone has cognitive complexity 16 (threshold 15). Drivers by points: if/else 10, boolean chains 6. 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/appapi/modules/V1/controllers/ProductController.php"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"9996ab3fd2bf6e930a3ac6fc391c9ad16b1190baa13d051a4cbd00d620a9ea41"}},{"ruleId":"D2","level":"warning","message":{"text":"Index.getCartInfo (cognitive 16): Index.getCartInfo has cognitive complexity 16 (threshold 15). Drivers by points: if/else 3 (7 pts), ternaries 2 (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/appfront/modules/Checkout/block/cart/Index.php"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"4898919ff1d398da936b7a11c8ef176ead703c42e2a1135281f104a1f9f1239c"}},{"ruleId":"D2","level":"warning","message":{"text":"Index.getCartInfo (cognitive 16): Index.getCartInfo has cognitive complexity 16 (threshold 15). Drivers by points: if/else 3 (7 pts), ternaries 2 (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/apphtml5/modules/Checkout/block/cart/Index.php"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"9789aa2251143a4871d90671c0c9998485022d8dc8c4d568ad178b8a74b98542"}},{"ruleId":"D2","level":"warning","message":{"text":"CategoryController.getFilterPrice (cognitive 16): CategoryController.getFilterPrice has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (6 pts), ternaries 2 (6 pts), boolean chains 2, loops 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/appserver/modules/Catalog/controllers/CategoryController.php"},"region":{"startLine":447}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b9a07eeed0b51744e8e5e18c84fbd34bba420c156047f8dbaaa0246e01ecb80"}},{"ruleId":"D2","level":"warning","message":{"text":"IndexController.getFilterPrice (cognitive 16): IndexController.getFilterPrice has cognitive complexity 16 (threshold 15). Drivers by points: ternaries 2 (6 pts), if/else 3 (5 pts), boolean chains 3, loops 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/appserver/modules/Catalogsearch/controllers/IndexController.php"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"215ccd09e19d7454abaaffc0eb0b7f00423f4c89d175b49ba234648a49483891"}},{"ruleId":"D2","level":"warning","message":{"text":"CartController.actionAddcoupon (cognitive 16): CartController.actionAddcoupon has cognitive complexity 16 (threshold 15). Drivers by points: if/else 10 (14 pts), error handling 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":"app/appserver/modules/Checkout/controllers/CartController.php"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"192c5ef7e5b5ca69a1b71b87f64fe52be32aaf63e019da9a8d0ada65b60160c8"}},{"ruleId":"D2","level":"warning","message":{"text":"HomeController.getProductBySkus (cognitive 16): HomeController.getProductBySkus has cognitive complexity 16 (threshold 15). Drivers by points: ternaries 2 (8 pts), if/else 2 (3 pts), loops 1 (3 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":"app/appserver/modules/Wx/controllers/HomeController.php"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"d36942ed32a557a8404eed8fedb4b4560f5521c50426caf4a4fdb579ec09810c"}},{"ruleId":"D2","level":"warning","message":{"text":"ItemController.actionComputesellercount (cognitive 16): ItemController.actionComputesellercount has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (9 pts), loops 3 (5 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/console/modules/Order/controllers/ItemController.php"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bf6cf9e2f2b244c616ccbe775e95aad2f58d20d6e329f399dfb3e476eda5db7"}},{"ruleId":"D2","level":"warning","message":{"text":"AppfrontErrorHandler.renderException (cognitive 16): AppfrontErrorHandler.renderException has cognitive complexity 16 (threshold 15). Drivers by points: ternaries 6 (11 pts), if/else 4 (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":"components/AppfrontErrorHandler.php"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"5233a70065f365008738081d97f6ba464cd4d8549a8018e7e979344c82c20e08"}},{"ruleId":"D2","level":"warning","message":{"text":"LtAutoloader.scanDirs (cognitive 16): LtAutoloader.scanDirs has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (12 pts), loops 2 (3 pts), boolean chains 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":"lib/alipay/lotusphp_runtime/Autoloader/Autoloader.php"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee195a7fde252607bc4478dec8b308667070d6a2942f5a1b98c72dba0066ec66"}},{"ruleId":"D2","level":"warning","message":{"text":"LtDbConnectionManager.getCachedConnection (cognitive 16): LtDbConnectionManager.getCachedConnection has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (13 pts), boolean chains 2, 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":"lib/alipay/lotusphp_runtime/DB/DbConnectionManager.php"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdd183996fe432fda597e8783ba0cd6516ad77e596d8fe0f11976b60b98b2751"}},{"ruleId":"D2","level":"warning","message":{"text":"LtPagination.renderButton (cognitive 16): LtPagination.renderButton has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (8 pts), ternaries 2 (6 pts), boolean chains 1, match/switch 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":"lib/alipay/lotusphp_runtime/Pagination/Pagination.php"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac90a6c8590163e80616c1db8fea4053326c266c7e08b0918f2b8c054d7846b7"}},{"ruleId":"D2","level":"warning","message":{"text":"AdminUserForm.validatePasswordFormat (cognitive 16): AdminUserForm.validatePasswordFormat has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (15 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":"models/mysqldb/adminUser/AdminUserForm.php"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"85fa1e2e19cf322e6ad31a15d44e60c9fb7254d998ab0bf43933a2bce0562e58"}},{"ruleId":"D2","level":"warning","message":{"text":"Event.trigger (cognitive 16): Event.trigger has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (9 pts), boolean chains 5, 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":"services/Event.php"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"552530615d6797cf8c45602a34694c68ff23b7e707cad3ad33855d9e4b62608f"}},{"ruleId":"D2","level":"warning","message":{"text":"Helper.htmlEncode (cognitive 16): Helper.htmlEncode has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (12 pts), boolean chains 2, loops 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":"services/Helper.php"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6f87863193da680ff70076231be96885c385fe925b378839c4d943424d0bca2"}},{"ruleId":"D2","level":"warning","message":{"text":"Menu.getTopMenuHtml (cognitive 16): Menu.getTopMenuHtml has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (13 pts), boolean chains 2, 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":"services/admin/Menu.php"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e293249b645a674a79cfa466736921df812d5921d5ceec0211938014f10a1cd"}},{"ruleId":"D2","level":"warning","message":{"text":"Coupon.addCoupon (cognitive 16): Coupon.addCoupon has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (13 pts), ternaries 1 (2 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":"services/cart/Coupon.php"},"region":{"startLine":411}}}],"partialFingerprints":{"codehealthFindingId/v1":"e80d8426bf13d2e3b075d2ed90a7736bcbf2d5e38f62be9021d6632237a6009a"}},{"ruleId":"D2","level":"warning","message":{"text":"Order.sendCreateEmail (cognitive 16): Order.sendCreateEmail has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (11 pts), boolean chains 5 (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":"services/email/Order.php"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c3ef5cc947e3a1f9c6bee9485139b2f4f174ebb5f111dfa553b699e8dc11aaf"}},{"ruleId":"D2","level":"warning","message":{"text":"Country.getStateByContryCode (cognitive 16): Country.getStateByContryCode has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (10 pts), boolean chains 3, ternaries 1 (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":"services/helper/Country.php"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"d85915f134be8b378e0eaf9670dd8c113dbeeae1d82048d53cf502b65a35e71a"}},{"ruleId":"D2","level":"warning","message":{"text":"MobileDetect.checkHttpHeadersForMobile (cognitive 16): MobileDetect.checkHttpHeadersForMobile has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (11 pts), loops 2 (5 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":"services/helper/MobileDetect.php"},"region":{"startLine":948}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ace605c92d75e28ee68d469526c39e588921e4eb62b8c2c200943722cd2ab13"}},{"ruleId":"D2","level":"warning","message":{"text":"Item.saveOrderItems (cognitive 16): Item.saveOrderItems has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (8 pts), boolean chains 3, ternaries 1 (3 pts), loops 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":"services/order/Item.php"},"region":{"startLine":310}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbbe83789e0fd19a8fa6745945c6d87e3e568bbaf422462f55e5d95e0b99775f"}},{"ruleId":"D2","level":"warning","message":{"text":"Wxpay.getStartBizContentAndSetPaymentMethod (cognitive 16): Wxpay.getStartBizContentAndSetPaymentMethod has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (9 pts), loops 2 (6 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":"services/payment/Wxpay.php"},"region":{"startLine":284}}}],"partialFingerprints":{"codehealthFindingId/v1":"89536c57cff26db9490377994f7073d8ea7354528534b525724368a9d4029643"}},{"ruleId":"D2","level":"warning","message":{"text":"WxpayH5.getStartBizContentAndSetPaymentMethod (cognitive 16): WxpayH5.getStartBizContentAndSetPaymentMethod has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (9 pts), loops 2 (6 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":"services/payment/WxpayH5.php"},"region":{"startLine":291}}}],"partialFingerprints":{"codehealthFindingId/v1":"02ca869020693833cfdd2f1a8d1ec93dfd71c24529d7feb171ee324f5ad2584f"}},{"ruleId":"D2","level":"warning","message":{"text":"WxpayJsApi.getStartBizContentAndSetPaymentMethod (cognitive 16): WxpayJsApi.getStartBizContentAndSetPaymentMethod has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (9 pts), loops 2 (6 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":"services/payment/WxpayJsApi.php"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"11eadbda55253d7be971e6042b4d33ec6959f5c764fbbdb3855727756692b7a0"}},{"ruleId":"D2","level":"warning","message":{"text":"WxpayMicro.getStartBizContentAndSetPaymentMethod (cognitive 16): WxpayMicro.getStartBizContentAndSetPaymentMethod has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (9 pts), loops 2 (6 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":"services/payment/WxpayMicro.php"},"region":{"startLine":263}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b6fdb7bb27dc16f244a906dd0ff4a15ddd040109e36356e3e885d3e559426e4"}},{"ruleId":"D2","level":"warning","message":{"text":"ProductApi.insertByShopfwItem (cognitive 16): ProductApi.insertByShopfwItem has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9, 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":"services/product/ProductApi.php"},"region":{"startLine":491}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ff11b716240378dc989b8b15335466ad3a43e83d9523cbcf891c93202fe6219"}},{"ruleId":"D2","level":"warning","message":{"text":"ProductMongodb.remove (cognitive 16): ProductMongodb.remove has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (12 pts), boolean chains 2, 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":"services/product/ProductMongodb.php"},"region":{"startLine":783}}}],"partialFingerprints":{"codehealthFindingId/v1":"caf7afd55a4d8b7d5f43fa36c165aa5a6b3b1fefcb3dca0f3993a1551e03f762"}},{"ruleId":"D2","level":"warning","message":{"text":"ProductMysqldb.spuCollData (cognitive 16): ProductMysqldb.spuCollData has cognitive complexity 16 (threshold 15). Drivers by points: if/else 3 (8 pts), loops 3 (8 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":"services/product/ProductMysqldb.php"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"5012ba8ab6637b24278c7f7f2db809e125a73804bab8594aad1ffba75bf3fa9e"}},{"ruleId":"D2","level":"warning","message":{"text":"ProductMysqldb.remove (cognitive 16): ProductMysqldb.remove has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (12 pts), boolean chains 2, 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":"services/product/ProductMysqldb.php"},"region":{"startLine":932}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2f8ba44ef7b5110a202e69eeef44e7c0ab2eda62f9433aee768e4aed0ff0a63"}},{"ruleId":"D2","level":"warning","message":{"text":"Swiper::cleanupStyles (cognitive 16): Swiper::cleanupStyles has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (10 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/apphtml5/theme/base/html5/assets/js/sm-extend.js"},"region":{"startLine":2414}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bb64b20637e6faaa1e2d321e80b3bafdf9a679e4c52140e0599625b0ba6335d"}},{"ruleId":"D2","level":"warning","message":{"text":"PhotoBrowser::onSliderTransitionStart (cognitive 16): PhotoBrowser::onSliderTransitionStart has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9 (12 pts), boolean chains 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/apphtml5/theme/base/html5/assets/js/sm-extend.js"},"region":{"startLine":2942}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d196f803ce5ef54295223b41b1a07bc2de93d485e72da339a468921e72d761a"}},{"ruleId":"D2","level":"warning","message":{"text":"updatePagination (cognitive 16): updatePagination has cognitive complexity 16 (threshold 15). Drivers by points: ternaries 3 (9 pts), if/else 3 (6 pts), loops 1 (nesting depth added 9). This file\u0027s own header attributes it to another copyright holder, so it is code this repository carries rather than code it wrote: restructuring the body in place forks it from upstream and turns every future re-sync into a manual merge. The performable moves are to leave the body as close to its upstream form as possible and keep it behind a narrow interface of your own, and to re-sync it when upstream changes \u2014 or, if it has already diverged far enough that you maintain it here, adopt it deliberately and then split the body into named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appfront/theme/base/front/assets/js/owl.carousel.js"},"region":{"startLine":454}}}],"partialFingerprints":{"codehealthFindingId/v1":"593502a909e5c2a9536d4fe8cd949b7c15ba87b8e7cfd2a410b5d0e312d2d56e"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: sm-extend.Swiper: FunctionTooLong \u2014 Swiper runs 1572 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 1472 over it, 15.72\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/apphtml5/theme/base/html5/assets/js/sm-extend.js"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5e176f288c920b8c330dc9af6794265dfccade1417349308bad900935a0286d"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: js/sm.js: FileTooLong \u2014 4632 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 3132 over it, 3.09\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/apphtml5/theme/base/html5/assets/js/sm.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0597bc5996024a3b82a6ed70cde56c72fa83aa0d9212ab711bb1ccbd0262043"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: js/sm-extend.js: FileTooLong \u2014 2167 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 667 over it, 1.44\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/apphtml5/theme/base/html5/assets/js/sm-extend.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"780768e2f7df0c8a800fdb86467461b8bc797b62211ee6efad094040a03bdb06"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: AlipaySecurityRiskDetectRequest: TooManyMethods \u2014 128 methods. The bar is 30 methods; this is 98 over it, 4.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":"lib/alipay/aop/request/AlipaySecurityRiskDetectRequest.php"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ebf212f8d153ccf99bb1f7ea7d247ae100c5f86466766c2669cfb77ec1a627a"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: m170228_072156_fecshop_tables.safeUp: MethodTooLong \u2014 safeUp runs 407 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 307 over it, 4.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":"migrations/mysqldb/m170228_072156_fecshop_tables.php"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"31a9a1f58871eb2dc8a3d09463cf1599dbb0575ccbc388f5485d99978b3f93b8"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: sm-extend.PhotoBrowser: FunctionTooLong \u2014 PhotoBrowser runs 393 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 293 over it, 3.93\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/apphtml5/theme/base/html5/assets/js/sm-extend.js"},"region":{"startLine":2769}}}],"partialFingerprints":{"codehealthFindingId/v1":"bda469fe2cfbe40ee20d603c20b6ec19b6ebf95b00d111c5d8aaeb47569d5259"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AppadminbaseBlockEdit.getEditBar: MethodTooLong \u2014 getEditBar runs 336 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 236 over it, 3.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":"app/appadmin/modules/AppadminbaseBlockEdit.php"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"799919cd9d4c23192c304a6d32a8dd8a20f9df7fb118ce80e5fc3617d8e3d04c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: fancybox/jquery.fancybox.js: FileTooLong \u2014 1159 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 659 over it, 2.32\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/appfront/theme/base/front/assets/fancybox/jquery.fancybox.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a6f2c79f4495b554905d35a54277ba3bf16eeb146ef1f75c553e888428591ca"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: AlipayAcquireCreateandpayRequest: TooManyMethods \u2014 68 methods. The bar is 30 methods; this is 38 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":"lib/alipay/aop/request/AlipayAcquireCreateandpayRequest.php"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"e97849903008834b0bc12425e2652f20fb751a14ee0fee09d60b92890c80fa97"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: ProductMysqldb: ClassTooLong \u2014 876 significant lines (blank, comment-only and punctuation-only lines excluded), 46 methods. The bar is 400 significant lines; this is 476 over it, 2.19\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":"services/product/ProductMysqldb.php"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"62988dde3c76c3991f8b6cd18e1b83d590d91521cdf610ee2e606b2d295d7fe7"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: AlipaySecurityInfoAnalysisRequest: TooManyMethods \u2014 62 methods. The bar is 30 methods; this is 32 over it, 2.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":"lib/alipay/aop/request/AlipaySecurityInfoAnalysisRequest.php"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d0dcb60a6c6cc9c5c11f09d8bd768286c945538cc6fa7c9280e4d292e27dfce"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: js/owl.carousel.js: FileTooLong \u2014 1023 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 523 over it, 2.05\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/appfront/theme/base/front/assets/js/owl.carousel.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"91a863ef6f98152717ae78d31cdc60bcd54dfdde55ed16bec639b8a7fcf1406d"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: elevatezoom/jquery.elevatezoom.js: FileTooLong \u2014 972 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 472 over it, 1.94\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/appfront/theme/base/front/assets/elevatezoom/jquery.elevatezoom.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dac2e7d0f4ce3bae9bf6c4c932325c069436a174953b00bc8e307ef617eabea0"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Manager.getEditArr: MethodTooLong \u2014 getEditArr runs 193 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 93 over it, 1.93\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/appadmin/modules/Config/block/email/Manager.php"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"78f3f5cd4f96b3f90c12dba298acfbb119f99556637878dca82e34f3fbaeacd4"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: ProductMongodb: ClassTooLong \u2014 728 significant lines (blank, comment-only and punctuation-only lines excluded), 40 methods. The bar is 400 significant lines; this is 328 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":"services/product/ProductMongodb.php"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"c225d6bdaf3f2c0b7620244d0dd2b4195bc7f98d4218f184348a3f68f2d29e6b"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: WxPayUnifiedOrder: TooManyMethods \u2014 54 methods. The bar is 30 methods; this is 24 over it, 1.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":"lib/wxpay/lib/WxPay.Data.php"},"region":{"startLine":281}}}],"partialFingerprints":{"codehealthFindingId/v1":"74d952cbcb69f10fdbe86aced17b53e6ee9cc6768a4d0829e2b746cb4e69ec36"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: product/ProductMysqldb.php: FileTooLong \u2014 881 significant lines (blank, comment-only and punctuation-only lines excluded), about 99% of them inside a single declaration: ProductMysqldb (22-1621). The bar is 500 significant lines; this is 381 over it, 1.76\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":"services/product/ProductMysqldb.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cee4478bda1e15e2a5f702533d0c1f4d8e75943acb152c2c3b8f3d158152c2a"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: AlipayAcquirePrecreateRequest: 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":"lib/alipay/aop/request/AlipayAcquirePrecreateRequest.php"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"b586b08e2d6b1aec2009a3c3aa6bfd3569088d28c5ef23ef5ea9d93825f77a3d"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Product: 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":"services/Product.php"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e31c7930b8ceee1d315e7a17597bb90ed6a951bc12911e0786509ece9262dc4"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: m190809_154516_fecshop_tables.safeUp: MethodTooLong \u2014 safeUp runs 171 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 71 over it, 1.71\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":"migrations/mysqldb/m190809_154516_fecshop_tables.php"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"396eb8a9feb5e0287b74a47fbc4a980df3860691166ef33b00f6c09701787eac"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: AlipayEbppPdeductSignAddRequest: TooManyMethods \u2014 48 methods. The bar is 30 methods; this is 18 over it, 1.60\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":"lib/alipay/aop/request/AlipayEbppPdeductSignAddRequest.php"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"27fb7e24633e149cc34a941ee01b8da647ef7ab6c08f1e166020acc8dc2a9c64"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Order: ClassTooLong \u2014 635 significant lines (blank, comment-only and punctuation-only lines excluded), 44 methods. The bar is 400 significant lines; this is 235 over it, 1.59\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":"services/Order.php"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e4ca9c695631a8659e278abe55dd3e7dd39d9c50dffeb0a4225e8a4a3f0d86a"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Appserver.getMessageArr: MethodTooLong \u2014 getMessageArr runs 157 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 57 over it, 1.57\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":"services/helper/Appserver.php"},"region":{"startLine":297}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9262d7194cfe4f2a75edcd3304d6c0a35189de485eaa83cbc2f062d3fe9b1c5"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ProductMysqldb: TooManyMethods \u2014 46 methods. The bar is 30 methods; this is 16 over it, 1.53\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":"services/product/ProductMysqldb.php"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"90573c30993cd16ae07a3500d6422923e7a3aafb4c2de68f5b953cffe95d6350"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: WxPayMicroPay: TooManyMethods \u2014 45 methods. The bar is 30 methods; this is 15 over it, 1.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":"lib/wxpay/lib/WxPay.Data.php"},"region":{"startLine":2161}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7ecfed80cee5509859034608621bfdcb7e04189f2daddee2883a3b6ef55a84c"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Page.getLastData: MethodTooLong \u2014 getLastData runs 147 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 47 over it, 1.47\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appfront/widgets/Page.php"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"8649a487a76c7fc7906bbe9504127677280a6b622b4c1b3b3cd784067c7e3bad"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Page.getLastData: MethodTooLong \u2014 getLastData runs 147 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 47 over it, 1.47\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/apphtml5/widgets/Page.php"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdae5f21903acf191924fec2dc035f88fb8bfdc23d1e00e4f600793943ead480"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: AlipayEbppBillAddRequest: TooManyMethods \u2014 44 methods. The bar is 30 methods; this is 14 over it, 1.47\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":"lib/alipay/aop/request/AlipayEbppBillAddRequest.php"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e131dc4d351804a6b82bda1bf2ec70cffc45123b9a52ca1fd5b9a21fd01137a"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: AlipayOpenPublicLifeMsgSendRequest: TooManyMethods \u2014 44 methods. The bar is 30 methods; this is 14 over it, 1.47\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":"lib/alipay/aop/request/AlipayOpenPublicLifeMsgSendRequest.php"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"682da60b97fb9160e1246c532b217496e53e7bdafa61dc3a84f9b81a296b6cb9"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Order: TooManyMethods \u2014 44 methods. The bar is 30 methods; this is 14 over it, 1.47\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":"services/Order.php"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"566e2a62c35372d1b9b89b3fae43dec86126c5338e3a45f62addf0e8e7db12c9"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: product/ProductMongodb.php: FileTooLong \u2014 733 significant lines (blank, comment-only and punctuation-only lines excluded), about 99% of them inside a single declaration: ProductMongodb (22-1414). The bar is 500 significant lines; this is 233 over it, 1.47\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":"services/product/ProductMongodb.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"32c1c6436d65aa5015226d10341ef0d2335a67adc2cfaed78fc3265ff02405b3"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: AopClient: TooManyMethods \u2014 43 methods. The bar is 30 methods; this is 13 over it, 1.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":"lib/alipay/aop/AopClient.php"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f7afb45f25d132d61525ee724aa20281627cd41ad828f20ca4025da2e8e6a56"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: WxPayReport: TooManyMethods \u2014 42 methods. The bar is 30 methods; this is 12 over it, 1.40\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":"lib/wxpay/lib/WxPay.Data.php"},"region":{"startLine":1677}}}],"partialFingerprints":{"codehealthFindingId/v1":"ced799305d59bf4d318b8964a9ac47009a633a74b4640ec93477d4162b1a85ac"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Customer: TooManyMethods \u2014 42 methods. The bar is 30 methods; this is 12 over it, 1.40\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":"services/Customer.php"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"b379accf9e73b2f78771b08774871fe7409a91b72e575f0302653941001ae7b1"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: lib/WxPay.Data.php: FileTooLong \u2014 700 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 200 over it, 1.40\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/wxpay/lib/WxPay.Data.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b438f86f9eee6808b89006c88ab827de92fb03479129a3855f329a372c5cedc7"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Manager.getEditArr: MethodTooLong \u2014 getEditArr runs 137 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 37 over it, 1.37\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appadmin/modules/Config/block/appfrontcatalog/Manager.php"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"39fc425d460725d0180157438f943118b4e35bdb513fded41620b0720471c884"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: AlipayEbppPdeductPayRequest: 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":"lib/alipay/aop/request/AlipayEbppPdeductPayRequest.php"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ef366e12166ad7728e78f051d9059a9a99a07d5c3954ad0083372ede2016c0d"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: AlipayTransferThirdpartyBillCreateRequest: 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":"lib/alipay/aop/request/AlipayTransferThirdpartyBillCreateRequest.php"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b32ab5c73bdbd76b9532fdf3b3d03fbfc9a767246f1deb05919330c47fbdad3"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ProductMongodb: 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":"services/product/ProductMongodb.php"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a58cd0835b3335fcafda7a1eb13e76b7212e11819a329d53167953e551f06f2"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: ProductController: ClassTooLong \u2014 528 significant lines (blank, comment-only and punctuation-only lines excluded), 20 methods. The bar is 400 significant lines; this is 128 over it, 1.32\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/appserver/modules/Catalog/controllers/ProductController.php"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d96a6def882a88756c184ac3775b63876e2e9ce67fea222666b9b9330da4643"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: services/Order.php: FileTooLong \u2014 638 significant lines (blank, comment-only and punctuation-only lines excluded), about 100% of them inside a single declaration: Order (23-1273). The bar is 500 significant lines; this is 138 over it, 1.28\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":"services/Order.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"649343276965b8f4d18c6d845a46c65dbb00edac26c4ddfbf624177115c884d9"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Managerbatchedit.initParamType: MethodTooLong \u2014 initParamType runs 124 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 24 over it, 1.24\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/appadmin/modules/Catalog/block/productinfo/Managerbatchedit.php"},"region":{"startLine":500}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e0373c74426999ea62bc2aa37636f2df168705a23fb62b6d46155e80e3f3695"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Manageredit.initParamType: MethodTooLong \u2014 initParamType runs 124 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 24 over it, 1.24\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/appadmin/modules/Catalog/block/productinfo/Manageredit.php"},"region":{"startLine":457}}}],"partialFingerprints":{"codehealthFindingId/v1":"af82853114c45c0d0838364f5f7275b26ca66c5de0e24bb2cce64f295f608cdc"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: aop/AopClient.php: FileTooLong \u2014 598 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 98 over it, 1.20\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/alipay/aop/AopClient.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6adf5d93095bce0477a129fe7d4aa12046245c2646257e1ebb60e8c8deb2c3a1"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Manager.getEditArr: MethodTooLong \u2014 getEditArr 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/appadmin/modules/Config/block/apphtml5catalog/Manager.php"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ed3c92dffcb89343bd2dad987819462ebe592f40fcb1043d4c1b7d8d9d0f794"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: CategoryMysqldb: ClassTooLong \u2014 462 significant lines (blank, comment-only and punctuation-only lines excluded), 30 methods. The bar is 400 significant lines; this is 62 over it, 1.16\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":"services/category/CategoryMysqldb.php"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"53fa69756251b9786b38ec83b8fc2c27e6a953a7e65c6629c22586c51149f935"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: m190730_130707_fecshop_tables.safeUp: MethodTooLong \u2014 safeUp 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":"migrations/mysqldb/m190730_130707_fecshop_tables.php"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"54f76878272da1eb08e89cfa958bfe9cf9708dec309d0d730e48c23e0fedd98f"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: AlipayEcapiprodDataPutRequest: 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":"lib/alipay/aop/request/AlipayEcapiprodDataPutRequest.php"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f8d0dfa864bd5a6466d915d2870374fcdcd5fdfc57416c45f086e821e181148"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: AlipayMobileCodeCreateRequest: 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":"lib/alipay/aop/request/AlipayMobileCodeCreateRequest.php"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6f3d2c30ec0f6731f8f1c74021923071b84b5a5bde705cf684abab298873dc5"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: AlipayOpenPublicLifeAccountCreateRequest: 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":"lib/alipay/aop/request/AlipayOpenPublicLifeAccountCreateRequest.php"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"946f091cea1f3797176c12533af8e1c69b5cdbdc1d7a51b54835d78c373ad1d3"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: AlipayUserTradeSearchRequest: 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":"lib/alipay/aop/request/AlipayUserTradeSearchRequest.php"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"daa47735ddef63196c5bb5d754a7c9710635fca06160aac5384e65c466d3cffd"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Managerbatchedit: ClassTooLong \u2014 447 significant lines (blank, comment-only and punctuation-only lines excluded), 22 methods. The bar is 400 significant lines; this is 47 over it, 1.12\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/appadmin/modules/Catalog/block/productinfo/Managerbatchedit.php"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"970dd0e3eec82a85310cde1a520c27aab904f73515d2b621108eb3585de69312"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: WxPayRefund: TooManyMethods \u2014 33 methods. The bar is 30 methods; this is 3 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":"lib/wxpay/lib/WxPay.Data.php"},"region":{"startLine":1006}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a5d536a3766f72fbfa9cc80749826670423b6cd4b69d8f7f1aa59c86a3728ec"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: MobileDetect: TooManyMethods \u2014 33 methods. The bar is 30 methods; this is 3 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":"services/helper/MobileDetect.php"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"f953c21e78c235b8344ae2abc7cd637e36a53dae2f5eeedee06f9a32e2602082"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Attr.getBaseInfo: MethodTooLong \u2014 getBaseInfo runs 110 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 10 over it, 1.10\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appadmin/modules/Catalog/block/productinfo/index/Attr.php"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e19e48db2bbe12531b232f142f8995c422c815448f204c8b2733d00d5aaa7ef"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Manageredit.getEditArr: MethodTooLong \u2014 getEditArr 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/appadmin/modules/Config/block/appfrontstore/Manageredit.php"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"697d9f2f8f6c97d6f1ebde24a082451a75ca92a01e7ab594ba252e9c32a2169f"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: AlipayAcquireRefundRequest: 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":"lib/alipay/aop/request/AlipayAcquireRefundRequest.php"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"00f36b9b6efcef40a52033d2b79c90f8a3493736781ed0c5e0208ca6724ca93d"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: AlipayMobilePublicInfoModifyRequest: 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":"lib/alipay/aop/request/AlipayMobilePublicInfoModifyRequest.php"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"477f5bbc6837572bc7be54756078bcb032994ddab224fa282bf5a923301519c3"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: AlipayZdatafrontDatatransferedFileuploadRequest: 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":"lib/alipay/aop/request/AlipayZdatafrontDatatransferedFileuploadRequest.php"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2bde6a03d213c27386960db857f5f056b5338cb53739cfaa5173bed31372a05"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ZhimaDataBatchFeedbackRequest: 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":"lib/alipay/aop/request/ZhimaDataBatchFeedbackRequest.php"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc8e68add2103e31376acb5a53b9045c1ae51dbabd3a2e7eabc6a17896d2b022"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Category: 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":"services/Category.php"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"067f7b78f620553d5043e55bec2549447fd468e9fe00fac4a0af1977e00ebd51"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: controllers/ProductController.php: FileTooLong \u2014 533 significant lines (blank, comment-only and punctuation-only lines excluded), about 99% of them inside a single declaration: ProductController (20-885). The bar is 500 significant lines; this is 33 over it, 1.07\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/appserver/modules/Catalog/controllers/ProductController.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3d6f3be1fa7c6cc992a28995d34b6e915b7a4ca3def3cb3c375665acb45cfaa"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: CategoryController: ClassTooLong \u2014 425 significant lines (blank, comment-only and punctuation-only lines excluded), 22 methods. The bar is 400 significant lines; this is 25 over it, 1.06\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/appserver/modules/Catalog/controllers/CategoryController.php"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7c46dd1643c88e9cd8649a5e46d2558e3a2e460ffcff6dda0170e13d103d106"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Manageredit: ClassTooLong \u2014 422 significant lines (blank, comment-only and punctuation-only lines excluded), 20 methods. The bar is 400 significant lines; this is 22 over it, 1.06\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/appadmin/modules/Catalog/block/productinfo/Manageredit.php"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"0639343df31083d870780bda82e1a6f6f9f23706b61f4bd38948aee13b79a9a6"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: CategoryMongodb: ClassTooLong \u2014 416 significant lines (blank, comment-only and punctuation-only lines excluded), 27 methods. The bar is 400 significant lines; this is 16 over it, 1.04\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":"services/category/CategoryMongodb.php"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d6d09d62c3a7f70be9724504f49446a20319cda0b50fe5e0626d18cadd55c3f"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Manager.getEditArr: MethodTooLong \u2014 getEditArr 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/appadmin/modules/Config/block/appservercatalog/Manager.php"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa123c701343c4934525c21a240f11f384bd454ebb5afbbe94733578c8e0f70f"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: m170228_072156_fecshop_tables: ClassTooLong \u2014 411 significant lines (blank, comment-only and punctuation-only lines excluded), 2 methods. The bar is 400 significant lines; this is 11 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":"migrations/mysqldb/m170228_072156_fecshop_tables.php"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"212a9b70cf4d9cfa29e589f8935429d80dd28c8aa80c3b1ff7d0db197acf72d5"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Customer: ClassTooLong \u2014 402 significant lines (blank, comment-only and punctuation-only lines excluded), 42 methods. The bar is 400 significant lines; this is 2 over it, 1.01\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":"services/Customer.php"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3d1bc390b5a63d21a1105129ba0bc639fde014da0c9645c0c35ea9ddc694a4c"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (6 members, 19 shared lines): services/email/Customer.php:74-99 | services/email/Customer.php:111-136 | services/email/Customer.php:148-173 | services/email/Customer.php:205-237 | services/email/Customer.php:249-274 | services/email/Order.php:48-77 \u2014 These 6 members are variants of one another: a block of 19 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 6 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 6 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"services/email/Customer.php"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7442dfbe0e3a9d327d932e311091d4e951e220ae7705261aa31d2bbea515b30"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (6 members, 15 shared lines): services/product/ProductMongodb.php:342-459 | services/product/ProductMongodb.php:471-571 | services/product/ProductMongodb.php:1218-1355 | services/product/ProductMysqldb.php:439-557 | services/product/ProductMysqldb.php:570-662 | services/product/ProductMysqldb.php:1422-1560 \u2014 These 6 members are variants of one another: a block of 15 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 6 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 6 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"services/product/ProductMongodb.php"},"region":{"startLine":342}}}],"partialFingerprints":{"codehealthFindingId/v1":"926d0ea835d57d70638978287248c15902c511b71b0571e118bc0300e1c802bd"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (5 members, 22 shared lines): app/appapi/modules/V1/controllers/ArticleController.php:114-170 | app/appapi/modules/V1/controllers/ArticleController.php:177-232 | app/appapi/modules/V1/controllers/CategoryController.php:214-304 | app/appapi/modules/V1/controllers/CategoryController.php:315-405 | app/appapi/modules/V1/controllers/CategoryController.php:415-524 \u2014 These 5 members are variants of one another: a block of 22 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/appapi/modules/V1/controllers/ArticleController.php"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"7efb3ba954b2d91c1b8c89e57ea96e9b5f1686588f8434534656721aa461fe45"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (5 members, 14 shared lines): services/helper/Wx.php:34-56 | services/payment/Wxpay.php:47-88 | services/payment/WxpayH5.php:47-81 | services/payment/WxpayJsApi.php:47-85 | services/payment/WxpayMicro.php:46-83 \u2014 These 5 members are variants of one another: a block of 14 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":"services/helper/Wx.php"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b1104a66c7b08b28c17625956756c50977d3c79c320f248d916fdd90785f25c"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (4 members, 71 shared lines): app/appadmin/modules/System/controllers/ExtensionmarketController.php:132-223 | app/appadmin/modules/System/controllers/ExtensionmarketController.php:229-328 | app/appadmin/modules/System/controllers/ExtensionmarketController.php:334-413 | app/appadmin/modules/System/controllers/ExtensionmarketController.php:419-506 \u2014 These 4 members are variants of one another: a block of 71 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 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/appadmin/modules/System/controllers/ExtensionmarketController.php"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f18b15b2e06091a98de69871640fd43ea19b6db23dd0eed652d428c21d50311"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (4 members, 34 shared lines): app/appapi/modules/V1/controllers/CategoryController.php:214-304 | app/appapi/modules/V1/controllers/CategoryController.php:315-405 | app/appapi/modules/V1/controllers/CategoryController.php:415-524 | app/appapi/modules/V1/controllers/ProductController.php:247-325 \u2014 These 4 members are variants of one another: a block of 34 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 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/appapi/modules/V1/controllers/CategoryController.php"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"718b9e3a9df0a18357fe2a137a98e668310c8d193aed5f8f0ac1e70efea77dcf"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (4 members, 32 shared lines): services/product/ProductMongodb.php:342-459 | services/product/ProductMongodb.php:1218-1355 | services/product/ProductMysqldb.php:439-557 | services/product/ProductMysqldb.php:1422-1560 \u2014 These 4 members are variants of one another: a block of 32 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 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":"services/product/ProductMongodb.php"},"region":{"startLine":342}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1a471e7b25e9d2a0dda2e01a335b7a80b0d23df7479bbf811df1cd32842133a"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (3 members, 50 shared lines): app/appfront/modules/Catalog/block/product/Index.php:111-168 | app/apphtml5/modules/Catalog/block/product/Index.php:100-157 | app/appserver/modules/Catalog/controllers/ProductController.php:341-398 \u2014 These 3 members are variants of one another: a block of 50 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 3 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 3 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appfront/modules/Catalog/block/product/Index.php"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"e393ef0688a5a719c8472a255762b0e5977e1169afaaa34e2cdc2d29e124c0fd"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (3 members, 44 shared lines): app/appfront/modules/Catalog/block/product/Index.php:385-434 | app/apphtml5/modules/Catalog/block/product/Index.php:374-423 | app/appserver/modules/Catalog/controllers/ProductController.php:617-668 \u2014 These 3 members are variants of one another: a block of 44 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 3 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 3 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appfront/modules/Catalog/block/product/Index.php"},"region":{"startLine":385}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d0beb758b4f536a65c48eae54068c22bda9d4af19e9f003259ce5a18c987b5f"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (3 members, 19 shared lines): app/appfront/modules/Catalog/block/product/Index.php:459-481 | app/apphtml5/modules/Catalog/block/product/Index.php:447-469 | app/appserver/modules/Catalog/controllers/ProductController.php:691-713 \u2014 These 3 members are variants of one another: a block of 19 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 3 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 3 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appfront/modules/Catalog/block/product/Index.php"},"region":{"startLine":459}}}],"partialFingerprints":{"codehealthFindingId/v1":"90899d34240f2dd1801ba1316f8ad36df420202006d059de72bb5fff0da4d21b"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (3 members, 12 shared lines): app/appfront/modules/Customer/controllers/GoogleController.php:32-50 | app/apphtml5/modules/Customer/controllers/GoogleController.php:32-50 | app/appserver/modules/Customer/controllers/GoogleController.php:32-55 \u2014 These 3 members are variants of one another: a block of 12 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 3 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 3 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appfront/modules/Customer/controllers/GoogleController.php"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"25ca7225856fe08ee3ba5ea528a85d18b754b77af0f586c7af5cc92153672219"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (220 shared lines): services/product/ProductApi.php:59-362 | services/product/ProductApi.php:555-839 \u2014 These two members are variants of one another: 220 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":"services/product/ProductApi.php"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"16e53a39fa144f6c868d34a73d6bd9993bf5473774cd1cf7a78b0242cfe6a9c2"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (153 shared lines): app/appadmin/modules/Catalog/block/productinfo/Managerbatchedit.php:502-684 | app/appadmin/modules/Catalog/block/productinfo/Manageredit.php:459-641 \u2014 These two members are variants of one another: 153 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/appadmin/modules/Catalog/block/productinfo/Managerbatchedit.php"},"region":{"startLine":502}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d1e44acc6591b5352c4bff3edb4aa7d21dc629f31de0d4bdd522d7300c69b59"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (63 shared lines): app/appadmin/modules/Catalog/block/productinfo/Managerbatchedit.php:296-373 | app/appadmin/modules/Catalog/block/productinfo/Manageredit.php:295-372 \u2014 These two members are variants of one another: 63 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/appadmin/modules/Catalog/block/productinfo/Managerbatchedit.php"},"region":{"startLine":296}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bbbd92304c5821732b3d1a3dc394954cc2848fc65bff3b3a98ce2a6b145f0dc"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (54 shared lines): app/appadmin/modules/AppadminbaseBlock.php:327-393 | app/appadmin/modules/Catalog/block/category/Product.php:224-295 \u2014 These two members are variants of one another: 54 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/appadmin/modules/AppadminbaseBlock.php"},"region":{"startLine":327}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fa3f97405b96f3ac7ebb25b8cb74032ca2d1ecb546fbf9929baa53af522fc25"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (38 shared lines): services/cms/article/ArticleMysqldb.php:214-264 | services/url/rewrite/RewriteMysqldb.php:146-193 \u2014 These two members are variants of one another: 38 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":"services/cms/article/ArticleMysqldb.php"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd92a256d2e64dc7bc8612a0cecf2f175830eca94a16c6b63d5e705a11736956"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (36 shared lines): app/appadmin/modules/Catalog/block/productinfo/Managerbatchedit.php:102-166 | app/appadmin/modules/Catalog/block/productinfo/Manageredit.php:101-165 \u2014 These two members are variants of one another: 36 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/appadmin/modules/Catalog/block/productinfo/Managerbatchedit.php"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"80abf2e386e95d1da85cb20104f6aeb687fd5f7d482a6e6fe8a0877deff1acbd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (60 corresponding lines): app/appfront/modules/Catalog/block/reviewproduct/Add.php:101-160 | app/apphtml5/modules/Catalog/block/reviewproduct/Add.php:102-161 \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/appfront/modules/Catalog/block/reviewproduct/Add.php"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"7df81b8eab5ce5494f944a4009869836ea247a6ab8a45f47e2739152fb0c7e6d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (47 corresponding lines): app/appfront/modules/Customer/block/address/Edit.php:27-73 | app/apphtml5/modules/Customer/block/address/Edit.php:27-73 \u2014 These two members are one piece of code written twice and then edited apart: 47 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/appfront/modules/Customer/block/address/Edit.php"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e4816baf53d927891ef82fbae065d6a7ca879b67d203eb568b77e836d828c03"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (39 corresponding lines): services/product/ProductMongodb.php:737-775 | services/product/ProductMysqldb.php:886-924 \u2014 These two members are one piece of code written twice and then edited apart: 39 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":"services/product/ProductMongodb.php"},"region":{"startLine":737}}}],"partialFingerprints":{"codehealthFindingId/v1":"925aefe9c0d7f51934e86244a3b6963a6718af1e53d9bb62746e11a7fd38a3e2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (45 corresponding lines): app/appadmin/modules/AppadminbaseBlock.php:251-308 | app/appadmin/modules/Catalog/block/category/Product.php:465-523 \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/appadmin/modules/AppadminbaseBlock.php"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"df17bfc9d6e83a06b0bdbc6639d22a17dabbd40ab59255d4dcc87fedc0d99842"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (32 corresponding lines): app/appserver/modules/Catalog/controllers/CategoryController.php:595-655 | app/appserver/modules/Cms/controllers/HomeController.php:106-153 \u2014 These two members are one piece of code written twice and then edited apart: 32 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/appserver/modules/Catalog/controllers/CategoryController.php"},"region":{"startLine":595}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d9ea5b95189c98771282d28307e31aaf47e0a6c807dcff850b615921724c6e3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (35 corresponding lines): components/AppfrontErrorHandler.php:22-63 | components/AppserverErrorHandler.php:21-56 \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":"components/AppfrontErrorHandler.php"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"616b64d4394bc9e94f8879f0aed828c433bd3712d164ff3767fe2a892de83753"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (42 corresponding lines): services/product/ProductMongodb.php:942-983 | services/product/ProductMysqldb.php:1094-1135 \u2014 These two members are one piece of code written twice and then edited apart: 42 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":"services/product/ProductMongodb.php"},"region":{"startLine":942}}}],"partialFingerprints":{"codehealthFindingId/v1":"c14b3e32daa0016a9ee11e670d8552f43b88c6e80a14270137b88fec055db5f3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): services/category/CategoryMysqldb.php:211-269 | services/category/CategoryMysqldb.php:282-321 \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":"services/category/CategoryMysqldb.php"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0b5baced3580a98c038f51394b94b018b8a34b4b3210a6d953a69c9f38cc638"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (36 corresponding lines): services/product/ProductMongodb.php:1360-1399 | services/product/ProductMysqldb.php:1567-1605 \u2014 These two members are one piece of code written twice and then edited apart: 36 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":"services/product/ProductMongodb.php"},"region":{"startLine":1360}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0124196f46bbe2290090df500f9a5222a0fe8f43c32a366147d0e29dbe2dc49"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (32 corresponding lines): services/product/ProductMysqldb.php:1158-1193 | services/product/ProductMysqldb.php:1231-1298 \u2014 These two members are one piece of code written twice and then edited apart: 32 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":"services/product/ProductMysqldb.php"},"region":{"startLine":1158}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6d6c9c44491bd8f1cd1cc3c09983f6a0c0f74011b0a4309a157bec1ef35ca5e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): app/appfront/modules/Catalog/block/category/Index.php:381-407 | app/apphtml5/modules/Catalog/block/category/Index.php:368-394 \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/appfront/modules/Catalog/block/category/Index.php"},"region":{"startLine":381}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b8a3ad63c6494d5325a5b409ec9d786021ddd5452abf0069f72fe24b174c321"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): services/order/Item.php:122-140 | services/order/Item.php:151-170 \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":"services/order/Item.php"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"d14d3bb25393bbd38c706dd11e11bb4719df66fb03e8436c63601bec00d62b2e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): app/appfront/modules/Cms/block/home/Index.php:66-82 | app/apphtml5/modules/Cms/block/home/Index.php:64-80 \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/appfront/modules/Cms/block/home/Index.php"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4519ce777fb5f08d393f3d250ecbcd831e7f8558bfad1542252dd904cbe5d08"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): app/appadmin/modules/AppadminbaseBlock.php:423-436 | app/appadmin/modules/Catalog/block/category/Product.php:89-102 \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/appadmin/modules/AppadminbaseBlock.php"},"region":{"startLine":423}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb857faf2cd3c7d37ec0225a4e5bc369e6868afb74c0024d160f6c9ef397d656"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (30 members, 50\u002B identical tokens): app/appadmin/modules/Config/block/appfrontaccount/Manager.php:198-212 | app/appadmin/modules/Config/block/appfrontbase/Manager.php:125-139 | app/appadmin/modules/Config/block/appfrontcache/Manager.php:207-221 | app/appadmin/modules/Config/block/appfrontcatalog/Manager.php:338-352 | app/appadmin/modules/Config/block/appfronthome/Manager.php:131-145 | app/appadmin/modules/Config/block/appfrontpayment/Manager.php:192-206 | app/appadmin/modules/Config/block/apphtml5account/Manager.php:197-211 | app/appadmin/modules/Config/block/apphtml5base/Manager.php:122-136 | app/appadmin/modules/Config/block/apphtml5cache/Manager.php:205-219 | app/appadmin/modules/Config/block/apphtml5catalog/Manager.php:339-353 | app/appadmin/modules/Config/block/apphtml5home/Manager.php:121-135 | app/appadmin/modules/Config/block/apphtml5payment/Manager.php:179-193 | app/appadmin/modules/Config/block/appserveraccount/Manager.php:198-212 | app/appadmin/modules/Config/block/appserverbase/Manager.php:99-113 | app/appadmin/modules/Config/block/appservercache/Manager.php:206-220 | app/appadmin/modules/Config/block/appservercatalog/Manager.php:313-327 | app/appadmin/modules/Config/block/appserverhome/Manager.php:91-105 | app/appadmin/modules/Config/block/appserverpayment/Manager.php:181-195 | app/appadmin/modules/Config/block/appserverstore/Manager.php:179-193 | app/appadmin/modules/Config/block/base/Manager.php:199-213 | app/appadmin/modules/Config/block/cart/Manager.php:105-119 | app/appadmin/modules/Config/block/email/Manager.php:417-431 | app/appadmin/modules/Config/block/fa/Manager.php:136-150 | app/appadmin/modules/Config/block/order/Manager.php:148-162 | app/appadmin/modules/Config/block/paymentalipay/Manager.php:185-199 | app/appadmin/modules/Config/block/paymentpaypal/Manager.php:160-174 | app/appadmin/modules/Config/block/paymentwxpay/Manager.php:155-169 | app/appadmin/modules/Config/block/product/Manager.php:146-160 | app/appadmin/modules/Config/block/search/Manager.php:121-135 | app/appadmin/modules/Config/block/service/Db.php:188-203 \u2014 These 30 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 30 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 30 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appadmin/modules/Config/block/appfrontaccount/Manager.php"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ad823e777af5358593c6a8128d877af7873e8b2828005ec73365a9146735632"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (30 members, 50\u002B identical tokens): app/appadmin/modules/Config/block/appfrontaccount/Manager.php:245-255 | app/appadmin/modules/Config/block/appfrontbase/Manager.php:172-182 | app/appadmin/modules/Config/block/appfrontcache/Manager.php:254-264 | app/appadmin/modules/Config/block/appfrontcatalog/Manager.php:385-395 | app/appadmin/modules/Config/block/appfronthome/Manager.php:178-188 | app/appadmin/modules/Config/block/appfrontpayment/Manager.php:239-249 | app/appadmin/modules/Config/block/apphtml5account/Manager.php:244-254 | app/appadmin/modules/Config/block/apphtml5base/Manager.php:169-179 | app/appadmin/modules/Config/block/apphtml5cache/Manager.php:252-262 | app/appadmin/modules/Config/block/apphtml5catalog/Manager.php:386-396 | app/appadmin/modules/Config/block/apphtml5home/Manager.php:168-178 | app/appadmin/modules/Config/block/apphtml5payment/Manager.php:226-236 | app/appadmin/modules/Config/block/appserveraccount/Manager.php:245-255 | app/appadmin/modules/Config/block/appserverbase/Manager.php:146-156 | app/appadmin/modules/Config/block/appservercache/Manager.php:253-263 | app/appadmin/modules/Config/block/appservercatalog/Manager.php:360-370 | app/appadmin/modules/Config/block/appserverhome/Manager.php:138-148 | app/appadmin/modules/Config/block/appserverpayment/Manager.php:228-238 | app/appadmin/modules/Config/block/appserverstore/Manager.php:226-236 | app/appadmin/modules/Config/block/base/Manager.php:246-256 | app/appadmin/modules/Config/block/cart/Manager.php:152-162 | app/appadmin/modules/Config/block/email/Manager.php:464-474 | app/appadmin/modules/Config/block/fa/Manager.php:183-193 | app/appadmin/modules/Config/block/order/Manager.php:195-205 | app/appadmin/modules/Config/block/paymentalipay/Manager.php:232-242 | app/appadmin/modules/Config/block/paymentpaypal/Manager.php:207-217 | app/appadmin/modules/Config/block/paymentwxpay/Manager.php:202-212 | app/appadmin/modules/Config/block/product/Manager.php:193-203 | app/appadmin/modules/Config/block/search/Manager.php:168-178 | app/appadmin/modules/Config/block/service/Db.php:236-246 \u2014 These 30 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 30 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 30 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appadmin/modules/Config/block/appfrontaccount/Manager.php"},"region":{"startLine":245}}}],"partialFingerprints":{"codehealthFindingId/v1":"3475232cc12e4b604adc25e73e6d190b0610f03ddbc19f1f179a8d33154f1e9c"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (29 members, 50\u002B identical tokens): app/appadmin/modules/Config/block/appfrontaccount/Manager.php:50-59 | app/appadmin/modules/Config/block/appfrontbase/Manager.php:40-49 | app/appadmin/modules/Config/block/appfrontcache/Manager.php:46-55 | app/appadmin/modules/Config/block/appfrontcatalog/Manager.php:57-66 | app/appadmin/modules/Config/block/appfronthome/Manager.php:41-50 | app/appadmin/modules/Config/block/appfrontpayment/Manager.php:46-56 | app/appadmin/modules/Config/block/apphtml5account/Manager.php:49-58 | app/appadmin/modules/Config/block/apphtml5base/Manager.php:40-49 | app/appadmin/modules/Config/block/apphtml5cache/Manager.php:46-55 | app/appadmin/modules/Config/block/apphtml5catalog/Manager.php:57-66 | app/appadmin/modules/Config/block/apphtml5home/Manager.php:40-49 | app/appadmin/modules/Config/block/apphtml5payment/Manager.php:35-45 | app/appadmin/modules/Config/block/appserveraccount/Manager.php:50-59 | app/appadmin/modules/Config/block/appserverbase/Manager.php:37-46 | app/appadmin/modules/Config/block/appservercache/Manager.php:46-55 | app/appadmin/modules/Config/block/appservercatalog/Manager.php:57-66 | app/appadmin/modules/Config/block/appserverhome/Manager.php:37-46 | app/appadmin/modules/Config/block/appserverpayment/Manager.php:35-45 | app/appadmin/modules/Config/block/appserverstore/Manager.php:45-54 | app/appadmin/modules/Config/block/base/Manager.php:44-53 | app/appadmin/modules/Config/block/cart/Manager.php:38-47 | app/appadmin/modules/Config/block/email/Manager.php:77-86 | app/appadmin/modules/Config/block/fa/Manager.php:40-49 | app/appadmin/modules/Config/block/order/Manager.php:43-52 | app/appadmin/modules/Config/block/paymentalipay/Manager.php:55-64 | app/appadmin/modules/Config/block/paymentpaypal/Manager.php:42-51 | app/appadmin/modules/Config/block/paymentwxpay/Manager.php:45-54 | app/appadmin/modules/Config/block/product/Manager.php:42-51 | app/appadmin/modules/Config/block/search/Manager.php:39-48 \u2014 These 29 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 29 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 29 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appadmin/modules/Config/block/appfrontaccount/Manager.php"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"05c16196e422bf6383da2c25e54e387d049a818fd34e0465c26fbb0881cafd8f"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (27 members, 50\u002B identical tokens): app/appadmin/modules/Catalog/block/category/Product.php:62-81 | app/appadmin/modules/Catalog/block/productattr/Manager.php:46-65 | app/appadmin/modules/Catalog/block/productattrgroup/Manager.php:46-65 | app/appadmin/modules/Catalog/block/productbrand/Manager.php:47-66 | app/appadmin/modules/Catalog/block/productbrandcategory/Manager.php:46-65 | app/appadmin/modules/Catalog/block/productfavorite/Index.php:39-58 | app/appadmin/modules/Catalog/block/productinfo/Index.php:67-86 | app/appadmin/modules/Catalog/block/productreview/Index.php:54-73 | app/appadmin/modules/Catalog/block/urlrewrite/Index.php:46-65 | app/appadmin/modules/Cms/block/article/Index.php:48-67 | app/appadmin/modules/Cms/block/staticblock/Index.php:49-68 | app/appadmin/modules/Config/block/appfrontstore/Manager.php:47-66 | app/appadmin/modules/Config/block/apphtml5store/Manager.php:47-66 | app/appadmin/modules/Customer/block/account/Index.php:48-67 | app/appadmin/modules/Customer/block/contacts/Index.php:49-68 | app/appadmin/modules/Customer/block/newsletter/Index.php:48-67 | app/appadmin/modules/Fecadmin/block/account/Manager.php:44-63 | app/appadmin/modules/Fecadmin/block/cache/Index.php:39-58 | app/appadmin/modules/Fecadmin/block/config/Manager.php:44-63 | app/appadmin/modules/Fecadmin/block/log/Index.php:32-51 | app/appadmin/modules/Fecadmin/block/logtj/Index.php:36-55 | app/appadmin/modules/Fecadmin/block/resource/Manager.php:48-67 | app/appadmin/modules/Fecadmin/block/role/Manager.php:48-67 | app/appadmin/modules/Sales/block/coupon/Manager.php:52-71 | app/appadmin/modules/Sales/block/orderinfo/Manager.php:51-70 | app/appadmin/modules/System/block/error/Index.php:44-63 | app/appadmin/modules/System/block/extensioninstalled/Manager.php:54-73 \u2014 These 27 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 27 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 27 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appadmin/modules/Catalog/block/category/Product.php"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"40f38160961569a087056e9edd7d91a85a5b0aa2bcc5dd3ecb04dbaca6ab491e"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (21 members, 50\u002B identical tokens): services/Payment.php:92-108 | services/Payment.php:137-148 | services/Payment.php:158-169 | services/Payment.php:179-190 | services/Payment.php:200-211 | services/Payment.php:221-232 | services/Payment.php:241-252 | services/Payment.php:309-320 | services/Payment.php:348-359 | services/Payment.php:368-379 | services/Payment.php:388-399 | services/Payment.php:412-423 | services/Payment.php:432-443 | services/Payment.php:452-463 | services/Payment.php:472-483 | services/Payment.php:492-503 | services/Payment.php:512-523 | services/Payment.php:532-543 | services/Payment.php:552-563 | services/Payment.php:573-584 | services/Payment.php:593-604 \u2014 These 21 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 21 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 21 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"services/Payment.php"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe463a958d861f8caa7919eaf00354db11c062f465dcdb151944b8f40b0521ef"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (19 members, 50\u002B identical tokens): app/appadmin/modules/Catalog/block/productattr/Manageredit.php:222-242 | app/appadmin/modules/Catalog/block/productattrgroup/Manageredit.php:143-163 | app/appadmin/modules/Catalog/block/productbrand/Manageredit.php:131-151 | app/appadmin/modules/Catalog/block/productbrandcategory/Manageredit.php:117-137 | app/appadmin/modules/Catalog/block/productinfo/Managerbatchedit.php:690-710 | app/appadmin/modules/Catalog/block/productinfo/Manageredit.php:647-667 | app/appadmin/modules/Catalog/block/productreview/Manageredit.php:155-175 | app/appadmin/modules/Cms/block/article/Manageredit.php:149-169 | app/appadmin/modules/Cms/block/staticblock/Manageredit.php:127-147 | app/appadmin/modules/Config/block/appfrontstore/Manageredit.php:261-281 | app/appadmin/modules/Config/block/apphtml5store/Manageredit.php:212-232 | app/appadmin/modules/Customer/block/account/Manageredit.php:135-155 | app/appadmin/modules/Customer/block/contacts/Manageredit.php:125-145 | app/appadmin/modules/Fecadmin/block/config/Manageredit.php:72-92 | app/appadmin/modules/Fecadmin/block/resource/Manageredit.php:120-140 | app/appadmin/modules/Fecadmin/block/role/Manageredit.php:103-123 | app/appadmin/modules/Sales/block/coupon/Manageredit.php:144-164 | app/appadmin/modules/System/block/extensioninstalled/Manageredit.php:175-195 | app/appadmin/modules/System/block/extensioninstalled/Managerview.php:218-238 \u2014 These 19 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 19 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 19 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appadmin/modules/Catalog/block/productattr/Manageredit.php"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee9db5de9f3ec5240731b16599c14202773a513a1c15d2d9f61bcd90628bd8d2"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (17 members, 50\u002B identical tokens): app/appadmin/modules/AppadminbaseBlock.php:520-596 | app/appadmin/modules/Catalog/block/category/Product.php:344-431 | app/appadmin/modules/Catalog/block/productbrand/Manager.php:175-250 | app/appadmin/modules/Catalog/block/productfavorite/Index.php:142-229 | app/appadmin/modules/Catalog/block/productinfo/Index.php:248-373 | app/appadmin/modules/Catalog/block/productreview/Index.php:221-313 | app/appadmin/modules/Catalog/block/urlrewrite/Index.php:133-210 | app/appadmin/modules/Cms/block/article/Index.php:164-244 | app/appadmin/modules/Cms/block/staticblock/Index.php:179-259 | app/appadmin/modules/Customer/block/contacts/Index.php:165-240 | app/appadmin/modules/Customer/block/newsletter/Index.php:170-238 | app/appadmin/modules/Fecadmin/block/log/Index.php:133-183 | app/appadmin/modules/Fecadmin/block/logtj/Index.php:179-224 | app/appadmin/modules/Sales/block/coupon/Manager.php:196-275 | app/appadmin/modules/Sales/block/orderinfo/Manager.php:215-301 | app/appadmin/modules/System/block/error/Index.php:158-237 | app/appadmin/modules/System/block/extensioninstalled/Manager.php:202-283 \u2014 These 17 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 17 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 17 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appadmin/modules/AppadminbaseBlock.php"},"region":{"startLine":520}}}],"partialFingerprints":{"codehealthFindingId/v1":"d01c1e65dcc46025dc9477c41de5dacd4396722e281f07728b99fc484755e4c3"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (11 members, 50\u002B identical tokens): services/admin/Config.php:74-89 | services/admin/Role.php:88-103 | services/admin/RoleUrlKey.php:78-93 | services/admin/SystemLog.php:84-99 | services/admin/UrlKey.php:109-124 | services/admin/UserRole.php:78-93 | services/adminUser/AdminUser.php:111-126 | services/cms/article/ArticleMysqldb.php:130-145 | services/cms/staticblock/StaticBlockMysqldb.php:96-111 | services/product/Brand.php:97-112 | services/product/Brandcategory.php:82-97 \u2014 These 11 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 11 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 11 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"services/admin/Config.php"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd8cde38e40b20b135aeef792170e80ea14ce2ee43931727f247993fd470567a"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (10 members, 50\u002B identical tokens): app/appfront/modules/Catalog/controllers/CategoryController.php:42-95 | app/appfront/modules/Catalog/controllers/ProductController.php:41-94 | app/appfront/modules/Cms/controllers/ArticleController.php:35-93 | app/apphtml5/modules/Catalog/controllers/CategoryController.php:38-84 | app/apphtml5/modules/Catalog/controllers/ProductController.php:38-84 | app/apphtml5/modules/Cms/controllers/ArticleController.php:35-82 | app/appserver/modules/Catalog/controllers/CategoryController.php:56-103 | app/appserver/modules/Catalog/controllers/ProductController.php:49-95 | app/appserver/modules/Cms/controllers/ArticleController.php:51-98 | app/appserver/modules/General/controllers/BaseController.php:23-59 \u2014 These 10 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 10 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 10 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appfront/modules/Catalog/controllers/CategoryController.php"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"27451438bd85c24a07567cf99ab606c6ec7e1bd21bfad8f326b05f9c566611a7"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (10 members, 50\u002B identical tokens): app/appfront/modules/Checkout/block/cart/Index.php:147-168 | app/appfront/modules/Checkout/block/onepage/Index.php:319-340 | app/appfront/modules/Payment/block/paypal/express/Review.php:261-282 | app/apphtml5/modules/Checkout/block/cart/Index.php:136-157 | app/apphtml5/modules/Checkout/block/onepage/Index.php:309-330 | app/apphtml5/modules/Payment/block/paypal/express/Review.php:261-282 | app/appserver/modules/Checkout/block/onepage/Index.php:343-364 | app/appserver/modules/Checkout/controllers/CartController.php:119-140 | app/appserver/modules/Payment/block/paypal/express/Review.php:282-303 | services/order/Item.php:205-225 \u2014 These 10 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 10 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 10 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appfront/modules/Checkout/block/cart/Index.php"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"4792d1a034bcdfd74fddb83b024afe46317405a7009ed4610b9b344eed8efc78"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (9 members, 50\u002B identical tokens): app/appfront/modules/Checkout/block/cart/Index.php:113-139 | app/appfront/modules/Checkout/block/onepage/Index.php:284-311 | app/appfront/modules/Payment/block/paypal/express/Review.php:226-253 | app/apphtml5/modules/Checkout/block/cart/Index.php:102-128 | app/apphtml5/modules/Checkout/block/onepage/Index.php:274-301 | app/apphtml5/modules/Payment/block/paypal/express/Review.php:226-253 | app/appserver/modules/Checkout/block/onepage/Index.php:305-335 | app/appserver/modules/Checkout/controllers/CartController.php:73-111 | app/appserver/modules/Payment/block/paypal/express/Review.php:246-274 \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/appfront/modules/Checkout/block/cart/Index.php"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cf17028b53ad0693360f5bf5cf3960a11678efe68cb5b59c93615a7e7c4d0bd"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (9 members, 50\u002B identical tokens): app/appfront/modules/Checkout/block/onepage/Index.php:82-232 | app/appfront/modules/Payment/block/paypal/express/Review.php:72-174 | app/appfront/modules/Payment/block/paypal/express/Review.php:428-461 | app/apphtml5/modules/Checkout/block/onepage/Index.php:72-222 | app/apphtml5/modules/Payment/block/paypal/express/Review.php:72-174 | app/apphtml5/modules/Payment/block/paypal/express/Review.php:428-461 | app/appserver/modules/Checkout/block/onepage/Index.php:91-244 | app/appserver/modules/Payment/block/paypal/express/Review.php:87-189 | app/appserver/modules/Payment/block/paypal/express/Review.php:463-489 \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/appfront/modules/Checkout/block/onepage/Index.php"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"29f18fee4c4e17e1de54a5be6a313e51cd21efdb94f58fc281768444dceda97a"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (9 members, 50\u002B identical tokens): app/appfront/modules/Customer/block/account/Forgotpassword.php:46-78 | app/appfront/modules/Customer/block/account/Login.php:50-86 | app/appfront/modules/Customer/block/account/Register.php:52-76 | app/appfront/modules/Customer/block/contacts/Index.php:70-121 | app/apphtml5/modules/Customer/block/account/Forgotpassword.php:35-67 | app/apphtml5/modules/Customer/block/account/Login.php:40-76 | app/apphtml5/modules/Customer/block/account/Register.php:45-67 | app/apphtml5/modules/Customer/block/contacts/Index.php:71-121 | app/appserver/modules/Customer/block/account/Login.php:40-61 \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/appfront/modules/Customer/block/account/Forgotpassword.php"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"c205e29137459e3c44694c71df02e6083b1171b7dfe64afa354e40e15fd1cb55"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (7 members, 50\u002B identical tokens): app/appfront/modules/Checkout/block/onepage/Placeorder.php:228-325 | app/appfront/modules/Payment/block/paypal/express/Placeorder.php:208-247 | app/apphtml5/modules/Checkout/block/onepage/Placeorder.php:215-310 | app/apphtml5/modules/Payment/block/paypal/express/Placeorder.php:208-247 | app/appserver/modules/Checkout/block/onepage/Placeorder.php:249-331 | app/appserver/modules/Checkout/block/onepage/Wxplaceorder.php:233-315 | app/appserver/modules/Payment/block/paypal/express/Placeorder.php:245-301 \u2014 These 7 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 7 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 7 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appfront/modules/Checkout/block/onepage/Placeorder.php"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c7aadf7f387cd5b1ddea49ecac95bc4f7ee4741f8586967b2cdfc931c075812"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (7 members, 50\u002B identical tokens): services/Extension.php:154-170 | services/StoreBaseConfig.php:169-187 | services/StoreDomain.php:150-166 | services/admin/RoleUrlKey.php:209-225 | services/helper/ScriptDate.php:151-167 | services/product/Brand.php:193-209 | services/product/Brandcategory.php:194-210 \u2014 These 7 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 7 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 7 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"services/Extension.php"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba60b3636851d95b4293df3307bddac82a9da81f4ade3d7306ade9bbe9b6c6c9"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (6 members, 50\u002B identical tokens): app/appadmin/modules/AppadminbaseBlock.php:451-472 | app/appadmin/modules/Catalog/block/category/Product.php:436-457 | app/appadmin/modules/Catalog/block/productfavorite/Index.php:234-255 | app/appadmin/modules/Catalog/block/urlrewrite/Index.php:215-235 | app/appadmin/modules/Customer/block/newsletter/Index.php:144-164 | app/appadmin/modules/System/block/error/Index.php:260-281 \u2014 These 6 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 6 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 6 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appadmin/modules/AppadminbaseBlock.php"},"region":{"startLine":451}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f1e75d25cc0193d1b348c7227079fdc70f8a6cda32482c13cc55b910b87a91a"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (6 members, 50\u002B identical tokens): app/appadmin/modules/Config/block/appfrontstore/Manageredit.php:51-226 | app/appadmin/modules/Config/block/apphtml5store/Manageredit.php:51-177 | app/appadmin/modules/Config/block/appserverstore/Manager.php:80-175 | app/appadmin/modules/Config/block/paymentalipay/Manager.php:90-180 | app/appadmin/modules/Config/block/paymentpaypal/Manager.php:77-156 | app/appadmin/modules/Config/block/paymentwxpay/Manager.php:80-150 \u2014 These 6 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 6 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 6 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appadmin/modules/Config/block/appfrontstore/Manageredit.php"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad34bd245db41e742483e4fdce54a51dc929f5754bdd6f590ce469874ef598f7"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (6 members, 50\u002B identical tokens): app/appfront/modules/Catalog/block/category/Index.php:362-373 | app/appfront/modules/Catalogsearch/block/index/Index.php:223-234 | app/apphtml5/modules/Catalog/block/category/Index.php:349-360 | app/apphtml5/modules/Catalogsearch/block/index/Index.php:246-257 | app/appserver/modules/Catalog/controllers/CategoryController.php:490-501 | app/appserver/modules/Catalogsearch/controllers/IndexController.php:256-267 \u2014 These 6 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 6 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 6 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appfront/modules/Catalog/block/category/Index.php"},"region":{"startLine":362}}}],"partialFingerprints":{"codehealthFindingId/v1":"81668426f9c27fbaab929196f1fb31ff20b53cedded7efd212231a0153983634"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (6 members, 50\u002B identical tokens): app/appfront/modules/Catalog/block/category/Index.php:418-442 | app/appfront/modules/Catalogsearch/block/index/Index.php:295-316 | app/apphtml5/modules/Catalog/block/category/Index.php:405-429 | app/apphtml5/modules/Catalogsearch/block/index/Index.php:318-339 | app/appserver/modules/Catalog/controllers/CategoryController.php:555-579 | app/appserver/modules/Catalogsearch/controllers/IndexController.php:292-313 \u2014 These 6 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 6 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 6 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appfront/modules/Catalog/block/category/Index.php"},"region":{"startLine":418}}}],"partialFingerprints":{"codehealthFindingId/v1":"c79aaa2193fba7c312d5eccd99582c779e2464485da71edaffa05945c6fe0214"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (6 members, 50\u002B identical tokens): app/appfront/modules/Catalog/block/category/Index.php:485-504 | app/appfront/modules/Catalogsearch/block/index/Index.php:352-378 | app/apphtml5/modules/Catalog/block/category/Index.php:472-491 | app/apphtml5/modules/Catalogsearch/block/index/Index.php:375-401 | app/appserver/modules/Catalog/controllers/CategoryController.php:718-742 | app/appserver/modules/Catalogsearch/controllers/IndexController.php:438-465 \u2014 These 6 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 6 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 6 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appfront/modules/Catalog/block/category/Index.php"},"region":{"startLine":485}}}],"partialFingerprints":{"codehealthFindingId/v1":"d189610e0989a744009e7f1e916712433660d366923fe6a4dee536c6f9bf7ac6"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (6 members, 50\u002B identical tokens): app/appfront/modules/Checkout/block/onepage/Index.php:248-260 | app/appfront/modules/Customer/block/address/Edit.php:122-136 | app/appfront/modules/Payment/block/paypal/express/Review.php:190-202 | app/apphtml5/modules/Checkout/block/onepage/Index.php:238-250 | app/apphtml5/modules/Customer/block/address/Edit.php:112-129 | app/apphtml5/modules/Payment/block/paypal/express/Review.php:190-202 \u2014 These 6 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 6 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 6 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appfront/modules/Checkout/block/onepage/Index.php"},"region":{"startLine":248}}}],"partialFingerprints":{"codehealthFindingId/v1":"7151016624f47a8ee88834298f875df923d0bf9aa7d11c704ea4f04e529ea646"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (6 members, 50\u002B identical tokens): app/appfront/modules/Checkout/block/onepage/Index.php:358-375 | app/appfront/modules/Payment/block/paypal/express/Review.php:300-317 | app/apphtml5/modules/Checkout/block/onepage/Index.php:348-367 | app/apphtml5/modules/Payment/block/paypal/express/Review.php:300-317 | app/appserver/modules/Checkout/block/onepage/Index.php:382-399 | app/appserver/modules/Payment/block/paypal/express/Review.php:321-338 \u2014 These 6 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 6 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 6 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appfront/modules/Checkout/block/onepage/Index.php"},"region":{"startLine":358}}}],"partialFingerprints":{"codehealthFindingId/v1":"63ace2273416baf286132d98bd65e5384ba42269940c07c17acffcea1916f87b"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (6 members, 50\u002B identical tokens): app/appfront/modules/Checkout/block/onepage/Index.php:385-422 | app/appfront/modules/Payment/block/paypal/express/Review.php:327-355 | app/apphtml5/modules/Checkout/block/onepage/Index.php:377-414 | app/apphtml5/modules/Payment/block/paypal/express/Review.php:327-355 | app/appserver/modules/Checkout/block/onepage/Index.php:409-446 | app/appserver/modules/Payment/block/paypal/express/Review.php:348-376 \u2014 These 6 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 6 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 6 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appfront/modules/Checkout/block/onepage/Index.php"},"region":{"startLine":385}}}],"partialFingerprints":{"codehealthFindingId/v1":"abe21a56c35ea269a7e45996443568d3067507baf15081efd846f090b500e9fe"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (6 members, 50\u002B identical tokens): app/appfront/modules/Checkout/block/onepage/Index.php:433-463 | app/appfront/modules/Payment/block/paypal/express/Review.php:366-396 | app/apphtml5/modules/Checkout/block/onepage/Index.php:425-455 | app/apphtml5/modules/Payment/block/paypal/express/Review.php:366-396 | app/appserver/modules/Checkout/block/onepage/Index.php:457-487 | app/appserver/modules/Payment/block/paypal/express/Review.php:387-417 \u2014 These 6 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 6 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 6 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appfront/modules/Checkout/block/onepage/Index.php"},"region":{"startLine":433}}}],"partialFingerprints":{"codehealthFindingId/v1":"d63dadf4a852eaa452472f7de7a5676302d89873519b5361521c99f46a21506f"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (6 members, 50\u002B identical tokens): app/appfront/modules/Payment/block/paypal/express/Placeorder.php:154-173 | app/appfront/modules/Payment/block/paypal/standard/Placeorder.php:100-121 | app/apphtml5/modules/Payment/block/paypal/express/Placeorder.php:154-173 | app/apphtml5/modules/Payment/block/paypal/standard/Placeorder.php:100-121 | app/appserver/modules/Payment/block/paypal/express/Placeorder.php:191-210 | app/appserver/modules/Payment/block/paypal/standard/Placeorder.php:112-135 \u2014 These 6 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 6 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 6 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appfront/modules/Payment/block/paypal/express/Placeorder.php"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ab7c3baa587eb85b5b1a8df60dee569f8b6e11f71ee6653021d71c07d5c7b19"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (6 members, 50\u002B identical tokens): app/appfront/modules/Payment/controllers/paypal/ExpressController.php:60-73 | app/appfront/modules/Payment/controllers/paypal/StandardController.php:44-57 | app/apphtml5/modules/Payment/controllers/paypal/ExpressController.php:60-72 | app/apphtml5/modules/Payment/controllers/paypal/StandardController.php:43-55 | app/appserver/modules/Payment/controllers/paypal/ExpressController.php:57-72 | app/appserver/modules/Payment/controllers/paypal/StandardController.php:55-70 \u2014 These 6 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 6 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 6 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appfront/modules/Payment/controllers/paypal/ExpressController.php"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"e037f82f0c4622f39e68c1d7c179bddbfbb9af57e3612951250ad3def8f88f88"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (6 members, 50\u002B identical tokens): app/appserver/modules/Catalog/controllers/ProductController.php:100-125 | app/appserver/modules/Catalog/controllers/ProductController.php:130-180 | app/appserver/modules/Checkout/controllers/CartController.php:223-277 | app/appserver/modules/Checkout/controllers/CartController.php:284-352 | app/appserver/modules/Customer/controllers/AccountController.php:22-39 | app/appserver/modules/Customer/controllers/AccountController.php:66-82 \u2014 These 6 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 6 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 6 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appserver/modules/Catalog/controllers/ProductController.php"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd45667b70b0646326c8b8b93779c3d9b8b2d726d6b8ae1c6bc2f73cb4b52bd3"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (6 members, 50\u002B identical tokens): services/Sitemap.php:42-63 | services/Sitemap.php:71-89 | services/Sitemap.php:97-118 | services/Sitemap.php:138-171 | services/Sitemap.php:191-224 | services/Sitemap.php:243-276 \u2014 These 6 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 6 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 6 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"services/Sitemap.php"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"81a75094f196428f87cf5404c496e4df95b5b5c4a0445b474aa20efa3443bb81"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (6 members, 50\u002B identical tokens): services/admin/Config.php:44-56 | services/admin/RoleUrlKey.php:48-60 | services/admin/SystemLog.php:54-66 | services/adminUser/AdminUser.php:81-93 | services/product/Brand.php:51-63 | services/product/Brandcategory.php:51-63 \u2014 These 6 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 6 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 6 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"services/admin/Config.php"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"af770b7fcdabdf6577e8d59717ff061dd9a7b277e61a6110081c769e82dfb0ae"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (6 members, 50\u002B identical tokens): services/extension/Administer.php:45-96 | services/extension/Administer.php:103-146 | services/extension/Administer.php:156-206 | services/extension/Administer.php:213-256 | services/extension/Administer.php:266-324 | services/extension/Administer.php:330-381 \u2014 These 6 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 6 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 6 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"services/extension/Administer.php"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"b65a426e16854a1129611458a5a811d801f924cddee7a64d1a5ba35d734cbeab"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): app/appadmin/modules/AppadminController.php:33-56 | app/appadmin/modules/Fecadmin/controllers/LoginController.php:32-48 | app/appadmin/modules/Fecadmin/controllers/LogoutController.php:31-46 | app/appfront/modules/AppfrontController.php:33-49 | app/apphtml5/modules/AppfrontController.php:33-49 \u2014 These 5 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 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/appadmin/modules/AppadminController.php"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"c35b55da4d2fd98dd33eee79698b7d33d3f1443d5bf67e91ad14f42b9b7a9fda"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): app/appadmin/modules/AppadminController.php:105-117 | app/appadmin/modules/Fecadmin/controllers/LoginController.php:124-136 | app/appadmin/modules/Fecadmin/controllers/LogoutController.php:91-103 | app/appfront/modules/AppfrontController.php:110-128 | app/apphtml5/modules/AppfrontController.php:109-122 \u2014 These 5 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 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/appadmin/modules/AppadminController.php"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"17ac52a4584e1371d4460a05bef0bcec36b1b3a252467a473b6bbb40f35b2252"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): app/appadmin/modules/AppadminController.php:151-167 | app/appfront/modules/AppfrontController.php:66-82 | app/apphtml5/modules/AppfrontController.php:66-82 | app/appserver/modules/AppserverController.php:49-65 | app/appserver/modules/AppserverTokenController.php:85-101 \u2014 These 5 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 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/appadmin/modules/AppadminController.php"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"0dd06b7348ec8bb5b2bbdd9c4018cd03e2092b96031d674ab1b52b2789585b84"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): app/appapi/modules/V1/controllers/CategoryController.php:28-66 | app/appapi/modules/V1/controllers/ProductattrController.php:28-68 | app/appapi/modules/V1/controllers/ProductattrgroupController.php:28-68 | app/appapi/modules/V1/controllers/ProductbrandController.php:28-60 | app/appapi/modules/V1/controllers/ProductbrandcategoryController.php:28-60 \u2014 These 5 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 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/appapi/modules/V1/controllers/CategoryController.php"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"d28fbcf6585f14a2be3abf87d765cb87727464620a0276872b04a742456f2112"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): app/appfront/modules/Catalog/block/reviewproduct/Add.php:55-93 | app/appfront/modules/Catalog/block/reviewproduct/Lists.php:81-126 | app/apphtml5/modules/Catalog/block/reviewproduct/Add.php:56-94 | app/apphtml5/modules/Catalog/block/reviewproduct/Lists.php:82-125 | app/appserver/modules/Catalog/block/reviewproduct/Add.php:56-103 \u2014 These 5 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 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/appfront/modules/Catalog/block/reviewproduct/Add.php"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"36b0ff61e79872d0853c0f61d0c85bb843427ebdd5c585f48be734d70a61f423"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): migrations/mysqldb/m181126_143605_fecshop_tables.php:16-33 | migrations/mysqldb/m190730_130707_fecshop_tables.php:16-279 | migrations/mysqldb/m190809_154516_fecshop_tables.php:16-379 | migrations/mysqldb/m190904_025251_fecshop_tables.php:16-135 | migrations/mysqldb/m200331_082139_fecshop_tables.php:16-121 \u2014 These 5 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 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":"migrations/mysqldb/m181126_143605_fecshop_tables.php"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"4617bfe957f12b1feb1299276a09a3013103941d927d359fa9ee462d3fdfc244"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): services/category/CategoryMongodb.php:147-205 | services/category/CategoryMongodb.php:217-259 | services/category/CategoryMongodb.php:615-686 | services/category/CategoryMysqldb.php:694-764 | services/cms/article/ArticleMongodb.php:125-153 \u2014 These 5 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 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":"services/category/CategoryMongodb.php"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"82791c481f6c188b8d1fb511a0902a73304e36be7d37b865179d5b40d666e71f"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): services/payment/Alipay.php:164-195 | services/payment/Wxpay.php:330-357 | services/payment/WxpayH5.php:336-368 | services/payment/WxpayJsApi.php:323-355 | services/payment/WxpayMicro.php:308-340 \u2014 These 5 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 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":"services/payment/Alipay.php"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"13d4789c1d511d430c108fe9548cf8f8b30be4a9fb95509942f027bb55123bc6"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): services/payment/Alipay.php:294-316 | services/payment/Wxpay.php:393-413 | services/payment/WxpayH5.php:404-424 | services/payment/WxpayJsApi.php:391-411 | services/payment/WxpayMicro.php:376-396 \u2014 These 5 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 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":"services/payment/Alipay.php"},"region":{"startLine":294}}}],"partialFingerprints":{"codehealthFindingId/v1":"1113b6fcec8cd7ca5ce06ab0b4d5df08841e3b2a0a494ffff5dcf3fbb3a50d4d"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): services/payment/Alipay.php:363-384 | services/payment/Wxpay.php:286-321 | services/payment/WxpayH5.php:293-327 | services/payment/WxpayJsApi.php:280-314 | services/payment/WxpayMicro.php:265-299 \u2014 These 5 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 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":"services/payment/Alipay.php"},"region":{"startLine":363}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f6ec706c78c6838444f9e0a54dcdb9931efeadacd73075150a31e48bb48e5d8"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): app/appadmin/modules/Config/block/appserverstorelang/Manager.php:31-38 | app/appadmin/modules/Config/block/categorysort/Manager.php:31-39 | app/appadmin/modules/Config/block/currency/Manager.php:31-38 | app/appadmin/modules/Config/block/mutillang/Manager.php:31-38 \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/appadmin/modules/Config/block/appserverstorelang/Manager.php"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"108dfa6d6540bf815742ce93219498c831a8d53b4d160015dfff46a65f48d0ab"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): app/appadmin/modules/Customer/block/account/Manageredit.php:109-129 | app/appadmin/modules/Customer/block/contacts/Manageredit.php:99-119 | app/appadmin/modules/Fecadmin/block/config/Manageredit.php:47-67 | app/appadmin/modules/Fecadmin/block/resource/Manageredit.php:94-114 \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/appadmin/modules/Customer/block/account/Manageredit.php"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"569a79be5773683876e8509f71a293ad2aa26362c4e5d59d08bc138e168809eb"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): app/appapi/modules/V1/controllers/CategoryController.php:121-205 | app/appapi/modules/V1/controllers/ProductController.php:141-175 | app/appapi/modules/V1/controllers/ProductController.php:185-238 | services/product/ProductApi.php:368-413 \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/appapi/modules/V1/controllers/CategoryController.php"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a7f77d7a9cf31504a30af48292d711257b61a6823a9226b2243f5c49befc67c"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): app/appapi/modules/V1/controllers/ProductattrController.php:75-113 | app/appapi/modules/V1/controllers/ProductattrgroupController.php:75-112 | app/appapi/modules/V1/controllers/ProductbrandController.php:195-227 | app/appapi/modules/V1/controllers/ProductbrandcategoryController.php:182-214 \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/appapi/modules/V1/controllers/ProductattrController.php"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b6249e10d2fe36ef19e1eab4604bfa4706baa0032a4d27ee70b926c2464d7ad"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): app/appfront/modules/Catalog/block/category/Index.php:213-267 | app/appfront/modules/Catalogsearch/block/index/Index.php:106-129 | app/apphtml5/modules/Catalog/block/category/Index.php:202-256 | app/apphtml5/modules/Catalogsearch/block/index/Index.php:129-152 \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/appfront/modules/Catalog/block/category/Index.php"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ab2e31917e6d115c1639a722c3598b283b31baf25a262d177e0873ac6e97aa2"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): app/appfront/modules/Catalog/block/category/Index.php:287-329 | app/appfront/modules/Catalogsearch/block/index/Index.php:148-183 | app/apphtml5/modules/Catalog/block/category/Index.php:275-316 | app/apphtml5/modules/Catalogsearch/block/index/Index.php:171-206 \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/appfront/modules/Catalog/block/category/Index.php"},"region":{"startLine":287}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8b288995c9fccc7386488bb332eabbc919239370d6a031f5a313edd42726faf"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): app/appfront/modules/Catalog/block/category/Index.php:547-562 | app/apphtml5/modules/Catalog/block/category/Index.php:534-549 | app/apphtml5/modules/Catalog/block/product/Index.php:542-556 | app/appserver/modules/Catalog/controllers/ProductController.php:786-800 \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/appfront/modules/Catalog/block/category/Index.php"},"region":{"startLine":547}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e523e1104e755d12f1cf91b4bfa038c409e80fb98c451f72ea514bef8de2356"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): app/appfront/modules/Catalogsearch/block/index/Index.php:239-251 | app/apphtml5/modules/Catalogsearch/block/index/Index.php:262-274 | app/appserver/modules/Catalogsearch/controllers/IndexController.php:272-284 | services/Category.php:456-468 \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/appfront/modules/Catalogsearch/block/index/Index.php"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6992e1e66f98719816a86a4c98e6151f0b951625abd2543b418ed361b3afa87"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): app/appfront/modules/Catalogsearch/block/index/Index.php:332-345 | app/apphtml5/modules/Catalogsearch/block/index/Index.php:355-368 | app/appserver/modules/Catalogsearch/controllers/IndexController.php:330-381 | app/appserver/modules/Catalogsearch/controllers/IndexController.php:393-428 \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/appfront/modules/Catalogsearch/block/index/Index.php"},"region":{"startLine":332}}}],"partialFingerprints":{"codehealthFindingId/v1":"155084ae6f8a084ba5a067e91e6dec528efacf9dec54cd9dd2f03d4e7fcdc7c3"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): app/appfront/modules/Checkout/block/onepage/Placeorder.php:41-105 | app/apphtml5/modules/Checkout/block/onepage/Placeorder.php:40-92 | app/appserver/modules/Checkout/block/onepage/Placeorder.php:39-126 | app/appserver/modules/Checkout/block/onepage/Wxplaceorder.php:39-110 \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/appfront/modules/Checkout/block/onepage/Placeorder.php"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"e073bd99955ef75e77ef5dda95a80a9c35ce869e58896b1921b4116833a969f6"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): app/appfront/modules/Checkout/block/onepage/Placeorder.php:168-205 | app/apphtml5/modules/Checkout/block/onepage/Placeorder.php:155-192 | app/appserver/modules/Checkout/block/onepage/Placeorder.php:190-225 | app/appserver/modules/Checkout/block/onepage/Wxplaceorder.php:174-209 \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/appfront/modules/Checkout/block/onepage/Placeorder.php"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"e389661274d3d1c558b91421cb7db430a72104f75f0ee5accd964e996b929d23"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): app/appfront/modules/Customer/block/order/View.php:40-51 | app/apphtml5/modules/Customer/block/order/View.php:30-41 | app/appserver/modules/Customer/controllers/OrderController.php:223-261 | app/appserver/modules/Customer/controllers/OrderController.php:267-314 \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/appfront/modules/Customer/block/order/View.php"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"1677373ad1a80edd63c5b270ae8764f67bdff741e1b5f91a9738c31ea96b7c31"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): app/appfront/modules/Payment/PaymentController.php:26-38 | app/apphtml5/modules/Payment/PaymentController.php:26-38 | app/apphtml5/modules/Payment/controllers/Wxpayh5Controller.php:28-39 | app/apphtml5/modules/Payment/controllers/WxpayjsapiController.php:28-39 \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/appfront/modules/Payment/PaymentController.php"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"e58c984cee07649fc091e9c0f4a3ee8ac97fa0bbd0a11b2001442bebf8e02c3d"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): app/appfront/modules/Payment/block/paypal/express/Start.php:23-42 | app/appfront/modules/Payment/block/paypal/express/Start.php:48-71 | app/apphtml5/modules/Payment/block/paypal/express/Start.php:22-40 | app/apphtml5/modules/Payment/block/paypal/express/Start.php:45-68 \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/appfront/modules/Payment/block/paypal/express/Start.php"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b4aacd25535cf26aed43a0905ec95dfb84593f9c5459e3837c11b4ecf81e847"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): app/appserver/modules/Checkout/block/onepage/Placeorder.php:39-126 | app/appserver/modules/Checkout/block/onepage/Wxplaceorder.php:39-110 | app/appserver/modules/Checkout/controllers/CartController.php:150-215 | app/appserver/modules/Payment/block/paypal/express/Placeorder.php:39-183 \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/appserver/modules/Checkout/block/onepage/Placeorder.php"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"06369dd1e3934f2727209098322585380a4dfee30de32680087ef8d27a66f4e2"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): services/Order.php:466-494 | services/cart/Coupon.php:219-247 | services/product/review/ReviewMongodb.php:305-337 | services/product/review/ReviewMysqldb.php:320-352 \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":"services/Order.php"},"region":{"startLine":466}}}],"partialFingerprints":{"codehealthFindingId/v1":"9886656867b63a74e2c395a995e5c3bb6ed75f2b58f033153cae8abd7584ae2a"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): services/Product.php:207-223 | services/Product.php:228-240 | services/Product.php:245-256 | services/Product.php:301-313 \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":"services/Product.php"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ff75764ae57b28b050906d83b5bcef63db1027073dee6a50bf70bfbc2dde44f"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): services/payment/Wxpay.php:130-153 | services/payment/WxpayH5.php:123-146 | services/payment/WxpayJsApi.php:127-150 | services/payment/WxpayMicro.php:125-148 \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":"services/payment/Wxpay.php"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a503e4cae49ef39f5f9587c0c6ae4d8eaa0421cd7db021deba87b3fbd64c8ab"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): services/payment/Wxpay.php:248-264 | services/payment/WxpayH5.php:256-271 | services/payment/WxpayJsApi.php:242-258 | services/payment/WxpayMicro.php:227-243 \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":"services/payment/Wxpay.php"},"region":{"startLine":248}}}],"partialFingerprints":{"codehealthFindingId/v1":"2417c17e1d03a5e77553e8827a5b51529aa88090eedc14544eaf786af8d420d6"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): services/payment/Wxpay.php:370-383 | services/payment/WxpayH5.php:381-394 | services/payment/WxpayJsApi.php:368-381 | services/payment/WxpayMicro.php:353-366 \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":"services/payment/Wxpay.php"},"region":{"startLine":370}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c9026ad249fa6f070d7d59702cfd5c6da50ef37b8d40db11364325d21e61347"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): services/product/review/ReviewMongodb.php:346-361 | services/product/review/ReviewMongodb.php:370-385 | services/product/review/ReviewMysqldb.php:361-376 | services/product/review/ReviewMysqldb.php:385-400 \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":"services/product/review/ReviewMongodb.php"},"region":{"startLine":346}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb940e95a28cdc0d2cc3d177fdd7bf047fd0e7a47dbf737a7d161bf1db1e0a02"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (180 lines \u00D7 2): app/appfront/widgets/Page.php:28-207 | app/apphtml5/widgets/Page.php:28-207 \u2014 before extracting anything, compare \u0060app/appfront/widgets/Page.php\u0060 and \u0060app/apphtml5/widgets/Page.php\u0060 as WHOLE FILES: 99% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 2 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appfront/widgets/Page.php"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"3284a81e0b8bcce25ed41dc436d5e6530f7df0e16e346a26c84d149b64626d8f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (132\u2013134 lines \u00D7 2): services/product/ProductApi.php:106-237 | services/product/ProductApi.php:610-743 \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 \u0060services/product/ProductApi.php:106\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":"services/product/ProductApi.php"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b10bf4870de95b064f0dc598176ce497edc35a072c80795590e9c4dcf9b0eb6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (93 lines \u00D7 3): app/appfront/modules/Catalog/block/product/Index.php:287-379 | app/apphtml5/modules/Catalog/block/product/Index.php:276-368 | app/appserver/modules/Catalog/controllers/ProductController.php:520-612 \u2014 before extracting anything, compare \u0060app/appfront/modules/Catalog/block/product/Index.php\u0060 and \u0060app/apphtml5/modules/Catalog/block/product/Index.php\u0060 as WHOLE FILES: this scan already matched 21 separate duplicated blocks between them, totalling at least 409 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/appfront/modules/Catalog/block/product/Index.php"},"region":{"startLine":287}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc0a57f8d710e1aabd59230e7cd03451cfa419ccd8ee0cc96366ea67a00c2798"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (81 lines \u00D7 2): app/appadmin/modules/Catalog/block/productinfo/Managerbatchedit.php:502-582 | app/appadmin/modules/Catalog/block/productinfo/Manageredit.php:459-539 \u2014 before extracting anything, compare \u0060app/appadmin/modules/Catalog/block/productinfo/Managerbatchedit.php\u0060 and \u0060app/appadmin/modules/Catalog/block/productinfo/Manageredit.php\u0060 as WHOLE FILES: this scan already matched 29 separate duplicated blocks between them, totalling at least 398 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/appadmin/modules/Catalog/block/productinfo/Managerbatchedit.php:502\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/appadmin/modules/Catalog/block/productinfo/Managerbatchedit.php"},"region":{"startLine":502}}}],"partialFingerprints":{"codehealthFindingId/v1":"328127665f1e3f9118060481b76e757acda71aef2ffe966e78e607ea4558b638"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (81 lines \u00D7 2): app/appfront/modules/Payment/block/paypal/express/Placeorder.php:66-146 | app/apphtml5/modules/Payment/block/paypal/express/Placeorder.php:66-146 \u2014 before extracting anything, compare \u0060app/appfront/modules/Payment/block/paypal/express/Placeorder.php\u0060 and \u0060app/apphtml5/modules/Payment/block/paypal/express/Placeorder.php\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 188 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/appfront/modules/Payment/block/paypal/express/Placeorder.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. 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/appfront/modules/Payment/block/paypal/express/Placeorder.php"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"993acaf15ce55d356ec3f928bd2c81ca41c8579230b0aa1c7b31da2d1c879eac"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (76 lines \u00D7 2): app/appfront/modules/Checkout/block/onepage/Placeorder.php:229-304 | app/apphtml5/modules/Checkout/block/onepage/Placeorder.php:216-291 \u2014 before extracting anything, compare \u0060app/appfront/modules/Checkout/block/onepage/Placeorder.php\u0060 and \u0060app/apphtml5/modules/Checkout/block/onepage/Placeorder.php\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 292 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/appfront/modules/Checkout/block/onepage/Placeorder.php"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"83c33b3e0273be9d4e92116ca5fe7b99bbd5d44b244ca179b8929f85a6ad91e3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (63 lines \u00D7 2): app/appserver/modules/Checkout/block/onepage/Placeorder.php:250-312 | app/appserver/modules/Checkout/block/onepage/Wxplaceorder.php:234-296 \u2014 before extracting anything, compare \u0060app/appserver/modules/Checkout/block/onepage/Placeorder.php\u0060 and \u0060app/appserver/modules/Checkout/block/onepage/Wxplaceorder.php\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 250 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/appserver/modules/Checkout/block/onepage/Placeorder.php"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"301a58c16dc48b466838afccf8a0af691da23cea64b7cfad9116183a19444410"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (59\u201360 lines \u00D7 2): app/appfront/modules/Checkout/block/onepage/Index.php:506-564 | app/apphtml5/modules/Checkout/block/onepage/Index.php:498-557 \u2014 before extracting anything, compare \u0060app/appfront/modules/Checkout/block/onepage/Index.php\u0060 and \u0060app/apphtml5/modules/Checkout/block/onepage/Index.php\u0060 as WHOLE FILES: this scan already matched 28 separate duplicated blocks between them, totalling at least 423 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/appfront/modules/Checkout/block/onepage/Index.php:506\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/appfront/modules/Checkout/block/onepage/Index.php"},"region":{"startLine":506}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1b38c851f3116513a57b9e227fad4a91b81c8f480b9917b79c3fbf573cba111"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (59 lines \u00D7 2): app/appadmin/modules/System/controllers/ExtensionmarketController.php:164-222 | app/appadmin/modules/System/controllers/ExtensionmarketController.php:269-327 \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/appadmin/modules/System/controllers/ExtensionmarketController.php"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"03c7a93aebd1fe5cd74daba4666d2026521cd0822a4221f46ece807d5ecb05c0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (57 lines \u00D7 2): app/appfront/modules/Customer/block/editaccount/Index.php:54-110 | app/apphtml5/modules/Customer/block/editaccount/Index.php:44-100 \u2014 before extracting anything, compare \u0060app/appfront/modules/Customer/block/editaccount/Index.php\u0060 and \u0060app/apphtml5/modules/Customer/block/editaccount/Index.php\u0060 as WHOLE FILES: 98% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 2 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/appfront/modules/Customer/block/editaccount/Index.php:54\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/appfront/modules/Customer/block/editaccount/Index.php"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"1246efdaff6768df8fe1aace3cd2a85ff36f5420eeacdaebdca6904b63100bca"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (56 lines \u00D7 2): app/appfront/modules/Payment/block/paypal/standard/Placeorder.php:37-92 | app/apphtml5/modules/Payment/block/paypal/standard/Placeorder.php:37-92 \u2014 before extracting anything, compare \u0060app/appfront/modules/Payment/block/paypal/standard/Placeorder.php\u0060 and \u0060app/apphtml5/modules/Payment/block/paypal/standard/Placeorder.php\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 110 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. 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/appfront/modules/Payment/block/paypal/standard/Placeorder.php"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"3262693b139c0397a065259a035079aba8ebb5f1c6269152eacef856b96e7a86"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (55 lines \u00D7 2): app/appfront/modules/Catalog/block/category/Index.php:213-267 | app/apphtml5/modules/Catalog/block/category/Index.php:202-256 \u2014 before extracting anything, compare \u0060app/appfront/modules/Catalog/block/category/Index.php\u0060 and \u0060app/apphtml5/modules/Catalog/block/category/Index.php\u0060 as WHOLE FILES: this scan already matched 25 separate duplicated blocks between them, totalling at least 393 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/appfront/modules/Catalog/block/category/Index.php"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"f77f072cb9d86f8ef3f8b76cc794ba796e86ffe91389255949ea335bb8334f6d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (52\u201354 lines \u00D7 2): services/product/review/ReviewMongodb.php:394-447 | services/product/review/ReviewMysqldb.php:409-460 \u2014 before extracting anything, compare \u0060services/product/review/ReviewMongodb.php\u0060 and \u0060services/product/review/ReviewMysqldb.php\u0060 as WHOLE FILES: this scan already matched 14 separate duplicated blocks between them, totalling at least 206 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":"services/product/review/ReviewMongodb.php"},"region":{"startLine":394}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cd37b048d2a5e2c87208c28b4e497d22e489e8f9d4b3cb4029606213276e564"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (52 lines \u00D7 2): services/url/Category.php:78-129 | services/url/Category.php:161-212 \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 \u0060services/url/Category.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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"services/url/Category.php"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6b0f1c2104923ccebc012ee3553efc1836a31515489a969235dbd5efaf5c60c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (50\u201351 lines \u00D7 4): app/appadmin/modules/System/controllers/ExtensionmarketController.php:140-190 | app/appadmin/modules/System/controllers/ExtensionmarketController.php:245-295 | app/appadmin/modules/System/controllers/ExtensionmarketController.php:341-390 | app/appadmin/modules/System/controllers/ExtensionmarketController.php:433-483 \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/appadmin/modules/System/controllers/ExtensionmarketController.php:140\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/appadmin/modules/System/controllers/ExtensionmarketController.php"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"1505636dede4f1fe1495bc54436671de67facfd108150b9a2098ec22dd465ed9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (45\u201351 lines \u00D7 2): app/appfront/modules/Checkout/block/onepage/Placeorder.php:55-105 | app/apphtml5/modules/Checkout/block/onepage/Placeorder.php:48-92 \u2014 before extracting anything, compare \u0060app/appfront/modules/Checkout/block/onepage/Placeorder.php\u0060 and \u0060app/apphtml5/modules/Checkout/block/onepage/Placeorder.php\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 292 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/appfront/modules/Checkout/block/onepage/Placeorder.php:55\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/appfront/modules/Checkout/block/onepage/Placeorder.php"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e7711c6a48f36430402e1c430d655ac66e870588fe49cd9d16d25ba40e5927b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (48\u201349 lines \u00D7 2): app/appadmin/modules/Config/block/currency/Manager.php:90-138 | app/appadmin/modules/Config/block/mutillang/Manager.php:106-153 \u2014 \u0060app/appadmin/modules/Config/block/currency/Manager.php\u0060 and \u0060app/appadmin/modules/Config/block/mutillang/Manager.php\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 3 separate duplicated blocks between them, totalling at least 78 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appadmin/modules/Config/block/currency/Manager.php"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3d8778cbc6c87b73a3ae55444eff88247c77a1916a07ae034f8ff4d67535e42"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (45\u201349 lines \u00D7 2): app/appadmin/modules/Fecadmin/block/account/Manageredit.php:211-259 | app/appadmin/modules/Fecadmin/block/config/Manageredit.php:144-188 \u2014 \u0060app/appadmin/modules/Fecadmin/block/account/Manageredit.php\u0060 and \u0060app/appadmin/modules/Fecadmin/block/config/Manageredit.php\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 4 separate duplicated blocks between them, totalling at least 80 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/appadmin/modules/Fecadmin/block/account/Manageredit.php:211\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/appadmin/modules/Fecadmin/block/account/Manageredit.php"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"609456210e2ddb9be513feba8b0477fb0262c38a36451540876604a724d6b78c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (45\u201349 lines \u00D7 2): services/Extension.php:461-505 | services/Extension.php:510-558 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"services/Extension.php"},"region":{"startLine":461}}}],"partialFingerprints":{"codehealthFindingId/v1":"f94307b7ddb2eaad71e9812a1642fb22924999cd38712c9dc7d5fd9e47b36910"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (43 lines \u00D7 2): app/appadmin/modules/AppadminbaseBlock.php:349-391 | app/appadmin/modules/Catalog/block/category/Product.php:239-281 \u2014 before extracting anything, compare \u0060app/appadmin/modules/AppadminbaseBlock.php\u0060 and \u0060app/appadmin/modules/Catalog/block/category/Product.php\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 158 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/appadmin/modules/AppadminbaseBlock.php:349\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/appadmin/modules/AppadminbaseBlock.php"},"region":{"startLine":349}}}],"partialFingerprints":{"codehealthFindingId/v1":"07562fb41f516ad254ed00d3643ee9bb46c3646abee9af369dfb2095e8b8d3c7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (43 lines \u00D7 2): app/appapi/modules/V1/controllers/ProductattrController.php:127-169 | app/appapi/modules/V1/controllers/ProductattrController.php:229-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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appapi/modules/V1/controllers/ProductattrController.php"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5e78b8e385ac3e63d98a7536ac1ec1dd8d8e64e2514a282c0f1eb10b067eda8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (41\u201343 lines \u00D7 2): app/appfront/modules/Checkout/controllers/CartController.php:50-92 | app/apphtml5/modules/Checkout/controllers/CartController.php:46-86 \u2014 before extracting anything, compare \u0060app/appfront/modules/Checkout/controllers/CartController.php\u0060 and \u0060app/apphtml5/modules/Checkout/controllers/CartController.php\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 191 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/appfront/modules/Checkout/controllers/CartController.php"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"38e5da4d7c25da130d066e1ad74615594e03c9310bfd3ceb1e7c67712ba22676"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (42\u201343 lines \u00D7 2): app/appfront/modules/Customer/controllers/FacebookController.php:36-77 | app/apphtml5/modules/Customer/controllers/FacebookController.php:35-77 \u2014 before extracting anything, compare \u0060app/appfront/modules/Customer/controllers/FacebookController.php\u0060 and \u0060app/apphtml5/modules/Customer/controllers/FacebookController.php\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 80 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/appfront/modules/Customer/controllers/FacebookController.php:36\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appfront/modules/Customer/controllers/FacebookController.php"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"1199e70d44f7eaa0352f9e4f91e77662bcf7260b48092e8e460b20a6c20f6c9f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (42 lines \u00D7 3): app/appfront/modules/Catalog/block/product/Index.php:218-259 | app/apphtml5/modules/Catalog/block/product/Index.php:208-249 | app/appserver/modules/Catalog/controllers/ProductController.php:451-492 \u2014 before extracting anything, compare \u0060app/appfront/modules/Catalog/block/product/Index.php\u0060 and \u0060app/apphtml5/modules/Catalog/block/product/Index.php\u0060 as WHOLE FILES: this scan already matched 21 separate duplicated blocks between them, totalling at least 409 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/appfront/modules/Catalog/block/product/Index.php"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6c4a4dd9617192c6f5e4eefddc5a0ef887bd4e2d2ee73e2c1f5c5e8ad961bb4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (42 lines \u00D7 2): app/appfront/modules/Checkout/block/onepage/Placeorder.php:115-156 | app/apphtml5/modules/Checkout/block/onepage/Placeorder.php:102-143 \u2014 before extracting anything, compare \u0060app/appfront/modules/Checkout/block/onepage/Placeorder.php\u0060 and \u0060app/apphtml5/modules/Checkout/block/onepage/Placeorder.php\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 292 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/appfront/modules/Checkout/block/onepage/Placeorder.php:115\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/appfront/modules/Checkout/block/onepage/Placeorder.php"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"166f9636396041ece63235fba73dd5cbbcd5d2805184527f57282ccf2c9cd131"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (42 lines \u00D7 2): app/appfront/modules/Customer/block/address/Edit.php:27-68 | app/apphtml5/modules/Customer/block/address/Edit.php:27-68 \u2014 before extracting anything, compare \u0060app/appfront/modules/Customer/block/address/Edit.php\u0060 and \u0060app/apphtml5/modules/Customer/block/address/Edit.php\u0060 as WHOLE FILES: this scan already matched 5 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/appfront/modules/Customer/block/address/Edit.php"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"45c328c5b11c567ce51e2b78b863e1938a9ecc522ed9333bc28ec65a7d900bdb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (39 lines \u00D7 2): app/appfront/modules/Catalog/block/reviewproduct/Add.php:55-93 | app/apphtml5/modules/Catalog/block/reviewproduct/Add.php:56-94 \u2014 before extracting anything, compare \u0060app/appfront/modules/Catalog/block/reviewproduct/Add.php\u0060 and \u0060app/apphtml5/modules/Catalog/block/reviewproduct/Add.php\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 140 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/appfront/modules/Catalog/block/reviewproduct/Add.php:55\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/appfront/modules/Catalog/block/reviewproduct/Add.php"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f1a1dd240eeae37e5cd4ef7fd952f3af82e29e52b929d9a87e6d5b4926ef2b4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (37\u201338 lines \u00D7 2): app/appfront/modules/Catalog/block/category/Index.php:292-329 | app/apphtml5/modules/Catalog/block/category/Index.php:280-316 \u2014 before extracting anything, compare \u0060app/appfront/modules/Catalog/block/category/Index.php\u0060 and \u0060app/apphtml5/modules/Catalog/block/category/Index.php\u0060 as WHOLE FILES: this scan already matched 25 separate duplicated blocks between them, totalling at least 393 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/appfront/modules/Catalog/block/category/Index.php:292\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/appfront/modules/Catalog/block/category/Index.php"},"region":{"startLine":292}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c548a854221693859399dd0e1c3d573aabed4faf18ae12e0a1db6f6cdc1f61f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (38 lines \u00D7 2): app/appserver/modules/Checkout/block/onepage/Placeorder.php:141-178 | app/appserver/modules/Checkout/block/onepage/Wxplaceorder.php:125-162 \u2014 before extracting anything, compare \u0060app/appserver/modules/Checkout/block/onepage/Placeorder.php\u0060 and \u0060app/appserver/modules/Checkout/block/onepage/Wxplaceorder.php\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 250 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/appserver/modules/Checkout/block/onepage/Placeorder.php"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"7af646d01c1a40f23746df5e98777387083bfd64a17480a20f5b14d2a59b09fb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (37 lines \u00D7 2): services/search/MongoSearch.php:367-403 | services/search/XunSearch.php:260-296 \u2014 before extracting anything, compare \u0060services/search/MongoSearch.php\u0060 and \u0060services/search/XunSearch.php\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 96 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 \u0060services/search/MongoSearch.php:367\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":"services/search/MongoSearch.php"},"region":{"startLine":367}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5cb8f13612a512ba9e94b73cba5a2642ca88636ecf57ea8a5215539d62bdb59"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (33\u201336 lines \u00D7 3): app/appfront/modules/Customer/block/productfavorite/Index.php:75-110 | app/apphtml5/modules/Customer/block/productfavorite/Index.php:67-102 | app/appserver/modules/Customer/controllers/ProductfavoriteController.php:68-100 \u2014 before extracting anything, compare \u0060app/appfront/modules/Customer/block/productfavorite/Index.php\u0060 and \u0060app/apphtml5/modules/Customer/block/productfavorite/Index.php\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 72 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/appfront/modules/Customer/block/productfavorite/Index.php:75\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/appfront/modules/Customer/block/productfavorite/Index.php"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"854fe5844e8599bcd0452ccce2d74ee2725325c6b019c779564ec1373d6b44b1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (36 lines \u00D7 2): app/appfront/modules/Catalog/block/product/Index.php:399-434 | app/apphtml5/modules/Catalog/block/product/Index.php:388-423 \u2014 before extracting anything, compare \u0060app/appfront/modules/Catalog/block/product/Index.php\u0060 and \u0060app/apphtml5/modules/Catalog/block/product/Index.php\u0060 as WHOLE FILES: this scan already matched 21 separate duplicated blocks between them, totalling at least 409 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/appfront/modules/Catalog/block/product/Index.php:399\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/appfront/modules/Catalog/block/product/Index.php"},"region":{"startLine":399}}}],"partialFingerprints":{"codehealthFindingId/v1":"a94ff5d25d9981ea099fbc79562ca6a5200bb65fe3a4c1e46d2ddaeb9a7a2f26"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (36 lines \u00D7 2): services/cart/QuoteItem.php:373-408 | services/order/Item.php:244-279 \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":"services/cart/QuoteItem.php"},"region":{"startLine":373}}}],"partialFingerprints":{"codehealthFindingId/v1":"745a25517da266e91cad61f871787fcdaa71f898003e0f9739849bc6497486ce"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (34\u201335 lines \u00D7 2): app/appapi/modules/V1/controllers/CategoryimageController.php:29-63 | app/appapi/modules/V1/controllers/ProductimageController.php:29-62 \u2014 before extracting anything, compare \u0060app/appapi/modules/V1/controllers/CategoryimageController.php\u0060 and \u0060app/appapi/modules/V1/controllers/ProductimageController.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/appapi/modules/V1/controllers/CategoryimageController.php"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"02ec9599088d886476c67e3cdcea5aafea558e83eb1e80e6556be3d5edf5d59e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (35 lines \u00D7 2): app/appfront/modules/Checkout/block/onepage/Placeorder.php:171-205 | app/apphtml5/modules/Checkout/block/onepage/Placeorder.php:158-192 \u2014 before extracting anything, compare \u0060app/appfront/modules/Checkout/block/onepage/Placeorder.php\u0060 and \u0060app/apphtml5/modules/Checkout/block/onepage/Placeorder.php\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 292 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/appfront/modules/Checkout/block/onepage/Placeorder.php:171\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/appfront/modules/Checkout/block/onepage/Placeorder.php"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8661e73c2b8efe3b94034f012bb1e45583595f9ac7f722c6482270dcf2c87db"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (35 lines \u00D7 2): components/AppfrontErrorHandler.php:67-101 | components/AppserverErrorHandler.php:60-94 \u2014 before extracting anything, compare \u0060components/AppfrontErrorHandler.php\u0060 and \u0060components/AppserverErrorHandler.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 2 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/AppfrontErrorHandler.php"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"16bb4b276b558be31cb097fc631e3fef21e7ada67ad6a00e111dbb646bc55da6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (34\u201335 lines \u00D7 2): services/product/ProductMongodb.php:1360-1394 | services/product/ProductMysqldb.php:1567-1600 \u2014 before extracting anything, compare \u0060services/product/ProductMongodb.php\u0060 and \u0060services/product/ProductMysqldb.php\u0060 as WHOLE FILES: this scan already matched 29 separate duplicated blocks between them, totalling at least 358 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":"services/product/ProductMongodb.php"},"region":{"startLine":1360}}}],"partialFingerprints":{"codehealthFindingId/v1":"db97836796b6ccfccb6f65729040c5a8681b9e8ad416bc45410300fd33f50555"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (33\u201334 lines \u00D7 4): services/payment/Wxpay.php:288-321 | services/payment/WxpayH5.php:295-327 | services/payment/WxpayJsApi.php:282-314 | services/payment/WxpayMicro.php:267-299 \u2014 before extracting anything, compare \u0060services/payment/Wxpay.php\u0060 and \u0060services/payment/WxpayH5.php\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 204 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 \u0060services/payment/Wxpay.php:288\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":"services/payment/Wxpay.php"},"region":{"startLine":288}}}],"partialFingerprints":{"codehealthFindingId/v1":"10751fca03e5f293f54b67157e4be15a9ed9c576788bf3c8419b3373744a3938"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (34 lines \u00D7 2): app/appadmin/modules/Catalog/block/productinfo/Managerbatchedit.php:651-684 | app/appadmin/modules/Catalog/block/productinfo/Manageredit.php:608-641 \u2014 before extracting anything, compare \u0060app/appadmin/modules/Catalog/block/productinfo/Managerbatchedit.php\u0060 and \u0060app/appadmin/modules/Catalog/block/productinfo/Manageredit.php\u0060 as WHOLE FILES: this scan already matched 29 separate duplicated blocks between them, totalling at least 398 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/appadmin/modules/Catalog/block/productinfo/Managerbatchedit.php:651\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/appadmin/modules/Catalog/block/productinfo/Managerbatchedit.php"},"region":{"startLine":651}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b382b3f795cc3c1657e815d9c62b1a88bbc1c27d35947f79519f92c58b30c99"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (34 lines \u00D7 2): app/appfront/modules/Catalog/block/reviewproduct/Add.php:127-160 | app/apphtml5/modules/Catalog/block/reviewproduct/Add.php:128-161 \u2014 before extracting anything, compare \u0060app/appfront/modules/Catalog/block/reviewproduct/Add.php\u0060 and \u0060app/apphtml5/modules/Catalog/block/reviewproduct/Add.php\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 140 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. 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/appfront/modules/Catalog/block/reviewproduct/Add.php"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c91ed30dc9139f841e4d863041fc5039aecc6dd1f47441c2a68619cac44b69a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (34 lines \u00D7 2): app/appfront/modules/Catalog/helpers/Review.php:45-78 | app/apphtml5/modules/Catalog/helpers/Review.php:44-77 \u2014 before extracting anything, compare \u0060app/appfront/modules/Catalog/helpers/Review.php\u0060 and \u0060app/apphtml5/modules/Catalog/helpers/Review.php\u0060 as WHOLE FILES: 94% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 2 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appfront/modules/Catalog/helpers/Review.php"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3c42640bb19c7510a5e7aa1b7829405a060bdc776fbc37d826cf27f012d3bd7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (33 lines \u00D7 2): app/appfront/modules/Catalog/block/product/CustomOption.php:42-74 | app/apphtml5/modules/Catalog/block/product/CustomOption.php:42-74 \u2014 before extracting anything, compare \u0060app/appfront/modules/Catalog/block/product/CustomOption.php\u0060 and \u0060app/apphtml5/modules/Catalog/block/product/CustomOption.php\u0060 as WHOLE FILES: 97% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 2 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/appfront/modules/Catalog/block/product/CustomOption.php:42\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/appfront/modules/Catalog/block/product/CustomOption.php"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f29fefa87ee2609f799e42c46b208f6a442af05c22d2adbb2c381b77dd915b7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (33 lines \u00D7 2): app/appserver/modules/Checkout/block/onepage/Placeorder.php:193-225 | app/appserver/modules/Checkout/block/onepage/Wxplaceorder.php:177-209 \u2014 before extracting anything, compare \u0060app/appserver/modules/Checkout/block/onepage/Placeorder.php\u0060 and \u0060app/appserver/modules/Checkout/block/onepage/Wxplaceorder.php\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 250 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/appserver/modules/Checkout/block/onepage/Placeorder.php:193\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/appserver/modules/Checkout/block/onepage/Placeorder.php"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ab39ab32afc4b9f2afa67c618489772aeedbfb0170ede67ac27e77cfb5a9957"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (31\u201333 lines \u00D7 2): components/AppfrontErrorHandler.php:28-60 | components/AppserverErrorHandler.php:26-56 \u2014 before extracting anything, compare \u0060components/AppfrontErrorHandler.php\u0060 and \u0060components/AppserverErrorHandler.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 2 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060components/AppfrontErrorHandler.php:62\u0060 calls \u0060renderException\u0060 and \u0060components/AppserverErrorHandler.php:57\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":"components/AppfrontErrorHandler.php"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"a723ce258a54f53c2252cacd3198e9ba3d7b4a70011c2113a3d3b581ee7e23d9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (33 lines \u00D7 2): services/product/ProductMongodb.php:400-432 | services/product/ProductMongodb.php:1299-1331 \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 \u0060services/product/ProductMongodb.php:400\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":"services/product/ProductMongodb.php"},"region":{"startLine":400}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2dd8554bf44a981c9bf810bcd8dddef58918171ef8f179988e6799d51ae0a8a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (33 lines \u00D7 2): services/product/favorite/FavoriteMongodb.php:81-113 | services/product/favorite/FavoriteMysqldb.php:81-113 \u2014 before extracting anything, compare \u0060services/product/favorite/FavoriteMongodb.php\u0060 and \u0060services/product/favorite/FavoriteMysqldb.php\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 71 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":"services/product/favorite/FavoriteMongodb.php"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f358946bdb2695d73ccbefd96056dab3f767631093561c238b52d8626b27da4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (32 lines \u00D7 2): app/appfront/modules/Catalogsearch/block/index/Index.php:392-423 | app/apphtml5/modules/Catalogsearch/block/index/Index.php:415-446 \u2014 before extracting anything, compare \u0060app/appfront/modules/Catalogsearch/block/index/Index.php\u0060 and \u0060app/apphtml5/modules/Catalogsearch/block/index/Index.php\u0060 as WHOLE FILES: this scan already matched 19 separate duplicated blocks between them, totalling at least 295 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/appfront/modules/Catalogsearch/block/index/Index.php"},"region":{"startLine":392}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf2a6d4c29400e30b43744981093e210b88e41f91daadd2a25ee540c05d3024b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (30\u201332 lines \u00D7 2): app/appfront/modules/Customer/block/account/Login.php:55-86 | app/apphtml5/modules/Customer/block/account/Login.php:47-76 \u2014 before extracting anything, compare \u0060app/appfront/modules/Customer/block/account/Login.php\u0060 and \u0060app/apphtml5/modules/Customer/block/account/Login.php\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 62 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/appfront/modules/Customer/block/account/Login.php:55\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/appfront/modules/Customer/block/account/Login.php"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"2dc8e79678dbd21b7a976297e196eafc2c230f77802225db120d8127f7543fbf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (31 lines \u00D7 6): app/appfront/modules/Checkout/block/onepage/Index.php:433-463 | app/appfront/modules/Payment/block/paypal/express/Review.php:366-396 | app/apphtml5/modules/Checkout/block/onepage/Index.php:425-455 | app/apphtml5/modules/Payment/block/paypal/express/Review.php:366-396 | app/appserver/modules/Checkout/block/onepage/Index.php:457-487 | app/appserver/modules/Payment/block/paypal/express/Review.php:387-417 \u2014 before extracting anything, compare \u0060app/appfront/modules/Checkout/block/onepage/Index.php\u0060 and \u0060app/appfront/modules/Payment/block/paypal/express/Review.php\u0060 as WHOLE FILES: this scan already matched 19 separate duplicated blocks between them, totalling at least 242 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/appfront/modules/Checkout/block/onepage/Index.php"},"region":{"startLine":433}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f6e81f200c19ee7a850bd1bf977156b0eaa0cc15f0ac7422046b873ddd75765"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (31 lines \u00D7 3): app/appfront/modules/Checkout/block/onepage/Index.php:392-422 | app/apphtml5/modules/Checkout/block/onepage/Index.php:384-414 | app/appserver/modules/Checkout/block/onepage/Index.php:416-446 \u2014 before extracting anything, compare \u0060app/appfront/modules/Checkout/block/onepage/Index.php\u0060 and \u0060app/apphtml5/modules/Checkout/block/onepage/Index.php\u0060 as WHOLE FILES: this scan already matched 28 separate duplicated blocks between them, totalling at least 423 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/appfront/modules/Checkout/block/onepage/Index.php:392\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/appfront/modules/Checkout/block/onepage/Index.php"},"region":{"startLine":392}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ba797823bca3ec33859c53d2766326f6ddd83339a8b0608a6e0cbccbb0ce07c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (31 lines \u00D7 2): app/appfront/modules/Catalogsearch/block/index/Index.php:153-183 | app/apphtml5/modules/Catalogsearch/block/index/Index.php:176-206 \u2014 before extracting anything, compare \u0060app/appfront/modules/Catalogsearch/block/index/Index.php\u0060 and \u0060app/apphtml5/modules/Catalogsearch/block/index/Index.php\u0060 as WHOLE FILES: this scan already matched 19 separate duplicated blocks between them, totalling at least 295 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/appfront/modules/Catalogsearch/block/index/Index.php:153\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/appfront/modules/Catalogsearch/block/index/Index.php"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2744787c402753ccaec7adda51e6e77855c29da9f950345ec23831b3fc6aa88"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (31 lines \u00D7 2): app/appfront/modules/Catalogsearch/block/index/Index.php:258-288 | app/apphtml5/modules/Catalogsearch/block/index/Index.php:281-311 \u2014 before extracting anything, compare \u0060app/appfront/modules/Catalogsearch/block/index/Index.php\u0060 and \u0060app/apphtml5/modules/Catalogsearch/block/index/Index.php\u0060 as WHOLE FILES: this scan already matched 19 separate duplicated blocks between them, totalling at least 295 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/appfront/modules/Catalogsearch/block/index/Index.php"},"region":{"startLine":258}}}],"partialFingerprints":{"codehealthFindingId/v1":"93f66168abf1b5954e7316aed3a20b659c2f3370d8a6c9e7df126f182daa4c13"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (29\u201331 lines \u00D7 2): services/product/ProductMysqldb.php:495-525 | services/product/ProductMysqldb.php:1499-1527 \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 \u0060services/product/ProductMysqldb.php:495\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":"services/product/ProductMysqldb.php"},"region":{"startLine":495}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cec6382005c6fd9e2b2d98fedb231329e9ce015c5487543ff7442fc35147035"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (30 lines \u00D7 2): app/appfront/modules/Customer/block/contacts/Index.php:73-102 | app/apphtml5/modules/Customer/block/contacts/Index.php:74-103 \u2014 before extracting anything, compare \u0060app/appfront/modules/Customer/block/contacts/Index.php\u0060 and \u0060app/apphtml5/modules/Customer/block/contacts/Index.php\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 101 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/appfront/modules/Customer/block/contacts/Index.php:73\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/appfront/modules/Customer/block/contacts/Index.php"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"366adc6a4da4cb5b8657e4f4cdb7e5cc8f97052089c7cbf934059caaa62d2008"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (29 lines \u00D7 10): app/appadmin/modules/Catalog/block/category/Product.php:386-414 | app/appadmin/modules/Catalog/block/productfavorite/Index.php:182-210 | app/appadmin/modules/Catalog/block/productreview/Index.php:263-291 | app/appadmin/modules/Catalog/block/urlrewrite/Index.php:163-191 | app/appadmin/modules/Cms/block/article/Index.php:194-222 | app/appadmin/modules/Cms/block/staticblock/Index.php:209-237 | app/appadmin/modules/Sales/block/coupon/Manager.php:226-254 | app/appadmin/modules/Sales/block/orderinfo/Manager.php:250-278 | app/appadmin/modules/System/block/error/Index.php:188-216 | app/appadmin/modules/System/block/extensioninstalled/Manager.php:232-260 \u2014 before extracting anything, compare \u0060app/appadmin/modules/Catalog/block/category/Product.php\u0060 and \u0060app/appadmin/modules/Catalog/block/productfavorite/Index.php\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 123 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/appadmin/modules/Catalog/block/category/Product.php:386\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/appadmin/modules/Catalog/block/category/Product.php"},"region":{"startLine":386}}}],"partialFingerprints":{"codehealthFindingId/v1":"336ef093a861abdaedd28e3178fb5895c030e46ec71ac217a647ec241cbb4413"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (29 lines \u00D7 2): app/appadmin/modules/Fecadmin/block/log/Index.php:155-183 | app/appadmin/modules/Fecadmin/block/logtj/Index.php:196-224 \u2014 \u0060app/appadmin/modules/Fecadmin/block/log/Index.php\u0060 and \u0060app/appadmin/modules/Fecadmin/block/logtj/Index.php\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 5 separate duplicated blocks between them, totalling at least 72 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/appadmin/modules/Fecadmin/block/log/Index.php:155\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/appadmin/modules/Fecadmin/block/log/Index.php"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"06b060bbe2390a7a41402d47f9f1281b465db612073613c546612e9182e4752f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28\u201329 lines \u00D7 2): app/appfront/modules/Catalog/block/favoriteproduct/Add.php:25-52 | app/apphtml5/modules/Catalog/block/favoriteproduct/Add.php:25-53 \u2014 before extracting anything, compare \u0060app/appfront/modules/Catalog/block/favoriteproduct/Add.php\u0060 and \u0060app/apphtml5/modules/Catalog/block/favoriteproduct/Add.php\u0060 as WHOLE FILES: 95% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. 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/appfront/modules/Catalog/block/favoriteproduct/Add.php:25\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. 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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060app/appfront/modules/Catalog/block/favoriteproduct/Add.php:52\u0060 calls \u0060redirectByUrlKey\u0060 and \u0060app/apphtml5/modules/Catalog/block/favoriteproduct/Add.php:53\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appfront/modules/Catalog/block/favoriteproduct/Add.php"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"241029d88c0c6507b9e566d7804052ef55c3916afa171b84510e0a81667946a7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (29 lines \u00D7 2): app/appfront/modules/Customer/block/LeftMenu.php:22-50 | app/apphtml5/modules/Customer/block/LeftMenu.php:22-50 \u2014 before extracting anything, compare \u0060app/appfront/modules/Customer/block/LeftMenu.php\u0060 and \u0060app/apphtml5/modules/Customer/block/LeftMenu.php\u0060 as WHOLE FILES: 97% 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/appfront/modules/Customer/block/LeftMenu.php"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"1db651a0f71044a9a2864d2cc71dc9c0dafb8ce601e6ba02ed707c55c19d53bc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (4\u201329 lines \u00D7 3): app/appfront/modules/Customer/block/account/Resetpassword.php:52-79 | app/apphtml5/modules/Customer/block/account/Resetpassword.php:42-70 | services/Email.php:221-224 \u2014 before extracting anything, compare \u0060app/appfront/modules/Customer/block/account/Resetpassword.php\u0060 and \u0060app/apphtml5/modules/Customer/block/account/Resetpassword.php\u0060 as WHOLE FILES: 96% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/appfront/modules/Customer/block/account/Resetpassword.php:52\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appfront/modules/Customer/block/account/Resetpassword.php"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cfca489072297d61f8bfb64fb1c29485f34ee4b7c5e5693a273b326958e5cf4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27\u201329 lines \u00D7 2): app/appfront/modules/Payment/block/paypal/standard/Start.php:24-52 | app/apphtml5/modules/Payment/block/paypal/standard/Start.php:23-49 \u2014 before extracting anything, compare \u0060app/appfront/modules/Payment/block/paypal/standard/Start.php\u0060 and \u0060app/apphtml5/modules/Payment/block/paypal/standard/Start.php\u0060 as WHOLE FILES: 97% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appfront/modules/Payment/block/paypal/standard/Start.php"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"cffa426a8281b90894ebd5e0174dd7ad8b569addf9ab026214131eb8ce80da55"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28 lines \u00D7 4): services/payment/Wxpay.php:330-357 | services/payment/WxpayH5.php:341-368 | services/payment/WxpayJsApi.php:328-355 | services/payment/WxpayMicro.php:313-340 \u2014 before extracting anything, compare \u0060services/payment/Wxpay.php\u0060 and \u0060services/payment/WxpayH5.php\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 204 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 \u0060services/payment/Wxpay.php:330\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":"services/payment/Wxpay.php"},"region":{"startLine":330}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1e0c7ce7ee523761751b2ad54af34837fc52a9d8b161005ec29d400a9f57b52"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28 lines \u00D7 3): services/product/ProductMongodb.php:956-983 | services/product/ProductMysqldb.php:1108-1135 | services/product/ProductMysqldb.php:1271-1298 \u2014 before extracting anything, compare \u0060services/product/ProductMongodb.php\u0060 and \u0060services/product/ProductMysqldb.php\u0060 as WHOLE FILES: this scan already matched 29 separate duplicated blocks between them, totalling at least 358 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060services/product/ProductMongodb.php:955\u0060 calls \u0060andWhere\u0060, \u0060getEnableStatus\u0060 and \u0060services/product/ProductMysqldb.php:1270\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":"services/product/ProductMongodb.php"},"region":{"startLine":956}}}],"partialFingerprints":{"codehealthFindingId/v1":"7dd5a8a232ad3f8e4cb6e75f2c0b343fcdcd6b010a3d20c7c8fd01ca0f122613"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28 lines \u00D7 2): app/appfront/modules/Catalog/block/product/Review.php:78-105 | app/apphtml5/modules/Catalog/block/product/Review.php:76-103 \u2014 before extracting anything, compare \u0060app/appfront/modules/Catalog/block/product/Review.php\u0060 and \u0060app/apphtml5/modules/Catalog/block/product/Review.php\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 55 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appfront/modules/Catalog/block/product/Review.php"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"724b728d084f98f6dcb04ea178c5be08ffda546e2d045e4cbad5651137da8382"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28 lines \u00D7 2): app/appfront/modules/Catalog/block/reviewproduct/Lists.php:98-125 | app/apphtml5/modules/Catalog/block/reviewproduct/Lists.php:98-125 \u2014 before extracting anything, compare \u0060app/appfront/modules/Catalog/block/reviewproduct/Lists.php\u0060 and \u0060app/apphtml5/modules/Catalog/block/reviewproduct/Lists.php\u0060 as WHOLE FILES: this scan already matched 6 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/appfront/modules/Catalog/block/reviewproduct/Lists.php:98\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/appfront/modules/Catalog/block/reviewproduct/Lists.php"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"32b0072694ea8ec5193571dc52351a74ba33717d0cdec30f1174ddcce71dfc17"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26\u201328 lines \u00D7 2): app/appserver/modules/Checkout/block/onepage/Placeorder.php:101-126 | app/appserver/modules/Checkout/block/onepage/Wxplaceorder.php:83-110 \u2014 before extracting anything, compare \u0060app/appserver/modules/Checkout/block/onepage/Placeorder.php\u0060 and \u0060app/appserver/modules/Checkout/block/onepage/Wxplaceorder.php\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 250 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/appserver/modules/Checkout/block/onepage/Placeorder.php:101\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/appserver/modules/Checkout/block/onepage/Placeorder.php"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"a42510e33390ba2ce75de41f41e468a355b68950d3c0bac4ec0f981006fd1228"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24\u201327 lines \u00D7 2): app/appadmin/modules/AppadminbaseBlock.php:272-295 | app/appadmin/modules/Catalog/block/category/Product.php:487-513 \u2014 before extracting anything, compare \u0060app/appadmin/modules/AppadminbaseBlock.php\u0060 and \u0060app/appadmin/modules/Catalog/block/category/Product.php\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 158 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/appadmin/modules/AppadminbaseBlock.php:272\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/appadmin/modules/AppadminbaseBlock.php"},"region":{"startLine":272}}}],"partialFingerprints":{"codehealthFindingId/v1":"91034b48b45fac978c929b96934236c9fda33f4d92d40fae6bf9f659eca4bea0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24\u201327 lines \u00D7 2): app/appfront/modules/Cms/controllers/HomeController.php:44-67 | app/apphtml5/modules/Cms/controllers/HomeController.php:31-57 \u2014 before extracting anything, compare \u0060app/appfront/modules/Cms/controllers/HomeController.php\u0060 and \u0060app/apphtml5/modules/Cms/controllers/HomeController.php\u0060 as WHOLE FILES: 89% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 2 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/appfront/modules/Cms/controllers/HomeController.php:44\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/appfront/modules/Cms/controllers/HomeController.php"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd7daabb16f05610d9993b700598dd23ef02ad3c5fb8266257cb5c509a983260"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23\u201326 lines \u00D7 4): app/appapi/modules/V1/controllers/CategoryController.php:254-276 | app/appapi/modules/V1/controllers/CategoryController.php:355-377 | app/appapi/modules/V1/controllers/CategoryController.php:474-496 | app/appapi/modules/V1/controllers/ProductController.php:276-301 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/appapi/modules/V1/controllers/CategoryController.php:254\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/appapi/modules/V1/controllers/CategoryController.php"},"region":{"startLine":254}}}],"partialFingerprints":{"codehealthFindingId/v1":"f41f5a83793ad31ad3db0a95b51fc2c02aa1027ca3fcc400080f218d15ed4590"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25\u201326 lines \u00D7 2): app/appadmin/modules/Config/block/appserverstorelang/Manager.php:113-137 | app/appadmin/modules/Config/block/categorysort/Manager.php:116-141 \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/appadmin/modules/Config/block/appserverstorelang/Manager.php"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"d525bbff0581f55e8b28d9e91880af1ad27d9d67e7d0fb3bf61931023b49860c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24\u201326 lines \u00D7 2): app/appserver/modules/Checkout/block/onepage/Index.php:54-79 | app/appserver/modules/Payment/block/paypal/express/Review.php:54-77 \u2014 before extracting anything, compare \u0060app/appserver/modules/Checkout/block/onepage/Index.php\u0060 and \u0060app/appserver/modules/Payment/block/paypal/express/Review.php\u0060 as WHOLE FILES: this scan already matched 18 separate duplicated blocks between them, totalling at least 254 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/appserver/modules/Checkout/block/onepage/Index.php"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"07e10aef7307ba96667fe53785c60032e2e79b2e05788bbe59bb7d04ece350ce"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 2): lib/alipay/aop/AopClient.php:351-376 | lib/alipay/aop/AopClient.php:474-499 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/alipay/aop/AopClient.php"},"region":{"startLine":351}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bce65c6fc9c3289d114f234ed2dd873084de71c140042dd6e8178caaa559aff"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 2): services/customer/newsletter/NewsletterMongodb.php:101-126 | services/customer/newsletter/NewsletterMysqldb.php:102-127 \u2014 before extracting anything, compare \u0060services/customer/newsletter/NewsletterMongodb.php\u0060 and \u0060services/customer/newsletter/NewsletterMysqldb.php\u0060 as WHOLE FILES: 94% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 2 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. 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":"services/customer/newsletter/NewsletterMongodb.php"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ecf9d925d2402b96eb5ed05af6e77b7bfa7d123b77018283d6f3aeea8bf76c2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 2): services/product/review/ReviewMongodb.php:305-330 | services/product/review/ReviewMysqldb.php:320-345 \u2014 before extracting anything, compare \u0060services/product/review/ReviewMongodb.php\u0060 and \u0060services/product/review/ReviewMysqldb.php\u0060 as WHOLE FILES: this scan already matched 14 separate duplicated blocks between them, totalling at least 206 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 \u0060services/product/review/ReviewMongodb.php:305\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":"services/product/review/ReviewMongodb.php"},"region":{"startLine":305}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa00e417d31339082ecbbb95debb7a3df5dcb19fb4499011b65680abb9c6e45e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 4): app/appfront/modules/Checkout/block/onepage/Placeorder.php:168-192 | app/apphtml5/modules/Checkout/block/onepage/Placeorder.php:155-179 | app/appserver/modules/Checkout/block/onepage/Placeorder.php:190-214 | app/appserver/modules/Checkout/block/onepage/Wxplaceorder.php:174-198 \u2014 before extracting anything, compare \u0060app/appfront/modules/Checkout/block/onepage/Placeorder.php\u0060 and \u0060app/apphtml5/modules/Checkout/block/onepage/Placeorder.php\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 292 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/appfront/modules/Checkout/block/onepage/Placeorder.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/appfront/modules/Checkout/block/onepage/Placeorder.php"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c8221fdac1d86dac62c8171d252427ee5edb1c1c23ead6b263052f7be65cae2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 3): app/appapi/modules/V1/controllers/ProductController.php:151-175 | app/appapi/modules/V1/controllers/ProductController.php:214-238 | services/product/ProductApi.php:389-413 \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/appapi/modules/V1/controllers/ProductController.php"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"689a57fea41639f54cbb9c387aed3e52476ffa8700b3d95ec901595e73cd7eca"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 3): app/appfront/modules/Catalog/controllers/ProductController.php:100-124 | app/apphtml5/modules/Catalog/controllers/ProductController.php:90-114 | app/appserver/modules/Catalog/controllers/ProductController.php:859-883 \u2014 before extracting anything, compare \u0060app/appfront/modules/Catalog/controllers/ProductController.php\u0060 and \u0060app/apphtml5/modules/Catalog/controllers/ProductController.php\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 108 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060app/appserver/modules/Catalog/controllers/ProductController.php:856\u0060 calls \u0060getMethod\u0060 and \u0060app/appfront/modules/Catalog/controllers/ProductController.php:99\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/appfront/modules/Catalog/controllers/ProductController.php"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c91641a572bee33a294407da629e2d15681261075d310131f2299ac65f84344"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2): app/appfront/helper/Country.php:25-49 | app/apphtml5/helper/Country.php:25-49 \u2014 before extracting anything, compare \u0060app/appfront/helper/Country.php\u0060 and \u0060app/apphtml5/helper/Country.php\u0060 as WHOLE FILES: 96% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 2 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appfront/helper/Country.php"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"d410d0a683332be03a039b193bb7ae10cc38e4afaccc67e401a55e2fd37cbcd0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2): app/appfront/modules/Customer/block/account/Forgotpassword.php:54-78 | app/apphtml5/modules/Customer/block/account/Forgotpassword.php:43-67 \u2014 before extracting anything, compare \u0060app/appfront/modules/Customer/block/account/Forgotpassword.php\u0060 and \u0060app/apphtml5/modules/Customer/block/account/Forgotpassword.php\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 53 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/appfront/modules/Customer/block/account/Forgotpassword.php:54\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/appfront/modules/Customer/block/account/Forgotpassword.php"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"d243f0177781bccb15d573b505e41526a7fbc2e14e9d516e1dbeda52150672da"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23\u201325 lines \u00D7 2): app/appfront/modules/Customer/block/account/Register.php:52-76 | app/apphtml5/modules/Customer/block/account/Register.php:45-67 \u2014 before extracting anything, compare \u0060app/appfront/modules/Customer/block/account/Register.php\u0060 and \u0060app/apphtml5/modules/Customer/block/account/Register.php\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 49 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. 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/appfront/modules/Customer/block/account/Register.php"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcda02d8dbc59d2bd2a9de9c5f51b021969eac17e011c5422d99e563f9350632"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2): app/appfront/modules/Customer/block/productreview/Index.php:28-52 | app/apphtml5/modules/Customer/block/productreview/Index.php:28-52 \u2014 before extracting anything, compare \u0060app/appfront/modules/Customer/block/productreview/Index.php\u0060 and \u0060app/apphtml5/modules/Customer/block/productreview/Index.php\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 54 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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060app/appfront/modules/Customer/block/productreview/Index.php:53\u0060 calls \u0060breadcrumbs\u0060, \u0060__\u0060 and \u0060app/apphtml5/modules/Customer/block/productreview/Index.php:54\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/appfront/modules/Customer/block/productreview/Index.php"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"0da96c9702365f83b898dd82ed5eb9644e5ded2653bbaf420316335ba615a4e5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2): app/appfront/modules/Payment/block/paypal/express/Placeorder.php:40-64 | app/apphtml5/modules/Payment/block/paypal/express/Placeorder.php:40-64 \u2014 before extracting anything, compare \u0060app/appfront/modules/Payment/block/paypal/express/Placeorder.php\u0060 and \u0060app/apphtml5/modules/Payment/block/paypal/express/Placeorder.php\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 188 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/appfront/modules/Payment/block/paypal/express/Placeorder.php:40\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/appfront/modules/Payment/block/paypal/express/Placeorder.php"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2137a5a9fd54a10d92429e51e6e0218f54594875610a6f8535155bef566832a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23\u201325 lines \u00D7 2): lib/alipay/aop/AopClient.php:319-341 | lib/alipay/aop/AopClient.php:438-462 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/alipay/aop/AopClient.php"},"region":{"startLine":319}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fee470c74b3514326cb45b9745cef9467643974d60f57a8bc0ab407d4c21dc8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24\u201325 lines \u00D7 2): services/page/Theme.php:106-130 | services/page/Widget.php:234-257 \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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"services/page/Theme.php"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4b695db98bfda0678ca105713b8f6cb5fb0fb37735d6d2d8215012e8b37c606"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 4): app/appfront/modules/Catalog/controllers/CategoryController.php:71-95 | app/appfront/modules/Cms/controllers/ArticleController.php:70-93 | app/apphtml5/modules/Catalog/controllers/CategoryController.php:61-84 | app/apphtml5/modules/Cms/controllers/ArticleController.php:58-82 \u2014 before extracting anything, compare \u0060app/appfront/modules/Catalog/controllers/CategoryController.php\u0060 and \u0060app/appfront/modules/Cms/controllers/ArticleController.php\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 74 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/appfront/modules/Catalog/controllers/CategoryController.php:71\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/appfront/modules/Catalog/controllers/CategoryController.php"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1be78cd6a3c5a7a77f8e2035a6a8a76a87c57d3abdd37f35f858a39bd224687"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 3): app/appfront/modules/Checkout/block/onepage/Index.php:491-514 | app/apphtml5/modules/Checkout/block/onepage/Index.php:483-506 | app/appserver/modules/Checkout/block/onepage/Index.php:515-538 \u2014 before extracting anything, compare \u0060app/appfront/modules/Checkout/block/onepage/Index.php\u0060 and \u0060app/apphtml5/modules/Checkout/block/onepage/Index.php\u0060 as WHOLE FILES: this scan already matched 28 separate duplicated blocks between them, totalling at least 423 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/appfront/modules/Checkout/block/onepage/Index.php:491\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/appfront/modules/Checkout/block/onepage/Index.php"},"region":{"startLine":491}}}],"partialFingerprints":{"codehealthFindingId/v1":"80498631c750046e6e73911273261ecfc17beed28ecbc301c3dec46d3da5e8f7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 3): app/appserver/modules/Catalog/controllers/CategoryController.php:80-103 | app/appserver/modules/Catalog/controllers/ProductController.php:72-95 | app/appserver/modules/Cms/controllers/ArticleController.php:75-98 \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/appserver/modules/Catalog/controllers/CategoryController.php:80\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/appserver/modules/Catalog/controllers/CategoryController.php"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a68819aedcc4d0c3e8e3f077ceb93b1b255cf6c98912d0d08dc44599fe46ce5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23\u201324 lines \u00D7 3): services/product/ProductMysqldb.php:1166-1188 | services/product/ProductMysqldb.php:1243-1266 | services/product/ProductMysqldb.php:1327-1350 \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":"services/product/ProductMysqldb.php"},"region":{"startLine":1166}}}],"partialFingerprints":{"codehealthFindingId/v1":"1daebe2d84324eebe1c689392510ba6c9d0f93f92dad1248656f9da9b416037c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): app/appapi/modules/V1/controllers/CategoryController.php:90-113 | app/appapi/modules/V1/controllers/OrderController.php:114-137 \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/appapi/modules/V1/controllers/CategoryController.php:90\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/appapi/modules/V1/controllers/CategoryController.php"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bf352eec5830c56eb952588e54959a1e30edb49489f1305394b8061817dd994"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): app/appfront/modules/Catalog/block/category/Index.php:512-535 | app/apphtml5/modules/Catalog/block/category/Index.php:499-522 \u2014 before extracting anything, compare \u0060app/appfront/modules/Catalog/block/category/Index.php\u0060 and \u0060app/apphtml5/modules/Catalog/block/category/Index.php\u0060 as WHOLE FILES: this scan already matched 25 separate duplicated blocks between them, totalling at least 393 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/appfront/modules/Catalog/block/category/Index.php:512\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/appfront/modules/Catalog/block/category/Index.php"},"region":{"startLine":512}}}],"partialFingerprints":{"codehealthFindingId/v1":"95b9156c821f88c26f1042a59148dbb7e0d318566ac59de4e906fee3aa6a8856"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): app/appfront/modules/Catalog/controllers/ProductController.php:70-94 | app/apphtml5/modules/Catalog/controllers/ProductController.php:61-84 \u2014 before extracting anything, compare \u0060app/appfront/modules/Catalog/controllers/ProductController.php\u0060 and \u0060app/apphtml5/modules/Catalog/controllers/ProductController.php\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 108 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/appfront/modules/Catalog/controllers/ProductController.php:70\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/appfront/modules/Catalog/controllers/ProductController.php"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"c504a6223b67381bb6bbabdc19fdfd08ce9684ca58123f47995616aa8bf59b77"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): app/appfront/modules/Catalogsearch/block/index/Index.php:106-129 | app/apphtml5/modules/Catalogsearch/block/index/Index.php:129-152 \u2014 before extracting anything, compare \u0060app/appfront/modules/Catalogsearch/block/index/Index.php\u0060 and \u0060app/apphtml5/modules/Catalogsearch/block/index/Index.php\u0060 as WHOLE FILES: this scan already matched 19 separate duplicated blocks between them, totalling at least 295 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/appfront/modules/Catalogsearch/block/index/Index.php"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"96932d570e5986b286ba1df018c376bf611977a737b83963a83ca29b3cca0665"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): app/appfront/modules/Checkout/controllers/CartController.php:183-206 | app/apphtml5/modules/Checkout/controllers/CartController.php:178-201 \u2014 before extracting anything, compare \u0060app/appfront/modules/Checkout/controllers/CartController.php\u0060 and \u0060app/apphtml5/modules/Checkout/controllers/CartController.php\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 191 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/appfront/modules/Checkout/controllers/CartController.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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appfront/modules/Checkout/controllers/CartController.php"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"63ee56fc7ab9f689db17fb030dcc87c795eb26e6ef2d9b8134cd5472f5793a4c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): app/appfront/modules/Payment/block/paypal/express/Review.php:39-62 | app/apphtml5/modules/Payment/block/paypal/express/Review.php:39-62 \u2014 before extracting anything, compare \u0060app/appfront/modules/Payment/block/paypal/express/Review.php\u0060 and \u0060app/apphtml5/modules/Payment/block/paypal/express/Review.php\u0060 as WHOLE FILES: this scan already matched 28 separate duplicated blocks between them, totalling at least 390 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/appfront/modules/Payment/block/paypal/express/Review.php:39\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/appfront/modules/Payment/block/paypal/express/Review.php"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9813e14183682204ff7b018065c509caee8b79ea971078e2f3a482284857ccb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): app/appfront/modules/Payment/block/paypal/express/Start.php:48-71 | app/apphtml5/modules/Payment/block/paypal/express/Start.php:45-68 \u2014 before extracting anything, compare \u0060app/appfront/modules/Payment/block/paypal/express/Start.php\u0060 and \u0060app/apphtml5/modules/Payment/block/paypal/express/Start.php\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 81 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appfront/modules/Payment/block/paypal/express/Start.php"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa6cb748ed36cd7e988c416e67b55b954f96062da81d9d78545fb65030e30e75"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): app/appserver/modules/Catalog/controllers/CategoryController.php:152-175 | app/appserver/modules/Catalog/controllers/CategoryController.php:199-222 \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/appserver/modules/Catalog/controllers/CategoryController.php:152\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/appserver/modules/Catalog/controllers/CategoryController.php"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"52f59b79559664793cfa6463775af94bbc64d650926dd4119862203fbd4e94fb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): services/category/CategoryMongodb.php:551-574 | services/category/CategoryMysqldb.php:620-643 \u2014 before extracting anything, compare \u0060services/category/CategoryMongodb.php\u0060 and \u0060services/category/CategoryMysqldb.php\u0060 as WHOLE FILES: this scan already matched 22 separate duplicated blocks between them, totalling at least 274 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 \u0060services/category/CategoryMongodb.php:551\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":"services/category/CategoryMongodb.php"},"region":{"startLine":551}}}],"partialFingerprints":{"codehealthFindingId/v1":"264621280bf47ffddedecd961dae779031eecea6bff093ba071677c84ed399f9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): app/appfront/helper/Country.php:57-79 | app/apphtml5/helper/Country.php:57-79 \u2014 before extracting anything, compare \u0060app/appfront/helper/Country.php\u0060 and \u0060app/apphtml5/helper/Country.php\u0060 as WHOLE FILES: 96% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 2 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appfront/helper/Country.php"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd5fec80f59a17cc3f52d391269d56f7d0c285ca844b13a8eade0dd78a3e26df"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): app/appfront/modules/Checkout/controllers/CartController.php:159-181 | app/apphtml5/modules/Checkout/controllers/CartController.php:150-172 \u2014 before extracting anything, compare \u0060app/appfront/modules/Checkout/controllers/CartController.php\u0060 and \u0060app/apphtml5/modules/Checkout/controllers/CartController.php\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 191 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/appfront/modules/Checkout/controllers/CartController.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/appfront/modules/Checkout/controllers/CartController.php"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf4404b709774e88ad22cd10184d47c9800d4ebe00ac162637a2f2438c502c85"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): app/appfront/modules/Payment/block/paypal/express/Start.php:76-98 | app/apphtml5/modules/Payment/block/paypal/express/Start.php:73-95 \u2014 before extracting anything, compare \u0060app/appfront/modules/Payment/block/paypal/express/Start.php\u0060 and \u0060app/apphtml5/modules/Payment/block/paypal/express/Start.php\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 81 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appfront/modules/Payment/block/paypal/express/Start.php"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3e76737d34d53dab72c3b92e8572a99613493fa881b8ae7a82c30f4b866ed67"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): app/console/modules/Category/controllers/MongodatatomysqlController.php:37-59 | app/console/modules/Category/controllers/MysqldatatomongoController.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 both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/console/modules/Category/controllers/MongodatatomysqlController.php:37\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/console/modules/Category/controllers/MongodatatomysqlController.php"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5efb4a815ef1cd1bdfc08aa1521f717b9a1ed63c00eedc83a22bfc01c91c362"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21\u201323 lines \u00D7 2): services/Extension.php:403-423 | services/Extension.php:428-450 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"services/Extension.php"},"region":{"startLine":403}}}],"partialFingerprints":{"codehealthFindingId/v1":"184d31d10fdf459726a787eca2fe742015a978231d6b8d52d756362fec165dbf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22\u201323 lines \u00D7 2): services/Request.php:43-65 | yii/web/Request.php:31-52 \u2014 before extracting anything, compare \u0060services/Request.php\u0060 and \u0060yii/web/Request.php\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 72 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. 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":"services/Request.php"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"95abda2ece3af07e12447470301eebf7872e6d97e04fde0b4fba009dddcda2e2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22\u201323 lines \u00D7 2): services/category/CategoryMongodb.php:363-385 | services/category/CategoryMysqldb.php:428-449 \u2014 before extracting anything, compare \u0060services/category/CategoryMongodb.php\u0060 and \u0060services/category/CategoryMysqldb.php\u0060 as WHOLE FILES: this scan already matched 22 separate duplicated blocks between them, totalling at least 274 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 \u0060services/category/CategoryMongodb.php:363\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":"services/category/CategoryMongodb.php"},"region":{"startLine":363}}}],"partialFingerprints":{"codehealthFindingId/v1":"266227e3625b01dc96af63972d51e4e5c49577e9cd044099d6a1d899a4a4b45b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): services/extension/Administer.php:157-179 | services/extension/Administer.php:267-289 \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 \u0060services/extension/Administer.php:157\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":"services/extension/Administer.php"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"d773225f7393aa864a82e8ad68f1177867bbb1229395fd20da6348d979c3777a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22\u201323 lines \u00D7 2): services/product/Brand.php:159-181 | services/product/Brandcategory.php:159-180 \u2014 before extracting anything, compare \u0060services/product/Brand.php\u0060 and \u0060services/product/Brandcategory.php\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 144 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":"services/product/Brand.php"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb15bad6b8b7c75b0cb359ccefaa7fbcf5c319afdcc2793385fa7ea89af8c97e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19\u201323 lines \u00D7 2): services/product/ProductApi.php:244-262 | services/product/ProductApi.php:734-756 \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 \u0060services/product/ProductApi.php:244\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":"services/product/ProductApi.php"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cc9de2da7b25cc2d60bfc7d84476ac1ec80b96aa639e7363d25c69fc90efdcb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 9): app/appfront/modules/Checkout/block/cart/Index.php:147-168 | app/appfront/modules/Checkout/block/onepage/Index.php:319-340 | app/appfront/modules/Payment/block/paypal/express/Review.php:261-282 | app/apphtml5/modules/Checkout/block/cart/Index.php:136-157 | app/apphtml5/modules/Checkout/block/onepage/Index.php:309-330 | app/apphtml5/modules/Payment/block/paypal/express/Review.php:261-282 | app/appserver/modules/Checkout/block/onepage/Index.php:343-364 | app/appserver/modules/Checkout/controllers/CartController.php:119-140 | app/appserver/modules/Payment/block/paypal/express/Review.php:282-303 \u2014 \u0060app/appfront/modules/Checkout/block/cart/Index.php\u0060 and \u0060app/appfront/modules/Checkout/block/onepage/Index.php\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 6 separate duplicated blocks between them, totalling at least 65 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appfront/modules/Checkout/block/cart/Index.php"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a0f4e91252dfb8c63681d5da230ecea4aac0b84b08eeb5c3798120432cc0936"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21\u201322 lines \u00D7 5): services/payment/Alipay.php:295-316 | services/payment/Wxpay.php:393-413 | services/payment/WxpayH5.php:404-424 | services/payment/WxpayJsApi.php:391-411 | services/payment/WxpayMicro.php:376-396 \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 5 call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"services/payment/Alipay.php"},"region":{"startLine":295}}}],"partialFingerprints":{"codehealthFindingId/v1":"848108f82d1abc5833d92b1cc3e3ade51baa1681dd75d405a2c333fed2de3b69"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 3): app/appfront/modules/Catalog/block/product/Index.php:511-532 | app/apphtml5/modules/Catalog/block/product/Index.php:499-520 | app/appserver/modules/Catalog/controllers/ProductController.php:743-764 \u2014 before extracting anything, compare \u0060app/appfront/modules/Catalog/block/product/Index.php\u0060 and \u0060app/apphtml5/modules/Catalog/block/product/Index.php\u0060 as WHOLE FILES: this scan already matched 21 separate duplicated blocks between them, totalling at least 409 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/appfront/modules/Catalog/block/product/Index.php:511\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060app/appfront/modules/Catalog/block/product/Index.php:534\u0060 calls \u0060breadcrumbs\u0060 and \u0060app/apphtml5/modules/Catalog/block/product/Index.php:523\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/appfront/modules/Catalog/block/product/Index.php"},"region":{"startLine":511}}}],"partialFingerprints":{"codehealthFindingId/v1":"20322f35898f7a364069096afecae801839e32301e3e9a91c183d4fa2408a06b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 3): app/appfront/modules/Payment/block/paypal/express/Review.php:334-355 | app/apphtml5/modules/Payment/block/paypal/express/Review.php:334-355 | app/appserver/modules/Payment/block/paypal/express/Review.php:355-376 \u2014 before extracting anything, compare \u0060app/appfront/modules/Payment/block/paypal/express/Review.php\u0060 and \u0060app/apphtml5/modules/Payment/block/paypal/express/Review.php\u0060 as WHOLE FILES: this scan already matched 28 separate duplicated blocks between them, totalling at least 390 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/appfront/modules/Payment/block/paypal/express/Review.php:334\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/appfront/modules/Payment/block/paypal/express/Review.php"},"region":{"startLine":334}}}],"partialFingerprints":{"codehealthFindingId/v1":"08d227bf057f64341beb412907ccc37294aa935f1a51b3c28b865b6d01a9ce9d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19\u201322 lines \u00D7 3): services/payment/WxpayH5.php:63-81 | services/payment/WxpayJsApi.php:64-85 | services/payment/WxpayMicro.php:62-83 \u2014 before extracting anything, compare \u0060services/payment/WxpayH5.php\u0060 and \u0060services/payment/WxpayJsApi.php\u0060 as WHOLE FILES: this scan already matched 14 separate duplicated blocks between them, totalling at least 226 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":"services/payment/WxpayH5.php"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"18b1d8822ba04c1a30df884359c567c67968517bfbf49f8fde0ebb9fbf5a658a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): app/appadmin/modules/Config/block/appfrontstore/Manageredit.php:234-255 | app/appadmin/modules/Config/block/apphtml5store/Manageredit.php:185-206 \u2014 \u0060app/appadmin/modules/Config/block/appfrontstore/Manageredit.php\u0060 and \u0060app/appadmin/modules/Config/block/apphtml5store/Manageredit.php\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 3 separate duplicated blocks between them, totalling at least 56 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appadmin/modules/Config/block/appfrontstore/Manageredit.php"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"42638beb036433dca7c2ea945198320cf560b17ebe25116c906753dc6813fd6b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): app/appapi/modules/V1/controllers/ProductattrController.php:84-105 | app/appapi/modules/V1/controllers/ProductattrgroupController.php:83-104 \u2014 before extracting anything, compare \u0060app/appapi/modules/V1/controllers/ProductattrController.php\u0060 and \u0060app/appapi/modules/V1/controllers/ProductattrgroupController.php\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 70 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/appapi/modules/V1/controllers/ProductattrController.php:84\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/appapi/modules/V1/controllers/ProductattrController.php"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"0553e7f384dd688ef45da86346b5fb41e3bc67f239971682e07741c32ad7c4fe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (4\u201322 lines \u00D7 3): app/appapi/modules/V1/controllers/ProductbrandController.php:71-93 | app/appapi/modules/V1/controllers/ProductbrandController.php:123-126 | app/appapi/modules/V1/controllers/ProductbrandcategoryController.php:69-90 \u2014 before extracting anything, compare \u0060app/appapi/modules/V1/controllers/ProductbrandController.php\u0060 and \u0060app/appapi/modules/V1/controllers/ProductbrandcategoryController.php\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 64 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. 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/appapi/modules/V1/controllers/ProductbrandController.php:69\u0060 calls \u0060post\u0060 and \u0060app/appapi/modules/V1/controllers/ProductbrandcategoryController.php:68\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/appapi/modules/V1/controllers/ProductbrandController.php"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e47f07948a48aa3d8a3b2f8605f1076600172de701352918a5bc9fb468a416c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): app/appfront/modules/Catalog/block/product/CustomOption.php:77-98 | app/apphtml5/modules/Catalog/block/product/CustomOption.php:77-98 \u2014 before extracting anything, compare \u0060app/appfront/modules/Catalog/block/product/CustomOption.php\u0060 and \u0060app/apphtml5/modules/Catalog/block/product/CustomOption.php\u0060 as WHOLE FILES: 97% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 2 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/appfront/modules/Catalog/block/product/CustomOption.php:77\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/appfront/modules/Catalog/block/product/CustomOption.php"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7b3a0de50e331636adffa0a2fd47acac3ac146882be352dd394dda893814e89"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): app/appfront/modules/Checkout/controllers/CartController.php:242-263 | app/apphtml5/modules/Checkout/controllers/CartController.php:239-260 \u2014 before extracting anything, compare \u0060app/appfront/modules/Checkout/controllers/CartController.php\u0060 and \u0060app/apphtml5/modules/Checkout/controllers/CartController.php\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 191 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/appfront/modules/Checkout/controllers/CartController.php"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"a27f0207274bc2c289e85c2be9b37f5bee1a2c14fa9be1c7ff90fefc5b333b7b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): app/appfront/modules/Customer/block/contacts/Index.php:41-62 | app/apphtml5/modules/Customer/block/contacts/Index.php:42-63 \u2014 before extracting anything, compare \u0060app/appfront/modules/Customer/block/contacts/Index.php\u0060 and \u0060app/apphtml5/modules/Customer/block/contacts/Index.php\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 101 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/appfront/modules/Customer/block/contacts/Index.php:41\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/appfront/modules/Customer/block/contacts/Index.php"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd034308a64c088708813b487e241986f501396f90982aff3ede1b99bebb79be"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): app/appfront/modules/Customer/block/productfavorite/Index.php:32-53 | app/apphtml5/modules/Customer/block/productfavorite/Index.php:32-53 \u2014 before extracting anything, compare \u0060app/appfront/modules/Customer/block/productfavorite/Index.php\u0060 and \u0060app/apphtml5/modules/Customer/block/productfavorite/Index.php\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 72 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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060app/appfront/modules/Customer/block/productfavorite/Index.php:54\u0060 calls \u0060breadcrumbs\u0060, \u0060__\u0060 and \u0060app/apphtml5/modules/Customer/block/productfavorite/Index.php:56\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/appfront/modules/Customer/block/productfavorite/Index.php"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b36b8955aef5a6bae96293e256df65fe85af9862780764c9913bc36c0f2a905"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): app/appfront/modules/Payment/block/paypal/express/Review.php:432-453 | app/apphtml5/modules/Payment/block/paypal/express/Review.php:432-453 \u2014 before extracting anything, compare \u0060app/appfront/modules/Payment/block/paypal/express/Review.php\u0060 and \u0060app/apphtml5/modules/Payment/block/paypal/express/Review.php\u0060 as WHOLE FILES: this scan already matched 28 separate duplicated blocks between them, totalling at least 390 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/appfront/modules/Payment/block/paypal/express/Review.php:432\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/appfront/modules/Payment/block/paypal/express/Review.php"},"region":{"startLine":432}}}],"partialFingerprints":{"codehealthFindingId/v1":"b25a0c4a0c2cd876d44c78b20da46a6d5538168fc7e96fe478fa990770f90a0f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201322 lines \u00D7 2): migrations/mysqldb/m191219_070617_fecshop_tables.php:16-37 | migrations/mysqldb/m200331_082139_fecshop_tables.php:71-85 \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 \u0060migrations/mysqldb/m200331_082139_fecshop_tables.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. 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":"migrations/mysqldb/m191219_070617_fecshop_tables.php"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"17afedc26d8d9a48384f55156f2928a04e9f8a29f6e59efa7569f4ede72be25d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21\u201322 lines \u00D7 2): services/Request.php:73-93 | yii/web/Request.php:60-81 \u2014 before extracting anything, compare \u0060services/Request.php\u0060 and \u0060yii/web/Request.php\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 72 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":"services/Request.php"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0b44d8aa5ceffc1bcc60874338186803f66c46a4ef265a90b76b2b6f19ad6f8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21\u201322 lines \u00D7 2): services/product/ProductMongodb.php:785-806 | services/product/ProductMysqldb.php:934-954 \u2014 before extracting anything, compare \u0060services/product/ProductMongodb.php\u0060 and \u0060services/product/ProductMysqldb.php\u0060 as WHOLE FILES: this scan already matched 29 separate duplicated blocks between them, totalling at least 358 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 \u0060services/product/ProductMongodb.php:785\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060services/product/ProductMysqldb.php:955\u0060 calls \u0060removeCategoryProductRelationByProductId\u0060 and \u0060services/product/ProductMongodb.php:807\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":"services/product/ProductMongodb.php"},"region":{"startLine":785}}}],"partialFingerprints":{"codehealthFindingId/v1":"7839a86e691d2889b6af6af389e850b779816c81d734dc0a4ba20f2b4b75d49f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201322 lines \u00D7 2): services/search/MongoSearch.php:339-360 | services/search/XunSearch.php:233-246 \u2014 before extracting anything, compare \u0060services/search/MongoSearch.php\u0060 and \u0060services/search/XunSearch.php\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 96 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 \u0060services/search/MongoSearch.php:339\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":"services/search/MongoSearch.php"},"region":{"startLine":339}}}],"partialFingerprints":{"codehealthFindingId/v1":"6893d15359ce380a44d53e32e8ecbcf2b73104510201042d672aa309c80c5301"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 19): app/appadmin/modules/Catalog/block/productattr/Manageredit.php:222-242 | app/appadmin/modules/Catalog/block/productattrgroup/Manageredit.php:143-163 | app/appadmin/modules/Catalog/block/productbrand/Manageredit.php:131-151 | app/appadmin/modules/Catalog/block/productbrandcategory/Manageredit.php:117-137 | app/appadmin/modules/Catalog/block/productinfo/Managerbatchedit.php:690-710 | app/appadmin/modules/Catalog/block/productinfo/Manageredit.php:647-667 | app/appadmin/modules/Catalog/block/productreview/Manageredit.php:155-175 | app/appadmin/modules/Cms/block/article/Manageredit.php:149-169 | app/appadmin/modules/Cms/block/staticblock/Manageredit.php:127-147 | app/appadmin/modules/Config/block/appfrontstore/Manageredit.php:261-281 | app/appadmin/modules/Config/block/apphtml5store/Manageredit.php:212-232 | app/appadmin/modules/Customer/block/account/Manageredit.php:135-155 | app/appadmin/modules/Customer/block/contacts/Manageredit.php:125-145 | app/appadmin/modules/Fecadmin/block/config/Manageredit.php:72-92 | app/appadmin/modules/Fecadmin/block/resource/Manageredit.php:120-140 | app/appadmin/modules/Fecadmin/block/role/Manageredit.php:103-123 | app/appadmin/modules/Sales/block/coupon/Manageredit.php:144-164 | app/appadmin/modules/System/block/extensioninstalled/Manageredit.php:175-195 | app/appadmin/modules/System/block/extensioninstalled/Managerview.php:218-238 \u2014 before extracting anything, compare \u0060app/appadmin/modules/Catalog/block/productattr/Manageredit.php\u0060 and \u0060app/appadmin/modules/Customer/block/contacts/Manageredit.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. 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/appadmin/modules/Catalog/block/productattr/Manageredit.php"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"e55fd9adc3b87177fad5d16b3a80c0aa305ce76da785c97c09f37443a524e289"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 4): app/appadmin/modules/Customer/block/account/Manageredit.php:109-129 | app/appadmin/modules/Customer/block/contacts/Manageredit.php:99-119 | app/appadmin/modules/Fecadmin/block/config/Manageredit.php:47-67 | app/appadmin/modules/Fecadmin/block/resource/Manageredit.php:94-114 \u2014 \u0060app/appadmin/modules/Customer/block/account/Manageredit.php\u0060 and \u0060app/appadmin/modules/Customer/block/contacts/Manageredit.php\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 2 separate duplicated blocks between them, totalling at least 42 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appadmin/modules/Customer/block/account/Manageredit.php"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7e6a4ec52ac4848c82a4c5cd4fdce6342f7f4fdd789d9134acb42f00e70181c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 4): app/appadmin/modules/System/controllers/ExtensionmarketController.php:203-223 | app/appadmin/modules/System/controllers/ExtensionmarketController.php:308-328 | app/appadmin/modules/System/controllers/ExtensionmarketController.php:393-413 | app/appadmin/modules/System/controllers/ExtensionmarketController.php:486-506 \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/appadmin/modules/System/controllers/ExtensionmarketController.php:203\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/appadmin/modules/System/controllers/ExtensionmarketController.php"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0d2620be7aec7cf0e0a4b40aec7d953e7b51a324be489a840ff3096803aad8a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 4): app/appapi/modules/V1/controllers/ProductattrController.php:93-113 | app/appapi/modules/V1/controllers/ProductattrgroupController.php:92-112 | app/appapi/modules/V1/controllers/ProductbrandController.php:207-227 | app/appapi/modules/V1/controllers/ProductbrandcategoryController.php:194-214 \u2014 before extracting anything, compare \u0060app/appapi/modules/V1/controllers/ProductattrController.php\u0060 and \u0060app/appapi/modules/V1/controllers/ProductattrgroupController.php\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 70 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060app/appapi/modules/V1/controllers/ProductbrandController.php:206\u0060 calls \u0060getByPrimaryKey\u0060 and \u0060app/appapi/modules/V1/controllers/ProductattrController.php:91\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/appapi/modules/V1/controllers/ProductattrController.php"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"9983990b5b6fec47de5351d67a1e542a41532b5b3f4606abe37de777ced49404"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201321 lines \u00D7 4): services/payment/Wxpay.php:57-70 | services/payment/WxpayH5.php:57-73 | services/payment/WxpayJsApi.php:57-77 | services/payment/WxpayMicro.php:55-75 \u2014 before extracting anything, compare \u0060services/payment/Wxpay.php\u0060 and \u0060services/payment/WxpayH5.php\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 204 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":"services/payment/Wxpay.php"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"990de07d2b0fa57428796c4eb10401c7df9a205cfef1d026574bfe0ef7e17b30"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 3): app/appadmin/modules/Cms/block/article/Manageredit.php:123-143 | app/appadmin/modules/Cms/block/staticblock/Manageredit.php:101-121 | app/appadmin/modules/System/block/extensioninstalled/Managerview.php:154-174 \u2014 \u0060app/appadmin/modules/Cms/block/article/Manageredit.php\u0060 and \u0060app/appadmin/modules/Cms/block/staticblock/Manageredit.php\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 2 separate duplicated blocks between them, totalling at least 42 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appadmin/modules/Cms/block/article/Manageredit.php"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"f608aa059b2d760b9c5ce3947e2a2acc716436519915876246179afa90e49cbc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19\u201321 lines \u00D7 3): app/appfront/modules/Catalog/block/category/Index.php:389-407 | app/apphtml5/modules/Catalog/block/category/Index.php:376-394 | app/appserver/modules/Catalog/controllers/CategoryController.php:524-544 \u2014 before extracting anything, compare \u0060app/appfront/modules/Catalog/block/category/Index.php\u0060 and \u0060app/apphtml5/modules/Catalog/block/category/Index.php\u0060 as WHOLE FILES: this scan already matched 25 separate duplicated blocks between them, totalling at least 393 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/appfront/modules/Catalog/block/category/Index.php:389\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/appfront/modules/Catalog/block/category/Index.php"},"region":{"startLine":389}}}],"partialFingerprints":{"codehealthFindingId/v1":"41f146577f0a7c4360a5dca4eb7d26641fbf91a123516370f5b78a5042caddac"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): app/appadmin/modules/AppadminbaseBlockEdit.php:327-349 | app/appadmin/modules/AppadminbaseBlockEdit.php:368-388 \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/appadmin/modules/AppadminbaseBlockEdit.php:327\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/appadmin/modules/AppadminbaseBlockEdit.php"},"region":{"startLine":327}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e5697c7e68f9030ec1bbcf21d100e5d1021ad1fee347c56fb879bd31eeecf98"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): app/appapi/modules/V1/controllers/CurrencyController.php:51-71 | app/appapi/modules/V1/controllers/LanguagesController.php:51-71 \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/appapi/modules/V1/controllers/CurrencyController.php:51\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/appapi/modules/V1/controllers/CurrencyController.php"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f3c9fc7792b8cd5f0af75782100e847d9b3939acc9467d6a271a1fc2cc1edfb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): app/appapi/modules/V1/controllers/ProductattrgroupController.php:159-179 | app/appapi/modules/V1/controllers/ProductattrgroupController.php:245-265 \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/appapi/modules/V1/controllers/ProductattrgroupController.php"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"f217c91abb8893d24a0f08fb0094ebd164bde8f689868854fe1d90dfa2cb32db"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): app/appfront/modules/Catalog/block/category/Index.php:458-478 | app/apphtml5/modules/Catalog/block/category/Index.php:445-465 \u2014 before extracting anything, compare \u0060app/appfront/modules/Catalog/block/category/Index.php\u0060 and \u0060app/apphtml5/modules/Catalog/block/category/Index.php\u0060 as WHOLE FILES: this scan already matched 25 separate duplicated blocks between them, totalling at least 393 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/appfront/modules/Catalog/block/category/Index.php"},"region":{"startLine":458}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ace12de687062e57a25dd5a4c759c191c3627c4573a321258cbc6ed9bd6c22a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): app/appfront/modules/Catalog/block/product/Index.php:177-197 | app/apphtml5/modules/Catalog/block/product/Index.php:167-187 \u2014 before extracting anything, compare \u0060app/appfront/modules/Catalog/block/product/Index.php\u0060 and \u0060app/apphtml5/modules/Catalog/block/product/Index.php\u0060 as WHOLE FILES: this scan already matched 21 separate duplicated blocks between them, totalling at least 409 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/appfront/modules/Catalog/block/product/Index.php"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa867f5e26d970011c0425cbf54a6582907be4c707b5d4c492baceac0a36db74"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): app/appfront/modules/Checkout/controllers/CartController.php:268-288 | app/apphtml5/modules/Checkout/controllers/CartController.php:265-285 \u2014 before extracting anything, compare \u0060app/appfront/modules/Checkout/controllers/CartController.php\u0060 and \u0060app/apphtml5/modules/Checkout/controllers/CartController.php\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 191 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/appfront/modules/Checkout/controllers/CartController.php"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa7aa34bd4a966f0f0b4dad4b5cee1141464925ee9ef8327a5ab3787b57c1fdf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): app/appfront/modules/Customer/block/order/Index.php:37-57 | app/apphtml5/modules/Customer/block/order/Index.php:37-57 \u2014 before extracting anything, compare \u0060app/appfront/modules/Customer/block/order/Index.php\u0060 and \u0060app/apphtml5/modules/Customer/block/order/Index.php\u0060 as WHOLE FILES: 94% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 2 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060app/appfront/modules/Customer/block/order/Index.php:58\u0060 calls \u0060breadcrumbs\u0060, \u0060__\u0060 and \u0060app/apphtml5/modules/Customer/block/order/Index.php:59\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/appfront/modules/Customer/block/order/Index.php"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ef28ff071a24f7856bd56b4bf4dce7840774b49719a2545312ef16392f0b05f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): app/appserver/modules/Catalog/controllers/CategoryController.php:605-625 | app/appserver/modules/Catalog/controllers/CategoryController.php:672-692 \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/appserver/modules/Catalog/controllers/CategoryController.php:605\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/appserver/modules/Catalog/controllers/CategoryController.php"},"region":{"startLine":605}}}],"partialFingerprints":{"codehealthFindingId/v1":"98e041bb82d3c6c12a15fbb365f41303f830532540be8a4f00211e8e3c8825cf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): lib/alipay/lotusphp_runtime/DB/Adapter/SqlAdapter/DbSqlAdapterMysql.php:68-88 | lib/alipay/lotusphp_runtime/DB/Adapter/SqlAdapter/DbSqlAdapterSqlite.php:98-118 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/alipay/lotusphp_runtime/DB/Adapter/SqlAdapter/DbSqlAdapterMysql.php"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3b622a5e2ccde1680a0c969430aa8d812242e24e80f22c3e67280eee0dfdd1f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): lib/alipay/lotusphp_runtime/MVC/Action.php:204-224 | lib/alipay/lotusphp_runtime/MVC/Component.php:102-122 \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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/alipay/lotusphp_runtime/MVC/Action.php"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ea92c6e657059efd871c8a5a16dfd8cd4d38792d5fe07643b54277fdbd7792d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): services/category/CategoryMongodb.php:314-334 | services/category/CategoryMysqldb.php:376-396 \u2014 before extracting anything, compare \u0060services/category/CategoryMongodb.php\u0060 and \u0060services/category/CategoryMysqldb.php\u0060 as WHOLE FILES: this scan already matched 22 separate duplicated blocks between them, totalling at least 274 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 \u0060services/category/CategoryMongodb.php:314\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":"services/category/CategoryMongodb.php"},"region":{"startLine":314}}}],"partialFingerprints":{"codehealthFindingId/v1":"de7f3065e54fe53f19d4718342d002dedd591b5a657ce4791bce79cb90ea0233"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 27): app/appadmin/modules/Catalog/block/category/Product.php:62-81 | app/appadmin/modules/Catalog/block/productattr/Manager.php:46-65 | app/appadmin/modules/Catalog/block/productattrgroup/Manager.php:46-65 | app/appadmin/modules/Catalog/block/productbrand/Manager.php:47-66 | app/appadmin/modules/Catalog/block/productbrandcategory/Manager.php:46-65 | app/appadmin/modules/Catalog/block/productfavorite/Index.php:39-58 | app/appadmin/modules/Catalog/block/productinfo/Index.php:67-86 | app/appadmin/modules/Catalog/block/productreview/Index.php:54-73 | app/appadmin/modules/Catalog/block/urlrewrite/Index.php:46-65 | app/appadmin/modules/Cms/block/article/Index.php:48-67 | app/appadmin/modules/Cms/block/staticblock/Index.php:49-68 | app/appadmin/modules/Config/block/appfrontstore/Manager.php:47-66 | app/appadmin/modules/Config/block/apphtml5store/Manager.php:47-66 | app/appadmin/modules/Customer/block/account/Index.php:48-67 | app/appadmin/modules/Customer/block/contacts/Index.php:49-68 | app/appadmin/modules/Customer/block/newsletter/Index.php:48-67 | app/appadmin/modules/Fecadmin/block/account/Manager.php:44-63 | app/appadmin/modules/Fecadmin/block/cache/Index.php:39-58 | app/appadmin/modules/Fecadmin/block/config/Manager.php:44-63 | app/appadmin/modules/Fecadmin/block/log/Index.php:32-51 | app/appadmin/modules/Fecadmin/block/logtj/Index.php:36-55 | app/appadmin/modules/Fecadmin/block/resource/Manager.php:48-67 | app/appadmin/modules/Fecadmin/block/role/Manager.php:48-67 | app/appadmin/modules/Sales/block/coupon/Manager.php:52-71 | app/appadmin/modules/Sales/block/orderinfo/Manager.php:51-70 | app/appadmin/modules/System/block/error/Index.php:44-63 | app/appadmin/modules/System/block/extensioninstalled/Manager.php:54-73 \u2014 before extracting anything, compare \u0060app/appadmin/modules/Catalog/block/category/Product.php\u0060 and \u0060app/appadmin/modules/Catalog/block/productbrand/Manager.php\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 41 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/appadmin/modules/Catalog/block/category/Product.php"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ad0720965f32927cedf4489487773d20e029d4f07b15ffd4c3277b23d110129"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 5): app/appapi/modules/V1/controllers/CategoryController.php:47-66 | app/appapi/modules/V1/controllers/ProductattrController.php:49-68 | app/appapi/modules/V1/controllers/ProductattrgroupController.php:49-68 | app/appapi/modules/V1/controllers/ProductbrandController.php:41-60 | app/appapi/modules/V1/controllers/ProductbrandcategoryController.php:41-60 \u2014 before extracting anything, compare \u0060app/appapi/modules/V1/controllers/ProductattrController.php\u0060 and \u0060app/appapi/modules/V1/controllers/ProductattrgroupController.php\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 70 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/appapi/modules/V1/controllers/CategoryController.php:47\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appapi/modules/V1/controllers/CategoryController.php"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee942f0f387ad17c0f9a24a1e291970a8f11faf9fd53e1d26203139b9758d091"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18\u201320 lines \u00D7 5): migrations/mysqldb/m181126_143605_fecshop_tables.php:16-33 | migrations/mysqldb/m190730_130707_fecshop_tables.php:16-33 | migrations/mysqldb/m190809_154516_fecshop_tables.php:16-34 | migrations/mysqldb/m190904_025251_fecshop_tables.php:40-58 | migrations/mysqldb/m200331_082139_fecshop_tables.php:16-35 \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 5 call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"migrations/mysqldb/m181126_143605_fecshop_tables.php"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"d88cc51930912d0ec225c5cb6cba24041cd2ef9658b899d9dcadfa10225bfcfe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 3): app/appfront/modules/Catalog/block/product/Index.php:385-404 | app/apphtml5/modules/Catalog/block/product/Index.php:374-393 | app/appserver/modules/Catalog/controllers/ProductController.php:617-636 \u2014 before extracting anything, compare \u0060app/appfront/modules/Catalog/block/product/Index.php\u0060 and \u0060app/apphtml5/modules/Catalog/block/product/Index.php\u0060 as WHOLE FILES: this scan already matched 21 separate duplicated blocks between them, totalling at least 409 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/appfront/modules/Catalog/block/product/Index.php:385\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/appfront/modules/Catalog/block/product/Index.php"},"region":{"startLine":385}}}],"partialFingerprints":{"codehealthFindingId/v1":"0822e222b1e2d60fac4728d1128909adac1a90a1ebb2e6ea37340f9a2983c592"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 3): app/appfront/modules/Payment/block/paypal/standard/Placeorder.php:163-182 | app/apphtml5/modules/Payment/block/paypal/standard/Placeorder.php:163-182 | app/appserver/modules/Payment/block/paypal/standard/Placeorder.php:177-196 \u2014 before extracting anything, compare \u0060app/appfront/modules/Payment/block/paypal/standard/Placeorder.php\u0060 and \u0060app/apphtml5/modules/Payment/block/paypal/standard/Placeorder.php\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 110 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. 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/appfront/modules/Payment/block/paypal/standard/Placeorder.php"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"c86f72b5925051ebc4389b00e0052843d8e81aa8d1d4937f70c457c69d25ef57"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 3): services/product/ProductMongodb.php:378-397 | services/product/ProductMongodb.php:517-536 | services/product/ProductMongodb.php:1252-1271 \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 \u0060services/product/ProductMongodb.php:378\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":"services/product/ProductMongodb.php"},"region":{"startLine":378}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e2ae9bc9f51d6be6d7de4cc0fec3d3e4e64c0f15d7e00ee236618d03957fae0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19\u201320 lines \u00D7 2): app/appadmin/modules/AppadminbaseBlock.php:251-269 | app/appadmin/modules/Catalog/block/category/Product.php:465-484 \u2014 before extracting anything, compare \u0060app/appadmin/modules/AppadminbaseBlock.php\u0060 and \u0060app/appadmin/modules/Catalog/block/category/Product.php\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 158 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/appadmin/modules/AppadminbaseBlock.php:251\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/appadmin/modules/AppadminbaseBlock.php"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"2669a95d602c507059129d8bb791635eb869ab6b82db113f60b458a0d9f11a13"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): app/appadmin/modules/Config/block/currency/Manager.php:64-83 | app/appadmin/modules/Config/block/mutillang/Manager.php:80-99 \u2014 \u0060app/appadmin/modules/Config/block/currency/Manager.php\u0060 and \u0060app/appadmin/modules/Config/block/mutillang/Manager.php\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 3 separate duplicated blocks between them, totalling at least 78 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appadmin/modules/Config/block/currency/Manager.php"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"d15beab9ef8dde318bb70ee186ddb0367ae3d604aa8ce16467160454407ebed3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): app/appfront/modules/Checkout/controllers/OnepageController.php:35-54 | app/apphtml5/modules/Checkout/controllers/OnepageController.php:31-50 \u2014 before extracting anything, compare \u0060app/appfront/modules/Checkout/controllers/OnepageController.php\u0060 and \u0060app/apphtml5/modules/Checkout/controllers/OnepageController.php\u0060 as WHOLE FILES: 95% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. 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/appfront/modules/Checkout/controllers/OnepageController.php"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"34a007a671d9f38cec232da8455ee6e90de6a014dac81321014d30473e18e25b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): app/appfront/modules/Payment/block/paypal/express/Review.php:401-420 | app/apphtml5/modules/Payment/block/paypal/express/Review.php:401-420 \u2014 before extracting anything, compare \u0060app/appfront/modules/Payment/block/paypal/express/Review.php\u0060 and \u0060app/apphtml5/modules/Payment/block/paypal/express/Review.php\u0060 as WHOLE FILES: this scan already matched 28 separate duplicated blocks between them, totalling at least 390 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/appfront/modules/Payment/block/paypal/express/Review.php"},"region":{"startLine":401}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f43616e0faf51b0bc241c34afb88deda4f07988d16968c9c588a4eb4150d76f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): app/appserver/modules/Catalog/controllers/CategoryController.php:464-483 | app/appserver/modules/Catalogsearch/controllers/IndexController.php:230-249 \u2014 before extracting anything, compare \u0060app/appserver/modules/Catalog/controllers/CategoryController.php\u0060 and \u0060app/appserver/modules/Catalogsearch/controllers/IndexController.php\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 118 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/appserver/modules/Catalog/controllers/CategoryController.php:464\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/appserver/modules/Catalog/controllers/CategoryController.php"},"region":{"startLine":464}}}],"partialFingerprints":{"codehealthFindingId/v1":"effc53877a75600e90b48351b80aba2e37f46350e2004fa4c6bb364874174914"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19\u201320 lines \u00D7 2): services/Request.php:95-114 | yii/web/Request.php:94-112 \u2014 before extracting anything, compare \u0060services/Request.php\u0060 and \u0060yii/web/Request.php\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 72 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 \u0060services/Request.php:95\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060services/Request.php:94\u0060 calls \u0060getOriginUrl\u0060 and \u0060yii/web/Request.php:93\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":"services/Request.php"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef024dc39c3654ccd57954b1e95f54a9ee41d6551e16d2dbdb232433ba109d06"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18\u201319 lines \u00D7 7): app/appfront/modules/Checkout/block/onepage/Placeorder.php:307-325 | app/appfront/modules/Payment/block/paypal/express/Placeorder.php:230-247 | app/apphtml5/modules/Checkout/block/onepage/Placeorder.php:293-310 | app/apphtml5/modules/Payment/block/paypal/express/Placeorder.php:230-247 | app/appserver/modules/Checkout/block/onepage/Placeorder.php:314-331 | app/appserver/modules/Checkout/block/onepage/Wxplaceorder.php:298-315 | app/appserver/modules/Payment/block/paypal/express/Placeorder.php:284-301 \u2014 before extracting anything, compare \u0060app/appfront/modules/Checkout/block/onepage/Placeorder.php\u0060 and \u0060app/apphtml5/modules/Checkout/block/onepage/Placeorder.php\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 292 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/appfront/modules/Checkout/block/onepage/Placeorder.php:307\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/appfront/modules/Checkout/block/onepage/Placeorder.php"},"region":{"startLine":307}}}],"partialFingerprints":{"codehealthFindingId/v1":"afcdb29e1e89a95a2174df3da9b7688717d10bd4fc0cdce7c86107177400ba4a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 6): app/appfront/modules/Catalog/block/category/Index.php:424-442 | app/appfront/modules/Catalogsearch/block/index/Index.php:298-316 | app/apphtml5/modules/Catalog/block/category/Index.php:411-429 | app/apphtml5/modules/Catalogsearch/block/index/Index.php:321-339 | app/appserver/modules/Catalog/controllers/CategoryController.php:561-579 | app/appserver/modules/Catalogsearch/controllers/IndexController.php:295-313 \u2014 before extracting anything, compare \u0060app/appfront/modules/Catalog/block/category/Index.php\u0060 and \u0060app/appfront/modules/Catalogsearch/block/index/Index.php\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 114 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/appfront/modules/Catalog/block/category/Index.php:424\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appfront/modules/Catalog/block/category/Index.php"},"region":{"startLine":424}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d1c4b8ed63f972ac24316c2ea28d388444874a89c1c936cb8795f41078714b6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 6): app/appfront/modules/Catalog/controllers/CategoryController.php:60-78 | app/appfront/modules/Cms/controllers/ArticleController.php:59-77 | app/apphtml5/modules/Catalog/controllers/CategoryController.php:50-68 | app/apphtml5/modules/Cms/controllers/ArticleController.php:47-65 | app/appserver/modules/Catalog/controllers/CategoryController.php:68-86 | app/appserver/modules/Cms/controllers/ArticleController.php:63-81 \u2014 before extracting anything, compare \u0060app/appfront/modules/Catalog/controllers/CategoryController.php\u0060 and \u0060app/appfront/modules/Cms/controllers/ArticleController.php\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 74 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/appfront/modules/Catalog/controllers/CategoryController.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/appfront/modules/Catalog/controllers/CategoryController.php"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8b6619ba74b1fc9b85ccb833c55f1a8673c41b743d17945208662ecf03521b6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201319 lines \u00D7 6): app/appfront/modules/Payment/block/paypal/express/Placeorder.php:157-173 | app/appfront/modules/Payment/block/paypal/standard/Placeorder.php:103-121 | app/apphtml5/modules/Payment/block/paypal/express/Placeorder.php:157-173 | app/apphtml5/modules/Payment/block/paypal/standard/Placeorder.php:103-121 | app/appserver/modules/Payment/block/paypal/express/Placeorder.php:194-210 | app/appserver/modules/Payment/block/paypal/standard/Placeorder.php:117-135 \u2014 before extracting anything, compare \u0060app/appfront/modules/Payment/block/paypal/express/Placeorder.php\u0060 and \u0060app/apphtml5/modules/Payment/block/paypal/express/Placeorder.php\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 188 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. 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/appfront/modules/Payment/block/paypal/express/Placeorder.php"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef1e2710773d4113c5ad7e9e44eefdba727b2f5a3f9de81b3e563c6dffc6e98f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 6): services/email/Customer.php:76-94 | services/email/Customer.php:113-131 | services/email/Customer.php:150-168 | services/email/Customer.php:212-230 | services/email/Customer.php:251-269 | services/email/Order.php:54-72 \u2014 there are 6 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 6 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060services/email/Customer.php:76\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060services/email/Customer.php:232\u0060 calls \u0060addCustomerContacts\u0060 and \u0060services/email/Customer.php:95\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":"services/email/Customer.php"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b8a017f38e3b2383f6de303628b4221824a8b584679e98e19ecdefc0d81bcc8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201319 lines \u00D7 4): app/appfront/modules/Catalog/block/category/Index.php:217-231 | app/appfront/modules/Catalogsearch/block/index/Index.php:109-127 | app/apphtml5/modules/Catalog/block/category/Index.php:206-220 | app/apphtml5/modules/Catalogsearch/block/index/Index.php:132-150 \u2014 before extracting anything, compare \u0060app/appfront/modules/Catalog/block/category/Index.php\u0060 and \u0060app/appfront/modules/Catalogsearch/block/index/Index.php\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 114 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appfront/modules/Catalog/block/category/Index.php"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa6a2b8541ca0863dfdbf79db7f1852e68173b219ce432b357d8f28f68e684b0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 3): app/appfront/modules/Catalog/block/product/Index.php:463-481 | app/apphtml5/modules/Catalog/block/product/Index.php:451-469 | app/appserver/modules/Catalog/controllers/ProductController.php:695-713 \u2014 before extracting anything, compare \u0060app/appfront/modules/Catalog/block/product/Index.php\u0060 and \u0060app/apphtml5/modules/Catalog/block/product/Index.php\u0060 as WHOLE FILES: this scan already matched 21 separate duplicated blocks between them, totalling at least 409 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/appfront/modules/Catalog/block/product/Index.php"},"region":{"startLine":463}}}],"partialFingerprints":{"codehealthFindingId/v1":"81570a753a3d30d486d2f40d10dffc71e794160b7962c4a6ab39a14596bb9eb4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 3): app/appfront/modules/Catalog/controllers/ProductController.php:59-77 | app/apphtml5/modules/Catalog/controllers/ProductController.php:50-68 | app/appserver/modules/Catalog/controllers/ProductController.php:60-78 \u2014 before extracting anything, compare \u0060app/appfront/modules/Catalog/controllers/ProductController.php\u0060 and \u0060app/apphtml5/modules/Catalog/controllers/ProductController.php\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 108 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/appfront/modules/Catalog/controllers/ProductController.php:59\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/appfront/modules/Catalog/controllers/ProductController.php"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c8ae1f5a80d9afb467bd588efabcf1748ef5e835e74deb3706139b503ad245d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18\u201319 lines \u00D7 3): app/appfront/modules/Cms/controllers/HomeController.php:39-56 | app/apphtml5/modules/Cms/controllers/HomeController.php:26-44 | app/appserver/modules/Cms/controllers/HomeController.php:23-40 \u2014 before extracting anything, compare \u0060app/appfront/modules/Cms/controllers/HomeController.php\u0060 and \u0060app/apphtml5/modules/Cms/controllers/HomeController.php\u0060 as WHOLE FILES: 89% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 2 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/appfront/modules/Cms/controllers/HomeController.php:39\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appfront/modules/Cms/controllers/HomeController.php"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4a0b632aefad2dce830013073b28fb040b84c0d778b9c5cc018a58467a390ad"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): app/appadmin/modules/Catalog/block/productinfo/Managerbatchedit.php:393-411 | app/appadmin/modules/Catalog/block/productinfo/Manageredit.php:392-410 \u2014 before extracting anything, compare \u0060app/appadmin/modules/Catalog/block/productinfo/Managerbatchedit.php\u0060 and \u0060app/appadmin/modules/Catalog/block/productinfo/Manageredit.php\u0060 as WHOLE FILES: this scan already matched 29 separate duplicated blocks between them, totalling at least 398 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/appadmin/modules/Catalog/block/productinfo/Managerbatchedit.php:393\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/appadmin/modules/Catalog/block/productinfo/Managerbatchedit.php"},"region":{"startLine":393}}}],"partialFingerprints":{"codehealthFindingId/v1":"9324ac9ba20a04536072fd20f2d1cbe08606f3898daed399d117fb2e1cd2321c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): app/appfront/modules/Catalog/block/category/Index.php:337-355 | app/apphtml5/modules/Catalog/block/category/Index.php:324-342 \u2014 before extracting anything, compare \u0060app/appfront/modules/Catalog/block/category/Index.php\u0060 and \u0060app/apphtml5/modules/Catalog/block/category/Index.php\u0060 as WHOLE FILES: this scan already matched 25 separate duplicated blocks between them, totalling at least 393 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. 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/appfront/modules/Catalog/block/category/Index.php"},"region":{"startLine":337}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8c33cc2dae810e9b7e5221f8079322ad6627e40a5b9bca2912005f23ea15bc6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): app/appfront/modules/Customer/controllers/AjaxController.php:26-44 | app/apphtml5/modules/Customer/controllers/AjaxController.php:26-44 \u2014 before extracting anything, compare \u0060app/appfront/modules/Customer/controllers/AjaxController.php\u0060 and \u0060app/apphtml5/modules/Customer/controllers/AjaxController.php\u0060 as WHOLE FILES: 96% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/appfront/modules/Customer/controllers/AjaxController.php:26\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appfront/modules/Customer/controllers/AjaxController.php"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"d843a277aca1f8cb04cb898848b6c18e8a0f9ad43da076ec805e16140992ea56"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): app/appfront/widgets/Page.php:266-284 | app/apphtml5/widgets/Page.php:212-230 \u2014 before extracting anything, compare \u0060app/appfront/widgets/Page.php\u0060 and \u0060app/apphtml5/widgets/Page.php\u0060 as WHOLE FILES: 99% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 2 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appfront/widgets/Page.php"},"region":{"startLine":266}}}],"partialFingerprints":{"codehealthFindingId/v1":"b44a00c111565fd92062524e9d0341aa9e9b11a53105af056c50ac285b339217"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): app/appserver/modules/Checkout/block/onepage/Index.php:261-279 | app/appserver/modules/Payment/block/paypal/express/Review.php:206-224 \u2014 before extracting anything, compare \u0060app/appserver/modules/Checkout/block/onepage/Index.php\u0060 and \u0060app/appserver/modules/Payment/block/paypal/express/Review.php\u0060 as WHOLE FILES: this scan already matched 18 separate duplicated blocks between them, totalling at least 254 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. 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/appserver/modules/Checkout/block/onepage/Index.php"},"region":{"startLine":261}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d872f9a1d634b9d2b744e51712c1b388ce61fce0fac64c7cf2b9104a2861055"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18\u201319 lines \u00D7 2): services/cart/QuoteItem.php:200-217 | services/cart/QuoteItem.php:228-246 \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":"services/cart/QuoteItem.php"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1a890684c1f624fada03113433473a7c266b1a3d1f2035b26e81d9720fdde04"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): services/product/Brand.php:124-142 | services/product/Brandcategory.php:124-142 \u2014 before extracting anything, compare \u0060services/product/Brand.php\u0060 and \u0060services/product/Brandcategory.php\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 144 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 \u0060services/product/Brand.php:124\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":"services/product/Brand.php"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"12183ce5bf6d0bb10c08b8326396c60e71c50094e124d490513e27411800f4fc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): services/product/viewLog/Db.php:50-68 | services/product/viewLog/Mongodb.php:51-69 \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":"services/product/viewLog/Db.php"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cb39b5036962d26ea975bc9360a77549678163f2f2fac2ef285e657714df4f3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): services/search/MongoSearch.php:278-296 | services/search/MysqlSearch.php:214-232 \u2014 before extracting anything, compare \u0060services/search/MongoSearch.php\u0060 and \u0060services/search/MysqlSearch.php\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 73 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":"services/search/MongoSearch.php"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"cec9dc5f2ecacac93c5319f6690112085c2c90e3f950e29e1bcadb219a3704d1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 9): app/appfront/modules/Checkout/block/onepage/Index.php:140-157 | app/appfront/modules/Checkout/block/onepage/Index.php:184-201 | app/appfront/modules/Payment/block/paypal/express/Review.php:80-97 | app/apphtml5/modules/Checkout/block/onepage/Index.php:130-147 | app/apphtml5/modules/Checkout/block/onepage/Index.php:174-191 | app/apphtml5/modules/Payment/block/paypal/express/Review.php:80-97 | app/appserver/modules/Checkout/block/onepage/Index.php:152-169 | app/appserver/modules/Checkout/block/onepage/Index.php:196-213 | app/appserver/modules/Payment/block/paypal/express/Review.php:95-112 \u2014 before extracting anything, compare \u0060app/appfront/modules/Checkout/block/onepage/Index.php\u0060 and \u0060app/appfront/modules/Payment/block/paypal/express/Review.php\u0060 as WHOLE FILES: this scan already matched 19 separate duplicated blocks between them, totalling at least 242 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/appfront/modules/Checkout/block/onepage/Index.php:140\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/appfront/modules/Checkout/block/onepage/Index.php"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2c42cbce01af9097bdc59c6c35d4d8b686794c9a850c645bb72db33fe7cd30c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 6): app/appfront/modules/Checkout/block/onepage/Index.php:385-402 | app/appfront/modules/Payment/block/paypal/express/Review.php:327-344 | app/apphtml5/modules/Checkout/block/onepage/Index.php:377-394 | app/apphtml5/modules/Payment/block/paypal/express/Review.php:327-344 | app/appserver/modules/Checkout/block/onepage/Index.php:409-426 | app/appserver/modules/Payment/block/paypal/express/Review.php:348-365 \u2014 before extracting anything, compare \u0060app/appfront/modules/Checkout/block/onepage/Index.php\u0060 and \u0060app/appfront/modules/Payment/block/paypal/express/Review.php\u0060 as WHOLE FILES: this scan already matched 19 separate duplicated blocks between them, totalling at least 242 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/appfront/modules/Checkout/block/onepage/Index.php:385\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/appfront/modules/Checkout/block/onepage/Index.php"},"region":{"startLine":385}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e4d9a7e9c467201e4d8e419f5000c49f1e6c09d5f97f87a5529abd4a38f4c47"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 5): app/appadmin/modules/AppadminbaseBlock.php:554-571 | app/appadmin/modules/Catalog/block/productbrand/Manager.php:209-226 | app/appadmin/modules/Catalog/block/productinfo/Index.php:328-345 | app/appadmin/modules/Customer/block/contacts/Index.php:199-216 | app/appadmin/modules/Customer/block/newsletter/Index.php:203-220 \u2014 before extracting anything, compare \u0060app/appadmin/modules/AppadminbaseBlock.php\u0060 and \u0060app/appadmin/modules/Catalog/block/productbrand/Manager.php\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 80 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/appadmin/modules/AppadminbaseBlock.php:554\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/appadmin/modules/AppadminbaseBlock.php"},"region":{"startLine":554}}}],"partialFingerprints":{"codehealthFindingId/v1":"247079e0e81947447a4a045595f99baf6ad033b9a20d8025defdc508480905bc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201318 lines \u00D7 4): app/appapi/modules/V1/controllers/ArticleController.php:185-195 | app/appapi/modules/V1/controllers/CategoryController.php:238-255 | app/appapi/modules/V1/controllers/CategoryController.php:339-356 | app/appapi/modules/V1/controllers/ProductController.php:268-277 \u2014 before extracting anything, compare \u0060app/appapi/modules/V1/controllers/ArticleController.php\u0060 and \u0060app/appapi/modules/V1/controllers/CategoryController.php\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 96 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/appapi/modules/V1/controllers/ArticleController.php"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"34095dadd45acb5b38c01de13429f4a6205ecb221a6cfb99b73ec0c11c82501a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201318 lines \u00D7 4): services/Extension.php:132-149 | services/StoreBaseConfig.php:126-143 | services/StoreDomain.php:128-145 | services/helper/ScriptDate.php:130-146 \u2014 before extracting anything, compare \u0060services/Extension.php\u0060 and \u0060services/StoreBaseConfig.php\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 68 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 \u0060services/Extension.php:132\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060services/Extension.php:129\u0060 calls \u0060getCurrentDateTime\u0060 and \u0060services/helper/ScriptDate.php:127\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":"services/Extension.php"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"347d96a1b10955ec717817528df823d1cb177e438153d48f8ee3429d3436cde6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 3): app/appfront/modules/Payment/block/paypal/express/Review.php:111-128 | app/apphtml5/modules/Payment/block/paypal/express/Review.php:111-128 | app/appserver/modules/Payment/block/paypal/express/Review.php:126-143 \u2014 before extracting anything, compare \u0060app/appfront/modules/Payment/block/paypal/express/Review.php\u0060 and \u0060app/apphtml5/modules/Payment/block/paypal/express/Review.php\u0060 as WHOLE FILES: this scan already matched 28 separate duplicated blocks between them, totalling at least 390 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/appfront/modules/Payment/block/paypal/express/Review.php:111\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/appfront/modules/Payment/block/paypal/express/Review.php"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f768d674984fba48da525c252d3f0db9d99f1805cf385739d20f7e62fcf23b7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): app/appadmin/modules/Catalog/block/productinfo/Managerbatchedit.php:102-119 | app/appadmin/modules/Catalog/block/productinfo/Manageredit.php:101-118 \u2014 before extracting anything, compare \u0060app/appadmin/modules/Catalog/block/productinfo/Managerbatchedit.php\u0060 and \u0060app/appadmin/modules/Catalog/block/productinfo/Manageredit.php\u0060 as WHOLE FILES: this scan already matched 29 separate duplicated blocks between them, totalling at least 398 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/appadmin/modules/Catalog/block/productinfo/Managerbatchedit.php:102\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/appadmin/modules/Catalog/block/productinfo/Managerbatchedit.php"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"6130716dc6543aa404b11f6b5d5d70c3c71ca6d95d57b243b5795221f5cdf3d7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): app/appadmin/modules/Catalog/block/productinfo/Managerbatchedit.php:243-260 | app/appadmin/modules/Catalog/block/productinfo/Manageredit.php:259-276 \u2014 before extracting anything, compare \u0060app/appadmin/modules/Catalog/block/productinfo/Managerbatchedit.php\u0060 and \u0060app/appadmin/modules/Catalog/block/productinfo/Manageredit.php\u0060 as WHOLE FILES: this scan already matched 29 separate duplicated blocks between them, totalling at least 398 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/appadmin/modules/Catalog/block/productinfo/Managerbatchedit.php:243\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/appadmin/modules/Catalog/block/productinfo/Managerbatchedit.php"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3f439cdcdb9bf27ca79d15d9ada4d6d883973e9b3d3cd7799ca133bdf26b947"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): app/appadmin/modules/Config/block/appfrontstore/Manager.php:166-183 | app/appadmin/modules/Config/block/apphtml5store/Manager.php:166-183 \u2014 \u0060app/appadmin/modules/Config/block/appfrontstore/Manager.php\u0060 and \u0060app/appadmin/modules/Config/block/apphtml5store/Manager.php\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 3 separate duplicated blocks between them, totalling at least 48 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appadmin/modules/Config/block/appfrontstore/Manager.php"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"f47ad59a7c226fce30c0b887c6e2dabbd58928fb80075b0ea1a5128edb60901d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201318 lines \u00D7 2): app/appapi/modules/V1/controllers/ArticleController.php:136-153 | app/appapi/modules/V1/controllers/ArticleController.php:198-214 \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/appapi/modules/V1/controllers/ArticleController.php:136\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/appapi/modules/V1/controllers/ArticleController.php"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd1d0bada6e158db4a04854e506144b24aaa90972b42d12fe3732d1d73224ca1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): app/appfront/modules/Catalog/block/category/Index.php:133-150 | app/apphtml5/modules/Catalog/block/category/Index.php:154-171 \u2014 before extracting anything, compare \u0060app/appfront/modules/Catalog/block/category/Index.php\u0060 and \u0060app/apphtml5/modules/Catalog/block/category/Index.php\u0060 as WHOLE FILES: this scan already matched 25 separate duplicated blocks between them, totalling at least 393 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/appfront/modules/Catalog/block/category/Index.php:133\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/appfront/modules/Catalog/block/category/Index.php"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b78aa5911265f726978e6e311358c4da33c3d7bbb44f009e0c0e70c4f3f6f26"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): app/appfront/modules/Checkout/block/onepage/Index.php:215-232 | app/apphtml5/modules/Checkout/block/onepage/Index.php:205-222 \u2014 before extracting anything, compare \u0060app/appfront/modules/Checkout/block/onepage/Index.php\u0060 and \u0060app/apphtml5/modules/Checkout/block/onepage/Index.php\u0060 as WHOLE FILES: this scan already matched 28 separate duplicated blocks between them, totalling at least 423 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/appfront/modules/Checkout/block/onepage/Index.php:215\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/appfront/modules/Checkout/block/onepage/Index.php"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"587e75ec9c438aa6a10082e98d27731d41a8def16db97f22b0ccf074fc82e92c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201318 lines \u00D7 2): app/appserver/modules/Catalog/controllers/ProductController.php:809-825 | app/appserver/modules/Cms/controllers/HomeController.php:108-125 \u2014 before extracting anything, compare \u0060app/appserver/modules/Catalog/controllers/ProductController.php\u0060 and \u0060app/appserver/modules/Cms/controllers/HomeController.php\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 35 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/appserver/modules/Catalog/controllers/ProductController.php:809\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/appserver/modules/Catalog/controllers/ProductController.php"},"region":{"startLine":809}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f510d29c78d5c2cccddcbe9544295e12e3308d23e6f69e4a9a1b0406a045b67"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201318 lines \u00D7 2): services/category/CategoryMongodb.php:387-404 | services/category/CategoryMysqldb.php:452-467 \u2014 before extracting anything, compare \u0060services/category/CategoryMongodb.php\u0060 and \u0060services/category/CategoryMysqldb.php\u0060 as WHOLE FILES: this scan already matched 22 separate duplicated blocks between them, totalling at least 274 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 \u0060services/category/CategoryMongodb.php:387\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":"services/category/CategoryMongodb.php"},"region":{"startLine":387}}}],"partialFingerprints":{"codehealthFindingId/v1":"34eeac0830612bd64359931d2b6ea8b39b5b77796625ebea98e4150b6535960b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): services/cms/article/ArticleMongodb.php:54-71 | services/cms/article/ArticleMysqldb.php:70-87 \u2014 before extracting anything, compare \u0060services/cms/article/ArticleMongodb.php\u0060 and \u0060services/cms/article/ArticleMysqldb.php\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 36 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":"services/cms/article/ArticleMongodb.php"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"b382d4edffef3470bf30fe5e3dbb786a961ba0a07ce4a382bfcd09a390c35cdb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): services/extension/Administer.php:307-324 | services/extension/Administer.php:364-381 \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 \u0060services/extension/Administer.php:307\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":"services/extension/Administer.php"},"region":{"startLine":307}}}],"partialFingerprints":{"codehealthFindingId/v1":"17d62ae521b98e9f37b2b2686db8fb5e1c2f1b884259b41c01d8772f018e20f8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): services/product/ProductMongodb.php:104-121 | services/product/ProductMysqldb.php:106-123 \u2014 before extracting anything, compare \u0060services/product/ProductMongodb.php\u0060 and \u0060services/product/ProductMysqldb.php\u0060 as WHOLE FILES: this scan already matched 29 separate duplicated blocks between them, totalling at least 358 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 \u0060services/product/ProductMongodb.php:104\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":"services/product/ProductMongodb.php"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"e12c73576e4333579fe9e5e74c78851f19b5d35e8be6ed6ff520b8d2dd4f1f0e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): services/product/ProductMongodb.php:737-754 | services/product/ProductMysqldb.php:886-903 \u2014 before extracting anything, compare \u0060services/product/ProductMongodb.php\u0060 and \u0060services/product/ProductMysqldb.php\u0060 as WHOLE FILES: this scan already matched 29 separate duplicated blocks between them, totalling at least 358 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":"services/product/ProductMongodb.php"},"region":{"startLine":737}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b750001b681003fda9db493332fb6ff4975efcba8f5919da13295963c99c76a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): services/product/review/ReviewMongodb.php:156-173 | services/product/review/ReviewMysqldb.php:172-189 \u2014 before extracting anything, compare \u0060services/product/review/ReviewMongodb.php\u0060 and \u0060services/product/review/ReviewMysqldb.php\u0060 as WHOLE FILES: this scan already matched 14 separate duplicated blocks between them, totalling at least 206 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 \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":"services/product/review/ReviewMongodb.php"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae7d67b03526f92eab728203bbe8cb64bb014b681da4717426b334e8f583d837"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 5): app/appadmin/modules/AppadminController.php:151-167 | app/appfront/modules/AppfrontController.php:66-82 | app/apphtml5/modules/AppfrontController.php:66-82 | app/appserver/modules/AppserverController.php:49-65 | app/appserver/modules/AppserverTokenController.php:85-101 \u2014 before extracting anything, compare \u0060app/appadmin/modules/AppadminController.php\u0060 and \u0060app/appfront/modules/AppfrontController.php\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 39 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. 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/appadmin/modules/AppadminController.php"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"00b66ce309e4e65896d465eef4330270c3560fa7278827004567ae8350ff2fde"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201317 lines \u00D7 4): services/payment/Wxpay.php:248-264 | services/payment/WxpayH5.php:256-271 | services/payment/WxpayJsApi.php:242-258 | services/payment/WxpayMicro.php:227-243 \u2014 before extracting anything, compare \u0060services/payment/Wxpay.php\u0060 and \u0060services/payment/WxpayH5.php\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 204 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":"services/payment/Wxpay.php"},"region":{"startLine":248}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bb5a863048d22910b0279f69dc7dc739d4c01c03f423f7d338b532e3dfbc4a4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 3): app/appapi/modules/V1/controllers/ArticleController.php:200-216 | app/appapi/modules/V1/controllers/CategoryController.php:262-278 | app/appapi/modules/V1/controllers/CategoryController.php:363-379 \u2014 before extracting anything, compare \u0060app/appapi/modules/V1/controllers/ArticleController.php\u0060 and \u0060app/appapi/modules/V1/controllers/CategoryController.php\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 96 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/appapi/modules/V1/controllers/ArticleController.php"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"adbe6960722bff2067ebaaeb998e51ac0b9105eef5967fb2dd262b1fc502d143"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201317 lines \u00D7 3): app/appserver/modules/Customer/controllers/AccountController.php:95-105 | app/appserver/modules/Customer/controllers/ForgotController.php:38-48 | app/appserver/modules/Customer/controllers/RegisterController.php:212-228 \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/appserver/modules/Customer/controllers/AccountController.php"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"37a93960a21a5b98e588073899c46adb5c4ce5e9a08487c92cbfc893ef147ebe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 3): services/product/ProductMongodb.php:366-382 | services/product/ProductMongodb.php:1240-1256 | services/product/ProductMysqldb.php:467-483 \u2014 before extracting anything, compare \u0060services/product/ProductMongodb.php\u0060 and \u0060services/product/ProductMysqldb.php\u0060 as WHOLE FILES: this scan already matched 29 separate duplicated blocks between them, totalling at least 358 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 \u0060services/product/ProductMongodb.php:366\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":"services/product/ProductMongodb.php"},"region":{"startLine":366}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e68b20bd6bdc870fec4773283c6d94f0a8d71e1e08483c4866e308ab466cc71"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): app/appadmin/modules/Catalog/block/productinfo/Managerbatchedit.php:614-630 | app/appadmin/modules/Catalog/block/productinfo/Manageredit.php:571-587 \u2014 before extracting anything, compare \u0060app/appadmin/modules/Catalog/block/productinfo/Managerbatchedit.php\u0060 and \u0060app/appadmin/modules/Catalog/block/productinfo/Manageredit.php\u0060 as WHOLE FILES: this scan already matched 29 separate duplicated blocks between them, totalling at least 398 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/appadmin/modules/Catalog/block/productinfo/Managerbatchedit.php:614\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/appadmin/modules/Catalog/block/productinfo/Managerbatchedit.php"},"region":{"startLine":614}}}],"partialFingerprints":{"codehealthFindingId/v1":"2baa1df22ccd26714d43ebff67fb837adea54cb96ee78b30aef8592f3b716d37"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): app/appapi/modules/V1/controllers/ArticleController.php:47-63 | app/appapi/modules/V1/controllers/OrderController.php:81-97 \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/appapi/modules/V1/controllers/ArticleController.php"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"72c34f5cd7cf995b84078c7c6b1367da301687e1d97f384211c3e101d22ebc7e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): app/appapi/modules/V1/controllers/ArticleController.php:138-154 | app/appapi/modules/V1/controllers/CategoryController.php:482-498 \u2014 before extracting anything, compare \u0060app/appapi/modules/V1/controllers/ArticleController.php\u0060 and \u0060app/appapi/modules/V1/controllers/CategoryController.php\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 96 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/appapi/modules/V1/controllers/ArticleController.php"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"4605eba0635e92231088da7a819c6a5d9957b32517420034d460fd2776e29503"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201317 lines \u00D7 2): app/appfront/modules/Catalog/block/product/Index.php:63-79 | app/apphtml5/modules/Catalog/block/product/Index.php:58-70 \u2014 before extracting anything, compare \u0060app/appfront/modules/Catalog/block/product/Index.php\u0060 and \u0060app/apphtml5/modules/Catalog/block/product/Index.php\u0060 as WHOLE FILES: this scan already matched 21 separate duplicated blocks between them, totalling at least 409 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/appfront/modules/Catalog/block/product/Index.php:63\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060app/appfront/modules/Catalog/block/product/Index.php:60\u0060 calls \u0060get\u0060 and \u0060app/apphtml5/modules/Catalog/block/product/Index.php:57\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/appfront/modules/Catalog/block/product/Index.php"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"80ba0a74222b12c5106602131c1ffbc81f4dea34592eeb1a394bc11fea4169c6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): app/appfront/modules/Customer/block/contacts/Index.php:105-121 | app/apphtml5/modules/Customer/block/contacts/Index.php:105-121 \u2014 before extracting anything, compare \u0060app/appfront/modules/Customer/block/contacts/Index.php\u0060 and \u0060app/apphtml5/modules/Customer/block/contacts/Index.php\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 101 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/appfront/modules/Customer/block/contacts/Index.php:105\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/appfront/modules/Customer/block/contacts/Index.php"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"403bfb29fc5434d817744a35b597f7b6914276f008e004bad447dc774f54927a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): app/appfront/modules/Payment/controllers/CheckmoneyController.php:28-44 | app/apphtml5/modules/Payment/controllers/CheckmoneyController.php:28-44 \u2014 before extracting anything, compare \u0060app/appfront/modules/Payment/controllers/CheckmoneyController.php\u0060 and \u0060app/apphtml5/modules/Payment/controllers/CheckmoneyController.php\u0060 as WHOLE FILES: 94% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 2 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appfront/modules/Payment/controllers/CheckmoneyController.php"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"2333f8801d4047b0acb3a1969a4438575e103070e2784d7136442e86e2b57e5c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201317 lines \u00D7 2): app/appserver/modules/Catalog/controllers/ProductController.php:146-161 | app/appserver/modules/Catalog/controllers/ProductController.php:164-180 \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/appserver/modules/Catalog/controllers/ProductController.php:164\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/appserver/modules/Catalog/controllers/ProductController.php"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"f19c870ee13ab8a4e81d6d34f97d0d835b1c9b2ba6f18558d0cccf5c1324dfd1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201317 lines \u00D7 2): app/appserver/modules/Catalogsearch/controllers/IndexController.php:55-71 | app/appserver/modules/Catalogsearch/controllers/IndexController.php:123-132 \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/appserver/modules/Catalogsearch/controllers/IndexController.php"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"0069915d99bb745437b663e97ad988cc64da84c0b15afbe84460ae8ca9ecd7a0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201317 lines \u00D7 2): app/appserver/modules/Checkout/block/onepage/Placeorder.php:74-89 | app/appserver/modules/Checkout/block/onepage/Wxplaceorder.php:55-71 \u2014 before extracting anything, compare \u0060app/appserver/modules/Checkout/block/onepage/Placeorder.php\u0060 and \u0060app/appserver/modules/Checkout/block/onepage/Wxplaceorder.php\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 250 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/appserver/modules/Checkout/block/onepage/Placeorder.php:74\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/appserver/modules/Checkout/block/onepage/Placeorder.php"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"a79595f59ea1d6b1f5b8cbc3e86c56b2bd9246bd4a93aa67a68f0193caab38d6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201317 lines \u00D7 2): app/appserver/modules/Customer/controllers/LoginController.php:172-188 | app/appserver/modules/Customer/controllers/LoginController.php:270-285 \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/appserver/modules/Customer/controllers/LoginController.php"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"dad095347dd3d2df98906b11222fbe6a47eaf270c0ba77d69c6a60cc1405362c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): services/category/CategoryMongodb.php:707-723 | services/category/CategoryMysqldb.php:784-800 \u2014 before extracting anything, compare \u0060services/category/CategoryMongodb.php\u0060 and \u0060services/category/CategoryMysqldb.php\u0060 as WHOLE FILES: this scan already matched 22 separate duplicated blocks between them, totalling at least 274 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":"services/category/CategoryMongodb.php"},"region":{"startLine":707}}}],"partialFingerprints":{"codehealthFindingId/v1":"c08bf92b889a66f00a61015a545bcb17eedb3837b891351c15c611a134809a63"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): services/cms/staticblock/StaticBlockMongodb.php:92-108 | services/cms/staticblock/StaticBlockMysqldb.php:121-137 \u2014 before extracting anything, compare \u0060services/cms/staticblock/StaticBlockMongodb.php\u0060 and \u0060services/cms/staticblock/StaticBlockMysqldb.php\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 41 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 \u0060services/cms/staticblock/StaticBlockMongodb.php:92\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":"services/cms/staticblock/StaticBlockMongodb.php"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"e37a76901c434835f5203c97094ea3820246029fc52be7d26a88dcdb07a3f0a0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): services/cms/staticblock/StaticBlockMongodb.php:146-162 | services/cms/staticblock/StaticBlockMysqldb.php:174-190 \u2014 before extracting anything, compare \u0060services/cms/staticblock/StaticBlockMongodb.php\u0060 and \u0060services/cms/staticblock/StaticBlockMysqldb.php\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 41 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":"services/cms/staticblock/StaticBlockMongodb.php"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"3367c5c19b327e0cbbbdace2776dc0eb669f997f990638d3f3b817482b40e177"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): services/page/Widget.php:63-79 | services/page/Widget.php:113-129 \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":"services/page/Widget.php"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"20809e5b228b19bba1fcd7bbd59f13d0c8da08088b2064ec7ea70f05109afa98"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): services/product/Brand.php:242-258 | services/product/Brandcategory.php:229-245 \u2014 before extracting anything, compare \u0060services/product/Brand.php\u0060 and \u0060services/product/Brandcategory.php\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 144 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 \u0060services/product/Brand.php:242\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":"services/product/Brand.php"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"47fcc78fade2dca0b4b86d7f4c648257584fb28fccd01ef9f5de7a37f0b5b350"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): services/product/ProductApi.php:313-329 | services/product/ProductApi.php:766-782 \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 \u0060services/product/ProductApi.php:313\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, \u0060services/product/ProductApi.php:783\u0060 calls \u0060isset\u0060 and \u0060services/product/ProductApi.php:331\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":"services/product/ProductApi.php"},"region":{"startLine":313}}}],"partialFingerprints":{"codehealthFindingId/v1":"8475daf3ff423568d4c564cb1eb8d25bcb99aad5ce1fb42b3a14d60af93eedd5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): services/search/MongoSearch.php:154-170 | services/search/MysqlSearch.php:93-109 \u2014 before extracting anything, compare \u0060services/search/MongoSearch.php\u0060 and \u0060services/search/MysqlSearch.php\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 73 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 \u0060services/search/MongoSearch.php:154\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":"services/search/MongoSearch.php"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"10c446b253ad2345a3567052a3992e50de679500afc6c22317cc835d1a989134"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 9): app/appfront/modules/Catalog/controllers/CategoryController.php:55-70 | app/appfront/modules/Catalog/controllers/ProductController.php:54-69 | app/appfront/modules/Cms/controllers/ArticleController.php:54-69 | app/apphtml5/modules/Catalog/controllers/CategoryController.php:45-60 | app/apphtml5/modules/Catalog/controllers/ProductController.php:45-60 | app/apphtml5/modules/Cms/controllers/ArticleController.php:42-57 | app/appserver/modules/Catalog/controllers/CategoryController.php:63-78 | app/appserver/modules/Catalog/controllers/ProductController.php:55-70 | app/appserver/modules/Cms/controllers/ArticleController.php:58-73 \u2014 before extracting anything, compare \u0060app/appfront/modules/Catalog/controllers/CategoryController.php\u0060 and \u0060app/appfront/modules/Cms/controllers/ArticleController.php\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 74 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/appfront/modules/Catalog/controllers/CategoryController.php:55\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/appfront/modules/Catalog/controllers/CategoryController.php"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8c6b366c69f8d85f222722be72ca470ca023ed839cdd015d18b766fc6b0818d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201316 lines \u00D7 6): app/appfront/modules/Checkout/block/onepage/Index.php:358-371 | app/appfront/modules/Payment/block/paypal/express/Review.php:300-313 | app/apphtml5/modules/Checkout/block/onepage/Index.php:348-363 | app/apphtml5/modules/Payment/block/paypal/express/Review.php:300-313 | app/appserver/modules/Checkout/block/onepage/Index.php:382-395 | app/appserver/modules/Payment/block/paypal/express/Review.php:321-334 \u2014 before extracting anything, compare \u0060app/appfront/modules/Checkout/block/onepage/Index.php\u0060 and \u0060app/appfront/modules/Payment/block/paypal/express/Review.php\u0060 as WHOLE FILES: this scan already matched 19 separate duplicated blocks between them, totalling at least 242 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/appfront/modules/Checkout/block/onepage/Index.php"},"region":{"startLine":358}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e56f0a9e836834d40043185fa88e5576475d0aec24365f2eabd6aef25b31cbe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201316 lines \u00D7 4): services/extension/Administer.php:81-96 | services/extension/Administer.php:131-146 | services/extension/Administer.php:192-206 | services/extension/Administer.php:241-256 \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 \u0060services/extension/Administer.php:81\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":"services/extension/Administer.php"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"9700a491784a3ca998c72a17c44e1828715dcf6f5c1c14f132b21699198bd7e8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 3): app/appfront/modules/Catalog/block/category/Index.php:58-73 | app/apphtml5/modules/Catalog/block/category/Index.php:59-74 | app/appserver/modules/Catalog/controllers/CategoryController.php:113-128 \u2014 before extracting anything, compare \u0060app/appfront/modules/Catalog/block/category/Index.php\u0060 and \u0060app/apphtml5/modules/Catalog/block/category/Index.php\u0060 as WHOLE FILES: this scan already matched 25 separate duplicated blocks between them, totalling at least 393 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/appfront/modules/Catalog/block/category/Index.php"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"7afbdd56cfea57448eed7b3bd1788db8368613fe6c750d036fd4f0ac86a70a35"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201316 lines \u00D7 3): app/appfront/modules/Catalogsearch/block/index/Index.php:363-378 | app/apphtml5/modules/Catalogsearch/block/index/Index.php:386-401 | app/appserver/modules/Catalogsearch/controllers/IndexController.php:451-465 \u2014 before extracting anything, compare \u0060app/appfront/modules/Catalogsearch/block/index/Index.php\u0060 and \u0060app/apphtml5/modules/Catalogsearch/block/index/Index.php\u0060 as WHOLE FILES: this scan already matched 19 separate duplicated blocks between them, totalling at least 295 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/appfront/modules/Catalogsearch/block/index/Index.php"},"region":{"startLine":363}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d9d0edac91bf4c055466670bd1e5062d32fecbc020ec69d97f58e659a0858a2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201316 lines \u00D7 3): app/appfront/modules/Customer/block/account/Register.php:84-99 | app/apphtml5/modules/Customer/block/account/Register.php:75-90 | app/appserver/modules/Customer/controllers/RegisterController.php:47-60 \u2014 before extracting anything, compare \u0060app/appfront/modules/Customer/block/account/Register.php\u0060 and \u0060app/apphtml5/modules/Customer/block/account/Register.php\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 49 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Note first that the copies are not typed on the same thing: \u0060Email\u0060 names \u0060fecshop\\app\\appfront\\helper\\mailer\\Email\u0060 in one and \u0060fecshop\\app\\apphtml5\\helper\\mailer\\Email\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appfront/modules/Customer/block/account/Register.php"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"f33a42731cbb7f2ab57aef21df4d2c8da6b6c91d384c326a75161783070959ad"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 3): services/Customer.php:760-775 | services/Customer.php:806-821 | services/adminUser/UserLogin.php:59-74 \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":"services/Customer.php"},"region":{"startLine":760}}}],"partialFingerprints":{"codehealthFindingId/v1":"fabd37f95685e14847bdde36dd3ff23cee75f6b59e9006b6488a1fc1a285fe4d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 3): services/Sitemap.php:156-171 | services/Sitemap.php:209-224 | services/Sitemap.php:261-276 \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 \u0060services/Sitemap.php:156\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":"services/Sitemap.php"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"3efd7ffc16a2c30477aad0bad1a5317e668e22dd81de56c1d9e7b7c6eea5736e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 3): services/product/ProductMysqldb.php:479-494 | services/product/ProductMysqldb.php:610-625 | services/product/ProductMysqldb.php:1458-1473 \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":"services/product/ProductMysqldb.php"},"region":{"startLine":479}}}],"partialFingerprints":{"codehealthFindingId/v1":"421415ddfbd4e204816b221ac28c6b05a772b32f042568b08bcb7053dd67872f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 3): services/product/ProductMysqldb.php:526-541 | services/product/ProductMysqldb.php:630-645 | services/product/ProductMysqldb.php:1528-1543 \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 \u0060services/product/ProductMysqldb.php:526\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":"services/product/ProductMysqldb.php"},"region":{"startLine":526}}}],"partialFingerprints":{"codehealthFindingId/v1":"426aa0a3ddf49b8bb296545e7bdec2f4f6cba6529f6ebd1f08db4d3b5112aa99"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 3): services/search/MongoSearch.php:365-380 | services/search/MysqlSearch.php:307-322 | services/search/XunSearch.php:258-273 \u2014 before extracting anything, compare \u0060services/search/MongoSearch.php\u0060 and \u0060services/search/MysqlSearch.php\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 73 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 \u0060services/search/MongoSearch.php:365\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060services/search/MongoSearch.php:364\u0060 calls \u0060array_slice\u0060 and \u0060services/search/MysqlSearch.php:305\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":"services/search/MongoSearch.php"},"region":{"startLine":365}}}],"partialFingerprints":{"codehealthFindingId/v1":"80dddc0bcf4656021586f67b7e781cd9e0f66f6b63109a3a0db6951b999936d9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201316 lines \u00D7 2): app/appadmin/modules/Catalog/block/productfavorite/Index.php:160-172 | app/appadmin/modules/Catalog/block/productreview/Index.php:238-253 \u2014 \u0060app/appadmin/modules/Catalog/block/productfavorite/Index.php\u0060 and \u0060app/appadmin/modules/Catalog/block/productreview/Index.php\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 11 separate duplicated blocks between them, totalling at least 143 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/appadmin/modules/Catalog/block/productfavorite/Index.php:160\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/appadmin/modules/Catalog/block/productfavorite/Index.php"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a90d7686780d6c03a1cea56762bdb71e02aca022f747108eee6b47f188079a8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): app/appadmin/modules/Catalog/block/productinfo/Managerbatchedit.php:423-438 | app/appadmin/modules/Catalog/block/productinfo/Manageredit.php:422-437 \u2014 before extracting anything, compare \u0060app/appadmin/modules/Catalog/block/productinfo/Managerbatchedit.php\u0060 and \u0060app/appadmin/modules/Catalog/block/productinfo/Manageredit.php\u0060 as WHOLE FILES: this scan already matched 29 separate duplicated blocks between them, totalling at least 398 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/appadmin/modules/Catalog/block/productinfo/Managerbatchedit.php"},"region":{"startLine":423}}}],"partialFingerprints":{"codehealthFindingId/v1":"2dc4b741ec6dd828584ef0b602c05201cfab21983cd9116b641bcafa94dd62ad"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): app/appadmin/modules/Catalog/block/productinfo/index/Attr.php:71-86 | app/appadmin/modules/Catalog/block/productinfo/index/BatchAttr.php:71-86 \u2014 before extracting anything, compare \u0060app/appadmin/modules/Catalog/block/productinfo/index/Attr.php\u0060 and \u0060app/appadmin/modules/Catalog/block/productinfo/index/BatchAttr.php\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 33 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/appadmin/modules/Catalog/block/productinfo/index/Attr.php"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"d66bc7d6a5e987bb18bd6147226e41bd11123bd5df58088f77fac60bf1a122e6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): app/appapi/modules/AppapiController.php:47-62 | app/console/modules/ConsoleController.php:29-44 \u2014 before extracting anything, compare \u0060app/appapi/modules/AppapiController.php\u0060 and \u0060app/console/modules/ConsoleController.php\u0060 as WHOLE FILES: 84% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. 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/appapi/modules/AppapiController.php"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f284bf7fbf9a3cc7d23d9522da97c11589300cdbd6e09de2ce1b06f368f2ad7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): app/appfront/modules/Checkout/block/cart/Index.php:68-83 | app/apphtml5/modules/Checkout/block/cart/Index.php:58-73 \u2014 before extracting anything, compare \u0060app/appfront/modules/Checkout/block/cart/Index.php\u0060 and \u0060app/apphtml5/modules/Checkout/block/cart/Index.php\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 95 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/appfront/modules/Checkout/block/cart/Index.php"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f11c95063602e9a677f6240d7f7aa9e670b4bc7f55b730d88e7cfb1496a38df"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (4\u201316 lines \u00D7 6): app/appfront/modules/Checkout/block/cart/Index.php:124-139 | app/appfront/modules/Checkout/block/onepage/Index.php:292-295 | app/appfront/modules/Payment/block/paypal/express/Review.php:234-237 | app/apphtml5/modules/Checkout/block/cart/Index.php:113-128 | app/apphtml5/modules/Checkout/block/onepage/Index.php:282-285 | app/apphtml5/modules/Payment/block/paypal/express/Review.php:234-237 \u2014 \u0060app/appfront/modules/Checkout/block/cart/Index.php\u0060 and \u0060app/appfront/modules/Checkout/block/onepage/Index.php\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 6 separate duplicated blocks between them, totalling at least 65 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/appfront/modules/Checkout/block/cart/Index.php:124\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on. 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/appfront/modules/Checkout/block/cart/Index.php:124\u0060 calls \u0060getUrl\u0060 and \u0060app/appfront/modules/Checkout/block/onepage/Index.php:292\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/appfront/modules/Checkout/block/cart/Index.php"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"21ff70806ec304f578fac3d43b42a8c4acc7e97bfb2ce1f2cbd75c6e75db35ab"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201316 lines \u00D7 2): app/appfront/modules/Customer/controllers/AccountController.php:92-107 | app/apphtml5/modules/Customer/controllers/AccountController.php:100-114 \u2014 before extracting anything, compare \u0060app/appfront/modules/Customer/controllers/AccountController.php\u0060 and \u0060app/apphtml5/modules/Customer/controllers/AccountController.php\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 82 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/appfront/modules/Customer/controllers/AccountController.php:92\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/apphtml5/modules/Customer/controllers/AccountController.php:116\u0060 calls \u0060loginSuccessRedirect\u0060 and \u0060app/appfront/modules/Customer/controllers/AccountController.php:108\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/appfront/modules/Customer/controllers/AccountController.php"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ba35acf918ae5633cac8a3b3aa2605224b41533dc2bbe94c763bd4b3322935b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): app/appfront/modules/Customer/controllers/AccountController.php:120-135 | app/apphtml5/modules/Customer/controllers/AccountController.php:127-142 \u2014 before extracting anything, compare \u0060app/appfront/modules/Customer/controllers/AccountController.php\u0060 and \u0060app/apphtml5/modules/Customer/controllers/AccountController.php\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 82 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/appfront/modules/Customer/controllers/AccountController.php"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"4874114b4913dde9ee8ab06a5115951d686fb80a8e24342b0f0395f7d8864bb8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): app/appfront/modules/Payment/block/success/Index.php:22-37 | app/apphtml5/modules/Payment/block/success/Index.php:22-37 \u2014 before extracting anything, compare \u0060app/appfront/modules/Payment/block/success/Index.php\u0060 and \u0060app/apphtml5/modules/Payment/block/success/Index.php\u0060 as WHOLE FILES: 96% 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/appfront/modules/Payment/block/success/Index.php"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f1657196d1b50a7e0bfe4abae455a1fe342285ab8ac80e1c6d0e928849cb83e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): app/appserver/modules/Catalog/controllers/CategoryController.php:638-653 | app/appserver/modules/Cms/controllers/HomeController.php:136-151 \u2014 before extracting anything, compare \u0060app/appserver/modules/Catalog/controllers/CategoryController.php\u0060 and \u0060app/appserver/modules/Cms/controllers/HomeController.php\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 32 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/appserver/modules/Catalog/controllers/CategoryController.php:638\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/appserver/modules/Catalog/controllers/CategoryController.php"},"region":{"startLine":638}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf46823050d8a9585f00cb3d20f3e5845e35dbeeb5ff9429c968028f8ec166ef"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): app/appserver/modules/Checkout/controllers/CartController.php:399-414 | app/appserver/modules/Checkout/controllers/CartController.php:424-439 \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/appserver/modules/Checkout/controllers/CartController.php:399\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appserver/modules/Checkout/controllers/CartController.php"},"region":{"startLine":399}}}],"partialFingerprints":{"codehealthFindingId/v1":"a11bbf8d3e5b693b6a4b48b83d32e23aebfddd9842090cc3e372e149b51bed59"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): services/Customer.php:860-875 | services/adminUser/UserLogin.php:121-136 \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 \u0060services/Customer.php:860\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"services/Customer.php"},"region":{"startLine":860}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e6363ed3bccd15993339c4c1a36290a3500b3572b2663a718ea326fdcecc96c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): services/admin/Menu.php:172-187 | services/admin/Menu.php:214-229 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"services/admin/Menu.php"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b88063cab8ca53a60a5e5106848b4cd5ee9a51e9b7382d1be2a3777b864d64a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (4\u201316 lines \u00D7 3): services/category/CategoryMysqldb.php:250-265 | services/category/CategoryMysqldb.php:304-319 | services/category/CategoryMysqldb.php:754-757 \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 \u0060services/category/CategoryMysqldb.php:250\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 after the matched lines, \u0060services/category/CategoryMysqldb.php:266\u0060 calls \u0060foreach\u0060, \u0060unserialize\u0060 and \u0060services/category/CategoryMysqldb.php:321\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":"services/category/CategoryMysqldb.php"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"f300b43a82ad045133649ee989c439b8c4b4c7611a258b4d5ea5e0adf32ba2ab"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201316 lines \u00D7 2): services/cms/article/ArticleMysqldb.php:227-242 | services/url/rewrite/RewriteMysqldb.php:158-172 \u2014 before extracting anything, compare \u0060services/cms/article/ArticleMysqldb.php\u0060 and \u0060services/url/rewrite/RewriteMysqldb.php\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 39 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 \u0060services/cms/article/ArticleMysqldb.php:227\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060services/cms/article/ArticleMysqldb.php:226\u0060 calls \u0060removeRewriteUrlKey\u0060 and \u0060services/url/rewrite/RewriteMysqldb.php:157\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":"services/cms/article/ArticleMysqldb.php"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"4268dee1401bb690cf64305dcf77f16e797eebc0006e6a73df92f8f9f20bd687"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201316 lines \u00D7 2): services/product/ProductApi.php:326-341 | services/product/ProductApi.php:788-798 \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":"services/product/ProductApi.php"},"region":{"startLine":326}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3a5297f8f733c83d796941a480db81bcc7575ff0aa914d1de099bc917417d87"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201315 lines \u00D7 13): app/appadmin/modules/AppadminbaseBlock.php:572-583 | app/appadmin/modules/Catalog/block/category/Product.php:412-425 | app/appadmin/modules/Catalog/block/productfavorite/Index.php:208-222 | app/appadmin/modules/Catalog/block/productreview/Index.php:289-303 | app/appadmin/modules/Catalog/block/urlrewrite/Index.php:189-203 | app/appadmin/modules/Cms/block/article/Index.php:220-234 | app/appadmin/modules/Cms/block/staticblock/Index.php:235-249 | app/appadmin/modules/Customer/block/contacts/Index.php:217-228 | app/appadmin/modules/Customer/block/newsletter/Index.php:221-232 | app/appadmin/modules/Sales/block/coupon/Manager.php:252-265 | app/appadmin/modules/Sales/block/orderinfo/Manager.php:276-290 | app/appadmin/modules/System/block/error/Index.php:214-228 | app/appadmin/modules/System/block/extensioninstalled/Manager.php:258-272 \u2014 before extracting anything, compare \u0060app/appadmin/modules/AppadminbaseBlock.php\u0060 and \u0060app/appadmin/modules/Catalog/block/category/Product.php\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 158 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/appadmin/modules/AppadminbaseBlock.php:572\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/appadmin/modules/AppadminbaseBlock.php:585\u0060 calls \u0060__\u0060 and \u0060app/appadmin/modules/Customer/block/newsletter/Index.php:233\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/appadmin/modules/AppadminbaseBlock.php"},"region":{"startLine":572}}}],"partialFingerprints":{"codehealthFindingId/v1":"aeb551a2d8f9d7053ef503bae0061ffa7501c5d9f18b3092d4058c135b81c573"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 11): services/admin/Config.php:75-89 | services/admin/Role.php:89-103 | services/admin/RoleUrlKey.php:79-93 | services/admin/SystemLog.php:85-99 | services/admin/UrlKey.php:110-124 | services/admin/UserRole.php:79-93 | services/adminUser/AdminUser.php:112-126 | services/cms/article/ArticleMysqldb.php:131-145 | services/cms/staticblock/StaticBlockMysqldb.php:97-111 | services/product/Brand.php:98-112 | services/product/Brandcategory.php:83-97 \u2014 before extracting anything, compare \u0060services/admin/Role.php\u0060 and \u0060services/admin/UserRole.php\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 37 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":"services/admin/Config.php"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"7714474a2deb864a6cc07e37bb6e769f70aa72e81c790b1218139b0b23b1c014"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 6): services/product/ProductMongodb.php:373-387 | services/product/ProductMongodb.php:512-526 | services/product/ProductMongodb.php:1247-1261 | services/product/ProductMysqldb.php:474-488 | services/product/ProductMysqldb.php:605-619 | services/product/ProductMysqldb.php:1453-1467 \u2014 before extracting anything, compare \u0060services/product/ProductMongodb.php\u0060 and \u0060services/product/ProductMysqldb.php\u0060 as WHOLE FILES: this scan already matched 29 separate duplicated blocks between them, totalling at least 358 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 \u0060services/product/ProductMongodb.php:373\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060services/product/ProductMysqldb.php:1451\u0060 calls \u0060unserializeData\u0060 and \u0060services/product/ProductMongodb.php:371\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":"services/product/ProductMongodb.php"},"region":{"startLine":373}}}],"partialFingerprints":{"codehealthFindingId/v1":"a24593961d7841c64d405e53721bf9c45d0bfa9da9c4fb947fe2400c95d4721b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 5): app/appfront/modules/Payment/block/paypal/express/Placeorder.php:208-222 | app/appfront/modules/Payment/block/paypal/standard/Placeorder.php:156-170 | app/apphtml5/modules/Payment/block/paypal/express/Placeorder.php:208-222 | app/apphtml5/modules/Payment/block/paypal/standard/Placeorder.php:156-170 | app/appserver/modules/Payment/block/paypal/standard/Placeorder.php:170-184 \u2014 before extracting anything, compare \u0060app/appfront/modules/Payment/block/paypal/express/Placeorder.php\u0060 and \u0060app/apphtml5/modules/Payment/block/paypal/express/Placeorder.php\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 188 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/appfront/modules/Payment/block/paypal/express/Placeorder.php:208\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appfront/modules/Payment/block/paypal/express/Placeorder.php"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"cec89230eeaf2139e6eaaa5658ab77a908487f4baf22cb60d823cd3fe08da7c8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201315 lines \u00D7 5): services/helper/Wx.php:34-48 | services/payment/Wxpay.php:48-62 | services/payment/WxpayH5.php:48-62 | services/payment/WxpayJsApi.php:48-62 | services/payment/WxpayMicro.php:47-60 \u2014 before extracting anything, compare \u0060services/payment/Wxpay.php\u0060 and \u0060services/payment/WxpayH5.php\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 204 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060services/payment/Wxpay.php:47\u0060 calls \u0060ini_set\u0060 and \u0060services/helper/Wx.php:33\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":"services/helper/Wx.php"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f471be3b213e6fdbe5b6f8ef8ef337f0e0e009d3e94d85602f1e6a9fae2f633"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 4): services/payment/Wxpay.php:139-153 | services/payment/WxpayH5.php:132-146 | services/payment/WxpayJsApi.php:136-150 | services/payment/WxpayMicro.php:134-148 \u2014 before extracting anything, compare \u0060services/payment/Wxpay.php\u0060 and \u0060services/payment/WxpayH5.php\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 204 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":"services/payment/Wxpay.php"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"17588931c7169314ba24141c30dcd944efd1e3a21da1aeff7fabaa4a63efee23"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 3): app/appadmin/modules/AppadminbaseBlock.php:520-534 | app/appadmin/modules/Catalog/block/productbrand/Manager.php:175-189 | app/appadmin/modules/Customer/block/contacts/Index.php:165-179 \u2014 before extracting anything, compare \u0060app/appadmin/modules/AppadminbaseBlock.php\u0060 and \u0060app/appadmin/modules/Catalog/block/productbrand/Manager.php\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 80 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/appadmin/modules/AppadminbaseBlock.php:520\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/appadmin/modules/AppadminbaseBlock.php"},"region":{"startLine":520}}}],"partialFingerprints":{"codehealthFindingId/v1":"be68e54ff3eb248cd4c330030d4b6c7ff4c53d705ad8deec7e0e27e1a1419b75"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201315 lines \u00D7 3): app/appadmin/modules/AppadminbaseBlockEdit.php:289-303 | app/appadmin/modules/Fecadmin/block/account/Manageredit.php:245-257 | app/appadmin/modules/Fecadmin/block/config/Manageredit.php:176-187 \u2014 \u0060app/appadmin/modules/Fecadmin/block/account/Manageredit.php\u0060 and \u0060app/appadmin/modules/Fecadmin/block/config/Manageredit.php\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 4 separate duplicated blocks between them, totalling at least 80 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/appadmin/modules/AppadminbaseBlockEdit.php:289\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/appadmin/modules/AppadminbaseBlockEdit.php"},"region":{"startLine":289}}}],"partialFingerprints":{"codehealthFindingId/v1":"589a4621f91d296f1449a30dc08ed9714ac7133eab89f38cbe05e3e4074f2002"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 3): app/appfront/modules/Catalog/block/product/Index.php:111-125 | app/apphtml5/modules/Catalog/block/product/Index.php:100-114 | app/appserver/modules/Catalog/controllers/ProductController.php:341-355 \u2014 before extracting anything, compare \u0060app/appfront/modules/Catalog/block/product/Index.php\u0060 and \u0060app/apphtml5/modules/Catalog/block/product/Index.php\u0060 as WHOLE FILES: this scan already matched 21 separate duplicated blocks between them, totalling at least 409 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/appfront/modules/Catalog/block/product/Index.php:111\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/appfront/modules/Catalog/block/product/Index.php"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"17bfa65bc73078534fb82c70c4c784f7f91071e7eb7fa1307f30f2ac9becccf9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 3): app/appfront/modules/Customer/block/productreview/Index.php:26-40 | app/apphtml5/modules/Customer/block/productreview/Index.php:26-40 | app/appserver/modules/Customer/controllers/ProductreviewController.php:31-45 \u2014 before extracting anything, compare \u0060app/appfront/modules/Customer/block/productreview/Index.php\u0060 and \u0060app/apphtml5/modules/Customer/block/productreview/Index.php\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 54 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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060app/appfront/modules/Customer/block/productreview/Index.php:42\u0060 calls \u0060getProductPage\u0060 and \u0060app/appserver/modules/Customer/controllers/ProductreviewController.php:46\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/appfront/modules/Customer/block/productreview/Index.php"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"d91965c2a58be04e7e89c5ebac4019d9b9e409902710fda41500472144f813e5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 3): app/appfront/modules/Payment/block/paypal/express/Placeorder.php:59-73 | app/apphtml5/modules/Payment/block/paypal/express/Placeorder.php:59-73 | app/appserver/modules/Payment/block/paypal/express/Placeorder.php:65-79 \u2014 before extracting anything, compare \u0060app/appfront/modules/Payment/block/paypal/express/Placeorder.php\u0060 and \u0060app/apphtml5/modules/Payment/block/paypal/express/Placeorder.php\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 188 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/appfront/modules/Payment/block/paypal/express/Placeorder.php"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"53fe999a9fd21d05876b21b76f27670190b6ec92fb548d065c0b78b29f4552a2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): app/appadmin/modules/System/controllers/AdminurlkeyController.php:26-40 | app/appadmin/modules/System/controllers/ExtensiongiiController.php:27-41 \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/appadmin/modules/System/controllers/AdminurlkeyController.php"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ecef53b372666eb7e205b020c6422653daa5f1744c0ad8b3d9660622cc8bc4c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): app/appfront/modules/Catalog/block/category/Index.php:485-499 | app/apphtml5/modules/Catalog/block/category/Index.php:472-486 \u2014 before extracting anything, compare \u0060app/appfront/modules/Catalog/block/category/Index.php\u0060 and \u0060app/apphtml5/modules/Catalog/block/category/Index.php\u0060 as WHOLE FILES: this scan already matched 25 separate duplicated blocks between them, totalling at least 393 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/appfront/modules/Catalog/block/category/Index.php:485\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/appfront/modules/Catalog/block/category/Index.php"},"region":{"startLine":485}}}],"partialFingerprints":{"codehealthFindingId/v1":"8691cdbfe3c1466af5ada9b2846fc2420b33bd32035a9f6ccfb4925f8d094da7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): app/appfront/modules/Catalog/helpers/Review.php:82-96 | app/apphtml5/modules/Catalog/helpers/Review.php:81-95 \u2014 before extracting anything, compare \u0060app/appfront/modules/Catalog/helpers/Review.php\u0060 and \u0060app/apphtml5/modules/Catalog/helpers/Review.php\u0060 as WHOLE FILES: 94% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 2 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appfront/modules/Catalog/helpers/Review.php"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c65bb4d884b6906db6d2e2f8cd2cb00c7bb6739463dd9842997cfbd80aee907"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): app/appfront/modules/Checkout/controllers/CartController.php:115-129 | app/appserver/modules/Checkout/controllers/CartController.php:239-253 \u2014 before extracting anything, compare \u0060app/appfront/modules/Checkout/controllers/CartController.php\u0060 and \u0060app/appserver/modules/Checkout/controllers/CartController.php\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 47 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/appfront/modules/Checkout/controllers/CartController.php:115\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/appfront/modules/Checkout/controllers/CartController.php"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b1c9d3af5cea014049b299a457e4f6537bde6d9eae53e7275349d076423598d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): app/appfront/modules/Customer/block/order/Reorder.php:22-36 | app/apphtml5/modules/Customer/block/order/Reorder.php:22-36 \u2014 before extracting anything, compare \u0060app/appfront/modules/Customer/block/order/Reorder.php\u0060 and \u0060app/apphtml5/modules/Customer/block/order/Reorder.php\u0060 as WHOLE FILES: 97% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 2 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appfront/modules/Customer/block/order/Reorder.php"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fb26f6ac99a53615371a8bb818e832dfffbbe1df0ef3b37bc0639814668faa2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): app/appfront/modules/Customer/controllers/AccountController.php:184-198 | app/apphtml5/modules/Customer/controllers/AccountController.php:197-211 \u2014 before extracting anything, compare \u0060app/appfront/modules/Customer/controllers/AccountController.php\u0060 and \u0060app/apphtml5/modules/Customer/controllers/AccountController.php\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 82 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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060app/appfront/modules/Customer/controllers/AccountController.php:199\u0060 calls \u0060breadcrumbs\u0060, \u0060__\u0060 and \u0060app/apphtml5/modules/Customer/controllers/AccountController.php:213\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/appfront/modules/Customer/controllers/AccountController.php"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"d83fec3213b1f2589c494f4e2a412aa246faa35d19295930f68d97c4d91843cb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): app/appfront/modules/Payment/controllers/paypal/ExpressController.php:40-54 | app/apphtml5/modules/Payment/controllers/paypal/ExpressController.php:40-54 \u2014 before extracting anything, compare \u0060app/appfront/modules/Payment/controllers/paypal/ExpressController.php\u0060 and \u0060app/apphtml5/modules/Payment/controllers/paypal/ExpressController.php\u0060 as WHOLE FILES: 94% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 2 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appfront/modules/Payment/controllers/paypal/ExpressController.php"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"5873c3dc2cd0fa0921203d45c5ce7a9e24575f985ebb1b9056bf72f8547fee02"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201315 lines \u00D7 2): app/appserver/modules/Catalog/controllers/CategoryController.php:138-152 | app/appserver/modules/Catalog/controllers/CategoryController.php:232-241 \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/appserver/modules/Catalog/controllers/CategoryController.php"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1d3d98c3bd0f57098cceb5befb40208247381549c4b74e64f497f8e92a1b8f6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): app/appserver/modules/Catalog/controllers/CategoryController.php:694-709 | app/appserver/modules/Catalogsearch/controllers/IndexController.php:414-428 \u2014 before extracting anything, compare \u0060app/appserver/modules/Catalog/controllers/CategoryController.php\u0060 and \u0060app/appserver/modules/Catalogsearch/controllers/IndexController.php\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 118 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/appserver/modules/Catalog/controllers/CategoryController.php:694\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/appserver/modules/Catalog/controllers/CategoryController.php"},"region":{"startLine":694}}}],"partialFingerprints":{"codehealthFindingId/v1":"15e1acea665ed7291946423ea66a239b2bba95349ae0749299c8c7e731fa5301"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201315 lines \u00D7 2): services/Image.php:227-241 | services/helper/ZipFile.php:112-125 \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":"services/Image.php"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"72aa52733944f05aeebffcce091c3404246f2899cb380f3738994abc1dbb5e23"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): services/Image.php:255-269 | services/Image.php:274-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. 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":"services/Image.php"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"aef28ac7db875667c9b5ea54ac34b57c488f11ce487c39261bfbf73108e792e6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201315 lines \u00D7 2): services/Url.php:92-105 | services/Url.php:147-161 \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":"services/Url.php"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f1bfab216949be8dab46ca9ccae369437cc2f6b848048727bd4d0ac6d3c938a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): services/category/CategoryMongodb.php:492-506 | services/category/CategoryMysqldb.php:559-573 \u2014 before extracting anything, compare \u0060services/category/CategoryMongodb.php\u0060 and \u0060services/category/CategoryMysqldb.php\u0060 as WHOLE FILES: this scan already matched 22 separate duplicated blocks between them, totalling at least 274 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":"services/category/CategoryMongodb.php"},"region":{"startLine":492}}}],"partialFingerprints":{"codehealthFindingId/v1":"73408f21b48d14a5cb41ed612f1c8de74c12878623f6ee0cdb6b8c45a26c475f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): services/category/CategoryMongodb.php:535-549 | services/category/CategoryMysqldb.php:603-617 \u2014 before extracting anything, compare \u0060services/category/CategoryMongodb.php\u0060 and \u0060services/category/CategoryMysqldb.php\u0060 as WHOLE FILES: this scan already matched 22 separate duplicated blocks between them, totalling at least 274 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 \u0060services/category/CategoryMongodb.php:535\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":"services/category/CategoryMongodb.php"},"region":{"startLine":535}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbb60e958446e5d554469f83ef331cdf2667978025553e01816c0830c19496d0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201315 lines \u00D7 2): services/order/Item.php:122-134 | services/order/Item.php:151-165 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060services/order/Item.php:122\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":"services/order/Item.php"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c674414d2dc044cf68fd5d517905f60d58315dc1be46f741bc00b5ec7dd6d1b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): services/product/ProductMongodb.php:445-459 | services/product/ProductMongodb.php:1341-1355 \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 \u0060services/product/ProductMongodb.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. 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":"services/product/ProductMongodb.php"},"region":{"startLine":445}}}],"partialFingerprints":{"codehealthFindingId/v1":"1940595d94520f26163734118d312eb244f3248c79468554baf71036f8f95495"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201315 lines \u00D7 2): services/product/ProductMysqldb.php:541-553 | services/product/ProductMysqldb.php:1544-1558 \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 \u0060services/product/ProductMysqldb.php:541\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, \u0060services/product/ProductMysqldb.php:554\u0060 calls \u0060foreach\u0060, \u0060unserialize\u0060 and \u0060services/product/ProductMysqldb.php:1560\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":"services/product/ProductMysqldb.php"},"region":{"startLine":541}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bec532da2c9171574023b492e1cb61439d4c33be6deae5babfd490d24587ee1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): services/product/favorite/FavoriteMysqldb.php:181-195 | services/product/favorite/FavoriteMysqldb.php:204-218 \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":"services/product/favorite/FavoriteMysqldb.php"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cfee83319b14e0e18ba73775dd41f011685d36885353efe82dc7e2f52e70ce4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 10): app/appfront/modules/Catalog/controllers/CategoryController.php:51-64 | app/appfront/modules/Catalog/controllers/ProductController.php:50-63 | app/appfront/modules/Cms/controllers/ArticleController.php:50-63 | app/apphtml5/modules/Catalog/controllers/CategoryController.php:41-54 | app/apphtml5/modules/Catalog/controllers/ProductController.php:41-54 | app/apphtml5/modules/Cms/controllers/ArticleController.php:38-51 | app/appserver/modules/Catalog/controllers/CategoryController.php:59-72 | app/appserver/modules/Catalog/controllers/ProductController.php:51-64 | app/appserver/modules/Cms/controllers/ArticleController.php:54-67 | app/appserver/modules/General/controllers/BaseController.php:24-37 \u2014 before extracting anything, compare \u0060app/appfront/modules/Catalog/controllers/CategoryController.php\u0060 and \u0060app/appfront/modules/Cms/controllers/ArticleController.php\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 74 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/appfront/modules/Catalog/controllers/CategoryController.php:51\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/appfront/modules/Catalog/controllers/CategoryController.php"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"24d9966fbc2ebc10121542250c22c0d1dd460aaa46687122a09035b533e807a7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 6): app/appadmin/modules/AppadminbaseBlock.php:453-466 | app/appadmin/modules/Catalog/block/category/Product.php:438-451 | app/appadmin/modules/Catalog/block/productfavorite/Index.php:236-249 | app/appadmin/modules/Catalog/block/urlrewrite/Index.php:217-230 | app/appadmin/modules/Customer/block/newsletter/Index.php:146-159 | app/appadmin/modules/System/block/error/Index.php:262-275 \u2014 before extracting anything, compare \u0060app/appadmin/modules/AppadminbaseBlock.php\u0060 and \u0060app/appadmin/modules/Catalog/block/category/Product.php\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 158 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/appadmin/modules/AppadminbaseBlock.php:453\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060app/appadmin/modules/AppadminbaseBlock.php:469\u0060 calls \u0060__\u0060 and \u0060app/appadmin/modules/Catalog/block/category/Product.php:455\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/appadmin/modules/AppadminbaseBlock.php"},"region":{"startLine":453}}}],"partialFingerprints":{"codehealthFindingId/v1":"072f9dcb1944acfaa7661abcd4144dd5fe11bbb67ccb784cf2fe01f5cf5bf03f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 6): services/Extension.php:157-170 | services/StoreDomain.php:153-166 | services/admin/RoleUrlKey.php:212-225 | services/helper/ScriptDate.php:154-167 | services/product/Brand.php:196-209 | services/product/Brandcategory.php:197-210 \u2014 before extracting anything, compare \u0060services/Extension.php\u0060 and \u0060services/StoreDomain.php\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 82 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 \u0060services/Extension.php:157\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":"services/Extension.php"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e82ed4ac7f9038147adca385ef919a2bfd2ea3cb12c4f3e705daf7a2c2c839b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 6): services/extension/Administer.php:65-78 | services/extension/Administer.php:115-128 | services/extension/Administer.php:176-189 | services/extension/Administer.php:225-238 | services/extension/Administer.php:286-299 | services/extension/Administer.php:342-354 \u2014 all 6 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060services/extension/Administer.php:65\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":"services/extension/Administer.php"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"469b38fc10466fb8b6c31f58782c625e2c7c6119649c891f4c1f3a4887829633"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 5): app/appadmin/modules/AppadminController.php:105-117 | app/appadmin/modules/Fecadmin/controllers/LoginController.php:124-136 | app/appadmin/modules/Fecadmin/controllers/LogoutController.php:91-103 | app/appfront/modules/AppfrontController.php:115-128 | app/apphtml5/modules/AppfrontController.php:109-122 \u2014 before extracting anything, compare \u0060app/appadmin/modules/AppadminController.php\u0060 and \u0060app/appadmin/modules/Fecadmin/controllers/LoginController.php\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 32 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/appadmin/modules/AppadminController.php"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"6456ae75e9994ffdf05c98badfb094b39a91839b96cd0d7e08bde83a388e854b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 4): app/appfront/modules/Catalog/block/category/Index.php:386-398 | app/appfront/modules/Catalogsearch/block/index/Index.php:265-278 | app/apphtml5/modules/Catalog/block/category/Index.php:373-385 | app/apphtml5/modules/Catalogsearch/block/index/Index.php:288-301 \u2014 before extracting anything, compare \u0060app/appfront/modules/Catalog/block/category/Index.php\u0060 and \u0060app/appfront/modules/Catalogsearch/block/index/Index.php\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 114 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/appfront/modules/Catalog/block/category/Index.php:386\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/appfront/modules/Catalog/block/category/Index.php"},"region":{"startLine":386}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7535f350971cb5ab09c6fc4688a10a87ea516bf727c63503a42afb69f287499"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 4): app/appfront/modules/Checkout/block/onepage/Placeorder.php:270-283 | app/appfront/modules/Payment/block/paypal/express/Placeorder.php:215-228 | app/apphtml5/modules/Checkout/block/onepage/Placeorder.php:257-270 | app/apphtml5/modules/Payment/block/paypal/express/Placeorder.php:215-228 \u2014 before extracting anything, compare \u0060app/appfront/modules/Checkout/block/onepage/Placeorder.php\u0060 and \u0060app/apphtml5/modules/Checkout/block/onepage/Placeorder.php\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 292 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. 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/appfront/modules/Checkout/block/onepage/Placeorder.php"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"c17425801bd9bf88ae822cbf58a46a4bae7da7fb93d1874e201a6031e717d21f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 4): services/payment/Wxpay.php:370-383 | services/payment/WxpayH5.php:381-394 | services/payment/WxpayJsApi.php:368-381 | services/payment/WxpayMicro.php:353-366 \u2014 before extracting anything, compare \u0060services/payment/Wxpay.php\u0060 and \u0060services/payment/WxpayH5.php\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 204 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. 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":"services/payment/Wxpay.php"},"region":{"startLine":370}}}],"partialFingerprints":{"codehealthFindingId/v1":"540da2622b479db4cdf60dca256f2a73ade5b5072bd338fb0e9d55ca02ed49f3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3): app/appfront/modules/Catalog/block/product/Index.php:419-432 | app/apphtml5/modules/Catalog/block/product/Index.php:408-421 | app/appserver/modules/Catalog/controllers/ProductController.php:651-664 \u2014 before extracting anything, compare \u0060app/appfront/modules/Catalog/block/product/Index.php\u0060 and \u0060app/apphtml5/modules/Catalog/block/product/Index.php\u0060 as WHOLE FILES: this scan already matched 21 separate duplicated blocks between them, totalling at least 409 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/appfront/modules/Catalog/block/product/Index.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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060app/appserver/modules/Catalog/controllers/ProductController.php:665\u0060 calls \u0060getPrimaryKey\u0060 and \u0060app/appfront/modules/Catalog/block/product/Index.php:434\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/appfront/modules/Catalog/block/product/Index.php"},"region":{"startLine":419}}}],"partialFingerprints":{"codehealthFindingId/v1":"370d86674fe5b45b743e9612ab2c18a8e2dfe170365ae60291333777c9b1084d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3): app/appfront/modules/Catalog/block/product/Index.php:535-548 | app/apphtml5/modules/Catalog/block/product/Index.php:523-536 | app/appserver/modules/Catalog/controllers/ProductController.php:767-780 \u2014 before extracting anything, compare \u0060app/appfront/modules/Catalog/block/product/Index.php\u0060 and \u0060app/apphtml5/modules/Catalog/block/product/Index.php\u0060 as WHOLE FILES: this scan already matched 21 separate duplicated blocks between them, totalling at least 409 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. 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/appfront/modules/Catalog/block/product/Index.php:534\u0060 calls \u0060breadcrumbs\u0060 and \u0060app/apphtml5/modules/Catalog/block/product/Index.php:521\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/appfront/modules/Catalog/block/product/Index.php"},"region":{"startLine":535}}}],"partialFingerprints":{"codehealthFindingId/v1":"74bd058ebe1196ba9c9a1438e50c9536db7ce3070ceaff69ded41e73420d7fe7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3): app/appfront/modules/Catalog/block/reviewproduct/Add.php:178-191 | app/apphtml5/modules/Catalog/block/reviewproduct/Add.php:179-192 | app/appserver/modules/Catalog/block/reviewproduct/Add.php:141-154 \u2014 before extracting anything, compare \u0060app/appfront/modules/Catalog/block/reviewproduct/Add.php\u0060 and \u0060app/apphtml5/modules/Catalog/block/reviewproduct/Add.php\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 140 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/appfront/modules/Catalog/block/reviewproduct/Add.php"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"c183423ae737ab452cbb6fcc65431fc5ace3dbfda6945ad70484a0adb61b2b5f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3): app/appfront/modules/Checkout/block/onepage/Index.php:169-182 | app/apphtml5/modules/Checkout/block/onepage/Index.php:159-172 | app/appserver/modules/Checkout/block/onepage/Index.php:181-194 \u2014 before extracting anything, compare \u0060app/appfront/modules/Checkout/block/onepage/Index.php\u0060 and \u0060app/apphtml5/modules/Checkout/block/onepage/Index.php\u0060 as WHOLE FILES: this scan already matched 28 separate duplicated blocks between them, totalling at least 423 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/appfront/modules/Checkout/block/onepage/Index.php:169\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/appfront/modules/Checkout/block/onepage/Index.php"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba4cd0add0811a67167481d277ad5f46169929160fa897222190691650b05461"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3): app/appfront/modules/Customer/controllers/FacebookController.php:30-43 | app/apphtml5/modules/Customer/controllers/FacebookController.php:29-42 | app/appserver/modules/Customer/controllers/FacebookController.php:29-42 \u2014 before extracting anything, compare \u0060app/appfront/modules/Customer/controllers/FacebookController.php\u0060 and \u0060app/apphtml5/modules/Customer/controllers/FacebookController.php\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 80 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/appfront/modules/Customer/controllers/FacebookController.php:30\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appfront/modules/Customer/controllers/FacebookController.php"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d6ebee5932d934d2f9f44477d14779847d9920ad335473a46345f5885023aad"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 3): app/appserver/modules/Catalog/controllers/CategoryController.php:133-146 | app/appserver/modules/Catalog/controllers/CategoryController.php:180-193 | app/appserver/modules/Catalog/controllers/CategoryController.php:227-239 \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. 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/appserver/modules/Catalog/controllers/CategoryController.php"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"62840fdaa4cb35121aea529d053237e683b4e3594062693a763ab9bf1a1e0e15"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): app/appfront/modules/Catalog/block/product/Index.php:569-582 | app/apphtml5/modules/Catalog/block/product/Index.php:565-578 \u2014 before extracting anything, compare \u0060app/appfront/modules/Catalog/block/product/Index.php\u0060 and \u0060app/apphtml5/modules/Catalog/block/product/Index.php\u0060 as WHOLE FILES: this scan already matched 21 separate duplicated blocks between them, totalling at least 409 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/appfront/modules/Catalog/block/product/Index.php:569\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/appfront/modules/Catalog/block/product/Index.php"},"region":{"startLine":569}}}],"partialFingerprints":{"codehealthFindingId/v1":"67fb61cdc00a26de2f0dff891120ad7b528b79862985a19051a606b9797be608"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): app/appfront/modules/Catalog/block/reviewproduct/Add.php:101-114 | app/apphtml5/modules/Catalog/block/reviewproduct/Add.php:102-115 \u2014 before extracting anything, compare \u0060app/appfront/modules/Catalog/block/reviewproduct/Add.php\u0060 and \u0060app/apphtml5/modules/Catalog/block/reviewproduct/Add.php\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 140 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/appfront/modules/Catalog/block/reviewproduct/Add.php"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"c24b469a9f1c8cda0235da5aa3b0456f771ad81a805377bec121814c8ef8d2fd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 2): app/appfront/modules/Checkout/controllers/CartController.php:102-114 | app/apphtml5/modules/Checkout/controllers/CartController.php:96-109 \u2014 before extracting anything, compare \u0060app/appfront/modules/Checkout/controllers/CartController.php\u0060 and \u0060app/apphtml5/modules/Checkout/controllers/CartController.php\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 191 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/appfront/modules/Checkout/controllers/CartController.php:102\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/appfront/modules/Checkout/controllers/CartController.php"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ebe063cb94974ea4d5e940d3998a4b037de3bf37a85abb0920a74ebc27b2306"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): app/appfront/modules/Cms/block/article/Index.php:41-54 | app/apphtml5/modules/Cms/block/article/Index.php:36-49 \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/appfront/modules/Cms/block/article/Index.php:41\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/appfront/modules/Cms/block/article/Index.php"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"3dc5049637a1e6c933d6ffe37ac82399f48d551f2b9e8095497ad068a74bbe8c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): app/appfront/modules/Cms/block/home/Index.php:69-82 | app/apphtml5/modules/Cms/block/home/Index.php:67-80 \u2014 before extracting anything, compare \u0060app/appfront/modules/Cms/block/home/Index.php\u0060 and \u0060app/apphtml5/modules/Cms/block/home/Index.php\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 31 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/appfront/modules/Cms/block/home/Index.php"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"54d0ea41f3c80e860359a59423d90a3837bf2eda08a87bff3ce39c4a25068d6b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): app/appfront/modules/Customer/controllers/ProductfavoriteController.php:25-38 | app/apphtml5/modules/Customer/controllers/ProductfavoriteController.php:25-38 \u2014 before extracting anything, compare \u0060app/appfront/modules/Customer/controllers/ProductfavoriteController.php\u0060 and \u0060app/apphtml5/modules/Customer/controllers/ProductfavoriteController.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. 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/appfront/modules/Customer/controllers/ProductfavoriteController.php"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a36eea18d044edf4f787dc43c02a6afefdf861bbb2dd6df248e0a588af9b3d9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): app/appfront/modules/Payment/block/paypal/express/Start.php:28-41 | app/apphtml5/modules/Payment/block/paypal/express/Start.php:27-40 \u2014 before extracting anything, compare \u0060app/appfront/modules/Payment/block/paypal/express/Start.php\u0060 and \u0060app/apphtml5/modules/Payment/block/paypal/express/Start.php\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 81 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appfront/modules/Payment/block/paypal/express/Start.php"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"887389f46d4a338e36c45ddc98dabdda0a513ee40ff13a98c75150da0e10840f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 2): app/appinstall/modules/Database/controllers/ConfigController.php:660-672 | services/Helper.php:242-255 \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/appinstall/modules/Database/controllers/ConfigController.php:660\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060services/Helper.php:256\u0060 calls \u0060add\u0060 and \u0060app/appinstall/modules/Database/controllers/ConfigController.php:674\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/appinstall/modules/Database/controllers/ConfigController.php"},"region":{"startLine":660}}}],"partialFingerprints":{"codehealthFindingId/v1":"55b6707e9bd8c96db78a4e1ca8de4cfdf11f4b6f6ab111b45d5ba4a714eed901"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): lib/alipay/aop/AopClient.php:666-679 | lib/alipay/aop/AopClient.php:751-764 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/alipay/aop/AopClient.php"},"region":{"startLine":666}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0cc486128cb691301115df4ef602a8fb984351e054247f4e34587179f5ccbec"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): lib/alipay/lotusphp_runtime/Cache/CacheConfigBuilder.php:26-39 | lib/alipay/lotusphp_runtime/DB/DbConfigBuilder.php:69-82 \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 \u0060lib/alipay/lotusphp_runtime/Cache/CacheConfigBuilder.php:26\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":"lib/alipay/lotusphp_runtime/Cache/CacheConfigBuilder.php"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ab0af23de9ceacf79c7c5264832f79259c7fa5ef04750938af380b1e36ff1e5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): services/category/CategoryMongodb.php:149-162 | services/category/CategoryMysqldb.php:213-226 \u2014 before extracting anything, compare \u0060services/category/CategoryMongodb.php\u0060 and \u0060services/category/CategoryMysqldb.php\u0060 as WHOLE FILES: this scan already matched 22 separate duplicated blocks between them, totalling at least 274 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 \u0060services/category/CategoryMongodb.php:149\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060services/category/CategoryMongodb.php:163\u0060 calls \u0060ObjectId\u0060, \u0060getPrimaryKey\u0060 and \u0060services/category/CategoryMysqldb.php:227\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":"services/category/CategoryMongodb.php"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"eac72af4a8aaf1910c08f34695b94f75ef367a281eb4fc62a51eb721dbbd45f8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): services/category/CategoryMysqldb.php:581-594 | services/category/CategoryMysqldb.php:611-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 \u0060services/category/CategoryMysqldb.php:581\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":"services/category/CategoryMysqldb.php"},"region":{"startLine":581}}}],"partialFingerprints":{"codehealthFindingId/v1":"db3ceddaf933a0e932db69d0988dd64974f736de71ce4af3555aab55d5a6d70f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): services/cms/article/ArticleMysqldb.php:251-264 | services/url/rewrite/RewriteMysqldb.php:180-193 \u2014 before extracting anything, compare \u0060services/cms/article/ArticleMysqldb.php\u0060 and \u0060services/url/rewrite/RewriteMysqldb.php\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 39 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 \u0060services/cms/article/ArticleMysqldb.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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060services/cms/article/ArticleMysqldb.php:250\u0060 calls \u0060removeRewriteUrlKey\u0060 and \u0060services/url/rewrite/RewriteMysqldb.php:179\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":"services/cms/article/ArticleMysqldb.php"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"153aa77f893573efb36648a89264da112fbf7ec3ddd9932b5a35c29b82ccfb02"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): services/customer/Address.php:269-282 | services/customer/Address.php:287-300 \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 \u0060services/customer/Address.php:269\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":"services/customer/Address.php"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"89a9460a137154efd68bcc6e819916a182b737e277934019929e786b4bb8fc62"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): services/product/ProductApi.php:59-72 | services/product/ProductApi.php:555-568 \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 \u0060services/product/ProductApi.php:59\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":"services/product/ProductApi.php"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"a85c71e16e4c9d6060ebebf6876bf3589b1e02901558424cc2f4dc8a7d63e372"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 2): services/product/ProductMongodb.php:808-821 | services/product/ProductMysqldb.php:957-969 \u2014 before extracting anything, compare \u0060services/product/ProductMongodb.php\u0060 and \u0060services/product/ProductMysqldb.php\u0060 as WHOLE FILES: this scan already matched 29 separate duplicated blocks between them, totalling at least 358 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 \u0060services/product/ProductMongodb.php:808\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":"services/product/ProductMongodb.php"},"region":{"startLine":808}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f9cc110346e25c807f1303f5d5dd64c8077659a1147d1c698189916d792909e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): services/product/favorite/FavoriteMongodb.php:181-194 | services/product/favorite/FavoriteMongodb.php:203-216 \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":"services/product/favorite/FavoriteMongodb.php"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"83b7c22e89ce61c73ffd98506e4736ba5fad6c8a67ce3ea4aaa7fc028134218c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): services/product/review/ReviewMongodb.php:271-284 | services/product/review/ReviewMysqldb.php:287-300 \u2014 before extracting anything, compare \u0060services/product/review/ReviewMongodb.php\u0060 and \u0060services/product/review/ReviewMysqldb.php\u0060 as WHOLE FILES: this scan already matched 14 separate duplicated blocks between them, totalling at least 206 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 \u0060services/product/review/ReviewMongodb.php:271\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060services/product/review/ReviewMongodb.php:285\u0060 calls \u0060ObjectId\u0060, \u0060getPrimaryKey\u0060 and \u0060services/product/review/ReviewMysqldb.php:301\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":"services/product/review/ReviewMongodb.php"},"region":{"startLine":271}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf777e344680d1ea93467bc3c25a9fda89d735e756580d5a1a77afa040079f8f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): services/url/rewrite/RewriteMongodb.php:100-113 | services/url/rewrite/RewriteMysqldb.php:124-137 \u2014 before extracting anything, compare \u0060services/url/rewrite/RewriteMongodb.php\u0060 and \u0060services/url/rewrite/RewriteMysqldb.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 3 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060services/url/rewrite/RewriteMongodb.php:100\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":"services/url/rewrite/RewriteMongodb.php"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a0ed0ec6f0d438ffea75cb753977004c045e99cee568b16cf24d92eca92c3a2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 15): app/appadmin/modules/AppadminbaseBlock.php:538-550 | app/appadmin/modules/Catalog/block/category/Product.php:381-393 | app/appadmin/modules/Catalog/block/productbrand/Manager.php:193-205 | app/appadmin/modules/Catalog/block/productfavorite/Index.php:177-189 | app/appadmin/modules/Catalog/block/productinfo/Index.php:312-324 | app/appadmin/modules/Catalog/block/productreview/Index.php:258-270 | app/appadmin/modules/Catalog/block/urlrewrite/Index.php:158-170 | app/appadmin/modules/Cms/block/article/Index.php:189-201 | app/appadmin/modules/Cms/block/staticblock/Index.php:204-216 | app/appadmin/modules/Customer/block/contacts/Index.php:183-195 | app/appadmin/modules/Customer/block/newsletter/Index.php:187-199 | app/appadmin/modules/Sales/block/coupon/Manager.php:221-233 | app/appadmin/modules/Sales/block/orderinfo/Manager.php:245-257 | app/appadmin/modules/System/block/error/Index.php:183-195 | app/appadmin/modules/System/block/extensioninstalled/Manager.php:227-239 \u2014 before extracting anything, compare \u0060app/appadmin/modules/AppadminbaseBlock.php\u0060 and \u0060app/appadmin/modules/Catalog/block/category/Product.php\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 158 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/appadmin/modules/AppadminbaseBlock.php:538\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/appadmin/modules/AppadminbaseBlock.php"},"region":{"startLine":538}}}],"partialFingerprints":{"codehealthFindingId/v1":"33749276216557fe548033f0a1e1bbd2eba5f80b7d64a541d3b092f18db45dc2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201313 lines \u00D7 14): app/appfront/modules/Checkout/block/onepage/Index.php:149-161 | app/appfront/modules/Checkout/block/onepage/Index.php:193-205 | app/appfront/modules/Payment/block/paypal/express/Review.php:89-101 | app/appfront/modules/Payment/block/paypal/express/Review.php:428-437 | app/appfront/modules/Payment/block/paypal/express/Review.php:447-456 | app/apphtml5/modules/Checkout/block/onepage/Index.php:139-151 | app/apphtml5/modules/Checkout/block/onepage/Index.php:183-195 | app/apphtml5/modules/Payment/block/paypal/express/Review.php:89-101 | app/apphtml5/modules/Payment/block/paypal/express/Review.php:428-437 | app/apphtml5/modules/Payment/block/paypal/express/Review.php:447-456 | app/appserver/modules/Checkout/block/onepage/Index.php:161-173 | app/appserver/modules/Checkout/block/onepage/Index.php:205-217 | app/appserver/modules/Payment/block/paypal/express/Review.php:104-116 | app/appserver/modules/Payment/block/paypal/express/Review.php:463-472 \u2014 before extracting anything, compare \u0060app/appfront/modules/Checkout/block/onepage/Index.php\u0060 and \u0060app/appfront/modules/Payment/block/paypal/express/Review.php\u0060 as WHOLE FILES: this scan already matched 19 separate duplicated blocks between them, totalling at least 242 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/appfront/modules/Checkout/block/onepage/Index.php:149\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060app/appfront/modules/Payment/block/paypal/express/Review.php:426\u0060 calls \u0060setValue\u0060 and \u0060app/appfront/modules/Payment/block/paypal/express/Review.php:446\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/appfront/modules/Checkout/block/onepage/Index.php"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"387648f7a5766e1155a5d897a47c672de685e40d13621c89f66bcc3659a6afe5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 6): app/appadmin/modules/Config/block/appfrontstore/Manageredit.php:51-63 | app/appadmin/modules/Config/block/apphtml5store/Manageredit.php:51-63 | app/appadmin/modules/Config/block/appserverstore/Manager.php:83-94 | app/appadmin/modules/Config/block/paymentalipay/Manager.php:93-104 | app/appadmin/modules/Config/block/paymentpaypal/Manager.php:80-91 | app/appadmin/modules/Config/block/paymentwxpay/Manager.php:83-94 \u2014 \u0060app/appadmin/modules/Config/block/appfrontstore/Manageredit.php\u0060 and \u0060app/appadmin/modules/Config/block/apphtml5store/Manageredit.php\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 3 separate duplicated blocks between them, totalling at least 56 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/appadmin/modules/Config/block/appfrontstore/Manageredit.php:51\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060app/appadmin/modules/Config/block/appserverstore/Manager.php:80\u0060 calls \u0060getStatusDeleted\u0060, \u0060getStatusActive\u0060 and \u0060app/appadmin/modules/Config/block/appfrontstore/Manageredit.php:50\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/appadmin/modules/Config/block/appfrontstore/Manageredit.php"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"67f645d8dd75ab19ae369dbd5868d4656a81545bea59040b5e9929dbb0058f8d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 6): app/appfront/modules/Checkout/block/onepage/Index.php:105-117 | app/appfront/modules/Payment/block/paypal/express/Review.php:142-154 | app/apphtml5/modules/Checkout/block/onepage/Index.php:95-107 | app/apphtml5/modules/Payment/block/paypal/express/Review.php:142-154 | app/appserver/modules/Checkout/block/onepage/Index.php:114-126 | app/appserver/modules/Payment/block/paypal/express/Review.php:157-169 \u2014 before extracting anything, compare \u0060app/appfront/modules/Checkout/block/onepage/Index.php\u0060 and \u0060app/appfront/modules/Payment/block/paypal/express/Review.php\u0060 as WHOLE FILES: this scan already matched 19 separate duplicated blocks between them, totalling at least 242 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/appfront/modules/Checkout/block/onepage/Index.php:105\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/appfront/modules/Checkout/block/onepage/Index.php"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba50e7d513d671daafd6eb8e701f4ce3aee130473e1e5a130bf37070966644f1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 6): services/admin/Config.php:44-56 | services/admin/RoleUrlKey.php:48-60 | services/admin/SystemLog.php:54-66 | services/adminUser/AdminUser.php:81-93 | services/product/Brand.php:51-63 | services/product/Brandcategory.php:51-63 \u2014 before extracting anything, compare \u0060services/admin/RoleUrlKey.php\u0060 and \u0060services/product/Brand.php\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 63 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. 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":"services/admin/Config.php"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"306c5fd13f0f81b120e8b982d2057802bece933f93a4920f647f937523565064"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201313 lines \u00D7 5): app/appserver/modules/Checkout/controllers/OnepageController.php:105-117 | app/appserver/modules/Customer/controllers/AddressController.php:225-234 | app/appserver/modules/Customer/controllers/AddressController.php:245-255 | app/appserver/modules/Customer/controllers/LoginController.php:148-158 | app/appserver/modules/Customer/controllers/RegisterController.php:237-249 \u2014 there are 5 copies across 4 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 5 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/appserver/modules/Checkout/controllers/OnepageController.php:105\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/appserver/modules/Checkout/controllers/OnepageController.php"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"a443ef10dda0621a7f91c25a0f9bba2e17d0970fc5d11286d0ce4ecf0e0a6948"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201313 lines \u00D7 5): app/appserver/modules/Customer/controllers/LoginController.php:27-39 | app/appserver/modules/Customer/controllers/LoginController.php:101-112 | app/appserver/modules/Customer/controllers/LoginController.php:141-152 | app/appserver/modules/Customer/controllers/RegisterController.php:101-111 | app/appserver/modules/Customer/controllers/RegisterController.php:198-209 \u2014 there are 5 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 5 sites; resolving a subset leaves the remainder to drift apart. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060app/appserver/modules/Customer/controllers/LoginController.php:40\u0060 calls \u0060post\u0060 and \u0060app/appserver/modules/Customer/controllers/LoginController.php:113\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/appserver/modules/Customer/controllers/LoginController.php"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5729c7d25d0ccdf9f665eb14cf529f19f9e725324db4cd9b992bfdf7e13ff43"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 4): app/appadmin/modules/Catalog/controllers/ProductinfoController.php:38-50 | app/appadmin/modules/Catalog/controllers/ProductinfoController.php:97-109 | app/appadmin/modules/Catalog/controllers/ProductinfoController.php:131-142 | app/appadmin/modules/Catalog/controllers/ProductinfoController.php:148-160 \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/appadmin/modules/Catalog/controllers/ProductinfoController.php:38\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appadmin/modules/Catalog/controllers/ProductinfoController.php"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9c414f5f55851fadd3ce093782a4deee7d199f6b1270c2b0ecb42c462b25e67"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 4): app/appfront/modules/Catalogsearch/block/index/Index.php:239-251 | app/apphtml5/modules/Catalogsearch/block/index/Index.php:262-274 | app/appserver/modules/Catalogsearch/controllers/IndexController.php:272-284 | services/Category.php:456-468 \u2014 before extracting anything, compare \u0060app/appfront/modules/Catalogsearch/block/index/Index.php\u0060 and \u0060app/apphtml5/modules/Catalogsearch/block/index/Index.php\u0060 as WHOLE FILES: this scan already matched 19 separate duplicated blocks between them, totalling at least 295 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. 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/appfront/modules/Catalogsearch/block/index/Index.php"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"54f79c0d250f916a43a9473b1cc72fe7ee9a2bbcbd8398023c463fcf42865e9b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 4): app/appfront/modules/Catalogsearch/block/index/Index.php:332-344 | app/apphtml5/modules/Catalogsearch/block/index/Index.php:355-367 | app/appserver/modules/Catalogsearch/controllers/IndexController.php:330-342 | app/appserver/modules/Catalogsearch/controllers/IndexController.php:393-405 \u2014 before extracting anything, compare \u0060app/appfront/modules/Catalogsearch/block/index/Index.php\u0060 and \u0060app/apphtml5/modules/Catalogsearch/block/index/Index.php\u0060 as WHOLE FILES: this scan already matched 19 separate duplicated blocks between them, totalling at least 295 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/appfront/modules/Catalogsearch/block/index/Index.php"},"region":{"startLine":332}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f51a5d2d23d8729aa82948596696836125f644d850267977c266e3742b0b055"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3): app/appapi/modules/V1/controllers/ArticleController.php:44-56 | app/appapi/modules/V1/controllers/OrderController.php:78-90 | app/appapi/modules/V1/controllers/ProductController.php:61-73 \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/appapi/modules/V1/controllers/ArticleController.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/appapi/modules/V1/controllers/ArticleController.php"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"fba9b1a2ca25f812e27727f89915e640b9ab967fd3aef1c3ba63177a058c45d6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3): app/appfront/modules/Catalog/block/category/Index.php:514-526 | app/apphtml5/modules/Catalog/block/category/Index.php:501-513 | app/appserver/modules/Catalog/controllers/CategoryController.php:752-764 \u2014 before extracting anything, compare \u0060app/appfront/modules/Catalog/block/category/Index.php\u0060 and \u0060app/apphtml5/modules/Catalog/block/category/Index.php\u0060 as WHOLE FILES: this scan already matched 25 separate duplicated blocks between them, totalling at least 393 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/appfront/modules/Catalog/block/category/Index.php"},"region":{"startLine":514}}}],"partialFingerprints":{"codehealthFindingId/v1":"97b83f2a4a1c0714d1fb03a6d354e0018f5899c00fe238b73f379bf51bee7b1d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3): app/appfront/modules/Checkout/controllers/CartController.php:110-122 | app/apphtml5/modules/Checkout/controllers/CartController.php:105-117 | app/appserver/modules/Checkout/controllers/CartController.php:234-246 \u2014 before extracting anything, compare \u0060app/appfront/modules/Checkout/controllers/CartController.php\u0060 and \u0060app/apphtml5/modules/Checkout/controllers/CartController.php\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 191 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/appfront/modules/Checkout/controllers/CartController.php:110\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/appfront/modules/Checkout/controllers/CartController.php"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5e9b3b598ef5e708c0d99894f5ad962b386e386e0c84f13fc77fc7eaa77bf44"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 3): app/appfront/modules/Customer/block/contacts/Index.php:23-35 | app/apphtml5/modules/Customer/block/contacts/Index.php:23-34 | app/appserver/modules/Customer/controllers/ContactController.php:39-51 \u2014 before extracting anything, compare \u0060app/appfront/modules/Customer/block/contacts/Index.php\u0060 and \u0060app/apphtml5/modules/Customer/block/contacts/Index.php\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 101 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/appfront/modules/Customer/block/contacts/Index.php"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"796a79f87ce98f8a48a99a200b3624e88cb493a76b0d0d5a199016fd409ec153"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3): app/appserver/modules/Catalog/controllers/CategoryController.php:694-707 | app/appserver/modules/Catalogsearch/controllers/IndexController.php:414-426 | app/appserver/modules/Wx/controllers/HomeController.php:139-152 \u2014 before extracting anything, compare \u0060app/appserver/modules/Catalog/controllers/CategoryController.php\u0060 and \u0060app/appserver/modules/Catalogsearch/controllers/IndexController.php\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 118 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/appserver/modules/Catalog/controllers/CategoryController.php:694\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/appserver/modules/Catalog/controllers/CategoryController.php"},"region":{"startLine":694}}}],"partialFingerprints":{"codehealthFindingId/v1":"a73bdca6092418fdd4b8311e998370f11bed5a68b9e498de75b84e8d269b4229"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (1\u201313 lines \u00D7 3): app/appadmin/modules/Catalog/block/productinfo/Imageupload.php:54-54 | app/appadmin/modules/Catalog/block/productinfo/Managerbatchedit.php:297-309 | app/appadmin/modules/Catalog/block/productinfo/Manageredit.php:296-308 \u2014 before extracting anything, compare \u0060app/appadmin/modules/Catalog/block/productinfo/Managerbatchedit.php\u0060 and \u0060app/appadmin/modules/Catalog/block/productinfo/Manageredit.php\u0060 as WHOLE FILES: this scan already matched 29 separate duplicated blocks between them, totalling at least 398 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/appadmin/modules/Catalog/block/productinfo/Managerbatchedit.php:297\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/appadmin/modules/Catalog/block/productinfo/Imageupload.php"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7cd87d44de17ad66ee6a0d32bfd8ba96dcc03f444b61fd16015896342352fbe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): app/appadmin/modules/Catalog/block/productinfo/Managerbatchedit.php:317-329 | app/appadmin/modules/Catalog/block/productinfo/Manageredit.php:316-328 \u2014 before extracting anything, compare \u0060app/appadmin/modules/Catalog/block/productinfo/Managerbatchedit.php\u0060 and \u0060app/appadmin/modules/Catalog/block/productinfo/Manageredit.php\u0060 as WHOLE FILES: this scan already matched 29 separate duplicated blocks between them, totalling at least 398 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/appadmin/modules/Catalog/block/productinfo/Managerbatchedit.php:317\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/appadmin/modules/Catalog/block/productinfo/Managerbatchedit.php"},"region":{"startLine":317}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b5c46ccbdbe4e686e459b1992e9973e7f9f697af9a9321d08dfc14a3b60f501"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): app/appapi/modules/V1/controllers/ProductattrgroupController.php:120-132 | app/appapi/modules/V1/controllers/ProductattrgroupController.php:225-237 \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/appapi/modules/V1/controllers/ProductattrgroupController.php"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae02d4562293e7072fc31252873ab64fb91ab277cace8d6547038385e4fe7a25"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): app/appfront/modules/Customer/block/address/Edit.php:99-111 | app/apphtml5/modules/Customer/block/address/Edit.php:89-101 \u2014 before extracting anything, compare \u0060app/appfront/modules/Customer/block/address/Edit.php\u0060 and \u0060app/apphtml5/modules/Customer/block/address/Edit.php\u0060 as WHOLE FILES: this scan already matched 5 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/appfront/modules/Customer/block/address/Edit.php"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"e57940bf609dbd02248df77cce4c41406a618346fb1f38a5d3ea77665f776132"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): app/appserver/modules/Catalog/controllers/CategoryController.php:718-730 | app/appserver/modules/Catalogsearch/controllers/IndexController.php:438-450 \u2014 before extracting anything, compare \u0060app/appserver/modules/Catalog/controllers/CategoryController.php\u0060 and \u0060app/appserver/modules/Catalogsearch/controllers/IndexController.php\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 118 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/appserver/modules/Catalog/controllers/CategoryController.php"},"region":{"startLine":718}}}],"partialFingerprints":{"codehealthFindingId/v1":"86d72563239eb0431aced766211339bf6767d874bb4a61873b6172b34d9cad42"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): services/Email.php:300-312 | services/Email.php:314-326 \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":"services/Email.php"},"region":{"startLine":300}}}],"partialFingerprints":{"codehealthFindingId/v1":"22e74a2b0ede02a9003a9920bd6d91c02e03f5715be58227ffac5020bffd7d42"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201313 lines \u00D7 2): services/Helper.php:196-205 | services/Helper.php:235-247 \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 \u0060services/Helper.php:196\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":"services/Helper.php"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"62e7b6e2f59bd629ba71a5e0129db34151d03c532c433a00183a5637340cd7bd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): services/Order.php:763-775 | services/Order.php:814-826 \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 \u0060services/Order.php:763\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":"services/Order.php"},"region":{"startLine":763}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c64ebe71317223ca85bfd92791b6121638e6153bfbc22ba38a77d11a72d42f2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): services/Sitemap.php:48-63 | services/Sitemap.php:77-89 \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 \u0060services/Sitemap.php:48\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":"services/Sitemap.php"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9880ee20c26067d877ffa7cb02873d9711e6e92d4cca3bbb8e619b33ea15b09"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): services/admin/Role.php:58-70 | services/admin/UserRole.php:47-59 \u2014 before extracting anything, compare \u0060services/admin/Role.php\u0060 and \u0060services/admin/UserRole.php\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 37 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":"services/admin/Role.php"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ade247930aaa8d7b9de0741b86fe1d3047f5a2091c3a0adcd21b8dff675eaf7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): services/category/CategoryMongodb.php:514-526 | services/category/CategoryMongodb.php:543-555 \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 \u0060services/category/CategoryMongodb.php:514\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":"services/category/CategoryMongodb.php"},"region":{"startLine":514}}}],"partialFingerprints":{"codehealthFindingId/v1":"003942f54dc377626265302a3df932100d4f252bba3dd0ecebf194474e22326f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): services/payment/Paypal.php:569-581 | services/payment/Paypal.php:689-701 \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 \u0060services/payment/Paypal.php:569\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":"services/payment/Paypal.php"},"region":{"startLine":569}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5d4c897934303267f25e4e5b80ee204e7e9b9a5b8f9c5de5b7dde8fbab3af64"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): services/product/ProductApi.php:88-100 | services/product/ProductApi.php:593-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":"services/product/ProductApi.php"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d17c6e9f17c9d6ea0030a19be47a7ecf7d6b75724270ae2434d83cedfaee527"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201313 lines \u00D7 2): services/product/ProductMongodb.php:132-142 | services/product/ProductMysqldb.php:160-172 \u2014 before extracting anything, compare \u0060services/product/ProductMongodb.php\u0060 and \u0060services/product/ProductMysqldb.php\u0060 as WHOLE FILES: this scan already matched 29 separate duplicated blocks between them, totalling at least 358 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":"services/product/ProductMongodb.php"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"2927bfbbf6449e47bd72a2e139e1ba07dc13f67112602a75734db2fc0d8fd89f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): services/product/ProductMongodb.php:630-642 | services/product/ProductMysqldb.php:708-720 \u2014 before extracting anything, compare \u0060services/product/ProductMongodb.php\u0060 and \u0060services/product/ProductMysqldb.php\u0060 as WHOLE FILES: this scan already matched 29 separate duplicated blocks between them, totalling at least 358 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 \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":"services/product/ProductMongodb.php"},"region":{"startLine":630}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbd18c8f6528cd93b8d1dbecfb9a9edec45dfd38209b23a92924f8c967e88cb1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): services/product/ProductMongodb.php:844-856 | services/product/ProductMongodb.php:865-877 \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 \u0060services/product/ProductMongodb.php:844\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":"services/product/ProductMongodb.php"},"region":{"startLine":844}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae08d31c4d3c092377d85e715eaaef6cc296cc1cbc0ce69faf6b9e2025450eb4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): services/product/ProductMongodb.php:1169-1181 | services/product/ProductMysqldb.php:1374-1386 \u2014 before extracting anything, compare \u0060services/product/ProductMongodb.php\u0060 and \u0060services/product/ProductMysqldb.php\u0060 as WHOLE FILES: this scan already matched 29 separate duplicated blocks between them, totalling at least 358 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 \u0060services/product/ProductMongodb.php:1169\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":"services/product/ProductMongodb.php"},"region":{"startLine":1169}}}],"partialFingerprints":{"codehealthFindingId/v1":"46232bddcf363d555714340cf3b8b8d1580de12fd8b03d413d593d6b15349ff6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): services/product/ProductMongodb.php:1223-1235 | services/product/ProductMysqldb.php:1427-1439 \u2014 before extracting anything, compare \u0060services/product/ProductMongodb.php\u0060 and \u0060services/product/ProductMysqldb.php\u0060 as WHOLE FILES: this scan already matched 29 separate duplicated blocks between them, totalling at least 358 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 \u0060services/product/ProductMongodb.php:1223\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":"services/product/ProductMongodb.php"},"region":{"startLine":1223}}}],"partialFingerprints":{"codehealthFindingId/v1":"2756df0110939a3c2c578c36c9ee7512cf417e946129360270599f1387a12d76"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): services/product/review/ReviewMongodb.php:349-361 | services/product/review/ReviewMysqldb.php:364-376 \u2014 before extracting anything, compare \u0060services/product/review/ReviewMongodb.php\u0060 and \u0060services/product/review/ReviewMysqldb.php\u0060 as WHOLE FILES: this scan already matched 14 separate duplicated blocks between them, totalling at least 206 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 \u0060services/product/review/ReviewMongodb.php:349\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":"services/product/review/ReviewMongodb.php"},"region":{"startLine":349}}}],"partialFingerprints":{"codehealthFindingId/v1":"392a34a7aed7a55a690f4d053c3cf4efda9bceb8a4f12c2a4972d1f29cb38588"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): services/product/review/ReviewMongodb.php:373-385 | services/product/review/ReviewMysqldb.php:388-400 \u2014 before extracting anything, compare \u0060services/product/review/ReviewMongodb.php\u0060 and \u0060services/product/review/ReviewMysqldb.php\u0060 as WHOLE FILES: this scan already matched 14 separate duplicated blocks between them, totalling at least 206 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 \u0060services/product/review/ReviewMongodb.php:373\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":"services/product/review/ReviewMongodb.php"},"region":{"startLine":373}}}],"partialFingerprints":{"codehealthFindingId/v1":"64e5437962b543996a45ce1753dfc724d5ed61795d810065f6a9bd1ba397fc11"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 30): app/appadmin/modules/Config/block/appfrontaccount/Manager.php:198-209 | app/appadmin/modules/Config/block/appfrontbase/Manager.php:125-136 | app/appadmin/modules/Config/block/appfrontcache/Manager.php:207-218 | app/appadmin/modules/Config/block/appfrontcatalog/Manager.php:338-349 | app/appadmin/modules/Config/block/appfronthome/Manager.php:131-142 | app/appadmin/modules/Config/block/appfrontpayment/Manager.php:192-203 | app/appadmin/modules/Config/block/apphtml5account/Manager.php:197-208 | app/appadmin/modules/Config/block/apphtml5base/Manager.php:122-133 | app/appadmin/modules/Config/block/apphtml5cache/Manager.php:205-216 | app/appadmin/modules/Config/block/apphtml5catalog/Manager.php:339-350 | app/appadmin/modules/Config/block/apphtml5home/Manager.php:121-132 | app/appadmin/modules/Config/block/apphtml5payment/Manager.php:179-190 | app/appadmin/modules/Config/block/appserveraccount/Manager.php:198-209 | app/appadmin/modules/Config/block/appserverbase/Manager.php:99-110 | app/appadmin/modules/Config/block/appservercache/Manager.php:206-217 | app/appadmin/modules/Config/block/appservercatalog/Manager.php:313-324 | app/appadmin/modules/Config/block/appserverhome/Manager.php:91-102 | app/appadmin/modules/Config/block/appserverpayment/Manager.php:181-192 | app/appadmin/modules/Config/block/appserverstore/Manager.php:179-190 | app/appadmin/modules/Config/block/base/Manager.php:199-210 | app/appadmin/modules/Config/block/cart/Manager.php:105-116 | app/appadmin/modules/Config/block/email/Manager.php:417-428 | app/appadmin/modules/Config/block/fa/Manager.php:136-147 | app/appadmin/modules/Config/block/order/Manager.php:148-159 | app/appadmin/modules/Config/block/paymentalipay/Manager.php:185-196 | app/appadmin/modules/Config/block/paymentpaypal/Manager.php:160-171 | app/appadmin/modules/Config/block/paymentwxpay/Manager.php:155-166 | app/appadmin/modules/Config/block/product/Manager.php:146-157 | app/appadmin/modules/Config/block/search/Manager.php:121-132 | app/appadmin/modules/Config/block/service/Db.php:188-199 \u2014 \u0060app/appadmin/modules/Config/block/appfrontaccount/Manager.php\u0060 and \u0060app/appadmin/modules/Config/block/appfrontbase/Manager.php\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 5 separate duplicated blocks between them, totalling at least 59 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appadmin/modules/Config/block/appfrontaccount/Manager.php"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"80348261517502d0897bb2c0cbe6e0d46fb5557c481c5d71b4f029ac14c02dd8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201312 lines \u00D7 8): app/appadmin/modules/Catalog/block/productfavorite/Index.php:167-176 | app/appadmin/modules/Catalog/block/productreview/Index.php:246-257 | app/appadmin/modules/Catalog/block/urlrewrite/Index.php:148-157 | app/appadmin/modules/Cms/block/article/Index.php:179-188 | app/appadmin/modules/Cms/block/staticblock/Index.php:194-203 | app/appadmin/modules/Sales/block/coupon/Manager.php:211-220 | app/appadmin/modules/System/block/error/Index.php:173-182 | app/appadmin/modules/System/block/extensioninstalled/Manager.php:217-226 \u2014 \u0060app/appadmin/modules/Catalog/block/productfavorite/Index.php\u0060 and \u0060app/appadmin/modules/Catalog/block/productreview/Index.php\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 11 separate duplicated blocks between them, totalling at least 143 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/appadmin/modules/Catalog/block/productfavorite/Index.php:167\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/appadmin/modules/Catalog/block/productfavorite/Index.php"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f5f43649e6c04d11415d212cb1021d295b8a37ffe68c67d67400780432e5791"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 7): services/Extension.php:154-165 | services/StoreBaseConfig.php:169-180 | services/StoreDomain.php:150-161 | services/admin/RoleUrlKey.php:209-220 | services/helper/ScriptDate.php:151-162 | services/product/Brand.php:193-204 | services/product/Brandcategory.php:194-205 \u2014 before extracting anything, compare \u0060services/Extension.php\u0060 and \u0060services/StoreBaseConfig.php\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 68 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 \u0060services/Extension.php:154\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060services/StoreBaseConfig.php:181\u0060 calls \u0060foreach\u0060 and \u0060services/Extension.php:166\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":"services/Extension.php"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7f8b9e0c3c536a1c1df8c558e1a8c7879479910fd21418c76c4ecb4185b6922"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 6): app/appfront/modules/Catalog/block/category/Index.php:362-373 | app/appfront/modules/Catalogsearch/block/index/Index.php:223-234 | app/apphtml5/modules/Catalog/block/category/Index.php:349-360 | app/apphtml5/modules/Catalogsearch/block/index/Index.php:246-257 | app/appserver/modules/Catalog/controllers/CategoryController.php:490-501 | app/appserver/modules/Catalogsearch/controllers/IndexController.php:256-267 \u2014 before extracting anything, compare \u0060app/appfront/modules/Catalog/block/category/Index.php\u0060 and \u0060app/appfront/modules/Catalogsearch/block/index/Index.php\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 114 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/appfront/modules/Catalog/block/category/Index.php:362\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appfront/modules/Catalog/block/category/Index.php"},"region":{"startLine":362}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffe8525aea4f71fa99c6eaa2e2f737153f70fe12e5b337507419913296b6770b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201312 lines \u00D7 6): app/appfront/modules/Catalog/block/product/Index.php:568-578 | app/appfront/modules/Cms/block/home/Index.php:49-58 | app/apphtml5/modules/Catalog/block/product/Index.php:564-574 | app/apphtml5/modules/Cms/block/home/Index.php:45-56 | app/appserver/modules/Catalog/controllers/ProductController.php:808-818 | app/appserver/modules/Cms/controllers/HomeController.php:107-118 \u2014 before extracting anything, compare \u0060app/appfront/modules/Catalog/block/product/Index.php\u0060 and \u0060app/apphtml5/modules/Catalog/block/product/Index.php\u0060 as WHOLE FILES: this scan already matched 21 separate duplicated blocks between them, totalling at least 409 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/appfront/modules/Catalog/block/product/Index.php:568\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060app/apphtml5/modules/Catalog/block/product/Index.php:563\u0060 calls \u0060explode\u0060 and \u0060app/appfront/modules/Cms/block/home/Index.php:48\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/appfront/modules/Catalog/block/product/Index.php"},"region":{"startLine":568}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae6959cf9a8d7e5570039b2f8c24ab3862d574783f4620f95844a4dc9a3618db"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 6): lib/wxpay/lib/WxPay.Api.php:55-66 | lib/wxpay/lib/WxPay.Api.php:87-97 | lib/wxpay/lib/WxPay.Api.php:118-128 | lib/wxpay/lib/WxPay.Api.php:194-204 | lib/wxpay/lib/WxPay.Api.php:262-272 | lib/wxpay/lib/WxPay.Api.php:390-400 \u2014 all 6 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. 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, \u0060lib/wxpay/lib/WxPay.Api.php:53\u0060 calls \u0060SetSpbill_create_ip\u0060 and \u0060lib/wxpay/lib/WxPay.Api.php:86\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":"lib/wxpay/lib/WxPay.Api.php"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbcd08c6cd4bf25946b19eadd7067179918bf97f12144c99c77fa243aadfaf55"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 5): app/appfront/modules/Checkout/block/onepage/Index.php:300-311 | app/appfront/modules/Payment/block/paypal/express/Review.php:242-253 | app/apphtml5/modules/Checkout/block/onepage/Index.php:290-301 | app/apphtml5/modules/Payment/block/paypal/express/Review.php:242-253 | app/appserver/modules/Payment/block/paypal/express/Review.php:263-274 \u2014 before extracting anything, compare \u0060app/appfront/modules/Checkout/block/onepage/Index.php\u0060 and \u0060app/appfront/modules/Payment/block/paypal/express/Review.php\u0060 as WHOLE FILES: this scan already matched 19 separate duplicated blocks between them, totalling at least 242 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/appfront/modules/Checkout/block/onepage/Index.php:300\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appfront/modules/Checkout/block/onepage/Index.php"},"region":{"startLine":300}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f67acf933f43774f398ed4cfced6a2b9498e78562d77e6cdf33f1713c2edaeb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 5): services/Extension.php:132-143 | services/StoreBaseConfig.php:126-137 | services/StoreDomain.php:128-139 | services/admin/RoleUrlKey.php:109-120 | services/helper/ScriptDate.php:130-141 \u2014 before extracting anything, compare \u0060services/Extension.php\u0060 and \u0060services/StoreBaseConfig.php\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 68 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 \u0060services/Extension.php:132\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060services/Extension.php:129\u0060 calls \u0060getCurrentDateTime\u0060 and \u0060services/helper/ScriptDate.php:127\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":"services/Extension.php"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d6ac2088cbe6c4a103f08a17b90edcbd2d5a2e84a6722829e14863ac18af7b8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 4): app/appfront/modules/Catalog/block/category/Index.php:287-298 | app/appfront/modules/Catalogsearch/block/index/Index.php:148-159 | app/apphtml5/modules/Catalog/block/category/Index.php:275-285 | app/apphtml5/modules/Catalogsearch/block/index/Index.php:171-182 \u2014 before extracting anything, compare \u0060app/appfront/modules/Catalog/block/category/Index.php\u0060 and \u0060app/appfront/modules/Catalogsearch/block/index/Index.php\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 114 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/appfront/modules/Catalog/block/category/Index.php:287\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/appfront/modules/Catalog/block/category/Index.php"},"region":{"startLine":287}}}],"partialFingerprints":{"codehealthFindingId/v1":"f80aba062a4e4ec25dd88a01c88032fb98cad33035371557945907149ef1e6fa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201312 lines \u00D7 4): app/appfront/modules/Checkout/block/onepage/Placeorder.php:69-80 | app/apphtml5/modules/Checkout/block/onepage/Placeorder.php:60-68 | app/appserver/modules/Checkout/block/onepage/Placeorder.php:84-92 | app/appserver/modules/Checkout/block/onepage/Wxplaceorder.php:66-74 \u2014 before extracting anything, compare \u0060app/appfront/modules/Checkout/block/onepage/Placeorder.php\u0060 and \u0060app/apphtml5/modules/Checkout/block/onepage/Placeorder.php\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 292 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/appfront/modules/Checkout/block/onepage/Placeorder.php:69\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/appfront/modules/Checkout/block/onepage/Placeorder.php"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a2547ce66f9b97a6facab894c48c997edb5d09781406a5b94ced40f5b1879ff"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 4): app/appfront/modules/Checkout/controllers/CartController.php:100-110 | app/appfront/modules/Checkout/controllers/CartController.php:157-167 | app/apphtml5/modules/Checkout/controllers/CartController.php:94-105 | app/apphtml5/modules/Checkout/controllers/CartController.php:148-158 \u2014 before extracting anything, compare \u0060app/appfront/modules/Checkout/controllers/CartController.php\u0060 and \u0060app/apphtml5/modules/Checkout/controllers/CartController.php\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 191 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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060app/appfront/modules/Checkout/controllers/CartController.php:111\u0060 calls \u0060htmlEncode\u0060 and \u0060app/appfront/modules/Checkout/controllers/CartController.php:168\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/appfront/modules/Checkout/controllers/CartController.php"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"8628e330b87e818f813efecc4e685f7b17fd97a2018163eb6313a8a403435268"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 4): app/appfront/modules/Payment/PaymentController.php:27-38 | app/apphtml5/modules/Payment/PaymentController.php:27-38 | app/apphtml5/modules/Payment/controllers/Wxpayh5Controller.php:28-39 | app/apphtml5/modules/Payment/controllers/WxpayjsapiController.php:28-39 \u2014 before extracting anything, compare \u0060app/appfront/modules/Payment/PaymentController.php\u0060 and \u0060app/apphtml5/modules/Payment/PaymentController.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. 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/appfront/modules/Payment/PaymentController.php"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef87216fc49a519748073e5d3ace459489c7fc13a8fe0ad0eb34ed1c1c406ed7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 4): app/appfront/modules/Payment/block/paypal/express/Start.php:23-33 | app/appfront/modules/Payment/block/paypal/express/Start.php:52-63 | app/apphtml5/modules/Payment/block/paypal/express/Start.php:22-32 | app/apphtml5/modules/Payment/block/paypal/express/Start.php:49-60 \u2014 before extracting anything, compare \u0060app/appfront/modules/Payment/block/paypal/express/Start.php\u0060 and \u0060app/apphtml5/modules/Payment/block/paypal/express/Start.php\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 81 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/appfront/modules/Payment/block/paypal/express/Start.php:23\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appfront/modules/Payment/block/paypal/express/Start.php"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c0378e2b85a7f5a12bd2af52ec7399bd54249c3453ee4bfb70537526f3090ba"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): app/appfront/modules/Catalog/block/product/Index.php:131-142 | app/apphtml5/modules/Catalog/block/product/Index.php:120-131 | app/appserver/modules/Catalog/controllers/ProductController.php:361-372 \u2014 before extracting anything, compare \u0060app/appfront/modules/Catalog/block/product/Index.php\u0060 and \u0060app/apphtml5/modules/Catalog/block/product/Index.php\u0060 as WHOLE FILES: this scan already matched 21 separate duplicated blocks between them, totalling at least 409 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/appfront/modules/Catalog/block/product/Index.php:131\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/appfront/modules/Catalog/block/product/Index.php"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a58c71311354f860c73010514dca3fca1bcda57a6ae802833ffcf8fe768f749"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 3): app/appfront/modules/Checkout/block/onepage/Placeorder.php:41-52 | app/apphtml5/modules/Checkout/block/onepage/Placeorder.php:40-50 | app/appserver/modules/Checkout/block/onepage/Placeorder.php:39-49 \u2014 before extracting anything, compare \u0060app/appfront/modules/Checkout/block/onepage/Placeorder.php\u0060 and \u0060app/apphtml5/modules/Checkout/block/onepage/Placeorder.php\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 292 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/appfront/modules/Checkout/block/onepage/Placeorder.php:41\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/appfront/modules/Checkout/block/onepage/Placeorder.php"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fa5d3f2256a3cb483bf54f274f3c89b72d950b77f482e4e416b997e935b7d8f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): app/appfront/modules/Checkout/controllers/CartController.php:211-222 | app/apphtml5/modules/Checkout/controllers/CartController.php:206-217 | app/appserver/modules/Checkout/controllers/CartController.php:360-371 \u2014 before extracting anything, compare \u0060app/appfront/modules/Checkout/controllers/CartController.php\u0060 and \u0060app/apphtml5/modules/Checkout/controllers/CartController.php\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 191 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/appfront/modules/Checkout/controllers/CartController.php:211\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060app/appserver/modules/Checkout/controllers/CartController.php:357\u0060 calls \u0060getMethod\u0060 and \u0060app/appfront/modules/Checkout/controllers/CartController.php:210\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/appfront/modules/Checkout/controllers/CartController.php"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3be8e107549881ac1d7766f93b31446bfe0947421dc3d1838ecd56be12fd816"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): app/appfront/modules/Customer/controllers/GoogleController.php:36-47 | app/apphtml5/modules/Customer/controllers/GoogleController.php:36-47 | app/appserver/modules/Customer/controllers/GoogleController.php:36-47 \u2014 before extracting anything, compare \u0060app/appfront/modules/Customer/controllers/GoogleController.php\u0060 and \u0060app/apphtml5/modules/Customer/controllers/GoogleController.php\u0060 as WHOLE FILES: 96% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 2 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/appfront/modules/Customer/controllers/GoogleController.php:36\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/appfront/modules/Customer/controllers/GoogleController.php"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"24e13517db7944b2646025ca426c7cc80cbb57b8797958f7cb91b5a75655fbd7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): app/appfront/modules/Payment/block/paypal/express/Review.php:163-174 | app/apphtml5/modules/Payment/block/paypal/express/Review.php:163-174 | app/appserver/modules/Payment/block/paypal/express/Review.php:178-189 \u2014 before extracting anything, compare \u0060app/appfront/modules/Payment/block/paypal/express/Review.php\u0060 and \u0060app/apphtml5/modules/Payment/block/paypal/express/Review.php\u0060 as WHOLE FILES: this scan already matched 28 separate duplicated blocks between them, totalling at least 390 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/appfront/modules/Payment/block/paypal/express/Review.php:163\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/appfront/modules/Payment/block/paypal/express/Review.php"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e7b00ba9d1de8e13b31d399792f562f84c5b39deeec287a998947452c597019"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): services/category/CategoryMongodb.php:176-187 | services/category/CategoryMongodb.php:658-669 | services/category/CategoryMysqldb.php:236-247 \u2014 before extracting anything, compare \u0060services/category/CategoryMongodb.php\u0060 and \u0060services/category/CategoryMysqldb.php\u0060 as WHOLE FILES: this scan already matched 22 separate duplicated blocks between them, totalling at least 274 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":"services/category/CategoryMongodb.php"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b5e7e30df00cfda1c2d0a7c79bc9d92384fcc03ad58817eecdba1a601c2f772"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): services/payment/Wxpay.php:179-190 | services/payment/WxpayJsApi.php:189-200 | services/payment/WxpayMicro.php:180-191 \u2014 before extracting anything, compare \u0060services/payment/Wxpay.php\u0060 and \u0060services/payment/WxpayJsApi.php\u0060 as WHOLE FILES: this scan already matched 14 separate duplicated blocks between them, totalling at least 216 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":"services/payment/Wxpay.php"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2becd16226a1da71ec05512aa7508d9dec355e6e7b6ce31b43a2b0091437496"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): services/search/MongoSearch.php:166-177 | services/search/MysqlSearch.php:105-116 | services/search/XunSearch.php:104-115 \u2014 before extracting anything, compare \u0060services/search/MongoSearch.php\u0060 and \u0060services/search/MysqlSearch.php\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 73 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 \u0060services/search/MongoSearch.php:166\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060services/search/MongoSearch.php:178\u0060 calls \u0060unset\u0060 and \u0060services/search/XunSearch.php:116\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":"services/search/MongoSearch.php"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d5d802379c77618c758858563ec15eb7555066d785db9733d82363cc24c818a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): app/appadmin/modules/Catalog/block/productinfo/Managerbatchedit.php:40-51 | app/appadmin/modules/Catalog/block/productinfo/Manageredit.php:40-51 \u2014 before extracting anything, compare \u0060app/appadmin/modules/Catalog/block/productinfo/Managerbatchedit.php\u0060 and \u0060app/appadmin/modules/Catalog/block/productinfo/Manageredit.php\u0060 as WHOLE FILES: this scan already matched 29 separate duplicated blocks between them, totalling at least 398 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/appadmin/modules/Catalog/block/productinfo/Managerbatchedit.php"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5f4432cfe5dd5e72bc46f4e93f286922e165b44c2ad02ec64a973bb7c5118db"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): app/appadmin/modules/Catalog/block/productinfo/Managerbatchedit.php:123-134 | app/appadmin/modules/Catalog/block/productinfo/Manageredit.php:122-133 \u2014 before extracting anything, compare \u0060app/appadmin/modules/Catalog/block/productinfo/Managerbatchedit.php\u0060 and \u0060app/appadmin/modules/Catalog/block/productinfo/Manageredit.php\u0060 as WHOLE FILES: this scan already matched 29 separate duplicated blocks between them, totalling at least 398 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/appadmin/modules/Catalog/block/productinfo/Managerbatchedit.php:123\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appadmin/modules/Catalog/block/productinfo/Managerbatchedit.php"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"84379f5eb7ecc4c732260606e0b0d12b0b2aa3910bfb81161a3ea694701deeb1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): app/appadmin/modules/Catalog/block/productinfo/Managerbatchedit.php:341-352 | app/appadmin/modules/Catalog/block/productinfo/Manageredit.php:340-351 \u2014 before extracting anything, compare \u0060app/appadmin/modules/Catalog/block/productinfo/Managerbatchedit.php\u0060 and \u0060app/appadmin/modules/Catalog/block/productinfo/Manageredit.php\u0060 as WHOLE FILES: this scan already matched 29 separate duplicated blocks between them, totalling at least 398 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/appadmin/modules/Catalog/block/productinfo/Managerbatchedit.php:341\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/appadmin/modules/Catalog/block/productinfo/Managerbatchedit.php"},"region":{"startLine":341}}}],"partialFingerprints":{"codehealthFindingId/v1":"49e547e379b306147f4ad6d72cdaf85db2db4bdd13c5d0dff20b75a84c49e028"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (4\u201312 lines \u00D7 4): app/appadmin/modules/Catalog/block/productinfo/Managerbatchedit.php:631-634 | app/appadmin/modules/Catalog/block/productinfo/Managerbatchedit.php:636-647 | app/appadmin/modules/Catalog/block/productinfo/Manageredit.php:588-591 | app/appadmin/modules/Catalog/block/productinfo/Manageredit.php:593-604 \u2014 before extracting anything, compare \u0060app/appadmin/modules/Catalog/block/productinfo/Managerbatchedit.php\u0060 and \u0060app/appadmin/modules/Catalog/block/productinfo/Manageredit.php\u0060 as WHOLE FILES: this scan already matched 29 separate duplicated blocks between them, totalling at least 398 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/appadmin/modules/Catalog/block/productinfo/Managerbatchedit.php:631\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060app/appadmin/modules/Catalog/block/productinfo/Managerbatchedit.php:647\u0060 calls \u0060getAllLangCode\u0060, \u0060is_array\u0060, \u0060empty\u0060 and \u0060app/appadmin/modules/Catalog/block/productinfo/Managerbatchedit.php:634\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/appadmin/modules/Catalog/block/productinfo/Managerbatchedit.php"},"region":{"startLine":631}}}],"partialFingerprints":{"codehealthFindingId/v1":"a35f793100047cb7d8b4ac418fb794e1f6fa7db493e7d23ef40f10f8b0c25267"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): app/appadmin/modules/Catalog/block/productinfo/index/Attr.php:36-47 | app/appadmin/modules/Catalog/block/productinfo/index/BatchAttr.php:36-47 \u2014 before extracting anything, compare \u0060app/appadmin/modules/Catalog/block/productinfo/index/Attr.php\u0060 and \u0060app/appadmin/modules/Catalog/block/productinfo/index/BatchAttr.php\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 33 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/appadmin/modules/Catalog/block/productinfo/index/Attr.php"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"488ebdc24e140abfc88459fbbd3f37bfb89f4844d9f1ca171fb7b555d4ccd419"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): app/appfront/modules/AppfrontController.php:38-49 | app/apphtml5/modules/AppfrontController.php:38-49 \u2014 before extracting anything, compare \u0060app/appfront/modules/AppfrontController.php\u0060 and \u0060app/apphtml5/modules/AppfrontController.php\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 51 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/appfront/modules/AppfrontController.php:38\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appfront/modules/AppfrontController.php"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"0028ca128326565fb7d3c2d9f4cfe8003f4c241eaff7d3eabcfc6775b430f22b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): app/appfront/modules/Catalogsearch/block/index/Index.php:205-216 | app/apphtml5/modules/Catalogsearch/block/index/Index.php:228-239 \u2014 before extracting anything, compare \u0060app/appfront/modules/Catalogsearch/block/index/Index.php\u0060 and \u0060app/apphtml5/modules/Catalogsearch/block/index/Index.php\u0060 as WHOLE FILES: this scan already matched 19 separate duplicated blocks between them, totalling at least 295 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. 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/appfront/modules/Catalogsearch/block/index/Index.php"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"001e6472a69e1a7476d1f638dd77522c360d260c8fded08f41f8c14e8731097c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): app/appfront/modules/Checkout/block/onepage/Index.php:249-260 | app/apphtml5/modules/Checkout/block/onepage/Index.php:239-250 \u2014 before extracting anything, compare \u0060app/appfront/modules/Checkout/block/onepage/Index.php\u0060 and \u0060app/apphtml5/modules/Checkout/block/onepage/Index.php\u0060 as WHOLE FILES: this scan already matched 28 separate duplicated blocks between them, totalling at least 423 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/appfront/modules/Checkout/block/onepage/Index.php"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5ee8c7fe9979f9bcd86b78ec3cef1156f0c5931ecf6fd7d9cc42c4e4c76ad0a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): app/appfront/modules/Customer/block/account/Registerenable.php:23-35 | app/apphtml5/modules/Customer/block/account/Registerenable.php:20-31 \u2014 before extracting anything, compare \u0060app/appfront/modules/Customer/block/account/Registerenable.php\u0060 and \u0060app/apphtml5/modules/Customer/block/account/Registerenable.php\u0060 as WHOLE FILES: 96% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 2 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appfront/modules/Customer/block/account/Registerenable.php"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0e0a8a68b0eb33b1a153f96c5ffb1b66c89b3db0b78572d47173aeac9c3c89a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): app/appfront/modules/Payment/block/paypal/express/Review.php:191-202 | app/apphtml5/modules/Payment/block/paypal/express/Review.php:191-202 \u2014 before extracting anything, compare \u0060app/appfront/modules/Payment/block/paypal/express/Review.php\u0060 and \u0060app/apphtml5/modules/Payment/block/paypal/express/Review.php\u0060 as WHOLE FILES: this scan already matched 28 separate duplicated blocks between them, totalling at least 390 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/appfront/modules/Payment/block/paypal/express/Review.php"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"a348cd51ca5ac7a19cb56cc2c63385962ab8fedd697b8e42842c72ce9b5ec1d5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): app/appfront/modules/Payment/controllers/alipay/StandardController.php:57-68 | app/apphtml5/modules/Payment/controllers/alipay/StandardController.php:58-69 \u2014 before extracting anything, compare \u0060app/appfront/modules/Payment/controllers/alipay/StandardController.php\u0060 and \u0060app/apphtml5/modules/Payment/controllers/alipay/StandardController.php\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 30 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. 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/appfront/modules/Payment/controllers/alipay/StandardController.php"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"9595c9c07b6518221e29812266b54598844ee9f9af352ec9eee4d3228ac13592"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): lib/alipay/lotusphp_runtime/Validator/Validator.php:53-64 | lib/alipay/lotusphp_runtime/Validator/Validator.php:82-93 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/alipay/lotusphp_runtime/Validator/Validator.php:53\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. 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":"lib/alipay/lotusphp_runtime/Validator/Validator.php"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"d283ff01c9f1060d6c94d2a35beae42e9bc116e31765529465617ee9b711c1ce"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 2): lib/wxpay/lib/WxPay.Api.php:80-90 | lib/wxpay/lib/WxPay.Api.php:285-296 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/wxpay/lib/WxPay.Api.php"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"df591ea78c072ae2fb2df561b8c7763cb015918a09791134d57fb3354958ca96"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 2): lib/wxpay/lib/WxPay.Api.php:157-167 | lib/wxpay/lib/WxPay.Api.php:292-303 \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":"lib/wxpay/lib/WxPay.Api.php"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d97a3eb51e8835adfbc9f940734e1d1b319f87ccb9845a42a046ec744c84b38"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): migrations/mysqldb/m190809_154516_fecshop_tables.php:340-352 | migrations/mysqldb/m200331_082139_fecshop_tables.php:71-82 \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":"migrations/mysqldb/m190809_154516_fecshop_tables.php"},"region":{"startLine":340}}}],"partialFingerprints":{"codehealthFindingId/v1":"1244188de406e3ccb356a584bab3e63bf51c090db4c991585842bcef3c29a872"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): services/Application.php:117-128 | services/Service.php:75-86 \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 \u0060services/Application.php:117\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"services/Application.php"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"8531c99288567a56de7db0c3e7181736657848aae6b40d81d03c2aa15aaff078"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): services/category/CategoryMongodb.php:267-278 | services/category/CategoryMysqldb.php:329-340 \u2014 before extracting anything, compare \u0060services/category/CategoryMongodb.php\u0060 and \u0060services/category/CategoryMysqldb.php\u0060 as WHOLE FILES: this scan already matched 22 separate duplicated blocks between them, totalling at least 274 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060services/category/CategoryMysqldb.php:343\u0060 calls \u0060serializeSaveData\u0060 and \u0060services/category/CategoryMongodb.php:283\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":"services/category/CategoryMongodb.php"},"region":{"startLine":267}}}],"partialFingerprints":{"codehealthFindingId/v1":"d54d7f7ef45cc9e23b8a5ea5454f7bde53d2ac843f1c9474b3c8c35f6bda9d1f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 2): services/product/ProductMongodb.php:1004-1015 | services/product/ProductMongodb.php:1058-1068 \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":"services/product/ProductMongodb.php"},"region":{"startLine":1004}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fe35f099b8f01c25fdc261205d8f171a43141b88248b2ce2a09836d1bdbf0aa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 30): app/appadmin/modules/Config/block/appfrontaccount/Manager.php:245-255 | app/appadmin/modules/Config/block/appfrontbase/Manager.php:172-182 | app/appadmin/modules/Config/block/appfrontcache/Manager.php:254-264 | app/appadmin/modules/Config/block/appfrontcatalog/Manager.php:385-395 | app/appadmin/modules/Config/block/appfronthome/Manager.php:178-188 | app/appadmin/modules/Config/block/appfrontpayment/Manager.php:239-249 | app/appadmin/modules/Config/block/apphtml5account/Manager.php:244-254 | app/appadmin/modules/Config/block/apphtml5base/Manager.php:169-179 | app/appadmin/modules/Config/block/apphtml5cache/Manager.php:252-262 | app/appadmin/modules/Config/block/apphtml5catalog/Manager.php:386-396 | app/appadmin/modules/Config/block/apphtml5home/Manager.php:168-178 | app/appadmin/modules/Config/block/apphtml5payment/Manager.php:226-236 | app/appadmin/modules/Config/block/appserveraccount/Manager.php:245-255 | app/appadmin/modules/Config/block/appserverbase/Manager.php:146-156 | app/appadmin/modules/Config/block/appservercache/Manager.php:253-263 | app/appadmin/modules/Config/block/appservercatalog/Manager.php:360-370 | app/appadmin/modules/Config/block/appserverhome/Manager.php:138-148 | app/appadmin/modules/Config/block/appserverpayment/Manager.php:228-238 | app/appadmin/modules/Config/block/appserverstore/Manager.php:226-236 | app/appadmin/modules/Config/block/base/Manager.php:246-256 | app/appadmin/modules/Config/block/cart/Manager.php:152-162 | app/appadmin/modules/Config/block/email/Manager.php:464-474 | app/appadmin/modules/Config/block/fa/Manager.php:183-193 | app/appadmin/modules/Config/block/order/Manager.php:195-205 | app/appadmin/modules/Config/block/paymentalipay/Manager.php:232-242 | app/appadmin/modules/Config/block/paymentpaypal/Manager.php:207-217 | app/appadmin/modules/Config/block/paymentwxpay/Manager.php:202-212 | app/appadmin/modules/Config/block/product/Manager.php:193-203 | app/appadmin/modules/Config/block/search/Manager.php:168-178 | app/appadmin/modules/Config/block/service/Db.php:236-246 \u2014 \u0060app/appadmin/modules/Config/block/appfrontaccount/Manager.php\u0060 and \u0060app/appadmin/modules/Config/block/appfrontbase/Manager.php\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 5 separate duplicated blocks between them, totalling at least 59 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. 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/appadmin/modules/Config/block/appfrontaccount/Manager.php"},"region":{"startLine":245}}}],"partialFingerprints":{"codehealthFindingId/v1":"84da2a45473ff765deaae784459d346f7e35b8e1807748ab94c801831e6179b1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 12): services/Payment.php:180-190 | services/Payment.php:201-211 | services/Payment.php:222-232 | services/Payment.php:242-252 | services/Payment.php:310-320 | services/Payment.php:349-359 | services/Payment.php:413-423 | services/Payment.php:433-443 | services/Payment.php:453-463 | services/Payment.php:473-483 | services/Payment.php:493-503 | services/Payment.php:513-523 \u2014 all 12 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 \u0060services/Payment.php:180\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":"services/Payment.php"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"333b34350e3356aac5a8d3fbf605a645df1c0d0e6c88938b0b38102ec82a0900"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 8): services/Payment.php:138-148 | services/Payment.php:159-169 | services/Payment.php:369-379 | services/Payment.php:389-399 | services/Payment.php:533-543 | services/Payment.php:553-563 | services/Payment.php:574-584 | services/Payment.php:594-604 \u2014 all 8 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 \u0060services/Payment.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":"services/Payment.php"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e023088d7f30af782da650216a691302c419420dbe706b1a326a89e7d5bdf65"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u201311 lines \u00D7 7): app/appfront/modules/Customer/block/account/Forgotpassword.php:48-58 | app/appfront/modules/Customer/block/account/Login.php:52-59 | app/appfront/modules/Customer/block/contacts/Index.php:101-109 | app/apphtml5/modules/Customer/block/account/Forgotpassword.php:39-47 | app/apphtml5/modules/Customer/block/account/Login.php:44-51 | app/apphtml5/modules/Customer/block/contacts/Index.php:102-109 | app/appserver/modules/Customer/block/account/Login.php:42-49 \u2014 before extracting anything, compare \u0060app/appfront/modules/Customer/block/account/Forgotpassword.php\u0060 and \u0060app/apphtml5/modules/Customer/block/account/Forgotpassword.php\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 53 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/appfront/modules/Customer/block/account/Forgotpassword.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. 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/appfront/modules/Customer/block/account/Forgotpassword.php"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"49bd0c774b55274f6b2eac6a3bc58e2b8a6824b4039b1fe06784baef47a96479"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 6): app/appfront/modules/Checkout/block/onepage/Index.php:213-223 | app/appfront/modules/Payment/block/paypal/express/Review.php:109-119 | app/apphtml5/modules/Checkout/block/onepage/Index.php:203-213 | app/apphtml5/modules/Payment/block/paypal/express/Review.php:109-119 | app/appserver/modules/Checkout/block/onepage/Index.php:225-235 | app/appserver/modules/Payment/block/paypal/express/Review.php:124-134 \u2014 before extracting anything, compare \u0060app/appfront/modules/Checkout/block/onepage/Index.php\u0060 and \u0060app/appfront/modules/Payment/block/paypal/express/Review.php\u0060 as WHOLE FILES: this scan already matched 19 separate duplicated blocks between them, totalling at least 242 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/appfront/modules/Checkout/block/onepage/Index.php:213\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/appfront/modules/Checkout/block/onepage/Index.php"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"812f79f20766278d3ab927cc5f1fa84d7a88f49d20eeaaa1eb78a6e655a50844"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 6): app/appfront/modules/Checkout/block/onepage/Index.php:296-306 | app/appfront/modules/Payment/block/paypal/express/Review.php:238-248 | app/apphtml5/modules/Checkout/block/onepage/Index.php:286-296 | app/apphtml5/modules/Payment/block/paypal/express/Review.php:238-248 | app/appserver/modules/Checkout/block/onepage/Index.php:318-328 | app/appserver/modules/Payment/block/paypal/express/Review.php:259-269 \u2014 before extracting anything, compare \u0060app/appfront/modules/Checkout/block/onepage/Index.php\u0060 and \u0060app/appfront/modules/Payment/block/paypal/express/Review.php\u0060 as WHOLE FILES: this scan already matched 19 separate duplicated blocks between them, totalling at least 242 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/appfront/modules/Checkout/block/onepage/Index.php:296\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/appfront/modules/Checkout/block/onepage/Index.php"},"region":{"startLine":296}}}],"partialFingerprints":{"codehealthFindingId/v1":"c81730b4f6f04fc34bf2b251338deae459431e19db76309c4610283c6b8bd359"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 6): app/appserver/modules/Catalog/controllers/ProductController.php:100-109 | app/appserver/modules/Catalog/controllers/ProductController.php:130-139 | app/appserver/modules/Checkout/controllers/CartController.php:223-233 | app/appserver/modules/Checkout/controllers/CartController.php:284-293 | app/appserver/modules/Customer/controllers/AccountController.php:22-31 | app/appserver/modules/Customer/controllers/AccountController.php:66-75 \u2014 there are 6 copies across 3 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 6 sites; resolving a subset leaves the remainder to drift apart. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060app/appserver/modules/Checkout/controllers/CartController.php:235\u0060 calls \u0060htmlEncode\u0060 and \u0060app/appserver/modules/Checkout/controllers/CartController.php:295\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/appserver/modules/Catalog/controllers/ProductController.php"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"89c781d0d845eaf62334d70f830378e3d7d7c552fcd6e5f0af7c3685286c4924"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 5): services/product/ProductMongodb.php:389-399 | services/product/ProductMongodb.php:418-428 | services/product/ProductMongodb.php:528-538 | services/product/ProductMongodb.php:1263-1273 | services/product/ProductMongodb.php:1317-1327 \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 \u0060services/product/ProductMongodb.php:389\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060services/product/ProductMongodb.php:386\u0060 calls \u0060getPrimaryKey\u0060, \u0060ObjectId\u0060, \u0060andWhere\u0060 and \u0060services/product/ProductMongodb.php:416\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":"services/product/ProductMongodb.php"},"region":{"startLine":389}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ab3665460be848fa53cd9b0790fa7fdd664971cf7d2b058c71d8c58be7cf9fa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 4): app/appfront/modules/Catalog/block/reviewproduct/Add.php:65-75 | app/appfront/modules/Catalog/block/reviewproduct/Lists.php:87-96 | app/apphtml5/modules/Catalog/block/reviewproduct/Add.php:66-76 | app/apphtml5/modules/Catalog/block/reviewproduct/Lists.php:87-96 \u2014 before extracting anything, compare \u0060app/appfront/modules/Catalog/block/reviewproduct/Add.php\u0060 and \u0060app/apphtml5/modules/Catalog/block/reviewproduct/Add.php\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 140 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/appfront/modules/Catalog/block/reviewproduct/Add.php"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7df8a1765691c43fade0ea436bedcddc1aecf0ca62e4843b10c41b013356cac"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 4): services/Product.php:207-216 | services/Product.php:228-238 | services/Product.php:245-254 | services/Product.php:301-311 \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":"services/Product.php"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c7468ddc777f14ca3e0a4c2f29b40ab7503b99d6dca25794df5356662f307fb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 4): services/product/Brand.php:144-154 | services/product/Brand.php:179-188 | services/product/Brandcategory.php:144-154 | services/product/Brandcategory.php:178-187 \u2014 before extracting anything, compare \u0060services/product/Brand.php\u0060 and \u0060services/product/Brandcategory.php\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 144 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 \u0060services/product/Brand.php:144\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"services/product/Brand.php"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc660475ea1db91014a8d3a32d760cc02d53e667c69c41874b35810d5c975b80"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): app/appfront/modules/Catalog/block/product/Index.php:158-168 | app/apphtml5/modules/Catalog/block/product/Index.php:147-157 | app/appserver/modules/Catalog/controllers/ProductController.php:388-398 \u2014 before extracting anything, compare \u0060app/appfront/modules/Catalog/block/product/Index.php\u0060 and \u0060app/apphtml5/modules/Catalog/block/product/Index.php\u0060 as WHOLE FILES: this scan already matched 21 separate duplicated blocks between them, totalling at least 409 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/appfront/modules/Catalog/block/product/Index.php:158\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appfront/modules/Catalog/block/product/Index.php"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"e83d976a69dec418ffd301ca26d8c6f48eba44dc256ac45ccf7dc88753d5e55f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): app/appfront/modules/Customer/block/address/Edit.php:123-133 | app/appfront/modules/Payment/block/paypal/express/Review.php:191-201 | app/apphtml5/modules/Payment/block/paypal/express/Review.php:191-201 \u2014 before extracting anything, compare \u0060app/appfront/modules/Payment/block/paypal/express/Review.php\u0060 and \u0060app/apphtml5/modules/Payment/block/paypal/express/Review.php\u0060 as WHOLE FILES: this scan already matched 28 separate duplicated blocks between them, totalling at least 390 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/appfront/modules/Customer/block/address/Edit.php"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"1371e3e0f9a0b5e78ea8bc4d4f8700302fb391be2610074471a5486690fd5a2d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): app/appserver/modules/Catalog/controllers/CategoryController.php:636-646 | app/appserver/modules/Catalogsearch/controllers/IndexController.php:361-371 | app/appserver/modules/Cms/controllers/HomeController.php:134-144 \u2014 before extracting anything, compare \u0060app/appserver/modules/Catalog/controllers/CategoryController.php\u0060 and \u0060app/appserver/modules/Catalogsearch/controllers/IndexController.php\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 118 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/appserver/modules/Catalog/controllers/CategoryController.php:636\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/appserver/modules/Catalog/controllers/CategoryController.php"},"region":{"startLine":636}}}],"partialFingerprints":{"codehealthFindingId/v1":"9924adc2665134475b9fc69771ab36495f34830cf9fd452dc9e51db4ff6f9192"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): app/appserver/modules/Checkout/controllers/OnepageController.php:30-40 | app/appserver/modules/Checkout/controllers/OnepageController.php:46-56 | app/appserver/modules/Checkout/controllers/OnepageController.php:63-73 \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. 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/appserver/modules/Checkout/controllers/OnepageController.php"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"acb5d6b595bed9768dd4bf0d0a8c2f59ed03404b8ea9105eca551771a04c0612"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): services/payment/Paypal.php:564-574 | services/payment/Paypal.php:631-641 | services/payment/Paypal.php:684-694 \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 \u0060services/payment/Paypal.php:564\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":"services/payment/Paypal.php"},"region":{"startLine":564}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa2679d18cce40f01d333b8c7bd6bdeed10c02a5a5a457f3f7a365c7d43692e5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u201311 lines \u00D7 3): services/product/ProductMongodb.php:433-443 | services/product/ProductMongodb.php:543-553 | services/product/ProductMongodb.php:1332-1339 \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 \u0060services/product/ProductMongodb.php:433\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":"services/product/ProductMongodb.php"},"region":{"startLine":433}}}],"partialFingerprints":{"codehealthFindingId/v1":"1089557b8b615066b735a53a9ca87c937eb398a6b2890f448b99399240419235"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 2): app/appadmin/modules/Catalog/block/categoryupload/Manager.php:88-98 | app/appadmin/modules/Catalog/block/productupload/Manager.php:85-94 \u2014 \u0060app/appadmin/modules/Catalog/block/categoryupload/Manager.php\u0060 and \u0060app/appadmin/modules/Catalog/block/productupload/Manager.php\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 3 separate duplicated blocks between them, totalling at least 32 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appadmin/modules/Catalog/block/categoryupload/Manager.php"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e894ec299c248d92f8ddc5ce938957bdfecd7ae094c1545a203507ce47e77d7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): app/appadmin/modules/Catalog/block/categoryupload/Manager.php:129-139 | app/appadmin/modules/Catalog/block/productupload/Manager.php:166-176 \u2014 \u0060app/appadmin/modules/Catalog/block/categoryupload/Manager.php\u0060 and \u0060app/appadmin/modules/Catalog/block/productupload/Manager.php\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 3 separate duplicated blocks between them, totalling at least 32 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. 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/appadmin/modules/Catalog/block/categoryupload/Manager.php"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"715218f6d9d72ea271211612a5a2a7da80b71ae8c03cb8b8054db78d9da0771b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): app/appadmin/modules/Catalog/block/productinfo/Managerbatchedit.php:377-387 | app/appadmin/modules/Catalog/block/productinfo/Manageredit.php:376-386 \u2014 before extracting anything, compare \u0060app/appadmin/modules/Catalog/block/productinfo/Managerbatchedit.php\u0060 and \u0060app/appadmin/modules/Catalog/block/productinfo/Manageredit.php\u0060 as WHOLE FILES: this scan already matched 29 separate duplicated blocks between them, totalling at least 398 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/appadmin/modules/Catalog/block/productinfo/Managerbatchedit.php"},"region":{"startLine":377}}}],"partialFingerprints":{"codehealthFindingId/v1":"d420089c0c7226cbedd8de6919b6afa5d2f3fe1c9b6a176b093a4bb8bee744c3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 2): app/appadmin/modules/Fecadmin/block/account/Manageredit.php:200-210 | app/appadmin/modules/Fecadmin/block/config/Manageredit.php:134-143 \u2014 \u0060app/appadmin/modules/Fecadmin/block/account/Manageredit.php\u0060 and \u0060app/appadmin/modules/Fecadmin/block/config/Manageredit.php\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 4 separate duplicated blocks between them, totalling at least 80 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/appadmin/modules/Fecadmin/block/account/Manageredit.php:200\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/appadmin/modules/Fecadmin/block/account/Manageredit.php"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"89fd1de9353b3d6ed83494b976cded68e395c4e515a449e9ba91eca1af23c110"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): app/appadmin/modules/Fecadmin/block/log/Index.php:198-208 | app/appadmin/modules/Fecadmin/block/logtj/Index.php:239-249 \u2014 \u0060app/appadmin/modules/Fecadmin/block/log/Index.php\u0060 and \u0060app/appadmin/modules/Fecadmin/block/logtj/Index.php\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 5 separate duplicated blocks between them, totalling at least 72 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appadmin/modules/Fecadmin/block/log/Index.php"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"025fe29ff372c823bb704de08f869ce0b7df8e11bba99b7bcd418baac478269a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): app/appadmin/modules/Fecadmin/controllers/LoginController.php:37-47 | app/appadmin/modules/Fecadmin/controllers/LogoutController.php:36-46 \u2014 before extracting anything, compare \u0060app/appadmin/modules/Fecadmin/controllers/LoginController.php\u0060 and \u0060app/appadmin/modules/Fecadmin/controllers/LogoutController.php\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 43 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/appadmin/modules/Fecadmin/controllers/LoginController.php:37\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appadmin/modules/Fecadmin/controllers/LoginController.php"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebd7a8652cd753941c362762aaec682c851bc1fef97590f0e88e09039b7de5d5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u201311 lines \u00D7 2): app/appfront/modules/Catalog/block/category/Index.php:381-388 | app/appserver/modules/Catalog/controllers/CategoryController.php:509-519 \u2014 before extracting anything, compare \u0060app/appfront/modules/Catalog/block/category/Index.php\u0060 and \u0060app/appserver/modules/Catalog/controllers/CategoryController.php\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 114 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/appfront/modules/Catalog/block/category/Index.php:381\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/appfront/modules/Catalog/block/category/Index.php"},"region":{"startLine":381}}}],"partialFingerprints":{"codehealthFindingId/v1":"c65388a98dd154b8a8b4bfbb08a4d2aa48388dd9ca8d754d5d7af2e9f69408b9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): app/appfront/modules/Customer/block/order/View.php:41-51 | app/apphtml5/modules/Customer/block/order/View.php:31-41 \u2014 before extracting anything, compare \u0060app/appfront/modules/Customer/block/order/View.php\u0060 and \u0060app/apphtml5/modules/Customer/block/order/View.php\u0060 as WHOLE FILES: 92% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 2 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/appfront/modules/Customer/block/order/View.php:41\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/appfront/modules/Customer/block/order/View.php"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"947b37e9961b4026a75df577ddeef700a19ad39987e69067551d0fdabc4d86aa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): app/appfront/modules/Customer/controllers/AccountController.php:143-153 | app/apphtml5/modules/Customer/controllers/AccountController.php:156-166 \u2014 before extracting anything, compare \u0060app/appfront/modules/Customer/controllers/AccountController.php\u0060 and \u0060app/apphtml5/modules/Customer/controllers/AccountController.php\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 82 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/appfront/modules/Customer/controllers/AccountController.php"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bc6d1909bafdfda0b052cf7a6efca0e4c7e55bf864b5c72118004ba701c3c81"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (4\u201311 lines \u00D7 3): app/appfront/modules/Customer/block/account/Login.php:24-27 | app/apphtml5/modules/Customer/block/account/Login.php:25-35 | app/appserver/modules/Customer/block/account/Login.php:25-35 \u2014 before extracting anything, compare \u0060app/appfront/modules/Customer/block/account/Login.php\u0060 and \u0060app/apphtml5/modules/Customer/block/account/Login.php\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 62 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060app/apphtml5/modules/Customer/block/account/Login.php:25\u0060 calls \u0060get\u0060 and \u0060app/appfront/modules/Customer/block/account/Login.php:24\u0060 does not \u2014 after which the two agree again for 5 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/appfront/modules/Customer/block/account/Login.php"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a996f8130577e0157427bc556b70151444fe57b225c28b9698705b379b2c7eb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): lib/alipay/aop/AopClient.php:70-80 | lib/alipay/aop/AopClient.php:96-106 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/alipay/aop/AopClient.php:70\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/alipay/aop/AopClient.php"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"32a9eead11f1e9cec7aa6194aba83e01dac9571bcb8fa932d7e3c44bdd9a2373"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): lib/alipay/aop/AopClient.php:120-130 | lib/alipay/aop/AopClient.php:785-795 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/alipay/aop/AopClient.php"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"c160fda02caa919891cb52a1e4ed000d7e98a2d3e2cc44e88e465f2e43e11b88"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): services/Store.php:304-314 | services/Store.php:369-379 \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":"services/Store.php"},"region":{"startLine":304}}}],"partialFingerprints":{"codehealthFindingId/v1":"211f57f96bd80e5b1e3b2e1ad0580ec2dd2ad6700dc3557cf405543413cbd9c9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): services/category/CategoryMongodb.php:300-310 | services/category/CategoryMysqldb.php:360-370 \u2014 before extracting anything, compare \u0060services/category/CategoryMongodb.php\u0060 and \u0060services/category/CategoryMysqldb.php\u0060 as WHOLE FILES: this scan already matched 22 separate duplicated blocks between them, totalling at least 274 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 \u0060services/category/CategoryMongodb.php:300\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":"services/category/CategoryMongodb.php"},"region":{"startLine":300}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2045d179057c9b32639f03b76a1c8e5605f04421e745a08c6f0cedcddc405ad"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): services/category/CategoryMongodb.php:617-627 | services/category/CategoryMysqldb.php:694-704 \u2014 before extracting anything, compare \u0060services/category/CategoryMongodb.php\u0060 and \u0060services/category/CategoryMysqldb.php\u0060 as WHOLE FILES: this scan already matched 22 separate duplicated blocks between them, totalling at least 274 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 \u0060services/category/CategoryMongodb.php:617\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060services/category/CategoryMongodb.php:616\u0060 calls \u0060getPrimaryKey\u0060 and \u0060services/category/CategoryMysqldb.php:693\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":"services/category/CategoryMongodb.php"},"region":{"startLine":617}}}],"partialFingerprints":{"codehealthFindingId/v1":"6143b5d6cce28982412792c17e1952c2c6ffc1be5a34190278b818672a9e540b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 2): services/cms/article/ArticleMongodb.php:125-134 | services/cms/article/ArticleMysqldb.php:154-164 \u2014 before extracting anything, compare \u0060services/cms/article/ArticleMongodb.php\u0060 and \u0060services/cms/article/ArticleMysqldb.php\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 36 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 \u0060services/cms/article/ArticleMongodb.php:125\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":"services/cms/article/ArticleMongodb.php"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"1679f63119de64f133a1e14659494f089670b0027a240a84a9d1ff07ed1b7e44"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): services/helper/errorhandler/ErrorHandlerMongodb.php:62-72 | services/helper/errorhandler/ErrorHandlerMysqldb.php:62-72 \u2014 before extracting anything, compare \u0060services/helper/errorhandler/ErrorHandlerMongodb.php\u0060 and \u0060services/helper/errorhandler/ErrorHandlerMysqldb.php\u0060 as WHOLE FILES: 94% 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":"services/helper/errorhandler/ErrorHandlerMongodb.php"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1d722deb90a86252331caa8c3bc1c81d98dbaa95d5824ef59081619294a0578"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): services/product/ProductApi.php:301-311 | services/product/ProductApi.php:754-764 \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 \u0060services/product/ProductApi.php:301\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":"services/product/ProductApi.php"},"region":{"startLine":301}}}],"partialFingerprints":{"codehealthFindingId/v1":"f65a89994cc2b46c376bec42341d72a50c866c1b1fc26ca265f7f3b550110145"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 2): services/product/ProductMongodb.php:492-502 | services/product/ProductMysqldb.php:587-596 \u2014 before extracting anything, compare \u0060services/product/ProductMongodb.php\u0060 and \u0060services/product/ProductMysqldb.php\u0060 as WHOLE FILES: this scan already matched 29 separate duplicated blocks between them, totalling at least 358 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 \u0060services/product/ProductMongodb.php:492\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":"services/product/ProductMongodb.php"},"region":{"startLine":492}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbfcfda72e55c9c28cfef2ffe20b80ff91545ceb0b493d390ed23821d7c102a8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): services/product/ProductMongodb.php:1271-1281 | services/product/ProductMysqldb.php:1471-1481 \u2014 before extracting anything, compare \u0060services/product/ProductMongodb.php\u0060 and \u0060services/product/ProductMysqldb.php\u0060 as WHOLE FILES: this scan already matched 29 separate duplicated blocks between them, totalling at least 358 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 \u0060services/product/ProductMongodb.php:1271\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":"services/product/ProductMongodb.php"},"region":{"startLine":1271}}}],"partialFingerprints":{"codehealthFindingId/v1":"43003a5f67a123eddb9bc939a0eed6861543bb94921e2770ea6d8d91ab923251"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 29): app/appadmin/modules/Config/block/appfrontaccount/Manager.php:50-59 | app/appadmin/modules/Config/block/appfrontbase/Manager.php:40-49 | app/appadmin/modules/Config/block/appfrontcache/Manager.php:46-55 | app/appadmin/modules/Config/block/appfrontcatalog/Manager.php:57-66 | app/appadmin/modules/Config/block/appfronthome/Manager.php:41-50 | app/appadmin/modules/Config/block/appfrontpayment/Manager.php:46-55 | app/appadmin/modules/Config/block/apphtml5account/Manager.php:49-58 | app/appadmin/modules/Config/block/apphtml5base/Manager.php:40-49 | app/appadmin/modules/Config/block/apphtml5cache/Manager.php:46-55 | app/appadmin/modules/Config/block/apphtml5catalog/Manager.php:57-66 | app/appadmin/modules/Config/block/apphtml5home/Manager.php:40-49 | app/appadmin/modules/Config/block/apphtml5payment/Manager.php:35-44 | app/appadmin/modules/Config/block/appserveraccount/Manager.php:50-59 | app/appadmin/modules/Config/block/appserverbase/Manager.php:37-46 | app/appadmin/modules/Config/block/appservercache/Manager.php:46-55 | app/appadmin/modules/Config/block/appservercatalog/Manager.php:57-66 | app/appadmin/modules/Config/block/appserverhome/Manager.php:37-46 | app/appadmin/modules/Config/block/appserverpayment/Manager.php:35-44 | app/appadmin/modules/Config/block/appserverstore/Manager.php:45-54 | app/appadmin/modules/Config/block/base/Manager.php:44-53 | app/appadmin/modules/Config/block/cart/Manager.php:38-47 | app/appadmin/modules/Config/block/email/Manager.php:77-86 | app/appadmin/modules/Config/block/fa/Manager.php:40-49 | app/appadmin/modules/Config/block/order/Manager.php:43-52 | app/appadmin/modules/Config/block/paymentalipay/Manager.php:55-64 | app/appadmin/modules/Config/block/paymentpaypal/Manager.php:42-51 | app/appadmin/modules/Config/block/paymentwxpay/Manager.php:45-54 | app/appadmin/modules/Config/block/product/Manager.php:42-51 | app/appadmin/modules/Config/block/search/Manager.php:39-48 \u2014 \u0060app/appadmin/modules/Config/block/appfrontaccount/Manager.php\u0060 and \u0060app/appadmin/modules/Config/block/appfrontbase/Manager.php\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 5 separate duplicated blocks between them, totalling at least 59 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060app/appadmin/modules/Config/block/appfrontpayment/Manager.php:56\u0060 calls \u0060_getEditArr\u0060 and \u0060app/appadmin/modules/Config/block/appfrontaccount/Manager.php:60\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/appadmin/modules/Config/block/appfrontaccount/Manager.php"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"33071127ce474c4eae7fadddfa95af0d14aee1472e91b87e05c80703b64e0f9b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 10): app/appadmin/modules/Catalog/block/category/Product.php:359-367 | app/appadmin/modules/Catalog/block/productfavorite/Index.php:158-166 | app/appadmin/modules/Catalog/block/productreview/Index.php:236-245 | app/appadmin/modules/Catalog/block/urlrewrite/Index.php:144-152 | app/appadmin/modules/Cms/block/article/Index.php:175-183 | app/appadmin/modules/Cms/block/staticblock/Index.php:190-198 | app/appadmin/modules/Sales/block/coupon/Manager.php:207-215 | app/appadmin/modules/Sales/block/orderinfo/Manager.php:226-234 | app/appadmin/modules/System/block/error/Index.php:169-177 | app/appadmin/modules/System/block/extensioninstalled/Manager.php:213-221 \u2014 before extracting anything, compare \u0060app/appadmin/modules/Catalog/block/category/Product.php\u0060 and \u0060app/appadmin/modules/Catalog/block/productfavorite/Index.php\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 123 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/appadmin/modules/Catalog/block/category/Product.php:359\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appadmin/modules/Catalog/block/category/Product.php"},"region":{"startLine":359}}}],"partialFingerprints":{"codehealthFindingId/v1":"2abd4ad53435e48f599862bb3f91f3b5b564234bcb6117a8fd23715ad69bebf4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u201310 lines \u00D7 7): app/appapi/modules/V1/controllers/ArticleController.php:118-126 | app/appapi/modules/V1/controllers/ArticleController.php:183-191 | app/appapi/modules/V1/controllers/CategoryController.php:236-245 | app/appapi/modules/V1/controllers/CategoryController.php:337-346 | app/appapi/modules/V1/controllers/CategoryController.php:440-449 | app/appapi/modules/V1/controllers/OrderController.php:145-151 | app/appapi/modules/V1/controllers/ProductController.php:267-273 \u2014 before extracting anything, compare \u0060app/appapi/modules/V1/controllers/ArticleController.php\u0060 and \u0060app/appapi/modules/V1/controllers/CategoryController.php\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 96 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/appapi/modules/V1/controllers/ArticleController.php"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"46fde9f47d12e31ab7bf92dd749c5f09a62fe6ba403ea4106a2397c02a46cd8d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 6): app/appfront/modules/Checkout/block/onepage/Index.php:85-94 | app/appfront/modules/Payment/block/paypal/express/Review.php:122-131 | app/apphtml5/modules/Checkout/block/onepage/Index.php:75-84 | app/apphtml5/modules/Payment/block/paypal/express/Review.php:122-131 | app/appserver/modules/Checkout/block/onepage/Index.php:94-103 | app/appserver/modules/Payment/block/paypal/express/Review.php:137-146 \u2014 before extracting anything, compare \u0060app/appfront/modules/Checkout/block/onepage/Index.php\u0060 and \u0060app/appfront/modules/Payment/block/paypal/express/Review.php\u0060 as WHOLE FILES: this scan already matched 19 separate duplicated blocks between them, totalling at least 242 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/appfront/modules/Checkout/block/onepage/Index.php"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"43180d413ecd8f5c1675d759828f66b90eb930e9c7071b9bb94871bf958ec831"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 6): services/category/CategoryMongodb.php:187-196 | services/category/CategoryMongodb.php:241-250 | services/category/CategoryMongodb.php:668-677 | services/category/CategoryMysqldb.php:246-255 | services/category/CategoryMysqldb.php:300-309 | services/category/CategoryMysqldb.php:744-753 \u2014 before extracting anything, compare \u0060services/category/CategoryMongodb.php\u0060 and \u0060services/category/CategoryMysqldb.php\u0060 as WHOLE FILES: this scan already matched 22 separate duplicated blocks between them, totalling at least 274 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060services/category/CategoryMongodb.php:185\u0060 calls \u0060unset\u0060 and \u0060services/category/CategoryMongodb.php:239\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":"services/category/CategoryMongodb.php"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a4e596f5659b0ae0f5b3f080a8ca2274ae6014ee689102e7f2a11084cd36a2e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 5): app/appfront/modules/Catalog/block/category/Index.php:527-536 | app/appfront/modules/Catalog/block/product/Index.php:524-533 | app/apphtml5/modules/Catalog/block/category/Index.php:514-523 | app/apphtml5/modules/Catalog/block/product/Index.php:512-521 | app/appserver/modules/Catalog/controllers/ProductController.php:756-765 \u2014 before extracting anything, compare \u0060app/appfront/modules/Catalog/block/category/Index.php\u0060 and \u0060app/apphtml5/modules/Catalog/block/category/Index.php\u0060 as WHOLE FILES: this scan already matched 25 separate duplicated blocks between them, totalling at least 393 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/appfront/modules/Catalog/block/category/Index.php:527\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060app/appfront/modules/Catalog/block/category/Index.php:537\u0060 calls \u0060breadcrumbs\u0060 and \u0060app/apphtml5/modules/Catalog/block/product/Index.php:523\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/appfront/modules/Catalog/block/category/Index.php"},"region":{"startLine":527}}}],"partialFingerprints":{"codehealthFindingId/v1":"688f053715bb6481238d3036b641547280beae845cfe25200bab85aafed86ac5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 5): services/payment/Alipay.php:164-173 | services/payment/Wxpay.php:340-349 | services/payment/WxpayH5.php:351-360 | services/payment/WxpayJsApi.php:338-347 | services/payment/WxpayMicro.php:323-332 \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 5 call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060services/payment/Alipay.php:164\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":"services/payment/Alipay.php"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"9477b6f9583331122679778301a7b0462e75f10dd48d4d986b6d89d02e63a58a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 4): app/appadmin/modules/AppadminbaseBlock.php:528-537 | app/appadmin/modules/Catalog/block/productbrand/Manager.php:183-192 | app/appadmin/modules/Customer/block/contacts/Index.php:173-182 | app/appadmin/modules/Customer/block/newsletter/Index.php:177-186 \u2014 before extracting anything, compare \u0060app/appadmin/modules/AppadminbaseBlock.php\u0060 and \u0060app/appadmin/modules/Catalog/block/productbrand/Manager.php\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 80 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/appadmin/modules/AppadminbaseBlock.php:528\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/appadmin/modules/AppadminbaseBlock.php"},"region":{"startLine":528}}}],"partialFingerprints":{"codehealthFindingId/v1":"5deaffe42ad0b5b31b4113cd3683bf19c886f70b9266d21a57c3262d324e83ee"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 4): services/Sitemap.php:98-107 | services/Sitemap.php:139-148 | services/Sitemap.php:192-201 | services/Sitemap.php:244-253 \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 \u0060services/Sitemap.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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"services/Sitemap.php"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"208705bf8baedb76c9d1aed6b59fe1999402421571f552fa8c982014f1944c75"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): app/appadmin/modules/AppadminController.php:38-47 | app/appadmin/modules/Fecadmin/controllers/LoginController.php:34-43 | app/appadmin/modules/Fecadmin/controllers/LogoutController.php:33-42 \u2014 before extracting anything, compare \u0060app/appadmin/modules/AppadminController.php\u0060 and \u0060app/appadmin/modules/Fecadmin/controllers/LoginController.php\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 32 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/appadmin/modules/AppadminController.php:38\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appadmin/modules/AppadminController.php"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"304e13b95478185cde30caf88077a7b234c8ca10f5bf9374db8098a1da046ca2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (2\u201310 lines \u00D7 9): app/appadmin/modules/AppadminbaseBlock.php:580-589 | app/appadmin/modules/Catalog/block/productbrand/Manager.php:234-243 | app/appadmin/modules/Catalog/block/productinfo/Index.php:363-366 | app/appadmin/modules/Catalog/block/productreview/Index.php:306-307 | app/appadmin/modules/Cms/block/article/Index.php:237-238 | app/appadmin/modules/Cms/block/staticblock/Index.php:252-253 | app/appadmin/modules/Customer/block/contacts/Index.php:225-234 | app/appadmin/modules/Sales/block/coupon/Manager.php:268-269 | app/appadmin/modules/Sales/block/orderinfo/Manager.php:293-294 \u2014 before extracting anything, compare \u0060app/appadmin/modules/AppadminbaseBlock.php\u0060 and \u0060app/appadmin/modules/Catalog/block/productbrand/Manager.php\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 80 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/appadmin/modules/AppadminbaseBlock.php:580\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/appadmin/modules/AppadminbaseBlock.php"},"region":{"startLine":580}}}],"partialFingerprints":{"codehealthFindingId/v1":"db608e56826288246087703d2fc56cb7654cf7339dfc37db001fccf136bd304b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): app/appfront/modules/Catalog/block/product/Index.php:407-416 | app/apphtml5/modules/Catalog/block/product/Index.php:396-405 | app/appserver/modules/Catalog/controllers/ProductController.php:639-648 \u2014 before extracting anything, compare \u0060app/appfront/modules/Catalog/block/product/Index.php\u0060 and \u0060app/apphtml5/modules/Catalog/block/product/Index.php\u0060 as WHOLE FILES: this scan already matched 21 separate duplicated blocks between them, totalling at least 409 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/appfront/modules/Catalog/block/product/Index.php:407\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/appfront/modules/Catalog/block/product/Index.php"},"region":{"startLine":407}}}],"partialFingerprints":{"codehealthFindingId/v1":"8410f89614f1ff7f118dee447b1e9ec41190f13d53da2647a5b53ef96322e31e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): app/appfront/modules/Payment/controllers/alipay/StandardController.php:53-62 | app/apphtml5/modules/Payment/controllers/alipay/StandardController.php:54-63 | app/appserver/modules/Payment/controllers/alipay/StandardController.php:74-83 \u2014 before extracting anything, compare \u0060app/appfront/modules/Payment/controllers/alipay/StandardController.php\u0060 and \u0060app/apphtml5/modules/Payment/controllers/alipay/StandardController.php\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 30 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/appfront/modules/Payment/controllers/alipay/StandardController.php:53\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/appfront/modules/Payment/controllers/alipay/StandardController.php"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"37765e93d38f68f3cbd995a205c08a36b717e60d69f3cbc67ff751a89110bde1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): app/appserver/modules/Checkout/block/onepage/Wxplaceorder.php:82-95 | app/appserver/modules/Checkout/controllers/CartController.php:188-197 | app/appserver/modules/Payment/block/paypal/express/Placeorder.php:123-132 \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/appserver/modules/Checkout/block/onepage/Wxplaceorder.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. 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/appserver/modules/Checkout/block/onepage/Wxplaceorder.php"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ff7e805d95c3156821e7f5d789fd8016702642549c6583fb3b47596af4d3ca0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u201310 lines \u00D7 3): app/appserver/modules/Customer/controllers/ForgotController.php:91-100 | app/appserver/modules/Customer/controllers/LoginController.php:201-209 | app/appserver/modules/Customer/controllers/RegisterController.php:107-114 \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/appserver/modules/Customer/controllers/ForgotController.php:91\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/appserver/modules/Customer/controllers/ForgotController.php"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"e11e4d768759fbb011e6bfddc04f02c6919fbd320b25c6892ccb1e39801cabd1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): services/extension/Administer.php:103-112 | services/extension/Administer.php:213-222 | services/extension/Administer.php:330-339 \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 \u0060services/extension/Administer.php:103\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":"services/extension/Administer.php"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c5f00d3c63a469be648abfb525ed56fea3830f79de699de2f832453dce7c55b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): services/product/ProductApi.php:73-82 | services/product/ProductApi.php:84-93 | services/product/ProductApi.php:569-578 \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 \u0060services/product/ProductApi.php:73\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":"services/product/ProductApi.php"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"26a103df07aed1bbbc581a7ec178a86296560d6a0f8a0ef0d4ae3870f8798eec"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): app/appadmin/modules/Catalog/block/categoryupload/Manager.php:44-53 | app/appadmin/modules/Catalog/block/productupload/Manager.php:33-42 \u2014 \u0060app/appadmin/modules/Catalog/block/categoryupload/Manager.php\u0060 and \u0060app/appadmin/modules/Catalog/block/productupload/Manager.php\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 3 separate duplicated blocks between them, totalling at least 32 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/appadmin/modules/Catalog/block/categoryupload/Manager.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/appadmin/modules/Catalog/block/categoryupload/Manager.php"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"60647016c65f4617fa04119e15831ebd4c4ef82682d2db188ebc96a05fd39d0e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): app/appadmin/modules/Fecadmin/block/cache/Index.php:116-125 | app/appadmin/modules/Fecadmin/block/cache/Index.php:172-181 \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/appadmin/modules/Fecadmin/block/cache/Index.php:116\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/appadmin/modules/Fecadmin/block/cache/Index.php"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad5181001c18c41bb8a182e5e9584005bfc7ef37202ba06eea968b614d1fb91f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): app/appfront/modules/Catalog/controllers/ReviewproductController.php:52-61 | app/apphtml5/modules/Catalog/controllers/ReviewproductController.php:50-59 \u2014 before extracting anything, compare \u0060app/appfront/modules/Catalog/controllers/ReviewproductController.php\u0060 and \u0060app/apphtml5/modules/Catalog/controllers/ReviewproductController.php\u0060 as WHOLE FILES: 87% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 3 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/appfront/modules/Catalog/controllers/ReviewproductController.php:52\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060app/appfront/modules/Catalog/controllers/ReviewproductController.php:50\u0060 calls \u0060htmlEncode\u0060 and \u0060app/apphtml5/modules/Catalog/controllers/ReviewproductController.php:49\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/appfront/modules/Catalog/controllers/ReviewproductController.php"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa732190905223817894b9c6c3f187eb7a281241a5df482b81fe40b336fd85ed"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): app/appfront/modules/Customer/block/newsletter/Index.php:30-39 | app/apphtml5/modules/Customer/block/newsletter/Index.php:29-38 \u2014 before extracting anything, compare \u0060app/appfront/modules/Customer/block/newsletter/Index.php\u0060 and \u0060app/apphtml5/modules/Customer/block/newsletter/Index.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. 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/appfront/modules/Customer/block/newsletter/Index.php:30\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/appfront/modules/Customer/block/newsletter/Index.php"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f30d985c6990993da4131c61085d8314d5a6e2cd9dbf1325b3740979779bd05"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): app/appfront/modules/Customer/controllers/AccountController.php:48-57 | app/appfront/modules/Customer/controllers/AccountController.php:73-82 \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/appfront/modules/Customer/controllers/AccountController.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/appfront/modules/Customer/controllers/AccountController.php"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"e354b2b41e4df3339fb55ffc9f155698f7c5432c9c65ffe31bf011a50f05db8f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 2): app/appfront/modules/Customer/controllers/AccountController.php:83-91 | app/apphtml5/modules/Customer/controllers/AccountController.php:90-99 \u2014 before extracting anything, compare \u0060app/appfront/modules/Customer/controllers/AccountController.php\u0060 and \u0060app/apphtml5/modules/Customer/controllers/AccountController.php\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 82 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/appfront/modules/Customer/controllers/AccountController.php:83\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/appfront/modules/Customer/controllers/AccountController.php"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf00811000cc961d7695011b89dabdcc8139c4a8ea8db377ce44ff0de3a8ea62"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): app/appfront/modules/Customer/controllers/EditaccountController.php:31-40 | app/apphtml5/modules/Customer/controllers/EditaccountController.php:30-39 \u2014 before extracting anything, compare \u0060app/appfront/modules/Customer/controllers/EditaccountController.php\u0060 and \u0060app/apphtml5/modules/Customer/controllers/EditaccountController.php\u0060 as WHOLE FILES: 92% 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/appfront/modules/Customer/controllers/EditaccountController.php"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae8a8f863b54965677e806d9acabd169b53d14429a207c21ca6569aa22faa2fe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): app/appfront/modules/Payment/controllers/paypal/ExpressController.php:62-71 | app/appfront/modules/Payment/controllers/paypal/StandardController.php:46-55 \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/appfront/modules/Payment/controllers/paypal/ExpressController.php:62\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/appfront/modules/Payment/controllers/paypal/ExpressController.php"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"142acb342b63e7a9b1968796f7bf6937acfe1740558683caf74ccd271318f8d6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): app/appfront/modules/Payment/controllers/paypal/StandardController.php:63-72 | app/apphtml5/modules/Payment/controllers/paypal/StandardController.php:61-70 \u2014 before extracting anything, compare \u0060app/appfront/modules/Payment/controllers/paypal/StandardController.php\u0060 and \u0060app/apphtml5/modules/Payment/controllers/paypal/StandardController.php\u0060 as WHOLE FILES: 95% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 2 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appfront/modules/Payment/controllers/paypal/StandardController.php"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5bb89798d1b8c1a42e96337d356ec83e585d3b7518fd71e35443a9349cb382e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 2): app/appserver/modules/Catalog/controllers/ReviewproductController.php:35-44 | app/appserver/modules/Catalog/controllers/ReviewproductController.php:82-90 \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/appserver/modules/Catalog/controllers/ReviewproductController.php:35\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/appserver/modules/Catalog/controllers/ReviewproductController.php"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f36ff04d209cbd08309a287d76a3b374137bc00a9fbe9fe3f07d7317fe1eecc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): app/appserver/modules/Customer/controllers/ForgotController.php:159-168 | app/appserver/modules/Customer/controllers/LoginController.php:48-57 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appserver/modules/Customer/controllers/ForgotController.php"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ea3fff9e54e8542da2ad152d7775d97ccd5ce9ed6eaac1305b8a501cd446b12"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): services/Order.php:336-345 | services/Order.php:384-393 \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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060services/Order.php:383\u0060 calls \u0060findOne\u0060 and \u0060services/Order.php:334\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":"services/Order.php"},"region":{"startLine":336}}}],"partialFingerprints":{"codehealthFindingId/v1":"0745aac8d92944af5adb64876944306a661c335266a85062aa6b064546c264a7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): services/Product.php:269-278 | services/Product.php:280-289 \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":"services/Product.php"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"d13141af2c6ef2cc4d760c95c520add653fa5299d4ae18191444200e351caf9a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): services/category/CategoryMongodb.php:342-351 | services/category/CategoryMysqldb.php:405-414 \u2014 before extracting anything, compare \u0060services/category/CategoryMongodb.php\u0060 and \u0060services/category/CategoryMysqldb.php\u0060 as WHOLE FILES: this scan already matched 22 separate duplicated blocks between them, totalling at least 274 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 \u0060services/category/CategoryMongodb.php:342\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060services/category/CategoryMysqldb.php:416\u0060 calls \u0060removeCategoryProductRelationByCategoryId\u0060 and \u0060services/category/CategoryMongodb.php:352\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":"services/category/CategoryMongodb.php"},"region":{"startLine":342}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fad4b06248cfd83edea5fe6022ddaba9a04f679b7bde37d53f569992a805883"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): services/category/CategoryMongodb.php:511-520 | services/category/CategoryMysqldb.php:578-587 \u2014 before extracting anything, compare \u0060services/category/CategoryMongodb.php\u0060 and \u0060services/category/CategoryMysqldb.php\u0060 as WHOLE FILES: this scan already matched 22 separate duplicated blocks between them, totalling at least 274 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 \u0060services/category/CategoryMongodb.php:511\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":"services/category/CategoryMongodb.php"},"region":{"startLine":511}}}],"partialFingerprints":{"codehealthFindingId/v1":"3212e23b5b1b7a0c56bb1898abfb3d61f9df19c320a6782a9876f47a89adf507"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): services/helper/Errors.php:48-57 | services/helper/Errors.php:65-74 \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 \u0060services/helper/Errors.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":"services/helper/Errors.php"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"085b03d7303bb4dd2247572244df69a9800080f03389414881899a426b0daed6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): services/payment/Paypal.php:242-251 | services/payment/Paypal.php:476-485 \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":"services/payment/Paypal.php"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"bca304e0d01da23c6bba149961b94ac41905f6ad7f4423d44bd6ee942c0fcb09"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): services/product/ProductMongodb.php:76-85 | services/product/ProductMysqldb.php:135-144 \u2014 before extracting anything, compare \u0060services/product/ProductMongodb.php\u0060 and \u0060services/product/ProductMysqldb.php\u0060 as WHOLE FILES: this scan already matched 29 separate duplicated blocks between them, totalling at least 358 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 \u0060services/product/ProductMongodb.php:76\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":"services/product/ProductMongodb.php"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3b0f163aa2aa9699555213ff5e482974b9d870a4d145d8878126ce50670f9bb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 12): app/appfront/modules/Checkout/block/onepage/Index.php:90-98 | app/appfront/modules/Checkout/block/onepage/Index.php:113-121 | app/appfront/modules/Payment/block/paypal/express/Review.php:127-135 | app/appfront/modules/Payment/block/paypal/express/Review.php:150-158 | app/apphtml5/modules/Checkout/block/onepage/Index.php:80-88 | app/apphtml5/modules/Checkout/block/onepage/Index.php:103-111 | app/apphtml5/modules/Payment/block/paypal/express/Review.php:127-135 | app/apphtml5/modules/Payment/block/paypal/express/Review.php:150-158 | app/appserver/modules/Checkout/block/onepage/Index.php:99-107 | app/appserver/modules/Checkout/block/onepage/Index.php:122-130 | app/appserver/modules/Payment/block/paypal/express/Review.php:142-150 | app/appserver/modules/Payment/block/paypal/express/Review.php:165-173 \u2014 before extracting anything, compare \u0060app/appfront/modules/Checkout/block/onepage/Index.php\u0060 and \u0060app/appfront/modules/Payment/block/paypal/express/Review.php\u0060 as WHOLE FILES: this scan already matched 19 separate duplicated blocks between them, totalling at least 242 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/appfront/modules/Checkout/block/onepage/Index.php:90\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 after the matched lines, \u0060app/appfront/modules/Checkout/block/onepage/Index.php:121\u0060 calls \u0060isset\u0060, \u0060empty\u0060 and \u0060app/appfront/modules/Checkout/block/onepage/Index.php:98\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/appfront/modules/Checkout/block/onepage/Index.php"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a1da3a0a277c34edda04251248db8977b6c47fb5796eeee45845ee98df9cf9d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 10): app/appfront/modules/Checkout/block/cart/Index.php:151-159 | app/appfront/modules/Checkout/block/onepage/Index.php:323-331 | app/appfront/modules/Payment/block/paypal/express/Review.php:265-273 | app/apphtml5/modules/Checkout/block/cart/Index.php:140-148 | app/apphtml5/modules/Checkout/block/onepage/Index.php:313-321 | app/apphtml5/modules/Payment/block/paypal/express/Review.php:265-273 | app/appserver/modules/Checkout/block/onepage/Index.php:347-355 | app/appserver/modules/Checkout/controllers/CartController.php:123-131 | app/appserver/modules/Payment/block/paypal/express/Review.php:286-294 | services/order/Item.php:209-217 \u2014 \u0060app/appfront/modules/Checkout/block/cart/Index.php\u0060 and \u0060app/appfront/modules/Checkout/block/onepage/Index.php\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 6 separate duplicated blocks between them, totalling at least 65 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/appfront/modules/Checkout/block/cart/Index.php:151\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/appfront/modules/Checkout/block/cart/Index.php"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ab208bf85bf82632a3ad8eba09bbc09a813e6f2fe30dbe5dfb91df6f7688a7b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 8): services/admin/Role.php:130-138 | services/admin/RoleUrlKey.php:120-128 | services/admin/UrlKey.php:276-284 | services/cms/staticblock/StaticBlockMysqldb.php:139-147 | services/product/Brand.php:141-149 | services/product/Brand.php:176-184 | services/product/Brandcategory.php:141-149 | services/product/Brandcategory.php:175-183 \u2014 before extracting anything, compare \u0060services/admin/RoleUrlKey.php\u0060 and \u0060services/product/Brand.php\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 63 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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060services/product/Brand.php:150\u0060 calls \u0060foreach\u0060, \u0060unserialize\u0060 and \u0060services/admin/Role.php:140\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":"services/admin/Role.php"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"8313d10924a8f3bf517fd43fda45a015a189e6f3f3577875ecdd3eb4842b0491"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6\u20139 lines \u00D7 7): app/appapi/modules/V1/controllers/ArticleController.php:114-122 | app/appapi/modules/V1/controllers/ArticleController.php:177-185 | app/appapi/modules/V1/controllers/CategoryController.php:121-129 | app/appapi/modules/V1/controllers/CategoryController.php:214-222 | app/appapi/modules/V1/controllers/CategoryController.php:315-323 | app/appapi/modules/V1/controllers/CategoryController.php:418-426 | app/appserver/modules/Customer/controllers/AddressController.php:177-182 \u2014 before extracting anything, compare \u0060app/appapi/modules/V1/controllers/ArticleController.php\u0060 and \u0060app/appapi/modules/V1/controllers/CategoryController.php\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 96 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060app/appapi/modules/V1/controllers/ArticleController.php:188\u0060 calls \u0060post\u0060 and \u0060app/appapi/modules/V1/controllers/ArticleController.php:124\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/appapi/modules/V1/controllers/ArticleController.php"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"13b2f686fe03f2643d5d7dd50aa1806d12848eacbbb1ac4b3545d26f1a196057"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 6): app/appadmin/modules/Catalog/block/urlrewrite/Index.php:133-141 | app/appadmin/modules/Cms/block/article/Index.php:164-172 | app/appadmin/modules/Cms/block/staticblock/Index.php:179-187 | app/appadmin/modules/Sales/block/coupon/Manager.php:196-204 | app/appadmin/modules/System/block/error/Index.php:158-166 | app/appadmin/modules/System/block/extensioninstalled/Manager.php:202-210 \u2014 before extracting anything, compare \u0060app/appadmin/modules/Catalog/block/urlrewrite/Index.php\u0060 and \u0060app/appadmin/modules/Cms/block/article/Index.php\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 136 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/appadmin/modules/Catalog/block/urlrewrite/Index.php:133\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/appadmin/modules/Catalog/block/urlrewrite/Index.php"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"09e9f35511d5874df5dcfc46579a15f215fbf73fccf2eacf314e5cfe8981345b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 6): app/appapi/modules/V1/controllers/ArticleController.php:135-143 | app/appapi/modules/V1/controllers/ArticleController.php:197-205 | app/appapi/modules/V1/controllers/CategoryController.php:253-261 | app/appapi/modules/V1/controllers/CategoryController.php:354-362 | app/appapi/modules/V1/controllers/CategoryController.php:473-481 | app/appapi/modules/V1/controllers/ProductController.php:275-283 \u2014 before extracting anything, compare \u0060app/appapi/modules/V1/controllers/ArticleController.php\u0060 and \u0060app/appapi/modules/V1/controllers/CategoryController.php\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 96 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/appapi/modules/V1/controllers/ArticleController.php:135\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/appapi/modules/V1/controllers/ArticleController.php"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fabefec1e4b224f813770ff6af7b8a96edbf1f7787e8ae7013fb09ba17580f7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 6): app/appfront/modules/Payment/controllers/paypal/ExpressController.php:65-73 | app/appfront/modules/Payment/controllers/paypal/StandardController.php:49-57 | app/apphtml5/modules/Payment/controllers/paypal/ExpressController.php:64-72 | app/apphtml5/modules/Payment/controllers/paypal/StandardController.php:47-55 | app/appserver/modules/Payment/controllers/paypal/ExpressController.php:64-72 | app/appserver/modules/Payment/controllers/paypal/StandardController.php:62-70 \u2014 before extracting anything, compare \u0060app/appfront/modules/Payment/controllers/paypal/ExpressController.php\u0060 and \u0060app/apphtml5/modules/Payment/controllers/paypal/ExpressController.php\u0060 as WHOLE FILES: 94% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 2 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appfront/modules/Payment/controllers/paypal/ExpressController.php"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"fce0ebc4a5be7b264a297cffb10ead496ca2731a30f518e2bced9c5bd973be1e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 6): lib/wxpay/lib/WxPay.Api.php:83-92 | lib/wxpay/lib/WxPay.Api.php:114-123 | lib/wxpay/lib/WxPay.Api.php:154-162 | lib/wxpay/lib/WxPay.Api.php:190-199 | lib/wxpay/lib/WxPay.Api.php:288-298 | lib/wxpay/lib/WxPay.Api.php:386-395 \u2014 all 6 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/wxpay/lib/WxPay.Api.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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/wxpay/lib/WxPay.Api.php"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"d79a46ace588bbb7dd7c3875d38fb1ed7ee7cc37353840f9f34480d3b00e5824"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u20139 lines \u00D7 5): app/appfront/modules/Catalog/block/category/Index.php:494-501 | app/appfront/modules/Catalogsearch/block/index/Index.php:363-370 | app/apphtml5/modules/Catalog/block/category/Index.php:481-488 | app/apphtml5/modules/Catalogsearch/block/index/Index.php:386-393 | app/appserver/modules/Catalogsearch/controllers/IndexController.php:451-459 \u2014 before extracting anything, compare \u0060app/appfront/modules/Catalog/block/category/Index.php\u0060 and \u0060app/appfront/modules/Catalogsearch/block/index/Index.php\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 114 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/appfront/modules/Catalog/block/category/Index.php"},"region":{"startLine":494}}}],"partialFingerprints":{"codehealthFindingId/v1":"49c06c8af0c003fa28981e91eec6141c13c739cab013bbd81681ac7dafa77c44"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 5): services/Extension.php:130-138 | services/StoreBaseConfig.php:124-132 | services/StoreDomain.php:126-134 | services/helper/ScriptDate.php:128-136 | services/product/Brand.php:122-130 \u2014 before extracting anything, compare \u0060services/Extension.php\u0060 and \u0060services/StoreBaseConfig.php\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 68 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060services/Extension.php:129\u0060 calls \u0060getCurrentDateTime\u0060 and \u0060services/helper/ScriptDate.php:127\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":"services/Extension.php"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"78c8519080b5b3f604279b82ac6a52e78e12cdd27b9c42e3cfb8af053030975f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u20139 lines \u00D7 4): app/appadmin/modules/Config/block/appserverstorelang/Manager.php:31-38 | app/appadmin/modules/Config/block/categorysort/Manager.php:31-39 | app/appadmin/modules/Config/block/currency/Manager.php:31-38 | app/appadmin/modules/Config/block/mutillang/Manager.php:31-38 \u2014 \u0060app/appadmin/modules/Config/block/currency/Manager.php\u0060 and \u0060app/appadmin/modules/Config/block/mutillang/Manager.php\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 3 separate duplicated blocks between them, totalling at least 78 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appadmin/modules/Config/block/appserverstorelang/Manager.php"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"74ab5ca4cf2680c3f289bcde6e68ea1877b14f9087cb881ef88017d77eaa23d5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 4): app/appfront/modules/Catalog/block/category/Index.php:554-562 | app/apphtml5/modules/Catalog/block/category/Index.php:541-549 | app/apphtml5/modules/Catalog/block/product/Index.php:548-556 | app/appserver/modules/Catalog/controllers/ProductController.php:792-800 \u2014 before extracting anything, compare \u0060app/appfront/modules/Catalog/block/category/Index.php\u0060 and \u0060app/apphtml5/modules/Catalog/block/category/Index.php\u0060 as WHOLE FILES: this scan already matched 25 separate duplicated blocks between them, totalling at least 393 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/appfront/modules/Catalog/block/category/Index.php:554\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/appfront/modules/Catalog/block/category/Index.php"},"region":{"startLine":554}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b1e0bed2294e226758064723156da1d60e4f4307af2628f4bb86a99ee7dc5c9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 4): app/appfront/modules/Catalog/controllers/ProductController.php:67-75 | app/apphtml5/modules/Catalog/controllers/ProductController.php:58-66 | app/appserver/modules/Catalog/controllers/ProductController.php:68-76 | app/appserver/modules/General/controllers/BaseController.php:39-47 \u2014 before extracting anything, compare \u0060app/appfront/modules/Catalog/controllers/ProductController.php\u0060 and \u0060app/apphtml5/modules/Catalog/controllers/ProductController.php\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 108 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060app/appfront/modules/Catalog/controllers/ProductController.php:77\u0060 calls \u0060getCurrentCurrency\u0060 and \u0060app/appserver/modules/General/controllers/BaseController.php:49\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/appfront/modules/Catalog/controllers/ProductController.php"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e2dd3e1f3abfcc5b6c66bc31f87e39a6194f4ffb4c3579cc61cc1bf697e56ba"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 4): services/Order.php:486-494 | services/cart/Coupon.php:239-247 | services/product/review/ReviewMongodb.php:329-337 | services/product/review/ReviewMysqldb.php:344-352 \u2014 before extracting anything, compare \u0060services/product/review/ReviewMongodb.php\u0060 and \u0060services/product/review/ReviewMysqldb.php\u0060 as WHOLE FILES: this scan already matched 14 separate duplicated blocks between them, totalling at least 206 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 \u0060services/Order.php:486\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":"services/Order.php"},"region":{"startLine":486}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b41c66f2b06cabbd755eb60ffcae246787ab45d258c091e50266b9e4b85d7f5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u20139 lines \u00D7 4): services/category/CategoryMongodb.php:635-643 | services/category/CategoryMysqldb.php:711-719 | services/product/ProductMongodb.php:1276-1283 | services/product/ProductMysqldb.php:1476-1483 \u2014 before extracting anything, compare \u0060services/category/CategoryMongodb.php\u0060 and \u0060services/category/CategoryMysqldb.php\u0060 as WHOLE FILES: this scan already matched 22 separate duplicated blocks between them, totalling at least 274 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060services/category/CategoryMysqldb.php:710\u0060 calls \u0060unserializeData\u0060 and \u0060services/category/CategoryMongodb.php:634\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":"services/category/CategoryMongodb.php"},"region":{"startLine":635}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7fb47f3a45dff6516a6dfc7087246215747ecd8252099b3fd84042b6b552fd3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 4): services/payment/Wxpay.php:130-138 | services/payment/WxpayH5.php:123-131 | services/payment/WxpayJsApi.php:127-135 | services/payment/WxpayMicro.php:125-133 \u2014 before extracting anything, compare \u0060services/payment/Wxpay.php\u0060 and \u0060services/payment/WxpayH5.php\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 204 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 \u0060services/payment/Wxpay.php:130\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":"services/payment/Wxpay.php"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"a878f318379046331bd43f314c3db44a04331ccca38da856c1156ce048287533"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 4): services/product/ProductMongodb.php:407-415 | services/product/ProductMongodb.php:1306-1314 | services/product/ProductMysqldb.php:504-514 | services/product/ProductMysqldb.php:1507-1516 \u2014 before extracting anything, compare \u0060services/product/ProductMongodb.php\u0060 and \u0060services/product/ProductMysqldb.php\u0060 as WHOLE FILES: this scan already matched 29 separate duplicated blocks between them, totalling at least 358 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 \u0060services/product/ProductMongodb.php:407\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":"services/product/ProductMongodb.php"},"region":{"startLine":407}}}],"partialFingerprints":{"codehealthFindingId/v1":"5249c6af42d1658c5363a6f17eec28596c88cff303e2c4b6941807c1a3c38cd6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 4): services/product/review/ReviewMongodb.php:346-354 | services/product/review/ReviewMongodb.php:370-378 | services/product/review/ReviewMysqldb.php:361-369 | services/product/review/ReviewMysqldb.php:385-393 \u2014 before extracting anything, compare \u0060services/product/review/ReviewMongodb.php\u0060 and \u0060services/product/review/ReviewMysqldb.php\u0060 as WHOLE FILES: this scan already matched 14 separate duplicated blocks between them, totalling at least 206 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 \u0060services/product/review/ReviewMongodb.php:346\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":"services/product/review/ReviewMongodb.php"},"region":{"startLine":346}}}],"partialFingerprints":{"codehealthFindingId/v1":"071c9cb016ff1b2e141d01b7b2c7baeb3d6c347126931c14820360aae48175c1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): app/appfront/modules/Catalog/block/category/Index.php:496-504 | app/apphtml5/modules/Catalog/block/category/Index.php:483-491 | app/appserver/modules/Catalog/controllers/CategoryController.php:734-742 \u2014 before extracting anything, compare \u0060app/appfront/modules/Catalog/block/category/Index.php\u0060 and \u0060app/apphtml5/modules/Catalog/block/category/Index.php\u0060 as WHOLE FILES: this scan already matched 25 separate duplicated blocks between them, totalling at least 393 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. 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/appfront/modules/Catalog/block/category/Index.php"},"region":{"startLine":496}}}],"partialFingerprints":{"codehealthFindingId/v1":"f860b4cc7e14ec2dfe2d0093dd28b17bf0a32c928a81920f623f99caf23c2fde"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u20139 lines \u00D7 3): app/appfront/modules/Customer/controllers/FacebookController.php:65-72 | app/apphtml5/modules/Customer/controllers/FacebookController.php:64-72 | app/appserver/modules/Customer/controllers/FacebookController.php:81-89 \u2014 before extracting anything, compare \u0060app/appfront/modules/Customer/controllers/FacebookController.php\u0060 and \u0060app/apphtml5/modules/Customer/controllers/FacebookController.php\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 80 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/appfront/modules/Customer/controllers/FacebookController.php:65\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/appfront/modules/Customer/controllers/FacebookController.php"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"374bedf2e0487877a317afc7fb866c4349a7bcc813cb2eed63e86df31d4a4aca"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): services/Url.php:495-503 | services/url/Category.php:80-88 | services/url/Category.php:163-171 \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 \u0060services/Url.php:495\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":"services/Url.php"},"region":{"startLine":495}}}],"partialFingerprints":{"codehealthFindingId/v1":"70983f97199b719df05ac7f5b3b71d11b2f4dbf730ac49d96b590ed2b3831818"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): services/extension/Administer.php:45-53 | services/extension/Administer.php:156-164 | services/extension/Administer.php:266-274 \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 \u0060services/extension/Administer.php:45\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":"services/extension/Administer.php"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d46130c8b592982d46d4f5c3274484c249051ec2f0d357fcf099d5c1475f89b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): services/search/MongoSearch.php:155-163 | services/search/MysqlSearch.php:94-102 | services/search/XunSearch.php:93-101 \u2014 before extracting anything, compare \u0060services/search/MongoSearch.php\u0060 and \u0060services/search/MysqlSearch.php\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 73 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 \u0060services/search/MongoSearch.php:155\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":"services/search/MongoSearch.php"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"775c2da52eb8793ab8bdd6bd86a3b4727dcdb8907716caf3a9ea29ebbd85c32a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): app/appadmin/modules/Catalog/block/productinfo/Managerbatchedit.php:365-373 | app/appadmin/modules/Catalog/block/productinfo/Manageredit.php:364-372 \u2014 before extracting anything, compare \u0060app/appadmin/modules/Catalog/block/productinfo/Managerbatchedit.php\u0060 and \u0060app/appadmin/modules/Catalog/block/productinfo/Manageredit.php\u0060 as WHOLE FILES: this scan already matched 29 separate duplicated blocks between them, totalling at least 398 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/appadmin/modules/Catalog/block/productinfo/Managerbatchedit.php:365\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appadmin/modules/Catalog/block/productinfo/Managerbatchedit.php"},"region":{"startLine":365}}}],"partialFingerprints":{"codehealthFindingId/v1":"614b4f3d3ae7eb33b5ad2acd5b73a90bf0a04f4254ab683910774dfbe9617257"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): app/appapi/modules/V1/controllers/ArticleController.php:125-133 | app/appapi/modules/V1/controllers/CategoryController.php:147-155 \u2014 before extracting anything, compare \u0060app/appapi/modules/V1/controllers/ArticleController.php\u0060 and \u0060app/appapi/modules/V1/controllers/CategoryController.php\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 96 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/appapi/modules/V1/controllers/ArticleController.php:125\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 after the matched lines, \u0060app/appapi/modules/V1/controllers/ArticleController.php:134\u0060 calls \u0060getDefaultLangAttrVal\u0060, \u0060getDefaultLangAttrName\u0060 and \u0060app/appapi/modules/V1/controllers/CategoryController.php:155\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/appapi/modules/V1/controllers/ArticleController.php"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3e055c7778cd58fb4edb5ded416c5ad44d668bfb7a901241c8153bed3c96ef0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): app/appapi/modules/V1/controllers/CategoryController.php:38-46 | app/appapi/modules/V1/controllers/ProductController.php:52-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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appapi/modules/V1/controllers/CategoryController.php"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"047a2ec5b79d229e50ec555b5926ecf6aaeeb2f098610b141b56c08f824998e0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): app/appfront/modules/Catalog/block/category/Index.php:151-159 | app/apphtml5/modules/Catalog/block/category/Index.php:172-180 \u2014 before extracting anything, compare \u0060app/appfront/modules/Catalog/block/category/Index.php\u0060 and \u0060app/apphtml5/modules/Catalog/block/category/Index.php\u0060 as WHOLE FILES: this scan already matched 25 separate duplicated blocks between them, totalling at least 393 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/appfront/modules/Catalog/block/category/Index.php:151\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appfront/modules/Catalog/block/category/Index.php"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d7e6bd74223d9d3135ba4b23deeee5fe87f7e6c53a61b60369ec70d6c8d3329"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u20139 lines \u00D7 2): app/appfront/modules/Catalog/block/reviewproduct/Lists.php:68-76 | app/apphtml5/modules/Catalog/block/reviewproduct/Lists.php:70-77 \u2014 before extracting anything, compare \u0060app/appfront/modules/Catalog/block/reviewproduct/Lists.php\u0060 and \u0060app/apphtml5/modules/Catalog/block/reviewproduct/Lists.php\u0060 as WHOLE FILES: this scan already matched 6 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/appfront/modules/Catalog/block/reviewproduct/Lists.php"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c959624a5933738d47fb9ef417791c64bf9f1226fcd991b02ad0ad7c8819ce2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): app/appfront/modules/Customer/block/address/Edit.php:151-159 | app/apphtml5/modules/Customer/block/address/Edit.php:144-152 \u2014 before extracting anything, compare \u0060app/appfront/modules/Customer/block/address/Edit.php\u0060 and \u0060app/apphtml5/modules/Customer/block/address/Edit.php\u0060 as WHOLE FILES: this scan already matched 5 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. 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/appfront/modules/Customer/block/address/Edit.php"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"73608e682500a7400ddbbda1b3fda8874f36c6dfd2d14a28b1ffb58d57d63ef8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): app/appserver/modules/Checkout/block/onepage/Placeorder.php:51-59 | app/appserver/modules/Checkout/block/onepage/Wxplaceorder.php:52-60 \u2014 before extracting anything, compare \u0060app/appserver/modules/Checkout/block/onepage/Placeorder.php\u0060 and \u0060app/appserver/modules/Checkout/block/onepage/Wxplaceorder.php\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 250 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/appserver/modules/Checkout/block/onepage/Placeorder.php"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb2834f102207cb40b17c1c3fb3d8df1ef265b4f0ac01e52774dd9542017d32e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): app/appserver/modules/Customer/controllers/OrderController.php:229-237 | app/appserver/modules/Customer/controllers/OrderController.php:273-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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/appserver/modules/Customer/controllers/OrderController.php:229\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/appserver/modules/Customer/controllers/OrderController.php"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"743ffbb6eb5b48dd7aa8597a5ed142214bab02edc103d6ca94d85c3b6692bae8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): app/appserver/modules/Payment/controllers/Wxpayh5Controller.php:30-38 | app/appserver/modules/Payment/controllers/WxpayjsapiController.php:27-35 \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/appserver/modules/Payment/controllers/Wxpayh5Controller.php"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"49becf8f41c19fd90bc1ad291b7eab874b0133a00fe253733e1b84b72456a9af"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): services/Url.php:445-453 | services/Url.php:457-465 \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":"services/Url.php"},"region":{"startLine":445}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c04b91f0e8f935641545a08d8b2f62089657d5bbc5a8ca590d5d3efe29baae1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): services/admin/Role.php:211-219 | services/admin/UserRole.php:99-107 \u2014 before extracting anything, compare \u0060services/admin/Role.php\u0060 and \u0060services/admin/UserRole.php\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 37 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 \u0060services/admin/Role.php:211\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060services/admin/Role.php:221\u0060 calls \u0060removeByRoleId\u0060 and \u0060services/admin/UserRole.php:108\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":"services/admin/Role.php"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fed23f8f6dc4ebe6e71358aad4174d4bc9c5c633f040c645a5186834803d155"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): services/admin/Role.php:299-307 | services/admin/Role.php:313-321 \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 \u0060services/admin/Role.php:299\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":"services/admin/Role.php"},"region":{"startLine":299}}}],"partialFingerprints":{"codehealthFindingId/v1":"84a385c9ddf26320daa6f86c73023fd54050b8734d95284f73468612839784df"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): services/cms/article/ArticleMysqldb.php:214-222 | services/url/rewrite/RewriteMysqldb.php:146-154 \u2014 before extracting anything, compare \u0060services/cms/article/ArticleMysqldb.php\u0060 and \u0060services/url/rewrite/RewriteMysqldb.php\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 39 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 \u0060services/cms/article/ArticleMysqldb.php:214\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":"services/cms/article/ArticleMysqldb.php"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"72d96d4ca861a11f7b3f9cd79326bbf1d518c1030b7c31fc40cf4ec65179488f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): services/product/ProductMongodb.php:586-594 | services/product/ProductMysqldb.php:677-685 \u2014 before extracting anything, compare \u0060services/product/ProductMongodb.php\u0060 and \u0060services/product/ProductMysqldb.php\u0060 as WHOLE FILES: this scan already matched 29 separate duplicated blocks between them, totalling at least 358 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 \u0060services/product/ProductMongodb.php:586\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":"services/product/ProductMongodb.php"},"region":{"startLine":586}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f0322af60212a4f7750523c775961a7a1b7a797e0bc941e8f477e195eaeef40"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): services/product/ProductMongodb.php:767-775 | services/product/ProductMysqldb.php:916-924 \u2014 before extracting anything, compare \u0060services/product/ProductMongodb.php\u0060 and \u0060services/product/ProductMysqldb.php\u0060 as WHOLE FILES: this scan already matched 29 separate duplicated blocks between them, totalling at least 358 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 \u0060services/product/ProductMongodb.php:767\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":"services/product/ProductMongodb.php"},"region":{"startLine":767}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5fcc5cb67f19fc3b278a25d80254587f9e9f5edb2bebe00bd850c586da7baee"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): services/product/ProductMysqldb.php:191-199 | services/product/ProductMysqldb.php:228-236 \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":"services/product/ProductMysqldb.php"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2464f5dc69c090a74afb1cfe57836303d1fdfb21d81a30c1728549077f42d84"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): services/product/Stock.php:215-223 | services/product/Stock.php:313-321 \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 \u0060services/product/Stock.php:215\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":"services/product/Stock.php"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"aafe6e51e1ac4ebeff43dd72665840b12d4b91e5dd0e0ff5e3b67fd5856eb0c3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): services/product/favorite/FavoriteMongodb.php:134-142 | services/product/favorite/FavoriteMysqldb.php:134-142 \u2014 before extracting anything, compare \u0060services/product/favorite/FavoriteMongodb.php\u0060 and \u0060services/product/favorite/FavoriteMysqldb.php\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 71 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":"services/product/favorite/FavoriteMongodb.php"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"7217f319899056016c80125cd26badae90e4d0cec3ff296068381ec0a06d5002"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): services/product/review/ReviewMongodb.php:110-118 | services/product/review/ReviewMysqldb.php:112-120 \u2014 before extracting anything, compare \u0060services/product/review/ReviewMongodb.php\u0060 and \u0060services/product/review/ReviewMysqldb.php\u0060 as WHOLE FILES: this scan already matched 14 separate duplicated blocks between them, totalling at least 206 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":"services/product/review/ReviewMongodb.php"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b97df2222a9bb143a22cd1ebd4da307ce8c3ce7fb5c407d20d5b49633428e25"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 15): app/appadmin/modules/AppadminbaseBlock.php:553-560 | app/appadmin/modules/Catalog/block/category/Product.php:395-402 | app/appadmin/modules/Catalog/block/productbrand/Manager.php:208-215 | app/appadmin/modules/Catalog/block/productfavorite/Index.php:191-198 | app/appadmin/modules/Catalog/block/productinfo/Index.php:327-334 | app/appadmin/modules/Catalog/block/productreview/Index.php:272-279 | app/appadmin/modules/Catalog/block/urlrewrite/Index.php:172-179 | app/appadmin/modules/Cms/block/article/Index.php:203-210 | app/appadmin/modules/Cms/block/staticblock/Index.php:218-225 | app/appadmin/modules/Customer/block/contacts/Index.php:198-205 | app/appadmin/modules/Customer/block/newsletter/Index.php:202-209 | app/appadmin/modules/Sales/block/coupon/Manager.php:235-242 | app/appadmin/modules/Sales/block/orderinfo/Manager.php:259-266 | app/appadmin/modules/System/block/error/Index.php:197-204 | app/appadmin/modules/System/block/extensioninstalled/Manager.php:241-248 \u2014 before extracting anything, compare \u0060app/appadmin/modules/AppadminbaseBlock.php\u0060 and \u0060app/appadmin/modules/Catalog/block/category/Product.php\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 158 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/appadmin/modules/AppadminbaseBlock.php:553\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/appadmin/modules/AppadminbaseBlock.php"},"region":{"startLine":553}}}],"partialFingerprints":{"codehealthFindingId/v1":"b629cd43ad4665cf0e9b4cc14b2259f6946476be7a0326a5a45aa5aa139e56f9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 10): app/appadmin/modules/Catalog/block/category/Product.php:373-380 | app/appadmin/modules/Catalog/block/productfavorite/Index.php:169-176 | app/appadmin/modules/Catalog/block/productreview/Index.php:250-257 | app/appadmin/modules/Catalog/block/urlrewrite/Index.php:150-157 | app/appadmin/modules/Cms/block/article/Index.php:181-188 | app/appadmin/modules/Cms/block/staticblock/Index.php:196-203 | app/appadmin/modules/Sales/block/coupon/Manager.php:213-220 | app/appadmin/modules/Sales/block/orderinfo/Manager.php:237-244 | app/appadmin/modules/System/block/error/Index.php:175-182 | app/appadmin/modules/System/block/extensioninstalled/Manager.php:219-226 \u2014 before extracting anything, compare \u0060app/appadmin/modules/Catalog/block/category/Product.php\u0060 and \u0060app/appadmin/modules/Catalog/block/productfavorite/Index.php\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 123 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/appadmin/modules/Catalog/block/category/Product.php:373\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/appadmin/modules/Catalog/block/category/Product.php"},"region":{"startLine":373}}}],"partialFingerprints":{"codehealthFindingId/v1":"529e014af6651f6ded2bf231dd8ccecad09a0809a8c36c0fc5e33ac1712782e1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 10): services/product/ProductMongodb.php:377-385 | services/product/ProductMongodb.php:409-416 | services/product/ProductMongodb.php:516-524 | services/product/ProductMongodb.php:1251-1259 | services/product/ProductMongodb.php:1308-1315 | services/product/ProductMysqldb.php:478-486 | services/product/ProductMysqldb.php:506-515 | services/product/ProductMysqldb.php:609-617 | services/product/ProductMysqldb.php:1457-1465 | services/product/ProductMysqldb.php:1509-1517 \u2014 before extracting anything, compare \u0060services/product/ProductMongodb.php\u0060 and \u0060services/product/ProductMysqldb.php\u0060 as WHOLE FILES: this scan already matched 29 separate duplicated blocks between them, totalling at least 358 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 \u0060services/product/ProductMongodb.php:377\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, \u0060services/product/ProductMongodb.php:386\u0060 calls \u0060getPrimaryKey\u0060, \u0060ObjectId\u0060, \u0060andWhere\u0060 and \u0060services/product/ProductMongodb.php:417\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":"services/product/ProductMongodb.php"},"region":{"startLine":377}}}],"partialFingerprints":{"codehealthFindingId/v1":"97016b74bd3346d51b582b713c79f683abbe8a0ea25ebffc863f63339b3fa64a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 9): app/appfront/modules/Customer/block/account/Forgotpassword.php:54-61 | app/appfront/modules/Customer/block/account/Login.php:55-62 | app/appfront/modules/Customer/block/account/Register.php:60-67 | app/appfront/modules/Customer/block/contacts/Index.php:105-112 | app/apphtml5/modules/Customer/block/account/Forgotpassword.php:43-50 | app/apphtml5/modules/Customer/block/account/Login.php:47-54 | app/apphtml5/modules/Customer/block/account/Register.php:52-59 | app/apphtml5/modules/Customer/block/contacts/Index.php:105-112 | app/appserver/modules/Customer/block/account/Login.php:45-52 \u2014 before extracting anything, compare \u0060app/appfront/modules/Customer/block/account/Forgotpassword.php\u0060 and \u0060app/apphtml5/modules/Customer/block/account/Forgotpassword.php\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 53 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/appfront/modules/Customer/block/account/Forgotpassword.php:54\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/appfront/modules/Customer/block/account/Forgotpassword.php"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"d040839a15a9b2276354648162367a689d405971cc6d49acc79c513c75ea1837"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 6): services/Order.php:474-481 | services/Order.php:485-492 | services/cart/Coupon.php:227-234 | services/cart/Coupon.php:238-245 | services/product/review/ReviewMongodb.php:328-335 | services/product/review/ReviewMysqldb.php:343-350 \u2014 before extracting anything, compare \u0060services/product/review/ReviewMongodb.php\u0060 and \u0060services/product/review/ReviewMysqldb.php\u0060 as WHOLE FILES: this scan already matched 14 separate duplicated blocks between them, totalling at least 206 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 \u0060services/Order.php:474\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":"services/Order.php"},"region":{"startLine":474}}}],"partialFingerprints":{"codehealthFindingId/v1":"49c38216ee509bd0b6e04b48a54f18ac6eb42a7655aa064e751c24ea00bb96e8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 5): services/payment/Alipay.php:363-370 | services/payment/Wxpay.php:286-293 | services/payment/WxpayH5.php:293-300 | services/payment/WxpayJsApi.php:280-287 | services/payment/WxpayMicro.php:265-272 \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 5 call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060services/payment/Alipay.php:363\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060services/payment/Wxpay.php:295\u0060 calls \u0060strlen\u0060, \u0060mb_substr\u0060 and \u0060services/payment/Alipay.php:371\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":"services/payment/Alipay.php"},"region":{"startLine":363}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6d3d7a3e0385973a6f7b5c7dfbfce0ab22db0b3dce7c4abd9259f3219446d8b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 4): app/appapi/modules/V1/controllers/CategoryController.php:183-190 | app/appapi/modules/V1/controllers/ProductController.php:151-159 | app/appapi/modules/V1/controllers/ProductController.php:214-222 | services/product/ProductApi.php:389-397 \u2014 there are 4 copies across 3 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 4 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/appapi/modules/V1/controllers/CategoryController.php:183\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appapi/modules/V1/controllers/CategoryController.php"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8237ba3d45ece177905f110c5b75ef932515b5c684dbfe8917c30729d3325e9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 4): app/appfront/modules/Catalog/block/category/Index.php:486-493 | app/appfront/modules/Catalogsearch/block/index/Index.php:354-361 | app/apphtml5/modules/Catalog/block/category/Index.php:473-480 | app/apphtml5/modules/Catalogsearch/block/index/Index.php:377-384 \u2014 before extracting anything, compare \u0060app/appfront/modules/Catalog/block/category/Index.php\u0060 and \u0060app/appfront/modules/Catalogsearch/block/index/Index.php\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 114 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/appfront/modules/Catalog/block/category/Index.php"},"region":{"startLine":486}}}],"partialFingerprints":{"codehealthFindingId/v1":"09839ae20a47cfed8330ea2f3b4413e921975295a1bd5f5d6c47f2c1375c0dda"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): app/appadmin/modules/System/controllers/AdminurlkeyController.php:67-74 | app/appadmin/modules/System/controllers/ExtensiongiiController.php:81-88 | app/appadmin/modules/System/controllers/ExtensionmarketController.php:70-77 \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/appadmin/modules/System/controllers/AdminurlkeyController.php"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"48fbbca4a0485d024d36f283876f259b1f8444993c4c226f6eccb4cacad9e18a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): app/appfront/modules/Catalog/block/reviewproduct/Add.php:43-50 | app/apphtml5/modules/Catalog/block/reviewproduct/Add.php:44-51 | app/appserver/modules/Catalog/block/reviewproduct/Add.php:43-50 \u2014 before extracting anything, compare \u0060app/appfront/modules/Catalog/block/reviewproduct/Add.php\u0060 and \u0060app/apphtml5/modules/Catalog/block/reviewproduct/Add.php\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 140 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. 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/appfront/modules/Catalog/block/reviewproduct/Add.php"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"825c8c58d32b659f56fd38935619b09e06a22bf0d5e610c054d846507716301c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): app/appfront/modules/Checkout/block/cart/Index.php:126-133 | app/apphtml5/modules/Checkout/block/cart/Index.php:115-122 | app/appserver/modules/Checkout/controllers/CartController.php:89-96 \u2014 before extracting anything, compare \u0060app/appfront/modules/Checkout/block/cart/Index.php\u0060 and \u0060app/apphtml5/modules/Checkout/block/cart/Index.php\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 95 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/appfront/modules/Checkout/block/cart/Index.php:126\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/appfront/modules/Checkout/block/cart/Index.php"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8bca244701376b806a723ed4965425d9227d7094841029fc83c02e17fd3a5ff"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): app/appfront/modules/Checkout/block/onepage/Index.php:126-133 | app/apphtml5/modules/Checkout/block/onepage/Index.php:116-123 | app/appserver/modules/Checkout/block/onepage/Index.php:135-142 \u2014 before extracting anything, compare \u0060app/appfront/modules/Checkout/block/onepage/Index.php\u0060 and \u0060app/apphtml5/modules/Checkout/block/onepage/Index.php\u0060 as WHOLE FILES: this scan already matched 28 separate duplicated blocks between them, totalling at least 423 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/appfront/modules/Checkout/block/onepage/Index.php:126\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/appserver/modules/Checkout/block/onepage/Index.php:143\u0060 calls \u0060empty\u0060 and \u0060app/appfront/modules/Checkout/block/onepage/Index.php:137\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/appfront/modules/Checkout/block/onepage/Index.php"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"faa8ceb6e1b2ab04559a191ea566e6ee630b2c300c94ce32f660248390a72b72"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6\u20138 lines \u00D7 3): app/appfront/modules/Customer/controllers/AccountController.php:52-57 | app/appfront/modules/Customer/controllers/AccountController.php:77-82 | app/apphtml5/modules/Customer/controllers/AccountController.php:74-81 \u2014 before extracting anything, compare \u0060app/appfront/modules/Customer/controllers/AccountController.php\u0060 and \u0060app/apphtml5/modules/Customer/controllers/AccountController.php\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 82 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/appfront/modules/Customer/controllers/AccountController.php:52\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/appfront/modules/Customer/controllers/AccountController.php"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecc89a31cb7ee1bc037cfa4a1bbf11cfb6fd285a5953400e4f3647a4f19b108a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): app/appfront/modules/Payment/block/paypal/express/Start.php:80-87 | app/apphtml5/modules/Payment/block/paypal/express/Start.php:77-84 | app/appserver/modules/Payment/block/paypal/express/Start.php:84-91 \u2014 before extracting anything, compare \u0060app/appfront/modules/Payment/block/paypal/express/Start.php\u0060 and \u0060app/apphtml5/modules/Payment/block/paypal/express/Start.php\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 81 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/appfront/modules/Payment/block/paypal/express/Start.php:80\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/appfront/modules/Payment/block/paypal/express/Start.php"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c2c70641db1cac978b29cc8876bea23b1ae9faeaf66cf4ea92e10e641bfa8cb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20138 lines \u00D7 3): app/appserver/modules/Checkout/controllers/CartController.php:150-157 | app/appserver/modules/Customer/controllers/AddressController.php:174-181 | app/appserver/modules/Customer/controllers/EditaccountController.php:48-54 \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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appserver/modules/Checkout/controllers/CartController.php"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6c05822a5ee19b0986fde1f05875cad59130b1f9e39b08597a069aeae671f5b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): services/extension/Administer.php:55-62 | services/extension/Administer.php:166-173 | services/extension/Administer.php:276-283 \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 \u0060services/extension/Administer.php:55\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":"services/extension/Administer.php"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"12ed8429e3000a3df30f3fdf767b055a391603f5e335a7be3563ea6788d6927d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): app/appadmin/modules/Catalog/block/productinfo/Managerbatchedit.php:284-291 | app/appadmin/modules/Catalog/block/productinfo/Manageredit.php:283-290 \u2014 before extracting anything, compare \u0060app/appadmin/modules/Catalog/block/productinfo/Managerbatchedit.php\u0060 and \u0060app/appadmin/modules/Catalog/block/productinfo/Manageredit.php\u0060 as WHOLE FILES: this scan already matched 29 separate duplicated blocks between them, totalling at least 398 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/appadmin/modules/Catalog/block/productinfo/Managerbatchedit.php:284\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/appadmin/modules/Catalog/block/productinfo/Managerbatchedit.php"},"region":{"startLine":284}}}],"partialFingerprints":{"codehealthFindingId/v1":"95acb5c91b6341fb5a3ac0f0a975df6c184f628d5ef79c9e9f74fe0570c976fb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): app/appfront/modules/Catalog/controllers/ReviewproductController.php:36-43 | app/apphtml5/modules/Catalog/controllers/ReviewproductController.php:36-43 \u2014 before extracting anything, compare \u0060app/appfront/modules/Catalog/controllers/ReviewproductController.php\u0060 and \u0060app/apphtml5/modules/Catalog/controllers/ReviewproductController.php\u0060 as WHOLE FILES: 87% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 3 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/appfront/modules/Catalog/controllers/ReviewproductController.php"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf4c1b242190442fe7a9f54d539f3ef610493d7882385ca77e069364195093eb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): app/appfront/modules/Checkout/block/onepage/Index.php:38-45 | app/apphtml5/modules/Checkout/block/onepage/Index.php:38-45 \u2014 before extracting anything, compare \u0060app/appfront/modules/Checkout/block/onepage/Index.php\u0060 and \u0060app/apphtml5/modules/Checkout/block/onepage/Index.php\u0060 as WHOLE FILES: this scan already matched 28 separate duplicated blocks between them, totalling at least 423 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/appfront/modules/Checkout/block/onepage/Index.php:38\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060app/appfront/modules/Checkout/block/onepage/Index.php:46\u0060 calls \u0060breadcrumbs\u0060, \u0060__\u0060 and \u0060app/apphtml5/modules/Checkout/block/onepage/Index.php:47\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/appfront/modules/Checkout/block/onepage/Index.php"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"51de0d5acee0dc7f325878c65dcc5fdbec7be9900597120afa65e818a84024df"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): app/appfront/modules/Customer/controllers/ContactsController.php:30-37 | app/apphtml5/modules/Customer/controllers/ContactsController.php:30-37 \u2014 before extracting anything, compare \u0060app/appfront/modules/Customer/controllers/ContactsController.php\u0060 and \u0060app/apphtml5/modules/Customer/controllers/ContactsController.php\u0060 as WHOLE FILES: 92% 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/appfront/modules/Customer/controllers/ContactsController.php"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"644c77dc16225ceb11016d1eb516ee138effa265a5db024e8262b4c17ccde0fb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): app/appfront/modules/Payment/controllers/alipay/StandardController.php:39-46 | app/apphtml5/modules/Payment/controllers/alipay/StandardController.php:40-47 \u2014 before extracting anything, compare \u0060app/appfront/modules/Payment/controllers/alipay/StandardController.php\u0060 and \u0060app/apphtml5/modules/Payment/controllers/alipay/StandardController.php\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 30 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. 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/appfront/modules/Payment/controllers/alipay/StandardController.php"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fd057e34ac22bb8f1b77dfdd07a0f9aa9927f41e8096f7b689328d003c232ec"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): app/appfront/widgets/Head.php:19-26 | app/apphtml5/widgets/Head.php:19-26 \u2014 before extracting anything, compare \u0060app/appfront/widgets/Head.php\u0060 and \u0060app/apphtml5/widgets/Head.php\u0060 as WHOLE FILES: 88% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appfront/widgets/Head.php"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"97769dddf2b6626ac6287e49bc4d473136ed41c8fb6e5a0cebcf7881807aced7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): app/apphtml5/modules/Checkout/block/cart/Index.php:24-31 | app/appserver/modules/Checkout/controllers/CartController.php:29-36 \u2014 before extracting anything, compare \u0060app/apphtml5/modules/Checkout/block/cart/Index.php\u0060 and \u0060app/appserver/modules/Checkout/controllers/CartController.php\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 52 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/apphtml5/modules/Checkout/block/cart/Index.php"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"76e4d7276fb5c60cea24d822f9f694896119bbdc11062f6209b4466f91c79c9a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): app/appserver/modules/Catalog/block/reviewproduct/Add.php:66-73 | app/appserver/modules/Catalog/controllers/ReviewproductController.php:97-104 \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/appserver/modules/Catalog/block/reviewproduct/Add.php"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcd3e14b3afd29b877c1eadff732b07f9ddfb3b1fdb7e09b7604d5ade7f1ab9c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): app/appserver/modules/Checkout/block/onepage/Index.php:43-50 | app/appserver/modules/Payment/block/paypal/express/Review.php:39-46 \u2014 before extracting anything, compare \u0060app/appserver/modules/Checkout/block/onepage/Index.php\u0060 and \u0060app/appserver/modules/Payment/block/paypal/express/Review.php\u0060 as WHOLE FILES: this scan already matched 18 separate duplicated blocks between them, totalling at least 254 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/appserver/modules/Checkout/block/onepage/Index.php:43\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/appserver/modules/Checkout/block/onepage/Index.php"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6a22f9fc643a8742556841e4f013bfd8efd9701d6744ced7874a7e3b1e51914"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): services/category/CategoryMongodb.php:582-589 | services/category/CategoryMysqldb.php:653-660 \u2014 before extracting anything, compare \u0060services/category/CategoryMongodb.php\u0060 and \u0060services/category/CategoryMysqldb.php\u0060 as WHOLE FILES: this scan already matched 22 separate duplicated blocks between them, totalling at least 274 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 \u0060services/category/CategoryMongodb.php:582\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060services/category/CategoryMysqldb.php:661\u0060 calls \u0060unserializeData\u0060 and \u0060services/category/CategoryMongodb.php:590\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":"services/category/CategoryMongodb.php"},"region":{"startLine":582}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffccd22d368fcb72fae5a0ee76d367ef64f6b55366d528802fa7f6a641fc4826"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): services/product/ProductMongodb.php:536-543 | services/product/ProductMysqldb.php:623-630 \u2014 before extracting anything, compare \u0060services/product/ProductMongodb.php\u0060 and \u0060services/product/ProductMysqldb.php\u0060 as WHOLE FILES: this scan already matched 29 separate duplicated blocks between them, totalling at least 358 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 \u0060services/product/ProductMongodb.php:536\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":"services/product/ProductMongodb.php"},"region":{"startLine":536}}}],"partialFingerprints":{"codehealthFindingId/v1":"1af2ef995412d84245a1b8d732b68d791d3010207bd2a2305e9d84427e935a62"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): services/product/ProductMysqldb.php:449-456 | services/product/ProductMysqldb.php:1435-1442 \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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060services/product/ProductMysqldb.php:447\u0060 calls \u0060isset\u0060 and \u0060services/product/ProductMysqldb.php:1433\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":"services/product/ProductMysqldb.php"},"region":{"startLine":449}}}],"partialFingerprints":{"codehealthFindingId/v1":"73fb66a932f1250e87efda834b8c06dfe5a94c0b82edc3c8bc8c95cdf61ee79c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): services/product/ProductMysqldb.php:579-586 | services/product/ProductMysqldb.php:1435-1442 \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":"services/product/ProductMysqldb.php"},"region":{"startLine":579}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbb4bb192adac59b61da57d2729a9fa7b4b49be78e61c1b91b5698bdd179a9e8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): services/product/review/ReviewMongodb.php:288-295 | services/product/review/ReviewMysqldb.php:303-310 \u2014 before extracting anything, compare \u0060services/product/review/ReviewMongodb.php\u0060 and \u0060services/product/review/ReviewMysqldb.php\u0060 as WHOLE FILES: this scan already matched 14 separate duplicated blocks between them, totalling at least 206 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 \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, \u0060services/product/review/ReviewMongodb.php:285\u0060 calls \u0060ObjectId\u0060, \u0060getPrimaryKey\u0060 and \u0060services/product/review/ReviewMysqldb.php:300\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":"services/product/review/ReviewMongodb.php"},"region":{"startLine":288}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d4ea4586c1d69e5b6772c7dcff3016c7f38d1e38b2659834cc450ba3d4d3d1e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): services/url/rewrite/RewriteMongodb.php:131-139 | services/url/rewrite/RewriteMongodb.php:144-151 \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 \u0060services/url/rewrite/RewriteMongodb.php:131\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":"services/url/rewrite/RewriteMongodb.php"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9d002bba1086ce0d5b76ee25f9f67723fbedbd233c60c528cedffaef73bc6ac"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 21): services/Payment.php:92-98 | services/Payment.php:137-143 | services/Payment.php:158-164 | services/Payment.php:179-185 | services/Payment.php:200-206 | services/Payment.php:221-227 | services/Payment.php:241-247 | services/Payment.php:309-315 | services/Payment.php:348-354 | services/Payment.php:368-374 | services/Payment.php:388-394 | services/Payment.php:412-418 | services/Payment.php:432-438 | services/Payment.php:452-458 | services/Payment.php:472-478 | services/Payment.php:492-498 | services/Payment.php:512-518 | services/Payment.php:532-538 | services/Payment.php:552-558 | services/Payment.php:573-579 | services/Payment.php:593-599 \u2014 all 21 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 \u0060services/Payment.php:92\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060services/Payment.php:101\u0060 calls \u0060getAppServerUrl\u0060 and \u0060services/Payment.php:145\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"services/Payment.php"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"393fb9fb1bb151626456687f508a752b3a62e8e107fcfba7cb6b532126cb01e2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 8): app/appfront/modules/Checkout/block/cart/Index.php:130-137 | app/appfront/modules/Checkout/block/onepage/Index.php:300-307 | app/appfront/modules/Payment/block/paypal/express/Review.php:242-249 | app/apphtml5/modules/Checkout/block/cart/Index.php:119-126 | app/apphtml5/modules/Checkout/block/onepage/Index.php:290-297 | app/apphtml5/modules/Payment/block/paypal/express/Review.php:242-249 | app/appserver/modules/Checkout/block/onepage/Index.php:322-328 | app/appserver/modules/Payment/block/paypal/express/Review.php:263-270 \u2014 \u0060app/appfront/modules/Checkout/block/cart/Index.php\u0060 and \u0060app/appfront/modules/Checkout/block/onepage/Index.php\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 6 separate duplicated blocks between them, totalling at least 65 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/appfront/modules/Checkout/block/cart/Index.php:130\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/appfront/modules/Checkout/block/cart/Index.php"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"35422881ad6ccac19051aaa51a045f130641d627a920493e475d759c48245dd8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 7): lib/wxpay/lib/WxPay.Api.php:85-92 | lib/wxpay/lib/WxPay.Api.php:116-123 | lib/wxpay/lib/WxPay.Api.php:156-162 | lib/wxpay/lib/WxPay.Api.php:192-199 | lib/wxpay/lib/WxPay.Api.php:260-267 | lib/wxpay/lib/WxPay.Api.php:291-298 | lib/wxpay/lib/WxPay.Api.php:388-395 \u2014 all 7 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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060lib/wxpay/lib/WxPay.Api.php:259\u0060 calls \u0060SetSpbill_create_ip\u0060 and \u0060lib/wxpay/lib/WxPay.Api.php:84\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/wxpay/lib/WxPay.Api.php"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"81eae326af5738cb9e154e98bafc8a3e39e5f465f03f7fe6e79e557b244fe334"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 6): app/appfront/modules/Catalog/block/category/Index.php:495-501 | app/appfront/modules/Catalogsearch/block/index/Index.php:364-370 | app/apphtml5/modules/Catalog/block/category/Index.php:482-488 | app/apphtml5/modules/Catalogsearch/block/index/Index.php:387-393 | app/appserver/modules/Catalog/controllers/CategoryController.php:733-739 | app/appserver/modules/Catalogsearch/controllers/IndexController.php:453-459 \u2014 before extracting anything, compare \u0060app/appfront/modules/Catalog/block/category/Index.php\u0060 and \u0060app/appfront/modules/Catalogsearch/block/index/Index.php\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 114 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/appfront/modules/Catalog/block/category/Index.php"},"region":{"startLine":495}}}],"partialFingerprints":{"codehealthFindingId/v1":"066a9223875b5155a35e4984b2bd23eca1ae8059dbc134028340fc602ab8361d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6\u20137 lines \u00D7 6): app/appfront/modules/Catalog/block/product/Index.php:145-150 | app/appfront/modules/Catalog/block/product/Index.php:157-163 | app/apphtml5/modules/Catalog/block/product/Index.php:134-139 | app/apphtml5/modules/Catalog/block/product/Index.php:146-152 | app/appserver/modules/Catalog/controllers/ProductController.php:375-380 | app/appserver/modules/Catalog/controllers/ProductController.php:387-393 \u2014 before extracting anything, compare \u0060app/appfront/modules/Catalog/block/product/Index.php\u0060 and \u0060app/apphtml5/modules/Catalog/block/product/Index.php\u0060 as WHOLE FILES: this scan already matched 21 separate duplicated blocks between them, totalling at least 409 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/appfront/modules/Catalog/block/product/Index.php:145\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/appfront/modules/Catalog/block/product/Index.php"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"f944cba0444305d24ec5f29f0a81611adfaf52e4ae32e75aa9f40d0ab1f9ea7b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 6): app/appfront/modules/Checkout/block/onepage/Index.php:126-132 | app/appfront/modules/Payment/block/paypal/express/Review.php:163-169 | app/apphtml5/modules/Checkout/block/onepage/Index.php:116-122 | app/apphtml5/modules/Payment/block/paypal/express/Review.php:163-169 | app/appserver/modules/Checkout/block/onepage/Index.php:135-141 | app/appserver/modules/Payment/block/paypal/express/Review.php:178-184 \u2014 before extracting anything, compare \u0060app/appfront/modules/Checkout/block/onepage/Index.php\u0060 and \u0060app/appfront/modules/Payment/block/paypal/express/Review.php\u0060 as WHOLE FILES: this scan already matched 19 separate duplicated blocks between them, totalling at least 242 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/appfront/modules/Checkout/block/onepage/Index.php:126\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/appfront/modules/Checkout/block/onepage/Index.php"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"95f4a64c39a44921d0d491f5f3e0fed014147b66ddea3d74167d0ca263ce61aa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 4): services/product/ProductMongodb.php:426-432 | services/product/ProductMongodb.php:1325-1331 | services/product/ProductMysqldb.php:519-525 | services/product/ProductMysqldb.php:1521-1527 \u2014 before extracting anything, compare \u0060services/product/ProductMongodb.php\u0060 and \u0060services/product/ProductMysqldb.php\u0060 as WHOLE FILES: this scan already matched 29 separate duplicated blocks between them, totalling at least 358 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 \u0060services/product/ProductMongodb.php:426\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":"services/product/ProductMongodb.php"},"region":{"startLine":426}}}],"partialFingerprints":{"codehealthFindingId/v1":"c424e1a6c59c47a00c9430f033ed3044a5d4e6338092fa052cd4be7ee1c6f359"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 4): services/product/ProductMongodb.php:750-756 | services/product/ProductMongodb.php:761-767 | services/product/ProductMysqldb.php:899-905 | services/product/ProductMysqldb.php:910-916 \u2014 before extracting anything, compare \u0060services/product/ProductMongodb.php\u0060 and \u0060services/product/ProductMysqldb.php\u0060 as WHOLE FILES: this scan already matched 29 separate duplicated blocks between them, totalling at least 358 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 \u0060services/product/ProductMongodb.php:750\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":"services/product/ProductMongodb.php"},"region":{"startLine":750}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3cccdbd8e03432f3d43d7d10bd1365a65ded8882370b7452b98881c8cecc37a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): app/appapi/modules/V1/controllers/ArticleController.php:36-42 | app/appapi/modules/V1/controllers/ProductattrController.php:38-44 | app/appapi/modules/V1/controllers/ProductattrgroupController.php:38-44 \u2014 before extracting anything, compare \u0060app/appapi/modules/V1/controllers/ProductattrController.php\u0060 and \u0060app/appapi/modules/V1/controllers/ProductattrgroupController.php\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 70 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/appapi/modules/V1/controllers/ArticleController.php:36\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/appapi/modules/V1/controllers/ArticleController.php"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"80e6f144f09b240a4375e26cc0b79d677a7fd2c26b02f03e5c77f287c55e8c89"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): app/appfront/modules/Checkout/controllers/CartController.php:48-54 | app/apphtml5/modules/Checkout/controllers/CartController.php:44-50 | app/appserver/modules/Checkout/controllers/CartController.php:155-161 \u2014 before extracting anything, compare \u0060app/appfront/modules/Checkout/controllers/CartController.php\u0060 and \u0060app/apphtml5/modules/Checkout/controllers/CartController.php\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 191 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/appfront/modules/Checkout/controllers/CartController.php"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1624f01fbf4d11299dfde0c88ed39ecd5b0aa6702cc6fea7fd5282ed542e46d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): app/appfront/modules/Payment/block/paypal/express/Review.php:72-78 | app/apphtml5/modules/Payment/block/paypal/express/Review.php:72-78 | app/appserver/modules/Payment/block/paypal/express/Review.php:87-93 \u2014 before extracting anything, compare \u0060app/appfront/modules/Payment/block/paypal/express/Review.php\u0060 and \u0060app/apphtml5/modules/Payment/block/paypal/express/Review.php\u0060 as WHOLE FILES: this scan already matched 28 separate duplicated blocks between them, totalling at least 390 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/appfront/modules/Payment/block/paypal/express/Review.php:72\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/appfront/modules/Payment/block/paypal/express/Review.php"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"713e1d73bc0334dfb1a6975e57ea9c3cf1d93f640f150e090ad68bbe8ab49a7c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6\u20137 lines \u00D7 3): services/cms/article/ArticleMongodb.php:183-189 | services/cms/article/ArticleMongodb.php:198-203 | services/cms/article/ArticleMysqldb.php:224-230 \u2014 before extracting anything, compare \u0060services/cms/article/ArticleMongodb.php\u0060 and \u0060services/cms/article/ArticleMysqldb.php\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 36 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. 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":"services/cms/article/ArticleMongodb.php"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f1fff0989e0d0a15f5bf89aa57dc420880ecead0aa201021530b2ce0bbeb625"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): app/appadmin/modules/Catalog/block/category/Product.php:366-372 | app/appadmin/modules/Catalog/block/productinfo/Index.php:294-301 \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/appadmin/modules/Catalog/block/category/Product.php:366\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/appadmin/modules/Catalog/block/category/Product.php"},"region":{"startLine":366}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6ecf7a17dc49e79aa8719c1477d34eef0d3cb0b0f6b92acea6efac7e66f347c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): app/appadmin/modules/System/block/extensionmarket/Manager.php:66-72 | app/appadmin/modules/System/block/extensionmarket/Manager.php:98-104 \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/appadmin/modules/System/block/extensionmarket/Manager.php:66\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/appadmin/modules/System/block/extensionmarket/Manager.php"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"64645359dcaf278fe597e1855d55915346a5b2510f12405c942c0b77221455e8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): app/appfront/modules/Cms/block/widgets/Head.php:19-25 | app/apphtml5/modules/Cms/block/widgets/Head.php:19-25 \u2014 before extracting anything, compare \u0060app/appfront/modules/Cms/block/widgets/Head.php\u0060 and \u0060app/apphtml5/modules/Cms/block/widgets/Head.php\u0060 as WHOLE FILES: 85% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The \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/appfront/modules/Cms/block/widgets/Head.php"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"f410247b13a87782f642b831be4206994a553bea9d2b69cce593d721f6e89be6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): app/appserver/modules/Customer/controllers/ForgotController.php:122-128 | app/appserver/modules/Customer/controllers/LoginController.php:79-85 \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/appserver/modules/Customer/controllers/ForgotController.php:122\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appserver/modules/Customer/controllers/ForgotController.php"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c3c8e6022e8d826a15d39e5abd44bda589196dabf28c45087b07e2c73114661"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): services/category/Image.php:101-107 | services/product/Image.php:114-120 \u2014 \u0060services/category/Image.php\u0060 and \u0060services/product/Image.php\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 2 separate duplicated blocks between them, totalling at least 14 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. 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":"services/category/Image.php"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"99b031c50b6298a76c359f6ef1558ede3e9fdfbc35b5a295ecfb635ca7ed0c66"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): services/cms/staticblock/StaticBlockMongodb.php:122-128 | services/cms/staticblock/StaticBlockMysqldb.php:154-160 \u2014 before extracting anything, compare \u0060services/cms/staticblock/StaticBlockMongodb.php\u0060 and \u0060services/cms/staticblock/StaticBlockMysqldb.php\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 41 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 \u0060services/cms/staticblock/StaticBlockMongodb.php:122\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":"services/cms/staticblock/StaticBlockMongodb.php"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"338c6f1e6ac6a48b5f989e72c071b190c6abb967b5bd45fc85f2a47570dff97d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): services/email/widgets/customer/account/forgotpassword/Body.php:26-32 | services/email/widgets/customer/account/register/Body.php:28-34 \u2014 \u0060services/email/widgets/customer/account/forgotpassword/Body.php\u0060 and \u0060services/email/widgets/customer/account/register/Body.php\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 1 separate duplicated blocks between them, totalling at least 7 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"services/email/widgets/customer/account/forgotpassword/Body.php"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"4706e11cf5687f4d4b347522bb2286dafa5b321587646cdca68ae21622574997"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): services/page/Asset.php:104-110 | services/page/Asset.php:123-129 \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 \u0060services/page/Asset.php:104\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":"services/page/Asset.php"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"caddd26f09340dd9b4b137da792c124ada22b3cd632ba765160c0bde6949f8ee"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 13): app/appadmin/modules/AppadminbaseBlock.php:523-528 | app/appadmin/modules/Catalog/block/productbrand/Manager.php:178-183 | app/appadmin/modules/Catalog/block/productfavorite/Index.php:155-160 | app/appadmin/modules/Catalog/block/productreview/Index.php:233-238 | app/appadmin/modules/Catalog/block/urlrewrite/Index.php:141-146 | app/appadmin/modules/Cms/block/article/Index.php:172-177 | app/appadmin/modules/Cms/block/staticblock/Index.php:187-192 | app/appadmin/modules/Customer/block/contacts/Index.php:168-173 | app/appadmin/modules/Customer/block/newsletter/Index.php:173-178 | app/appadmin/modules/Sales/block/coupon/Manager.php:204-209 | app/appadmin/modules/Sales/block/orderinfo/Manager.php:223-228 | app/appadmin/modules/System/block/error/Index.php:166-171 | app/appadmin/modules/System/block/extensioninstalled/Manager.php:210-215 \u2014 before extracting anything, compare \u0060app/appadmin/modules/AppadminbaseBlock.php\u0060 and \u0060app/appadmin/modules/Catalog/block/productbrand/Manager.php\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 80 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/appadmin/modules/AppadminbaseBlock.php:523\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060app/appadmin/modules/Catalog/block/productreview/Index.php:231\u0060 calls \u0060getSkusByIds\u0060 and \u0060app/appadmin/modules/Catalog/block/urlrewrite/Index.php:140\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/appadmin/modules/AppadminbaseBlock.php"},"region":{"startLine":523}}}],"partialFingerprints":{"codehealthFindingId/v1":"24c9317ecf7673cf7920a3b4d67e175b640e5b64ec6d4807503fdd23a9f266a6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 12): app/appadmin/modules/Catalog/block/category/Product.php:378-383 | app/appadmin/modules/Catalog/block/productfavorite/Index.php:174-179 | app/appadmin/modules/Catalog/block/productreview/Index.php:255-260 | app/appadmin/modules/Catalog/block/urlrewrite/Index.php:155-160 | app/appadmin/modules/Cms/block/article/Index.php:186-191 | app/appadmin/modules/Cms/block/staticblock/Index.php:201-206 | app/appadmin/modules/Fecadmin/block/log/Index.php:152-157 | app/appadmin/modules/Fecadmin/block/logtj/Index.php:193-198 | app/appadmin/modules/Sales/block/coupon/Manager.php:218-223 | app/appadmin/modules/Sales/block/orderinfo/Manager.php:242-247 | app/appadmin/modules/System/block/error/Index.php:180-185 | app/appadmin/modules/System/block/extensioninstalled/Manager.php:224-229 \u2014 before extracting anything, compare \u0060app/appadmin/modules/Catalog/block/category/Product.php\u0060 and \u0060app/appadmin/modules/Catalog/block/productfavorite/Index.php\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 123 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/appadmin/modules/Catalog/block/category/Product.php:378\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/appadmin/modules/Catalog/block/category/Product.php"},"region":{"startLine":378}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce9ce87fcb02b24b147685ecf621117f85b6b0964f592d451935b3a0f7bb3913"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 6): app/appapi/modules/V1/controllers/ArticleController.php:118-123 | app/appapi/modules/V1/controllers/ArticleController.php:183-188 | app/appapi/modules/V1/controllers/CategoryController.php:139-145 | app/appapi/modules/V1/controllers/CategoryController.php:236-242 | app/appapi/modules/V1/controllers/CategoryController.php:337-343 | app/appapi/modules/V1/controllers/CategoryController.php:440-446 \u2014 before extracting anything, compare \u0060app/appapi/modules/V1/controllers/ArticleController.php\u0060 and \u0060app/appapi/modules/V1/controllers/CategoryController.php\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 96 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/appapi/modules/V1/controllers/ArticleController.php"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"8215495efebadfa47e23bb53f06de9a39b0a3bc141f61bf23c4b00fad7e3d4c5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 6): app/appfront/modules/Checkout/block/onepage/Index.php:248-253 | app/appfront/modules/Customer/block/address/Edit.php:122-127 | app/appfront/modules/Payment/block/paypal/express/Review.php:190-195 | app/apphtml5/modules/Checkout/block/onepage/Index.php:238-243 | app/apphtml5/modules/Customer/block/address/Edit.php:112-117 | app/apphtml5/modules/Payment/block/paypal/express/Review.php:190-195 \u2014 before extracting anything, compare \u0060app/appfront/modules/Checkout/block/onepage/Index.php\u0060 and \u0060app/appfront/modules/Payment/block/paypal/express/Review.php\u0060 as WHOLE FILES: this scan already matched 19 separate duplicated blocks between them, totalling at least 242 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/appfront/modules/Checkout/block/onepage/Index.php:248\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/appfront/modules/Checkout/block/onepage/Index.php"},"region":{"startLine":248}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fc59073654470721d3d82e574d879119513bc1eead86d3c67b5d44bd253f726"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5\u20136 lines \u00D7 4): app/appadmin/modules/Catalog/block/productinfo/Managerbatchedit.php:297-302 | app/appadmin/modules/Catalog/block/productinfo/Managerbatchedit.php:393-397 | app/appadmin/modules/Catalog/block/productinfo/Manageredit.php:296-301 | app/appadmin/modules/Catalog/block/productinfo/Manageredit.php:392-396 \u2014 before extracting anything, compare \u0060app/appadmin/modules/Catalog/block/productinfo/Managerbatchedit.php\u0060 and \u0060app/appadmin/modules/Catalog/block/productinfo/Manageredit.php\u0060 as WHOLE FILES: this scan already matched 29 separate duplicated blocks between them, totalling at least 398 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/appadmin/modules/Catalog/block/productinfo/Managerbatchedit.php:297\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/appadmin/modules/Catalog/block/productinfo/Managerbatchedit.php"},"region":{"startLine":297}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9cd49ca9f145e5c13b9ff5c3eb3d868521b12cb92eef4d1edf22dfe434a7177"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 4): app/appfront/modules/Checkout/block/onepage/Placeorder.php:228-233 | app/apphtml5/modules/Checkout/block/onepage/Placeorder.php:215-220 | app/appserver/modules/Checkout/block/onepage/Placeorder.php:249-254 | app/appserver/modules/Checkout/block/onepage/Wxplaceorder.php:233-238 \u2014 before extracting anything, compare \u0060app/appfront/modules/Checkout/block/onepage/Placeorder.php\u0060 and \u0060app/apphtml5/modules/Checkout/block/onepage/Placeorder.php\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 292 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/appfront/modules/Checkout/block/onepage/Placeorder.php:228\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/appfront/modules/Checkout/block/onepage/Placeorder.php"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7bf780fa01515a571a0b92b8de97ec85ebca7d10b8fb26b063436735ea82f5a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 4): lib/alipay/lotusphp_runtime/MVC/Action.php:196-201 | lib/alipay/lotusphp_runtime/MVC/Action.php:220-225 | lib/alipay/lotusphp_runtime/MVC/Component.php:94-99 | lib/alipay/lotusphp_runtime/MVC/Component.php:118-123 \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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/alipay/lotusphp_runtime/MVC/Action.php"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"1458775173b0dde7404f66bf11fc62289aa1478a41ba56f7b6d3efdfed0c85ab"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (3\u20136 lines \u00D7 5): services/category/CategoryMongodb.php:200-205 | services/category/CategoryMongodb.php:254-259 | services/category/CategoryMongodb.php:681-686 | services/category/CategoryMysqldb.php:759-764 | services/cms/article/ArticleMongodb.php:144-146 \u2014 before extracting anything, compare \u0060services/category/CategoryMongodb.php\u0060 and \u0060services/category/CategoryMysqldb.php\u0060 as WHOLE FILES: this scan already matched 22 separate duplicated blocks between them, totalling at least 274 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 \u0060services/category/CategoryMongodb.php:200\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060services/category/CategoryMongodb.php:199\u0060 calls \u0060isset\u0060, \u0060getDefaultLangAttrVal\u0060 and \u0060services/cms/article/ArticleMongodb.php:144\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":"services/category/CategoryMongodb.php"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c9910053e0c4ce9a5e135a8e68863f79cb5759e023cc5b3bd68837a0603fc0b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): app/appadmin/modules/Config/block/appfrontpayment/Manager.php:177-182 | app/appadmin/modules/Config/block/apphtml5payment/Manager.php:165-171 | app/appadmin/modules/Config/block/appserverpayment/Manager.php:166-171 \u2014 \u0060app/appadmin/modules/Config/block/appfrontpayment/Manager.php\u0060 and \u0060app/appadmin/modules/Config/block/apphtml5payment/Manager.php\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 6 separate duplicated blocks between them, totalling at least 66 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/appadmin/modules/Config/block/appfrontpayment/Manager.php:177\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/appadmin/modules/Config/block/appfrontpayment/Manager.php"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"544c0dceedc449c4e6e2dba6cb312a760d373af72fb130abecd8635c11db4325"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): app/appfront/modules/Catalog/block/category/Index.php:343-348 | app/apphtml5/modules/Catalog/block/category/Index.php:330-335 | app/appserver/modules/Catalog/controllers/CategoryController.php:458-463 \u2014 before extracting anything, compare \u0060app/appfront/modules/Catalog/block/category/Index.php\u0060 and \u0060app/apphtml5/modules/Catalog/block/category/Index.php\u0060 as WHOLE FILES: this scan already matched 25 separate duplicated blocks between them, totalling at least 393 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/appfront/modules/Catalog/block/category/Index.php:343\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060app/appserver/modules/Catalog/controllers/CategoryController.php:455\u0060 calls \u0060getCurrentSymbol\u0060, \u0060get\u0060 and \u0060app/appfront/modules/Catalog/block/category/Index.php:341\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/appfront/modules/Catalog/block/category/Index.php"},"region":{"startLine":343}}}],"partialFingerprints":{"codehealthFindingId/v1":"09c442273d6d1b75a4978389e72d051551d127676bf1148d2bcbc020468ccd70"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): app/appfront/modules/Catalog/block/reviewproduct/Add.php:76-81 | app/apphtml5/modules/Catalog/block/reviewproduct/Add.php:77-82 | app/appserver/modules/Catalog/block/reviewproduct/Add.php:81-86 \u2014 before extracting anything, compare \u0060app/appfront/modules/Catalog/block/reviewproduct/Add.php\u0060 and \u0060app/apphtml5/modules/Catalog/block/reviewproduct/Add.php\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 140 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/appfront/modules/Catalog/block/reviewproduct/Add.php:76\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/appfront/modules/Catalog/block/reviewproduct/Add.php"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"74d440695c0187a5e9b11b48c7d40171912fff74f90759b3dad5ecdd89a0b68e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): app/appfront/modules/Checkout/block/onepage/Index.php:535-540 | app/apphtml5/modules/Checkout/block/onepage/Index.php:527-532 | app/appserver/modules/Checkout/block/onepage/Index.php:540-545 \u2014 before extracting anything, compare \u0060app/appfront/modules/Checkout/block/onepage/Index.php\u0060 and \u0060app/apphtml5/modules/Checkout/block/onepage/Index.php\u0060 as WHOLE FILES: this scan already matched 28 separate duplicated blocks between them, totalling at least 423 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/appfront/modules/Checkout/block/onepage/Index.php"},"region":{"startLine":535}}}],"partialFingerprints":{"codehealthFindingId/v1":"90e41157b0be3840bff1d3e61e4945e0811797386a31f94126005bbcc236b836"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): app/appfront/modules/Customer/block/order/View.php:40-45 | app/apphtml5/modules/Customer/block/order/View.php:30-35 | app/appserver/modules/Customer/controllers/OrderController.php:227-232 \u2014 before extracting anything, compare \u0060app/appfront/modules/Customer/block/order/View.php\u0060 and \u0060app/apphtml5/modules/Customer/block/order/View.php\u0060 as WHOLE FILES: 92% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 2 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/appfront/modules/Customer/block/order/View.php:40\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/appfront/modules/Customer/block/order/View.php"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"38b7f832e4c231d75d28832d50c568bd84a800dac289ecd04ae9b5f6ca34d060"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): services/product/ProductMongodb.php:444-449 | services/product/ProductMongodb.php:554-559 | services/product/ProductMongodb.php:1340-1345 \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":"services/product/ProductMongodb.php"},"region":{"startLine":444}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddb0ea73079bf186621821e742c751777158a36a9386574d96a67b7414812154"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): app/appadmin/modules/AppadminbaseBlock.php:327-333 | app/appadmin/modules/Catalog/block/category/Product.php:224-229 \u2014 before extracting anything, compare \u0060app/appadmin/modules/AppadminbaseBlock.php\u0060 and \u0060app/appadmin/modules/Catalog/block/category/Product.php\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 158 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/appadmin/modules/AppadminbaseBlock.php:327\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/appadmin/modules/AppadminbaseBlock.php"},"region":{"startLine":327}}}],"partialFingerprints":{"codehealthFindingId/v1":"1abcb5f10df6319a117a042afa66a3bc156f8379a67504af756f8377d9c82588"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): app/appadmin/modules/AppadminbaseBlock.php:423-428 | app/appadmin/modules/Catalog/block/category/Product.php:89-94 \u2014 before extracting anything, compare \u0060app/appadmin/modules/AppadminbaseBlock.php\u0060 and \u0060app/appadmin/modules/Catalog/block/category/Product.php\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 158 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/appadmin/modules/AppadminbaseBlock.php:423\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/appadmin/modules/AppadminbaseBlock.php"},"region":{"startLine":423}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdd4bac661977d2e9627aa528c69112fbf82f710fd681d26d10f20f41629a05a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): app/appadmin/modules/AppadminbaseBlock.php:467-472 | app/appadmin/modules/System/block/error/Index.php:276-281 \u2014 before extracting anything, compare \u0060app/appadmin/modules/AppadminbaseBlock.php\u0060 and \u0060app/appadmin/modules/System/block/error/Index.php\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 62 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/appadmin/modules/AppadminbaseBlock.php:467\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/appadmin/modules/AppadminbaseBlock.php"},"region":{"startLine":467}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb25e228aa0d2f361120668da1d81693eeaddacfe7d2c2cf695e3e8144c82820"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): app/appadmin/modules/Catalog/block/productinfo/Managerbatchedit.php:161-166 | app/appadmin/modules/Catalog/block/productinfo/Manageredit.php:160-165 \u2014 before extracting anything, compare \u0060app/appadmin/modules/Catalog/block/productinfo/Managerbatchedit.php\u0060 and \u0060app/appadmin/modules/Catalog/block/productinfo/Manageredit.php\u0060 as WHOLE FILES: this scan already matched 29 separate duplicated blocks between them, totalling at least 398 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/appadmin/modules/Catalog/block/productinfo/Managerbatchedit.php:161\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appadmin/modules/Catalog/block/productinfo/Managerbatchedit.php"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"82ada3a55d4497cdf010a87e04bce7ade665cd3bac22576272a442eded1c23bc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): app/appadmin/modules/Catalog/block/productinfo/Managerbatchedit.php:355-360 | app/appadmin/modules/Catalog/block/productinfo/Manageredit.php:354-359 \u2014 before extracting anything, compare \u0060app/appadmin/modules/Catalog/block/productinfo/Managerbatchedit.php\u0060 and \u0060app/appadmin/modules/Catalog/block/productinfo/Manageredit.php\u0060 as WHOLE FILES: this scan already matched 29 separate duplicated blocks between them, totalling at least 398 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/appadmin/modules/Catalog/block/productinfo/Managerbatchedit.php:355\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/appadmin/modules/Catalog/block/productinfo/Managerbatchedit.php"},"region":{"startLine":355}}}],"partialFingerprints":{"codehealthFindingId/v1":"d591ec0a28b5b015583ff41f4a32fb64378694e005ea5f63be900e8ac4404cae"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): app/appadmin/modules/Fecadmin/block/log/Index.php:191-196 | app/appadmin/modules/Fecadmin/block/logtj/Index.php:232-237 \u2014 \u0060app/appadmin/modules/Fecadmin/block/log/Index.php\u0060 and \u0060app/appadmin/modules/Fecadmin/block/logtj/Index.php\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 5 separate duplicated blocks between them, totalling at least 72 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appadmin/modules/Fecadmin/block/log/Index.php"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a498b1b39b1ce707da50d6956c0f87fef5b3e3e9bbbd75e7b8f4fad44c51285"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): app/appapi/modules/V1/controllers/CategoryController.php:291-296 | app/appapi/modules/V1/controllers/CategoryController.php:392-397 \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/appapi/modules/V1/controllers/CategoryController.php"},"region":{"startLine":291}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4bfb5f5411c211669fefbe39a7d09d2c96fd430c62606be8412464b8e768f78"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): app/appserver/modules/Customer/controllers/ForgotController.php:153-158 | app/appserver/modules/Customer/controllers/LoginController.php:41-47 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060app/appserver/modules/Customer/controllers/LoginController.php:40\u0060 calls \u0060post\u0060 and \u0060app/appserver/modules/Customer/controllers/ForgotController.php:151\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/appserver/modules/Customer/controllers/ForgotController.php"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"22353608a147b8c271310cc11dde08334b81d61a37582e9d76940e48592e3767"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): services/Order.php:643-648 | services/Order.php:668-673 \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. 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":"services/Order.php"},"region":{"startLine":643}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d0da250d16ab480f90329a88a783f55ea33445d745dcf9fa1630d3eb7ca6202"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): services/url/rewrite/RewriteMongodb.php:128-133 | services/url/rewrite/RewriteMysqldb.php:154-159 \u2014 before extracting anything, compare \u0060services/url/rewrite/RewriteMongodb.php\u0060 and \u0060services/url/rewrite/RewriteMysqldb.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 3 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060services/url/rewrite/RewriteMongodb.php:128\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":"services/url/rewrite/RewriteMongodb.php"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff6f48ad8edd5019dbf05e2d747a3b7e3cfc2ab8a5c747a80ae76d0de6f8fef0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (2\u20135 lines \u00D7 10): app/appfront/modules/Checkout/block/cart/Index.php:116-120 | app/appfront/modules/Checkout/block/onepage/Index.php:287-291 | app/appfront/modules/Payment/block/paypal/express/Review.php:229-233 | app/apphtml5/modules/Checkout/block/cart/Index.php:105-109 | app/apphtml5/modules/Checkout/block/onepage/Index.php:277-281 | app/apphtml5/modules/Payment/block/paypal/express/Review.php:229-233 | app/appserver/modules/Checkout/block/onepage/Index.php:308-312 | app/appserver/modules/Checkout/controllers/CartController.php:73-76 | app/appserver/modules/Checkout/controllers/CartController.php:81-82 | app/appserver/modules/Payment/block/paypal/express/Review.php:249-253 \u2014 \u0060app/appfront/modules/Checkout/block/cart/Index.php\u0060 and \u0060app/appfront/modules/Checkout/block/onepage/Index.php\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 6 separate duplicated blocks between them, totalling at least 65 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/appfront/modules/Checkout/block/cart/Index.php:116\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060app/appfront/modules/Checkout/block/cart/Index.php:115\u0060 calls \u0060isset\u0060, \u0060is_array\u0060, \u0060foreach\u0060 and \u0060app/appserver/modules/Checkout/controllers/CartController.php:73\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/appfront/modules/Checkout/block/cart/Index.php"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"02b9a17345260509f91a121067d013afdfabf6bb2367558ef9de5852c7904a66"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 6): services/Sitemap.php:42-46 | services/Sitemap.php:71-75 | services/Sitemap.php:97-101 | services/Sitemap.php:138-142 | services/Sitemap.php:191-195 | services/Sitemap.php:243-247 \u2014 all 6 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060services/Sitemap.php:42\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":"services/Sitemap.php"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c896f56bc6948b29b126a2b3114a5eab8d948c844a24e04f25043996716f42f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 6): services/Sitemap.php:47-51 | services/Sitemap.php:76-80 | services/Sitemap.php:104-108 | services/Sitemap.php:145-149 | services/Sitemap.php:198-202 | services/Sitemap.php:250-254 \u2014 all 6 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060services/Sitemap.php:47\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"services/Sitemap.php"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"06b269efa60c52797c949031997acf105a41bba1d6a31f669e3a34dcc95d709d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 5): app/appadmin/modules/AppadminController.php:38-42 | app/appadmin/modules/Fecadmin/controllers/LoginController.php:34-38 | app/appadmin/modules/Fecadmin/controllers/LogoutController.php:33-37 | app/appfront/modules/AppfrontController.php:38-45 | app/apphtml5/modules/AppfrontController.php:38-45 \u2014 before extracting anything, compare \u0060app/appadmin/modules/AppadminController.php\u0060 and \u0060app/appadmin/modules/Fecadmin/controllers/LoginController.php\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 32 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/appadmin/modules/AppadminController.php:38\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appadmin/modules/AppadminController.php"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"4dc1fdb970b14f8ccaad32202732c8841f058ee9b194c1cf38022853bd16a80b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 4): app/appadmin/modules/Catalog/block/productinfo/Managerbatchedit.php:334-339 | app/appadmin/modules/Catalog/block/productinfo/Managerbatchedit.php:360-364 | app/appadmin/modules/Catalog/block/productinfo/Manageredit.php:333-338 | app/appadmin/modules/Catalog/block/productinfo/Manageredit.php:359-363 \u2014 before extracting anything, compare \u0060app/appadmin/modules/Catalog/block/productinfo/Managerbatchedit.php\u0060 and \u0060app/appadmin/modules/Catalog/block/productinfo/Manageredit.php\u0060 as WHOLE FILES: this scan already matched 29 separate duplicated blocks between them, totalling at least 398 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/appadmin/modules/Catalog/block/productinfo/Managerbatchedit.php:334\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/appadmin/modules/Catalog/block/productinfo/Managerbatchedit.php"},"region":{"startLine":334}}}],"partialFingerprints":{"codehealthFindingId/v1":"763396d50f5a917dd3d64d23033ab8e61937df06249b8eedfbed85161d8605e5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 4): services/category/CategoryMongodb.php:309-313 | services/category/CategoryMongodb.php:325-329 | services/category/CategoryMysqldb.php:369-373 | services/category/CategoryMysqldb.php:387-391 \u2014 before extracting anything, compare \u0060services/category/CategoryMongodb.php\u0060 and \u0060services/category/CategoryMysqldb.php\u0060 as WHOLE FILES: this scan already matched 22 separate duplicated blocks between them, totalling at least 274 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 \u0060services/category/CategoryMongodb.php:309\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060services/category/CategoryMysqldb.php:375\u0060 calls \u0060removeCategoryProductRelationByCategoryId\u0060 and \u0060services/category/CategoryMongodb.php:314\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":"services/category/CategoryMongodb.php"},"region":{"startLine":309}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4d20b94b705f0bef56df1317b213f2c60a51c22bf2a92aa7ffa15dbf6962397"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 4): services/product/ProductMongodb.php:793-797 | services/product/ProductMongodb.php:814-818 | services/product/ProductMysqldb.php:942-946 | services/product/ProductMysqldb.php:962-966 \u2014 before extracting anything, compare \u0060services/product/ProductMongodb.php\u0060 and \u0060services/product/ProductMysqldb.php\u0060 as WHOLE FILES: this scan already matched 29 separate duplicated blocks between them, totalling at least 358 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 \u0060services/product/ProductMongodb.php:793\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":"services/product/ProductMongodb.php"},"region":{"startLine":793}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d96b38ad810035b0ec404a56827f1e33c59d96a3ff21287d5ec5a8ab06322f7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): app/appadmin/modules/AppadminbaseBlockEdit.php:89-93 | app/appadmin/modules/Fecadmin/block/account/Manageredit.php:211-215 | app/appadmin/modules/Fecadmin/block/config/Manageredit.php:144-148 \u2014 \u0060app/appadmin/modules/Fecadmin/block/account/Manageredit.php\u0060 and \u0060app/appadmin/modules/Fecadmin/block/config/Manageredit.php\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 4 separate duplicated blocks between them, totalling at least 80 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appadmin/modules/AppadminbaseBlockEdit.php"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"fedbf5b20e441bdc314f55e01090b9514352a34c61f09c00298aa7df2de86b04"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): app/appapi/modules/V1/controllers/CategoryController.php:280-284 | app/appapi/modules/V1/controllers/CategoryController.php:381-385 | app/appapi/modules/V1/controllers/CategoryController.php:500-504 \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/appapi/modules/V1/controllers/CategoryController.php"},"region":{"startLine":280}}}],"partialFingerprints":{"codehealthFindingId/v1":"53d49f54ae5f721d95a703b611e64ee4f0d65c51fede30e2401d8db675a75ac2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): app/appapi/modules/V1/controllers/CategoryController.php:290-294 | app/appapi/modules/V1/controllers/CategoryController.php:391-395 | app/appapi/modules/V1/controllers/CategoryController.php:510-514 \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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060app/appapi/modules/V1/controllers/CategoryController.php:295\u0060 calls \u0060getPrimaryKey\u0060 and \u0060app/appapi/modules/V1/controllers/CategoryController.php:517\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/appapi/modules/V1/controllers/CategoryController.php"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"82436034678e491830a497e0277f7022523051aac48c29c64dc7fc6f051e2c95"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): app/appfront/modules/Catalog/block/product/Index.php:152-156 | app/apphtml5/modules/Catalog/block/product/Index.php:141-145 | app/appserver/modules/Catalog/controllers/ProductController.php:382-386 \u2014 before extracting anything, compare \u0060app/appfront/modules/Catalog/block/product/Index.php\u0060 and \u0060app/apphtml5/modules/Catalog/block/product/Index.php\u0060 as WHOLE FILES: this scan already matched 21 separate duplicated blocks between them, totalling at least 409 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/appfront/modules/Catalog/block/product/Index.php:152\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/appfront/modules/Catalog/block/product/Index.php"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2e3896a1c2521b53c6cd142e8ba4e6d40ba367b4a387c405ad0c2d867ed550d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): app/appserver/modules/Catalog/controllers/CategoryController.php:623-627 | app/appserver/modules/Catalog/controllers/ProductController.php:821-825 | app/appserver/modules/Cms/controllers/HomeController.php:121-125 \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/appserver/modules/Catalog/controllers/CategoryController.php:623\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/appserver/modules/Catalog/controllers/CategoryController.php"},"region":{"startLine":623}}}],"partialFingerprints":{"codehealthFindingId/v1":"65fa1a203fa676298075ee20e49adce3e36cab4e8e9f39682d417684a17907d8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): services/url/rewrite/RewriteMongodb.php:129-133 | services/url/rewrite/RewriteMongodb.php:142-146 | services/url/rewrite/RewriteMysqldb.php:155-159 \u2014 before extracting anything, compare \u0060services/url/rewrite/RewriteMongodb.php\u0060 and \u0060services/url/rewrite/RewriteMysqldb.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 3 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060services/url/rewrite/RewriteMongodb.php:129\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":"services/url/rewrite/RewriteMongodb.php"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b8d9217c422e0ee863282ef8fac3452b1cb1e13a5e53e25f341d9e54be571a4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): app/appadmin/modules/AppadminbaseBlock.php:336-340 | app/appadmin/modules/Catalog/block/category/Product.php:232-236 \u2014 before extracting anything, compare \u0060app/appadmin/modules/AppadminbaseBlock.php\u0060 and \u0060app/appadmin/modules/Catalog/block/category/Product.php\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 158 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/appadmin/modules/AppadminbaseBlock.php:336\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/appadmin/modules/AppadminbaseBlock.php"},"region":{"startLine":336}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d29e004c3170eebf2bedd2fb36525c7d4b4f395dcc40cb70ba74cb29811d9b5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): app/appadmin/modules/Catalog/block/productinfo/Getproductcategory.php:135-139 | app/appadmin/modules/Catalog/block/productinfo/Getproductcategory.php:141-145 \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/appadmin/modules/Catalog/block/productinfo/Getproductcategory.php:135\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/appadmin/modules/Catalog/block/productinfo/Getproductcategory.php"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6344d9ae2dbddf2b350bfe6a236226604595309db33c91d1a82cf1b56877ff8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): app/appadmin/modules/Fecadmin/block/cache/Index.php:126-130 | app/appadmin/modules/Fecadmin/block/cache/Index.php:182-186 \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/appadmin/modules/Fecadmin/block/cache/Index.php:126\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appadmin/modules/Fecadmin/block/cache/Index.php"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"b11f25ac18aeedba2cd6c540752a03a5104200db1ff32e0772d89cd928606aa9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): app/appfront/modules/Catalog/block/category/Index.php:537-541 | app/apphtml5/modules/Catalog/block/category/Index.php:524-528 \u2014 before extracting anything, compare \u0060app/appfront/modules/Catalog/block/category/Index.php\u0060 and \u0060app/apphtml5/modules/Catalog/block/category/Index.php\u0060 as WHOLE FILES: this scan already matched 25 separate duplicated blocks between them, totalling at least 393 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. 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/appfront/modules/Catalog/block/category/Index.php"},"region":{"startLine":537}}}],"partialFingerprints":{"codehealthFindingId/v1":"29f041b73f88fefc48fc687b6c39e9237773251d282bace66af182161e74312e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): app/appfront/modules/Catalog/controllers/ReviewproductController.php:45-49 | app/apphtml5/modules/Catalog/controllers/ReviewproductController.php:45-49 \u2014 before extracting anything, compare \u0060app/appfront/modules/Catalog/controllers/ReviewproductController.php\u0060 and \u0060app/apphtml5/modules/Catalog/controllers/ReviewproductController.php\u0060 as WHOLE FILES: 87% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 3 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/appfront/modules/Catalog/controllers/ReviewproductController.php:45\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060app/appfront/modules/Catalog/controllers/ReviewproductController.php:50\u0060 calls \u0060htmlEncode\u0060 and \u0060app/apphtml5/modules/Catalog/controllers/ReviewproductController.php:50\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/appfront/modules/Catalog/controllers/ReviewproductController.php"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"25e50aef5a0dbce4b6c4f3b5d82d71acd0dae9905816beb8729fa7ba55074c2d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): app/appfront/widgets/Headers.php:32-36 | app/apphtml5/widgets/Headers.php:32-36 \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/appfront/widgets/Headers.php"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbc2505be563af477b74cd45aa53ac5d6c5454cfa7498141b7326b4e78803d9a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (4\u20135 lines \u00D7 3): app/appserver/modules/Catalog/controllers/CategoryController.php:687-692 | app/appserver/modules/Catalogsearch/controllers/IndexController.php:408-412 | app/appserver/modules/Wx/controllers/HomeController.php:135-138 \u2014 before extracting anything, compare \u0060app/appserver/modules/Catalog/controllers/CategoryController.php\u0060 and \u0060app/appserver/modules/Catalogsearch/controllers/IndexController.php\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 118 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/appserver/modules/Catalog/controllers/CategoryController.php:687\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060app/appserver/modules/Catalog/controllers/CategoryController.php:692\u0060 calls \u0060foreach\u0060 and \u0060app/appserver/modules/Wx/controllers/HomeController.php:138\u0060 does not \u2014 after which the two agree again for 5 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/appserver/modules/Catalog/controllers/CategoryController.php"},"region":{"startLine":687}}}],"partialFingerprints":{"codehealthFindingId/v1":"be0df06136498d262b40e63909334f9183c23a7d528c90834b42a452ad8ef456"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): app/console/modules/Product/controllers/SearchController.php:72-76 | app/console/modules/Product/controllers/SearchController.php:82-86 \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/console/modules/Product/controllers/SearchController.php"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa23220afad4cbd50628802878edc638178668b936391b96e857e73063cde4f1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): lib/alipay/aop/AopClient.php:342-346 | lib/alipay/aop/AopClient.php:464-468 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/alipay/aop/AopClient.php"},"region":{"startLine":342}}}],"partialFingerprints":{"codehealthFindingId/v1":"312425e82e88ad02e9f3e1614050f8b80bde797794a83fb655154cd92b6ac832"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): lib/alipay/aop/AopClient.php:1080-1084 | lib/alipay/aop/AopClient.php:1145-1149 \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":"lib/alipay/aop/AopClient.php"},"region":{"startLine":1080}}}],"partialFingerprints":{"codehealthFindingId/v1":"f899bb7d67edc58de19843d246c2aaaa07673530b700d028347b4870e38661ba"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (4\u20135 lines \u00D7 4): services/category/CategoryMongodb.php:653-656 | services/category/CategoryMysqldb.php:729-732 | services/product/ProductMongodb.php:1296-1300 | services/product/ProductMysqldb.php:1496-1500 \u2014 before extracting anything, compare \u0060services/category/CategoryMongodb.php\u0060 and \u0060services/category/CategoryMysqldb.php\u0060 as WHOLE FILES: this scan already matched 22 separate duplicated blocks between them, totalling at least 274 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 \u0060services/category/CategoryMongodb.php:653\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":"services/category/CategoryMongodb.php"},"region":{"startLine":653}}}],"partialFingerprints":{"codehealthFindingId/v1":"6df66a8667aa2f3b5b01740d5973fee544bba6b166fe0751f0aec9271d82b570"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 14): app/appadmin/modules/Catalog/controllers/ProductattrController.php:24-43 | app/appadmin/modules/Catalog/controllers/ProductattrgroupController.php:24-43 | app/appadmin/modules/Catalog/controllers/ProductbrandController.php:24-48 | app/appadmin/modules/Catalog/controllers/ProductbrandcategoryController.php:24-43 | app/appadmin/modules/Catalog/controllers/ProductreviewController.php:24-53 | app/appadmin/modules/Catalog/controllers/UrlrewriteController.php:24-43 | app/appadmin/modules/Cms/controllers/ArticleController.php:24-43 | app/appadmin/modules/Config/controllers/AppfrontstoreController.php:24-43 | app/appadmin/modules/Config/controllers/Apphtml5storeController.php:24-43 | app/appadmin/modules/Customer/controllers/AccountController.php:24-43 | app/appadmin/modules/Fecadmin/controllers/AccountController.php:23-60 | app/appadmin/modules/Fecadmin/controllers/ConfigController.php:22-45 | app/appadmin/modules/Fecadmin/controllers/ResourceController.php:23-60 | app/appadmin/modules/Sales/controllers/CouponController.php:24-43 \u2014 before extracting anything, compare \u0060app/appadmin/modules/Catalog/controllers/ProductattrController.php\u0060 and \u0060app/appadmin/modules/Catalog/controllers/ProductattrgroupController.php\u0060 as WHOLE FILES: 96% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 2 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/appadmin/modules/Catalog/controllers/ProductattrController.php:24\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. Note 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/appadmin/modules/Catalog/controllers/ProductattrController.php"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7f7faf0abdce85a6046a7114fbadb57194bfcfd0afce120752d5fa5be459ca3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 34): app/appadmin/modules/Config/controllers/AppfrontaccountController.php:24-34 | app/appadmin/modules/Config/controllers/AppfrontbaseController.php:24-34 | app/appadmin/modules/Config/controllers/AppfrontcacheController.php:24-34 | app/appadmin/modules/Config/controllers/AppfrontcatalogController.php:24-34 | app/appadmin/modules/Config/controllers/AppfronthomeController.php:24-34 | app/appadmin/modules/Config/controllers/AppfrontpaymentController.php:24-34 | app/appadmin/modules/Config/controllers/Apphtml5accountController.php:24-34 | app/appadmin/modules/Config/controllers/Apphtml5baseController.php:24-34 | app/appadmin/modules/Config/controllers/Apphtml5cacheController.php:24-34 | app/appadmin/modules/Config/controllers/Apphtml5catalogController.php:24-34 | app/appadmin/modules/Config/controllers/Apphtml5homeController.php:24-34 | app/appadmin/modules/Config/controllers/Apphtml5paymentController.php:24-34 | app/appadmin/modules/Config/controllers/AppserveraccountController.php:24-34 | app/appadmin/modules/Config/controllers/AppserverbaseController.php:24-34 | app/appadmin/modules/Config/controllers/AppservercacheController.php:24-34 | app/appadmin/modules/Config/controllers/AppservercatalogController.php:24-34 | app/appadmin/modules/Config/controllers/AppserverhomeController.php:24-32 | app/appadmin/modules/Config/controllers/AppserverpaymentController.php:24-34 | app/appadmin/modules/Config/controllers/AppserverstoreController.php:24-34 | app/appadmin/modules/Config/controllers/AppserverstorelangController.php:24-34 | app/appadmin/modules/Config/controllers/BaseController.php:24-34 | app/appadmin/modules/Config/controllers/CartController.php:24-34 | app/appadmin/modules/Config/controllers/CategorysortController.php:24-34 | app/appadmin/modules/Config/controllers/CurrencyController.php:24-34 | app/appadmin/modules/Config/controllers/EmailController.php:24-34 | app/appadmin/modules/Config/controllers/FaController.php:25-35 | app/appadmin/modules/Config/controllers/MutillangController.php:24-34 | app/appadmin/modules/Config/controllers/OrderController.php:24-34 | app/appadmin/modules/Config/controllers/PaymentalipayController.php:24-34 | app/appadmin/modules/Config/controllers/PaymentpaypalController.php:24-34 | app/appadmin/modules/Config/controllers/PaymentwxpayController.php:24-34 | app/appadmin/modules/Config/controllers/ProductController.php:24-34 | app/appadmin/modules/Config/controllers/SearchController.php:24-34 | app/appadmin/modules/Config/controllers/ServiceController.php:24-34 \u2014 before extracting anything, compare \u0060app/appadmin/modules/Config/controllers/AppfrontaccountController.php\u0060 and \u0060app/appadmin/modules/Config/controllers/AppfrontbaseController.php\u0060 as WHOLE FILES: 95% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/appadmin/modules/Config/controllers/AppfrontaccountController.php:24\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. Note 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/appadmin/modules/Config/controllers/AppfrontaccountController.php"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"6548cd04bd7808263f47273c8c8fdde17e565ec9f4ff9ebe9ad2f018a2f00fe6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 18): app/appadmin/modules/Catalog/controllers/ProductattrController.php:24-43 | app/appadmin/modules/Catalog/controllers/ProductattrgroupController.php:24-43 | app/appadmin/modules/Catalog/controllers/ProductbrandController.php:24-48 | app/appadmin/modules/Catalog/controllers/ProductbrandcategoryController.php:24-43 | app/appadmin/modules/Catalog/controllers/ProductreviewController.php:24-53 | app/appadmin/modules/Catalog/controllers/UrlrewriteController.php:24-43 | app/appadmin/modules/Cms/controllers/ArticleController.php:24-43 | app/appadmin/modules/Config/controllers/AppfrontstoreController.php:24-43 | app/appadmin/modules/Config/controllers/Apphtml5storeController.php:24-43 | app/appadmin/modules/Customer/controllers/AccountController.php:24-43 | app/appadmin/modules/Customer/controllers/ContactsController.php:24-33 | app/appadmin/modules/Fecadmin/controllers/AccountController.php:23-60 | app/appadmin/modules/Fecadmin/controllers/ConfigController.php:22-45 | app/appadmin/modules/Fecadmin/controllers/ResourceController.php:23-60 | app/appadmin/modules/Fecadmin/controllers/RoleController.php:22-43 | app/appadmin/modules/Sales/controllers/CouponController.php:24-43 | app/appadmin/modules/System/controllers/ErrorController.php:24-33 | app/appadmin/modules/System/controllers/ExtensioninstalledController.php:24-58 \u2014 before extracting anything, compare \u0060app/appadmin/modules/Catalog/controllers/ProductattrController.php\u0060 and \u0060app/appadmin/modules/Catalog/controllers/ProductattrgroupController.php\u0060 as WHOLE FILES: 96% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 2 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/appadmin/modules/Catalog/controllers/ProductattrController.php:24\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. Note 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/appadmin/modules/Catalog/controllers/ProductattrController.php"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec5ff29c3b1178a20b8f9010264e7209fcdfa7cea3d23139c6bb71931b005f9a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (38 lines \u00D7 2): app/appadmin/modules/Fecadmin/controllers/AccountController.php:23-60 | app/appadmin/modules/Fecadmin/controllers/ResourceController.php:23-60 \u2014 before extracting anything, compare \u0060app/appadmin/modules/Fecadmin/controllers/AccountController.php\u0060 and \u0060app/appadmin/modules/Fecadmin/controllers/ResourceController.php\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 152 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/appadmin/modules/Fecadmin/controllers/AccountController.php:23\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/appadmin/modules/Fecadmin/controllers/AccountController.php"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"40f29b12967fed2ab106dbc57eb1299a0fb66ae27d6f3734d4954ff0430d186a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): app/appfront/modules/Cms/block/widgets/Headers.php:14-30 | app/apphtml5/modules/Cms/block/widgets/Headers.php:14-30 \u2014 before extracting anything, compare \u0060app/appfront/modules/Cms/block/widgets/Headers.php\u0060 and \u0060app/apphtml5/modules/Cms/block/widgets/Headers.php\u0060 as WHOLE FILES: 90% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/appfront/modules/Cms/block/widgets/Headers.php:14\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appfront/modules/Cms/block/widgets/Headers.php"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"428e636ee317faeb5343072d278123850a9dc9fea0b6f33f9dbac081827f140c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): app/appfront/modules/Cms/block/widgets/Menu.php:12-23 | app/apphtml5/modules/Cms/block/widgets/Menu.php:12-23 \u2014 before extracting anything, compare \u0060app/appfront/modules/Cms/block/widgets/Menu.php\u0060 and \u0060app/apphtml5/modules/Cms/block/widgets/Menu.php\u0060 as WHOLE FILES: 84% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/appfront/modules/Cms/block/widgets/Menu.php:12\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/appfront/modules/Cms/block/widgets/Menu.php"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1a1c993ef9597c749b81d750c8997a22d3884e18290a8d5cc1bca8d03ae3d34"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (29 lines \u00D7 2): app/appfront/modules/Customer/controllers/AddressController.php:26-54 | app/apphtml5/modules/Customer/controllers/AddressController.php:25-53 \u2014 before extracting anything, compare \u0060app/appfront/modules/Customer/controllers/AddressController.php\u0060 and \u0060app/apphtml5/modules/Customer/controllers/AddressController.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 2 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/appfront/modules/Customer/controllers/AddressController.php:26\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/appfront/modules/Customer/controllers/AddressController.php"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"b71593b6ba73c35e4276d47fbbce6657d902bcb1116d49c9a742e353cac66706"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 4): app/appadmin/modules/Fecadmin/controllers/AccountController.php:23-60 | app/appadmin/modules/Fecadmin/controllers/ResourceController.php:23-60 | app/appfront/modules/Customer/controllers/NewsletterController.php:24-31 | app/apphtml5/modules/Customer/controllers/NewsletterController.php:24-31 \u2014 before extracting anything, compare \u0060app/appadmin/modules/Fecadmin/controllers/AccountController.php\u0060 and \u0060app/appadmin/modules/Fecadmin/controllers/ResourceController.php\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 152 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/appadmin/modules/Fecadmin/controllers/AccountController.php:23\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appadmin/modules/Fecadmin/controllers/AccountController.php"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb0695cebcc57857d2757fb46c98d5dbd34b1a555ed407e7cf73fe575460b73f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (29 lines \u00D7 2): app/appfront/modules/Customer/controllers/OrderController.php:25-53 | app/apphtml5/modules/Customer/controllers/OrderController.php:25-53 \u2014 before extracting anything, compare \u0060app/appfront/modules/Customer/controllers/OrderController.php\u0060 and \u0060app/apphtml5/modules/Customer/controllers/OrderController.php\u0060 as WHOLE FILES: 94% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 2 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/appfront/modules/Customer/controllers/OrderController.php:25\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/appfront/modules/Customer/controllers/OrderController.php"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"78ea6bfac3c32e4e45ae93a60af7b70dce273a30861a984b714a139dd51433d3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 8): app/appfront/modules/Customer/controllers/AddressController.php:26-54 | app/appfront/modules/Customer/controllers/OrderController.php:25-53 | app/appfront/modules/Customer/controllers/PointController.php:25-35 | app/appfront/modules/Customer/controllers/ProductreviewController.php:25-35 | app/apphtml5/modules/Customer/controllers/AddressController.php:25-53 | app/apphtml5/modules/Customer/controllers/OrderController.php:25-53 | app/apphtml5/modules/Customer/controllers/PointController.php:25-35 | app/apphtml5/modules/Customer/controllers/ProductreviewController.php:25-35 \u2014 before extracting anything, compare \u0060app/appfront/modules/Customer/controllers/AddressController.php\u0060 and \u0060app/appfront/modules/Customer/controllers/PointController.php\u0060 as WHOLE FILES: 91% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/appfront/modules/Customer/controllers/AddressController.php:26\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appfront/modules/Customer/controllers/AddressController.php"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"7dc3d7c51e9ee34fc5c8c16749079fa76b0bcc541966129e669e690876d3b7b1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): app/appfront/modules/Site/controllers/HelperController.php:21-37 | app/apphtml5/modules/Site/controllers/HelperController.php:12-28 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/appfront/modules/Site/controllers/HelperController.php:21\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appfront/modules/Site/controllers/HelperController.php"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c9828c3846551df803f79bc6f3039caf1d2715371cdecc7c919b6adcea8c976"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): app/appfront/widgets/Footer.php:12-23 | app/apphtml5/widgets/Footer.php:12-23 \u2014 before extracting anything, compare \u0060app/appfront/widgets/Footer.php\u0060 and \u0060app/apphtml5/widgets/Footer.php\u0060 as WHOLE FILES: 84% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/appfront/widgets/Footer.php:12\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/appfront/widgets/Footer.php"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"123459f85223e47f20530366cff7d7854d5aa460b3a55af30eb6463ea2e4da36"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): app/appfront/widgets/Menu.php:12-25 | app/apphtml5/widgets/Menu.php:12-25 \u2014 before extracting anything, compare \u0060app/appfront/widgets/Menu.php\u0060 and \u0060app/apphtml5/widgets/Menu.php\u0060 as WHOLE FILES: 87% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/appfront/widgets/Menu.php:12\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/appfront/widgets/Menu.php"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"95beccdbe6a92fd680456d40f7e6009c364feb4c814ba1c93f80821b11f32524"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (89 lines \u00D7 425): lib/alipay/aop/request/AlipayAccountExrateAdviceAcceptRequest.php:27-115 | lib/alipay/aop/request/AlipayAccountExrateAllclientrateQueryRequest.php:27-115 | lib/alipay/aop/request/AlipayAccountExrateRatequeryRequest.php:27-115 | lib/alipay/aop/request/AlipayAssetPointOrderCreateRequest.php:27-115 | lib/alipay/aop/request/AlipayAssetPointOrderQueryRequest.php:27-115 | lib/alipay/aop/request/AlipayBossCsChannelQueryRequest.php:27-115 | lib/alipay/aop/request/AlipayCommerceCityfacilitatorDepositCancelRequest.php:27-115 | lib/alipay/aop/request/AlipayCommerceCityfacilitatorDepositConfirmRequest.php:27-115 | lib/alipay/aop/request/AlipayCommerceCityfacilitatorDepositQueryRequest.php:27-115 | lib/alipay/aop/request/AlipayCommerceCityfacilitatorFunctionQueryRequest.php:27-115 | lib/alipay/aop/request/AlipayCommerceCityfacilitatorScriptQueryRequest.php:27-115 | lib/alipay/aop/request/AlipayCommerceCityfacilitatorStationQueryRequest.php:27-115 | lib/alipay/aop/request/AlipayCommerceCityfacilitatorVoucherBatchqueryRequest.php:27-115 | lib/alipay/aop/request/AlipayCommerceCityfacilitatorVoucherCancelRequest.php:27-115 | lib/alipay/aop/request/AlipayCommerceCityfacilitatorVoucherConfirmRequest.php:27-115 | lib/alipay/aop/request/AlipayCommerceCityfacilitatorVoucherGenerateRequest.php:27-115 | lib/alipay/aop/request/AlipayCommerceCityfacilitatorVoucherQueryRequest.php:27-115 | lib/alipay/aop/request/AlipayCommerceCityfacilitatorVoucherRefundRequest.php:27-115 | lib/alipay/aop/request/AlipayCommerceCityfacilitatorVoucherUploadRequest.php:27-115 | lib/alipay/aop/request/AlipayCommerceTransportOfflinepayRecordVerifyRequest.php:27-115 | lib/alipay/aop/request/AlipayCommerceTransportOfflinepayUserblacklistQueryRequest.php:27-115 | lib/alipay/aop/request/AlipayDaoweiOrderCancelRequest.php:27-115 | lib/alipay/aop/request/AlipayDaoweiOrderConfirmRequest.php:27-115 | lib/alipay/aop/request/AlipayDaoweiOrderModifyRequest.php:27-115 | lib/alipay/aop/request/AlipayDaoweiOrderQueryRequest.php:27-115 | lib/alipay/aop/request/AlipayDaoweiOrderRefundRequest.php:27-115 | lib/alipay/aop/request/AlipayDaoweiOrderRefuseRequest.php:27-115 | lib/alipay/aop/request/AlipayDaoweiOrderSpModifyRequest.php:27-115 | lib/alipay/aop/request/AlipayDaoweiOrderTransferRequest.php:27-115 | lib/alipay/aop/request/AlipayDaoweiServiceModifyRequest.php:27-115 | lib/alipay/aop/request/AlipayDaoweiServicePriceModifyRequest.php:27-115 | lib/alipay/aop/request/AlipayDaoweiSpModifyRequest.php:27-115 | lib/alipay/aop/request/AlipayDaoweiSpScheduleModifyRequest.php:27-115 | lib/alipay/aop/request/AlipayDataDataexchangeSfasdfRequest.php:27-115 | lib/alipay/aop/request/AlipayDataDataserviceBillDownloadurlQueryRequest.php:27-115 | lib/alipay/aop/request/AlipayDataDataserviceChinaremodelQueryRequest.php:27-115 | lib/alipay/aop/request/AlipayDataDataserviceCodeRecoRequest.php:27-115 | lib/alipay/aop/request/AlipayDataDataserviceUserlevelZrankGetRequest.php:27-115 | lib/alipay/aop/request/AlipayEbppInvoiceTitleListGetRequest.php:27-115 | lib/alipay/aop/request/AlipayEbppPdeductSignQueryRequest.php:27-115 | lib/alipay/aop/request/AlipayEbppPdeductSignValidateRequest.php:27-115 | lib/alipay/aop/request/AlipayEcoCplifeBasicserviceInitializeRequest.php:27-115 | lib/alipay/aop/request/AlipayEcoCplifeBasicserviceModifyRequest.php:27-115 | lib/alipay/aop/request/AlipayEcoCplifeBillBatchUploadRequest.php:27-115 | lib/alipay/aop/request/AlipayEcoCplifeBillBatchqueryRequest.php:27-115 | lib/alipay/aop/request/AlipayEcoCplifeBillDeleteRequest.php:27-115 | lib/alipay/aop/request/AlipayEcoCplifeBillModifyRequest.php:27-115 | lib/alipay/aop/request/AlipayEcoCplifeBillSyncRequest.php:27-115 | lib/alipay/aop/request/AlipayEcoCplifeCommunityBatchqueryRequest.php:27-115 | lib/alipay/aop/request/AlipayEcoCplifeCommunityCreateRequest.php:27-115 | lib/alipay/aop/request/AlipayEcoCplifeCommunityDetailsQueryRequest.php:27-115 | lib/alipay/aop/request/AlipayEcoCplifeCommunityModifyRequest.php:27-115 | lib/alipay/aop/request/AlipayEcoCplifeNoticeDeleteRequest.php:27-115 | lib/alipay/aop/request/AlipayEcoCplifeNoticePublishRequest.php:27-115 | lib/alipay/aop/request/AlipayEcoCplifeRepairStatusUpdateRequest.php:27-115 | lib/alipay/aop/request/AlipayEcoCplifeResidentinfoDeleteRequest.php:27-115 | lib/alipay/aop/request/AlipayEcoCplifeResidentinfoUploadRequest.php:27-115 | lib/alipay/aop/request/AlipayEcoCplifeRoominfoDeleteRequest.php:27-115 | lib/alipay/aop/request/AlipayEcoCplifeRoominfoQueryRequest.php:27-115 | lib/alipay/aop/request/AlipayEcoCplifeRoominfoUploadRequest.php:27-115 | lib/alipay/aop/request/AlipayEcoCplifeRooominfoQueryRequest.php:27-115 | lib/alipay/aop/request/AlipayEcoCplifeUseridentityStatusUpdateRequest.php:27-115 | lib/alipay/aop/request/AlipayEcoMycarCarlibInfoPushRequest.php:27-115 | lib/alipay/aop/request/AlipayEcoMycarCarmodelModifyRequest.php:27-115 | lib/alipay/aop/request/AlipayEcoMycarDataExternalQueryRequest.php:27-115 | lib/alipay/aop/request/AlipayEcoMycarDataExternalSendRequest.php:27-115 | lib/alipay/aop/request/AlipayEcoMycarDataserviceViolationinfoShareRequest.php:27-115 | lib/alipay/aop/request/AlipayEcoMycarMaintainDataUpdateRequest.php:27-115 | lib/alipay/aop/request/AlipayEcoMycarMaintainOrderCreateRequest.php:27-115 | lib/alipay/aop/request/AlipayEcoMycarMaintainOrderstatusUpdateRequest.php:27-115 | lib/alipay/aop/request/AlipayEcoMycarOrderStatusQueryRequest.php:27-115 | lib/alipay/aop/request/AlipayEcoMycarParkingCardbarcodeCreateRequest.php:27-115 | lib/alipay/aop/request/AlipayEcoMycarParkingConfigQueryRequest.php:27-115 | lib/alipay/aop/request/AlipayEcoMycarParkingConfigSetRequest.php:27-115 | lib/alipay/aop/request/AlipayEcoMycarParkingEnterinfoSyncRequest.php:27-115 | lib/alipay/aop/request/AlipayEcoMycarParkingExitinfoSyncRequest.php:27-115 | lib/alipay/aop/request/AlipayEcoMycarParkingLotbarcodeCreateRequest.php:27-115 | lib/alipay/aop/request/AlipayEcoMycarParkingOrderSyncRequest.php:27-115 | lib/alipay/aop/request/AlipayEcoMycarParkingOrderUpdateRequest.php:27-115 | lib/alipay/aop/request/AlipayEcoMycarParkingOrderstatusQueryRequest.php:27-115 | lib/alipay/aop/request/AlipayEcoMycarParkingParkinglotinfoCreateRequest.php:27-115 | lib/alipay/aop/request/AlipayEcoMycarParkingParkinglotinfoUpdateRequest.php:27-115 | lib/alipay/aop/request/AlipayEcoMycarParkingVehicleQueryRequest.php:27-115 | lib/alipay/aop/request/AlipayEcoMycarPromoTicketPushRequest.php:27-115 | lib/alipay/aop/request/AlipayEcoMycarPromoTicketSyncRequest.php:27-115 | lib/alipay/aop/request/AlipayEcoMycarPromoVoucherVerifyRequest.php:27-115 | lib/alipay/aop/request/AlipayEcoMycarTradeRefundRequest.php:27-115 | lib/alipay/aop/request/AlipayEcoMycarViolationCityPushRequest.php:27-115 | lib/alipay/aop/request/AlipayEcoMycarViolationInfoPushRequest.php:27-115 | lib/alipay/aop/request/AlipayEcoWelfareCodeSyncRequest.php:27-115 | lib/alipay/aop/request/AlipayFundAuthOperationCancelRequest.php:27-115 | lib/alipay/aop/request/AlipayFundAuthOperationDetailQueryRequest.php:27-115 | lib/alipay/aop/request/AlipayFundAuthOrderFreezeRequest.php:27-115 | lib/alipay/aop/request/AlipayFundAuthOrderUnfreezeRequest.php:27-115 | lib/alipay/aop/request/AlipayFundAuthOrderVoucherCreateRequest.php:27-115 | lib/alipay/aop/request/AlipayFundTransOrderQueryRequest.php:27-115 | lib/alipay/aop/request/AlipayFundTransToaccountTransferRequest.php:27-115 | lib/alipay/aop/request/AlipayInsAutoCarSaveRequest.php:27-115 | lib/alipay/aop/request/AlipayInsSceneApplicationIssueConfirmRequest.php:27-115 | lib/alipay/aop/request/AlipayInsSceneCouponReceiveRequest.php:27-115 | lib/alipay/aop/request/AlipayInsSceneCouponSendRequest.php:27-115 | lib/alipay/aop/request/AlipayMarketingCampaignActivityOfflineCreateRequest.php:27-115 | lib/alipay/aop/request/AlipayMarketingCampaignActivityOfflineTriggerRequest.php:27-115 | lib/alipay/aop/request/AlipayMarketingCampaignCashCreateRequest.php:27-115 | lib/alipay/aop/request/AlipayMarketingCampaignCashDetailQueryRequest.php:27-115 | lib/alipay/aop/request/AlipayMarketingCampaignCashListQueryRequest.php:27-115 | lib/alipay/aop/request/AlipayMarketingCampaignCashStatusModifyRequest.php:27-115 | lib/alipay/aop/request/AlipayMarketingCampaignCashTriggerRequest.php:27-115 | lib/alipay/aop/request/AlipayMarketingCampaignCertCreateRequest.php:27-115 | lib/alipay/aop/request/AlipayMarketingCampaignDiscountBudgetAppendRequest.php:27-115 | lib/alipay/aop/request/AlipayMarketingCampaignDiscountBudgetCreateRequest.php:27-115 | lib/alipay/aop/request/AlipayMarketingCampaignDiscountBudgetQueryRequest.php:27-115 | lib/alipay/aop/request/AlipayMarketingCampaignDiscountOperateRequest.php:27-115 | lib/alipay/aop/request/AlipayMarketingCampaignDiscountQueryRequest.php:27-115 | lib/alipay/aop/request/AlipayMarketingCampaignDiscountStatusUpdateRequest.php:27-115 | lib/alipay/aop/request/AlipayMarketingCampaignDiscountWhitelistQueryRequest.php:27-115 | lib/alipay/aop/request/AlipayMarketingCampaignDiscountWhitelistUpdateRequest.php:27-115 | lib/alipay/aop/request/AlipayMarketingCampaignDrawcampCreateRequest.php:27-115 | lib/alipay/aop/request/AlipayMarketingCampaignDrawcampQueryRequest.php:27-115 | lib/alipay/aop/request/AlipayMarketingCampaignDrawcampStatusUpdateRequest.php:27-115 | lib/alipay/aop/request/AlipayMarketingCampaignDrawcampUpdateRequest.php:27-115 | lib/alipay/aop/request/AlipayMarketingCampaignDrawcampWhitelistCreateRequest.php:27-115 | lib/alipay/aop/request/AlipayMarketingCampaignPrizeAmountQueryRequest.php:27-115 | lib/alipay/aop/request/AlipayMarketingCardActivateformQueryRequest.php:27-115 | lib/alipay/aop/request/AlipayMarketingCardActivateurlApplyRequest.php:27-115 | lib/alipay/aop/request/AlipayMarketingCardBenefitCreateRequest.php:27-115 | lib/alipay/aop/request/AlipayMarketingCardBenefitDeleteRequest.php:27-115 | lib/alipay/aop/request/AlipayMarketingCardBenefitModifyRequest.php:27-115 | lib/alipay/aop/request/AlipayMarketingCardBenefitQueryRequest.php:27-115 | lib/alipay/aop/request/AlipayMarketingCardConsumeSyncRequest.php:27-115 | lib/alipay/aop/request/AlipayMarketingCardDeleteRequest.php:27-115 | lib/alipay/aop/request/AlipayMarketingCardFormtemplateSetRequest.php:27-115 | lib/alipay/aop/request/AlipayMarketingCardOpenRequest.php:27-115 | lib/alipay/aop/request/AlipayMarketingCardQueryRequest.php:27-115 | lib/alipay/aop/request/AlipayMarketingCardTemplateCreateRequest.php:27-115 | lib/alipay/aop/request/AlipayMarketingCardTemplateModifyRequest.php:27-115 | lib/alipay/aop/request/AlipayMarketingCardTemplateQueryRequest.php:27-115 | lib/alipay/aop/request/AlipayMarketingCardUpdateRequest.php:27-115 | lib/alipay/aop/request/AlipayMarketingCashlessvoucherTemplateCreateRequest.php:27-115 | lib/alipay/aop/request/AlipayMarketingCashlessvoucherTemplateModifyRequest.php:27-115 | lib/alipay/aop/request/AlipayMarketingCashvoucherTemplateCreateRequest.php:27-115 | lib/alipay/aop/request/AlipayMarketingCashvoucherTemplateModifyRequest.php:27-115 | lib/alipay/aop/request/AlipayMarketingCdpAdvertiseCreateRequest.php:27-115 | lib/alipay/aop/request/AlipayMarketingCdpAdvertiseModifyRequest.php:27-115 | lib/alipay/aop/request/AlipayMarketingCdpAdvertiseOperateRequest.php:27-115 | lib/alipay/aop/request/AlipayMarketingCdpAdvertiseQueryRequest.php:27-115 | lib/alipay/aop/request/AlipayMarketingCdpAdvertiseReportQueryRequest.php:27-115 | lib/alipay/aop/request/AlipayMarketingCdpRecommendQueryRequest.php:27-115 | lib/alipay/aop/request/AlipayMarketingExchangevoucherUseRequest.php:27-115 | lib/alipay/aop/request/AlipayMarketingToolFengdieActivityCreateRequest.php:27-115 | lib/alipay/aop/request/AlipayMarketingToolFengdieActivityQueryRequest.php:27-115 | lib/alipay/aop/request/AlipayMarketingToolFengdieEditorQueryRequest.php:27-115 | lib/alipay/aop/request/AlipayMarketingToolFengdieTemplateQueryRequest.php:27-115 | lib/alipay/aop/request/AlipayMarketingVoucherAuthSendRequest.php:27-115 | lib/alipay/aop/request/AlipayMarketingVoucherConfirmRequest.php:27-115 | lib/alipay/aop/request/AlipayMarketingVoucherListQueryRequest.php:27-115 | lib/alipay/aop/request/AlipayMarketingVoucherSendRequest.php:27-115 | lib/alipay/aop/request/AlipayMarketingVoucherTemplateDeleteRequest.php:27-115 | lib/alipay/aop/request/AlipayMarketingVoucherTemplatedetailQueryRequest.php:27-115 | lib/alipay/aop/request/AlipayMarketingVoucherTemplatelistQueryRequest.php:27-115 | lib/alipay/aop/request/AlipayMobileBeaconDeviceAddRequest.php:27-115 | lib/alipay/aop/request/AlipayMobileBeaconDeviceDeleteRequest.php:27-115 | lib/alipay/aop/request/AlipayMobileBeaconDeviceModifyRequest.php:27-115 | lib/alipay/aop/request/AlipayMobileBeaconDeviceQueryRequest.php:27-115 | lib/alipay/aop/request/AlipayMobileBeaconMessageSendRequest.php:27-115 | lib/alipay/aop/request/AlipayMobilePublicAccountDeleteRequest.php:27-115 | lib/alipay/aop/request/AlipayMobilePublicAccountQueryRequest.php:27-115 | lib/alipay/aop/request/AlipayMobilePublicAppinfoUpdateRequest.php:27-115 | lib/alipay/aop/request/AlipayMobilePublicFollowListRequest.php:28-116 | lib/alipay/aop/request/AlipayMobilePublicGisGetRequest.php:27-115 | lib/alipay/aop/request/AlipayMobilePublicLabelAddRequest.php:27-115 | lib/alipay/aop/request/AlipayMobilePublicLabelDeleteRequest.php:27-115 | lib/alipay/aop/request/AlipayMobilePublicLabelQueryRequest.php:27-115 | lib/alipay/aop/request/AlipayMobilePublicLabelUpdateRequest.php:27-115 | lib/alipay/aop/request/AlipayMobilePublicLabelUserAddRequest.php:27-115 | lib/alipay/aop/request/AlipayMobilePublicLabelUserDeleteRequest.php:27-115 | lib/alipay/aop/request/AlipayMobilePublicLabelUserQueryRequest.php:27-115 | lib/alipay/aop/request/AlipayMobilePublicMenuAddRequest.php:27-115 | lib/alipay/aop/request/AlipayMobilePublicMenuDeleteRequest.php:27-115 | lib/alipay/aop/request/AlipayMobilePublicMenuUpdateRequest.php:27-115 | lib/alipay/aop/request/AlipayMobilePublicMenuUserQueryRequest.php:27-115 | lib/alipay/aop/request/AlipayMobilePublicMenuUserUpdateRequest.php:27-115 | lib/alipay/aop/request/AlipayMobilePublicMessageCustomSendRequest.php:28-116 | lib/alipay/aop/request/AlipayMobilePublicMessageLabelSendRequest.php:27-115 | lib/alipay/aop/request/AlipayMobilePublicMessagePushRequest.php:27-115 | lib/alipay/aop/request/AlipayMobilePublicMessageSingleSendRequest.php:28-116 | lib/alipay/aop/request/AlipayMobilePublicMessageTotalSendRequest.php:27-115 | lib/alipay/aop/request/AlipayMobilePublicMessagebatchPushRequest.php:27-115 | lib/alipay/aop/request/AlipayMobilePublicMessagespecifyPushRequest.php:27-115 | lib/alipay/aop/request/AlipayMobilePublicMockListsmlistApiRequest.php:27-115 | lib/alipay/aop/request/AlipayMobilePublicQrcodeCreateRequest.php:27-115 | lib/alipay/aop/request/AlipayMobilePublicShortlinkCreateRequest.php:27-115 | lib/alipay/aop/request/AlipayMobilePublicStdMockListsmlistApiRequest.php:27-115 | lib/alipay/aop/request/AlipayMobileStdPublicAccountQueryRequest.php:27-115 | lib/alipay/aop/request/AlipayMobileStdPublicExpressUserQueryRequest.php:27-115 | lib/alipay/aop/request/AlipayMobileStdPublicFollowListRequest.php:27-115 | lib/alipay/aop/request/AlipayMobileStdPublicMessageCustomSendRequest.php:27-115 | lib/alipay/aop/request/AlipayMpointprodBenefitDetailGetRequest.php:31-119 | lib/alipay/aop/request/AlipayMsaasMediarecogVoiceMediaaudioUploadRequest.php:27-115 | lib/alipay/aop/request/AlipayMsaasPromotionCpainfoCreateRequest.php:27-115 | lib/alipay/aop/request/AlipayOfflineMarketApplyorderBatchqueryRequest.php:27-115 | lib/alipay/aop/request/AlipayOfflineMarketItemCreateRequest.php:27-115 | lib/alipay/aop/request/AlipayOfflineMarketItemModifyRequest.php:27-115 | lib/alipay/aop/request/AlipayOfflineMarketItemStateRequest.php:27-115 | lib/alipay/aop/request/AlipayOfflineMarketLeadsQrcodeQueryRequest.php:27-115 | lib/alipay/aop/request/AlipayOfflineMarketMcommentQueryRequest.php:27-115 | lib/alipay/aop/request/AlipayOfflineMarketProductBatchqueryRequest.php:27-115 | lib/alipay/aop/request/AlipayOfflineMarketProductQuerydetailRequest.php:27-115 | lib/alipay/aop/request/AlipayOfflineMarketReportGetRequest.php:27-115 | lib/alipay/aop/request/AlipayOfflineMarketReporterrorCreateRequest.php:27-115 | lib/alipay/aop/request/AlipayOfflineMarketShopApplyorderCancelRequest.php:27-115 | lib/alipay/aop/request/AlipayOfflineMarketShopBatchqueryRequest.php:27-115 | lib/alipay/aop/request/AlipayOfflineMarketShopCategoryQueryRequest.php:27-115 | lib/alipay/aop/request/AlipayOfflineMarketShopCreateRequest.php:27-115 | lib/alipay/aop/request/AlipayOfflineMarketShopDiscountQueryRequest.php:27-115 | lib/alipay/aop/request/AlipayOfflineMarketShopModifyRequest.php:27-115 | lib/alipay/aop/request/AlipayOfflineMarketShopQuerydetailRequest.php:27-115 | lib/alipay/aop/request/AlipayOfflineMarketShopSummaryBatchqueryRequest.php:27-115 | lib/alipay/aop/request/AlipayOfflineMarketingVoucherCreateRequest.php:27-115 | lib/alipay/aop/request/AlipayOfflineMarketingVoucherModifyRequest.php:27-115 | lib/alipay/aop/request/AlipayOfflineMarketingVoucherOfflineRequest.php:27-115 | lib/alipay/aop/request/AlipayOfflineMarketingVoucherStatusQueryRequest.php:27-115 | lib/alipay/aop/request/AlipayOfflineMarketingVoucherUseRequest.php:27-115 | lib/alipay/aop/request/AlipayOfflineProviderDishQueryRequest.php:27-115 | lib/alipay/aop/request/AlipayOfflineProviderEquipmentAuthQuerybypageRequest.php:27-115 | lib/alipay/aop/request/AlipayOfflineProviderEquipmentAuthRemoveRequest.php:27-115 | lib/alipay/aop/request/AlipayOfflineProviderMonitorLogSyncRequest.php:27-115 | lib/alipay/aop/request/AlipayOfflineProviderShopactionRecordRequest.php:27-115 | lib/alipay/aop/request/AlipayOfflineProviderStaffUpdateRequest.php:27-115 | lib/alipay/aop/request/AlipayOfflineProviderUseractionRecordRequest.php:27-115 | lib/alipay/aop/request/AlipayOpenAppCodetesttestRequest.php:27-115 | lib/alipay/aop/request/AlipayOpenAppPackagetestRequest.php:27-115 | lib/alipay/aop/request/AlipayOpenAppQrcodeCreateRequest.php:27-115 | lib/alipay/aop/request/AlipayOpenAuthIndustryPlatformCreateTokenRequest.php:27-115 | lib/alipay/aop/request/AlipayOpenAuthTokenAppQueryRequest.php:27-115 | lib/alipay/aop/request/AlipayOpenAuthTokenAppRequest.php:27-115 | lib/alipay/aop/request/AlipayOpenPublicAccountCreateRequest.php:27-115 | lib/alipay/aop/request/AlipayOpenPublicAccountDeleteRequest.php:27-115 | lib/alipay/aop/request/AlipayOpenPublicAccountQueryRequest.php:27-115 | lib/alipay/aop/request/AlipayOpenPublicAccountResetRequest.php:27-115 | lib/alipay/aop/request/AlipayOpenPublicDefaultExtensionCreateRequest.php:27-115 | lib/alipay/aop/request/AlipayOpenPublicFollowBatchqueryRequest.php:27-115 | lib/alipay/aop/request/AlipayOpenPublicGisQueryRequest.php:27-115 | lib/alipay/aop/request/AlipayOpenPublicGroupCreateRequest.php:27-115 | lib/alipay/aop/request/AlipayOpenPublicGroupCrowdQueryRequest.php:27-115 | lib/alipay/aop/request/AlipayOpenPublicGroupDeleteRequest.php:27-115 | lib/alipay/aop/request/AlipayOpenPublicGroupModifyRequest.php:27-115 | lib/alipay/aop/request/AlipayOpenPublicInfoModifyRequest.php:27-115 | lib/alipay/aop/request/AlipayOpenPublicLabelCreateRequest.php:27-115 | lib/alipay/aop/request/AlipayOpenPublicLabelDeleteRequest.php:27-115 | lib/alipay/aop/request/AlipayOpenPublicLabelModifyRequest.php:27-115 | lib/alipay/aop/request/AlipayOpenPublicLabelUserCreateRequest.php:27-115 | lib/alipay/aop/request/AlipayOpenPublicLabelUserDeleteRequest.php:27-115 | lib/alipay/aop/request/AlipayOpenPublicLabelUserQueryRequest.php:27-115 | lib/alipay/aop/request/AlipayOpenPublicLifeLabelCreateRequest.php:27-115 | lib/alipay/aop/request/AlipayOpenPublicLifeLabelDeleteRequest.php:27-115 | lib/alipay/aop/request/AlipayOpenPublicLifeLabelModifyRequest.php:27-115 | lib/alipay/aop/request/AlipayOpenPublicLifeMsgRecallRequest.php:27-115 | lib/alipay/aop/request/AlipayOpenPublicMatchuserLabelCreateRequest.php:27-115 | lib/alipay/aop/request/AlipayOpenPublicMatchuserLabelDeleteRequest.php:27-115 | lib/alipay/aop/request/AlipayOpenPublicMenuCreateRequest.php:27-115 | lib/alipay/aop/request/AlipayOpenPublicMenuModifyRequest.php:27-115 | lib/alipay/aop/request/AlipayOpenPublicMessageCustomSendRequest.php:27-115 | lib/alipay/aop/request/AlipayOpenPublicMessageGroupSendRequest.php:27-115 | lib/alipay/aop/request/AlipayOpenPublicMessageLabelSendRequest.php:27-115 | lib/alipay/aop/request/AlipayOpenPublicMessageSingleSendRequest.php:27-115 | lib/alipay/aop/request/AlipayOpenPublicMessageTotalSendRequest.php:27-115 | lib/alipay/aop/request/AlipayOpenPublicPartnerMenuOperateRequest.php:27-115 | lib/alipay/aop/request/AlipayOpenPublicPartnerMenuQueryRequest.php:27-115 | lib/alipay/aop/request/AlipayOpenPublicPartnerSubscribeSyncRequest.php:27-115 | lib/alipay/aop/request/AlipayOpenPublicPersonalizedExtensionCreateRequest.php:27-115 | lib/alipay/aop/request/AlipayOpenPublicPersonalizedExtensionDeleteRequest.php:27-115 | lib/alipay/aop/request/AlipayOpenPublicPersonalizedExtensionSetRequest.php:27-115 | lib/alipay/aop/request/AlipayOpenPublicPersonalizedMenuCreateRequest.php:27-115 | lib/alipay/aop/request/AlipayOpenPublicPersonalizedMenuDeleteRequest.php:27-115 | lib/alipay/aop/request/AlipayOpenPublicQrcodeCreateRequest.php:27-115 | lib/alipay/aop/request/AlipayOpenPublicShortlinkCreateRequest.php:27-115 | lib/alipay/aop/request/AlipayOpenPublicTemplateMessageGetRequest.php:27-115 | lib/alipay/aop/request/AlipayOpenPublicTemplateMessageIndustryModifyRequest.php:27-115 | lib/alipay/aop/request/AlipayOpenPublicThirdCustomerServiceRequest.php:27-115 | lib/alipay/aop/request/AlipayOpenServicemarketCommodityShopOfflineRequest.php:27-115 | lib/alipay/aop/request/AlipayOpenServicemarketCommodityShopOnlineRequest.php:27-115 | lib/alipay/aop/request/AlipayOpenServicemarketOrderAcceptRequest.php:27-115 | lib/alipay/aop/request/AlipayOpenServicemarketOrderItemCancelRequest.php:27-115 | lib/alipay/aop/request/AlipayOpenServicemarketOrderItemCompleteRequest.php:27-115 | lib/alipay/aop/request/AlipayOpenServicemarketOrderItemConfirmRequest.php:27-115 | lib/alipay/aop/request/AlipayOpenServicemarketOrderQueryRequest.php:27-115 | lib/alipay/aop/request/AlipayOpenServicemarketOrderRejectRequest.php:27-115 | lib/alipay/aop/request/AlipayPassInstanceAddRequest.php:27-115 | lib/alipay/aop/request/AlipayPassInstanceUpdateRequest.php:27-115 | lib/alipay/aop/request/AlipayPassTemplateAddRequest.php:27-115 | lib/alipay/aop/request/AlipayPassTemplateUpdateRequest.php:27-115 | lib/alipay/aop/request/AlipayPcreditHuabeiPromoQueryRequest.php:27-115 | lib/alipay/aop/request/AlipayPcreditLoanApplyCreateRequest.php:27-115 | lib/alipay/aop/request/AlipayPcreditLoanRefundCreateRequest.php:27-115 | lib/alipay/aop/request/AlipayPlatformOpenidGetRequest.php:27-115 | lib/alipay/aop/request/AlipayPlatformUseridGetRequest.php:27-115 | lib/alipay/aop/request/AlipaySecurityProdAlipaySecurityProdTestRequest.php:27-115 | lib/alipay/aop/request/AlipaySecurityProdAmlriskQueryRequest.php:27-115 | lib/alipay/aop/request/AlipaySecurityProdFacerepoAddRequest.php:27-115 | lib/alipay/aop/request/AlipaySecurityProdFacerepoSearchRequest.php:27-115 | lib/alipay/aop/request/AlipaySecurityProdFingerprintApplyInitializeRequest.php:27-115 | lib/alipay/aop/request/AlipaySecurityProdFingerprintApplyRequest.php:27-115 | lib/alipay/aop/request/AlipaySecurityProdFingerprintDeleteRequest.php:27-115 | lib/alipay/aop/request/AlipaySecurityProdFingerprintVerifyInitializeRequest.php:27-115 | lib/alipay/aop/request/AlipaySecurityProdFingerprintVerifyRequest.php:27-115 | lib/alipay/aop/request/AlipaySecurityRiskHideDeviceidQueryRequest.php:27-115 | lib/alipay/aop/request/AlipaySecurityRiskRainscoreQueryRequest.php:27-115 | lib/alipay/aop/request/AlipayTradeAppPayRequest.php:27-115 | lib/alipay/aop/request/AlipayTradeCancelRequest.php:27-115 | lib/alipay/aop/request/AlipayTradeCloseRequest.php:27-115 | lib/alipay/aop/request/AlipayTradeCreateRequest.php:27-115 | lib/alipay/aop/request/AlipayTradeCustomsDeclareRequest.php:27-115 | lib/alipay/aop/request/AlipayTradeCustomsQueryRequest.php:27-115 | lib/alipay/aop/request/AlipayTradeFastpayRefundQueryRequest.php:27-115 | lib/alipay/aop/request/AlipayTradeOrderSettleRequest.php:27-115 | lib/alipay/aop/request/AlipayTradePagePayRequest.php:27-115 | lib/alipay/aop/request/AlipayTradePayRequest.php:28-116 | lib/alipay/aop/request/AlipayTradePrecreateRequest.php:28-116 | lib/alipay/aop/request/AlipayTradeQueryRequest.php:28-116 | lib/alipay/aop/request/AlipayTradeRefundRequest.php:27-115 | lib/alipay/aop/request/AlipayTradeVendorpayDevicedataUploadRequest.php:27-115 | lib/alipay/aop/request/AlipayTradeWapPayRequest.php:27-115 | lib/alipay/aop/request/AlipayUserAccountUseridBatchqueryRequest.php:27-115 | lib/alipay/aop/request/AlipayUserFinanceinfoShareRequest.php:28-116 | lib/alipay/aop/request/AlipayUserInfoAuthRequest.php:27-115 | lib/alipay/aop/request/AlipayZdataassetsEasyserviceRequest.php:27-115 | lib/alipay/aop/request/AlipayZdataassetsFcdatalabZdatamergetaskRequest.php:27-115 | lib/alipay/aop/request/AlipayZdataassetsMetadataRequest.php:27-115 | lib/alipay/aop/request/AntMerchantExpandContractFacetofaceQueryRequest.php:27-115 | lib/alipay/aop/request/AntMerchantExpandContractFacetofaceSignRequest.php:27-115 | lib/alipay/aop/request/AntMerchantExpandEnterpriseApplyRequest.php:27-115 | lib/alipay/aop/request/AntMerchantExpandMapplyorderQueryRequest.php:27-115 | lib/alipay/aop/request/AntMerchantExpandPersonalApplyRequest.php:27-115 | lib/alipay/aop/request/KoubeiContentCommentDataBatchqueryRequest.php:27-115 | lib/alipay/aop/request/KoubeiContentCommentReplyCreateRequest.php:27-115 | lib/alipay/aop/request/KoubeiCraftsmanDataProviderBatchqueryRequest.php:27-115 | lib/alipay/aop/request/KoubeiCraftsmanDataProviderCreateRequest.php:27-115 | lib/alipay/aop/request/KoubeiCraftsmanDataProviderModifyRequest.php:27-115 | lib/alipay/aop/request/KoubeiCraftsmanDataWorkBatchqueryRequest.php:27-115 | lib/alipay/aop/request/KoubeiCraftsmanDataWorkCreateRequest.php:27-115 | lib/alipay/aop/request/KoubeiCraftsmanDataWorkDeleteRequest.php:27-115 | lib/alipay/aop/request/KoubeiCraftsmanDataWorkModifyRequest.php:27-115 | lib/alipay/aop/request/KoubeiItemBatchqueryRequest.php:27-115 | lib/alipay/aop/request/KoubeiItemCategoryChildrenBatchqueryRequest.php:27-115 | lib/alipay/aop/request/KoubeiItemCreateRequest.php:27-115 | lib/alipay/aop/request/KoubeiItemExtitemBatchqueryRequest.php:27-115 | lib/alipay/aop/request/KoubeiItemExtitemCategoryQueryRequest.php:27-115 | lib/alipay/aop/request/KoubeiItemExtitemCreateRequest.php:27-115 | lib/alipay/aop/request/KoubeiItemExtitemExistedQueryRequest.php:27-115 | lib/alipay/aop/request/KoubeiItemExtitemQueryRequest.php:27-115 | lib/alipay/aop/request/KoubeiItemExtitemUpdateRequest.php:27-115 | lib/alipay/aop/request/KoubeiItemModifyRequest.php:27-115 | lib/alipay/aop/request/KoubeiItemStateRequest.php:27-115 | lib/alipay/aop/request/KoubeiMarketingCampaignActivityBatchqueryRequest.php:27-115 | lib/alipay/aop/request/KoubeiMarketingCampaignActivityCreateRequest.php:27-115 | lib/alipay/aop/request/KoubeiMarketingCampaignActivityModifyRequest.php:27-115 | lib/alipay/aop/request/KoubeiMarketingCampaignActivityOfflineRequest.php:27-115 | lib/alipay/aop/request/KoubeiMarketingCampaignActivityQueryRequest.php:27-115 | lib/alipay/aop/request/KoubeiMarketingCampaignCrowdBatchqueryRequest.php:27-115 | lib/alipay/aop/request/KoubeiMarketingCampaignCrowdCountRequest.php:27-115 | lib/alipay/aop/request/KoubeiMarketingCampaignCrowdCreateRequest.php:27-115 | lib/alipay/aop/request/KoubeiMarketingCampaignCrowdDeleteRequest.php:27-115 | lib/alipay/aop/request/KoubeiMarketingCampaignCrowdDetailQueryRequest.php:27-115 | lib/alipay/aop/request/KoubeiMarketingCampaignCrowdModifyRequest.php:27-115 | lib/alipay/aop/request/KoubeiMarketingCampaignRecruitApplyQueryRequest.php:27-115 | lib/alipay/aop/request/KoubeiMarketingCampaignRecruitShopQueryRequest.php:27-115 | lib/alipay/aop/request/KoubeiMarketingDataActivityBillDownloadRequest.php:27-115 | lib/alipay/aop/request/KoubeiMarketingDataActivityReportQueryRequest.php:27-115 | lib/alipay/aop/request/KoubeiMarketingDataAlisisReportBatchqueryRequest.php:27-115 | lib/alipay/aop/request/KoubeiMarketingDataAlisisReportQueryRequest.php:27-115 | lib/alipay/aop/request/KoubeiMarketingDataCustomreportBatchqueryRequest.php:27-115 | lib/alipay/aop/request/KoubeiMarketingDataCustomreportDeleteRequest.php:27-115 | lib/alipay/aop/request/KoubeiMarketingDataCustomreportDetailQueryRequest.php:27-115 | lib/alipay/aop/request/KoubeiMarketingDataCustomreportQueryRequest.php:27-115 | lib/alipay/aop/request/KoubeiMarketingDataCustomreportSaveRequest.php:27-115 | lib/alipay/aop/request/KoubeiMarketingDataDishdiagnoseBatchqueryRequest.php:27-115 | lib/alipay/aop/request/KoubeiMarketingDataIndicatorQueryRequest.php:27-115 | lib/alipay/aop/request/KoubeiMarketingDataMemberReportQueryRequest.php:27-115 | lib/alipay/aop/request/KoubeiMarketingDataMessageDeliverRequest.php:27-115 | lib/alipay/aop/request/KoubeiMarketingDataRetailDmQueryRequest.php:27-115 | lib/alipay/aop/request/KoubeiMarketingDataSmartactivityConfigRequest.php:27-115 | lib/alipay/aop/request/KoubeiMarketingDataSmartactivityForecastRequest.php:27-115 | lib/alipay/aop/request/KoubeiMarketingDataTradeHabbitQueryRequest.php:27-115 | lib/alipay/aop/request/KoubeiMarketingToolPointsQueryRequest.php:27-115 | lib/alipay/aop/request/KoubeiMarketingToolPointsUpdateRequest.php:27-115 | lib/alipay/aop/request/KoubeiMarketingToolPrizesendAuthRequest.php:27-115 | lib/alipay/aop/request/KoubeiMemberDataOauthQueryRequest.php:27-115 | lib/alipay/aop/request/KoubeiQualityTestCloudacptActivityQueryRequest.php:27-115 | lib/alipay/aop/request/KoubeiQualityTestCloudacptBatchQueryRequest.php:27-115 | lib/alipay/aop/request/KoubeiQualityTestCloudacptCheckresultSubmitRequest.php:27-115 | lib/alipay/aop/request/KoubeiQualityTestCloudacptItemQueryRequest.php:27-115 | lib/alipay/aop/request/KoubeiRetailShopitemBatchqueryRequest.php:27-115 | lib/alipay/aop/request/KoubeiRetailShopitemModifyRequest.php:27-115 | lib/alipay/aop/request/KoubeiRetailShopitemUploadRequest.php:27-115 | lib/alipay/aop/request/KoubeiTradeItemBuyRequest.php:27-115 | lib/alipay/aop/request/KoubeiTradeOrderQueryRequest.php:27-115 | lib/alipay/aop/request/MonitorHeartbeatSynRequest.php:27-115 | lib/alipay/aop/request/MybankCreditLoanapplyDataUploadRequest.php:27-115 | lib/alipay/aop/request/MybankFinanceYulibaoAccountQueryRequest.php:27-115 | lib/alipay/aop/request/MybankFinanceYulibaoCapitalPurchaseRequest.php:27-115 | lib/alipay/aop/request/MybankFinanceYulibaoCapitalRansomRequest.php:27-115 | lib/alipay/aop/request/MybankFinanceYulibaoPriceQueryRequest.php:27-115 | lib/alipay/aop/request/MybankFinanceYulibaoTransHistoryQueryRequest.php:27-115 | lib/alipay/aop/request/SsdataDataserviceRiskAlixiaohaoQueryRequest.php:27-115 | lib/alipay/aop/request/SsdataDataserviceRiskRainscoreQueryRequest.php:27-115 | lib/alipay/aop/request/ZhimaAuthInfoAuthqueryRequest.php:27-115 | lib/alipay/aop/request/ZhimaCreditAntifraudVerifyRequest.php:27-115 | lib/alipay/aop/request/ZhimaCreditScoreBriefGetRequest.php:27-115 | lib/alipay/aop/request/ZhimaCreditScoreGetRequest.php:27-115 | lib/alipay/aop/request/ZhimaCreditWatchlistBriefGetRequest.php:27-115 | lib/alipay/aop/request/ZhimaCreditWatchlistiiGetRequest.php:27-115 | lib/alipay/aop/request/ZhimaCustomerCertificationCertifyRequest.php:27-115 | lib/alipay/aop/request/ZhimaCustomerCertificationInitializeRequest.php:27-115 | lib/alipay/aop/request/ZhimaCustomerCertificationQueryRequest.php:27-115 | lib/alipay/aop/request/ZhimaDataFeedbackurlQueryRequest.php:27-115 | lib/alipay/aop/request/ZhimaMerchantBorrowEntityUploadRequest.php:27-115 | lib/alipay/aop/request/ZhimaMerchantDataUploadInitializeRequest.php:27-115 | lib/alipay/aop/request/ZhimaMerchantOrderRentCancelRequest.php:27-115 | lib/alipay/aop/request/ZhimaMerchantOrderRentCompleteRequest.php:27-115 | lib/alipay/aop/request/ZhimaMerchantOrderRentCreateRequest.php:27-115 | lib/alipay/aop/request/ZhimaMerchantOrderRentModifyRequest.php:27-115 | lib/alipay/aop/request/ZhimaMerchantOrderRentQueryRequest.php:27-115 | lib/alipay/aop/request/ZhimaMerchantSingleDataUploadRequest.php:27-115 | lib/alipay/aop/request/ZhimaMerchantTestPracticeRequest.php:27-115 \u2014 before extracting anything, compare \u0060lib/alipay/aop/request/AlipayMobilePublicAccountQueryRequest.php\u0060 and \u0060lib/alipay/aop/request/AlipayMobileStdPublicAccountQueryRequest.php\u0060 as WHOLE FILES: 84% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. 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 \u0060lib/alipay/aop/request/AlipayAccountExrateAdviceAcceptRequest.php:27\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":"lib/alipay/aop/request/AlipayAccountExrateAdviceAcceptRequest.php"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"489eae0ba7f48770e628083f8603674db3a0628a0a4d26a74dbc38c73e2d34f4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (122 lines \u00D7 2): lib/alipay/aop/request/AlipayAcquireCancelRequest.php:47-168 | lib/alipay/aop/request/AlipayAcquireRefundRequest.php:68-233 \u2014 before extracting anything, compare \u0060lib/alipay/aop/request/AlipayAcquireCancelRequest.php\u0060 and \u0060lib/alipay/aop/request/AlipayAcquireRefundRequest.php\u0060 as WHOLE FILES: 84% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 2 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/alipay/aop/request/AlipayAcquireCancelRequest.php:47\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":"lib/alipay/aop/request/AlipayAcquireCancelRequest.php"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2e40e120702b09f933b7f7fce360d8bc3a50b35895a32149fccc1f813c3d2ec"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (111 lines \u00D7 3): lib/alipay/aop/request/AlipayAcquireCancelRequest.php:47-168 | lib/alipay/aop/request/AlipayAcquireCloseRequest.php:39-149 | lib/alipay/aop/request/AlipayAcquireRefundRequest.php:68-233 \u2014 before extracting anything, compare \u0060lib/alipay/aop/request/AlipayAcquireCancelRequest.php\u0060 and \u0060lib/alipay/aop/request/AlipayAcquireCloseRequest.php\u0060 as WHOLE FILES: 88% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. 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 \u0060lib/alipay/aop/request/AlipayAcquireCancelRequest.php:47\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":"lib/alipay/aop/request/AlipayAcquireCancelRequest.php"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4cba425445f734b9df063ba1d523327484d3fc61896b1c10e3162f06447d49b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (100 lines \u00D7 2): lib/alipay/aop/request/AlipayAssetAccountGetRequest.php:33-132 | lib/alipay/aop/request/AlipayAssetAccountUnbindRequest.php:32-131 \u2014 before extracting anything, compare \u0060lib/alipay/aop/request/AlipayAssetAccountGetRequest.php\u0060 and \u0060lib/alipay/aop/request/AlipayAssetAccountUnbindRequest.php\u0060 as WHOLE FILES: 83% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/alipay/aop/request/AlipayAssetAccountGetRequest.php:33\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/alipay/aop/request/AlipayAssetAccountGetRequest.php"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"678731b3cccb43002bba0522c2599391327670d2a1ea90a03df9a87d17535fe3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (78 lines \u00D7 36): lib/alipay/aop/request/AlipayAssetPointBalanceQueryRequest.php:23-100 | lib/alipay/aop/request/AlipayAssetPointBudgetQueryRequest.php:23-100 | lib/alipay/aop/request/AlipayCommerceCityfacilitatorCityQueryRequest.php:23-100 | lib/alipay/aop/request/AlipayCommerceEducateStudentinfoShareRequest.php:23-100 | lib/alipay/aop/request/AlipayCommerceTransportOfflinepayKeyQueryRequest.php:23-100 | lib/alipay/aop/request/AlipayDataDataserviceSdfsdfRequest.php:23-100 | lib/alipay/aop/request/AlipayEbppMerchantConfigGetRequest.php:23-100 | lib/alipay/aop/request/AlipayMobilePublicContactFollowListRequest.php:23-100 | lib/alipay/aop/request/AlipayMobilePublicInfoQueryRequest.php:23-100 | lib/alipay/aop/request/AlipayMobilePublicMenuGetRequest.php:23-100 | lib/alipay/aop/request/AlipayMobilePublicMenuQueryRequest.php:23-100 | lib/alipay/aop/request/AlipayMobileStdPublicMenuQueryRequest.php:23-100 | lib/alipay/aop/request/AlipayOfflineMaterialImageModifyRequest.php:23-100 | lib/alipay/aop/request/AlipayOfflineMaterialImageQueryRequest.php:23-100 | lib/alipay/aop/request/AlipayOpenPublicContactFollowBatchqueryRequest.php:23-100 | lib/alipay/aop/request/AlipayOpenPublicGroupBatchqueryRequest.php:23-100 | lib/alipay/aop/request/AlipayOpenPublicInfoQueryRequest.php:23-100 | lib/alipay/aop/request/AlipayOpenPublicLabelQueryRequest.php:23-100 | lib/alipay/aop/request/AlipayOpenPublicLifeLabelBatchqueryRequest.php:23-100 | lib/alipay/aop/request/AlipayOpenPublicMenuBatchqueryRequest.php:23-100 | lib/alipay/aop/request/AlipayOpenPublicMenuQueryRequest.php:23-100 | lib/alipay/aop/request/AlipayOpenPublicMultimediaDownloadProxyRequest.php:23-100 | lib/alipay/aop/request/AlipayOpenPublicPersonalizedExtensionBatchqueryRequest.php:23-100 | lib/alipay/aop/request/AlipayOpenServicemarketOrderNotifyRequest.php:23-100 | lib/alipay/aop/request/AlipayPointBalanceGetRequest.php:23-100 | lib/alipay/aop/request/AlipayPointBudgetGetRequest.php:23-100 | lib/alipay/aop/request/AlipayTrustUserScoreGetRequest.php:23-100 | lib/alipay/aop/request/AlipayUserAccountGetRequest.php:23-100 | lib/alipay/aop/request/AlipayUserInfoShareRequest.php:23-100 | lib/alipay/aop/request/AlipayUserUserinfoShareRequest.php:23-100 | lib/alipay/aop/request/KoubeiItemExtitemBrandQueryRequest.php:23-100 | lib/alipay/aop/request/KoubeiMarketingCampaignTagsQueryRequest.php:23-100 | lib/alipay/aop/request/KoubeiMarketingDataDishdiagnosetypeBatchqueryRequest.php:23-100 | lib/alipay/aop/request/KoubeiMarketingDataSmartmanagementDiagnoseRequest.php:23-100 | lib/alipay/aop/request/KoubeiMemberBrandownerNameQueryRequest.php:23-100 | lib/alipay/aop/request/KoubeiMemberRetailerQueryRequest.php:23-100 \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 36 call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/alipay/aop/request/AlipayAssetPointBalanceQueryRequest.php:23\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":"lib/alipay/aop/request/AlipayAssetPointBalanceQueryRequest.php"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"3336183092103dc4886f8b71fcd518c96d2ffc54a46d116bc20b30e3ceb80b13"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (133 lines \u00D7 2): lib/alipay/aop/request/AlipayEcapiprodCreditGetRequest.php:47-179 | lib/alipay/aop/request/AlipayEcapiprodDrawndnDrawndnlistQueryRequest.php:47-179 \u2014 before extracting anything, compare \u0060lib/alipay/aop/request/AlipayEcapiprodCreditGetRequest.php\u0060 and \u0060lib/alipay/aop/request/AlipayEcapiprodDrawndnDrawndnlistQueryRequest.php\u0060 as WHOLE FILES: 89% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/alipay/aop/request/AlipayEcapiprodCreditGetRequest.php:47\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":"lib/alipay/aop/request/AlipayEcapiprodCreditGetRequest.php"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecce986c81a4f743cb39eeb383e4b498dedc10a5a9c94ef559bee06080a1e89a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (133 lines \u00D7 5): lib/alipay/aop/request/AlipayEcapiprodDrawndnContractGetRequest.php:47-179 | lib/alipay/aop/request/AlipayEcapiprodDrawndnFeerecordQueryRequest.php:57-211 | lib/alipay/aop/request/AlipayEcapiprodDrawndnLendingrecordQueryRequest.php:57-211 | lib/alipay/aop/request/AlipayEcapiprodDrawndnPaymentscheduleGetRequest.php:47-179 | lib/alipay/aop/request/AlipayEcapiprodDrawndnRepaymentrecordQueryRequest.php:57-211 \u2014 before extracting anything, compare \u0060lib/alipay/aop/request/AlipayEcapiprodDrawndnContractGetRequest.php\u0060 and \u0060lib/alipay/aop/request/AlipayEcapiprodDrawndnFeerecordQueryRequest.php\u0060 as WHOLE FILES: 89% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/alipay/aop/request/AlipayEcapiprodDrawndnContractGetRequest.php:47\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":"lib/alipay/aop/request/AlipayEcapiprodDrawndnContractGetRequest.php"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"28618ef375099219762bc34997d58bb79ffebe6fd650a661fb0f024f92eceddf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (155 lines \u00D7 3): lib/alipay/aop/request/AlipayEcapiprodDrawndnFeerecordQueryRequest.php:57-211 | lib/alipay/aop/request/AlipayEcapiprodDrawndnLendingrecordQueryRequest.php:57-211 | lib/alipay/aop/request/AlipayEcapiprodDrawndnRepaymentrecordQueryRequest.php:57-211 \u2014 before extracting anything, compare \u0060lib/alipay/aop/request/AlipayEcapiprodDrawndnFeerecordQueryRequest.php\u0060 and \u0060lib/alipay/aop/request/AlipayEcapiprodDrawndnLendingrecordQueryRequest.php\u0060 as WHOLE FILES: 88% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 2 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/alipay/aop/request/AlipayEcapiprodDrawndnFeerecordQueryRequest.php:57\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":"lib/alipay/aop/request/AlipayEcapiprodDrawndnFeerecordQueryRequest.php"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"0669826891903bee4c0d8be86bc00f552812fcffa68f79185647471ebdb49502"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (89 lines \u00D7 3): lib/alipay/aop/request/AlipayExscUserCurrentsignGetRequest.php:27-115 | lib/alipay/aop/request/AlipayExscUserFirstfundinpourGetRequest.php:27-115 | lib/alipay/aop/request/AlipayExscUserFirstsignGetRequest.php:27-115 \u2014 before extracting anything, compare \u0060lib/alipay/aop/request/AlipayExscUserCurrentsignGetRequest.php\u0060 and \u0060lib/alipay/aop/request/AlipayExscUserFirstfundinpourGetRequest.php\u0060 as WHOLE FILES: 84% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. 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 \u0060lib/alipay/aop/request/AlipayExscUserCurrentsignGetRequest.php:27\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":"lib/alipay/aop/request/AlipayExscUserCurrentsignGetRequest.php"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ffa62261c437a3e91ab59c08a5b52dfaa51bc4411b39814cd8c30983b503449"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (133 lines \u00D7 2): lib/alipay/aop/request/AlipayMicropayOrderConfirmpayurlGetRequest.php:47-179 | lib/alipay/aop/request/AlipayMicropayOrderDirectPayRequest.php:47-179 \u2014 before extracting anything, compare \u0060lib/alipay/aop/request/AlipayMicropayOrderConfirmpayurlGetRequest.php\u0060 and \u0060lib/alipay/aop/request/AlipayMicropayOrderDirectPayRequest.php\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 443 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 \u0060lib/alipay/aop/request/AlipayMicropayOrderConfirmpayurlGetRequest.php:47\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":"lib/alipay/aop/request/AlipayMicropayOrderConfirmpayurlGetRequest.php"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"61be8158c6364db833dc9a44d9a6032a2f9f76641756ddd9b34e9d81cdd0d7ee"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (89 lines \u00D7 6): lib/alipay/aop/request/AlipayMicropayOrderConfirmpayurlGetRequest.php:47-179 | lib/alipay/aop/request/AlipayMicropayOrderDirectPayRequest.php:47-179 | lib/alipay/aop/request/AlipayMicropayOrderFreezepayurlGetRequest.php:27-115 | lib/alipay/aop/request/AlipayMicropayOrderGetRequest.php:27-115 | lib/alipay/aop/request/AlipayMicropayOrderUnfreezeRequest.php:32-131 | lib/alipay/aop/request/AlipayUserTradeSearchRequest.php:67-243 \u2014 before extracting anything, compare \u0060lib/alipay/aop/request/AlipayMicropayOrderConfirmpayurlGetRequest.php\u0060 and \u0060lib/alipay/aop/request/AlipayMicropayOrderDirectPayRequest.php\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 443 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 \u0060lib/alipay/aop/request/AlipayMicropayOrderConfirmpayurlGetRequest.php:47\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":"lib/alipay/aop/request/AlipayMicropayOrderConfirmpayurlGetRequest.php"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f4caadf035e309d3eb1646592c065a26a8dd88d2ab7e6611e42f3b5b40e90ec"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (100 lines \u00D7 3): lib/alipay/aop/request/AlipayMicropayOrderConfirmpayurlGetRequest.php:47-179 | lib/alipay/aop/request/AlipayMicropayOrderDirectPayRequest.php:47-179 | lib/alipay/aop/request/AlipayMicropayOrderUnfreezeRequest.php:32-131 \u2014 before extracting anything, compare \u0060lib/alipay/aop/request/AlipayMicropayOrderConfirmpayurlGetRequest.php\u0060 and \u0060lib/alipay/aop/request/AlipayMicropayOrderDirectPayRequest.php\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 443 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 \u0060lib/alipay/aop/request/AlipayMicropayOrderConfirmpayurlGetRequest.php:47\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":"lib/alipay/aop/request/AlipayMicropayOrderConfirmpayurlGetRequest.php"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a315b3403c38e5ca971f41452e00c3e89d9c5b294b4d4d3483c12e806abc4d2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (144 lines \u00D7 2): lib/alipay/aop/request/AlipayMobilePublicAccountAddRequest.php:52-195 | lib/alipay/aop/request/AlipayMobilePublicAccountResetRequest.php:52-195 \u2014 before extracting anything, compare \u0060lib/alipay/aop/request/AlipayMobilePublicAccountAddRequest.php\u0060 and \u0060lib/alipay/aop/request/AlipayMobilePublicAccountResetRequest.php\u0060 as WHOLE FILES: 91% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/alipay/aop/request/AlipayMobilePublicAccountAddRequest.php:52\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":"lib/alipay/aop/request/AlipayMobilePublicAccountAddRequest.php"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8535fc5cf4defae8e8e166fd5c654733ad3b6bf8d4af02b8c82fd585caac954"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (89 lines \u00D7 3): lib/alipay/aop/request/AlipayMobilePublicTemplateMessageDeleteRequest.php:27-115 | lib/alipay/aop/request/AlipayMobilePublicTemplateMessageGetRequest.php:27-115 | lib/alipay/aop/request/AlipayMobilePublicTemplateMessageModifyRequest.php:32-131 \u2014 before extracting anything, compare \u0060lib/alipay/aop/request/AlipayMobilePublicTemplateMessageDeleteRequest.php\u0060 and \u0060lib/alipay/aop/request/AlipayMobilePublicTemplateMessageModifyRequest.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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/alipay/aop/request/AlipayMobilePublicTemplateMessageDeleteRequest.php:27\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":"lib/alipay/aop/request/AlipayMobilePublicTemplateMessageDeleteRequest.php"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"eea9e37673a64b8305c3a98deab0ff87881448f8e003c167ce208a014478fa0d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (100 lines \u00D7 2): lib/alipay/aop/request/AlipayOfflineMarketShopPublicBindRequest.php:32-131 | lib/alipay/aop/request/AlipayOfflineMarketShopPublicUnbindRequest.php:32-131 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/alipay/aop/request/AlipayOfflineMarketShopPublicBindRequest.php:32\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/alipay/aop/request/AlipayOfflineMarketShopPublicBindRequest.php"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d182d32ec8fc30f4c46cd6561666e839f5baff837afde8344553b3455cb42b8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (111 lines \u00D7 2): lib/alipay/aop/request/AlipayPassCodeAddRequest.php:46-167 | lib/alipay/aop/request/AlipayPassFileAddRequest.php:40-150 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/alipay/aop/request/AlipayPassCodeAddRequest.php:46\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":"lib/alipay/aop/request/AlipayPassCodeAddRequest.php"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8cc02f3883fb6ae579f45566ee9110bd43521c7b4f405d4fdf201ec59e92daf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (89 lines \u00D7 2): lib/alipay/aop/request/AlipayTrustUserAuthSendRequest.php:27-115 | lib/alipay/aop/request/AlipayTrustUserTokenGetRequest.php:27-115 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/alipay/aop/request/AlipayTrustUserAuthSendRequest.php:27\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":"lib/alipay/aop/request/AlipayTrustUserAuthSendRequest.php"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"0031f339570220ca3bec0c11b9ececa6d912b5a5cf269c95d618dc623835f59a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (100 lines \u00D7 2): lib/alipay/aop/request/AlipayOfflineMaterialImageUploadRequest.php:42-163 | lib/alipay/aop/request/AntMerchantExpandImageUploadRequest.php:32-131 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/alipay/aop/request/AlipayOfflineMaterialImageUploadRequest.php:42\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":"lib/alipay/aop/request/AlipayOfflineMaterialImageUploadRequest.php"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"005cad686a7237b17d0e641a0734c7cc97490ee443f65dddccc2a8f75be833b1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): migrations/mysqldb/m181118_003931_fecshop_tables.php:15-30 | migrations/mysqldb/m210225_095812_fecshop_tables.php:16-32 \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 \u0060migrations/mysqldb/m181118_003931_fecshop_tables.php:15\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"migrations/mysqldb/m181118_003931_fecshop_tables.php"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"411a8d16d8179e8f475b79cc0874e6f5bbf758b0d40912b39de133983ec34003"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 3): migrations/mysqldb/m191219_031426_fecshop_tables.php:16-38 | migrations/mysqldb/m200924_022049_fecshop_tables.php:16-38 | migrations/mysqldb/m201218_021946_fecshop_tables.php:16-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 all 3 call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060migrations/mysqldb/m191219_031426_fecshop_tables.php:16\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"migrations/mysqldb/m191219_031426_fecshop_tables.php"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"b77e5e0e1aefc3101acc9395fedd4cafd52c370a943f625a569989bf4009bfbe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (35 lines \u00D7 3): models/mongodb/cms/Article.php:30-68 | models/mongodb/cms/StaticBlock.php:29-64 | models/mongodb/url/UrlRewrite.php:25-59 \u2014 before extracting anything, compare \u0060models/mongodb/cms/Article.php\u0060 and \u0060models/mongodb/cms/StaticBlock.php\u0060 as WHOLE FILES: 85% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060models/mongodb/cms/Article.php:30\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":"models/mongodb/cms/Article.php"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb07874122bfb984f9ac0e00a3d2bfdcd2b7bcfcb87c8c067f54fc7d89f0906a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (37 lines \u00D7 2): models/mongodb/product/Favorite.php:25-61 | models/mongodb/product/Review.php:30-102 \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 \u0060models/mongodb/product/Favorite.php:25\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":"models/mongodb/product/Favorite.php"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"5aa7b24326341ad4eb0fbaa9345d10db5e67f5f587369f733f47227612724f42"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 4): models/mysqldb/Category.php:29-39 | models/mysqldb/Product.php:32-50 | models/mysqldb/Search.php:23-33 | models/mysqldb/cms/Article.php:27-37 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 4 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 4 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060models/mysqldb/Category.php:29\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. 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":"models/mysqldb/Category.php"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbc0c841f720ffc4d0e9399111d2a81a83f38d00254211d03bcd13d9e0ef9a07"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (31 lines \u00D7 2): models/mysqldb/adminUser/AdminUserAccessToken.php:30-60 | models/mysqldb/customer/CustomerAccessToken.php:45-75 \u2014 before extracting anything, compare \u0060models/mysqldb/adminUser/AdminUserAccessToken.php\u0060 and \u0060models/mysqldb/customer/CustomerAccessToken.php\u0060 as WHOLE FILES: 91% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060models/mysqldb/adminUser/AdminUserAccessToken.php:30\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":"models/mysqldb/adminUser/AdminUserAccessToken.php"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"79975956522c6f7be663a7ba5a20460215820827a51d6d685b9fabe4c12c35f7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): app/appadmin/modules/AppadminbaseBlock.php:115-124 | app/appadmin/modules/System/block/extensionmarket/Manager.php:122-131 \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/appadmin/modules/AppadminbaseBlock.php"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"48e1b10fa699374d0a1e97ba68b73ba8cfb3ff80af703df98e7ca125e292c1c8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 4): app/appadmin/modules/Catalog/Module.php:22-33 | app/appadmin/modules/Cms/Module.php:22-33 | app/appadmin/modules/Config/Module.php:22-33 | app/appadmin/modules/Customer/Module.php:22-33 \u2014 \u0060app/appadmin/modules/Catalog/Module.php\u0060 and \u0060app/appadmin/modules/Cms/Module.php\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 1 separate duplicated blocks between them, totalling at least 12 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appadmin/modules/Catalog/Module.php"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"15269e5a21577621c79f68ec2ebaf77cccbec34d7670f5309b2bd656839623a1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): app/appadmin/modules/Catalog/block/category/Image.php:23-31 | app/appadmin/modules/Catalog/block/productbrand/Image.php:23-31 \u2014 \u0060app/appadmin/modules/Catalog/block/category/Image.php\u0060 and \u0060app/appadmin/modules/Catalog/block/productbrand/Image.php\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 1 separate duplicated blocks between them, totalling at least 9 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appadmin/modules/Catalog/block/category/Image.php"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b8a7c595a22a496b393239067927a2c813633b74fa2ab3b9399de383f5803ef"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (51 lines \u00D7 2): app/appadmin/modules/Catalog/block/productbrand/Manager.php:104-168 | app/appadmin/modules/Catalog/block/productbrandcategory/Manager.php:103-153 \u2014 \u0060app/appadmin/modules/Catalog/block/productbrand/Manager.php\u0060 and \u0060app/appadmin/modules/Catalog/block/productbrandcategory/Manager.php\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 3 separate duplicated blocks between them, totalling at least 95 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appadmin/modules/Catalog/block/productbrand/Manager.php"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"b67a0b3ead6d37229522b5edaa510959e7a91e487582cff5e1b141230b2cbd59"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): app/appadmin/modules/Catalog/block/productinfo/Managerbatchedit.php:62-68 | app/appadmin/modules/Catalog/block/productinfo/Manageredit.php:62-68 \u2014 before extracting anything, compare \u0060app/appadmin/modules/Catalog/block/productinfo/Managerbatchedit.php\u0060 and \u0060app/appadmin/modules/Catalog/block/productinfo/Manageredit.php\u0060 as WHOLE FILES: this scan already matched 29 separate duplicated blocks between them, totalling at least 398 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/appadmin/modules/Catalog/block/productinfo/Managerbatchedit.php"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a911899beecb3938314c12e4e3b60fe03849c5edb2ad19be36dfc24a901f3f6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): app/appadmin/modules/Catalog/block/productinfo/Managerbatchedit.php:171-176 | app/appadmin/modules/Catalog/block/productinfo/Manageredit.php:170-175 \u2014 before extracting anything, compare \u0060app/appadmin/modules/Catalog/block/productinfo/Managerbatchedit.php\u0060 and \u0060app/appadmin/modules/Catalog/block/productinfo/Manageredit.php\u0060 as WHOLE FILES: this scan already matched 29 separate duplicated blocks between them, totalling at least 398 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 \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/appadmin/modules/Catalog/block/productinfo/Managerbatchedit.php"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"5abf1efb393ab8c287d655f5e58a304c2039c6c4e8fee7fd2031acbe537c5b18"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): app/appadmin/modules/Catalog/block/productinfo/Managerbatchedit.php:181-186 | app/appadmin/modules/Catalog/block/productinfo/Manageredit.php:181-186 \u2014 before extracting anything, compare \u0060app/appadmin/modules/Catalog/block/productinfo/Managerbatchedit.php\u0060 and \u0060app/appadmin/modules/Catalog/block/productinfo/Manageredit.php\u0060 as WHOLE FILES: this scan already matched 29 separate duplicated blocks between them, totalling at least 398 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 \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/appadmin/modules/Catalog/block/productinfo/Managerbatchedit.php"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b50912f3aa9599c2db0f1e9da49a18023f3e5f8eabd8ff4ee7aaeba142b5d0c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): app/appadmin/modules/Catalog/block/productinfo/Managerbatchedit.php:191-196 | app/appadmin/modules/Catalog/block/productinfo/Manageredit.php:191-196 \u2014 before extracting anything, compare \u0060app/appadmin/modules/Catalog/block/productinfo/Managerbatchedit.php\u0060 and \u0060app/appadmin/modules/Catalog/block/productinfo/Manageredit.php\u0060 as WHOLE FILES: this scan already matched 29 separate duplicated blocks between them, totalling at least 398 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 \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/appadmin/modules/Catalog/block/productinfo/Managerbatchedit.php"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"bda6a203f991e6a5492fe02e2b8dc89166f0fc400702f760eafa28145804e434"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): app/appadmin/modules/Catalog/block/productinfo/Managerbatchedit.php:201-206 | app/appadmin/modules/Catalog/block/productinfo/Manageredit.php:201-206 \u2014 before extracting anything, compare \u0060app/appadmin/modules/Catalog/block/productinfo/Managerbatchedit.php\u0060 and \u0060app/appadmin/modules/Catalog/block/productinfo/Manageredit.php\u0060 as WHOLE FILES: this scan already matched 29 separate duplicated blocks between them, totalling at least 398 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 \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/appadmin/modules/Catalog/block/productinfo/Managerbatchedit.php"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"94d003b421113dd82a7e32f44da867077b84bf5bfee60c5205af7a267af62fab"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): app/appadmin/modules/Catalog/block/productinfo/Managerbatchedit.php:211-216 | app/appadmin/modules/Catalog/block/productinfo/Manageredit.php:211-216 \u2014 before extracting anything, compare \u0060app/appadmin/modules/Catalog/block/productinfo/Managerbatchedit.php\u0060 and \u0060app/appadmin/modules/Catalog/block/productinfo/Manageredit.php\u0060 as WHOLE FILES: this scan already matched 29 separate duplicated blocks between them, totalling at least 398 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 \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/appadmin/modules/Catalog/block/productinfo/Managerbatchedit.php"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"88b0c0705e18d72bc923f1cb102dfe0c73ffbedb90bca7bd6ab4ef3e1f121360"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): app/appadmin/modules/Catalog/block/productinfo/Managerbatchedit.php:221-226 | app/appadmin/modules/Catalog/block/productinfo/Manageredit.php:221-226 \u2014 before extracting anything, compare \u0060app/appadmin/modules/Catalog/block/productinfo/Managerbatchedit.php\u0060 and \u0060app/appadmin/modules/Catalog/block/productinfo/Manageredit.php\u0060 as WHOLE FILES: this scan already matched 29 separate duplicated blocks between them, totalling at least 398 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 \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/appadmin/modules/Catalog/block/productinfo/Managerbatchedit.php"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"db4b0fea920f2618b8caac8f016f5f9ba457b3dbb11f640df353a7167ce341d1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): app/appadmin/modules/Catalog/block/productinfo/index/Attr.php:52-56 | app/appadmin/modules/Catalog/block/productinfo/index/BatchAttr.php:52-56 \u2014 before extracting anything, compare \u0060app/appadmin/modules/Catalog/block/productinfo/index/Attr.php\u0060 and \u0060app/appadmin/modules/Catalog/block/productinfo/index/BatchAttr.php\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 33 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 \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/appadmin/modules/Catalog/block/productinfo/index/Attr.php"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"e71dbbc357052026b8bd4f6c8c7d773a2dbb25ca1b27c4e38e9d0331384dfb93"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 31): app/appadmin/modules/Config/block/appfrontaccount/Manager.php:67-77 | app/appadmin/modules/Config/block/appfrontbase/Manager.php:57-67 | app/appadmin/modules/Config/block/appfrontcache/Manager.php:63-73 | app/appadmin/modules/Config/block/appfrontcatalog/Manager.php:74-84 | app/appadmin/modules/Config/block/appfronthome/Manager.php:58-68 | app/appadmin/modules/Config/block/appfrontpayment/Manager.php:63-73 | app/appadmin/modules/Config/block/apphtml5account/Manager.php:66-76 | app/appadmin/modules/Config/block/apphtml5base/Manager.php:57-67 | app/appadmin/modules/Config/block/apphtml5cache/Manager.php:63-73 | app/appadmin/modules/Config/block/apphtml5catalog/Manager.php:74-84 | app/appadmin/modules/Config/block/apphtml5home/Manager.php:57-67 | app/appadmin/modules/Config/block/apphtml5payment/Manager.php:53-63 | app/appadmin/modules/Config/block/appserveraccount/Manager.php:67-77 | app/appadmin/modules/Config/block/appserverbase/Manager.php:54-64 | app/appadmin/modules/Config/block/appservercache/Manager.php:63-73 | app/appadmin/modules/Config/block/appservercatalog/Manager.php:74-84 | app/appadmin/modules/Config/block/appserverhome/Manager.php:54-64 | app/appadmin/modules/Config/block/appserverpayment/Manager.php:53-63 | app/appadmin/modules/Config/block/appserverstore/Manager.php:62-72 | app/appadmin/modules/Config/block/base/Manager.php:60-70 | app/appadmin/modules/Config/block/cart/Manager.php:55-65 | app/appadmin/modules/Config/block/currency/Manager.php:46-54 | app/appadmin/modules/Config/block/email/Manager.php:94-104 | app/appadmin/modules/Config/block/fa/Manager.php:56-66 | app/appadmin/modules/Config/block/order/Manager.php:60-70 | app/appadmin/modules/Config/block/paymentalipay/Manager.php:72-82 | app/appadmin/modules/Config/block/paymentpaypal/Manager.php:59-69 | app/appadmin/modules/Config/block/paymentwxpay/Manager.php:62-72 | app/appadmin/modules/Config/block/product/Manager.php:59-69 | app/appadmin/modules/Config/block/search/Manager.php:56-66 | app/appadmin/modules/Config/block/service/Db.php:64-74 \u2014 \u0060app/appadmin/modules/Config/block/appfrontaccount/Manager.php\u0060 and \u0060app/appadmin/modules/Config/block/appfrontbase/Manager.php\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 5 separate duplicated blocks between them, totalling at least 59 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appadmin/modules/Config/block/appfrontaccount/Manager.php"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c877678556f1e0a8498ac45632548d065658e19ac64e363cc5253830baf304b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 30): app/appadmin/modules/Config/block/appfrontaccount/Manager.php:225-239 | app/appadmin/modules/Config/block/appfrontbase/Manager.php:152-166 | app/appadmin/modules/Config/block/appfrontcache/Manager.php:234-248 | app/appadmin/modules/Config/block/appfrontcatalog/Manager.php:365-379 | app/appadmin/modules/Config/block/appfronthome/Manager.php:158-172 | app/appadmin/modules/Config/block/appfrontpayment/Manager.php:219-233 | app/appadmin/modules/Config/block/apphtml5account/Manager.php:224-238 | app/appadmin/modules/Config/block/apphtml5base/Manager.php:149-163 | app/appadmin/modules/Config/block/apphtml5cache/Manager.php:232-246 | app/appadmin/modules/Config/block/apphtml5catalog/Manager.php:366-380 | app/appadmin/modules/Config/block/apphtml5home/Manager.php:148-162 | app/appadmin/modules/Config/block/apphtml5payment/Manager.php:206-220 | app/appadmin/modules/Config/block/appserveraccount/Manager.php:225-239 | app/appadmin/modules/Config/block/appserverbase/Manager.php:126-140 | app/appadmin/modules/Config/block/appservercache/Manager.php:233-247 | app/appadmin/modules/Config/block/appservercatalog/Manager.php:340-354 | app/appadmin/modules/Config/block/appserverhome/Manager.php:118-132 | app/appadmin/modules/Config/block/appserverpayment/Manager.php:208-222 | app/appadmin/modules/Config/block/appserverstore/Manager.php:206-220 | app/appadmin/modules/Config/block/base/Manager.php:226-240 | app/appadmin/modules/Config/block/cart/Manager.php:132-146 | app/appadmin/modules/Config/block/email/Manager.php:444-458 | app/appadmin/modules/Config/block/fa/Manager.php:163-177 | app/appadmin/modules/Config/block/order/Manager.php:175-189 | app/appadmin/modules/Config/block/paymentalipay/Manager.php:212-226 | app/appadmin/modules/Config/block/paymentpaypal/Manager.php:187-201 | app/appadmin/modules/Config/block/paymentwxpay/Manager.php:182-196 | app/appadmin/modules/Config/block/product/Manager.php:173-187 | app/appadmin/modules/Config/block/search/Manager.php:148-162 | app/appadmin/modules/Config/block/service/Db.php:216-230 \u2014 \u0060app/appadmin/modules/Config/block/appfrontaccount/Manager.php\u0060 and \u0060app/appadmin/modules/Config/block/appfrontbase/Manager.php\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 5 separate duplicated blocks between them, totalling at least 59 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appadmin/modules/Config/block/appfrontaccount/Manager.php"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"15ad2fe50b7b6a2b6f49fd9a2245f16b4fdd8e62c22545eacb5f8610271b9b2c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): app/appadmin/modules/Config/block/appfrontstore/Manager.php:31-40 | app/appadmin/modules/Config/block/apphtml5store/Manager.php:31-40 \u2014 \u0060app/appadmin/modules/Config/block/appfrontstore/Manager.php\u0060 and \u0060app/appadmin/modules/Config/block/apphtml5store/Manager.php\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 3 separate duplicated blocks between them, totalling at least 48 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appadmin/modules/Config/block/appfrontstore/Manager.php"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"35f4f6927b00bbfcfd60c907e21494f47c1bf774e5916996df64ab54f4196de2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): app/appadmin/modules/Config/block/categorysort/Manager.php:63-71 | app/appadmin/modules/Config/block/mutillang/Manager.php:62-70 \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/appadmin/modules/Config/block/categorysort/Manager.php"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"3eaebf9a99d8cd332c4e606f08b1ddbd9c7e09da4e7155d61700a45e21503878"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 6): app/appadmin/modules/Customer/block/account/Index.php:75-113 | app/appadmin/modules/Customer/block/account/Index.php:121-181 | app/appadmin/modules/Customer/block/contacts/Index.php:76-100 | app/appadmin/modules/Customer/block/contacts/Index.php:108-159 | app/appadmin/modules/Customer/block/newsletter/Index.php:75-96 | app/appadmin/modules/Customer/block/newsletter/Index.php:104-139 \u2014 \u0060app/appadmin/modules/Customer/block/contacts/Index.php\u0060 and \u0060app/appadmin/modules/Customer/block/newsletter/Index.php\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 8 separate duplicated blocks between them, totalling at least 151 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appadmin/modules/Customer/block/account/Index.php"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbbba1e5295ef9fde08cbe6d9b760cd15280b604ca286eab1d197f17b12fcc00"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): app/appadmin/modules/System/block/adminurlkey/Manager.php:26-33 | app/appadmin/modules/System/block/extensiongii/Manager.php:26-33 \u2014 \u0060app/appadmin/modules/System/block/adminurlkey/Manager.php\u0060 and \u0060app/appadmin/modules/System/block/extensiongii/Manager.php\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 1 separate duplicated blocks between them, totalling at least 8 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appadmin/modules/System/block/adminurlkey/Manager.php"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e42d10b9f46c822f1fa9cc97cd3127b691a5820e743d7e668b2338bd2f03a43"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): app/appadmin/modules/System/block/extensioninstalled/Manageredit.php:136-149 | app/appadmin/modules/System/block/extensioninstalled/Managerview.php:179-192 \u2014 before extracting anything, compare \u0060app/appadmin/modules/System/block/extensioninstalled/Manageredit.php\u0060 and \u0060app/appadmin/modules/System/block/extensioninstalled/Managerview.php\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 49 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/appadmin/modules/System/block/extensioninstalled/Manageredit.php"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fcdf927debfef08e5bbca8d779658885f4040a2a1f38c66b53102e9baf88985"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): app/appadmin/modules/System/block/extensioninstalled/Manageredit.php:154-167 | app/appadmin/modules/System/block/extensioninstalled/Managerview.php:197-210 \u2014 before extracting anything, compare \u0060app/appadmin/modules/System/block/extensioninstalled/Manageredit.php\u0060 and \u0060app/appadmin/modules/System/block/extensioninstalled/Managerview.php\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 49 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/appadmin/modules/System/block/extensioninstalled/Manageredit.php"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6e0e38ac79c7e7e81af53751c6c3b940cdaa158871111d20c986387585e4e8e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 15): app/appfront/modules/Catalog/Module.php:26-44 | app/appfront/modules/Catalogsearch/Module.php:26-46 | app/appfront/modules/Checkout/Module.php:26-46 | app/appfront/modules/Cms/Module.php:26-44 | app/appfront/modules/Customer/Module.php:26-44 | app/appfront/modules/Payment/Module.php:26-44 | app/appfront/modules/Site/Module.php:26-44 | app/apphtml5/modules/Catalog/Module.php:26-44 | app/apphtml5/modules/Catalogsearch/Module.php:26-44 | app/apphtml5/modules/Checkout/Module.php:26-44 | app/apphtml5/modules/Cms/Module.php:25-43 | app/apphtml5/modules/Customer/Module.php:26-44 | app/apphtml5/modules/Payment/Module.php:26-44 | app/apphtml5/modules/Site/Module.php:25-43 | app/appserver/modules/Checkout/Module.php:22-39 \u2014 \u0060app/appfront/modules/Catalog/Module.php\u0060 and \u0060app/appfront/modules/Catalogsearch/Module.php\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 1 separate duplicated blocks between them, totalling at least 21 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appfront/modules/Catalog/Module.php"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"25fc8f6971dbbcf3a49114f2fd7aec51a550a7b7164258cb92c5c95e86d4703a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): app/appfront/modules/Catalog/block/category/Index.php:121-125 | app/apphtml5/modules/Catalog/block/category/Index.php:142-146 \u2014 before extracting anything, compare \u0060app/appfront/modules/Catalog/block/category/Index.php\u0060 and \u0060app/apphtml5/modules/Catalog/block/category/Index.php\u0060 as WHOLE FILES: this scan already matched 25 separate duplicated blocks between them, totalling at least 393 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. 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/appfront/modules/Catalog/block/category/Index.php"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbced1298ba0baf04b942bf0ebfe958aa592126d987b39ec00c612b68923a653"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3): app/appfront/modules/Catalog/block/category/Index.php:168-181 | app/appfront/modules/Catalog/block/category/Index.php:190-202 | app/appfront/modules/Catalogsearch/block/index/Index.php:86-99 \u2014 before extracting anything, compare \u0060app/appfront/modules/Catalog/block/category/Index.php\u0060 and \u0060app/appfront/modules/Catalogsearch/block/index/Index.php\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 114 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/appfront/modules/Catalog/block/category/Index.php"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"554da4a16d6d27ec30b02ce507cf7c8850f4f07513bc1d08fb562c3bf73a3ff6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): app/appfront/modules/Catalog/block/product/Index.php:439-447 | app/apphtml5/modules/Catalog/block/product/Index.php:428-435 \u2014 before extracting anything, compare \u0060app/appfront/modules/Catalog/block/product/Index.php\u0060 and \u0060app/apphtml5/modules/Catalog/block/product/Index.php\u0060 as WHOLE FILES: this scan already matched 21 separate duplicated blocks between them, totalling at least 409 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. 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/appfront/modules/Catalog/block/product/Index.php"},"region":{"startLine":439}}}],"partialFingerprints":{"codehealthFindingId/v1":"88923d0262fd4dc999092edf99a985b4032a98e3a3d338d75ddc9f331f3cd608"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): app/appfront/modules/Catalog/block/product/Index.php:490-495 | app/apphtml5/modules/Catalog/block/product/Index.php:478-483 | app/appserver/modules/Catalog/controllers/ProductController.php:722-727 \u2014 before extracting anything, compare \u0060app/appfront/modules/Catalog/block/product/Index.php\u0060 and \u0060app/apphtml5/modules/Catalog/block/product/Index.php\u0060 as WHOLE FILES: this scan already matched 21 separate duplicated blocks between them, totalling at least 409 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. 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/appfront/modules/Catalog/block/product/Index.php"},"region":{"startLine":490}}}],"partialFingerprints":{"codehealthFindingId/v1":"75eee3a23f3c6100a4e2314c38f8fa7742db6012c1cce24596408b098f8e6c0d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 6): app/appfront/modules/Catalog/block/product/Review.php:38-45 | app/appfront/modules/Catalog/block/reviewproduct/Add.php:30-36 | app/appfront/modules/Catalog/block/reviewproduct/Lists.php:36-42 | app/apphtml5/modules/Catalog/block/product/Review.php:36-43 | app/apphtml5/modules/Catalog/block/reviewproduct/Add.php:30-36 | app/apphtml5/modules/Catalog/block/reviewproduct/Lists.php:36-43 \u2014 before extracting anything, compare \u0060app/appfront/modules/Catalog/block/product/Review.php\u0060 and \u0060app/apphtml5/modules/Catalog/block/product/Review.php\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 55 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appfront/modules/Catalog/block/product/Review.php"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d3bd706a3eb0dabe7b8384af515d347123af4904757c994cf695060042abbcd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): app/appfront/modules/Catalog/block/product/Review.php:52-70 | app/apphtml5/modules/Catalog/block/product/Review.php:51-68 \u2014 before extracting anything, compare \u0060app/appfront/modules/Catalog/block/product/Review.php\u0060 and \u0060app/apphtml5/modules/Catalog/block/product/Review.php\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 55 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appfront/modules/Catalog/block/product/Review.php"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"14a1090589ce565d3d01c05b3889f6f4b3cef8e4ec37f913bbd14805cacecefe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 6): app/appfront/modules/Catalog/block/reviewproduct/Add.php:168-173 | app/appfront/modules/Catalog/block/reviewproduct/Lists.php:161-166 | app/apphtml5/modules/Catalog/block/reviewproduct/Add.php:169-174 | app/apphtml5/modules/Catalog/block/reviewproduct/Lists.php:163-168 | app/appserver/modules/Catalog/block/reviewproduct/Add.php:131-136 | app/appserver/modules/Catalog/block/reviewproduct/Lists.php:168-173 \u2014 before extracting anything, compare \u0060app/appfront/modules/Catalog/block/reviewproduct/Add.php\u0060 and \u0060app/apphtml5/modules/Catalog/block/reviewproduct/Add.php\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 140 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. 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/appfront/modules/Catalog/block/reviewproduct/Add.php"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"32f1964a3ca04dce9aa912b0c3c5a9e804b231337c1e438988ed80d0686b3707"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 10): app/appfront/modules/Catalog/block/reviewproduct/Lists.php:50-62 | app/appfront/modules/Customer/block/address/Index.php:77-89 | app/appfront/modules/Customer/block/order/Index.php:74-86 | app/appfront/modules/Customer/block/productfavorite/Index.php:127-139 | app/appfront/modules/Customer/block/productreview/Index.php:75-87 | app/apphtml5/modules/Catalog/block/reviewproduct/Lists.php:51-64 | app/apphtml5/modules/Customer/block/order/Index.php:64-76 | app/apphtml5/modules/Customer/block/productfavorite/Index.php:119-131 | app/apphtml5/modules/Customer/block/productreview/Index.php:65-77 | app/appserver/modules/Catalog/block/reviewproduct/Lists.php:50-62 \u2014 before extracting anything, compare \u0060app/appfront/modules/Catalog/block/reviewproduct/Lists.php\u0060 and \u0060app/apphtml5/modules/Catalog/block/reviewproduct/Lists.php\u0060 as WHOLE FILES: this scan already matched 6 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/appfront/modules/Catalog/block/reviewproduct/Lists.php"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"40a38fbaf2018b4b56bb339ffd505274a4fa1840cf3561cd3c5d55244e1e2c5f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): app/appfront/modules/Catalog/helpers/Price.php:22-37 | app/apphtml5/modules/Catalog/helpers/Price.php:22-37 \u2014 before extracting anything, compare \u0060app/appfront/modules/Catalog/helpers/Price.php\u0060 and \u0060app/apphtml5/modules/Catalog/helpers/Price.php\u0060 as WHOLE FILES: 96% 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/appfront/modules/Catalog/helpers/Price.php"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdbe0c8bb8a82f1a878a44fb098de889b1598279ec99dec0153e032daede3f9f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): app/appfront/modules/Catalogsearch/block/index/Index.php:71-79 | app/apphtml5/modules/Catalogsearch/block/index/Index.php:78-86 \u2014 before extracting anything, compare \u0060app/appfront/modules/Catalogsearch/block/index/Index.php\u0060 and \u0060app/apphtml5/modules/Catalogsearch/block/index/Index.php\u0060 as WHOLE FILES: this scan already matched 19 separate duplicated blocks between them, totalling at least 295 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/appfront/modules/Catalogsearch/block/index/Index.php"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"275e5523cd349333b9f845a6b1528bb64b1a30122d99864e5cadd7379bb57a65"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): app/appfront/modules/Catalogsearch/block/index/Index.php:190-198 | app/apphtml5/modules/Catalogsearch/block/index/Index.php:213-221 \u2014 before extracting anything, compare \u0060app/appfront/modules/Catalogsearch/block/index/Index.php\u0060 and \u0060app/apphtml5/modules/Catalogsearch/block/index/Index.php\u0060 as WHOLE FILES: this scan already matched 19 separate duplicated blocks between them, totalling at least 295 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. 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/appfront/modules/Catalogsearch/block/index/Index.php"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea2f37f5e303d808e8b20e8ecf93ecd68f6c9d2dd87d09104b7c4204b183499e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): app/appfront/modules/Catalogsearch/block/index/Index.php:431-435 | app/apphtml5/modules/Catalogsearch/block/index/Index.php:453-457 \u2014 before extracting anything, compare \u0060app/appfront/modules/Catalogsearch/block/index/Index.php\u0060 and \u0060app/apphtml5/modules/Catalogsearch/block/index/Index.php\u0060 as WHOLE FILES: this scan already matched 19 separate duplicated blocks between them, totalling at least 295 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/appfront/modules/Catalogsearch/block/index/Index.php"},"region":{"startLine":431}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cce81a4789b323b335cc9d19bcc9b6df49261eb153922c2bf9e8b40e59952c7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 18): app/appfront/modules/Checkout/block/cart/Index.php:44-48 | app/appfront/modules/Checkout/block/onepage/Index.php:66-70 | app/appfront/modules/Customer/block/account/Forgotpassword.php:37-41 | app/appfront/modules/Customer/block/account/Index.php:38-42 | app/appfront/modules/Customer/block/account/Login.php:41-45 | app/appfront/modules/Customer/block/account/Register.php:43-47 | app/appfront/modules/Customer/block/account/Registerenable.php:41-45 | app/appfront/modules/Customer/block/account/Resetpassword.php:41-45 | app/appfront/modules/Customer/block/account/Resetpasswordsuccess.php:31-35 | app/appfront/modules/Customer/block/address/Edit.php:90-94 | app/appfront/modules/Customer/block/address/Index.php:45-49 | app/appfront/modules/Customer/block/editaccount/Index.php:35-39 | app/appfront/modules/Customer/block/order/Index.php:65-69 | app/appfront/modules/Customer/block/order/View.php:31-35 | app/appfront/modules/Customer/block/productfavorite/Index.php:65-69 | app/appfront/modules/Customer/block/productreview/Index.php:66-70 | app/appfront/modules/Customer/controllers/AccountController.php:206-210 | app/apphtml5/modules/Customer/block/account/Registerenable.php:37-41 \u2014 \u0060app/appfront/modules/Checkout/block/cart/Index.php\u0060 and \u0060app/appfront/modules/Checkout/block/onepage/Index.php\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 6 separate duplicated blocks between them, totalling at least 65 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appfront/modules/Checkout/block/cart/Index.php"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffdb8fb3724b22072a411ad96a301f7f807845785420fee33271711ce1145332"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): app/appfront/modules/Checkout/block/cart/Index.php:173-183 | app/apphtml5/modules/Checkout/block/cart/Index.php:162-172 \u2014 before extracting anything, compare \u0060app/appfront/modules/Checkout/block/cart/Index.php\u0060 and \u0060app/apphtml5/modules/Checkout/block/cart/Index.php\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 95 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/appfront/modules/Checkout/block/cart/Index.php"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"be5eb63645c9257cc024f4ce6b749d7763a13e836b26cccdfd3519a7273653e0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 4): app/appfront/modules/Checkout/block/onepage/Index.php:268-274 | app/appfront/modules/Payment/block/paypal/express/Review.php:210-216 | app/apphtml5/modules/Checkout/block/onepage/Index.php:258-264 | app/apphtml5/modules/Payment/block/paypal/express/Review.php:210-216 \u2014 before extracting anything, compare \u0060app/appfront/modules/Checkout/block/onepage/Index.php\u0060 and \u0060app/appfront/modules/Payment/block/paypal/express/Review.php\u0060 as WHOLE FILES: this scan already matched 19 separate duplicated blocks between them, totalling at least 242 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/appfront/modules/Checkout/block/onepage/Index.php"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"7749bdcda083d74eee850860e81d250722222d3f510dd4cf88af6b45a98c50c7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 4): app/appfront/modules/Checkout/controllers/ReorderController.php:45-57 | app/appfront/modules/Customer/block/order/Reorder.php:41-53 | app/apphtml5/modules/Customer/block/order/Reorder.php:41-53 | app/appserver/modules/Customer/controllers/OrderController.php:353-365 \u2014 before extracting anything, compare \u0060app/appfront/modules/Customer/block/order/Reorder.php\u0060 and \u0060app/apphtml5/modules/Customer/block/order/Reorder.php\u0060 as WHOLE FILES: 97% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 2 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appfront/modules/Checkout/controllers/ReorderController.php"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f50bfc35876ff6eca345980d70dad5eda86397e7efacd2245bbe351ad130b87"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): app/appfront/modules/Cms/block/home/Index.php:32-36 | app/apphtml5/modules/Cms/block/home/Index.php:31-35 | app/appserver/modules/Cms/controllers/HomeController.php:97-101 \u2014 before extracting anything, compare \u0060app/appfront/modules/Cms/block/home/Index.php\u0060 and \u0060app/apphtml5/modules/Cms/block/home/Index.php\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 31 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. 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/appfront/modules/Cms/block/home/Index.php"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"9916a191cbe1f8c5390e1aa1995888f73e880021194aafa3e5fe59bcdc16c016"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): app/appfront/modules/Cms/controllers/ArticleController.php:18-24 | app/apphtml5/modules/Cms/controllers/ArticleController.php:18-24 \u2014 before extracting anything, compare \u0060app/appfront/modules/Cms/controllers/ArticleController.php\u0060 and \u0060app/apphtml5/modules/Cms/controllers/ArticleController.php\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 81 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appfront/modules/Cms/controllers/ArticleController.php"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd0ff33f962dbc08353a2800fe0cb34c28a6b12eeddabd5be60d71639a63cb6b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): app/appfront/modules/Customer/block/account/Forgotpassword.php:93-101 | app/apphtml5/modules/Customer/block/account/Forgotpassword.php:82-90 \u2014 before extracting anything, compare \u0060app/appfront/modules/Customer/block/account/Forgotpassword.php\u0060 and \u0060app/apphtml5/modules/Customer/block/account/Forgotpassword.php\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 53 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. 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/appfront/modules/Customer/block/account/Forgotpassword.php"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdcb6acd5e26fe981b9cdc5e558b6baf467656d2a389fdcaf789568015543776"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): app/appfront/modules/Customer/block/account/Index.php:22-32 | app/appfront/modules/Customer/block/editaccount/Index.php:22-29 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appfront/modules/Customer/block/account/Index.php"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"90cd3291946d528a45b59b1fdc2b5b6452662eb4757c0821ca995d7dda790c86"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): app/appfront/modules/Customer/block/address/Edit.php:141-146 | app/apphtml5/modules/Customer/block/address/Edit.php:134-139 \u2014 before extracting anything, compare \u0060app/appfront/modules/Customer/block/address/Edit.php\u0060 and \u0060app/apphtml5/modules/Customer/block/address/Edit.php\u0060 as WHOLE FILES: this scan already matched 5 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/appfront/modules/Customer/block/address/Edit.php"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"3db131f9cc2a52291fbef80453db5ba7495ee52f89dc77e4a98ba82bcc3aa31b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): app/appfront/modules/Customer/block/mailer/account/forgotpassword/EmailBody.php:25-44 | app/apphtml5/modules/Customer/block/mailer/account/forgotpassword/EmailBody.php:25-44 \u2014 before extracting anything, compare \u0060app/appfront/modules/Customer/block/mailer/account/forgotpassword/EmailBody.php\u0060 and \u0060app/apphtml5/modules/Customer/block/mailer/account/forgotpassword/EmailBody.php\u0060 as WHOLE FILES: 88% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/appfront/modules/Customer/block/mailer/account/forgotpassword/EmailBody.php:25\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. Note first that the copies are not typed on the same thing: \u0060Email\u0060 names \u0060fecshop\\app\\appfront\\helper\\mailer\\Email\u0060 in one and \u0060fecshop\\app\\apphtml5\\helper\\mailer\\Email\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appfront/modules/Customer/block/mailer/account/forgotpassword/EmailBody.php"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"541041f47ec2eca8561995d09ed1d62fc4b5d8bab64b9a7b3ef453e69c116f94"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): app/appfront/modules/Customer/controllers/AccountController.php:174-179 | app/apphtml5/modules/Customer/controllers/AccountController.php:187-192 \u2014 before extracting anything, compare \u0060app/appfront/modules/Customer/controllers/AccountController.php\u0060 and \u0060app/apphtml5/modules/Customer/controllers/AccountController.php\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 82 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/appfront/modules/Customer/controllers/AccountController.php"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebd89d408e0a0dde99db59b3b5139e21f61a36ae7b3f335432f93d7d4f22c699"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 4): app/appfront/modules/Customer/controllers/FacebookController.php:82-95 | app/appfront/modules/Customer/controllers/GoogleController.php:58-71 | app/apphtml5/modules/Customer/controllers/FacebookController.php:83-96 | app/apphtml5/modules/Customer/controllers/GoogleController.php:58-71 \u2014 before extracting anything, compare \u0060app/appfront/modules/Customer/controllers/FacebookController.php\u0060 and \u0060app/apphtml5/modules/Customer/controllers/FacebookController.php\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 80 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/appfront/modules/Customer/controllers/FacebookController.php"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"29c16b990f79a593be4bef91f62c7601db590713c3d3168d8604533c6b2bc41e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): app/appfront/modules/Payment/controllers/CheckmoneyController.php:52-62 | app/apphtml5/modules/Payment/controllers/CheckmoneyController.php:52-62 | app/appserver/modules/Payment/controllers/Wxpayh5Controller.php:102-111 \u2014 before extracting anything, compare \u0060app/appfront/modules/Payment/controllers/CheckmoneyController.php\u0060 and \u0060app/apphtml5/modules/Payment/controllers/CheckmoneyController.php\u0060 as WHOLE FILES: 94% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 2 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appfront/modules/Payment/controllers/CheckmoneyController.php"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"296e06ce162e05b6b7a0b370c9574d8c56f749994a2168319cf3829073c8f967"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): app/appfront/widgets/Headers.php:12-27 | app/apphtml5/widgets/Headers.php:12-27 \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/appfront/widgets/Headers.php:12\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/appfront/widgets/Headers.php"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9b460a3eee471e442473c726f21bef070b59462ade6363ba9cb391d396b5da9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): app/apphtml5/modules/Catalog/block/category/Index.php:126-134 | app/apphtml5/modules/Catalogsearch/block/index/Index.php:94-102 \u2014 before extracting anything, compare \u0060app/apphtml5/modules/Catalog/block/category/Index.php\u0060 and \u0060app/apphtml5/modules/Catalogsearch/block/index/Index.php\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 109 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/apphtml5/modules/Catalog/block/category/Index.php"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"5db6d1106acd3d85f768605e82fd1495f31811a82459b20dfad312b8717c757a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): app/apphtml5/modules/Payment/controllers/Wxpayh5Controller.php:93-104 | app/apphtml5/modules/Payment/controllers/WxpayjsapiController.php:69-80 \u2014 before extracting anything, compare \u0060app/apphtml5/modules/Payment/controllers/Wxpayh5Controller.php\u0060 and \u0060app/apphtml5/modules/Payment/controllers/WxpayjsapiController.php\u0060 as WHOLE FILES: 89% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 2 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/apphtml5/modules/Payment/controllers/Wxpayh5Controller.php"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e628e4c51d6620b6ec23debe342f01f3f2773f2e8d5ed8cab79064b5237739b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): app/appinstall/modules/Database/controllers/ConfigController.php:636-642 | services/Helper.php:276-284 \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/appinstall/modules/Database/controllers/ConfigController.php"},"region":{"startLine":636}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cc8431b984b4baf2fa40ba6a63fe24e7282982f3eaa89f12a4ff746e55a26e7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 5): app/appserver/modules/Catalog/Module.php:25-36 | app/appserver/modules/Cms/Module.php:25-36 | app/appserver/modules/Customer/Module.php:25-36 | app/appserver/modules/Payment/Module.php:25-36 | app/appserver/modules/Wx/Module.php:25-36 \u2014 \u0060app/appserver/modules/Catalog/Module.php\u0060 and \u0060app/appserver/modules/Cms/Module.php\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 1 separate duplicated blocks between them, totalling at least 12 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appserver/modules/Catalog/Module.php"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"660801a5811ac63e75087cee7e8684a72930b8b4ce4af5c9455dd1209c9251db"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): app/appserver/modules/Customer/controllers/AddressController.php:26-36 | app/appserver/modules/Wx/controllers/AccountController.php:24-45 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appserver/modules/Customer/controllers/AddressController.php"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b43894092d54bee04165486db6e2a917fa6e50cd874071313376cf2e1d0ccb5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): lib/alipay/lotusphp_runtime/Cache/Adapter/CacheAdapterApc.php:26-33 | lib/alipay/lotusphp_runtime/Cache/Adapter/CacheAdapterEAccelerator.php:35-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. 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":"lib/alipay/lotusphp_runtime/Cache/Adapter/CacheAdapterApc.php"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"03ea65f52c5bd002ab61d358a6aea94a23a091bcffba767c3f41f342ab539df6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 9): lib/alipay/lotusphp_runtime/Cache/Cache.php:13-23 | lib/alipay/lotusphp_runtime/Captcha/Captcha.php:11-21 | lib/alipay/lotusphp_runtime/Cookie/Cookie.php:9-19 | lib/alipay/lotusphp_runtime/DB/Db.php:12-22 | lib/alipay/lotusphp_runtime/Pagination/Pagination.php:9-19 | lib/alipay/lotusphp_runtime/RBAC/Rbac.php:10-20 | lib/alipay/lotusphp_runtime/Session/Session.php:9-19 | lib/alipay/lotusphp_runtime/Url/Url.php:10-20 | lib/alipay/lotusphp_runtime/Validator/Validator.php:9-19 \u2014 \u0060lib/alipay/lotusphp_runtime/Cache/Cache.php\u0060 and \u0060lib/alipay/lotusphp_runtime/DB/Db.php\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 3 separate duplicated blocks between them, totalling at least 31 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/alipay/lotusphp_runtime/Cache/Cache.php"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8dc1e4220d862608bcc48bfa03e17220ccdee9353049d2b4f67315fdeda5478"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): lib/alipay/lotusphp_runtime/Cache/Cache.php:51-60 | lib/alipay/lotusphp_runtime/DB/Db.php:66-75 \u2014 \u0060lib/alipay/lotusphp_runtime/Cache/Cache.php\u0060 and \u0060lib/alipay/lotusphp_runtime/DB/Db.php\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 3 separate duplicated blocks between them, totalling at least 31 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. 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":"lib/alipay/lotusphp_runtime/Cache/Cache.php"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"f87e3108ed6906351326c72cb0e99648a681204b0e94f1ad7b50f919d2936e65"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): lib/alipay/lotusphp_runtime/Cache/Cache.php:65-74 | lib/alipay/lotusphp_runtime/DB/Db.php:80-89 \u2014 \u0060lib/alipay/lotusphp_runtime/Cache/Cache.php\u0060 and \u0060lib/alipay/lotusphp_runtime/DB/Db.php\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 3 separate duplicated blocks between them, totalling at least 31 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. 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":"lib/alipay/lotusphp_runtime/Cache/Cache.php"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab893eb44a518b9b7ca0237ffbb5eb18377d73d31bb3fbe33d6e6b11cb4c3237"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): lib/wxpay/lib/WxPay.Api.php:434-439 | services/Helper.php:151-157 \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":"lib/wxpay/lib/WxPay.Api.php"},"region":{"startLine":434}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1b855cb8fc6b0a489d9d13dcbcbb9b92d4d68ea1db34b87cb44c36e95714b2a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): models/mysqldb/adminUser/AdminUserResetPassword.php:80-88 | models/mysqldb/customer/CustomerResetPassword.php:65-72 \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":"models/mysqldb/adminUser/AdminUserResetPassword.php"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"245d5dec969a06c611be75fc928fcab5f386b64d9a9f2636ed19714ceab41200"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 4): services/Extension.php:77-84 | services/StoreBaseConfig.php:55-62 | services/StoreDomain.php:55-62 | services/helper/ScriptDate.php:86-93 \u2014 before extracting anything, compare \u0060services/Extension.php\u0060 and \u0060services/StoreBaseConfig.php\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 68 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":"services/Extension.php"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"d54c29b47518f42d0d44154e63536dd4ab21f7ab60adfa9daaf048c9262ee697"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 4): services/Extension.php:112-120 | services/StoreBaseConfig.php:96-103 | services/StoreDomain.php:93-100 | services/helper/ScriptDate.php:112-119 \u2014 before extracting anything, compare \u0060services/Extension.php\u0060 and \u0060services/StoreBaseConfig.php\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 68 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":"services/Extension.php"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"255b41bf8db185b5698bd0cfc1c148d2519d4b25a5cc833c664ecdb628cc98a7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): services/Request.php:123-129 | yii/web/Request.php:121-127 \u2014 before extracting anything, compare \u0060services/Request.php\u0060 and \u0060yii/web/Request.php\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 72 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":"services/Request.php"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2cc623db3a582403e50dc949b2e1fd52a857583419b66601b73e032b02dae1e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): services/Request.php:138-144 | services/url/rewrite/RewriteMongodb.php:43-49 \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":"services/Request.php"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"4aa08805de7515a08ce88b49e8d290b8cdcfeece1a6bb78dcf0180b21b9f856b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): services/category/CategoryMongodb.php:409-415 | services/category/CategoryMysqldb.php:472-478 \u2014 before extracting anything, compare \u0060services/category/CategoryMongodb.php\u0060 and \u0060services/category/CategoryMysqldb.php\u0060 as WHOLE FILES: this scan already matched 22 separate duplicated blocks between them, totalling at least 274 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":"services/category/CategoryMongodb.php"},"region":{"startLine":409}}}],"partialFingerprints":{"codehealthFindingId/v1":"738b3c285f3ab03507eb271224ae82530cf68741c9f7d28d6e71ade53b8035a5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): services/category/CategoryMongodb.php:692-702 | services/category/CategoryMysqldb.php:769-779 \u2014 before extracting anything, compare \u0060services/category/CategoryMongodb.php\u0060 and \u0060services/category/CategoryMysqldb.php\u0060 as WHOLE FILES: this scan already matched 22 separate duplicated blocks between them, totalling at least 274 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":"services/category/CategoryMongodb.php"},"region":{"startLine":692}}}],"partialFingerprints":{"codehealthFindingId/v1":"7122da0e8ace9cc20b900d7570ccfa88a67dbda593ceff19a9ceba987437cc2a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): services/category/Image.php:85-91 | services/product/Image.php:132-138 \u2014 \u0060services/category/Image.php\u0060 and \u0060services/product/Image.php\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 2 separate duplicated blocks between them, totalling at least 14 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. 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":"services/category/Image.php"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea1f7c1386f59081a6f97842bd51f0e653ca51cca37636aac81e0ed5e29d3c23"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): services/customer/newsletter/NewsletterMongodb.php:68-74 | services/customer/newsletter/NewsletterMysqldb.php:68-74 \u2014 before extracting anything, compare \u0060services/customer/newsletter/NewsletterMongodb.php\u0060 and \u0060services/customer/newsletter/NewsletterMysqldb.php\u0060 as WHOLE FILES: 94% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 2 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"services/customer/newsletter/NewsletterMongodb.php"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2fb6af6fe507f3163d77e3c13e1c6aa6912079050d04d380de5248592ef36c9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): services/helper/Appapi.php:68-87 | services/helper/Appserver.php:259-279 \u2014 before extracting anything, compare \u0060services/helper/Appapi.php\u0060 and \u0060services/helper/Appserver.php\u0060 as WHOLE FILES: 90% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. 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":"services/helper/Appapi.php"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5e0e2a3d1aeeebe5c63b14cd4e41bed5ae8f2f1eae63d9f85d3b755b87a92fd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 4): services/payment/Wxpay.php:96-100 | services/payment/WxpayH5.php:89-93 | services/payment/WxpayJsApi.php:93-97 | services/payment/WxpayMicro.php:91-95 \u2014 before extracting anything, compare \u0060services/payment/Wxpay.php\u0060 and \u0060services/payment/WxpayH5.php\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 204 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":"services/payment/Wxpay.php"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"af0f510a1c4a696764bcd5dc8cc2913d1c7d45df5fb9ff9a5006d41cef5aefbc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 4): services/payment/Wxpay.php:238-243 | services/payment/WxpayH5.php:246-251 | services/payment/WxpayJsApi.php:232-237 | services/payment/WxpayMicro.php:217-222 \u2014 before extracting anything, compare \u0060services/payment/Wxpay.php\u0060 and \u0060services/payment/WxpayH5.php\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 204 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 \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":"services/payment/Wxpay.php"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"c38cf0d7db25e5be3b6b194adfa7239f04768e75b17eb823d342c876fa7657d5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): services/product/Brand.php:68-78 | services/product/Brandcategory.php:102-112 \u2014 before extracting anything, compare \u0060services/product/Brand.php\u0060 and \u0060services/product/Brandcategory.php\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 144 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":"services/product/Brand.php"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa349c290e798cd8b4b4048091e3d69c0070dab51570d145242fc7c3fafbb194"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): services/product/ProductMongodb.php:327-331 | services/product/ProductMysqldb.php:397-401 \u2014 before extracting anything, compare \u0060services/product/ProductMongodb.php\u0060 and \u0060services/product/ProductMysqldb.php\u0060 as WHOLE FILES: this scan already matched 29 separate duplicated blocks between them, totalling at least 358 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":"services/product/ProductMongodb.php"},"region":{"startLine":327}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e1b5626b7a5d27bb994d585e52f0f391ff7e20101a135de4e853094906cc003"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): services/product/ProductMongodb.php:991-997 | services/product/ProductMysqldb.php:1145-1151 \u2014 before extracting anything, compare \u0060services/product/ProductMongodb.php\u0060 and \u0060services/product/ProductMysqldb.php\u0060 as WHOLE FILES: this scan already matched 29 separate duplicated blocks between them, totalling at least 358 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":"services/product/ProductMongodb.php"},"region":{"startLine":991}}}],"partialFingerprints":{"codehealthFindingId/v1":"518018e142ef07fe22c7bd09859bb451b131a2a3f4f4696c038ebed24ded4225"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): services/product/ProductMongodb.php:1198-1203 | services/product/ProductMysqldb.php:1400-1405 \u2014 before extracting anything, compare \u0060services/product/ProductMongodb.php\u0060 and \u0060services/product/ProductMysqldb.php\u0060 as WHOLE FILES: this scan already matched 29 separate duplicated blocks between them, totalling at least 358 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":"services/product/ProductMongodb.php"},"region":{"startLine":1198}}}],"partialFingerprints":{"codehealthFindingId/v1":"18b5fce31ea41e45269bc98ff56af250f14d7e0ee1b2056ceb35fb207e7ab72c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): services/product/ProductMongodb.php:1404-1412 | services/product/ProductMysqldb.php:1610-1618 \u2014 before extracting anything, compare \u0060services/product/ProductMongodb.php\u0060 and \u0060services/product/ProductMysqldb.php\u0060 as WHOLE FILES: this scan already matched 29 separate duplicated blocks between them, totalling at least 358 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":"services/product/ProductMongodb.php"},"region":{"startLine":1404}}}],"partialFingerprints":{"codehealthFindingId/v1":"73f1f5f0c337ad25a186be733559d9b32d9153adbc05541db1eae88c3f713a9b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): services/product/favorite/FavoriteMongodb.php:41-48 | services/product/favorite/FavoriteMysqldb.php:41-48 \u2014 before extracting anything, compare \u0060services/product/favorite/FavoriteMongodb.php\u0060 and \u0060services/product/favorite/FavoriteMysqldb.php\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 71 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":"services/product/favorite/FavoriteMongodb.php"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"5af22e3e6052fc5d9db5328e83469e7da28404e7793bc286e2cea9aa0ed8123a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): services/product/favorite/FavoriteMongodb.php:58-71 | services/product/favorite/FavoriteMysqldb.php:58-71 \u2014 before extracting anything, compare \u0060services/product/favorite/FavoriteMongodb.php\u0060 and \u0060services/product/favorite/FavoriteMysqldb.php\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 71 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":"services/product/favorite/FavoriteMongodb.php"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"cac8e1f582fb240ee5959c9d780eae9e9f7b18d501eb57038c107d8a996ef02b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): services/product/favorite/FavoriteMongodb.php:161-167 | services/product/favorite/FavoriteMysqldb.php:161-167 \u2014 before extracting anything, compare \u0060services/product/favorite/FavoriteMongodb.php\u0060 and \u0060services/product/favorite/FavoriteMysqldb.php\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 71 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":"services/product/favorite/FavoriteMongodb.php"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d0dc1a952e17e4811be1da929148b96950d8afe3f837dd01773b800b10a6fa1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): services/product/review/ReviewMongodb.php:53-64 | services/product/review/ReviewMysqldb.php:54-66 \u2014 before extracting anything, compare \u0060services/product/review/ReviewMongodb.php\u0060 and \u0060services/product/review/ReviewMysqldb.php\u0060 as WHOLE FILES: this scan already matched 14 separate duplicated blocks between them, totalling at least 206 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":"services/product/review/ReviewMongodb.php"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"60192745fe73d7007a3163ee00206cf99847bb72e95ec1295be86e04aff8afbe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): services/product/review/ReviewMongodb.php:183-187 | services/product/review/ReviewMysqldb.php:199-203 \u2014 before extracting anything, compare \u0060services/product/review/ReviewMongodb.php\u0060 and \u0060services/product/review/ReviewMysqldb.php\u0060 as WHOLE FILES: this scan already matched 14 separate duplicated blocks between them, totalling at least 206 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":"services/product/review/ReviewMongodb.php"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"5663253df02f5ad8228be87e6678d8324f5db628b77187d2473e4ee35dfcce06"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 4): services/product/review/ReviewMongodb.php:207-213 | services/product/review/ReviewMongodb.php:468-474 | services/product/review/ReviewMysqldb.php:223-229 | services/product/review/ReviewMysqldb.php:481-487 \u2014 before extracting anything, compare \u0060services/product/review/ReviewMongodb.php\u0060 and \u0060services/product/review/ReviewMysqldb.php\u0060 as WHOLE FILES: this scan already matched 14 separate duplicated blocks between them, totalling at least 206 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":"services/product/review/ReviewMongodb.php"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"949b847bc570b51cdd0649caaab6cf39c65482c44ac004853d2ae0b5b549322c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): services/search/MysqlSearch.php:76-85 | services/search/XunSearch.php:77-86 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"services/search/MysqlSearch.php"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"f30045d4254d4a67bd85fce7e4251fda8e21f37d507e8ad4365ee22df52c18b4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): app/appadmin/modules/Catalog/block/productattr/Manager.php:31-40 | app/appadmin/modules/Catalog/block/productattrgroup/Manager.php:31-40 \u2014 \u0060app/appadmin/modules/Catalog/block/productattr/Manager.php\u0060 and \u0060app/appadmin/modules/Catalog/block/productattrgroup/Manager.php\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 2 separate duplicated blocks between them, totalling at least 30 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appadmin/modules/Catalog/block/productattr/Manager.php"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"49d58dd1828dfa6e51964b6c267152359592330d66f895e556fb25637de3e817"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): app/appadmin/modules/Catalog/block/productbrand/Manager.php:32-41 | app/appadmin/modules/Catalog/block/productbrandcategory/Manager.php:31-40 \u2014 \u0060app/appadmin/modules/Catalog/block/productbrand/Manager.php\u0060 and \u0060app/appadmin/modules/Catalog/block/productbrandcategory/Manager.php\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 3 separate duplicated blocks between them, totalling at least 95 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appadmin/modules/Catalog/block/productbrand/Manager.php"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"263593a0777127bd163430243fe7860ade037bbae88551b22a05adf1cd3d5d9e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): app/appapi/modules/V1/controllers/CategoryController.php:532-549 | app/appapi/modules/V1/controllers/ProductController.php:331-348 \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/appapi/modules/V1/controllers/CategoryController.php"},"region":{"startLine":532}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cd94d80d967fb3510c559288003dc81a2e0e5231724069f02e3a975c5b64fc6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): app/appserver/modules/Payment/controllers/paypal/ExpressController.php:45-50 | app/appserver/modules/Payment/controllers/paypal/StandardController.php:42-48 \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/appserver/modules/Payment/controllers/paypal/ExpressController.php"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"82bf94fa8327729066536ac7cbd2dd7f7d9455253da74965c1a0387d95a2facc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): models/mysqldb/adminUser/AdminUserLogin.php:37-45 | models/mysqldb/customer/CustomerLogin.php:38-45 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"models/mysqldb/adminUser/AdminUserLogin.php"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7f9fa28d0450724bd6d2a568f9543d4f5ca61d6b2fe811027db23b4cacf29c3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): services/Customer.php:360-368 | services/Order.php:258-266 | services/customer/Address.php:52-60 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"services/Customer.php"},"region":{"startLine":360}}}],"partialFingerprints":{"codehealthFindingId/v1":"4067e7ed1dfe2f5ac12fe72af9ff9604fdad83b8fb2d5cd802ee098b46a0ab28"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): services/Image.php:176-182 | services/helper/ZipFile.php:133-139 \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":"services/Image.php"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"348aa3f9104e9ef07d3f6fcb086ab17aaa48d9a24095ec549e11f7dbecb5e415"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 3): services/Order.php:1117-1133 | services/helper/ScriptDate.php:227-243 | services/helper/ScriptDate.php:252-269 \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":"services/Order.php"},"region":{"startLine":1117}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a4346b9f29dcf7df6da8686cea182fa2756f91f53cb7f708f9d33384f0aca67"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): services/product/attr/AttrMysqldb.php:52-59 | services/product/attrgroup/AttrGroupMysqldb.php:53-60 \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":"services/product/attr/AttrMysqldb.php"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"72901e91aff5f57ab38805731935fed9cba38da16d8a1b336f20bb953ae74b64"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): app/appadmin/modules/Catalog/block/productinfo/Getproductcategory.php:38-43 | app/appadmin/modules/Catalog/block/productinfo/Getproductcategory.php:58-63 \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/appadmin/modules/Catalog/block/productinfo/Getproductcategory.php:38\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. 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/appadmin/modules/Catalog/block/productinfo/Getproductcategory.php:63\u0060 calls \u0060getMenuStrChild\u0060 and \u0060app/appadmin/modules/Catalog/block/productinfo/Getproductcategory.php:43\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/appadmin/modules/Catalog/block/productinfo/Getproductcategory.php"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"c92440b8fd25115af328cd28a114bb844424fa713c5bb852878f3a1e74596b2a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): app/appadmin/modules/Catalog/block/productinfo/Managerbatchedit.php:593-597 | app/appadmin/modules/Catalog/block/productinfo/Manageredit.php:550-554 \u2014 before extracting anything, compare \u0060app/appadmin/modules/Catalog/block/productinfo/Managerbatchedit.php\u0060 and \u0060app/appadmin/modules/Catalog/block/productinfo/Manageredit.php\u0060 as WHOLE FILES: this scan already matched 29 separate duplicated blocks between them, totalling at least 398 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/appadmin/modules/Catalog/block/productinfo/Managerbatchedit.php"},"region":{"startLine":593}}}],"partialFingerprints":{"codehealthFindingId/v1":"d083f621f5d66b43278ace52a928d854524af3bee073a7155b982fdc7c110f19"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): app/appfront/modules/Customer/block/editaccount/Index.php:48-53 | app/apphtml5/modules/Customer/block/editaccount/Index.php:38-43 \u2014 before extracting anything, compare \u0060app/appfront/modules/Customer/block/editaccount/Index.php\u0060 and \u0060app/apphtml5/modules/Customer/block/editaccount/Index.php\u0060 as WHOLE FILES: 98% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 2 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/appfront/modules/Customer/block/editaccount/Index.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/appfront/modules/Customer/block/editaccount/Index.php"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"79cff0b2b418d5df46b9b3160acd4bdfa34f971b40840a44d502993d5fd9da06"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): services/Order.php:780-785 | services/Order.php:831-836 \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":"services/Order.php"},"region":{"startLine":780}}}],"partialFingerprints":{"codehealthFindingId/v1":"017c7022e87f58ff6adb5b5ace90d85b7995c527577991caf7c7d5270ffcf2cf"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: ProductController (LCOM4 10): ProductController\u0027s methods fall into 10 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 10 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appapi/modules/V1/controllers/ProductController.php"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ecaa2b3613abe1c5bcd7944e6d48f65af10479ef18370f4d5e584c80e7652ad"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: Url (LCOM4 9): Url\u0027s methods fall into 9 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 9 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":"services/Url.php"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"88607df673a07cd6a9363b75d7d40e2e27732506888f9db8356b8ceca35e6a26"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: Extension (LCOM4 8): Extension\u0027s methods fall into 8 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 8 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":"services/Extension.php"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"f40de6adec6a4d26fc0f7e90c4c289c6ecd6a4ce0c925f125267d6479ba49316"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: Order (LCOM4 5): Order\u0027s methods fall into 5 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 5 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"services/Order.php"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8c9ab0bf9441c4e5aa0323c7af72c2aab1b6741ca40bb820a43bde5209d57de"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: Category (LCOM4 4): Category\u0027s methods fall into 4 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 4 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":"services/Category.php"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fa4f5f65c84850dfa4eae65a87234bda55bc1d31a0c561e85bc4f48309e9e1e"}},{"ruleId":"D13","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ab947da48a44c5fa7ecd1d670849fc5415fb7df494cca0f62cc4a3676076314c"},"taxa":[{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D13","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"444edae068f354cdaa4ac1e393bd4fd69b9c8b1fce57b915297351d07a71d7c9"},"taxa":[{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D13","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"fc22a8168e58de9fdcb6048c17f2ba2a907a44091e347d389a74710537209f5e"},"taxa":[{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D13","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"669fe1c99f92f66ea2b066bef25a6b8fe843f90d539008015dcf4d1feb5c673a"},"taxa":[{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D13","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"8f9120eee93bde1e1f3692baa53f8c99f3aa8d6c4426368f03c1e59b44456db9"},"taxa":[{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D13","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1812ecba036316ec00a4645640dcf0a76371f18f85f0b0c62f0ec7cc4bc29453"},"taxa":[{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D13","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"49b993779c09623b1cd737d48fcfa9975592e519be492008bbd4694a03385f3c"},"taxa":[{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D13","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"91559d38345abf26f81e3569e1d8fdb83f10e0bc54d662ac2c1c882b5e777148"},"taxa":[{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D13","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"4e6c6ae47f243f7079b3b78470b2240625a22f6d41541ef15367506515519810"},"taxa":[{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D13","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"aea6347b01ca986c03a9c7b318bd1af24b7c78312b134c330dedf5ece6fdbc24"},"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":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #1: If anonymized user #1 becomes unavailable, 1 significant file(s) lose their only recent owner: services/Cart.php. Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"1e3a4692c651a125cfe2cd483846fb75333d1f816977b9c5c1930d6010045237"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //todo \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/alipay/aop/AlipayMobilePublicMultiMediaClient.php"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d349f815c2c55374348ed6da134b5050d0f7ee247b6c85d176d66c13b585350"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //todo \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/alipay/aop/AlipayMobilePublicMultiMediaClient.php"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"57979d000dcf3e6138acfb8b2c88ae2e540c3055e6ebc2bb13ee1bf5f7cd528b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO \u5BF9\u8D26\u5355\u6587\u4EF6\u5904\u7406 \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/wxpay/example/download.php"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"83328695087c7d919528cd1f0724efc4ab7573a57bd35014171c202259badc5b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO \u7528\u6237\u57FA\u7840\u8BE5\u7C7B\u4E4B\u540E\u9700\u8981\u91CD\u5199\u8BE5\u65B9\u6CD5\uFF0C\u6210\u529F\u7684\u65F6\u5019\u8FD4\u56DEtrue\uFF0C\u5931\u8D25\u8FD4\u56DEfalse \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/wxpay/lib/WxPay.Notify.php"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c23742a3bd89ae8aa41d9c1c1eb4adc7918955f726fc467848f85f6e9463345"}},{"ruleId":"D26","level":"note","message":{"text":"Projects may be oversized for their cohesion: 1 of 1 project(s) overshoot their size bounds, lowering Project Cohesion to 0.0/10. The most over is \u0060(repository root)\u0060 (227391 LoC, 1501 module-visible types across 328 directories). Review these for cohesion \u2014 draw the boundary inside the module first (group each responsibility into its own package or directory and keep the cross-boundary members non-public), since splitting a published package moves types between packages and breaks consumers."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"d5a94650dc74886a0f1f08eb9fb6775f1fc395279ef7e901c970c9d26f767a72"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ad2866525cdc33657ded734dff6d353989aef01892b1a260aad17636a7cdffe0"},"properties":{"commitSha":"c5db5fa9a1297bcfa25d2d9533e7de02a0444699"}},{"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":"4291b98d8d4037beb57d7876aef747d76ac8cd216ebf602445c2e50170ecb32e"},"properties":{"commitSha":"85c9708d1919312cb3965cc234669844d5c4adcb"}},{"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":"7d45fa4f111b16a6dfff6b11e199e2f8b1913ad2e06f93244bdf7a85cd2c2172"},"properties":{"commitSha":"362a53d312c6649ac9f874c172b0ccf1df4491d0"}},{"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":"2bd060a57e23abc446a9794ea7a29170b74f60b21f4a3d7782168f4fa8b9648d"},"properties":{"commitSha":"362a53d312c6649ac9f874c172b0ccf1df4491d0"}},{"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":"6c4388ef823637892e2b3dac9c8a170d09af69bb1fb3d9cd8ef6d6034a39c92a"},"properties":{"commitSha":"362a53d312c6649ac9f874c172b0ccf1df4491d0"}},{"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":"62ed386a89216f48a1d45d0fe236402c7119bdcc95e5f0f864909b96f829ee2e"},"properties":{"commitSha":"362a53d312c6649ac9f874c172b0ccf1df4491d0"}},{"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":"f9f8b0ba5ee77f56d37a9b8e784450f312b1e6c81c51feb1cbf6e9d9f19c8b87"},"properties":{"commitSha":"362a53d312c6649ac9f874c172b0ccf1df4491d0"}},{"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":"20305678b7b178cc4b967c1b8e4af6ec11405dc636e61410847810480f589dc1"},"properties":{"commitSha":"521ab600358010bf90747d0413a37e6b760265fd"}},{"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":"41828b0ec40a47e667318ee5b104c1a882c1f023a9e6cb956fd90a359e35cf00"},"properties":{"commitSha":"43ec6a20bcab08e302b1b9ba50f3b4bb1674e352"}},{"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":"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":"8d5fff813181930ccaf063ae0e2abd6f693d18c992cbf492819b857322acf2c9"},"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":"2227f913c1537ba880e3919030bcc55170769fb6747a799183cebae02ad0ae36"},"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":"a88aea2f4ebfe010773e18c87e16c41a75ad66888a9b6d2b9aee84042788b6bd"},"taxa":[{"id":"CWE-457","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","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":"c882e313ea9261143a395831a8db67f2ede470696e44ae03644e3396bf4c81a5"},"taxa":[{"id":"CWE-319","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","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":"c970721032007737e440348729a83c725bc41046b6ddf10bb7c2fd211adffa2b"},"taxa":[{"id":"CWE-319","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","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":"50984c098b32f38a948758be44f2a610a5bcc48e3920450a64730694050f86d8"},"taxa":[{"id":"CWE-319","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D32","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":"bbab7c417640957d7c7b887956f877f42c41e289417b5a2740f15197b5943d9b"}},{"ruleId":"D34","level":"note","message":{"text":"Concentrated knowledge decay: 586 of 587 significant files have no living knowledge, while the repository is still being changed at a low rate (2 commit(s) in the last 90 days) \u2014 so this is one repo-wide knowledge-decay state, not 586 separate risks. Counted over 587 of the 1775 production source files in this repository: the rest are under the ~2,400-byte size floor this dimension measures over. The code moved on without the people who understood these files: document them or schedule a read-through before the next change lands in them."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"008bd8d3156a7f5206da709f59f1f87af76671c6b9becea72c8c9cffbcbd4f8e"}},{"ruleId":"D34","level":"note","message":{"text":"Most significant orphaned file: One of the orphaned files carrying the most lost knowledge \u2014 ranked by size weighted by the file\u0027s role in the codebase, the same weighting behind the score above, so core code outranks equally large plumbing. A reasonable place to start a read-through before the aggregate risk above bites."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appfront/theme/base/front/layouts/wxpay_start.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e7da74719c356a9e06c2eb201158832572a6c0370792e33cf5a87127a85e016"}},{"ruleId":"D34","level":"note","message":{"text":"Most significant orphaned file: One of the orphaned files carrying the most lost knowledge \u2014 ranked by size weighted by the file\u0027s role in the codebase, the same weighting behind the score above, so core code outranks equally large plumbing. A reasonable place to start a read-through before the aggregate risk above bites."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"services/helper/MobileDetect.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"988161672aad626bba49d88ef65a20998f7feaeee35e2b22111e4b01d91098fd"}},{"ruleId":"D34","level":"note","message":{"text":"Most significant orphaned file: One of the orphaned files carrying the most lost knowledge \u2014 ranked by size weighted by the file\u0027s role in the codebase, the same weighting behind the score above, so core code outranks equally large plumbing. A reasonable place to start a read-through before the aggregate risk above bites."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"services/product/ProductMysqldb.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"74e2e0258b01ed42ae3ac923ed21d4d17a7ce58f7f338b3b0f001b22f6515114"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/wxpay/lib/WxPay.Data.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9b14a668a8435b4a86e91597b43c953b2033b2e31edae1f3a8211d4a7caf3e5"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"services/product/ProductMongodb.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f234592a6821fb59626ed3a58cd00e7e90a5beccc628f75e2c417be6c56694d"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"services/Order.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fa28a293918d2e1a383a40ab33c3d4707586b520f909ebbcdb5ce21bd24dd4b"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"yii/views/errorHandler/exception.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c353dfc88c71d835998e8ec1b8b7bc07018af7ae9148bc7b4195b8eab42f45b"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"services/helper/Country.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0c23f1b531dcdb49f2e55984bed8a891cbc393d4f0bc0509d42e262c9a36232"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"migrations/mysqldb/m190809_154516_fecshop_tables.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4353b0c6a789fbaaf92cccf62dd2b080b470e4c10fb790e1ec271e1fcb016e7"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"migrations/mysqldb/m170228_072156_fecshop_tables.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f584c55c46413663c953d495d03bfc58ecbe5cbda1ffd12e193daddb2ab3eed"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"services/payment/Paypal.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"52b6f9c64eee10f99764577fc5e7ad3a421995a45dba404eea0535e2e074bb1e"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appserver/modules/Catalog/controllers/ProductController.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8baac4c2f9892446b28275e34d92e6764385173f317b9141fc191e454a504e06"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/alipay/aop/AopClient.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"60cb6d1e756f24ec1991468a905a71fdecfb5ed24ca730a6bb7158ee184e5492"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"services/product/ProductApi.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2368425f9a6d8897fdc4f7f83fe2790dbfe69d33586491fcbbe050197af10107"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appadmin/modules/Catalog/block/productinfo/Managerbatchedit.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2709d28b29c922af06b848d317169f10fc62673d9d829b67f8486802c1feea22"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"services/Customer.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1fa22eaf28918db3393f49f9504846aaed4e71037ff3a5092e11c279ce1ff91"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appadmin/modules/Catalog/block/productinfo/Manageredit.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9edad125498b7f8a3949bb43313c1a8690e3298c8f5e4ecf8d4ebdf697c52084"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"services/category/CategoryMysqldb.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"490b32b984350ee6fffae6d553b327666474a3cbf4571bb259d39beaade9215e"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appserver/modules/Catalog/controllers/CategoryController.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b0ffcb1c6a374ce06b8df4a059cdb1d902b82062afce7c5019f30ddb29835b3"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appadmin/theme/base/default/catalog/productinfo/managerbatchedit.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"20ae8f107ec27ea70cd43267b6109d0acc556feda5607f1f863508137c4edecc"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"services/product/Stock.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4dda84d36cd7486ed73ca94b01d4b2db26c170a7fca90be125c75bd300231bfb"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"services/category/CategoryMongodb.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b309e34ce56926b16cfe9408bcc69a3301856ee356860b103649fbe647971d2f"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/google/lib/io/Google_IO.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"89ac1ff1e50ea457005ca58c9ab72a51d9b6f92afeb1d45a2b63be6c9e8d4699"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appadmin/modules/AppadminbaseBlock.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"13ae9e5fe418c8d9d4e2c5566b6b8c91d6e4bff9a8a31f851735eba48402e4f7"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appadmin/theme/base/default/layouts/dashboard.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"526f98ff94ff131e96448dfe37f8027d9cdb0e3769230f4050979cae63f69fc5"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"services/cart/QuoteItem.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b43afe553fbc43955fe73bdc9322d6db97ac3772574538de939521826c63bd5"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appfront/modules/Catalog/block/product/Index.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1f3579e6a603c11a35ca417b5bfa26e36125550bf86e31f3bd5d0f0363e4b3d"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/apphtml5/modules/Catalog/block/product/Index.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c27c5d47d4817fafac085b78103802a6d257003e2be705c5716dcb2b19b76ab3"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appfront/modules/Checkout/block/onepage/Index.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"082283887c0ec5104f39c24a06a38975592c2d1f840613fb719342a72f1ac98e"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"services/helper/Appserver.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4069d70ca50c19f69b40b1a2edc0d2ed45d752b31e83aa3628210f533a94ea9d"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/apphtml5/modules/Checkout/block/onepage/Index.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8adbb059f07ad13529dff7bc16f523dfaa844dd0eb14385adb862bc48d83c7e3"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"services/Product.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"532e5231f5bbb38082d232e46cab05a450a46900f1daa6fda019f3e89138f231"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appserver/modules/Checkout/block/onepage/Index.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"584f471cc97278c767b4e26248b4b20e99715913e1bff3b13abfdcdda26c846c"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appinstall/modules/Database/controllers/ConfigController.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cac7b317c7e41265aa56193211f228a309e95020f1c525382f1d613c079ac368"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"services/page/Trace.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5ebfab49e69af13a51eb3fc5bffb7ef244facf057b643e1541f0523fa575ab8"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appapi/modules/V1/controllers/CategoryController.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b3c626987a40dcb3bb91e9110fd550eea0f104fd1879105be4626aaecbdf7ff"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"services/cart/Quote.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"70a489cb609f94e9e1aba79734e530ef340db5a782037d5a13b258374f6810c9"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appfront/modules/Catalog/block/category/Index.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ac1b494bd01d3cba432bcfaa24c27d52548c553d2782a3fa7942e8c01f5db13"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appadmin/theme/base/default/system/extensionmarket/manager.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"532d68476f0ded337f5f0ba0a59a3dbb144a1775032493122de465ba9077589d"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/apphtml5/modules/Catalog/block/category/Index.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"34958da1ab60de27c82023b6b72d2bf4c98b4a01f6b7fbb5ec7dbe53494c3d32"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appadmin/modules/Catalog/block/category/Product.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"04d3da584712f66850ec9f70d6e7a47b6c425c3989c8178ca6bbb8f7e848bca9"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appadmin/modules/AppadminbaseBlockEdit.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0577e833798022338e9d1afe911aeb0e11a4132b263de29c98ac788a58ec4dde"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"migrations/mysqldb/m190730_130707_fecshop_tables.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"88e1ce589216d2289e319bd190b824efaeccbba5530f8ed34a6f8ed2dd32619a"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"migrations/mysqldb/m190716_024608_fecshop_tables.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0397587489936db93d1f68caa841d125fdb807587ec531e19c10bee4a7b3b6a1"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appfront/theme/base/front/checkout/cart/index.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"99c5c861410720671dc1ec825ec0c58248d05381c4dce9382218f088b1cb5e81"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appserver/modules/Payment/block/paypal/express/Review.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a39df2bbd24ae0a8abfd21543e50240ad46cf752c288866d0e527089cccb1201"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"services/Payment.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"627d658454b14a22cb5add0a9ebceedd9cc58406a2ced985a745ceabf63c5cdf"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/wxpay/lib/WxPay.Api.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"36be55b5de80255e78849cf258ca1a2fce6d736f0f3b3ed5b4f04bf48188b706"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appadmin/modules/Catalog/block/productinfo/Index.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a39a2257d48e0ae3e4eba80068c302992bcc0fc5867cc805c6d94d5f39f0795"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appadmin/modules/System/controllers/ExtensionmarketController.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d7e8f2e3e0a6ef3e572c5d550c0ae5c244ebdcaf4c2c2aa21d977a0e4469d77"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/apphtml5/modules/Payment/block/paypal/express/Review.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad2e23bb93d5897744c3ed044c8433af5e4fd2a700ffa053862afaecaee627ed"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appfront/modules/Payment/block/paypal/express/Review.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce7f92f5f3768ed7ac573ddd3f3e856904563e0c3d65ddba8ba3ad4c89773993"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/alipay/aop/request/AlipaySecurityRiskDetectRequest.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f41ffa790e533773e51307e85a62caff063ce7b5ac4389c35e7acfa13a38d29"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"services/Extension.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"aafef5517852ef24fc8c391eaeac520986860456a6418249a4ddc851bb1e236f"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"services/Store.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0c2034424576a76292e014f5807bba0e3dcbab9644d7344b446e0815c61507f"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"services/Url.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"41b2fcd8c7f04c19e0126906bbdf95970af6bd393b2d73e2a5b4934868c0f0c0"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appadmin/theme/base/default/sales/orderinfo/manageredit.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbdf3d74e683e15b523a49bebe96be697d7e082828f34d6007bfa19e4acbcb39"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appapi/modules/V1/controllers/ProductController.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad93db42906e9fa95367f645b56a02ab5969c7b0494d247b2434656f21ace118"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"services/payment/WxpayH5.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"77e764ad1fe24f318284cf4adcac682f2cbd11df2d668abb8936462be879d01b"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"services/Category.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"94f3aebdf5a126c7d72af5e2e15f9c57e2336d380b5f7795e485cee00b0ddbe0"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appserver/modules/Checkout/controllers/CartController.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcb09b8864f0ae894e151e69d7c07037b865ca8863fc1797cd0c57b339f6871d"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"services/payment/Wxpay.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"82f6fdfdd1999029b57f4de39c940e1a001822c05c0d9f9c572d20f7fa8c0061"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"services/Shipping.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2e1b7d3fd0ac7d1d586efc216a79990b52e2726a303cd654c6bd0d6f8edc8f7"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appserver/modules/Catalogsearch/controllers/IndexController.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"55762a3df98171a291567e9b467e6666c4746408202f089bac02098329f38dac"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appadmin/modules/Config/block/email/Manager.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"119eb8c65999c0184b472ed2aefe2570c68fbd60462258891f6e22984b3dee26"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"services/payment/WxpayJsApi.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b2d86c877819b4e2d698899ac7b66b73cfc19979b02220e0ef8b6bbc6d71f35"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"services/search/MongoSearch.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"69f157b18fd5b04d6fbb235d8d17070c2452f7170bdd4d2117c978edfd37c5ac"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/apphtml5/theme/base/html5/checkout/cart/index.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"999adece7746b50b4ab239be22f87836989f1fff4683936825738f3305946e79"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"services/cart/Coupon.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"363dccecb043e279cd3ef89810c93a614f46801fc693f455ad4dc84b4faeb3a0"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"services/extension/Administer.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5baa3d59e6c558806c5b12c9449869949919c8bb64e9ece73d59c93b96e6d962"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/apphtml5/modules/Catalogsearch/block/index/Index.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d188ecbb595a3b2ad0e6777b2b4620857710130ab1c46be66a6e689ad42d9eb"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"services/payment/WxpayMicro.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c101e2c255348a381bbb6b34d72e54e6003cf8b3afd9bfec113aa909eed483c"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appfront/theme/base/front/checkout/onepage/index.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ade4ed71992676be99f8e67a3ea46f67468290ea87f8d729d0d7fc068293067"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"services/payment/Alipay.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d428a51e25171c14bc0305cfb717c6b49671232e4a3ee31f52c73863cfbb88f"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/apphtml5/theme/base/html5/checkout/onepage/index.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"16724b4f44128e9beadbccfb9ecc2564082a463cfa07b344b3e25cb7b7df3080"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"migrations/mysqldb/m181025_090031_fecshop_tables.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"808cc943a7f2d6dc4e177723ff17b98e9c3de46ea1a2d32b01856e09a0b7a579"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appadmin/theme/base/default/catalog/productinfo/manageredit.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccb4f96a8a5fe08efec195325e5de612270c517fc11773448904bd12efca2ee1"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appfront/modules/Catalogsearch/block/index/Index.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"02428be82fda730c30c771038670e9f30e46c21a9a726b795e0119e50aeb399c"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appserver/modules/Customer/controllers/OrderController.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"74acc22915971f1da1057b99f74c97e06fd9a8478f5eaadecd0bddef835411cf"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"services/order/Item.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc853ce3760c454f1646adb20283162bc7d67667382ccdcc2d78c1feedd92f71"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"services/product/review/ReviewMysqldb.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9790b2efe206028f58ef3ff3cb31c76665fa1f92e64e4ad8dbae0012b3e016fa"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appadmin/modules/Config/block/apphtml5catalog/Manager.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b872e258898ac32d646b4e3cbc105b528311b98630d611a088a80d2b5328c565"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appadmin/modules/Config/block/appfrontcatalog/Manager.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"59e68a3985075e3c9ab94836ebc059134a8734f944ba5b5b7351f6a3aa547caa"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"services/product/review/ReviewMongodb.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"19f7038be72db5a1b89cf23316673cc693915fc608a36e25be0e60c1e1601b88"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appadmin/modules/Sales/block/orderinfo/Manager.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4a09c465e1deee368b60e9d8aef6db1717cfc45f74531888e7779ac1d819dc1"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appadmin/modules/Catalog/block/productreview/Index.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"203b9912438df7f83fca3dba66a3ddbd12d75873bfdb0b1af85610be8b662ddc"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appadmin/modules/Catalog/block/productinfo/index/Attr.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e47e7331aeeccb1eb0dc1667de760f964f6765214ece7e38be9ef3e665d9393"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"services/Email.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a115f48cb48649b413e39e2163e8cfee199b4286008b6e58f1d845057220e637"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"services/customer/Address.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"752a4c24189bb948dc5d25a7a90bf40522d15f99635e3b0bb562e57663818400"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appserver/modules/Checkout/block/onepage/Placeorder.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b444d87c02848a10107d2e029628b5184338e0675f619cc877c3d2b737b8fb9c"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"services/search/XunSearch.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef97936af9a1c7a006662084c49570942443a8fa706e45cdc776f9e4eb41e194"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appadmin/modules/Config/block/appservercatalog/Manager.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d4d513c70c5f2e790f9d6fa7741fdf9cba196db5aae66383b8bd9328fbfc910"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"services/Image.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fcfad5dad0b37128e925acd60081872b8297747b40079ad68ec1aaf4cfbd581"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appadmin/modules/Catalog/block/productinfo/index/BatchAttr.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5bf91910d21fb67446fa73ae42d9cd6e3df4bc7ab2ce779df54d7ea389e8f19"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appfront/modules/Checkout/block/onepage/Placeorder.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbea9863775f38e21508844d1f3e21fcbeb2feab8a627a67ba3c62904d5d21cd"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appserver/modules/Customer/controllers/LoginController.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"82c8ba0a5720ec77ca3d101f037629fc88ad1f33636f5fae1fe3404834dd99df"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"services/search/MysqlSearch.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"10fef45e209fd4582194d8ebdf786f1d48d595a100936034983f9b817981fe99"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appserver/modules/Checkout/block/onepage/Wxplaceorder.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"903751b60dd93ccef4419ed1dfb5268fb2e2d2e10e0d972af7dd858939f8a846"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appfront/theme/base/front/catalog/product/index.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a8d5acdad00559a9f2d3cda5ddc6c93a06a7b1d0325e24d781fc340f4626756"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appserver/modules/Payment/block/paypal/express/Placeorder.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"507fe9c4cbdb8b3a62af23b6a654e345bd0cf7422210fdcf95f8d51026e277fc"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"services/payment/PaypalCart.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2acd96bf94ec35162f1828489410723a81fba359e759e3e6e2f3fd762e543aab"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/apphtml5/modules/Checkout/block/onepage/Placeorder.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8dd8270e1bbdaca730e9d38775a5f1cbf6b97f9fcf6c8db227b4b2942ddf36ef"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/apphtml5/config/apphtml5.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"daa8e0111a452ca9af54982e734cc95e3ca1543bc4eb10311be70ed7d956644c"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appfront/config/appfront.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4266abb34add131b96a9d3f34a7572671297f6c6130d636c2df2b46c6e86043"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"services/email/Customer.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6a0a4ee332bb81293bfd6b53bb57d1a19dc3727c48ce423b0ef604359d832e6"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appfront/theme/base/front/payment/paypal/express/review.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0d452dd9c3cd6d35ffe7531c342ccc01e8c2cc66c7a45a423bb5ee386e77dd3"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appadmin/modules/System/block/extensioninstalled/Manager.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"133b0a31dbf47a45a1113415bbf66bb41277fd33bb1e5d193f96bc699e4ceb33"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/apphtml5/theme/base/html5/payment/paypal/express/review.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4817f39847c2f515f22189f1e3f7fb348d3a5de838ad3987913d3cff863c95b"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/apphtml5/theme/base/html5/catalog/product/index.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b610e0d71f5ee4b426fe5dbc9b699675e382dad0512a2a75e935b110d491dc89"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appserver/modules/Customer/controllers/RegisterController.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dccc58e85de2240a735713143b40b06dbd68121acaeb9f560fb35dd2565f08db"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"services/Helper.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae8ed83e7087198ec685ae1973345d7e20eb476a17f401ece9c2c465477562e0"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"services/Sitemap.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"da7329699ec6fad4351122a0006c0a5f090b1501798796afa9df83da04e7879f"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/alipay/lotusphp_runtime/MVC/TemplateView.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"51ae071d771c2801db5ab8ba1fab96a9026496b8641dea45e9b154d2f37113ba"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"services/helper/ScriptDate.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8588e8342b64519975241e539796002020d81269224518b89d2c5474ffd1d572"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"services/product/Price.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2377895fc2eff67dc8a8444a4b0cde9356fc2f5aaf9ed131ed028b290e4bb34f"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appadmin/modules/Sales/block/coupon/Manager.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"651579e922f161bc0c6779ced59da078234af73dfa7f32c464a1f3e153075c35"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appadmin/modules/Catalog/block/category/Index.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f278b2ca02e9059c31eb23df0f830be0bbf60d5bc2634a6bf24d4bb18d695787"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"services/page/Currency.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce21a729ba1cdda6ac7228fe2241c2c214818b7aecddee2743d466c3c14b7fee"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/alipay/aop/request/AlipayAcquireCreateandpayRequest.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"08cd198ac25230bc544c24e64f4f0adb0fe6b28d142c6636192a7f03ed5624d4"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appadmin/modules/System/block/error/Index.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a73e00c8c000f20cd8e3230bd6689a7c6afe1de836cf03eabcc8959c1756e865"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appfront/modules/Payment/block/paypal/express/Placeorder.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"eab4895c8ad7872bfcdcd373dd97abaed43f8ddb2930988f9d551f23de1ea9a6"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/apphtml5/modules/Payment/block/paypal/express/Placeorder.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"44329248546d8e0f42782e5088b2c8b2f5a335cf136f15bd97744d1a115d2ef4"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appfront/theme/base/front/customer/account/register.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5eeacc83facace87b3d97cefc16a16b0b08b25fca6b219c1f116c5757fb72e7f"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appadmin/modules/Cms/block/staticblock/Index.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3762b743cd9d2aea8bcfe1898159974be6536c3b74efd773e0931199bbcb904f"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/google/lib/cache/Google_Cache.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6af9bd4f9ce103fc82eb42f404becc2c653948c494d94719c0914a7d45ae5d2"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"services/helper/Echart.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba01be2acd0b7a875675ee3efc349ce15052b2b85efc8314018aecf0e2d166e1"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appadmin/modules/Fecadmin/block/cache/Index.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5b6f4064ac4a42127d163bac8cf7bfa43e8477389ab7bae7fef3804fb64952a"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"services/admin/Role.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9503d7af9e656a8257c7d64901d8b7010073795be11cff2bc0808b11434dc3e1"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appadmin/modules/Customer/block/newsletter/Index.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"af83419e133b0ae98d64f404b945e795da2ce1a671ba2922af100b576b7ce0e5"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appadmin/modules/Catalog/block/productbrand/Manager.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e23587b42e8cc109b3312ede138e81d431d794c0ba4b4617ccb61cbe5c52a8e4"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"services/email/views/order/create/logined/body_zh.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"12e62033e101ab909be2937bf75be9253a5ec317b354b1200d302aca63fc41af"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"services/page/Widget.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1f5d6449d90da40d70d33329af753b8fc4ad072ee07d01288d5ec403bfdbe53"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/apphtml5/theme/base/html5/customer/account/register.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"03536eafb96b20d59880e633d3dc670def1a88ee8dd6b81b20951ffad9d2bed8"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/apphtml5/modules/Checkout/controllers/CartController.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f929dc41fd03e9242f291357e426ca79dd6cfaff250df2866545115d9e606a3c"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"services/admin/UrlKey.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b8283299e280f77ffc74658b4d41c5af703deedb98b3825447e693ba3272278"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appfront/modules/Checkout/controllers/CartController.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"99b786480af68627885fbc2c731814831cbd8655b9aaaccd40777c941bd44630"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appadmin/modules/Cms/block/article/Index.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8156868b13c4c4da8acda42254cf3f542cf6fa466c364ef815ee00d3189ea30"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"services/email/views/order/create/logined/body_en.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2545025907cb0fb60f0c93676b6771fb2b416a2e837588ed593468205032966"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/apphtml5/theme/base/html5/customer/editaccount/index.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ba306a872ef7b654120bc30069cf16dfefe0ed08efa0e1f6e855f9c04e59fc6"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appadmin/modules/Catalog/block/productfavorite/Index.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"66079179e5835f9e7fb24263215f08281c174d5dd02133ff32c4a18e98fb1eb0"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appapi/modules/V1/controllers/ProductattrController.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc388954081f0d7b30e4cbbae4ed57c394cff7c7b710d26abec5274e4d190f4a"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appfront/theme/base/front/customer/editaccount/index.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f06c34de2db1f28c3fd0821ab81a4f4d822e61e1e2307cd35bb50f0cc74fc01"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"services/email/views/order/create/guest/body_en.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2098943d9aa5a34290a240f1b6f35ec08b5fe6e05450abc7052e92ff333a79b8"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appfront/widgets/Page.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"43ced6c222c482c52a767a8a0692f417a193721a2866231c686dc63d4e3c4d62"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"services/email/views/order/create/guest/body_zh.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"43569c12045a4440884d7df9aba37d29651b0ba53f35e5a61b1fd7dee7bc437b"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appapi/modules/V1/controllers/ArticleController.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"486759758cac7b2594242d9005da72e2d90573eb41ff8528813449833261efd3"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"migrations/mysqldb/m190904_025251_fecshop_tables.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c2f6aacc8febd549fe2216edf4e42a282f556c13291ef45c22635f649901951"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appadmin/modules/Customer/block/contacts/Index.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"92ada094fa7ae7cfffde274672570cac86102b2e266ac0a814a6ab2beb6454ae"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"services/Service.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8da06762609b48c7a18b34612fc70e7bf2645954e584a551d985fc3d6b246bfb"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appadmin/modules/Config/block/appfrontstore/Manageredit.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e59bbc5be0d544fdbc5630bc21447c8b9805d03bf350370248d89adb0ef7ca4"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appserver/modules/Customer/controllers/AddressController.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2dc55517a743c7dd0355ea807daa41a1a598ca27ea5603d07f24575f8bc2864b"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appapi/modules/V1/controllers/ProductattrgroupController.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a61bbef64ea4cfce6a34188b36b53c7989d3fdd8d4df7284be935489cce0764"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appadmin/modules/Fecadmin/block/account/Manageredit.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"765d11ba54f57f31ce95400dcfadf45f1f7d321d1cf816023f9509ed78206de8"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appadmin/theme/base/default/catalog/productattr/manageredit.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"23d5def722994652ad021c66aff8324499d591a0836ad9ac60868bab136357c0"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appfront/theme/base/front/catalog/reviewproduct/lists.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cebabbddd5363d6c07e622ac9ca4cb5e47d50930689dc70ba4554e455fb2acc"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appadmin/modules/Sales/block/orderinfo/Manageredit.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c03ed962ca9d73c5de70274f0c6ba1d4414a8a131d0a6f9104b1974798c8d57"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"services/cms/article/ArticleMysqldb.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1104c9bdb633a2d95d05c6e9198ff01e3b643bb25a082f7b3ee1470a7d6885a2"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"services/helper/ZipFile.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5898b5c79dcfca4d87a32914320647d3716f2cd89ddd7ab4277867535ec62056"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"services/product/Image.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec1ee9a2230c1dd1176803aa364a4b723626712ee52dae9cae50fc74bac2c3b6"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appadmin/modules/Catalog/block/urlrewrite/Index.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c92bbcad52e317a17f091e2ad965477ba45cd185c609c8af981ca191a9a1aef5"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appadmin/modules/Config/block/appservercache/Manager.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e276cc3d6fc77a2f747a12db76bafd6c14b5b20e64eb3e1b0f5594ca3d6bec73"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appadmin/modules/Config/block/appfrontcache/Manager.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"56b73d1d212443703cd072d335c4b10fb102964ed39c753daa4a72878a160143"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/alipay/aop/request/AlipaySecurityInfoAnalysisRequest.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"aca97cee682f290df028341ebd0fcba6bf0d4fbf653a4addeb756c6aad666b23"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appadmin/modules/Config/block/apphtml5cache/Manager.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c71028b7b7b99235683e09615b10db9aa900087d948a122c8a0623ae7cb1fa75"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"services/admin/Menu.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2d2244e148d1f7ed0613883c88ccc32dac02f35fe7492ac20ca15c4945fa38c"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appfront/modules/Customer/controllers/AccountController.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccec6daf6ed9340b95b01164bc20501a2de75e7a274d10d356a9d4eafd389ca2"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"services/extension/RemoteService.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb5905a9e2220037de5bc8599b749265f0f0034293ca5ea57f733a59348f928d"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appfront/theme/base/front/customer/order/view.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"915534d66e5745a2f22af44da38d76f56e23e63134fb991112bbc51dc60cace9"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appadmin/modules/Config/block/appserveraccount/Manager.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcc9c20a9c905af15c14eb7f9490f24252061b819d4c172e7be89c5f7316b1c6"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appadmin/theme/base/default/catalog/productinfo/custom_option_edit_copy.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d97920521024eff5ad54cb96c9ab73f32813cf2366cbbabbdcd0fed620596029"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/alipay/lotusphp_runtime/DB/QueryEngine/TableDataGateway/DbTableDataGateway.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7021d46ae78f1dde4888a910c07ffe88138652a7651a35a31cbef58ddcb848de"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appadmin/modules/Config/block/appfrontaccount/Manager.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3c9b3e88032e02067c76067ec56ff1b370ec086b66475b2de39e9535b28128b"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appadmin/modules/Config/block/apphtml5account/Manager.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"537e19e0790f2621e71be55cfe66bb4df42193ade76b12a26273c636aec20f93"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/apphtml5/modules/Customer/controllers/AccountController.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0832e03d8750362898fbd48c6a40afd818955c3011465f5ff360824201f7d769"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appadmin/modules/Catalog/controllers/ProductinfoController.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"93c8c610e97c63b5d7dbe26026eb4631cba249f36b7195b863fd52fa563f6565"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appadmin/theme/base/default/config/mutillang/manager.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f5f9172c32725d2603e1fc83b351641ea925bc79e09a4eb4d8be5b7e4bd4e26"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/apphtml5/widgets/Page.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9801b82598dc8434217f9edac74c8d4e8505ef37a32dfe6ad98be1cbc96ddc5d"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/apphtml5/theme/base/html5/catalog/reviewproduct/lists.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebf76813afeb6b83e66e7e0b1616ba3e5c66e1f075dd18c17abf26c16a16109b"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"services/FecshopLang.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"be62119178ea7b34837c76458926d12649e7a546253783866cd2ddb284203ca1"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appfront/theme/base/front/customer/account/login.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e15f98d3cfa9776e4d4317c15151dbe9aa3e7ab44d06ad1c832454324ff7cd83"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appadmin/modules/Config/block/service/Db.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5014eee81584edaa744b7f1779e530be8f7a4d0a41ac01f7bae5dda67c8d781e"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appadmin/modules/Config/block/base/Manager.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee289cfd5c9149844618b50df77e586659025067156b603c66c83677a4af78e8"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appadmin/modules/Config/block/paymentalipay/Manager.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"47d5a858569ea90d22241f6d72fe41dd6846a0a24e57b1b6fc95cfdd1be75820"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/alipay/lotusphp_runtime/XML/Xml.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"21c7df65b9d6edffdc6e04c30d410946f26d2a5128bc3fb5e5fa52d9590b2f1e"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/apphtml5/theme/base/html5/customer/order/view.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2573e46dc85347bfd9bfa8215171641221576bf91308ac512106b5187bb70260"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/alipay/aop/request/AlipayAcquirePrecreateRequest.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"78f6875db0fee97cb76a7e9026ff4669c5b2f6b38251ebe8df06de9c29bf4a29"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appserver/modules/Customer/controllers/ForgotController.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bddc82fc5dbbd17725d90093a4645f28c9920c1d29ac56159184d58b31df7628"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"services/url/Category.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd67dc79a467a4116cb64386b08c30d6319544967e478147ff3c6408e938a2aa"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appadmin/modules/Config/block/appfrontpayment/Manager.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e164a69eb38e54a3d2085a14484f6f494823750ba9d6e46ac9d67f0368c950ba"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appadmin/theme/base/default/config/categorysort/manager.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"33cc9ea674cdc660b73ecd70b891aa424d2086bd951e14176638e14110c43633"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appadmin/theme/base/default/config/appserverstorelang/manager.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"84073121d61eb7e47227aa8244739673402418a04a76702dc8d8558486af6ae4"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appadmin/modules/Fecadmin/block/logtj/Index.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fdbc7acabf0447365e71ae15a622b12ada72868d3328fdc3fb5fe48138d0cb8"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"services/product/Brand.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d40e525b2619816f73aa42e20745767a8a9fda362b95260f0ca4a3956d033689"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appapi/modules/V1/controllers/OrderController.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c40fda7aa99159f44ec3a0bf8f5b62d9ed4dd9370d64170ad51eb84a280a848b"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appadmin/modules/Config/block/appserverpayment/Manager.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"073cc5385ce2e7ba28b342022f9d634269d7f68a0b6bf18e28313d38910d1694"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appadmin/modules/Config/block/apphtml5payment/Manager.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3e91c85b61cfcdd8eacfe09843de7ba065aa0ebc2e1bb9e23ec3dc85b37409d"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appadmin/modules/Catalog/block/productattr/Manageredit.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"62d8b7e3558bbd2f39ecb9cf272de8505244d1a267794cd4f9916ff8917e537e"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appapi/modules/V1/controllers/ProductbrandController.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7214f0477c7b2cf18e21b0042864358c61fa0dc218a3794acf99f67a60bee4e"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"services/page/Asset.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"daf2e9e078c33bd40aa29a674146b37dca805315ab62ba0ac3c2f7b0609d812a"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/apphtml5/theme/base/html5/catalog/product/index/custom_option.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b032eb680c7c7ab2f3e954e06758384f79881413dde1195adc0f3931bda9a41"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/apphtml5/theme/base/html5/customer/address/edit.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"492e8efbad0c5a9408b859878edad988d289e281b0bafe3bcccfe857b5bd6711"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appfront/theme/base/front/catalog/product/index/custom_option.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c6128718419293dc824520dfee004b46aaf9d81ea378f5791a83ee37f383e92"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"services/adminUser/AdminUser.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"61d5b50ada7537648072c560dff06e9c7a618219eb5732f8184cfe2f993a234a"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appadmin/modules/System/block/extensioninstalled/Managerview.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"aeca60463f12c5f17aa23762c93c138eee3f2d82f3b3d736b3328b7649349e86"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appadmin/modules/Config/block/apphtml5store/Manageredit.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"35566586f846e5b354512736e4ac0ff549330ef610553eebbdc5de784ffe100e"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"migrations/mysqldb/m200331_082139_fecshop_tables.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbea62526c75fc4a4106a163a16c3debbad17b785cd5d1baaf8e932a36a7ea33"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appadmin/theme/base/default/fecadmin/login/index.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"57be07ffddc756843044c56b83fedf411621e77d7a2fc3d9756ba4e8b2961964"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"services/product/attrgroup/AttrGroupMysqldb.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f02b689a196ee310327c550cb02f5fcb2aae0662eff7eb8331d19321f0c2fbdb"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appadmin/modules/Config/block/appserverstore/Manager.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"461d1a3c89bb84c27b5cd5494957c85c152d3d500718650100b9324e18ddaa1a"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appadmin/modules/Catalog/block/productreview/Manageredit.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0caef6c850b66efdda5e2f5c3f04224ef298341bbc9bf6539376234bf56b84e"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"services/Search.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b543cb05c2433359b98feb2dc493252017da519f3907ea037f2554fbab68579"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appserver/modules/Payment/block/paypal/standard/Placeorder.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"754a8cc66ea292b8a9128a8ca048f41885ec43b400b5017d6b135fa02f48700e"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appadmin/modules/Fecadmin/block/config/Manageredit.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d93f4e9c4db76b9478e94ef075f793c129e6cada327749b7201672a310f90726"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appfront/theme/base/front/customer/address/edit.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e21e213fc0d69323bda2c8dbe8e4e1fe6b1f6590bf4afdf3da1ae41d21d5d344"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/apphtml5/theme/base/html5/customer/account/login.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"eeb7ea224ac3ea692a8135bc71fe1ebc29fdfe4a864c9eeeb84550a31e277199"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"services/product/Brandcategory.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc18289c45863fceeeae7eef19aaaa6f01bf103e6aeafbf04462748615affb5b"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appadmin/modules/Config/block/order/Manager.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dccfa880703a30b472b04b4c6a88aecac1716e78355236d3c0032b8fe72579a2"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appapi/modules/V1/controllers/ProductbrandcategoryController.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f32e63a21792eecc21c162e1fd0546db9c2dbbf5553200feaf62deca8b5d507a"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/apphtml5/theme/base/html5/catalog/reviewproduct/add.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"16f8a1e6bb333c783c3241205ab3ab54b30a9b09f76ca0224146f7f3362e79ef"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/apphtml5/modules/Catalog/block/reviewproduct/Add.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dab484b27585d04cc79164533db3b517c30d3bb98f53e433717e40f0e946c949"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appfront/modules/Catalog/block/reviewproduct/Add.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8ddc6793eaf669e57ddd090723c5efcbb06f44a1cadc70dbc28687ebf05d911"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appfront/modules/Checkout/block/cart/Index.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0897794ef3bfae25d16fe3ae89f6c9b68c162eb93aed1f46a817828e988fab9a"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"services/cms/article/ArticleMongodb.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"14e7069d9876794da3384330d9431aa427418458bc0a4ffee324df0c65177798"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/alipay/lotusphp_runtime/Pagination/Pagination.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9373cf9b5b2f1667da308c5f054fc7c60afdd7d017b7be686aea307b59b5e2da"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/alipay/lotusphp_runtime/Autoloader/Autoloader.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"047a1c9bab2ada19fd20d1a36de1b55449fd06c44a5b55c00e795a136a24a556"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appadmin/modules/Config/block/paymentpaypal/Manager.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc7c6958b987dff3cb3808eb9e49d2a4eec12702ed0033cd4e992a973c234ccd"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/alipay/lotusphp_runtime/Captcha/CaptchaImageEngine.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3236fb6485c419e0469463c442c7c4176698110317870df573b5aed886f0418"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appfront/theme/base/front/payment/wxpay/standard/start.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5169e257d70ce23b48f012fb22be83e184d0f9f660d8c2efb6c5d4461a6b7ec"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appadmin/modules/Config/block/product/Manager.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"71c82221ab7b718374160c44ae2abbe1066934a2b9f50016174fc40e5672521d"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/alipay/aop/request/AlipayEbppPdeductSignAddRequest.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e4241147c890d41b3126dd425a349143d43cc401b0d5d183b0efce30c27e84c"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appserver/modules/Cms/controllers/HomeController.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8093775132deb945dc8977627f223e8d03f66b6323c754328a0841043928dfaf"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appadmin/modules/Config/block/paymentwxpay/Manager.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2edff713ad36c0aba2ceb161cadbfe9a71807e00a9d2631421a3be56a7514c10"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appadmin/theme/base/default/catalog/productattrgroup/manageredit.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9663b8b5d0aed69c786d6d054b72aebe3cc59bceef1d09b39fd3f29a2d18c91e"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"services/url/rewrite/RewriteMysqldb.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"efeaede3303b547939b5c171a5b2660ef5c93d0f6021c288fe6eb6f80c315afe"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appadmin/modules/Customer/block/account/Index.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef10d85ec89565dec2f2f24d8b21e9707c5a3821a182a1872fad49f38c9739c0"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/alipay/aop/request/AlipayOpenPublicLifeMsgSendRequest.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"84bfacdbd6246e999b083b69fc934ed32760d262afdfa5bd08433f5200e198ef"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/apphtml5/theme/base/html5/customer/account/resetpassword.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cdee5df849fb248e0be134d2cdde6425a47eddfc3f17a2de34361903b8363fa"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appserver/modules/Catalog/block/reviewproduct/Lists.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"65e183e4ea6c70e809e767776b6302f10d1cf46f78c3fab429260468ce9ae78b"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/apphtml5/modules/Catalog/block/reviewproduct/Lists.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7b75a2788ed774f135213371cd1d10330b9f637210aef4c4fc4f404adf119d8"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appadmin/modules/Fecadmin/block/log/Index.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e55abcfc5f91ead6fcc3baef837a7cfbe7095e979c3a047df11bbf68541c31d"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/apphtml5/modules/Checkout/block/cart/Index.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"91069a4a5ee8564da834628ff391fd0c7838548206dd8f3328e2739e94002235"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appfront/modules/Payment/block/paypal/standard/Placeorder.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"08be4d8beb152d3953473157ef5a836f6571cbc0f596744054202bd0f13701ed"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/apphtml5/modules/Payment/block/paypal/standard/Placeorder.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"aeed529a4977c59a22aee93d008336c2259830a740c01f955cde1d599477ff0c"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appadmin/theme/base/default/system/extensiongii/manager.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4b98c57c6c1393c13bedc01398aaa48f0380a3ca4fd2cf9811432a096d40256"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"services/product/favorite/FavoriteMysqldb.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"966bda9d859aa0bfcbe0aeba3519162b0ea2f679df1d7595c5b866134a5aadaf"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"services/product/Attr.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"688c317bbc264eaf62ff661636a07dc2e02eb28496149b1470d81d67d297a27a"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appfront/modules/Catalog/block/reviewproduct/Lists.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f45cb7be6143ca96762eeab94ba5857e0a378d6c96230965c887ee56ef714c97"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"services/admin/RoleUrlKey.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5ef92d5c4eb5f5eee5366f0d0bad26c9f51c0479a4b1f27ee8c78f461402e49"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appadmin/theme/base/default/config/currency/manager.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b858dc8ecf17f16d01023325842b5b49d16cedc6708ba79176c99ed7bc55352"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"models/mysqldb/Customer.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7df1eb39c5c5499597415d6e767c4051d054cfd5e2dc28f83203aa72b84efc99"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appfront/theme/base/front/catalog/reviewproduct/add.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"63e953591b175ab090bfe2d0c4a9f34c804258e828ee312251d3ea74adb43607"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"services/product/favorite/FavoriteMongodb.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb9fbdd24fd6fbf7f688e99e8cc67f153cc2a6b76c4a87f1bd81634fab273b0e"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appserver/modules/General/controllers/BaseController.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"332bc93da90ac55db0b012e38ce98b6086f4c091dd48215bb267b52fa6c54268"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"services/product/Review.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc5c664174a88e06d55b41829b6ff0a0d870d8086b6d0317df0a4dc1922ab836"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appfront/theme/base/front/checkout/onepage/index/address.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"67449bf6a3bb4c1e43e4872abc38001d049751485aeecbf90b0fff865b27feb5"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appadmin/modules/Catalog/block/productattr/Manager.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"877348e83bea1af175c72c3294924b44ce32180fcdfddaa48fa71359f66d5f8d"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appadmin/modules/Config/block/appfrontstore/Manager.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c8d4bc203dc4db6f9687a0d75cb419761b0bcf6e3745f955a77e878b7c79974"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appadmin/modules/Config/block/apphtml5store/Manager.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec73b2573fca8b406c85c41e0394afa78d5ee4dffc1b0a8d706bfd6d522b0024"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appadmin/modules/Config/block/fa/Manager.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"33e83b8fdf38de4f99c0517db2ddddfcaee6d1cfe125229b06120eb6e88a0867"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"migrations/mysqldb/m181109_012806_fecshop_tables.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e455695ebd292094544d5f827708f22dc97135e242d8f76f7bf93d4ea90a8f0"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appserver/modules/Wx/controllers/HomeController.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f867c9921e4eff9665c565553b84e68df1bccc51a4ae9d3128b8ddab6a8d35ea"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appadmin/modules/System/block/extensionmarket/Manager.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3979a471b53ef9f7cdaaf54b07468ff8dc9f603e7516a8f9815a5fab6ac6c5f1"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/alipay/aop/request/AlipayEbppBillAddRequest.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f8cde165bf1d0d29869fdb875afa0a1c416dd9f61a333bdf8d593a02a2454e4"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appserver/modules/Catalog/controllers/ReviewproductController.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef1e5113cf0dca917e7e1772e06d97d367e9d0b2b5b503973d6eeb2d06e3c56d"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appadmin/modules/Catalog/block/productupload/Manager.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"833cc3325b47e464cf626d6c7d20cf51a5af3357fc24e6d491ddb6ac76028dcf"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/ServiceLog.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6c7f541d2dfb1e54068e1b89c38901081f3e54511dc5654081c927c65667b15"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appadmin/modules/Fecadmin/block/account/Manager.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"65f47ac11df2df7d0e43921d7504b51f70d137235df3d2fba2810d7695b555eb"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"services/extension/Generate.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"172ceec642f03dea8d73551ac83aa5bf51e752fcbda68a065e9c796071495b5c"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appfront/modules/Payment/controllers/paypal/StandardController.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"366463b55eba8e7e3c1f271e35ae5aa3238141c71b06a521d95fc502812e208c"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appadmin/modules/Config/block/appfrontbase/Manager.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4aa145890afc1e4d3a5f71bde640d060f0e4ca197a427112a39b60e9780bd874"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appadmin/modules/Config/block/apphtml5base/Manager.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7dc04fafef148acccde23ca8eba1e9263836154a5879d6b3348fa4491262d08"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appadmin/modules/System/block/extensioninstalled/Manageredit.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e613f08016dd53f6f24cb886ffb03b58a51d16b8eaa3f1a1bd659d8ce20ebc5e"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appfront/theme/base/front/customer/account/resetpassword.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5781e939eefdec9e6a310f7de89fbeacf1ffbc30664d850a4fcc8c510be9969"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"services/Systemhelper.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"51355aa0c92386d5b0375eb57063d23776623de6bf9b8428d1be86b012d8f66b"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/apphtml5/theme/base/html5/checkout/onepage/index/address.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a41b6b6e1a9e601e3b7193d2648bf3db0f3ab217fdf4b2bb716b0cf8c32faabb"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"services/Application.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb6041f8fee285f77333076553daae8a20258bd41ae9482a88aa34745ddc3263"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appadmin/modules/AppadminController.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ee25494fafe7cc5572690703a548f1477158e9b4d6ec58a55bd98d1b6a20b96"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appadmin/modules/Config/block/search/Manager.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ab3edfe50af839527aab5b516f0e97c1981b1e20d62ad46e3a052e388ee96f2"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appfront/theme/base/front/checkout/onepage/index/address_select.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9704609f8f0da50189e9eacaf608d74118c4e53bbd930373937f96011d9d48c"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appadmin/theme/base/default/catalog/category/info.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bfdf1250dc3bcbfa435a27de71490c7669784351c5c3f58f5d80ca341474c8e"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"services/helper/Appapi.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5b2d9d5a39767779b6c8c496f180b183c68351f249be5b93332af4156b86e8b"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"services/cms/staticblock/StaticBlockMysqldb.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e4d8e1038b3af17fa9a2e508a93a8748d2c1f5002fa7c0b78d24a9ed7c6d4f3"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appadmin/modules/Config/block/appfronthome/Manager.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e47c7a3d2d3656f455a05360222da844e4539c8090ef00945c4c557258389d7b"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"services/url/rewrite/RewriteMongodb.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f725c6213183180028beaa4bb015425007c3e9ef9e8914ca68cb4c4e385b056e"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"models/mysqldb/AdminUser.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7edff200135c0244625e14c38ca7a72faf8481caf87cb3e4712713959a83c141"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"services/StoreDomain.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a02a1cbfa161783b4dd48b2acfd97c860466e47b6a064fc10d219b44cd12a460"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appfront/theme/base/front/catalog/product/index/image.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5efdbc5ab07387afe0e409548c777c910eb9112b59e4192cdbca8653d0fad659"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appfront/modules/Customer/block/address/Edit.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a2b4bada9bfa6975719ef213b78e7a8b08392135b3bab81397d8f57d61ad3b6"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appadmin/theme/base/default/catalog/category/index.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"325afbe8bdc0c1ec54fa641e58673d4eeae82a9e830ed0fa21766cef955a7ec9"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appadmin/modules/Fecadmin/block/resource/Manager.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"95878c684b5a182409eb675fe0518f2b78be5aedaf31254392fc14eacdb6d946"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/apphtml5/theme/base/html5/widgets/menu.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d3e9cc6e073264aa255822f5fc4968ffc86490ac7f8cf71b44b5e080f564c48"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/apphtml5/theme/base/html5/catalog/category/index.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"692643f00d64e570e2ee312f3dac351e93e8b4e1cdc1580b53843635fd23057b"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/alipay/lotusphp_runtime/DB/DbHandle.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c24c3808bdb10b605a41d1e7e1dc10d1ed018cbadba7df1a684eb240359cad78"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"services/Admin.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f12cc1dc25499d7ece068c5b968e1d4ec2a62e1143a9eb5a111b9d395f1c2e9c"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appadmin/modules/Catalog/block/productinfo/Getproductcategory.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f5a6d5c694216bd35a94ca0c9a91ee7bc3542691e3e9a800e9608ecee83282d"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"services/adminUser/UserLogin.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8b50c2f97cc63e4c807f9ac60fde43cb801d73be8b011cae873b21b1097fe88"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/apphtml5/theme/base/html5/checkout/onepage/index/address_select.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1e20375d060e33aed8a7fee9e9620d27fbd5b5a3d8345af3c63dfcaedf4ca8f"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appapi/config/appapi.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b1b94adce69b9d8a13b70d58f854e60d0d0e187428be44b172997c3eab12f0b"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appfront/theme/base/front/catalog/category/index.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a07dc2c2201b26ac6f28bd79fd526ff932a4146cbf911833ad6317772fbad606"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/apphtml5/modules/Customer/block/address/Edit.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"56b3dfd38277e9ebf70f1987cb6d175b864297ec57e991640ca03da4a556f7a2"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/alipay/aop/request/AlipayTransferThirdpartyBillCreateRequest.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0faa9ed233b6ed1c609ed19b2ad3b837ecd0c5110e30a7ae27a9367de5a1aec7"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appadmin/modules/Config/block/apphtml5home/Manager.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca87871e48da056e6921265bd769b84e00332ed40d9750fc973385b2ea664b2f"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appserver/modules/Catalog/block/reviewproduct/Add.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8eb1e10c920d872a62aef902558e6af14d1c8fb8ded87a3a2ba711f80988824"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/alipay/aop/AlipayMobilePublicMultiMediaClient.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4663206a2cfc990ff9fbb0c5cce55615a57b664ef0ea7574fe8239a83cd21e12"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appfront/theme/base/front/catalogsearch/index/index.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f1354e3f0e03b6e4d6b85065d9fd4e5da1f9b96046528c0b30e2df5f4f521d3"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"services/cart/Info.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"60756cd15855d5322a3c005a6a5259c92608e1b7d3a1f7d4ab557917fc885f79"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appserver/modules/Customer/controllers/EditaccountController.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"46021686d89df7b23f3529da08db7b3bdc7a502c590e3d874ae5c2a14278d7cd"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appadmin/modules/Sales/block/coupon/Manageredit.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"deacd8b6e356512c385b120259989bce7c72f8f6d05953cf49c9e98d84e6dfa1"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/apphtml5/theme/base/html5/catalogsearch/index/index.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ca771845cda6c63debba90307792dce0beeb3053ccb23cc9f66424e29e8743a"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"services/Session.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3e207c6c51844ef50c86d97aa04b8395e9e8a6315a7914feda9effdf5efef0a"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/alipay/aop/request/AlipayOpenPublicLifeAccountCreateRequest.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"69dcca68491e9d1a84182301667aa3aaf6c666a8b08de85a1ff61cbea9c1b333"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appfront/theme/base/front/catalog/product/index/review.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a9a0b9c87f868581b8d59f193380e63ba6a15d95edbd8317c719cd44321939d"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appadmin/modules/Cms/block/article/Manageredit.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fffee6075e8d253b1d6a1089d75b5379ca9bbd239e93c72dcfcf4ce03c9365b7"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"services/product/attr/AttrMysqldb.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f3ea091bb5c99666cfe9f8d8bf4290978e75d49e309259e44b7f9a004c116b0"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appadmin/modules/Catalog/block/productbrandcategory/Manager.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5abe3402dd9b4916c09d2a6ec3e737fcc56b3ecfebc8a18223fe4c74a5eee343"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appserver/modules/Customer/controllers/ProductfavoriteController.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7dbb66d9dc6e70d961fe76d9440b5dad11cebe015a0e9a2b1a24b1617c8e0090"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"services/StoreBaseConfig.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd6bea2617a034f544a09d14109e97ea1b84ba7482be3e2b8c6b58acab9b24cb"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"services/product/AttrGroup.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd9a18893d84465471087ac0006aec99be614762c83d5ad62c6f446aef82c959"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"models/mongodb/Product.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f12fe2ddd0ce697bcb9ff706358ac3cc0b2a53f772d9e2b7eff0602f4608758d"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appserver/modules/Customer/controllers/ContactController.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d62309438895fe072fd14f1a4ff4703bc02cb2ed0e4d5747549e95db3d053d27"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/alipay/aop/request/AlipayEbppPdeductPayRequest.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8b4c041e41c09c8456cc5b0e9bdacaa786c26a2cf764df0661d437e6d11fe65"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appadmin/modules/Catalog/block/productattrgroup/Manageredit.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3514c8c8baa403a016da0e176e03337b78997e748179ecd408f0ba7d17dd4301"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"services/category/Product.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ca457edfacefcdb086f3ed8894be24849d4a7e0a3cf22b3c0de519bc7ee2962"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/alipay/aop/request/ZhimaMerchantCloseloopDataUploadRequest.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"79a306ea5fb414f0ebbfb799fa332ef6e8adebc0e98fae79d21045852c68853c"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appadmin/modules/Config/block/cart/Manager.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e5a11bdd7fb10766d9445efa33227de4ce32c22a442d8a820bf159ead49c43a"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appfront/modules/Catalog/controllers/ProductController.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6e28529418f123ccca09bca18e65a3b80ecbb69e3da3c1960794984cec2ff62"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/alipay/lotusphp_runtime/MVC/Action.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"46a66e2476385ffa912d3297e20ee72e9c8df0e54f727809bb1a52ec7000e8db"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"yii/web/Request.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3883392962813667d09c3f1391f37ea90406ac2b4549b531ce55b21f5402d160"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/apphtml5/theme/base/html5/catalog/product/index/review.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d7af570ec26827c2e0df8d6d2050849253d41c9369989fb655bd7d111d73e44"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"services/cms/staticblock/StaticBlockMongodb.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b96d56214b2c724c4c851ab5f8b38e31942a9a18bf52988439f3001d5086023"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appadmin/theme/base/default/catalog/category/product.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ce323920cd59266cd9579c33d218a6f26a08c97071292e6532472362cf622fc"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appserver/modules/Customer/controllers/FacebookController.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2678e30fb00b518729e677a403157a10798d86540c5084be3ae139660e899b94"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appadmin/modules/Config/block/appserverbase/Manager.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c06aa21169e25f555af25d755e4b50903355e5113e080120b67721e271266a7"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appadmin/theme/base/default/system/adminurlkey/manager.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"675fc4564ec271849a2d0d98902240869180090c1296ecf89114626c07c2cab8"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"services/admin/UserRole.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"248af98d69589ce64ce83337b92448d9e0749959f53ffabbebefdc64afbcdb72"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/AppfrontErrorHandler.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"416addd444f3903859d68bd9f48c03b503ff47aeb44a53f805a4e3314ccc602c"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/alipay/aop/request/AlipayUserTradeSearchRequest.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2def5f2a399e26e6435574eeafb6c4d9408afaa1e2ba12aa234fb5ddd44dcab"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appfront/theme/base/front/customer/account/forgotpassword.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a5584edbf852fbd32405677a934386b4345d87d13ba183cfb80fbc69d3a35e6"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appfront/modules/Catalog/helpers/Review.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"148dfc1de086b82fbbe8d99884895354c2dc6904b529c9333c956bdeb70f660f"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appadmin/modules/Catalog/block/categoryupload/Manager.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc50e508517b9dc5e6c81bfd98ae73e7f7c57c61651315c6546dea4bfc952b0e"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appadmin/modules/Customer/block/account/Manageredit.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ff715a9db6495f5a908ccdaee5b5facb68ede0031221e3c2598f25933c3d185"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appfront/theme/base/front/payment/paypal/express/review/address.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d8e9ef05f6c4189497bf79818f409c1c2e868a44f70eb1369782fb513d73aac"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"services/Request.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"26b913141eb8f1e70eb2c3c577ae3ff0e59a4700c0b72cfa1eaae1794f1d4f4a"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appadmin/modules/Catalog/block/productbrand/Manageredit.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2158e81fa3ba614ad5cd39ec77835a0aee5d556c9ac047a1b1b653cb2107b435"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/apphtml5/modules/Catalog/helpers/Review.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"879b3eba1020755a335986b6a8f426bec286449b564ee1fc3cb2bd1f356890c6"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"services/cms/StaticBlock.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d7044f3a0774caf4e3c8747ebc26a0f1b0c57c678c5df0b5798f911247fd56c"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"yii/web/View.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"892cb6dcdcbe1799b63e9c0ac1df7bba263c82d107af66eba9f4a0beff77f808"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appadmin/modules/Config/block/mutillang/Manager.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d518de82d8cd43f95ae8bd7e532345b11ef4c382f0ea455f9a2d38ed042ba882"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"services/helper/Wx.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecdf9df8be0e9201878d803b2e8c779dbeaa4ed420f94a80cd05ca8b5906afd4"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/apphtml5/theme/base/html5/payment/paypal/express/review/address.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"edd12aa85292f0b2f6a872c79e2728909fdccbb5b970db0387ac022bfe17476e"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/apphtml5/theme/base/html5/customer/account/forgotpassword.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"aaeb8265506e18569c71d911b66cebab9c2c899fccd530ca85939900a0f55e3c"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appadmin/theme/base/default/fecadmin/role/manageredit.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcd43e5a17a3aaa14eb4a2084016da923f06fff4062825198b892a9c63093a0e"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appfront/modules/AppfrontController.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f1d7d8daec9c8ac13ba82f1f3c745448f4c3515a6de88c95766a82a12a19cbb"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/apphtml5/modules/Customer/block/contacts/Index.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fc7569f950b2895dbc7f272f9af3900553962a7d30eb8d0ce1bc7337fb3b125"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"services/page/Theme.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e92c48961fb0c9ee2dd83fbd7af48b97831e1e3c435cbdaf958bd519eb081a7f"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appadmin/modules/Fecadmin/controllers/LoginController.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cac6f13bc1cecc95934bf8d57518e303581f48df42d07b758dc57a504b7fc65"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/alipay/aop/request/AlipayMobilePublicInfoModifyRequest.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc6622e68fa53bc22b89890fca14a04bd310ef1ca521b8e948d6bd6f3990bba1"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"services/product/Favorite.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"241554bf849318c290958e1b48de9c7eaf23a443508918a3c525ff4779e310c2"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appfront/modules/Customer/block/contacts/Index.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"669a8d0659776f28c2528c7973d08a55034bc12fba0003c99a91ebf8ee3d7cfe"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/apphtml5/theme/base/html5/customer/contacts/index.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"618f5d12a1f587e145b28f3524fe8959236d5266ad28a8df6e2ae1372a26706c"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appfront/theme/base/front/customer/contacts/index.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4da85c08c313f57f612a2c62491273e6451db123c442e7daec8c3bdf002fab1"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"services/helper/Captcha.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a49eb90526f06212826e3ae3f55d483922c64b89ef615b9db30e5ed0ecf09b7"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"services/email/views/customer/account/register/body_zh.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdd5af09dfc12d6a76c7ad880afc85ecfdbd7b97963555551773285f4acf3e62"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appserver/modules/Checkout/controllers/OnepageController.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d82f8d00ad20f29aaa849383f92417904ad3a51106c0592d97b247271d69bf3"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/alipay/lotusphp_runtime/Router/Router.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a8a5a17f8f0a09df980d0e94a744934f7d2ab0e4537f521562f280bf7b14007"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/alipay/aop/request/ZhimaDataBatchFeedbackRequest.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e0c9dc3bf74a9e6ff759034eb693298f4d9c7da940c6941a84b4394e38f5e81"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/AppserverErrorHandler.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"92c41a34d056adcbd60fa6e71a9a7040b83d4059a62ea5e74e9238a954e5304d"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appadmin/modules/Cms/block/staticblock/Manageredit.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bfc467e5e4c5ff91c5e5ceb6c9027ce0f06cece50a9c3d9d222fcc6cfb3d839"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/alipay/aop/request/AlipayAcquireRefundRequest.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3ba32405b06ecd1fb716b023e6d561b5f2346f0acc702cc8d9adcdd98ba4e56"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appfront/modules/Customer/block/productfavorite/Index.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1c141048f9d64fa00cd48eee2f17e0462cacb178c3bfdde6d37f3218ef7bceb"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/apphtml5/modules/AppfrontController.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6060e51964fa6c5328e6b0ed09a9d681c11beaae9193eb841b8cfe53cce63df"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appinstall/modules/Database/views/config/initdomain.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1d73dfed54bec74e6d113e5c91325d2fe8b613c486172c76e9cb7fa03ab4cf0"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appadmin/modules/Catalog/block/productattrgroup/Manager.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d5c30f045a469a4683291f1800228436e083e8eb97ba7e594ba25cbae70394e"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"models/mysqldb/adminUser/AdminUserForm.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e000a7d3d955ad320310fd26c9f498a173582ca4c81ef6a1ac78af204d6cedf"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/alipay/aop/request/AlipayMobileCodeCreateRequest.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ef732178f9c8ae69e79e1cc9e6f8a0d6ca2bcd839ca1d2e29bfd1b62e6da05e"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appadmin/modules/Config/block/appserverhome/Manager.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b20da2ea69549feeaff1f21897b635d174bd172305b510095209bf9844922a63"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appadmin/modules/Customer/block/contacts/Manageredit.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b2c74d180e99d56d9a9b731ec296257cef247683c0c9b5ce7cd30554d40e9c1"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appserver/modules/Payment/block/paypal/express/Start.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"34a9b04a339a717b09e2309100d1798ef0c47ecd1871b69392e28763a0cc8f51"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appadmin/theme/base/default/catalog/productbrand/manageredit.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b538b734a797db19a64eb54d72d856e499ebf5819e338bc6dfd428ff297be6f"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/alipay/lotusphp_runtime/DB/DbConfigBuilder.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"64b89bbf051a9009e48a1b890f4cda5c4f94395c5856bd85fd9de2c67e8ccfb1"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/alipay/lotusphp_runtime/DB/DbConnectionManager.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"46571693aa62f471f2cf46686310f137b314ad963230fc54594edce239df79b3"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appadmin/modules/Config/block/categorysort/Manager.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"90717e0f24f6eef566d549cb31e3d2d4d0d71cf7bdd363aca6779c4cf056e3d4"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"services/email/views/customer/account/register/body_en.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d30efce1adb5f71f1aa217aa8054503439b53d68f3209b3a9e198c50b833afe8"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appadmin/modules/Fecadmin/block/resource/Manageredit.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2f504e25112509e1db71967b0af7275b01e27daac2bda83d9926a6fd3f5624e"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"services/Cache.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1eb7e02b252c9cc77bbbdf9c5ffc154ce2a4dcb4e631e3d519e45570921d899c"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/alipay/aop/request/AlipayZdatafrontDatatransferedFileuploadRequest.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"49a357f3241d6a758a1337314e0040c67e432a9f878f16384701266d04b2e6d1"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/alipay/aop/request/AlipayPassSyncUpdateRequest.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9c456237c3ac2deac6ba4aae4c5fb367eec84b8d482d7acbdf10a1d771b8d99"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/alipay/aop/request/AlipayEcapiprodDataPutRequest.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdb65fc08e7aeaf9f3645ec4d06538f5789af4da84eba88c5f2082402676bcba"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appadmin/modules/Catalog/block/productbrandcategory/Manageredit.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"79b787472c0d9e9f9c90c7d695c1b687b90477ccc880144e5fe77b7315753f81"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/apphtml5/modules/Customer/block/productfavorite/Index.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4c7303eef96ccb5f245b9ce835731346c093b4f4c24a0ac0494500b64f65f6b"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appfront/theme/base/front/customer/productfavorite/index.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"61cf203bc79e5bbd646753676c12adc05d860cd6af3dd38ddfd56f98644e6607"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appfront/theme/base/front/customer/address/index.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d93a7aab47fd60916330e8e187bb5ba7798fd84637cdab9836573fae9cc5aa3d"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appadmin/modules/Config/block/appserverstorelang/Manager.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"360f50e0f3f8004200ad2ae9fe6f66dd008fcb7860d434601dc746a1a22f4abf"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appfront/theme/base/front/catalog/category/index/filter/price.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"43284409370d75f4fa9799edbf1c9f0f21accc8f5799c20e0a4dcba90f2db7a3"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/apphtml5/theme/base/html5/cms/home/index.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd8efd1227a07f496b32f8c904fa47c3ad942aaedd8ae01c89801254a2aa931a"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appadmin/modules/Config/block/currency/Manager.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f09ff7b3c5c03b0f3f3d6a5c553255ff9dc58d55fdca86c662bc78694a1cb34c"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appfront/modules/Customer/block/editaccount/Index.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f484dbf48ec446cd152493150a46f336843b31a4c87fbb016089aa3cfa2a6d5"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appadmin/theme/base/default/config/appfrontstore/manageredit.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"98af1e80e536e579f16e14dc6c701655db382539bfceb59c20927ce90145b26e"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"services/url/Rewrite.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b33b3154ea10fe1f258cef698920dff17d5df0abc3a6a444364f6f4e4b5699c4"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/apphtml5/theme/base/html5/customer/productfavorite/index.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"82781d78706b521b5f7f85627479d5e2a181ce0aa5bc1de3a97ca4da7ca819ed"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/alipay/aop/request/AlipayMemberCouponQuerylistRequest.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d204639239bce73b33c2301d681ca1ce86b36d39331baaf82122b271e8d9cab5"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appfront/modules/Customer/block/account/Login.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd598649947fa9d56cb8c47bd33e7f79d983863e4084d0eac1f124a9037ee2f3"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/alipay/lotusphp_runtime/Validator/Validator.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1718a2f26f6547af80f812538ab1f374e624762eefd7b4aab2e5380748206ce3"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appfront/modules/Customer/block/account/Register.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2230e1ecc36a2ec69e232ded24ff218bea350c255a18f07de9da8122818d5c87"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"migrations/mysqldb/m190906_121308_fecshop_tables.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c66aa05091c64f279506f85d36b7d740924effffce46f7bcc7337788500e37c"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/alipay/lotusphp_runtime/Lotus.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"499159ac11a98c9b31a1874f38e1dbc7a1c5c57772eb51823e43ddbe8edce77f"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appadmin/theme/base/default/system/error/manageredit.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"29b970f449eeba7d6690446f7a3c942c6ea110ca472d08ee6cce618cc43e5027"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appfront/helper/Country.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"aad5b682b909185eb621016d318237bd2c25cbaba1ee2e1c34fc844d4d5df25a"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/apphtml5/helper/Country.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e27548c8b177dca6083751c1e90e476dc31162432bb8e5dea206f0876e5b619b"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appfront/modules/Payment/block/paypal/express/Start.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b609cd5c67bfc9cd892bf796ebc2e513fc5b39d2cb31c9ac58022022550670a"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/apphtml5/modules/Payment/block/paypal/express/Start.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"78d0ecfb39cb96a33e7a7d8bd2b33cad9b9360fa8d8b3d32c1cb5762c353f024"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"services/helper/ErrorHandler.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e518ac03237609a613aad3191dce8e7bc8e778a1f8a7fabaefb832e97ce34e3"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/apphtml5/theme/base/html5/catalog/category/index/filter/price.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"94faeca6008a060725de77fc791a89dbe1fe1b16af12bee088c968fe1e0597c8"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"services/product/Info.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c2acb6381cf49dec8753bc05a402969feddb2a6e482b6796bbb76c6efa6e83f"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/apphtml5/modules/Catalog/controllers/ProductController.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffac8a4e7e687b8717176481fdf46c24b54346ad2f4fac96b4b21cd8bd410d03"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"services/helper/AR.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba040d6abf803d278015e767d1cdd2abb1d7c81756655fdb7aa8c086f91ea2e9"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appinstall/modules/Database/views/config/readme.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2aca287178fd46b7178839488eaf3641881696840211cbb54a911ebb694bac53"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/alipay/aop/request/AlipayPointOrderAddRequest.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"733662b2f4a375eb67bed6bd10bf81456176493ae0c2e6c2138a610002fab4b7"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"services/cms/Article.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"76a832fe2d4715f658d2c3877c8713502f3d18ac6e68dc87e6ef4de455f1621a"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/console/modules/Product/controllers/SearchController.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c62a1a2c7a41891409b050b7e17aae7a67d53ec4e106124a1d3b3a42315269d4"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/apphtml5/modules/Customer/block/account/Register.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"80fab8d409d550ed91f80b54de1c32e049c0550e40cbe29eff23747e3a7ed19c"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/alipay/aop/request/AlipayEbppPdeductSignCancelRequest.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"aadde7a795a5805e8a699d7fa26042e24a35d4328278b59ce4c61bfde4c0b8ee"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/google/lib/Google_Oauth2Service.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9dd7422b3302de567c9b9b3218f1f1431f6482c0d628b65e7782558abf08a7d"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/alipay/aop/request/AlipayOperatorMobileBindRequest.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec5924d8d237fbf7e8d648d7a51f60686de6f31dd137f4e261c25ad3bb01c867"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/alipay/aop/request/AlipayZdatafrontCommonQueryRequest.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1aac9841d4845b9b6f7fa3cd2c5a15c668a6b9a413825992f34c59ccce26b6b"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/alipay/aop/request/AlipayEbppBillSearchRequest.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c9e166b50532863d9aa3866daf2f1cfbbb518e1bd562b85a30cd16b9f7054af"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appfront/modules/Customer/controllers/TestController.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d602ba894ed1bebb57478196e419e0894c38f5dab8e4c6fe4d59699c629d7e5"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/alipay/aop/request/AlipayEcapiprodDrawndnRepaymentrecordQueryRequest.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"828c64865e2c6a755d7ce1093b0bd0d550b01ed0a3818ce5ce42b7b72511bdce"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/apphtml5/modules/Customer/block/account/Login.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"655e4c51956140929ec00746f251251e4e9c7d3f3e8537b3b590396938cb976e"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appfront/modules/Catalog/block/product/Review.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bd3f7d6684003b638468eb9b3769964c99cd630efdc99c37f2942c29ae32ae7"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/alipay/aop/request/AlipayPassTplContentUpdateRequest.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a93fa134f7e0b22326fb6f174081f043abea01c2c1d1d5ee7ab86521ab2cc15e"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appadmin/modules/Fecadmin/controllers/LogoutController.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"37021643d09f2e578e560a162ce578db24d7592912aca595084631deda567555"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/alipay/aop/request/AlipayEcapiprodDrawndnFeerecordQueryRequest.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ade84a48a944e9b849e6be6ca7f1583804f688a1f37e7d42d5b2a852f80679a"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/apphtml5/modules/Catalog/block/product/Review.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"08d1fc6595b2d185334122a47e4f34a10dcdf68d0f17ea7cfc46d65ab8eb1e8d"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/alipay/aop/request/AlipayEcapiprodDrawndnLendingrecordQueryRequest.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d78d01c5c9d5fb3d34c0c096a6b3afd483e73876df5676841bfa4a9afab64927"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"models/mysqldb/Order.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fee2fbe7e2a029d33a8a7a71951c0ca4a9951726f97cdfc41aa9c1799708df18"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appfront/theme/base/front/widgets/header.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a0d75e163de0e627a7641df2ec0742d5593f852c67b87cf24e3ff2e3c64230e"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appapi/modules/V1/controllers/CurrencyController.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4609560173d3150705c9a43d9b6463dbb043343b10189cad41c3d317fd925ba"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appfront/modules/Customer/block/account/Forgotpassword.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"14e19c5e551b0ecd12474fb62161ef1d949c6750343599cb7bc8e3f8f2bc3ca7"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/apphtml5/modules/Customer/block/editaccount/Index.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"93efd0abb69f5ca3487932e7129f2f53226ab6d87bfcadf6ca17ddeda6093ff6"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"models/mysqldb/Product.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"81a4a1c651b2a661e7c86a953cc21f1f5e698138b2a91a3ca0cd57930fb6d9db"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appadmin/modules/Fecadmin/block/role/Manageredit.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"59b1917a69b38f73c5f510709015439ff502beef19002160d41acbb2b16354aa"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/apphtml5/modules/Catalog/block/product/CustomOption.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae4d91beedd9b24a9eac5c54d204acfa9336a68bd2c6dfec262b1cf321b43b9d"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appfront/modules/Catalog/block/product/CustomOption.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"08fe1c27e40f9e5658ca9d49650199d00f156f6823bc1b01511b4a35a8801e5c"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appfront/modules/Customer/controllers/FacebookController.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec611919a00d9531e6c14a66cd05db82ea6b0de032604d795621b832d579075c"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appadmin/theme/base/default/catalog/productupload/manager.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"364a3f57155951b09d32a58adf1712e00889e3efbc02aea9eb1546fd69ae8749"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/apphtml5/modules/Customer/controllers/AjaxController.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b01a319f5f3af45080da2b06f1cc1351be573e16f93830e97d197cb811452180"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appserver/modules/Payment/controllers/Wxpayh5Controller.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b452f98ea4902628b1f541e7bc405c26b129a30c348b9a0759068d91fa997cd7"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appserver/modules/AppserverTokenController.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e814a34a5e2a283a628258dafe91fc28513b6166a3c1053a845d2776cc34a08"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/apphtml5/modules/Customer/controllers/FacebookController.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce76551b223b2b6b3b1849152b58e30c2dd3ed4cf1ef930d3e7f7ae3d96c978b"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appapi/modules/V1/controllers/LanguagesController.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fc449f27355515ab27ec5fd411a80f290b576b727f8b1e63a617c0964c8041c"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"yii/web/ErrorHandler.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d1052b41c3d119ac33dd337e5bda76705afd5dc80d587f7839b1dfdae0141ee"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/alipay/aop/request/AlipayMicropayOrderFreezeRequest.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"058b2395651cbd7aa0b705e559fc21d5243326a9114042ea700aabec661db010"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"services/helper/errorhandler/ErrorHandlerMysqldb.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d6e9fe2efbeeb9185e0f98f6b40cc373530762201564b6dbf2e87435adaf4b8"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/apphtml5/theme/base/html5/customer/address/index.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9bae0c769d7f72e9e60aa75c862b37596d4032ff242e888ac3eee97dce3f44a"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appserver/modules/Catalog/helpers/Review.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e082067a9e8ee4106438383f0805ffe5ee26ce2c229ae072db034576777215d"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appserver/modules/Cms/controllers/ArticleController.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"11bf6393acc004311063297f7cbe8a0b628e9db6497191840f637ef230f95121"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appserver/modules/Payment/controllers/alipay/StandardController.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ece6a3a918fc6629f9d5f151e3bf3dfee8bbd22ae7b066845a5e62d83571dbb5"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appadmin/theme/base/default/catalog/categoryupload/manager.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d103ec51abfd764d44e52deacb010fab7f0e56309b44affed6ec3f8e1984b38"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"services/customer/newsletter/NewsletterMongodb.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0beca85f9f3373eeef18da967b40e0ae490de88b6cf0724235f4bd7cc4126bbc"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"services/customer/newsletter/NewsletterMysqldb.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef04c558e346cee7cf343b0b4724ed19599baff3af9bda86bb686a43524a154c"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appfront/theme/base/front/customer/productreview/index.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0eaa4d937c99dffc7aec6d0e20b0528e5e09cdd9719c3f5893f1cd41da45ed5"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appserver/modules/Customer/controllers/AccountController.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e324c3434c533c1b61b756b14343e247901bf16c57a9b19e2ffe817171deae4"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/alipay/lotusphp_runtime/Url/Url.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f22c75cffbd18bc7b7af4a783087bd4bf2fe9f85ac3ffb83ecb5a79a2922ac83"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"services/customer/Newsletter.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5dd738b10aa250c904acf28b4fa6d7bbea078a285b105be2b29ca18ca54abcba"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"services/helper/errorhandler/ErrorHandlerMongodb.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4642e9d3ba301970ba201dde6ef102f8d31ee509016988082b8589db6121b9b4"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"services/page/Menu.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a452f88a4840094c0d7b2130ede75b7279159de584234a1e4ef84746cd95eb2"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/alipay/lotusphp_runtime/Session/Store/SessionStoreSqlite.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"94618b64d90b432bac6079c8caf8de9bc611aea7e80c86af655ba9ef1c96501c"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appfront/modules/Cms/controllers/ArticleController.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddc712f239e997829c99ba5287ddf55b897cab196f847e2656b70dd536500bb6"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/console/modules/Category/controllers/MongodatatomysqlController.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ad2ec2eeea04342c9a9addd83652c560f29c73c45ce939229032096be9001b6"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/console/modules/Category/controllers/MysqldatatomongoController.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4947601bed7e13e1ab280477d14bb320e0131214e76bbd3b31d4a193602d18b"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"services/admin/SystemLog.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5715d342d1342698aa8674f3f65a9aeb40de09a60bf13b5757340dc09da6fb9f"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appadmin/modules/Fecadmin/block/config/Manager.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a66e448d6bf39154748f4e765a7689d497183d0bf85207f224e81c6f42e50990"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"services/admin/Config.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0940da1936005bd66fe99ada7c9dda4935c9247ddfeec306a18bbe6d420810f5"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/apphtml5/theme/base/html5/payment/paypal/express/review/review_order.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d5863283dd5fd034c048591ee7099a682caa556012be1c01ad092343119bfdb"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appfront/theme/base/front/checkout/onepage/index/review_order.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e9afd11df42ef69cdb2bee7d7156f4e95abe229e6a3d269e5c0d9416db94ca7"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appfront/modules/Catalog/controllers/CategoryController.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e51493b6ce6d55bbcec6f08553085cfe177deef771ccf471c3d6edd8c926a6b"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appfront/theme/base/front/payment/paypal/express/review/review_order.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"25140c28d8c7425a0ebe45ea10ebb4fd25d776dba021f57ad55ad73b31e54693"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appadmin/theme/base/default/layouts/login.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"43491e0a9a573794a43aa154a80f9b1f2ebac9b8b1d7bb06fb4fac52946e4b61"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/apphtml5/theme/base/html5/checkout/onepage/index/review_order.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6c53eb2eaed2865e7c46d9e339b1d016085542c22289df2eb56c01f9d16f67f"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/console/modules/Order/controllers/ItemController.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e626c28b0a55c00dca968d47abac34a249877452e7aed8766abbbcd310902a9"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/alipay/aop/request/AlipayMobilePublicAccountResetRequest.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3dff216658332e21019a8695f54eb4df7a32bb738b4df3e6b8f2e30cfa18eee5"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/alipay/aop/request/AlipayMobilePublicAccountAddRequest.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"637acbc6f0a175dc1a5d4246ab81ba613feaad2a7aaf5a086a76c85eee4c6c11"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"services/page/Message.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8dc99f53e5cfc39919d4ed09946d985aa0a6ad987f5b0f9dc258b89c69e84d5f"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/alipay/aop/request/AlipayMicropayOrderConfirmpayurlGetRequest.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"40955f69f5725777611b188d958b51e223b9b060736a73ef3496e9525d7bbb49"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/console/modules/Product/controllers/MysqldatatomongoController.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3c8d2a80c00ebbf90e5e2db4ecea87ed6e1c677e9b1b015a87d479b8ff6eecc"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/alipay/aop/request/AlipayPassTplContentAddRequest.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5129a53550e4c6485b3be80adadf9245b4200815e36ca2bc1b10da22de6f579"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/alipay/aop/request/AlipayMicropayOrderDirectPayRequest.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"96356c3472a3ac6d28cde1d515d55c8f256b0202bab04c63eb7f9e3d0cde3975"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/alipay/aop/request/AlipayEcardEduPublicBindRequest.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab1d26a30a71ad6fc036c7cc5aa8266f6176e8ac8c663cb93d5003a1ab428eec"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"models/mysqldb/customer/CustomerRegister.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6217c9b0891af0d0ca30e1925b2160cd05dd505477c528bfd643f792a36a1bf"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appfront/modules/Payment/controllers/wxpay/StandardController.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6663b4f552773b437d0300918fb66115ca14e2d080f5f47779228e7c8e4c11c"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/apphtml5/modules/Payment/controllers/Wxpayh5Controller.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d6bffffb7ce8416a32317db941cff8d0727fd3fc933a4431305502bece00afa"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/apphtml5/theme/base/html5/customer/productreview/index.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7adb849a0dfe8bae3005d3f96c27cf5a48d8a96f47ce27f06011f8c64f17fa91"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"services/email/Order.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d6d76fc926935ad290d2518d608e1b51de480d7c3a713ee8b1f70a1dfdacde9"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/apphtml5/modules/Customer/block/account/Forgotpassword.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"985c58395397b7af263d9e00ee614810cd2df44eaf608ce23d3e073cdc1be686"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"services/extension/generate/config.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f52e58bc6465c44be0dd01a61c0ba88abe4617e3d470cc7a31b5b6b4a2f6f41"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"yii/Yii.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b79b1c8822b33a6096067c54405a90b59d56fb3730c865a5139e509f7798893c"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/alipay/aop/request/AlipayAssetAccountBindRequest.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"43a66ea9683186abcc664a209d85607de01a6aebab274395ff39ae35c7297ae4"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"services/extension/generate/administer/Install.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"62b469c5923757d2c969740ecedd06401d2fa8ca01c3882f8c68e5dd036d568d"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appadmin/modules/Catalog/block/productinfo/Imageupload.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"aaa3d9b308d83a6a2bc7858aeeb2c87a794643f6cd2c72c3c7229cacaab6990e"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/alipay/aop/request/AlipayPassCodeAddRequest.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0122feb1942b8e6109408bd893800146de9c554f3021fb6f4ee610eb33dbeca0"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/apphtml5/modules/Cms/block/home/Index.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e27fdf14960e78464f1f3f1d8f9a877b854cd7b81049b98efa8409013bcb6a51"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appadmin/theme/base/default/config/paymentpaypal/manager.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"37da2f59ab9be56565f14e5ee6e8ecc76a03a4500e3df5a594d47efe2a6bf6c8"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appadmin/modules/Fecadmin/block/role/Manager.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"deb74877e9818c719a21580d9017508ddf4f343ad737ff32651e5942c223d64b"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/alipay/aop/request/AlipayUserAccountSearchRequest.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9da2832d8cc423c4736bed90d886a509a8364db1e5e0944f23dfc60038f69ee6"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appfront/theme/base/front/customer/order/index.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2b64905b2dd87cf3b2b0634b5d989e6b6da73e0031ac6d07b8c1f88fa719967"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"models/mongodb/product/Review.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf1d4e70f76b72c6f4cb3b3c5518c3a741c714555fe8965e9fa39233fc790526"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appfront/modules/Customer/block/account/Resetpassword.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2639fc01a399f785ac6af4d4abb84a095b05992fa71220751b3ec4aea9a47794"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"services/category/Image.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfe71d77f1b600007027e02850c657de0563324520ab9a68b5b1070c55ac1b56"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"migrations/mysqldb/m170628_052812_fecshop_tables.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b68d262e07dfc630be23be079df88747a14674b868d0da9b906909d4fa9ff6d"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appfront/theme/base/front/payment/paypal/standard/start.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"678e48675dbd60e7e4316b245225fc24a90f685b08c47e1a37978e03625b7287"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/apphtml5/theme/base/html5/payment/paypal/standard/start.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e2479fa5b5c58b32d58aaa60257b66c5a76e5981b94fa5e6288475606f8ecae"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appfront/modules/Customer/block/address/Index.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a43fee1e205db4ee84488bfbde9884000bf9357f9ab496d0540dfa78d3230fc0"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/alipay/aop/request/AlipayMobileRecommendGetRequest.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"74e5ed3083d6aa33753cf7b78783960bd1204279cbefc2b5aee2818cfe4fe21a"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/alipay/aop/request/AlipayEcapiprodDrawndnContractGetRequest.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3240a20fafc54572369de184c783afac2948bd692af4b740ff7795576c6eb83"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appserver/config/appserver.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4fc15909d31ad407485479ec355932814e392ae0417dcd130c9461690e37269"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appadmin/modules/System/controllers/ExtensiongiiController.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3549d2761f83be13a2a774ca155ed3744961958a1de22e800d862443609feefc"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appserver/modules/Payment/controllers/WxpayjsapiController.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f27cbc9b32f8016f4d585a0553fd690b648c80d8bbc772503b7a0be309543e5"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/alipay/aop/request/AlipayEcapiprodDrawndnPaymentscheduleGetRequest.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf098e35d4aebd75bebdb734d331da45c91fcac915570c4f2633ef6e9732bf8d"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/alipay/aop/request/AlipayEcapiprodDrawndnDrawndnlistQueryRequest.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cce97786a131c88b4dd089e05edb2450e8212f0f31f18ab8f164d82184f03e75"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"services/helper/Errors.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"88034dea660d00a162219a4fa50c371f7be91fb87580b872ab71034c39b3d0bc"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/alipay/aop/request/AlipayEcapiprodCreditGetRequest.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e054afe872901a502d88f2fb00cdee107f88d4112cd991a0fe03fb93fb64d63d"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appfront/modules/Customer/block/productreview/Index.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"de8436dfcb72d5b168c8d3ff6d726a1313e08fb4ee22323196a7d328d3747ae3"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/alipay/aop/request/AlipayAcquireCancelRequest.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"90938d5056a93ae800ed4c7dac258875b34aabecfa916092f27b3da1a23062e1"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appfront/modules/Cms/block/home/Index.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f69193bf6e9df1d56d9b125933646a27b29149127b4f1064e793598659696115"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appserver/modules/Customer/controllers/GoogleController.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e25fb090a65ebf3eb43e80178d921e87b8f25798cda0427e4186739be46d2d0"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/alipay/aop/request/AlipayPointOrderGetRequest.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"63a5fd609d3c0fbd4d1b50aed23f8a257aeda75aa74bdef23ad252bf240b1749"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/alipay/aop/request/AlipayPassFileAddRequest.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"287e29e1a6df96e6b90786e0ae6ed1bc78e2cb72b24126305a1a234a513feb73"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appadmin/theme/base/default/config/apphtml5store/manageredit.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"920401943af7c64035d9eef2847085531ad0957b4a259b88f10d8df3c33c9211"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/alipay/aop/request/AlipayOfflineMaterialImageUploadRequest.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1abf10e9260495c0d1dd67b844f8eae6979ad1a481c67509894bc3ade83ec9ba"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/alipay/aop/request/AlipayPassCodeVerifyRequest.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfdd756c22edd95d8a2ebf8b573e4bd3bee58d92ac0728bf55ce789f4cbf6bd2"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appadmin/theme/base/default/catalog/productreview/manageredit.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"53e53c2a14d9bb67c93101d610871c154c463da770baa5e821393ca7bf6af22b"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/alipay/lotusphp_runtime/MVC/Component.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd80490bdf747ae4145f43861b42218fba9c6ef2be88d915979db40ebe10cf00"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appfront/theme/base/front/customer/account/index.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"76b4e1f16784a354a82a95d16342c62a4529e4d7fc244f121fc294a96b8a3d83"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appapi/modules/V1/controllers/CategoryimageController.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc5c67c57c40b2e965a4de61b63e6345a5e7b8d81fc311688860c1fc487779a2"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appapi/modules/V1/controllers/ProductimageController.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"40bcbfec9a001bcc53d21bbb457b961e9bcbb00828ef3eddd72810d5d756dbd7"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appserver/modules/Payment/controllers/paypal/StandardController.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5438348aaedc83f07cc97387e3c26c3ea2526c82861315c54745a4f5d236b0f"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/alipay/lotusphp_runtime/Cookie/Cookie.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d1aee9a2cb818c049afe6a6005c606885abeaf59921fd3f2cd658e75b814487"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/apphtml5/modules/Catalog/controllers/CategoryController.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc2c974b17996638411d1abe34db9ab1af2ebc1a0f421af0b2e0a0043e0abd80"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/apphtml5/theme/base/html5/payment/wxpayjsapi/start.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5504a06f659f2951d85f6ceb4c27104077e488c908a8063e726f17dfc2ac9dc"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/alipay/aop/request/AlipayPassSyncAddRequest.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0983b589580f0c23074af51f853ae3f559f095e5354592e1873c74f29db01f5"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/alipay/aop/request/AlipayZdatafrontDatatransferedSendRequest.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f70039422d9e6fa95fdde53841484f8db8338414b0b0af38a7235fecbcf4b591"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/apphtml5/modules/Cms/controllers/ArticleController.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"544e455aa1108a67f199ec81f993ea450f41f2750dd5bbc0bd7974189b034806"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appfront/modules/Catalog/controllers/ReviewproductController.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"100ccb3628ff5cd5c96086398da4e76e10bda350baebc58c61d81e463759ff4e"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appfront/theme/base/front/catalog/product/index/options.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd9ebc0724f94c27be573ac6adfb4e124c64fe6495c72a5eb017253742df9fb5"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/apphtml5/theme/base/html5/customer/order/index.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"86db4e054c6e5035828af619d57e8a90ee59617752a1c242721abf745f46cf0b"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/apphtml5/theme/base/html5/catalog/product/index/options.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8636d462999ae2b5341140d74499d7b4a4d2e18a2bc182101fb69ea22bb5fc9"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"services/email/views/customer/account/forgotpassword/body_en.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bf00b460235e8fa7043f9b607feb7dff80f2ef4ac5d0b15048072b750502859"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appfront/modules/Customer/block/order/Index.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d05a47d634516bb2605a16b32a6806fdb4f32660a4ad720a84a564f4eae68a94"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"services/extension/generate/administer/Upgrade.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7f8fcc041df61f3a3928fda639e37fa5bdd0e663a76c0705f571e0596342dd5"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"services/email/views/customer/account/forgotpassword/body_zh.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c982a9948443feb1ab5d59336daa49a12e2b9616d58dec5f49552e4ba7ea1ff"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/apphtml5/modules/Payment/controllers/alipay/StandardController.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1be8b8bda027dea8e4a4602a4e89f37f5226e619461fc7ccbdfd0211ab777362"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appfront/modules/Payment/controllers/alipay/StandardController.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"33fb23161ca8da2fdc715fc8e03af57ebef0ef1fb98ab121f1a30baee68a1752"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/alipay/aop/request/AlipaySystemOauthTokenRequest.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5336d9bd594a7b69853f6b4e2874076a55cbee3283a7af9bdcea3d62fb00e6e3"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appserver/modules/Customer/controllers/ProductreviewController.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb3d753475cbe50e830aa66091fc2cf090c84a1998242de0993db27455fe3a02"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/alipay/lotusphp_runtime/DB/Adapter/SqlAdapter/DbSqlAdapterSqlite.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"927635c6fe96c112e0d9d4738f8c3361011fd4835ce606f23565350b099045c3"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/wxpay/lib/WxPay.Config.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9087a12a6b316118cd07709b000a23935adbf76710ba621c597c9e3f8beebce5"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/alipay/aop/request/AlipayAcquireCloseRequest.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"41724623980d1ef5272d21a1da5d07f491cfa7d90ca0c5a052aeac83904ea523"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/apphtml5/modules/Customer/block/account/Resetpassword.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f15bcdbcc3afb84374a292dc3ad822838193107d1e817cb1c7b122dd761ddb89"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/apphtml5/modules/Customer/block/productreview/Index.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca4b1789cc39305fdbf0d1d6cbbdb854847c0d231e8f36351572691cd16806ae"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/wxpay/index.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"10d18634d5c08f9cec0733db7882f0a589ebed06b30466929614a8d8aee632bc"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/alipay/aop/request/AlipayOfflineMarketingVoucherCodeUploadRequest.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8afae35bd36e53507d9f84ccedbe5e42a1e3c0cd8cb75a2a5009f239064e93b7"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/apphtml5/theme/base/html5/cms/home/index/product.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"18d69918e5ce1edd3cb49121e109e1b9b3cc3567f9a088644dd8b339f6226e45"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appserver/modules/Customer/controllers/JwttestController.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"92c395dfe8bf105833387fbb2bfbe653f5c1c4ccba1c86ee5bed5f27e1f72545"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"models/mysqldb/customer/CustomerAccessToken.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bf4ea0a25ddf2a65a009ff939effeb3db297dd5406181a2378a0a9721ecd6f7"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appfront/modules/Customer/controllers/GoogleController.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c895d4125be52fa6996134f133dbc2de5e6778811e5bec18e91ac93e7d046c5"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/apphtml5/modules/Customer/controllers/GoogleController.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"20c454988a022d5b2f05f43f6e4988e56f40bfed176abdf379c8fe38faf066ae"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"services/product/viewLog/Mongodb.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"063a721df480fd1679a5f2c697c6e5386f24265b1218a9adedb60fc3b0eedc3c"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appfront/modules/Payment/controllers/paypal/ExpressController.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e67df4bf3aed10450ac97abe02ca6cb415d1c52bfab23c0fd83e2ac76879ed51"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"migrations/mysqldb/m200608_081516_fecshop_tables.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0651b09c98154aef0215181414734d4f298d95bb9e88cee60d3284da94171799"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/wxpay/lib/WxPay.Notify.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"95263d6106ab678c338cc10e943b00e86dd4cb6ce82f6ffcfeb882d639574b3f"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appadmin/modules/System/controllers/AdminurlkeyController.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fa1777c35e4eb0bd1bc8344866d7e10178705a2e8a1de80c10895eece6cae42"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appfront/theme/base/front/cms/home/index.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"722d671dfeef1da44f5414b315c31a20d7fcc870dbd443d5a30bf5a828cc9789"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appadmin/theme/base/default/config/appfrontbase/manager.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"18b664e8a1954b9f22ffe09da73b0e4b7b647226c7262f83651f6f1334ccde65"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/apphtml5/modules/Payment/controllers/paypal/ExpressController.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c4661f8ad34decb3eaf9659667f24d6414692b6e7a2b0607e220bd2f8df51f4"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appserver/modules/Customer/block/account/Login.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"403cf2af1bf5bc5cc476e9e1a155636384a5e53e18c2dc69783c2029a822bdbb"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/alipay/aop/request/AlipayDataBillDownloadurlGetRequest.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f851f61cb129ad86471a5c30ce550db1b2aef98375f645083b3463419838325"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appfront/modules/Customer/controllers/AjaxController.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9b2a1a3c32b1e5726ade510f3b18a3a43a811e710a400d9c710c5550f10a5f0"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/console/modules/Product/controllers/MongodatatomysqlController.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b72c402581b95b8682c12e1ffa5c84cef508b3abf62b8a5e7fe52a0fd9b4a363"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/console/modules/Helper/controllers/UrlrewriteController.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c80933578b0ee96c2c713ac8a57705a2bf5f524adc21e83ff10b673724de823e"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appadmin/theme/base/default/config/apphtml5base/manager.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8743f73feff1650f9dbf4afe50d43765cae38f6173fb7d8483c3f9ab2fc06d72"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"services/category/Menu.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a6ecfee1f61a220c4a652a9063020bdb473a5b6375d981b4dc7d32cd76f9c25"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"models/mysqldb/adminUser/AdminUserLogin.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a944877ba1eae30ce7a7ac50aae99088867a34d9856f4b6d173a8091ea3ca244"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/apphtml5/theme/base/html5/catalog/product/index/image.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe08d48b79aa905c0b8b74153f6eb3d733ee0018668ca27ceb08e02ff0c11fda"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"services/customer/Contacts.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"749703da527c24552aee8a45e741bad7bcb23afaf6876212b49244f3d2a22d8b"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/alipay/aop/request/AlipayOfflineMarketShopPublicUnbindRequest.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e3e0e710408a444b746d417f75e01916489b30e197f4aa4b481b4f8d07f133f"}},{"ruleId":"D37","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":"9d03e50e45de791a350ebf595fcb3269575c0543260ac6707c4b73e65639738e"}},{"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/apphtml5/theme/base/html5/assets/js/sm.js"},"region":{"startLine":1340}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5e0ce9af440ca4fd3f2c10e6980195f34b8ff5020fa84793d18553942d745d1"}},{"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/apphtml5/theme/base/html5/assets/js/sm.js"},"region":{"startLine":1365}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bc7fe1cf3a4dd92d97f01618bfd1f3133f5791d0fa22b7d0df7b593e143fe69"}},{"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/apphtml5/theme/base/html5/assets/js/sm.js"},"region":{"startLine":1392}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4740bc8f5e06c5a66d7bb6bfc6fbd8a77b30d5df2910e576ce137349b8fb0bb"}},{"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":"app/apphtml5/theme/base/html5/assets/js/sm.js"},"region":{"startLine":1730}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9f1667b829f69e58ba5dba2b3ebf7213235f64d25a4801bc3f5d37199d2e751"}},{"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":"app/apphtml5/theme/base/html5/assets/js/sm.js"},"region":{"startLine":1732}}}],"partialFingerprints":{"codehealthFindingId/v1":"99d954f7298537897c4c41a00dce99770823c16b761378cf472f3fdcf0c5a93f"}},{"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":"app/apphtml5/theme/base/html5/assets/js/sm.js"},"region":{"startLine":1737}}}],"partialFingerprints":{"codehealthFindingId/v1":"d294a5fcaae1b801acc4221b5a800cf4cd55c0331efdefca01752a3fb67601e7"}},{"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":"app/apphtml5/theme/base/html5/assets/js/sm.js"},"region":{"startLine":1739}}}],"partialFingerprints":{"codehealthFindingId/v1":"2373489730d82a023977d71aa51cae0a2eb2e7f80062168912d6a771527ad34b"}},{"ruleId":"AC7","level":"warning","message":{"text":"Accessibility enforcement below the top rung: No accessibility enforcement found \u2014 no automated accessibility check runs over the HTML your app renders. Assert the accessibility invariants over that HTML in the test suite you already have (parse the output and assert, or drive a browser), and gate that test in CI so a regression blocks the merge. What was searched, so you can tell an absence from a miss: the 1 markup file(s) this pass actually assessed, the linter configuration checked in beside them, and this repository\u0027s test and CI files \u2014 matched by name against the accessibility checkers this dimension carries. An audit run outside the repository, a hosted scanner, or a check whose name is not one of those, is not seen here."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"d46019b86eff5ddad9db289e6802ac158899e980df54c34f67722442787ead62"}},{"ruleId":"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":"P1","level":"warning","message":{"text":"No CI pipeline: No CI workflow found (.github/workflows, azure-pipelines.yml, .gitlab-ci.yml, \u2026) \u2014 changes aren\u0027t gated by an automated build/test."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"44f01af96e50474fba2df84d95ddf4f7e1d34c29c307830b9efc9057daa6b670"}},{"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) \u2014 this repository has no CI pipeline yet, so run it locally to clear the existing findings, then make it a step of the first workflow you add so a regression fails the build. What was searched, so you can tell an absence from a miss: the 0 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":"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: \u0060curl_exec(\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":"lib/alipay/aop/AopClient.php"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b7dea27420d9e2487408ac408075c1d8875a026206c6c6f9c29d0a03ed84343"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060curl_exec(\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":"lib/google/lib/io/Google_IO.php"},"region":{"startLine":557}}}],"partialFingerprints":{"codehealthFindingId/v1":"9551faf228b45f5c99f243d62fd566014c360f3b0d70943850aa7bb7a5f1f129"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060curl_exec(\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":"lib/google/lib/io/Google_IO.php"},"region":{"startLine":564}}}],"partialFingerprints":{"codehealthFindingId/v1":"8df79999263cb9e01ee377807b5a499832baeb52df17ded221b7147ac028d9f5"}},{"ruleId":"R1","level":"warning","message":{"text":"Type Safety: 0 typed \u00B7 8 plain JS \u2014 the untyped files are app/appadmin/theme/base/default/assets/js/appadmin.js, app/appadmin/theme/base/default/assets/js/jquery-editable-select.js, app/appfront/theme/base/front/assets/js/js.js, app/appfront/theme/base/front/assets/js/owl.carousel.js, app/apphtml5/theme/base/html5/assets/js/fec.js, app/apphtml5/theme/base/html5/assets/js/sm-city-picker.js (\u002B2 more)."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"d00ee7953f55325a823d27e5db9657c80ca9b9861c0c0abf8fe487cd3fa586d3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (79 lines \u00D7 2 locations): app/apphtml5/theme/base/html5/assets/js/sm.js:1863 \u00B7 app/apphtml5/theme/base/html5/assets/js/sm.js:1976 \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/apphtml5/theme/base/html5/assets/js/sm.js"},"region":{"startLine":1863}}}],"partialFingerprints":{"codehealthFindingId/v1":"35ef7be748bdbb0fc6963728b78fb6ef563493ebc264c252acd798a944bffc2c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (33 lines \u00D7 2 locations): app/apphtml5/theme/base/html5/assets/js/sm.js:2721 \u00B7 app/apphtml5/theme/base/html5/assets/js/sm.js:3352 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/apphtml5/theme/base/html5/assets/js/sm.js"},"region":{"startLine":2721}}}],"partialFingerprints":{"codehealthFindingId/v1":"98d6d7152f55c1767e30ad3b9f2f270fe6bd6b04f6e65a1f1bd466aeb4919efd"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2 locations): app/apphtml5/theme/base/html5/assets/js/sm-extend.js:1493 \u00B7 app/apphtml5/theme/base/html5/assets/js/sm.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":"app/apphtml5/theme/base/html5/assets/js/sm-extend.js"},"region":{"startLine":1493}}}],"partialFingerprints":{"codehealthFindingId/v1":"519f216b2d71e38197336ebf0accc91f2c91c2a76d92146b544622ce66c0159e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2 locations): app/apphtml5/theme/base/html5/assets/js/sm.js:1352 \u00B7 app/apphtml5/theme/base/html5/assets/js/sm.js:1379 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/apphtml5/theme/base/html5/assets/js/sm.js"},"region":{"startLine":1352}}}],"partialFingerprints":{"codehealthFindingId/v1":"95923286f2024fff1eeadc3819b81ece9b39bf876805e8c8bd9b404482537659"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2 locations): app/apphtml5/theme/base/html5/assets/js/sm.js:5254 \u00B7 app/apphtml5/theme/base/html5/assets/js/sm.js:5394 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/apphtml5/theme/base/html5/assets/js/sm.js"},"region":{"startLine":5254}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6bfe6bcd17c5f0bba121543f25199e91321e3c2a929d151e42d3d5bcb409f44"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (19 matched lines \u00D7 2 locations): app/apphtml5/theme/base/html5/assets/js/sm-extend.js:652 \u00B7 app/apphtml5/theme/base/html5/assets/js/sm-extend.js:690 \u2014 the two spans are one implementation copied and then locally edited \u2014 153 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/apphtml5/theme/base/html5/assets/js/sm-extend.js"},"region":{"startLine":652}}}],"partialFingerprints":{"codehealthFindingId/v1":"3574b96d18a15e473098e82122c2c29cc0b41269b753ef86cb3b642efee2ec55"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2 locations): app/apphtml5/theme/base/html5/assets/js/sm.js:5589 \u00B7 app/apphtml5/theme/base/html5/assets/js/sm.js:5613 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/apphtml5/theme/base/html5/assets/js/sm.js"},"region":{"startLine":5589}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a9e339642019f6f737c131d861c3f4bdc43c1d6f79eae600a7f3bfc803d6a6b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): app/apphtml5/theme/base/html5/assets/js/sm.js:5648 \u00B7 app/apphtml5/theme/base/html5/assets/js/sm.js:5667 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/apphtml5/theme/base/html5/assets/js/sm.js"},"region":{"startLine":5648}}}],"partialFingerprints":{"codehealthFindingId/v1":"14ae91c9d37daebb3f4d5b556e3e8bbda0e4f80095e507f2edbe233536cc8ab5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): app/apphtml5/theme/base/html5/assets/js/sm.js:2824 \u00B7 app/apphtml5/theme/base/html5/assets/js/sm.js:3437 \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/apphtml5/theme/base/html5/assets/js/sm.js"},"region":{"startLine":2824}}}],"partialFingerprints":{"codehealthFindingId/v1":"0840b6874ece7d00ec1f5e60b1a3560c231a10a51df69f5b2f2901d949f73154"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3 locations): app/appadmin/theme/base/default/assets/js/appadmin.js:1 \u00B7 app/appfront/theme/base/front/assets/js/js.js:79 \u00B7 app/apphtml5/theme/base/html5/assets/js/fec.js:7 \u2014 the 3 copies are spread across 3 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another. There is one copy in each of 3 separate files rather than several in one place, so check first whether these are sibling modules that each declare their own version of one shape \u2014 one per entity, per provider, per language. Where they are, no single extracted module collapses them: each module still has to be written, and what recurs is the TEMPLATE. The moves that do collapse a template are to generate these modules from the set they enumerate, or to replace the repeated construction with one factory each site calls with its own values \u2014 and where the set is the point, each module pinning one distinct thing, the repetition IS the enumeration and there is nothing to delete."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appadmin/theme/base/default/assets/js/appadmin.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"36c28c735f03aead8a83ec6ede9cfa9e4846b25ccb7b58e8319f97fc5b98011d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): app/appfront/theme/base/front/assets/js/js.js:79 \u00B7 app/apphtml5/theme/base/html5/assets/js/fec.js:7 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appfront/theme/base/front/assets/js/js.js"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"ede00c849ae668395708f682d5ebe2c9a42f934ef75b11273bc7fc2156975948"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): app/apphtml5/theme/base/html5/assets/js/sm.js:2464 \u00B7 app/apphtml5/theme/base/html5/assets/js/sm.js:2544 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/apphtml5/theme/base/html5/assets/js/sm.js"},"region":{"startLine":2464}}}],"partialFingerprints":{"codehealthFindingId/v1":"6353a08acc9f293885f29e7527507a3bfeaa8489296c74fd1d5447ed6312fa39"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): app/apphtml5/theme/base/html5/assets/js/sm.js:2766 \u00B7 app/apphtml5/theme/base/html5/assets/js/sm.js:3398 \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/apphtml5/theme/base/html5/assets/js/sm.js"},"region":{"startLine":2766}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa794416c7ec93d1b34aae2c55b53bc0fa9a75ddaeda2ecb7adc9954cc393f23"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): app/apphtml5/theme/base/html5/assets/js/sm.js:4637 \u00B7 app/apphtml5/theme/base/html5/assets/js/sm.js:4654 \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/apphtml5/theme/base/html5/assets/js/sm.js"},"region":{"startLine":4637}}}],"partialFingerprints":{"codehealthFindingId/v1":"eaea636381ab0ef39fd007b87fd3c3252eb1f4013f8578ef148052f8aa599fe7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): app/apphtml5/theme/base/html5/assets/js/sm.js:7625 \u00B7 app/apphtml5/theme/base/html5/assets/js/sm.js:7652 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/apphtml5/theme/base/html5/assets/js/sm.js"},"region":{"startLine":7625}}}],"partialFingerprints":{"codehealthFindingId/v1":"0468f544fa4fa82bddf90241ce0fe469f44f35267b4ad3be32e16e0ffea68c36"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): app/apphtml5/theme/base/html5/assets/js/sm.js:238 \u00B7 app/apphtml5/theme/base/html5/assets/js/sm.js:252 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/apphtml5/theme/base/html5/assets/js/sm.js"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"acbd04e88f19b7dba749b8e9d89da1822044e50863ad0b4f978f2f453b789bd2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): app/apphtml5/theme/base/html5/assets/js/sm.js:2894 \u00B7 app/apphtml5/theme/base/html5/assets/js/sm.js:3479 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/apphtml5/theme/base/html5/assets/js/sm.js"},"region":{"startLine":2894}}}],"partialFingerprints":{"codehealthFindingId/v1":"dce8f206c714acb6852a375bce547f445eb16916099c5bfebbcf26378318a4cf"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): app/apphtml5/theme/base/html5/assets/js/sm.js:7141 \u00B7 app/apphtml5/theme/base/html5/assets/js/sm.js:7325 \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/apphtml5/theme/base/html5/assets/js/sm.js"},"region":{"startLine":7141}}}],"partialFingerprints":{"codehealthFindingId/v1":"1518fc640a620785c658d48d2308a587c2605e25950f32d85d280342c08b11ef"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 4 locations): app/apphtml5/theme/base/html5/assets/js/sm.js:1314 \u00B7 app/apphtml5/theme/base/html5/assets/js/sm.js:1329 \u00B7 app/apphtml5/theme/base/html5/assets/js/sm.js:1354 \u00B7 app/apphtml5/theme/base/html5/assets/js/sm.js:1381 \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":"app/apphtml5/theme/base/html5/assets/js/sm.js"},"region":{"startLine":1314}}}],"partialFingerprints":{"codehealthFindingId/v1":"67806e702d70dd16650d012ec1a1f08a530346e5bdf268e6356ad94722306d17"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): app/apphtml5/theme/base/html5/assets/js/sm.js:2484 \u00B7 app/apphtml5/theme/base/html5/assets/js/sm.js:2582 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/apphtml5/theme/base/html5/assets/js/sm.js"},"region":{"startLine":2484}}}],"partialFingerprints":{"codehealthFindingId/v1":"527826d75e5c4302d442afcfce31af1410aa0bc324837abc87dd0ad0c2ffb356"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): app/apphtml5/theme/base/html5/assets/js/sm.js:2531 \u00B7 app/apphtml5/theme/base/html5/assets/js/sm.js:2570 \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/apphtml5/theme/base/html5/assets/js/sm.js"},"region":{"startLine":2531}}}],"partialFingerprints":{"codehealthFindingId/v1":"35604fda5662c199ac78d3fb77168032acad75d0afb37851e9e9e4156c1a275f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): app/apphtml5/theme/base/html5/assets/js/sm.js:5754 \u00B7 app/apphtml5/theme/base/html5/assets/js/sm.js:5765 \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/apphtml5/theme/base/html5/assets/js/sm.js"},"region":{"startLine":5754}}}],"partialFingerprints":{"codehealthFindingId/v1":"2be7296a90c078599d608a9694ed9f470f8157b91f4d83ba985cf26dfb5fc9b7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): app/apphtml5/theme/base/html5/assets/js/sm.js:5883 \u00B7 app/apphtml5/theme/base/html5/assets/js/sm.js:5895 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/apphtml5/theme/base/html5/assets/js/sm.js"},"region":{"startLine":5883}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4cc6d71a58ce0f1303e79729821090466fc0566c49538c649a9adb3ba342e22"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): app/apphtml5/theme/base/html5/assets/js/sm-extend.js:1641 \u00B7 app/apphtml5/theme/base/html5/assets/js/sm-extend.js:1662 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/apphtml5/theme/base/html5/assets/js/sm-extend.js"},"region":{"startLine":1641}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a0b37548bdd48d3056bfcb21b32d1047f3d653eeb463c109c1a374e2677aa2d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): app/apphtml5/theme/base/html5/assets/js/sm-extend.js:1817 \u00B7 app/apphtml5/theme/base/html5/assets/js/sm-extend.js:1895 \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/apphtml5/theme/base/html5/assets/js/sm-extend.js"},"region":{"startLine":1817}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c92fd0ab9ccda24f5935e9dd6e506cb6750b8c70c259154962b3290b82c33f0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): app/apphtml5/theme/base/html5/assets/js/sm.js:521 \u00B7 app/apphtml5/theme/base/html5/assets/js/sm.js:1140 \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/apphtml5/theme/base/html5/assets/js/sm.js"},"region":{"startLine":521}}}],"partialFingerprints":{"codehealthFindingId/v1":"912b8f4be3e6ca954f900453e9d0c949f268bc164e2a88f04867faae54a90cda"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): app/apphtml5/theme/base/html5/assets/js/sm.js:4815 \u00B7 app/apphtml5/theme/base/html5/assets/js/sm.js:4967 \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/apphtml5/theme/base/html5/assets/js/sm.js"},"region":{"startLine":4815}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ed47523b511f2e40a5ed5cb70349d452a1cd00b9e6732ceab30f69c37992aea"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): app/apphtml5/theme/base/html5/assets/js/sm.js:5567 \u00B7 app/apphtml5/theme/base/html5/assets/js/sm.js:5578 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/apphtml5/theme/base/html5/assets/js/sm.js"},"region":{"startLine":5567}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc78b979f678427b47724075464a15e9ef43bd4966aa47e14b2bcde67fd5d239"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): app/apphtml5/theme/base/html5/assets/js/sm-extend.js:607 \u00B7 app/apphtml5/theme/base/html5/assets/js/sm-extend.js:617 \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/apphtml5/theme/base/html5/assets/js/sm-extend.js"},"region":{"startLine":607}}}],"partialFingerprints":{"codehealthFindingId/v1":"606250ff729be8dfd30372cbd158bca51e65c7378f405400f0ee6f91aa792395"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): app/apphtml5/theme/base/html5/assets/js/sm-extend.js:2057 \u00B7 app/apphtml5/theme/base/html5/assets/js/sm-extend.js:2066 \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/apphtml5/theme/base/html5/assets/js/sm-extend.js"},"region":{"startLine":2057}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0317a161c7a32ec5ffa7cfe064e7b027f9f632642627fb01c589076d7c28b4e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): app/apphtml5/theme/base/html5/assets/js/sm.js:2439 \u00B7 app/apphtml5/theme/base/html5/assets/js/sm.js:2497 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/apphtml5/theme/base/html5/assets/js/sm.js"},"region":{"startLine":2439}}}],"partialFingerprints":{"codehealthFindingId/v1":"7baf6ec5532f49dae8b681e1d3830dd12a7f39e43c5dd2d71bb48c828994aa15"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): app/appfront/theme/base/front/assets/js/owl.carousel.js:125 \u00B7 app/appfront/theme/base/front/assets/js/owl.carousel.js:157 \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/appfront/theme/base/front/assets/js/owl.carousel.js"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"27521de7a96d971448d59e80284700c9b3091095ae457a4cbf3c44c60a59bbff"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): app/apphtml5/theme/base/html5/assets/js/sm-extend.js:1383 \u00B7 app/apphtml5/theme/base/html5/assets/js/sm-extend.js:1395 \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/apphtml5/theme/base/html5/assets/js/sm-extend.js"},"region":{"startLine":1383}}}],"partialFingerprints":{"codehealthFindingId/v1":"161d2d6c7aa51fb11e14403954690a093af92d6618bdb6a8368247bc30582c98"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): app/apphtml5/theme/base/html5/assets/js/sm.js:1494 \u00B7 app/apphtml5/theme/base/html5/assets/js/sm.js:1522 \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/apphtml5/theme/base/html5/assets/js/sm.js"},"region":{"startLine":1494}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5772bc80181fcceae3cfb5e0a2f8a69d3f4de3f68ba4d352fee94ac832b58e8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): app/apphtml5/theme/base/html5/assets/js/sm.js:2450 \u00B7 app/apphtml5/theme/base/html5/assets/js/sm.js:2511 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/apphtml5/theme/base/html5/assets/js/sm.js"},"region":{"startLine":2450}}}],"partialFingerprints":{"codehealthFindingId/v1":"982a5ca236502235d19b40944b9bb012c01b46180e561a7b5cfbe584a190eb83"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): app/apphtml5/theme/base/html5/assets/js/sm.js:5942 \u00B7 app/apphtml5/theme/base/html5/assets/js/sm.js:6195 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/apphtml5/theme/base/html5/assets/js/sm.js"},"region":{"startLine":5942}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8da76897e1cd2942a4fbf68040f14a6bc093e31fe95a8aa1e43008b0ba9dfab"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): app/apphtml5/theme/base/html5/assets/js/sm.js:227 \u00B7 app/apphtml5/theme/base/html5/assets/js/sm.js:234 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/apphtml5/theme/base/html5/assets/js/sm.js"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd6d38302c13b2c0a5006a7f06285cb8ecf9aac1d2ed667cdf05bf0501bc1cb7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): app/apphtml5/theme/base/html5/assets/js/sm.js:2157 \u00B7 app/apphtml5/theme/base/html5/assets/js/sm.js:2219 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/apphtml5/theme/base/html5/assets/js/sm.js"},"region":{"startLine":2157}}}],"partialFingerprints":{"codehealthFindingId/v1":"c13df3b43b28742cbd1bcd6d38963da488a15abb5c5d6ee88d0e8feee57b5440"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): app/apphtml5/theme/base/html5/assets/js/sm.js:2512 \u00B7 app/apphtml5/theme/base/html5/assets/js/sm.js:2551 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/apphtml5/theme/base/html5/assets/js/sm.js"},"region":{"startLine":2512}}}],"partialFingerprints":{"codehealthFindingId/v1":"50d7613decd5ebd81cf0faca532fea042e823e5d9d4dd5ba6dd981d7562b1eb5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): app/apphtml5/theme/base/html5/assets/js/sm.js:2795 \u00B7 app/apphtml5/theme/base/html5/assets/js/sm.js:3413 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/apphtml5/theme/base/html5/assets/js/sm.js"},"region":{"startLine":2795}}}],"partialFingerprints":{"codehealthFindingId/v1":"c138c13eec0ed6883a83d8c25c093f87f89cfa3147c287e74ba607406e40c648"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): app/apphtml5/theme/base/html5/assets/js/sm.js:6081 \u00B7 app/apphtml5/theme/base/html5/assets/js/sm.js:6096 \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/apphtml5/theme/base/html5/assets/js/sm.js"},"region":{"startLine":6081}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7b1539d66db6d544c1089ca3ae275e54ef39679f911a062555e8e1b06a96151"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): app/apphtml5/theme/base/html5/assets/js/sm.js:6222 \u00B7 app/apphtml5/theme/base/html5/assets/js/sm.js:6306 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/apphtml5/theme/base/html5/assets/js/sm.js"},"region":{"startLine":6222}}}],"partialFingerprints":{"codehealthFindingId/v1":"e13a16cd2dfbda53c0debc9de54ba7ee93c06b1b7727350107d0f964b8db09db"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): app/appfront/theme/base/front/assets/js/owl.carousel.js:247 \u00B7 app/appfront/theme/base/front/assets/js/owl.carousel.js:255 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appfront/theme/base/front/assets/js/owl.carousel.js"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"48594a12d1e530d097964caec993d68dcb758f361459604f252f10d7470ad862"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): app/apphtml5/theme/base/html5/assets/js/sm-extend.js:180 \u00B7 app/apphtml5/theme/base/html5/assets/js/sm-extend.js:1014 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/apphtml5/theme/base/html5/assets/js/sm-extend.js"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d556d9f732ea6e6b6c6a4b3bcc639f329507edbbb849869fb9cc4ce97b85caf"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): app/apphtml5/theme/base/html5/assets/js/sm-extend.js:2344 \u00B7 app/apphtml5/theme/base/html5/assets/js/sm-extend.js:2350 \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/apphtml5/theme/base/html5/assets/js/sm-extend.js"},"region":{"startLine":2344}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3ee45a5016d2074f6744c407a3c90402d55cfe611a08b7d224b02a7cc63c49e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): app/apphtml5/theme/base/html5/assets/js/sm-extend.js:3200 \u00B7 app/apphtml5/theme/base/html5/assets/js/sm-extend.js:3207 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/apphtml5/theme/base/html5/assets/js/sm-extend.js"},"region":{"startLine":3200}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c2bf8eb2732e54580dcecaba0a7302b9891c2c86855f93d707429d65687b2f3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): app/apphtml5/theme/base/html5/assets/js/sm.js:2092 \u00B7 app/apphtml5/theme/base/html5/assets/js/sm.js:2120 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/apphtml5/theme/base/html5/assets/js/sm.js"},"region":{"startLine":2092}}}],"partialFingerprints":{"codehealthFindingId/v1":"5aa0ac23c04891be6569d00c371cef0032d8a215545b228fd953e2bde3c4da94"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): app/apphtml5/theme/base/html5/assets/js/sm.js:2196 \u00B7 app/apphtml5/theme/base/html5/assets/js/sm.js:2203 \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/apphtml5/theme/base/html5/assets/js/sm.js"},"region":{"startLine":2196}}}],"partialFingerprints":{"codehealthFindingId/v1":"55506c201c2c4d7f3a3fb4df3d1755253e175bafb5c05c8c5824cd9199c6288f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): app/apphtml5/theme/base/html5/assets/js/sm.js:6289 \u00B7 app/apphtml5/theme/base/html5/assets/js/sm.js:6460 \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/apphtml5/theme/base/html5/assets/js/sm.js"},"region":{"startLine":6289}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f0df4c282457bcb55b53b7c610bde48906f2982f4e9b78216abaec0aa0fb2e5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): app/apphtml5/theme/base/html5/assets/js/sm-extend.js:3176 \u00B7 app/apphtml5/theme/base/html5/assets/js/sm-extend.js:3254 \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/apphtml5/theme/base/html5/assets/js/sm-extend.js"},"region":{"startLine":3176}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff16225f042b64b64fdc7fdd6f34689655f1918968633937ac16b6c2f962e41a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): app/apphtml5/theme/base/html5/assets/js/sm.js:2669 \u00B7 app/apphtml5/theme/base/html5/assets/js/sm.js:2680 \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/apphtml5/theme/base/html5/assets/js/sm.js"},"region":{"startLine":2669}}}],"partialFingerprints":{"codehealthFindingId/v1":"832441517fd0f093a6c8b02ff423002dfddd095baaff099525e8728f1e6e6e0a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): app/apphtml5/theme/base/html5/assets/js/sm.js:6348 \u00B7 app/apphtml5/theme/base/html5/assets/js/sm.js:6728 \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/apphtml5/theme/base/html5/assets/js/sm.js"},"region":{"startLine":6348}}}],"partialFingerprints":{"codehealthFindingId/v1":"aabbd8dfe771d70b29b377a831f7a76fb5d2814d2a4aae1d43df441daeac94bb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function onTouchMove (cyclomatic 62, cognitive 82): onTouchMove has cyclomatic complexity 62 and cognitive complexity 82; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/apphtml5/theme/base/html5/assets/js/sm-extend.js"},"region":{"startLine":946}}}],"partialFingerprints":{"codehealthFindingId/v1":"58fb35b97b7dcdbc7588e6db1c59a5a222a8c54594a949ca668fb9754a074d7e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function onTouchEnd (cyclomatic 57, cognitive 125): onTouchEnd has cyclomatic complexity 57 and cognitive complexity 125; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/apphtml5/theme/base/html5/assets/js/sm-extend.js"},"region":{"startLine":1096}}}],"partialFingerprints":{"codehealthFindingId/v1":"2650471970881a1f58a8ca08eeac326b3ae47c08444bf61172c121ae66911a3d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function Swiper (cyclomatic 45, cognitive 58): Swiper has cyclomatic complexity 45 and cognitive complexity 58; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/apphtml5/theme/base/html5/assets/js/sm-extend.js"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fc958d9e6a20620dd6b280abf661da907a983b95df5edf8399b02dd3ee8dcc9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function updateSlidesSize (cyclomatic 40, cognitive 79): updateSlidesSize has cyclomatic complexity 40 and cognitive complexity 79; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/apphtml5/theme/base/html5/assets/js/sm-extend.js"},"region":{"startLine":312}}}],"partialFingerprints":{"codehealthFindingId/v1":"172d805b32b69cf5d3b7d4cb60596ec3df45cb3c95fa8cf524fc78db4156b604"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handleTouchMove (cyclomatic 40, cognitive 67): handleTouchMove has cyclomatic complexity 40 and cognitive complexity 67; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/apphtml5/theme/base/html5/assets/js/sm.js"},"region":{"startLine":6723}}}],"partialFingerprints":{"codehealthFindingId/v1":"080dc51338755fe3cc14370da832b2ebfe31659ef3ea648a07f4c3b254d6277b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function _move (cyclomatic 36, cognitive 43): _move has cyclomatic complexity 36 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":"app/apphtml5/theme/base/html5/assets/js/sm.js"},"region":{"startLine":4110}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6af37e76afdd91afd4d042da2d5c70b02725606f4864f2423702f02970e65e9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function _key (cyclomatic 35, cognitive 45): _key has cyclomatic complexity 35 and cognitive complexity 45; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/apphtml5/theme/base/html5/assets/js/sm.js"},"region":{"startLine":5125}}}],"partialFingerprints":{"codehealthFindingId/v1":"77c22ced414e38e29736bdd47158b5bbb367f0e2a0f3f9cd9feed18d33b55d78"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 35, cognitive 38): (anonymous) has cyclomatic complexity 35 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":"app/apphtml5/theme/base/html5/assets/js/sm.js"},"region":{"startLine":296}}}],"partialFingerprints":{"codehealthFindingId/v1":"60426259154efe39d9740b85901b56b6f99ccc93e789f22bb352f23273a3a27c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function setTranslate (cyclomatic 33, cognitive 68): setTranslate has cyclomatic complexity 33 and cognitive complexity 68; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/apphtml5/theme/base/html5/assets/js/sm-extend.js"},"region":{"startLine":1754}}}],"partialFingerprints":{"codehealthFindingId/v1":"4778dac36862e7cd2c15ce63dd6b1edbf583e43abcfab138d2b3afc30df5fd68"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function refresh (cyclomatic 31, cognitive 51): refresh has cyclomatic complexity 31 and cognitive complexity 51; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/apphtml5/theme/base/html5/assets/js/sm.js"},"region":{"startLine":5556}}}],"partialFingerprints":{"codehealthFindingId/v1":"b72fe4f4f2edaa4eec30fe33c2a139ec98522ffb77d76795506d7c6cb80e813b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function PhotoBrowser (cyclomatic 31, cognitive 40): PhotoBrowser has cyclomatic complexity 31 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":"app/apphtml5/theme/base/html5/assets/js/sm-extend.js"},"region":{"startLine":2769}}}],"partialFingerprints":{"codehealthFindingId/v1":"56407e8a7554fe84a638c89c15698f9b7f862ffa14f1c9faa7cab2f8747bdd84"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function monthHTML (cyclomatic 28, cognitive 62): monthHTML has cyclomatic complexity 28 and cognitive complexity 62; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/apphtml5/theme/base/html5/assets/js/sm.js"},"region":{"startLine":2261}}}],"partialFingerprints":{"codehealthFindingId/v1":"a22da2933a7f93eddfead6ff7b9da404a3fe143216f169db6419257335443b47"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handleTouchMove (cyclomatic 28, cognitive 39): handleTouchMove has cyclomatic complexity 28 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":"app/apphtml5/theme/base/html5/assets/js/sm.js"},"region":{"startLine":6345}}}],"partialFingerprints":{"codehealthFindingId/v1":"1baba1b7a0ec17cf9fbb7be8a33fee415b5e3224abfcce2009e5d318f978167d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function setYearMonth (cyclomatic 27, cognitive 36): setYearMonth has cyclomatic complexity 27 and cognitive complexity 36; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/apphtml5/theme/base/html5/assets/js/sm.js"},"region":{"startLine":2595}}}],"partialFingerprints":{"codehealthFindingId/v1":"168c62196091eec79068fb9b0052a138235f6b1e87a3bf281b8cdfad020eea95"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function _end (cyclomatic 27, cognitive 30): _end has cyclomatic complexity 27 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":"app/apphtml5/theme/base/html5/assets/js/sm.js"},"region":{"startLine":4213}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e8e15f5b813de2f5a287e736fea15ad076c5881be2ac7f2cedb2534941c9b38"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function onSlideTouchMove (cyclomatic 27, cognitive 27): onSlideTouchMove has cyclomatic complexity 27 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":"app/apphtml5/theme/base/html5/assets/js/sm-extend.js"},"region":{"startLine":3158}}}],"partialFingerprints":{"codehealthFindingId/v1":"733e19f1f8f2ee73f9af5f5d5c2334c6082adc9a538510aa9758b131db50c43e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handleTouchEnd (cyclomatic 26, cognitive 46): handleTouchEnd has cyclomatic complexity 26 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":"app/apphtml5/theme/base/html5/assets/js/sm.js"},"region":{"startLine":6825}}}],"partialFingerprints":{"codehealthFindingId/v1":"5769126df1f23b1b2315b152c5f2ac0eeec288df243aeaf54b5f176b338dd836"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function init (cyclomatic 26, cognitive 35): init has cyclomatic complexity 26 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":"app/apphtml5/theme/base/html5/assets/js/sm-extend.js"},"region":{"startLine":2368}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ef7b9fe32114b1805b3d64e90c5db82ad5321efc25655f7ee4d4ffb7e9547cf"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function setTranslate (cyclomatic 25, cognitive 58): setTranslate has cyclomatic complexity 25 and cognitive complexity 58; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/apphtml5/theme/base/html5/assets/js/sm-extend.js"},"region":{"startLine":1861}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5cc3ad25f03f777fb82fe8d9ec6694988295dd6e1bb29d213e45183f35caf56"}},{"ruleId":"R3","level":"warning","message":{"text":"app/apphtml5/theme/base/html5/assets/js/sm-city-picker.js: 13351 lines of code: app/apphtml5/theme/base/html5/assets/js/sm-city-picker.js has 13351 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/apphtml5/theme/base/html5/assets/js/sm-city-picker.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7c96f2e06654c15c4e9b76143606e6dbd7d349ce01229b5a8fd94d2cdc80170"}},{"ruleId":"R3","level":"warning","message":{"text":"app/apphtml5/theme/base/html5/assets/js/sm.js: 7022 lines of code: app/apphtml5/theme/base/html5/assets/js/sm.js has 7022 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/apphtml5/theme/base/html5/assets/js/sm.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cdaac20fba01fc8431515f7bfc31c57656179d58eeb66438cceb68d52167e53"}},{"ruleId":"R3","level":"warning","message":{"text":"app/apphtml5/theme/base/html5/assets/js/sm-extend.js: 3127 lines of code: app/apphtml5/theme/base/html5/assets/js/sm-extend.js has 3127 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/apphtml5/theme/base/html5/assets/js/sm-extend.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6db50b39b5ffd17f6063ab34ab22a31868a52d1786ebcbb5c5445a02a2609af0"}},{"ruleId":"R3","level":"warning","message":{"text":"app/appfront/theme/base/front/assets/js/owl.carousel.js: 1310 lines of code: app/appfront/theme/base/front/assets/js/owl.carousel.js has 1310 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/appfront/theme/base/front/assets/js/owl.carousel.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5501ddf175dd7fad51c80ecd49474e47ef03f197b0d7e0af6db469f7b1f5cdd"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!ipad \u0026\u0026 ua.match(/(iPhone\\sOS)\\s([\\d_]\u002B)/)\u0060 appears character-identically in 2 files \u2014 app/apphtml5/theme/base/html5/assets/js/sm-extend.js, app/apphtml5/theme/base/html5/assets/js/sm.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":"app/apphtml5/theme/base/html5/assets/js/sm-extend.js"},"region":{"startLine":2676}}}],"partialFingerprints":{"codehealthFindingId/v1":"02e0cef67f86850ddeeb75ac41c98f843732bfff1ff858ba8f29e5da9516e804"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!$PrimaryVal \u0026\u0026 (!isset($one[\u0027sku\u0027]) || empty($one[\u0027sku\u0027]))\u0060 appears character-identically in 2 files \u2014 services/product/ProductMongodb.php, services/product/ProductMysqldb.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":"services/product/ProductMongodb.php"},"region":{"startLine":742}}}],"partialFingerprints":{"codehealthFindingId/v1":"f206b29802489e1fcaffb40ea8c5446add1808bfab745d7589ad5c043328c045"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!$PrimaryVal \u0026\u0026 (!isset($one[\u0027spu\u0027]) || empty($one[\u0027spu\u0027]))\u0060 appears character-identically in 2 files \u2014 services/product/ProductMongodb.php, services/product/ProductMysqldb.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":"services/product/ProductMongodb.php"},"region":{"startLine":747}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fe64cc0fc6e62957ca09dbad6fdd6aa69d7bceb5a20affce32b0e5bdae212a7"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!$order[\u0027customer_id\u0027] || ($order[\u0027customer_id\u0027] != $customer_id)\u0060 appears character-identically in 3 files \u2014 app/appfront/modules/Customer/block/order/Reorder.php, app/apphtml5/modules/Customer/block/order/Reorder.php, app/appserver/modules/Customer/controllers/OrderController.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/appfront/modules/Customer/block/order/Reorder.php"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed78fa35962f5fbdc9a53e555bdf9f1a62bbffae06da97f8cd82b09eadd00c59"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!empty($category_query_priceRange) \u0026\u0026 is_array($category_query_priceRange)\u0060 appears character-identically in 3 files \u2014 app/appfront/modules/Catalog/block/category/Index.php, app/apphtml5/modules/Catalog/block/category/Index.php, app/appserver/modules/Catalog/controllers/CategoryController.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/appfront/modules/Catalog/block/category/Index.php"},"region":{"startLine":346}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecf31f3f189d21705cd73b0a99f449a58987ee907945bcd55659ae72176390c8"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!empty($editForm) \u0026\u0026 is_array($editForm)\u0060 appears character-identically in 2 files \u2014 app/appfront/modules/Catalog/controllers/ReviewproductController.php, app/apphtml5/modules/Catalog/controllers/ReviewproductController.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/appfront/modules/Catalog/controllers/ReviewproductController.php"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"a36bfddbd8dfa402cced55ef4bb0299d7bcc78bf0cc74e4459f784e09a6a0845"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!empty($gallery_image) \u0026\u0026 is_array($gallery_image)\u0060 appears character-identically in 2 files \u2014 app/appadmin/modules/Catalog/block/productinfo/Managerbatchedit.php, app/appadmin/modules/Catalog/block/productinfo/Manageredit.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/appadmin/modules/Catalog/block/productinfo/Managerbatchedit.php"},"region":{"startLine":341}}}],"partialFingerprints":{"codehealthFindingId/v1":"d27d3a86699b80f230e3cae212e648f24bb4bc543a828f9ef84a418a53adf97c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!empty($leftMenuArr) \u0026\u0026 is_array($leftMenuArr)\u0060 appears character-identically in 2 files \u2014 app/appfront/theme/base/front/customer/leftmenu.php, app/apphtml5/theme/base/html5/customer/leftmenu.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/appfront/theme/base/front/customer/leftmenu.php"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb95c036e30153384a727c4d9ede5468b76d439f558875e3d3d2d425610cef51"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!empty($main_image) \u0026\u0026 is_array($main_image)\u0060 appears character-identically in 2 files \u2014 app/appadmin/modules/Catalog/block/productinfo/Managerbatchedit.php, app/appadmin/modules/Catalog/block/productinfo/Manageredit.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/appadmin/modules/Catalog/block/productinfo/Managerbatchedit.php"},"region":{"startLine":317}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd53fe19046a5be7235b3443f5b1194986527d40d4f2bdb7ab398e1627d68a98"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!empty($out_trade_no) \u0026\u0026 !empty($trade_no)\u0060 appears character-identically in 4 files \u2014 services/payment/Wxpay.php, services/payment/WxpayH5.php, services/payment/WxpayJsApi.php, services/payment/WxpayMicro.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":"services/payment/Wxpay.php"},"region":{"startLine":370}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba4fa9471282a6a6f2bb7d8b0b4e2e1e7703fbc152cf63644943600d4a3b3a3c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!empty($searchLangCode) \u0026\u0026 is_array($searchLangCode)\u0060 appears character-identically in 2 files \u2014 services/search/MysqlSearch.php, services/search/XunSearch.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":"services/search/MysqlSearch.php"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"e03a72fd85ea87db62937b77b873977192e046bdde86cf40a02ac986779a2494"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!empty($shippings) \u0026\u0026 is_array($shippings)\u0060 appears character-identically in 4 files \u2014 app/appfront/theme/base/front/checkout/onepage/index/shipping.php, app/appfront/theme/base/front/payment/paypal/express/review/shipping.php, app/apphtml5/theme/base/html5/checkout/onepage/index/shipping.php, app/apphtml5/theme/base/html5/payment/paypal/express/review/shipping.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/appfront/theme/base/front/checkout/onepage/index/shipping.php"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b2f99c61b9fb77b84060766c5f3c4cf6cdd7ea71f6332468eebbd9263f14937"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!is_array($attr_ids) || empty($attr_ids)\u0060 appears character-identically in 2 files \u2014 app/appapi/modules/V1/controllers/ProductattrgroupController.php, services/Product.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/appapi/modules/V1/controllers/ProductattrgroupController.php"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e5a8393999836c46f5fa4e8db76ff15cb6cb1f3d6219437584144cfb08d3dba"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!is_array($remoteIds) || empty($remoteIds)\u0060 appears character-identically in 2 files \u2014 services/category/CategoryMongodb.php, services/category/CategoryMysqldb.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":"services/category/CategoryMongodb.php"},"region":{"startLine":707}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfb3adf6b7b11bfbf282a04ce36f3a782630e764be06a94cd9abf1748a59132a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!is_array($this-\u003E_productSpuAttrArr) || empty($this-\u003E_productSpuAttrArr)\u0060 appears character-identically in 3 files \u2014 app/appfront/modules/Catalog/block/product/Index.php, app/apphtml5/modules/Catalog/block/product/Index.php, app/appserver/modules/Catalog/controllers/ProductController.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/appfront/modules/Catalog/block/product/Index.php"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cc85c7234069f5bf598726f1ee69dadefd847a6a71ce161920e9c31d9e9e319"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!isset($cartInfo[\u0027products\u0027]) || !is_array($cartInfo[\u0027products\u0027]) || empty($cartInfo[\u0027products\u0027])\u0060 appears character-identically in 6 files \u2014 app/appfront/modules/Checkout/block/onepage/Index.php, app/appfront/modules/Payment/block/paypal/express/Review.php, app/apphtml5/modules/Checkout/block/onepage/Index.php, app/apphtml5/modules/Payment/block/paypal/express/Review.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/appfront/modules/Checkout/block/onepage/Index.php"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd597a257a32cfe291a8f574861e66ac271feab3fef78c3b675c98eadc406afd"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!isset($model[$this-\u003EgetPrimaryKey()]) || !$model[$this-\u003EgetPrimaryKey()]\u0060 appears character-identically in 3 files \u2014 services/category/CategoryMongodb.php, services/category/CategoryMysqldb.php, services/product/ProductMysqldb.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":"services/category/CategoryMongodb.php"},"region":{"startLine":626}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0b70d9d722f3a95d78e0c4db78209e8d75549919a7fc7ccf69d645d46136d5b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!isset($one[$primaryKey]) || !$one[$primaryKey]\u0060 appears character-identically in 2 files \u2014 services/product/ProductMongodb.php, services/product/ProductMysqldb.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":"services/product/ProductMongodb.php"},"region":{"startLine":739}}}],"partialFingerprints":{"codehealthFindingId/v1":"80b96103fcc3208c711c2b14e4113d8808aa02cf9073c72a5bc5eb712ded6c1a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!isset($one[$spuAttr]) || !$one[$spuAttr]\u0060 appears character-identically in 3 files \u2014 app/appfront/modules/Catalog/block/product/Index.php, app/apphtml5/modules/Catalog/block/product/Index.php, app/appserver/modules/Catalog/controllers/ProductController.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/appfront/modules/Catalog/block/product/Index.php"},"region":{"startLine":301}}}],"partialFingerprints":{"codehealthFindingId/v1":"46bee65c4b82f1202bd1075929eed927019c3ab70666ee3befb9aa8965fe5274"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!isset($one[\u0027description\u0027][$defaultLangDes]) || empty($one[\u0027description\u0027][$defaultLangDes])\u0060 appears character-identically in 2 files \u2014 services/product/ProductMongodb.php, services/product/ProductMysqldb.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":"services/product/ProductMongodb.php"},"region":{"startLine":769}}}],"partialFingerprints":{"codehealthFindingId/v1":"86912ca6bc8d0059987f92947f0d8990eba03095c67568b39e768f7d7986a00b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!isset($one[\u0027name\u0027][$defaultLangName]) || empty($one[\u0027name\u0027][$defaultLangName])\u0060 appears character-identically in 2 files \u2014 services/product/ProductMongodb.php, services/product/ProductMysqldb.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":"services/product/ProductMongodb.php"},"region":{"startLine":758}}}],"partialFingerprints":{"codehealthFindingId/v1":"0158bea841a177a7a7108ebd553ded62eed8b00eb7d5036aca3ff59abb18d722"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!isset($one[\u0027remote_id\u0027]) || !$one[\u0027remote_id\u0027]\u0060 appears character-identically in 6 files \u2014 services/category/CategoryMongodb.php, services/category/CategoryMysqldb.php, services/product/Brand.php, services/product/Brandcategory.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":"services/category/CategoryMongodb.php"},"region":{"startLine":697}}}],"partialFingerprints":{"codehealthFindingId/v1":"07312112a67bd4bc58d34bbeee7ad59987e625b8662b2f2cb519325a78de3935"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!isset($this-\u003E_address[\u0027email\u0027]) || empty($this-\u003E_address[\u0027email\u0027])\u0060 appears character-identically in 2 files \u2014 app/appfront/modules/Customer/block/address/Edit.php, app/apphtml5/modules/Customer/block/address/Edit.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/appfront/modules/Customer/block/address/Edit.php"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f530462e33fdabdf7343364311cc0e4a009cc596ff122768f566a3ee39a82d9"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!isset($this-\u003E_address[\u0027first_name\u0027]) || empty($this-\u003E_address[\u0027first_name\u0027])\u0060 appears character-identically in 2 files \u2014 app/appfront/modules/Customer/block/address/Edit.php, app/apphtml5/modules/Customer/block/address/Edit.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/appfront/modules/Customer/block/address/Edit.php"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"22888dc6b8115bfe90e5886b43549a3fb6e66b7d962bc86913c7a31cd4d51317"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!isset($this-\u003E_address[\u0027last_name\u0027]) || empty($this-\u003E_address[\u0027last_name\u0027])\u0060 appears character-identically in 2 files \u2014 app/appfront/modules/Customer/block/address/Edit.php, app/apphtml5/modules/Customer/block/address/Edit.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/appfront/modules/Customer/block/address/Edit.php"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"22ffa93efdfceee8a4b8c1868ecf1cd24075ab778b9315e73f0f647bed53c8b4"}},{"ruleId":"X19","level":"warning","message":{"text":"Process-global state is restored only on the happy path: \u0060getShangHaiExpireTime\u0060 changes state that belongs to the whole PROCESS and changes it back at the end of the same body \u2014 the default timezone (changed at line 218, put back at line 220) \u2014 which says the change was meant to last no longer than this call. But the restore is an ordinary statement on the straight-line path, not a \u0060finally\u0060, so it is skipped by any exception thrown in between: PHP then keeps the overwritten value for the rest of the request \u2014 and in a CLI command, a queue worker or a long-running server (Octane, Swoole, RoadRunner, FrankenPHP) for the rest of the process\u0027s life \u2014 and every later relative path, child-process launch, date, number format, XML parse or error report in ANY class reads it. That failure is silent and remote from its cause: the function that breaks is not the function that moved the value. The durable fix is not to widen the restore but to stop mutating the global: pass the value to the operation that needs it \u2014 \u0060cwd\u0060 and \u0060env\u0060 to Symfony \u0060Process\u0060 (\u0060new Process($command, $cwd, $env)\u0060) or \u0060proc_open($command, $spec, $pipes, $cwd, $env)\u0060, absolute paths instead of \u0060chdir\u0060, an explicit \u0060DateTimeZone\u0060 or locale to \u0060DateTimeImmutable\u0060/\u0060IntlDateFormatter\u0060/\u0060NumberFormatter\u0060, an explicit encoding to the \u0060mb_*\u0060 call, \u0060LIBXML_NOERROR\u0060/\u0060libxml_get_errors\u0060 handling in one place. Where the global genuinely must move, wrap it \u0060try\u0060/\u0060finally\u0060 so the restore runs on every path."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"services/payment/WxpayMicro.php"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"e341eb6a37fd9d5a3c04c0bd682f64abcd2ed6d5389cea4751efe72607e2c648"}},{"ruleId":"X19","level":"warning","message":{"text":"Process-global state is restored only on the happy path: \u0060getShangHaiExpireTime\u0060 changes state that belongs to the whole PROCESS and changes it back at the end of the same body \u2014 the default timezone (changed at line 233, put back at line 235) \u2014 which says the change was meant to last no longer than this call. But the restore is an ordinary statement on the straight-line path, not a \u0060finally\u0060, so it is skipped by any exception thrown in between: PHP then keeps the overwritten value for the rest of the request \u2014 and in a CLI command, a queue worker or a long-running server (Octane, Swoole, RoadRunner, FrankenPHP) for the rest of the process\u0027s life \u2014 and every later relative path, child-process launch, date, number format, XML parse or error report in ANY class reads it. That failure is silent and remote from its cause: the function that breaks is not the function that moved the value. The durable fix is not to widen the restore but to stop mutating the global: pass the value to the operation that needs it \u2014 \u0060cwd\u0060 and \u0060env\u0060 to Symfony \u0060Process\u0060 (\u0060new Process($command, $cwd, $env)\u0060) or \u0060proc_open($command, $spec, $pipes, $cwd, $env)\u0060, absolute paths instead of \u0060chdir\u0060, an explicit \u0060DateTimeZone\u0060 or locale to \u0060DateTimeImmutable\u0060/\u0060IntlDateFormatter\u0060/\u0060NumberFormatter\u0060, an explicit encoding to the \u0060mb_*\u0060 call, \u0060LIBXML_NOERROR\u0060/\u0060libxml_get_errors\u0060 handling in one place. Where the global genuinely must move, wrap it \u0060try\u0060/\u0060finally\u0060 so the restore runs on every path."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"services/payment/WxpayJsApi.php"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6dfcb8326eb80a4fd302f170a0f90bedc2df5d544580c38addc35ad57bfc131"}},{"ruleId":"X19","level":"warning","message":{"text":"Process-global state is restored only on the happy path: \u0060getShangHaiExpireTime\u0060 changes state that belongs to the whole PROCESS and changes it back at the end of the same body \u2014 the default timezone (changed at line 247, put back at line 249) \u2014 which says the change was meant to last no longer than this call. But the restore is an ordinary statement on the straight-line path, not a \u0060finally\u0060, so it is skipped by any exception thrown in between: PHP then keeps the overwritten value for the rest of the request \u2014 and in a CLI command, a queue worker or a long-running server (Octane, Swoole, RoadRunner, FrankenPHP) for the rest of the process\u0027s life \u2014 and every later relative path, child-process launch, date, number format, XML parse or error report in ANY class reads it. That failure is silent and remote from its cause: the function that breaks is not the function that moved the value. The durable fix is not to widen the restore but to stop mutating the global: pass the value to the operation that needs it \u2014 \u0060cwd\u0060 and \u0060env\u0060 to Symfony \u0060Process\u0060 (\u0060new Process($command, $cwd, $env)\u0060) or \u0060proc_open($command, $spec, $pipes, $cwd, $env)\u0060, absolute paths instead of \u0060chdir\u0060, an explicit \u0060DateTimeZone\u0060 or locale to \u0060DateTimeImmutable\u0060/\u0060IntlDateFormatter\u0060/\u0060NumberFormatter\u0060, an explicit encoding to the \u0060mb_*\u0060 call, \u0060LIBXML_NOERROR\u0060/\u0060libxml_get_errors\u0060 handling in one place. Where the global genuinely must move, wrap it \u0060try\u0060/\u0060finally\u0060 so the restore runs on every path."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"services/payment/WxpayH5.php"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"82af78c75f9f5505f2cab4d199960fa6e0400fa3fe890c4365dbef5d16223e4d"}},{"ruleId":"X19","level":"warning","message":{"text":"Process-global state is restored only on the happy path: \u0060getShangHaiExpireTime\u0060 changes state that belongs to the whole PROCESS and changes it back at the end of the same body \u2014 the default timezone (changed at line 239, put back at line 241) \u2014 which says the change was meant to last no longer than this call. But the restore is an ordinary statement on the straight-line path, not a \u0060finally\u0060, so it is skipped by any exception thrown in between: PHP then keeps the overwritten value for the rest of the request \u2014 and in a CLI command, a queue worker or a long-running server (Octane, Swoole, RoadRunner, FrankenPHP) for the rest of the process\u0027s life \u2014 and every later relative path, child-process launch, date, number format, XML parse or error report in ANY class reads it. That failure is silent and remote from its cause: the function that breaks is not the function that moved the value. The durable fix is not to widen the restore but to stop mutating the global: pass the value to the operation that needs it \u2014 \u0060cwd\u0060 and \u0060env\u0060 to Symfony \u0060Process\u0060 (\u0060new Process($command, $cwd, $env)\u0060) or \u0060proc_open($command, $spec, $pipes, $cwd, $env)\u0060, absolute paths instead of \u0060chdir\u0060, an explicit \u0060DateTimeZone\u0060 or locale to \u0060DateTimeImmutable\u0060/\u0060IntlDateFormatter\u0060/\u0060NumberFormatter\u0060, an explicit encoding to the \u0060mb_*\u0060 call, \u0060LIBXML_NOERROR\u0060/\u0060libxml_get_errors\u0060 handling in one place. Where the global genuinely must move, wrap it \u0060try\u0060/\u0060finally\u0060 so the restore runs on every path."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"services/payment/Wxpay.php"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ff19a48e45ee1e40a599e636f27363da8e5fbad64fef843c9be107857825ca6"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060modal.trim()\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":"app/apphtml5/theme/base/html5/assets/js/sm.js"},"region":{"startLine":1483}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1038b3322f17343043c95594b45fca87e2badc17abc7a7b16f583515b0e3912"}},{"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/appfront/theme/base/front/assets/fancybox/jquery.fancybox.js"},"region":{"startLine":1004}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5d1c5c8ed2f1adb74939c3afe2cb31592327e825f073eec20b7d128a8c1c348"}},{"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/appfront/theme/base/front/assets/fancybox/jquery.fancybox.js"},"region":{"startLine":1239}}}],"partialFingerprints":{"codehealthFindingId/v1":"0eb6a9a90fb27f64b873890a14ad8d493a11b987b008c98dfe9eeb99147bce52"}},{"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 PHP code already uses a real parser in the same package; use it here too."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/alipay/lotusphp_runtime/MVC/TemplateView.php"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"14ca2ec01baf8b1a56d92dfe591cfdad66bb21f3cd31512651ae63ab2b70257b"}},{"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 PHP code already uses a real parser in the same package; use it here too."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/alipay/lotusphp_runtime/MVC/TemplateView.php"},"region":{"startLine":262}}}],"partialFingerprints":{"codehealthFindingId/v1":"52497dd6cd5a3ff2a89c50751ea10a56f9519b2025a946607358249fb67a65c9"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060encodeBitStream\u0060 swallows every exception into \u0060return -1\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":"lib/wxpay/example/phpqrcode/phpqrcode.php"},"region":{"startLine":1279}}}],"partialFingerprints":{"codehealthFindingId/v1":"67eaf1929fd8cca35616c91dcf852b2ee3e18da86bf2298d50bb86c8174c5635"}}],"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-1059","guid":"a2381a08-60f6-9554-a8b8-f3018cfaaca5","name":"Insufficient Technical Documentation","shortDescription":{"text":"Insufficient Technical Documentation"},"helpUri":"https://cwe.mitre.org/data/definitions/1059.html"},{"id":"CWE-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-200","guid":"b0ce3b1d-7a29-fe50-8aab-9aba899d2988","name":"Exposure of Sensitive Information to an Unauthorized Actor","shortDescription":{"text":"Exposure of Sensitive Information to an Unauthorized Actor"},"helpUri":"https://cwe.mitre.org/data/definitions/200.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-312","guid":"96724ece-b0b2-a45c-83f9-0869fa3f6bea","name":"Cleartext Storage of Sensitive Information","shortDescription":{"text":"Cleartext Storage of Sensitive Information"},"helpUri":"https://cwe.mitre.org/data/definitions/312.html"},{"id":"CWE-319","guid":"7af97476-9f0d-4458-9163-3d2043918a1a","name":"Cleartext Transmission of Sensitive Information","shortDescription":{"text":"Cleartext Transmission of Sensitive Information"},"helpUri":"https://cwe.mitre.org/data/definitions/319.html"},{"id":"CWE-359","guid":"b7dfe5b0-0351-645b-a311-b936102c2929","name":"Exposure of Private Personal Information to an Unauthorized Actor","shortDescription":{"text":"Exposure of Private Personal Information to an Unauthorized Actor"},"helpUri":"https://cwe.mitre.org/data/definitions/359.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-77","guid":"332c8ade-6612-9f56-a06b-d8d90b1a8750","name":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/77.html"},{"id":"CWE-78","guid":"2e31ceaf-c7ae-2e5e-9661-cfb1362789cf","name":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/78.html"},{"id":"CWE-79","guid":"fd45580b-e8c4-fc5e-8c2f-aa8fab0b4dbf","name":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)","shortDescription":{"text":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/79.html"},{"id":"CWE-798","guid":"5e8f057d-fee3-995a-a0cb-9fc5b0d174d1","name":"Use of Hard-coded Credentials","shortDescription":{"text":"Use of Hard-coded Credentials"},"helpUri":"https://cwe.mitre.org/data/definitions/798.html"},{"id":"CWE-89","guid":"6d08fdad-37eb-c150-bbf0-d7d946863407","name":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/89.html"},{"id":"CWE-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":"A04:2025","guid":"6a9f5bfd-1a56-6453-beec-a7eff0ba3007","name":"Cryptographic Failures","shortDescription":{"text":"Cryptographic Failures"},"helpUri":"https://top10.owasp.org/2025/A04_2025-Cryptographic_Failures/"},{"id":"A05:2025","guid":"87e86033-3231-8458-8e4a-5cb82743553a","name":"Injection","shortDescription":{"text":"Injection"},"helpUri":"https://top10.owasp.org/2025/A05_2025-Injection/"},{"id":"A07:2025","guid":"334ddd78-539d-d35c-83dd-253647eb7eaf","name":"Authentication Failures","shortDescription":{"text":"Authentication Failures"},"helpUri":"https://top10.owasp.org/2025/A07_2025-Authentication_Failures/"}]}],"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":28,"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."]}]}