{"$schema":"https://json.schemastore.org/sarif-2.1.0.json","version":"2.1.0","runs":[{"tool":{"driver":{"name":"codehealth","informationUri":"https://codehealth.canine.dev","rules":[{"id":"D1","name":"Cyclomatic Complexity","shortDescription":{"text":"Cyclomatic Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D1"},{"id":"D2","name":"Cognitive Complexity","shortDescription":{"text":"Cognitive Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D2"},{"id":"D3","name":"God Classes","shortDescription":{"text":"God Classes"},"helpUri":"https://codehealth.canine.dev/dimensions/D3"},{"id":"D4","name":"Code Duplication","shortDescription":{"text":"Code Duplication"},"helpUri":"https://codehealth.canine.dev/dimensions/D4"},{"id":"D5","name":"Coupling","shortDescription":{"text":"Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D5"},{"id":"D6","name":"Cohesion (LCOM4)","shortDescription":{"text":"Cohesion (LCOM4)"},"helpUri":"https://codehealth.canine.dev/dimensions/D6"},{"id":"D12","name":"Dependency Hygiene","shortDescription":{"text":"Dependency Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/D12"},{"id":"D13","name":"Secret Scanning","shortDescription":{"text":"Secret Scanning"},"helpUri":"https://codehealth.canine.dev/dimensions/D13","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D14","name":"License Compliance","shortDescription":{"text":"License Compliance"},"helpUri":"https://codehealth.canine.dev/dimensions/D14"},{"id":"D15","name":"Churn \u00D7 Complexity Hotspots","shortDescription":{"text":"Churn \u00D7 Complexity Hotspots"},"helpUri":"https://codehealth.canine.dev/dimensions/D15"},{"id":"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":"D19","name":"Documentation Quality","shortDescription":{"text":"Documentation Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D19"},{"id":"D20","name":"ADR Quality","shortDescription":{"text":"ADR Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D20"},{"id":"D27","name":"Navigability","shortDescription":{"text":"Navigability"},"helpUri":"https://codehealth.canine.dev/dimensions/D27"},{"id":"D28","name":"Secrets (history)","shortDescription":{"text":"Secrets (history)"},"helpUri":"https://codehealth.canine.dev/dimensions/D28","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D29","name":"Static Analysis (SAST)","shortDescription":{"text":"Static Analysis (SAST)"},"helpUri":"https://codehealth.canine.dev/dimensions/D29","relationships":[{"target":{"id":"CWE-79","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-89","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-94","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-77","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-79","CWE-89","CWE-78","CWE-94","CWE-77"],"owasp":"A05:2025"}},{"id":"D30","name":"Dependency Vulnerabilities","shortDescription":{"text":"Dependency Vulnerabilities"},"helpUri":"https://codehealth.canine.dev/dimensions/D30","relationships":[{"target":{"id":"CWE-1395","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-937","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1395","CWE-937"],"owasp":"A03:2025"}},{"id":"D31","name":"IaC \u0026 Container Security","shortDescription":{"text":"IaC \u0026 Container Security"},"helpUri":"https://codehealth.canine.dev/dimensions/D31","relationships":[{"target":{"id":"CWE-1032","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-732","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-16","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A02:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1032","CWE-732","CWE-16"],"owasp":"A02:2025"}},{"id":"D34","name":"Knowledge Freshness","shortDescription":{"text":"Knowledge Freshness"},"helpUri":"https://codehealth.canine.dev/dimensions/D34"},{"id":"D35","name":"Change Coupling","shortDescription":{"text":"Change Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D35"},{"id":"D43","name":"Malicious Dependencies","shortDescription":{"text":"Malicious Dependencies"},"helpUri":"https://codehealth.canine.dev/dimensions/D43","relationships":[{"target":{"id":"CWE-506","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-506"],"owasp":"A08:2025"}},{"id":"D44","name":"Platform End-of-Life","shortDescription":{"text":"Platform End-of-Life"},"helpUri":"https://codehealth.canine.dev/dimensions/D44"},{"id":"AX10","name":"Code composition","shortDescription":{"text":"Code composition"},"helpUri":"https://codehealth.canine.dev/dimensions/AX10"},{"id":"AX3","name":"Project dependency cycles","shortDescription":{"text":"Project dependency cycles"},"helpUri":"https://codehealth.canine.dev/dimensions/AX3"},{"id":"AX4","name":"Dependency direction","shortDescription":{"text":"Dependency direction"},"helpUri":"https://codehealth.canine.dev/dimensions/AX4"},{"id":"AX6","name":"Interface segregation","shortDescription":{"text":"Interface segregation"},"helpUri":"https://codehealth.canine.dev/dimensions/AX6"},{"id":"AXB2","name":"Runtime readiness","shortDescription":{"text":"Runtime readiness"},"helpUri":"https://codehealth.canine.dev/dimensions/AXB2"},{"id":"AXR1","name":"Runtime accessibility","shortDescription":{"text":"Runtime accessibility"},"helpUri":"https://codehealth.canine.dev/dimensions/AXR1"},{"id":"C2","name":"Access Controls","shortDescription":{"text":"Access Controls"},"helpUri":"https://codehealth.canine.dev/dimensions/C2"},{"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":"P2","name":"Observability","shortDescription":{"text":"Observability"},"helpUri":"https://codehealth.canine.dev/dimensions/P2"},{"id":"P3","name":"Security \u0026 performance tooling","shortDescription":{"text":"Security \u0026 performance tooling"},"helpUri":"https://codehealth.canine.dev/dimensions/P3"},{"id":"P4","name":"Deployment \u0026 Rollback","shortDescription":{"text":"Deployment \u0026 Rollback"},"helpUri":"https://codehealth.canine.dev/dimensions/P4"},{"id":"P6","name":"Release Hygiene","shortDescription":{"text":"Release Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/P6"},{"id":"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":"X10","name":"Duplicated predicate","shortDescription":{"text":"Duplicated predicate"},"helpUri":"https://codehealth.canine.dev/dimensions/X10"},{"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":"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":"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":"X27","name":"Collection changed while being enumerated","shortDescription":{"text":"Collection changed while being enumerated"},"helpUri":"https://codehealth.canine.dev/dimensions/X27"},{"id":"X28","name":"Index access outside its own emptiness guard","shortDescription":{"text":"Index access outside its own emptiness guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X28"},{"id":"X29","name":"Per-element action decided by a fixed element","shortDescription":{"text":"Per-element action decided by a fixed element"},"helpUri":"https://codehealth.canine.dev/dimensions/X29"},{"id":"X3","name":"Exception handling","shortDescription":{"text":"Exception handling"},"helpUri":"https://codehealth.canine.dev/dimensions/X3"},{"id":"X30","name":"Support guard that admits what it rejects","shortDescription":{"text":"Support guard that admits what it rejects"},"helpUri":"https://codehealth.canine.dev/dimensions/X30"},{"id":"X32","name":"Type resolved by simple name across every loaded assembly","shortDescription":{"text":"Type resolved by simple name across every loaded assembly"},"helpUri":"https://codehealth.canine.dev/dimensions/X32"},{"id":"X4","name":"Structured logging","shortDescription":{"text":"Structured logging"},"helpUri":"https://codehealth.canine.dev/dimensions/X4"},{"id":"X5","name":"Nullable reference types","shortDescription":{"text":"Nullable reference types"},"helpUri":"https://codehealth.canine.dev/dimensions/X5"},{"id":"X6","name":"Hand-rolled structured-format parsing","shortDescription":{"text":"Hand-rolled structured-format parsing"},"helpUri":"https://codehealth.canine.dev/dimensions/X6"},{"id":"X7","name":"Silent fallback defaults","shortDescription":{"text":"Silent fallback defaults"},"helpUri":"https://codehealth.canine.dev/dimensions/X7"},{"id":"X9","name":"Subsumed condition operand","shortDescription":{"text":"Subsumed condition operand"},"helpUri":"https://codehealth.canine.dev/dimensions/X9"}]}},"results":[{"ruleId":"D1","level":"warning","message":{"text":"GBS.handleMessageRequest (cyclomatic 49): GBS.handleMessageRequest has cyclomatic complexity 49 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Gb28181Gateway/src/SwooleServer/GBS.php"},"region":{"startLine":684}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ba0334e956260e7b92a2e0a1228ec0c8c2ad4de32d271ded717a18e18b1bb9d"}},{"ruleId":"D1","level":"warning","message":{"text":"GBServer.handleMessageRequest (cyclomatic 49): GBServer.handleMessageRequest has cyclomatic complexity 49 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"swoole-gbs/gbs-beta.php"},"region":{"startLine":1029}}}],"partialFingerprints":{"codehealthFindingId/v1":"7005b5ef1f668fb4fbe1daca8fe97b53ae744ca4c1cffc95312fce07745890ae"}},{"ruleId":"D1","level":"warning","message":{"text":"GBS.parseCatalogResponse (cyclomatic 44): GBS.parseCatalogResponse has cyclomatic complexity 44 (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":"Gb28181Gateway/src/SwooleServer/GBS.php"},"region":{"startLine":1986}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7d2dd5052b2a1e95676196c4d7f7bd1908c0491c0dec898e3193f3ffb03dd6a"}},{"ruleId":"D1","level":"warning","message":{"text":"GBServer.parseCatalogResponse (cyclomatic 44): GBServer.parseCatalogResponse has cyclomatic complexity 44 (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":"swoole-gbs/gbs-beta.php"},"region":{"startLine":2331}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9e0024d3f68f09a3a2133ca08c6006bf2805e128ecd0eab8c63d872435aa085"}},{"ruleId":"D1","level":"warning","message":{"text":"DeviceToolkit.getOperatingSystem (cyclomatic 36): DeviceToolkit.getOperatingSystem 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":"support/utils/DeviceToolkit.php"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0a92c65de50af94d952d416b817e1026be136b05bafe8bdfb4e6ad8e1fd93ac"}},{"ruleId":"D1","level":"warning","message":{"text":"GBS.requestInvite (cyclomatic 33): GBS.requestInvite 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":"Gb28181Gateway/src/SwooleServer/GBS.php"},"region":{"startLine":2301}}}],"partialFingerprints":{"codehealthFindingId/v1":"37baf11b5d511dc0c21399c00e7e917a75c92dae6e72266b240936a7c7652448"}},{"ruleId":"D1","level":"warning","message":{"text":"GBServer.requestInvite (cyclomatic 33): GBServer.requestInvite 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":"swoole-gbs/gbs-beta.php"},"region":{"startLine":2646}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9ca4977cdac9086c21eb5f9f827064c12b881af913e59d8e2f5402fc8bfd828"}},{"ruleId":"D1","level":"warning","message":{"text":"Gb28181Server.statusServer (cyclomatic 32): Gb28181Server.statusServer 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/command/Gb28181Server.php"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9abf19cb026e50d69da7c158884ea3aceb708fa5c03d54e3dbaa7bbd6e30386"}},{"ruleId":"D1","level":"warning","message":{"text":"SystemServiceImpl.getNetworkBytes (cyclomatic 31): SystemServiceImpl.getNetworkBytes 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":"CoreW/Business/System/Service/Impl/SystemServiceImpl.php"},"region":{"startLine":363}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bc2743ff98d4d0efb865bf044142c02a2b141790cd101c44a83089f5d1f10ba"}},{"ruleId":"D1","level":"warning","message":{"text":"GB28181Handler.tick (cyclomatic 30): GB28181Handler.tick 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":"Gb28181Gateway/src/Handlers/GB28181Handler.php"},"region":{"startLine":468}}}],"partialFingerprints":{"codehealthFindingId/v1":"e874381f7fa64cbcbd569d4608a8b6fc8d8a0fdecb25e944a687779ac86ae68f"}},{"ruleId":"D1","level":"warning","message":{"text":"GBS.sendInvite (cyclomatic 29): GBS.sendInvite 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":"Gb28181Gateway/src/SwooleServer/GBS.php"},"region":{"startLine":1681}}}],"partialFingerprints":{"codehealthFindingId/v1":"36f9c71657c9a2a20abf01010d8e185e3f99f08a9827f8d420eea1e93fc3fdd5"}},{"ruleId":"D1","level":"warning","message":{"text":"GBServer.sendInvite (cyclomatic 29): GBServer.sendInvite 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":"swoole-gbs/gbs-beta.php"},"region":{"startLine":2026}}}],"partialFingerprints":{"codehealthFindingId/v1":"5656af1132b51a6927a4b390d1b885feeea8d44dbb33742e203c397715bf0bb9"}},{"ruleId":"D1","level":"warning","message":{"text":"GB28181RecordingController.startRecord (cyclomatic 28): GB28181RecordingController.startRecord 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/admin/controller/GB28181RecordingController.php"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8ed82a2effcd644030d9c98888a076d4b9e12950f681ac3cd00e5e0d34eab08"}},{"ruleId":"D1","level":"warning","message":{"text":"GBS.checkExpiredDevices (cyclomatic 27): GBS.checkExpiredDevices 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":"Gb28181Gateway/src/SwooleServer/GBS.php"},"region":{"startLine":1547}}}],"partialFingerprints":{"codehealthFindingId/v1":"a62eaada24301e0141e32be9f46c66c771046c1554105a9f92808d55cf21e158"}},{"ruleId":"D1","level":"warning","message":{"text":"GBServer.checkExpiredDevices (cyclomatic 27): GBServer.checkExpiredDevices 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":"swoole-gbs/gbs-beta.php"},"region":{"startLine":1892}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5cf69a1cdac66eae3f0ca2887b1d7d6c1ecc894c73e0911d22996522580c914"}},{"ruleId":"D1","level":"warning","message":{"text":"CommandDispatcher.handlePlaybackControl (cyclomatic 24): CommandDispatcher.handlePlaybackControl 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. This is NOT this file\u0027s highest cyclomatic complexity: CommandDispatcher.dispatch (cyclomatic 57) 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":"Gb28181Gateway/src/Message/CommandDispatcher.php"},"region":{"startLine":958}}}],"partialFingerprints":{"codehealthFindingId/v1":"c471dbac9280fd509edd89f9c3eee40bfb08929feebacb6c34f5c0f5bd3460d5"}},{"ruleId":"D1","level":"warning","message":{"text":"EasyProcessor.render (cyclomatic 23): EasyProcessor.render 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":"CoreW/Gii/Template/Easy/EasyProcessor.php"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"278979d2cca4222e690961ab7491d016714851fc5670a541bc9f71aae4d19d4b"}},{"ruleId":"D1","level":"warning","message":{"text":"CustomRoute.resource (cyclomatic 22): CustomRoute.resource 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":"CoreW/CustomRoute.php"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f893cf6a818ced6bcbb005f4ae73957004ed1b2f49d2e0c2653dd3d8694745e"}},{"ruleId":"D1","level":"warning","message":{"text":"SubscribeServiceImpl.applySubscribeConfig (cyclomatic 20): SubscribeServiceImpl.applySubscribeConfig 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":"CoreW/Business/Subscribe/Service/Impl/SubscribeServiceImpl.php"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"60faa8fec18cf7c02d216fd67077939d84ca89007712c4c0b95afda44b1c1a13"}},{"ruleId":"D1","level":"warning","message":{"text":"Gb28181Client.subscribeAlarm (cyclomatic 20): Gb28181Client.subscribeAlarm 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":"CoreW/Sdk/PSipGateway/Gb28181Client.php"},"region":{"startLine":590}}}],"partialFingerprints":{"codehealthFindingId/v1":"23c6543b884b6cd06ee3f252b36e520b69cb383f43e122a25dcff8168bde9234"}},{"ruleId":"D1","level":"warning","message":{"text":"GB28181Handler.handleTask (cyclomatic 20): GB28181Handler.handleTask 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":"Gb28181Gateway/src/Handlers/GB28181Handler.php"},"region":{"startLine":734}}}],"partialFingerprints":{"codehealthFindingId/v1":"38607b86fdccacbcd0ce35a922c50e5168cd8c8461043c8e629b6911927cd8cf"}},{"ruleId":"D1","level":"warning","message":{"text":"ProductCatalogServiceImpl.updateProductCatalog (cyclomatic 19): ProductCatalogServiceImpl.updateProductCatalog 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":"CoreW/Business/Product/Service/Impl/ProductCatalogServiceImpl.php"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"6255ffdc4ec1f2e7bbdd3c26575ace62a496f41294073cccfb810c8eecfffe74"}},{"ruleId":"D1","level":"warning","message":{"text":"VIPServiceImpl.editVIPInfo (cyclomatic 19): VIPServiceImpl.editVIPInfo 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":"CoreW/Business/VIP/Service/Impl/VIPServiceImpl.php"},"region":{"startLine":504}}}],"partialFingerprints":{"codehealthFindingId/v1":"121c9a3dc942c15189131838029fdbdf5b50f436d9795d37308de719a5d5e4dd"}},{"ruleId":"D1","level":"warning","message":{"text":"AlarmPlanServiceImpl.matchPlan (cyclomatic 18): AlarmPlanServiceImpl.matchPlan 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":"CoreW/Business/Alarm/Service/Impl/AlarmPlanServiceImpl.php"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"212a9b4c33d9c4abad8928d4885314d23fc2c1d286e5f47ddeb36e7cf75d6eef"}},{"ruleId":"D1","level":"warning","message":{"text":"ZLMediaKitStrategy.getStats (cyclomatic 18): ZLMediaKitStrategy.getStats has cyclomatic complexity 18 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"CoreW/Business/MediaServer/Strategy/ZLMediaKitStrategy.php"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3cba59d9771395f51fc8320bcbf5a9a51e36367342d99e96b69b4e243b41ee5"}},{"ruleId":"D1","level":"warning","message":{"text":"GB28181Handler.handleResponse (cyclomatic 18): GB28181Handler.handleResponse 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":"Gb28181Gateway/src/Handlers/GB28181Handler.php"},"region":{"startLine":1872}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd6286de2eb12903d3951642f494bdd1e390523cc162edc78abc5a56b67e40c6"}},{"ruleId":"D1","level":"warning","message":{"text":"Channel.updateAdmin (cyclomatic 18): Channel.updateAdmin 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":"Gb28181Gateway/src/SwooleServer/Channel.php"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"4623e826510037fd89e36b6674fa6eeb641f62c1427942901427131fbc74041a"}},{"ruleId":"D1","level":"warning","message":{"text":"GisUtil.getPolygonCorners (cyclomatic 18): GisUtil.getPolygonCorners has cyclomatic complexity 18 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"support/utils/GisUtil.php"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9ee5f31e60eb17f27bf37a89b264a125f37df2dd865aadd99b386f063f135f7"}},{"ruleId":"D1","level":"warning","message":{"text":"JsonToolkit.prettyPrint (cyclomatic 18): JsonToolkit.prettyPrint 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":"support/utils/JsonToolkit.php"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"73251d2399d9c08e76b3c240c45fe00e9f364e8fd35d2ade9e7fbc90a42763e4"}},{"ruleId":"D1","level":"warning","message":{"text":"StringToolkit.jsonPettry (cyclomatic 18): StringToolkit.jsonPettry 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":"support/utils/StringToolkit.php"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"445a7be18dc542bad98b2c9b8133714fe8817054222d0dac6c88ad6e0af85bb8"}},{"ruleId":"D1","level":"warning","message":{"text":"Channel.updateAdmin (cyclomatic 18): Channel.updateAdmin 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":"swoole-gbs/gbs-beta.php"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"c77a371c98aa6abd3bfc081f15bb14945001246b1f959493f2fb5c7bc0b4134a"}},{"ruleId":"D1","level":"warning","message":{"text":"DeviceServiceImpl.batchUpdateOrCreateChannels (cyclomatic 17): DeviceServiceImpl.batchUpdateOrCreateChannels 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":"CoreW/Business/Devices/Service/Impl/DeviceServiceImpl.php"},"region":{"startLine":358}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3fb164316f084eb015d60fe5414c8380f58917382dcf0bbd9f35d21b1ca0d71"}},{"ruleId":"D1","level":"warning","message":{"text":"UserDaoImpl.createQueryBuilder (cyclomatic 17): UserDaoImpl.createQueryBuilder 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":"CoreW/Business/User/Dao/Impl/UserDaoImpl.php"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"682c4c86b920ad10fb386e7691cf7d27a53a6718863eab363c10f8bb9579b03c"}},{"ruleId":"D1","level":"warning","message":{"text":"VIPServiceImpl.login (cyclomatic 17): VIPServiceImpl.login 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":"CoreW/Business/VIP/Service/Impl/VIPServiceImpl.php"},"region":{"startLine":622}}}],"partialFingerprints":{"codehealthFindingId/v1":"c84bd1e4264d2782a130605353f3e1aa05f8050978ad197dbc1ae9ac09f45f35"}},{"ruleId":"D1","level":"warning","message":{"text":"DeviceManager.loadDevices (cyclomatic 17): DeviceManager.loadDevices 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":"Gb28181Gateway/src/Device/DeviceManager.php"},"region":{"startLine":475}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6794520aff29a9f8b3cbd2ce6cc4b8db738e5fb57ef20cf14a5a94f2f9c04fd"}},{"ruleId":"D1","level":"warning","message":{"text":"GB28181Handler.handleRegister (cyclomatic 17): GB28181Handler.handleRegister 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":"Gb28181Gateway/src/Handlers/GB28181Handler.php"},"region":{"startLine":1062}}}],"partialFingerprints":{"codehealthFindingId/v1":"487db364dd471e7540cfde52bceaa4517a6ecad11656363509993db0cfe0ef80"}},{"ruleId":"D1","level":"warning","message":{"text":"SdpBuilder.buildInviteSdp (cyclomatic 17): SdpBuilder.buildInviteSdp 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":"Gb28181Gateway/src/Message/SdpBuilder.php"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"266e69083b15ad78f467af78aacf370b15e58d8a3574fbc71760e64a1418daf4"}},{"ruleId":"D1","level":"warning","message":{"text":"GB28181DeviceController.update (cyclomatic 17): GB28181DeviceController.update 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/admin/controller/GB28181DeviceController.php"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"13241613824f0c1d756ed19cbbe1154674e913400ee5ca07d343b4db83d36ba9"}},{"ruleId":"D1","level":"warning","message":{"text":"GB28181DeviceController.eventStream (cyclomatic 17): GB28181DeviceController.eventStream 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/admin/controller/GB28181DeviceController.php"},"region":{"startLine":419}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e62388ecbe94b931f5c41466a077b78ed39fef53ff2e1ce5c6ac75531e01a28"}},{"ruleId":"D1","level":"warning","message":{"text":"VIPServiceImpl.applyCompany (cyclomatic 16): VIPServiceImpl.applyCompany 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":"CoreW/Business/VIP/Service/Impl/VIPServiceImpl.php"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e244818d4de24889cbee4c365e9f6cc8e5d02041c795ff112271e897f4e5c61"}},{"ruleId":"D1","level":"warning","message":{"text":"Device.updateConfig (cyclomatic 16): Device.updateConfig 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":"Gb28181Gateway/src/Device/Device.php"},"region":{"startLine":301}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4073c7e234a6bb3771b7c13149bf7412e3f40db496c57d936b2428a834ad677"}},{"ruleId":"D1","level":"warning","message":{"text":"GBS.stop (cyclomatic 16): GBS.stop 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":"Gb28181Gateway/src/SwooleServer/GBS.php"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"10982285bcf007f64ea048d301d3fde487092c59b3ddc4f592e00ae94e623482"}},{"ruleId":"D1","level":"warning","message":{"text":"GBS.handleRegister (cyclomatic 16): GBS.handleRegister 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":"Gb28181Gateway/src/SwooleServer/GBS.php"},"region":{"startLine":557}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0bbbe786fa977d12ba4289169bf43428528f1bc9f8e3cf357bf2070353e05e9"}},{"ruleId":"D1","level":"warning","message":{"text":"GBS.verifyAuth (cyclomatic 16): GBS.verifyAuth 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":"Gb28181Gateway/src/SwooleServer/GBS.php"},"region":{"startLine":1438}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ed11a59613b93dc109e7406d05efbd5e3f5321c3bce5c77e8f1128597fc3707"}},{"ruleId":"D1","level":"warning","message":{"text":"DeviceToolkit.matchBrowser (cyclomatic 16): DeviceToolkit.matchBrowser 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":"support/utils/DeviceToolkit.php"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"2820fdc129b5df8c5062318b7db374d9015c91a2476b92b0014ac9a2c0e35c6f"}},{"ruleId":"D1","level":"warning","message":{"text":"GBServer.stop (cyclomatic 16): GBServer.stop 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":"swoole-gbs/gbs-beta.php"},"region":{"startLine":572}}}],"partialFingerprints":{"codehealthFindingId/v1":"5575726afd5b0e4e769fd7ae4867721f648ffaaf555785a429b44e8fa9cf766d"}},{"ruleId":"D1","level":"warning","message":{"text":"GBServer.handleRegister (cyclomatic 16): GBServer.handleRegister 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":"swoole-gbs/gbs-beta.php"},"region":{"startLine":902}}}],"partialFingerprints":{"codehealthFindingId/v1":"5338d81b3d2cb6f10a6ae107f9991b914ad1fc9e91ed0537012fcb192a173ecd"}},{"ruleId":"D1","level":"warning","message":{"text":"GBServer.verifyAuth (cyclomatic 16): GBServer.verifyAuth 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":"swoole-gbs/gbs-beta.php"},"region":{"startLine":1783}}}],"partialFingerprints":{"codehealthFindingId/v1":"011710b07bffbdb2f243b822a3f0ebe841c69e243cf8d797dfdd50be7109e19a"}},{"ruleId":"D2","level":"warning","message":{"text":"DeviceToolkit.getOperatingSystem (cognitive 335): DeviceToolkit.getOperatingSystem has cognitive complexity 335 (threshold 15). Drivers by points: if/else 49 (325 pts), boolean chains 10 (nesting depth added 276). 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":"support/utils/DeviceToolkit.php"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"66be2a1ee8708644df303c1536c9a98e20455b64db6ebae5d3ba14f4223f97fb"}},{"ruleId":"D2","level":"warning","message":{"text":"GBS.parseCatalogResponse (cognitive 126): GBS.parseCatalogResponse has cognitive complexity 126 (threshold 15). Drivers by points: if/else 25 (79 pts), loops 7 (23 pts), ternaries 8 (18 pts), boolean chains 5, error handling 1 (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":"Gb28181Gateway/src/SwooleServer/GBS.php"},"region":{"startLine":1986}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1834d6a50a48f1a199ffaf35c1d0143a768151e2d8781deb2f73d497fbb5e4d"}},{"ruleId":"D2","level":"warning","message":{"text":"GBServer.parseCatalogResponse (cognitive 126): GBServer.parseCatalogResponse has cognitive complexity 126 (threshold 15). Drivers by points: if/else 25 (79 pts), loops 7 (23 pts), ternaries 8 (18 pts), boolean chains 5, error handling 1 (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":"swoole-gbs/gbs-beta.php"},"region":{"startLine":2331}}}],"partialFingerprints":{"codehealthFindingId/v1":"448510d399f9ec33b9ee18a61b7b9a0d9198a2999ea2db56217dd585fac183f0"}},{"ruleId":"D2","level":"warning","message":{"text":"GBS.handleMessageRequest (cognitive 115): GBS.handleMessageRequest has cognitive complexity 115 (threshold 15). Drivers by points: if/else 32 (71 pts), ternaries 4 (16 pts), loops 5 (15 pts), boolean chains 8, error handling 3 (5 pts) (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":"Gb28181Gateway/src/SwooleServer/GBS.php"},"region":{"startLine":684}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1b829a18696bddbde26318afd615146e835afe9319705b3334490f669518168"}},{"ruleId":"D2","level":"warning","message":{"text":"GBServer.handleMessageRequest (cognitive 115): GBServer.handleMessageRequest has cognitive complexity 115 (threshold 15). Drivers by points: if/else 32 (71 pts), ternaries 4 (16 pts), loops 5 (15 pts), boolean chains 8, error handling 3 (5 pts) (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":"swoole-gbs/gbs-beta.php"},"region":{"startLine":1029}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb952d4df5b89ca552e3a5cfbb6ed96f31a586aaffd2b6019c6076cb1502d51d"}},{"ruleId":"D2","level":"warning","message":{"text":"SystemServiceImpl.getNetworkBytes (cognitive 114): SystemServiceImpl.getNetworkBytes has cognitive complexity 114 (threshold 15). Drivers by points: if/else 17 (72 pts), loops 4 (17 pts), ternaries 3 (17 pts), boolean chains 8 (nesting depth added 82). 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":"CoreW/Business/System/Service/Impl/SystemServiceImpl.php"},"region":{"startLine":363}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a73723a7d8e23aed6e08f220b3b60fd983f164881dda7833b8a3d0a46762596"}},{"ruleId":"D2","level":"warning","message":{"text":"DeviceToolkit.matchBrowser (cognitive 106): DeviceToolkit.matchBrowser has cognitive complexity 106 (threshold 15). Drivers by points: if/else 27 (105 pts), boolean chains 1 (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":"support/utils/DeviceToolkit.php"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e52f5511352a31aada61e9b12db1bd3ec31b99e36b140927569a96397938ad8"}},{"ruleId":"D2","level":"warning","message":{"text":"FileToolkit.getDownloadTaskTypeByExtension (cognitive 77): FileToolkit.getDownloadTaskTypeByExtension has cognitive complexity 77 (threshold 15). Drivers by points: if/else 22 (77 pts) (nesting depth added 55). 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":"support/utils/FileToolkit.php"},"region":{"startLine":983}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bfbc3941a0b6a818185431cdfedb442b889af076b07a998f87cd6dfdea8e3ed"}},{"ruleId":"D2","level":"warning","message":{"text":"GBS.checkExpiredDevices (cognitive 76): GBS.checkExpiredDevices has cognitive complexity 76 (threshold 15). Drivers by points: if/else 17 (58 pts), loops 9 (17 pts), boolean chains 1 (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":"Gb28181Gateway/src/SwooleServer/GBS.php"},"region":{"startLine":1547}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f34e782c9064daa63ba690fc876d1e0fd7833bbda7db990da93f466284491a1"}},{"ruleId":"D2","level":"warning","message":{"text":"GBServer.checkExpiredDevices (cognitive 76): GBServer.checkExpiredDevices has cognitive complexity 76 (threshold 15). Drivers by points: if/else 17 (58 pts), loops 9 (17 pts), boolean chains 1 (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":"swoole-gbs/gbs-beta.php"},"region":{"startLine":1892}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a5d925f7960335170e20d8b622e41170c79ff355207b7132a7808956662d285"}},{"ruleId":"D2","level":"warning","message":{"text":"GBS.sendInvite (cognitive 58): GBS.sendInvite has cognitive complexity 58 (threshold 15). Drivers by points: if/else 23 (48 pts), ternaries 3 (5 pts), boolean chains 3, error handling 2 (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":"Gb28181Gateway/src/SwooleServer/GBS.php"},"region":{"startLine":1681}}}],"partialFingerprints":{"codehealthFindingId/v1":"f357f7e6e2c16db236d191b7fabbebff5d989da167163483214e5594515fb0c1"}},{"ruleId":"D2","level":"warning","message":{"text":"GBServer.sendInvite (cognitive 58): GBServer.sendInvite has cognitive complexity 58 (threshold 15). Drivers by points: if/else 23 (48 pts), ternaries 3 (5 pts), boolean chains 3, error handling 2 (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":"swoole-gbs/gbs-beta.php"},"region":{"startLine":2026}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d11a366fe540044ab99e53cdd830eb641b504842abdc566fa7baabb9da13879"}},{"ruleId":"D2","level":"warning","message":{"text":"GBS.requestInvite (cognitive 55): GBS.requestInvite has cognitive complexity 55 (threshold 15). Drivers by points: if/else 25 (44 pts), ternaries 5, error handling 3 (4 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":"Gb28181Gateway/src/SwooleServer/GBS.php"},"region":{"startLine":2301}}}],"partialFingerprints":{"codehealthFindingId/v1":"bda69ba2f613f40a840a417756eddc710f47aaa522fb9ccfdfc927c11f42e9d4"}},{"ruleId":"D2","level":"warning","message":{"text":"GBServer.requestInvite (cognitive 55): GBServer.requestInvite has cognitive complexity 55 (threshold 15). Drivers by points: if/else 25 (44 pts), ternaries 5, error handling 3 (4 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":"swoole-gbs/gbs-beta.php"},"region":{"startLine":2646}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec7eb56d55c105c7aa056ecb47d55ae3b643007539ed948bb5acf59830e95235"}},{"ruleId":"D2","level":"warning","message":{"text":"GB28181Handler.tick (cognitive 53): GB28181Handler.tick has cognitive complexity 53 (threshold 15). Drivers by points: if/else 13 (28 pts), loops 6 (14 pts), boolean chains 5, error handling 4, ternaries 1 (2 pts) (nesting depth added 24). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Gb28181Gateway/src/Handlers/GB28181Handler.php"},"region":{"startLine":468}}}],"partialFingerprints":{"codehealthFindingId/v1":"62ff318d0b0ce7c71e187742141f8ed2b29846a19921ec4a766a6d26133d3b4a"}},{"ruleId":"D2","level":"warning","message":{"text":"Gb28181Server.statusServer (cognitive 47): Gb28181Server.statusServer has cognitive complexity 47 (threshold 15). Drivers by points: ternaries 9 (20 pts), if/else 13 (15 pts), loops 3 (6 pts), boolean chains 5, error handling 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/command/Gb28181Server.php"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"b48efde7327440798d4e97cce5496c42d7dd66ea327f9dee304240cabca0a2e9"}},{"ruleId":"D2","level":"warning","message":{"text":"LeChangeStrategy.getLiveUrl (cognitive 44): LeChangeStrategy.getLiveUrl has cognitive complexity 44 (threshold 15). Drivers by points: if/else 11 (25 pts), ternaries 5 (19 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":"CoreW/Business/LiveProvider/Strategy/Impl/LeChangeStrategy.php"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"3806169466aad1f2b94c431a48917678abe9a88e8f651b92841d5abf84d52025"}},{"ruleId":"D2","level":"warning","message":{"text":"GB28181Handler.handleResponse (cognitive 44): GB28181Handler.handleResponse has cognitive complexity 44 (threshold 15). Drivers by points: if/else 15 (37 pts), boolean chains 7 (nesting depth added 22). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Gb28181Gateway/src/Handlers/GB28181Handler.php"},"region":{"startLine":1872}}}],"partialFingerprints":{"codehealthFindingId/v1":"38b720295f92b8cd7a56fee83023bcb72d05437e4ccadc62509db5d6af757756"}},{"ruleId":"D2","level":"warning","message":{"text":"SubscribeServiceImpl.applySubscribeConfig (cognitive 43): SubscribeServiceImpl.applySubscribeConfig has cognitive complexity 43 (threshold 15). Drivers by points: if/else 21 (30 pts), error handling 6 (12 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":"CoreW/Business/Subscribe/Service/Impl/SubscribeServiceImpl.php"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8c05806dd16cb085e22d1cba86b7c222659f148bc8ce4c6cb87846afa6b093d"}},{"ruleId":"D2","level":"warning","message":{"text":"AlarmPlanServiceImpl.matchPlan (cognitive 41): AlarmPlanServiceImpl.matchPlan has cognitive complexity 41 (threshold 15). Drivers by points: if/else 9 (24 pts), ternaries 4 (13 pts), boolean chains 3, loops 1 (nesting depth added 24). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"CoreW/Business/Alarm/Service/Impl/AlarmPlanServiceImpl.php"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbe8324895117d37a2cd50c97c6ab8841a84caa9f9b0aec51d204912582f3105"}},{"ruleId":"D2","level":"warning","message":{"text":"SystemServiceImpl.getMemoryUsage (cognitive 41): SystemServiceImpl.getMemoryUsage has cognitive complexity 41 (threshold 15). Drivers by points: if/else 9 (23 pts), ternaries 5 (15 pts), loops 1 (3 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":"CoreW/Business/System/Service/Impl/SystemServiceImpl.php"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0130e78a964f6a21e9de17efa6b5d519dec59400cb84469212927e895539929"}},{"ruleId":"D2","level":"warning","message":{"text":"CustomRoute.resource (cognitive 41): CustomRoute.resource has cognitive complexity 41 (threshold 15). Drivers by points: if/else 19 (36 pts), loops 1 (3 pts), boolean chains 1, ternaries 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":"CoreW/CustomRoute.php"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"e11ce6ec17b2222cfe87b7d61f33356ab2122fc6f55b2cc829b5bfdb09253215"}},{"ruleId":"D2","level":"warning","message":{"text":"GB28181Handler.handleTask (cognitive 41): GB28181Handler.handleTask has cognitive complexity 41 (threshold 15). Drivers by points: if/else 14 (25 pts), ternaries 3 (9 pts), boolean chains 7 (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":"Gb28181Gateway/src/Handlers/GB28181Handler.php"},"region":{"startLine":734}}}],"partialFingerprints":{"codehealthFindingId/v1":"be85987ee1563ebb0de0b3cb56f89534517716aab3007c6ffcda0c3ce069a879"}},{"ruleId":"D2","level":"warning","message":{"text":"SystemServiceImpl.getCpuUsage (cognitive 38): SystemServiceImpl.getCpuUsage has cognitive complexity 38 (threshold 15). Drivers by points: if/else 9 (25 pts), loops 2 (7 pts), ternaries 2 (4 pts), boolean chains 2 (nesting depth added 23). 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":"CoreW/Business/System/Service/Impl/SystemServiceImpl.php"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"b84cfcd43f25776f35b066434de1cc5a687d8a658d2667d6744f0a7e39ed43ec"}},{"ruleId":"D2","level":"warning","message":{"text":"GBS.handleMessage (cognitive 37): GBS.handleMessage has cognitive complexity 37 (threshold 15). Drivers by points: if/else 18 (36 pts), error handling 1 (nesting depth added 18). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Gb28181Gateway/src/SwooleServer/GBS.php"},"region":{"startLine":464}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b5ba1b73adc208f1a84f5ba2e7fa7a46bafeca4d5dfded0fdefa84d53bcd303"}},{"ruleId":"D2","level":"warning","message":{"text":"GBServer.handleMessage (cognitive 37): GBServer.handleMessage has cognitive complexity 37 (threshold 15). Drivers by points: if/else 18 (36 pts), error handling 1 (nesting depth added 18). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"swoole-gbs/gbs-beta.php"},"region":{"startLine":809}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd8f33d71fc38c71ba6cb90c282d24d48e262e80e33717446aa2d27d8104cde5"}},{"ruleId":"D2","level":"warning","message":{"text":"GB28181RecordingController.startRecord (cognitive 36): GB28181RecordingController.startRecord has cognitive complexity 36 (threshold 15). Drivers by points: if/else 14 (17 pts), ternaries 5 (10 pts), boolean chains 7, 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":"app/admin/controller/GB28181RecordingController.php"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"ead7d74dc140d9238e528090cc6982c097e363a569be84ccab079e8dcc5bec98"}},{"ruleId":"D2","level":"warning","message":{"text":"DeviceManager.loadDevices (cognitive 35): DeviceManager.loadDevices has cognitive complexity 35 (threshold 15). Drivers by points: if/else 7 (18 pts), error handling 2 (7 pts), boolean chains 5, 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":"Gb28181Gateway/src/Device/DeviceManager.php"},"region":{"startLine":475}}}],"partialFingerprints":{"codehealthFindingId/v1":"966f187152f1b65128b682644daab3739c0806eca4574a885e1c416715afa1fb"}},{"ruleId":"D2","level":"warning","message":{"text":"FileToolkit.getFileTypeByExtension (cognitive 35): FileToolkit.getFileTypeByExtension has cognitive complexity 35 (threshold 15). Drivers by points: if/else 14 (35 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":"support/utils/FileToolkit.php"},"region":{"startLine":960}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bd0562baee0c5097204b82ea8b6f2c6456330cf90bd8f60b5b4b4903726317c"}},{"ruleId":"D2","level":"warning","message":{"text":"SdpBuilder.buildInviteSdp (cognitive 31): SdpBuilder.buildInviteSdp has cognitive complexity 31 (threshold 15). Drivers by points: if/else 18 (26 pts), boolean chains 3, loops 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":"Gb28181Gateway/src/Message/SdpBuilder.php"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4a87a6c6123173f103db1fcd51c2c1e7e49fdc403bc477f3a2e140a8a6e28a0"}},{"ruleId":"D2","level":"warning","message":{"text":"VIPServiceImpl.login (cognitive 30): VIPServiceImpl.login has cognitive complexity 30 (threshold 15). Drivers by points: if/else 16 (28 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":"CoreW/Business/VIP/Service/Impl/VIPServiceImpl.php"},"region":{"startLine":622}}}],"partialFingerprints":{"codehealthFindingId/v1":"33a6516df9f0be6623b2b0db3091f2124168f1f361aa8075df908328cb1beb30"}},{"ruleId":"D2","level":"warning","message":{"text":"EasyProcessor.render (cognitive 30): EasyProcessor.render has cognitive complexity 30 (threshold 15). Drivers by points: if/else 15 (20 pts), boolean chains 8, error handling 1, loops 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"CoreW/Gii/Template/Easy/EasyProcessor.php"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"8df7580da3decbe518446103f98f64a2d64f9f55ce33bde413b5577e35f7b364"}},{"ruleId":"D2","level":"warning","message":{"text":"Base.afterResponse (cognitive 30): Base.afterResponse has cognitive complexity 30 (threshold 15). Drivers by points: if/else 7 (18 pts), loops 3 (11 pts), boolean chains 1 (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":"CoreW/Sdk/Iot/Driver/Base.php"},"region":{"startLine":294}}}],"partialFingerprints":{"codehealthFindingId/v1":"77f993053638d1f05f8718f3d28cb130ebc7b7bd13b5543072367d39402ae16e"}},{"ruleId":"D2","level":"warning","message":{"text":"Gb28181Client.subscribeAlarm (cognitive 30): Gb28181Client.subscribeAlarm has cognitive complexity 30 (threshold 15). Drivers by points: if/else 14 (23 pts), loops 2 (4 pts), boolean chains 3 (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":"CoreW/Sdk/PSipGateway/Gb28181Client.php"},"region":{"startLine":590}}}],"partialFingerprints":{"codehealthFindingId/v1":"f975ddf5dd17e4cedc3b7d56a0b96ee71d0e8cf64510e3a5c0e1d7e5bb16158a"}},{"ruleId":"D2","level":"warning","message":{"text":"LeChangeStrategy.stopLive (cognitive 29): LeChangeStrategy.stopLive has cognitive complexity 29 (threshold 15). Drivers by points: if/else 11 (29 pts) (nesting depth added 18). 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":"CoreW/Business/LiveProvider/Strategy/Impl/LeChangeStrategy.php"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"3355e5609e19e93ed09be1e2074fb705728b0bd55317a40a0a47fbe6e076edeb"}},{"ruleId":"D2","level":"warning","message":{"text":"GBS.stop (cognitive 29): GBS.stop has cognitive complexity 29 (threshold 15). Drivers by points: error handling 3 (11 pts), if/else 6 (11 pts), loops 5 (6 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":"Gb28181Gateway/src/SwooleServer/GBS.php"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b5ed813646577d2cde56cad7bd250813542e8c5befa2e4a550a29217feb2516"}},{"ruleId":"D2","level":"warning","message":{"text":"GBS.handleInviteResponse (cognitive 29): GBS.handleInviteResponse has cognitive complexity 29 (threshold 15). Drivers by points: if/else 13 (27 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":"Gb28181Gateway/src/SwooleServer/GBS.php"},"region":{"startLine":1000}}}],"partialFingerprints":{"codehealthFindingId/v1":"7afe1bf8efabc2e3ed01c59809e20b4c427beca7ac1b7558f05f6e2ec2934b8d"}},{"ruleId":"D2","level":"warning","message":{"text":"GBServer.stop (cognitive 29): GBServer.stop has cognitive complexity 29 (threshold 15). Drivers by points: error handling 3 (11 pts), if/else 6 (11 pts), loops 5 (6 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":"swoole-gbs/gbs-beta.php"},"region":{"startLine":572}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae44550ce57b8fc9fd19f33410add7bbd647cd36a5c0f1b52af53a3512d8f77c"}},{"ruleId":"D2","level":"warning","message":{"text":"GBServer.handleInviteResponse (cognitive 29): GBServer.handleInviteResponse has cognitive complexity 29 (threshold 15). Drivers by points: if/else 13 (27 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":"swoole-gbs/gbs-beta.php"},"region":{"startLine":1345}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ca6bdd1d18dbd32f027a160e155c1c0c9a4f813f086ab5c1ab04671b6e74948"}},{"ruleId":"D2","level":"warning","message":{"text":"TableStrategy.afterWave (cognitive 28): TableStrategy.afterWave has cognitive complexity 28 (threshold 15). Drivers by points: if/else 6 (15 pts), loops 3 (12 pts), boolean chains 1 (nesting depth added 18). 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":"CoreW/Dao/CacheStrategy/TableStrategy.php"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"983f7afce462130349f652fb7e49c8b591cf206252f2615be03b9798e1b6cf93"}},{"ruleId":"D2","level":"warning","message":{"text":"GB28181DeviceController.eventStream (cognitive 28): GB28181DeviceController.eventStream has cognitive complexity 28 (threshold 15). Drivers by points: if/else 15 (22 pts), boolean chains 4, loops 1 (2 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/admin/controller/GB28181DeviceController.php"},"region":{"startLine":419}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf416993591b0075de840ad9c3c5311cedffe0dc1afc0c696ae4688474a3ae08"}},{"ruleId":"D2","level":"warning","message":{"text":"DeviceServiceImpl.batchUpdateOrCreateChannels (cognitive 27): DeviceServiceImpl.batchUpdateOrCreateChannels has cognitive complexity 27 (threshold 15). Drivers by points: ternaries 8 (16 pts), if/else 6 (8 pts), boolean chains 1, error handling 1, loops 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"CoreW/Business/Devices/Service/Impl/DeviceServiceImpl.php"},"region":{"startLine":358}}}],"partialFingerprints":{"codehealthFindingId/v1":"9649c1f32ab48cbd6132eb2339548b174305d204f5f8226ecdcf6dc858645b75"}},{"ruleId":"D2","level":"warning","message":{"text":"SubscribeServiceImpl.renewExpiringSubscriptions (cognitive 27): SubscribeServiceImpl.renewExpiringSubscriptions has cognitive complexity 27 (threshold 15). Drivers by points: if/else 9 (20 pts), boolean chains 4, error handling 1 (2 pts), loops 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"CoreW/Business/Subscribe/Service/Impl/SubscribeServiceImpl.php"},"region":{"startLine":316}}}],"partialFingerprints":{"codehealthFindingId/v1":"599a750480af2f517cc4b5247c70e14b012c5e54cb6b359af82d91b581f205d5"}},{"ruleId":"D2","level":"warning","message":{"text":"CommandDispatcher.handlePlaybackControl (cognitive 27): CommandDispatcher.handlePlaybackControl has cognitive complexity 27 (threshold 15). Drivers by points: if/else 13 (20 pts), ternaries 3 (4 pts), boolean chains 2, match/switch 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":"Gb28181Gateway/src/Message/CommandDispatcher.php"},"region":{"startLine":958}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b60dcf47d9172042ef381094a80c328c05cf0e8cecce1f54c842117514c1c0c"}},{"ruleId":"D2","level":"warning","message":{"text":"Channel.updateAdmin (cognitive 27): Channel.updateAdmin has cognitive complexity 27 (threshold 15). Drivers by points: if/else 7 (13 pts), ternaries 8 (10 pts), error handling 1 (2 pts), boolean chains 1, 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":"Gb28181Gateway/src/SwooleServer/Channel.php"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e507d8ab92a2a5b5cd2a5b1c736015f3300558a35c9c49e35aff68e936a9f48"}},{"ruleId":"D2","level":"warning","message":{"text":"GBS.handleRegister (cognitive 27): GBS.handleRegister has cognitive complexity 27 (threshold 15). Drivers by points: if/else 13 (20 pts), error handling 2 (3 pts), boolean chains 2, loops 1 (2 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Gb28181Gateway/src/SwooleServer/GBS.php"},"region":{"startLine":557}}}],"partialFingerprints":{"codehealthFindingId/v1":"49ba33b0af9c0459557d0174d863839cedc6420843e96ba2561fcbc72b8de26e"}},{"ruleId":"D2","level":"warning","message":{"text":"GBS.releaseChannelByCallid (cognitive 27): GBS.releaseChannelByCallid has cognitive complexity 27 (threshold 15). Drivers by points: if/else 8 (23 pts), loops 3 (4 pts) (nesting depth added 16). 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":"Gb28181Gateway/src/SwooleServer/GBS.php"},"region":{"startLine":1155}}}],"partialFingerprints":{"codehealthFindingId/v1":"15cbc1768dbd72e5fcf82d690a576d07229a887c3cbb08da1462e6976eecca6a"}},{"ruleId":"D2","level":"warning","message":{"text":"JsonToolkit.prettyPrint (cognitive 27): JsonToolkit.prettyPrint has cognitive complexity 27 (threshold 15). Drivers by points: if/else 9 (21 pts), match/switch 1 (5 pts), loops 1 (nesting depth added 16). 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":"support/utils/JsonToolkit.php"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"b29d8a24624c6ef80efa4ceee890e80c9cd01cea37d4ac7b044f55b7682f9a7b"}},{"ruleId":"D2","level":"warning","message":{"text":"StringToolkit.jsonPettry (cognitive 27): StringToolkit.jsonPettry has cognitive complexity 27 (threshold 15). Drivers by points: if/else 9 (21 pts), match/switch 1 (5 pts), loops 1 (nesting depth added 16). 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":"support/utils/StringToolkit.php"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb1d4c870cc370d7d33e55d1b0c2fb5c6a318e0b2af14338ef5f89bda643db19"}},{"ruleId":"D2","level":"warning","message":{"text":"Channel.updateAdmin (cognitive 27): Channel.updateAdmin has cognitive complexity 27 (threshold 15). Drivers by points: if/else 7 (13 pts), ternaries 8 (10 pts), error handling 1 (2 pts), boolean chains 1, 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":"swoole-gbs/gbs-beta.php"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"45eb3586bd79dd6e2b12c0dcee6bc1a72808067a88fd60f3b5d56ef004e903e7"}},{"ruleId":"D2","level":"warning","message":{"text":"GBServer.handleRegister (cognitive 27): GBServer.handleRegister has cognitive complexity 27 (threshold 15). Drivers by points: if/else 13 (20 pts), error handling 2 (3 pts), boolean chains 2, loops 1 (2 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"swoole-gbs/gbs-beta.php"},"region":{"startLine":902}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e854010016d752ac818a1706fb428436afad1def0b8f0c19e1e7e4e56295c19"}},{"ruleId":"D2","level":"warning","message":{"text":"GBServer.releaseChannelByCallid (cognitive 27): GBServer.releaseChannelByCallid has cognitive complexity 27 (threshold 15). Drivers by points: if/else 8 (23 pts), loops 3 (4 pts) (nesting depth added 16). 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":"swoole-gbs/gbs-beta.php"},"region":{"startLine":1500}}}],"partialFingerprints":{"codehealthFindingId/v1":"42e984b5d0b0534cd22bc42d72b5981eb0fed02a38700b7808fc1c1305dd358e"}},{"ruleId":"D2","level":"warning","message":{"text":"Bfw.init (cognitive 26): Bfw.init has cognitive complexity 26 (threshold 15). Drivers by points: if/else 8 (23 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":"CoreW/Bfw.php"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"7efd1af574ca118cbc010a33e31759a8bfb4eaf0b06feff708b353835a1a7448"}},{"ruleId":"D2","level":"warning","message":{"text":"VIPServiceImpl.applyCompany (cognitive 26): VIPServiceImpl.applyCompany has cognitive complexity 26 (threshold 15). Drivers by points: if/else 15 (25 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":"CoreW/Business/VIP/Service/Impl/VIPServiceImpl.php"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"24fe93317a0e7898d0626b79a938b4028d64350407aa48c82d198412546fd24d"}},{"ruleId":"D2","level":"warning","message":{"text":"MakeResourceCommand.execute (cognitive 26): MakeResourceCommand.execute has cognitive complexity 26 (threshold 15). Drivers by points: if/else 9 (16 pts), ternaries 4 (8 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/command/MakeResourceCommand.php"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"30c97a5312683430f7f025889b99729e586cff4a341a453e247dbf6ec7bab0a5"}},{"ruleId":"D2","level":"warning","message":{"text":"UnifiedAuthenticationListener.getTokenHandler (cognitive 26): UnifiedAuthenticationListener.getTokenHandler has cognitive complexity 26 (threshold 15). Drivers by points: if/else 14 (26 pts) (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/middleware/security/firewall/UnifiedAuthenticationListener.php"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"47e02891f6815ce4c7ce82b3df01654f5ec2598dcda9eec86d310e48fe678dae"}},{"ruleId":"D2","level":"warning","message":{"text":"VIPServiceImpl.editVIPInfo (cognitive 25): VIPServiceImpl.editVIPInfo has cognitive complexity 25 (threshold 15). Drivers by points: if/else 14 (21 pts), boolean chains 3, error handling 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"CoreW/Business/VIP/Service/Impl/VIPServiceImpl.php"},"region":{"startLine":504}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3c12df1179bb7620fccd32872729794a5637a13177e8ca41aee0f61fcd3f108"}},{"ruleId":"D2","level":"warning","message":{"text":"DefaultMail.doSend (cognitive 25): DefaultMail.doSend has cognitive complexity 25 (threshold 15). Drivers by points: if/else 9 (16 pts), boolean chains 3, loops 1 (3 pts), error handling 1 (2 pts), 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":"CoreW/Mail/DefaultMail.php"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"2582ad87bd3435c8dc04299635fe21d7ef7fe6fc77b7dc96400467f9100b5211"}},{"ruleId":"D2","level":"warning","message":{"text":"GBS.handleNotify (cognitive 25): GBS.handleNotify has cognitive complexity 25 (threshold 15). Drivers by points: if/else 11 (15 pts), loops 1 (4 pts), boolean chains 3, error handling 2 (3 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Gb28181Gateway/src/SwooleServer/GBS.php"},"region":{"startLine":909}}}],"partialFingerprints":{"codehealthFindingId/v1":"010f518bd5224609df9e01a3966404a53666b7cdeb087d30bcfb428e48a47c1b"}},{"ruleId":"D2","level":"warning","message":{"text":"GBS.trySendByeOn486 (cognitive 25): GBS.trySendByeOn486 has cognitive complexity 25 (threshold 15). Drivers by points: if/else 9 (21 pts), loops 2 (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":"Gb28181Gateway/src/SwooleServer/GBS.php"},"region":{"startLine":1104}}}],"partialFingerprints":{"codehealthFindingId/v1":"063cc9e478fd7cd91aa0fd2b8766da8f7a0b717b0fe90eba5ce84b7a662640d0"}},{"ruleId":"D2","level":"warning","message":{"text":"FileToolkit.autoCharset (cognitive 25): FileToolkit.autoCharset has cognitive complexity 25 (threshold 15). Drivers by points: if/else 10 (17 pts), boolean chains 3, loops 1 (3 pts), ternaries 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":"support/utils/FileToolkit.php"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"9abe299696db293067e4638667639d46ec7a3986dcbcf0fc80186f45066a32b1"}},{"ruleId":"D2","level":"warning","message":{"text":"GBServer.handleNotify (cognitive 25): GBServer.handleNotify has cognitive complexity 25 (threshold 15). Drivers by points: if/else 11 (15 pts), loops 1 (4 pts), boolean chains 3, error handling 2 (3 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"swoole-gbs/gbs-beta.php"},"region":{"startLine":1254}}}],"partialFingerprints":{"codehealthFindingId/v1":"c94f2ba08c71cb1eaf9c47527ff1fb1be6138b0c2020dd834b652161790bd391"}},{"ruleId":"D2","level":"warning","message":{"text":"GBServer.trySendByeOn486 (cognitive 25): GBServer.trySendByeOn486 has cognitive complexity 25 (threshold 15). Drivers by points: if/else 9 (21 pts), loops 2 (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":"swoole-gbs/gbs-beta.php"},"region":{"startLine":1449}}}],"partialFingerprints":{"codehealthFindingId/v1":"47cc7dc1f9205e4949a8a820ccd0c0c810cb9b9a9457d4cb2f279c2bb79971a2"}},{"ruleId":"D2","level":"warning","message":{"text":"DeviceServiceImpl.getAreaDeviceTree (cognitive 24): DeviceServiceImpl.getAreaDeviceTree has cognitive complexity 24 (threshold 15). Drivers by points: ternaries 7 (16 pts), if/else 2 (5 pts), loops 2 (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":"CoreW/Business/Devices/Service/Impl/DeviceServiceImpl.php"},"region":{"startLine":810}}}],"partialFingerprints":{"codehealthFindingId/v1":"526c9e5e5b863bb5555368198217963af35eaeded30309d6cafc1019b7d15977"}},{"ruleId":"D2","level":"warning","message":{"text":"GB28181DeviceController.update (cognitive 24): GB28181DeviceController.update has cognitive complexity 24 (threshold 15). Drivers by points: if/else 12 (19 pts), error handling 2 (3 pts), loops 2 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/admin/controller/GB28181DeviceController.php"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"219792c3f712e60d37ba16ee130baeba58d0abf7ba437bf703cab4b7d1d34668"}},{"ruleId":"D2","level":"warning","message":{"text":"XdbSearcher.search (cognitive 23): XdbSearcher.search has cognitive complexity 23 (threshold 15). Drivers by points: if/else 14 (22 pts), loops 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"CoreW/Business/Ip2Region/XdbSearcher.php"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"632db7b025a103ec019aa835945820da93505926f92a09b767152972496a2dbb"}},{"ruleId":"D2","level":"warning","message":{"text":"SipGatewayServiceImpl.registerGateway (cognitive 23): SipGatewayServiceImpl.registerGateway has cognitive complexity 23 (threshold 15). Drivers by points: ternaries 5 (12 pts), if/else 7 (8 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":"CoreW/Business/SipGateway/Service/Impl/SipGatewayServiceImpl.php"},"region":{"startLine":383}}}],"partialFingerprints":{"codehealthFindingId/v1":"07f0bba10096cf7562ac32fa99870244a48fb3ea2777057a7db4ead295f284a4"}},{"ruleId":"D2","level":"warning","message":{"text":"ExceptionUtil.getErrorAndHttpCodeFromException (cognitive 23): ExceptionUtil.getErrorAndHttpCodeFromException has cognitive complexity 23 (threshold 15). Drivers by points: ternaries 4 (12 pts), if/else 6 (9 pts), boolean chains 2 (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":"CoreW/Exception/ExceptionUtil.php"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcada8b9e3b6eabb1ad01f09fb6beb78f7bff180301f6ea2fe50433a17a416de"}},{"ruleId":"D2","level":"warning","message":{"text":"DaoImplTemplate.splitDeclares (cognitive 23): DaoImplTemplate.splitDeclares has cognitive complexity 23 (threshold 15). Drivers by points: if/else 6 (16 pts), loops 2 (7 pts) (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":"CoreW/Gii/Template/Easy/DaoImplTemplate.php"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed52a84a4bc97d98bd126cd9fd93e8e7c25d764757fbe38ea31aa6ffd0d054cd"}},{"ruleId":"D2","level":"warning","message":{"text":"AutoRecordProcess.handleDeviceRecording (cognitive 23): AutoRecordProcess.handleDeviceRecording has cognitive complexity 23 (threshold 15). Drivers by points: if/else 9 (19 pts), ternaries 1 (2 pts), boolean chains 1, 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/process/AutoRecordProcess.php"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d1014b9bde0fe34ff1239ef9aa129e28b4025f6e9afacf2f823251c965114de"}},{"ruleId":"D2","level":"warning","message":{"text":"ArrayToolkit.filter (cognitive 23): ArrayToolkit.filter has cognitive complexity 23 (threshold 15). Drivers by points: if/else 10 (22 pts), loops 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":"support/utils/ArrayToolkit.php"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bc5aaff044c080d1f57d72b903b114bbf87ab56bfc0619f19c97c258d341f17"}},{"ruleId":"D2","level":"warning","message":{"text":"Gb28181Service.createPlaybackSessionAndOpenRtp (cognitive 22): Gb28181Service.createPlaybackSessionAndOpenRtp has cognitive complexity 22 (threshold 15). Drivers by points: ternaries 5 (14 pts), if/else 4 (8 pts) (nesting depth added 13). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"CoreW/Business/GB/Gb28181Service.php"},"region":{"startLine":808}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c85f563728f568b5a960c7758e770c7cf99bb8059711d162424153dd0f69781"}},{"ruleId":"D2","level":"warning","message":{"text":"ProductServiceImpl.updateScene (cognitive 22): ProductServiceImpl.updateScene has cognitive complexity 22 (threshold 15). Drivers by points: if/else 12 (22 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":"CoreW/Business/Product/Service/Impl/ProductServiceImpl.php"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bb8b5111d9ab08fbcbcde7948b9f3ea1e2a44a2a07036542ba1bff6490c601d"}},{"ruleId":"D2","level":"warning","message":{"text":"UserDaoImpl.createQueryBuilder (cognitive 22): UserDaoImpl.createQueryBuilder has cognitive complexity 22 (threshold 15). Drivers by points: if/else 14 (19 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":"CoreW/Business/User/Dao/Impl/UserDaoImpl.php"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"64a3f382f15646c8f69c90b6dccd25052807d5a59f61e96b5ca7a3ee71b23cfe"}},{"ruleId":"D2","level":"warning","message":{"text":"RedisSubscriber.run (cognitive 22): RedisSubscriber.run has cognitive complexity 22 (threshold 15). Drivers by points: if/else 7 (17 pts), boolean chains 2, error handling 1 (2 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":"Gb28181Gateway/src/Handlers/LongTask/RedisSubscriber.php"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c6c8c28963f5bfba9517f7e65c9146d50e833ff337c18e53343be13baa92ac1"}},{"ruleId":"D2","level":"warning","message":{"text":"AuthController.login (cognitive 22): AuthController.login has cognitive complexity 22 (threshold 15). Drivers by points: if/else 7 (16 pts), boolean chains 3, loops 2 (3 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/admin/controller/AuthController.php"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"01fd459f2504344d73b59df380982eaace9d5da5d0daa19c95cd0fa691f93cb6"}},{"ruleId":"D2","level":"warning","message":{"text":"AutoRecordProcess.handleStreamProxyRecording (cognitive 22): AutoRecordProcess.handleStreamProxyRecording has cognitive complexity 22 (threshold 15). Drivers by points: if/else 9 (19 pts), boolean chains 1, error handling 1, loops 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/process/AutoRecordProcess.php"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"818b464927d362a681bef1fbdb0d1a999f97b15c8f81dac05d68a807b9240bc5"}},{"ruleId":"D2","level":"warning","message":{"text":"TimeMachineToolkit.formatTime (cognitive 22): TimeMachineToolkit.formatTime has cognitive complexity 22 (threshold 15). Drivers by points: if/else 12 (22 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":"support/utils/TimeMachineToolkit.php"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d29afead54f6fb5b8a81ca55c71a4c1e14ca67a570678439a6b7ae1edf4a991"}},{"ruleId":"D2","level":"warning","message":{"text":"Gb28181SendRtpPortService.getNextPort (cognitive 21): Gb28181SendRtpPortService.getNextPort has cognitive complexity 21 (threshold 15). Drivers by points: if/else 11 (18 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":"CoreW/Business/GB/Gb28181SendRtpPortService.php"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"107c496122792aba3df9c219cf828184746f21eafc426c3977a6360753a2f06f"}},{"ruleId":"D2","level":"warning","message":{"text":"GiiFactory.delDir (cognitive 21): GiiFactory.delDir has cognitive complexity 21 (threshold 15). Drivers by points: if/else 5 (17 pts), loops 1 (3 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":"CoreW/Gii/GiiFactory.php"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"af2935d7de52ca323dc31dd76838e2af6da5393c8f3ab8252519935c101c66e8"}},{"ruleId":"D2","level":"warning","message":{"text":"GB28181Handler.handleRegister (cognitive 21): GB28181Handler.handleRegister has cognitive complexity 21 (threshold 15). Drivers by points: if/else 14 (18 pts), ternaries 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":"Gb28181Gateway/src/Handlers/GB28181Handler.php"},"region":{"startLine":1062}}}],"partialFingerprints":{"codehealthFindingId/v1":"f08c8b2a6c1787d2d33cee9cc0ba222fd5353207f0465393069f23c83cc746bd"}},{"ruleId":"D2","level":"warning","message":{"text":"GB28181StreamController.playbackDownload (cognitive 21): GB28181StreamController.playbackDownload has cognitive complexity 21 (threshold 15). Drivers by points: if/else 10 (18 pts), boolean chains 2, error handling 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/admin/controller/GB28181StreamController.php"},"region":{"startLine":265}}}],"partialFingerprints":{"codehealthFindingId/v1":"8622d2c6724fa3c1b13ff85835839c8afd2cdd055fba1f80ee28387c0f2222b4"}},{"ruleId":"D2","level":"warning","message":{"text":"SystemMonitoringController.getSystemStats (cognitive 21): SystemMonitoringController.getSystemStats has cognitive complexity 21 (threshold 15). Drivers by points: if/else 7 (14 pts), ternaries 4, boolean chains 2, error handling 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/admin/controller/SystemMonitoringController.php"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ee6aacaf955ccab2914785a420415364abf76944198c340a84fd7ca017a0535"}},{"ruleId":"D2","level":"warning","message":{"text":"ZLMHookController.handleVoicePublish (cognitive 21): ZLMHookController.handleVoicePublish has cognitive complexity 21 (threshold 15). Drivers by points: if/else 9 (21 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/api/v2/controller/ZLMHookController.php"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"73e0fcf0e6eecd6c4783d82d7641ed5bf8f355e79ce7da2250aa6d392b99814d"}},{"ruleId":"D2","level":"warning","message":{"text":"ExceptionUtil.getErrorAndHttpCodeFromException (cognitive 21): ExceptionUtil.getErrorAndHttpCodeFromException has cognitive complexity 21 (threshold 15). Drivers by points: ternaries 3 (11 pts), if/else 6 (9 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":"support/utils/ExceptionUtil.php"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"f110e6c4686e263228dca712d83ba95d608614f0737d139726e03fc72e4b303d"}},{"ruleId":"D2","level":"warning","message":{"text":"GisUtil.getPolygonCorners (cognitive 21): GisUtil.getPolygonCorners has cognitive complexity 21 (threshold 15). Drivers by points: boolean chains 12, if/else 4 (8 pts), loops 1 (nesting depth added 4). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"support/utils/GisUtil.php"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"75e2723310401e0f36f9e3f5d4273b6795248541e8151abbd7a959f526c538aa"}},{"ruleId":"D2","level":"warning","message":{"text":"ProductServiceImpl.getDouYinVideoRedirectUrl (cognitive 20): ProductServiceImpl.getDouYinVideoRedirectUrl has cognitive complexity 20 (threshold 15). Drivers by points: if/else 8 (19 pts), ternaries 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":"CoreW/Business/Product/Service/Impl/ProductServiceImpl.php"},"region":{"startLine":622}}}],"partialFingerprints":{"codehealthFindingId/v1":"3413bc67ad206c7d1c529517fe0c654b77c3f75ea930714dcd4748822c59cf5a"}},{"ruleId":"D2","level":"warning","message":{"text":"GBS.handleTcpClient (cognitive 20): GBS.handleTcpClient has cognitive complexity 20 (threshold 15). Drivers by points: if/else 5 (12 pts), loops 3 (6 pts), boolean chains 1, error handling 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Gb28181Gateway/src/SwooleServer/GBS.php"},"region":{"startLine":382}}}],"partialFingerprints":{"codehealthFindingId/v1":"93aad5c3ba816138c53e9893368dd6191b4bec4d485476593a981c7c6425032f"}},{"ruleId":"D2","level":"warning","message":{"text":"GBS.verifyAuth (cognitive 20): GBS.verifyAuth has cognitive complexity 20 (threshold 15). Drivers by points: boolean chains 7, ternaries 2 (6 pts), if/else 5, 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":"Gb28181Gateway/src/SwooleServer/GBS.php"},"region":{"startLine":1438}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8b94f8813e538b349d2fcfdc016cdd32e32ed5c56550954d673a52b24ed96ff"}},{"ruleId":"D2","level":"warning","message":{"text":"GenerateAlarmDataCommand.execute (cognitive 20): GenerateAlarmDataCommand.execute has cognitive complexity 20 (threshold 15). Drivers by points: if/else 9 (14 pts), error handling 1 (3 pts), loops 2 (3 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/command/GenerateAlarmDataCommand.php"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"3da59b2aeb2a9bdd42e9e1376b402bd81cf97e4db98f15552ab4be030b4343a3"}},{"ruleId":"D2","level":"warning","message":{"text":"UnifiedAuthenticationListener.handleTokenAuth (cognitive 20): UnifiedAuthenticationListener.handleTokenAuth has cognitive complexity 20 (threshold 15). Drivers by points: if/else 13 (16 pts), boolean chains 4 (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/middleware/security/firewall/UnifiedAuthenticationListener.php"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"4adea6b93a041d9f5d3d7111ab5e3541d376ef4e86a75f6999ae576da7cad150"}},{"ruleId":"D2","level":"warning","message":{"text":"Monitor.checkFilesChange (cognitive 20): Monitor.checkFilesChange has cognitive complexity 20 (threshold 15). Drivers by points: if/else 10 (17 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":"process/Monitor.php"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"20af21c53430c53b6929690b71ef7449fc96b7d47c10cdf44e3dad50f7c81888"}},{"ruleId":"D2","level":"warning","message":{"text":"GBServer.handleTcpClient (cognitive 20): GBServer.handleTcpClient has cognitive complexity 20 (threshold 15). Drivers by points: if/else 5 (12 pts), loops 3 (6 pts), boolean chains 1, error handling 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"swoole-gbs/gbs-beta.php"},"region":{"startLine":727}}}],"partialFingerprints":{"codehealthFindingId/v1":"671b9979a7aa9499b75d41c3495628c52b50900b5944ff6ce61b10a63c1ce7e9"}},{"ruleId":"D2","level":"warning","message":{"text":"GBServer.verifyAuth (cognitive 20): GBServer.verifyAuth has cognitive complexity 20 (threshold 15). Drivers by points: boolean chains 7, ternaries 2 (6 pts), if/else 5, 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":"swoole-gbs/gbs-beta.php"},"region":{"startLine":1783}}}],"partialFingerprints":{"codehealthFindingId/v1":"802636dd09ed941bde773fb0b2d253f3a6c736604e6ac88ab5e8643dfb2594c6"}},{"ruleId":"D2","level":"warning","message":{"text":"AttachmentServiceImpl.mergeSnippetFile (cognitive 19): AttachmentServiceImpl.mergeSnippetFile has cognitive complexity 19 (threshold 15). Drivers by points: if/else 10 (13 pts), ternaries 2 (3 pts), boolean chains 2, error handling 1 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"CoreW/Business/Attachment/Service/Impl/AttachmentServiceImpl.php"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cb9b694bd02b60ceb769b380cfcc2d38f2db935e85ab764688b8187403eda02"}},{"ruleId":"D2","level":"warning","message":{"text":"ZLMediaKitStrategy.getStats (cognitive 19): ZLMediaKitStrategy.getStats has cognitive complexity 19 (threshold 15). Drivers by points: boolean chains 6, if/else 6, loops 3 (5 pts), error handling 1, ternaries 1 (nesting depth added 2). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"CoreW/Business/MediaServer/Strategy/ZLMediaKitStrategy.php"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7ceb3b27ba9331f171c98fe18516f86699870239d94350fa96aa8c912ec67f8"}},{"ruleId":"D2","level":"warning","message":{"text":"SystemServiceImpl.getCpuStats (cognitive 19): SystemServiceImpl.getCpuStats has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (15 pts), loops 1 (2 pts), boolean chains 1, ternaries 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"CoreW/Business/System/Service/Impl/SystemServiceImpl.php"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cf6cd3eb6d5030b792399b41af7f1e8c1de2b8ed57ae1cf2110234d105e2442"}},{"ruleId":"D2","level":"warning","message":{"text":"CurlRequest.mergeArray (cognitive 19): CurlRequest.mergeArray has cognitive complexity 19 (threshold 15). Drivers by points: if/else 4 (9 pts), ternaries 1 (5 pts), loops 2 (3 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":"CoreW/Sdk/Ys7Sdk/CurlRequest.php"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c693117c3d90ed6b4d853d2c0a9943422214ccab539c4794f8c4c1a2773e6b8"}},{"ruleId":"D2","level":"warning","message":{"text":"ProductCatalogServiceImpl.updateProductCatalog (cognitive 18): ProductCatalogServiceImpl.updateProductCatalog has cognitive complexity 18 (threshold 15). Drivers by points: if/else 12, boolean chains 3, ternaries 2, error handling 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":"CoreW/Business/Product/Service/Impl/ProductCatalogServiceImpl.php"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"31712c48044ccf77e308148022d343a5ed6e03c22f17f85a75f6887b945506ce"}},{"ruleId":"D2","level":"warning","message":{"text":"RecordFileServiceImpl.createFromHook (cognitive 18): RecordFileServiceImpl.createFromHook has cognitive complexity 18 (threshold 15). Drivers by points: if/else 9 (16 pts), error handling 1, ternaries 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"CoreW/Business/RecordFile/Service/Impl/RecordFileServiceImpl.php"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5dfb0d287a55cbe32e245023a0a1d235aa6cdc629d0fe279b99923c11304301"}},{"ruleId":"D2","level":"warning","message":{"text":"GB28181ChannelController.getZLMediaKitSchemaFromUrl (cognitive 18): GB28181ChannelController.getZLMediaKitSchemaFromUrl has cognitive complexity 18 (threshold 15). Drivers by points: if/else 10 (15 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/admin/controller/GB28181ChannelController.php"},"region":{"startLine":423}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f9e67cefc68b8a1baa2d51fe1abc0482e931148d7101d1d6fbc5be7462ffc65"}},{"ruleId":"D2","level":"warning","message":{"text":"ProductServiceImpl.setProductTourNodes (cognitive 17): ProductServiceImpl.setProductTourNodes has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (13 pts), loops 1 (2 pts), boolean chains 1, error handling 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"CoreW/Business/Product/Service/Impl/ProductServiceImpl.php"},"region":{"startLine":740}}}],"partialFingerprints":{"codehealthFindingId/v1":"30296caf467bf619fbf176c9dfe409e620d3c7c26edb80dd24a397df795462a8"}},{"ruleId":"D2","level":"warning","message":{"text":"RecordMergeTaskServiceImpl.formatTask (cognitive 17): RecordMergeTaskServiceImpl.formatTask has cognitive complexity 17 (threshold 15). Drivers by points: ternaries 4 (10 pts), if/else 3 (6 pts), boolean chains 1 (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":"CoreW/Business/RecordMerge/Service/Impl/RecordMergeTaskServiceImpl.php"},"region":{"startLine":351}}}],"partialFingerprints":{"codehealthFindingId/v1":"b94b3fa24854ada23427ac8e6defb3eac0136ed16eeb7290f37301661b2eabbf"}},{"ruleId":"D2","level":"warning","message":{"text":"DoctrineServiceProvider.register (cognitive 17): DoctrineServiceProvider.register has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (10 pts), loops 4, ternaries 1 (2 pts), boolean chains 1 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"CoreW/Provider/DoctrineServiceProvider.php"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"12b6944212c91201abcbc2f45cb10324e26dcfcbf4572649a62f3aed52f067c9"}},{"ruleId":"D2","level":"warning","message":{"text":"Device.updateConfig (cognitive 17): Device.updateConfig has cognitive complexity 17 (threshold 15). Drivers by points: if/else 14 (15 pts), ternaries 1 (2 pts) (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Gb28181Gateway/src/Device/Device.php"},"region":{"startLine":301}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a15a6c8452306efe92dba3cf54b784426bb99b09098e830f824d1e98d4462c5"}},{"ruleId":"D2","level":"warning","message":{"text":"GBS.receiveLoop (cognitive 17): GBS.receiveLoop has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (13 pts), error handling 1 (2 pts), boolean chains 1, 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":"Gb28181Gateway/src/SwooleServer/GBS.php"},"region":{"startLine":303}}}],"partialFingerprints":{"codehealthFindingId/v1":"43825f02861ec489a11bd603974a61f011bab731f0cf3bd9ab093de3f76525b7"}},{"ruleId":"D2","level":"warning","message":{"text":"FileAfterUploadProcess.consume (cognitive 17): FileAfterUploadProcess.consume has cognitive complexity 17 (threshold 15). Drivers by points: if/else 11 (13 pts), boolean chains 3, error handling 1 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/queue/redis/fast/FileAfterUploadProcess.php"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"1352cdaf80e0ab0a7f3cd64d7f89c2e061ba9461bcebfb91e8764c3a6137616a"}},{"ruleId":"D2","level":"warning","message":{"text":"GBServer.receiveLoop (cognitive 17): GBServer.receiveLoop has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (13 pts), error handling 1 (2 pts), boolean chains 1, 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":"swoole-gbs/gbs-beta.php"},"region":{"startLine":648}}}],"partialFingerprints":{"codehealthFindingId/v1":"05584b3a88e566d1eba045eac227d3c22a305e9d4ffd8d52eb327d05edd91b2c"}},{"ruleId":"D2","level":"warning","message":{"text":"DeviceServiceImpl.getDeviceChannelTree (cognitive 16): DeviceServiceImpl.getDeviceChannelTree has cognitive complexity 16 (threshold 15). Drivers by points: ternaries 4 (10 pts), if/else 1 (3 pts), loops 2 (3 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"CoreW/Business/Devices/Service/Impl/DeviceServiceImpl.php"},"region":{"startLine":747}}}],"partialFingerprints":{"codehealthFindingId/v1":"68e2775eccbca0fa6df3939287c1a5777c454cebac4602f062ae5ab5827d80f9"}},{"ruleId":"D2","level":"warning","message":{"text":"VoiceTalkServiceImpl.stopVoiceTalkBySession (cognitive 16): VoiceTalkServiceImpl.stopVoiceTalkBySession has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (7 pts), error handling 4 (6 pts), boolean chains 3 (nesting depth added 3). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"CoreW/Business/Devices/Service/Impl/VoiceTalkServiceImpl.php"},"region":{"startLine":377}}}],"partialFingerprints":{"codehealthFindingId/v1":"c877a863e69229e7677bf8c131bbfbf836677d58598580c0c90c6519325d6841"}},{"ruleId":"D2","level":"warning","message":{"text":"ProductServiceImpl.makeHotPoint (cognitive 16): ProductServiceImpl.makeHotPoint has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (13 pts), boolean chains 2, ternaries 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"CoreW/Business/Product/Service/Impl/ProductServiceImpl.php"},"region":{"startLine":562}}}],"partialFingerprints":{"codehealthFindingId/v1":"5069385cb5a3ecea7915288f58b221f48c66cf0ec3bc263306e4d599bc55c2f7"}},{"ruleId":"D2","level":"warning","message":{"text":"StreamProxyServiceImpl.updateProxy (cognitive 16): StreamProxyServiceImpl.updateProxy has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (9 pts), loops 2 (3 pts), boolean chains 2, 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":"CoreW/Business/StreamProxy/Service/Impl/StreamProxyServiceImpl.php"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"c647ac673b048f67b775fddd8b6ab760bd1fb2b2c5ad124b8277646883d89179"}},{"ruleId":"D2","level":"warning","message":{"text":"SystemServiceImpl.getProcessInfo (cognitive 16): SystemServiceImpl.getProcessInfo has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (11 pts), loops 2 (5 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":"CoreW/Business/System/Service/Impl/SystemServiceImpl.php"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf71d2a9de7e89e23c2f46710a8c9dcc19d51342141bf645e9eef6641ce9ebca"}},{"ruleId":"D2","level":"warning","message":{"text":"AnnotationCacheBuilder.scanNamespace (cognitive 16): AnnotationCacheBuilder.scanNamespace has cognitive complexity 16 (threshold 15). Drivers by points: if/else 3 (10 pts), loops 3 (6 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":"CoreW/Dao/Annotation/AnnotationCacheBuilder.php"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"3352742eda89e5675fa9db61f9ec812ed394a6f0d58bb44b74974ffa05eeb269"}},{"ruleId":"D2","level":"warning","message":{"text":"MetadataReader.read (cognitive 16): MetadataReader.read has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (13 pts), loops 2 (3 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"CoreW/Dao/Annotation/MetadataReader.php"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"f916eef01b701b10bd0da970504101dcc1081b9c8afead1b8e0c63bbcfb49f3b"}},{"ruleId":"D2","level":"warning","message":{"text":"CurlRequest.sendMultiRequest (cognitive 16): CurlRequest.sendMultiRequest has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (7 pts), loops 5 (7 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":"CoreW/Sdk/Ys7Sdk/CurlRequest.php"},"region":{"startLine":347}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b2237772417f3eee5e777618182ae4c248f227c9d24c978092b4bd55b754840"}},{"ruleId":"D2","level":"warning","message":{"text":"GBS.handleResponse (cognitive 16): GBS.handleResponse has cognitive complexity 16 (threshold 15). Drivers by points: if/else 10 (16 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":"Gb28181Gateway/src/SwooleServer/GBS.php"},"region":{"startLine":971}}}],"partialFingerprints":{"codehealthFindingId/v1":"21ffe1000b2bbff5b24ce2480f93dfac9afccf90e4a05493bfdccaad501fa9d7"}},{"ruleId":"D2","level":"warning","message":{"text":"GB28181ChannelController.parseCodecInfo (cognitive 16): GB28181ChannelController.parseCodecInfo has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (13 pts), loops 1 (2 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":"app/admin/controller/GB28181ChannelController.php"},"region":{"startLine":611}}}],"partialFingerprints":{"codehealthFindingId/v1":"76336ebf3fdd9f8e646608ac0f04d4f48e838d8beaa610236c195c8fa32a4f43"}},{"ruleId":"D2","level":"warning","message":{"text":"DeleteSceneJob.consume (cognitive 16): DeleteSceneJob.consume has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (10 pts), boolean chains 5, error handling 1 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/queue/redis/fast/DeleteSceneJob.php"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cc896506b9340d3e5727c49064193d3f40d89fa6bfe328c8cf60b8982753fbf"}},{"ruleId":"D2","level":"warning","message":{"text":"GBServer.handleResponse (cognitive 16): GBServer.handleResponse has cognitive complexity 16 (threshold 15). Drivers by points: if/else 10 (16 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":"swoole-gbs/gbs-beta.php"},"region":{"startLine":1316}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e9e4f17fe54e759f8f07c3dc01462622093bf6afa6e0a3f913c40a8425a531c"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: GBS: ClassTooLong \u2014 1865 significant lines (blank, comment-only and punctuation-only lines excluded), 63 methods. The bar is 400 significant lines; this is 1465 over it, 4.66\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":"Gb28181Gateway/src/SwooleServer/GBS.php"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"417ce3404f5531ed9b51efea337aa17ac8a1503b812a9ba285c1c59d3a59ed32"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: GBServer: ClassTooLong \u2014 1865 significant lines (blank, comment-only and punctuation-only lines excluded), 63 methods. The bar is 400 significant lines; this is 1465 over it, 4.66\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":"swoole-gbs/gbs-beta.php"},"region":{"startLine":356}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ebd8b4222c95fcc3cb965633f9db222b9115fdc8c4bf3510351928ff2c975e2"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: swoole-gbs/gbs-beta.php: FileTooLong \u2014 2120 significant lines (blank, comment-only and punctuation-only lines excluded), about 88% of them inside a single declaration: GBServer (356-3029). The bar is 500 significant lines; this is 1620 over it, 4.24\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"swoole-gbs/gbs-beta.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d0e47a14a4f200d12d3933ce61a116b26dbbba56dc847d6084710e8f9f46815"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: GB28181Handler: ClassTooLong \u2014 1506 significant lines (blank, comment-only and punctuation-only lines excluded), 72 methods. The bar is 400 significant lines; this is 1106 over it, 3.77\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Gb28181Gateway/src/Handlers/GB28181Handler.php"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"e39c8e96e057e197b3aee2063f1033708761d8583ee3b6b8cc65dfddf3cc3d6a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: SwooleServer/GBS.php: FileTooLong \u2014 1872 significant lines (blank, comment-only and punctuation-only lines excluded), about 100% of them inside a single declaration: GBS (11-2684). The bar is 500 significant lines; this is 1372 over it, 3.74\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":"Gb28181Gateway/src/SwooleServer/GBS.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fab2340e3f950790f7c308bdc2795e6b158a11f2edacb4cbec024457fa0da428"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: CommandDispatcher: ClassTooLong \u2014 1410 significant lines (blank, comment-only and punctuation-only lines excluded), 67 methods. The bar is 400 significant lines; this is 1010 over it, 3.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":"Gb28181Gateway/src/Message/CommandDispatcher.php"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1c9a918b011bedc15d9567652b23d3e1cb9c8a14f70aaa58ca75b2d8392a34d"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Handlers/GB28181Handler.php: FileTooLong \u2014 1534 significant lines (blank, comment-only and punctuation-only lines excluded), about 98% of them inside a single declaration: GB28181Handler (102-3224). The bar is 500 significant lines; this is 1034 over it, 3.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":"Gb28181Gateway/src/Handlers/GB28181Handler.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8d178c9a2602da19f289605614a59fcad117abb55961b415a0529afdad4674a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Message/CommandDispatcher.php: FileTooLong \u2014 1414 significant lines (blank, comment-only and punctuation-only lines excluded), about 100% of them inside a single declaration: CommandDispatcher (33-2690). The bar is 500 significant lines; this is 914 over it, 2.83\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Gb28181Gateway/src/Message/CommandDispatcher.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"57e2e270f9bf0576d77981c86b0eac6e7541ad35a8f50367d0c248a172383304"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Gb28181Service: TooManyMethods \u2014 82 methods. The bar is 30 methods; this is 52 over it, 2.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":"CoreW/Business/GB/Gb28181Service.php"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"d76020c50251b7306ec8b87e3f99de15e5a95ce74433bd8f6038c5c6054b8a4a"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: GB28181Handler: TooManyMethods \u2014 72 methods. The bar is 30 methods; this is 42 over it, 2.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":"Gb28181Gateway/src/Handlers/GB28181Handler.php"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f90d66d27bec274487963f937430f74e743e4266341a9d9b6e3efd3b0a248f8"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: DeviceServiceImpl: TooManyMethods \u2014 71 methods. The bar is 30 methods; this is 41 over it, 2.37\u00D7 the bar. Most of these members implement Service.DeviceService (58 of 71 members), so moving them onto a smaller type would remove them from that contract rather than reduce it. To reduce it, split the contract instead: give each cohesive group of operations its own smaller interface and its own implementing type. Where the contract has to stay whole, move the work behind these members into collaborator types, so what is left here is a forward per member rather than a responsibility per member."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"CoreW/Business/Devices/Service/Impl/DeviceServiceImpl.php"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"37470d3677302bb93b3a3712abe0cf6fbfca205c9c675aec291ecfd5660dd156"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: UserServiceImpl: TooManyMethods \u2014 70 methods. The bar is 30 methods; this is 40 over it, 2.33\u00D7 the bar. Most of these members implement Service.UserService (55 of 70 members), so moving them onto a smaller type would remove them from that contract rather than reduce it. To reduce it, split the contract instead: give each cohesive group of operations its own smaller interface and its own implementing type. Where the contract has to stay whole, move the work behind these members into collaborator types, so what is left here is a forward per member rather than a responsibility per member."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"CoreW/Business/User/Service/Impl/UserServiceImpl.php"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f0199f91624fbef26fbf57d350bb855a07d66a7e4cde2f84bed68bb535db5b4"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: CommandDispatcher: TooManyMethods \u2014 67 methods. The bar is 30 methods; this is 37 over it, 2.23\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Gb28181Gateway/src/Message/CommandDispatcher.php"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"4eccd65f4163b079a3c053926f15f94be98ffa0e17f999c36b4e7700172b8e6b"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: VIPServiceImpl: TooManyMethods \u2014 66 methods. The bar is 30 methods; this is 36 over it, 2.20\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"CoreW/Business/VIP/Service/Impl/VIPServiceImpl.php"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"85a9b76480089c0385046eee7c9d20cddb65f875ac67de81cc11de14b72fbfa2"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: GBS: TooManyMethods \u2014 63 methods. The bar is 30 methods; this is 33 over it, 2.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":"Gb28181Gateway/src/SwooleServer/GBS.php"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d99e39b066bd9b583d6d2b707c55c591057547ebe5d075a568a7bb45f07c919"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: GBServer: TooManyMethods \u2014 63 methods. The bar is 30 methods; this is 33 over it, 2.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":"swoole-gbs/gbs-beta.php"},"region":{"startLine":356}}}],"partialFingerprints":{"codehealthFindingId/v1":"32e2dd29d65a7deb20a2b9b7267270365faf8a041344d01046e8b9506083637d"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ProductServiceImpl: 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":"CoreW/Business/Product/Service/Impl/ProductServiceImpl.php"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"59c7e5e43f55fd19ce57696d4e0252e8cf54980ed9ef6951ffd8e992029eeda0"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: ProductServiceImpl: ClassTooLong \u2014 811 significant lines (blank, comment-only and punctuation-only lines excluded), 62 methods. The bar is 400 significant lines; this is 411 over it, 2.03\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"CoreW/Business/Product/Service/Impl/ProductServiceImpl.php"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"53de0641799dd514a80fe707742c46d33b5258d34ca611e610109c574443b7b5"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: LogEnum.getActionItems: MethodTooLong \u2014 getActionItems runs 177 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 77 over it, 1.77\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"CoreW/Business/SystemLog/LogEnum.php"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"9db6b5fd25fcf9f35673e4da7655974273846c7720d05755f8ce54d48d4f6017"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: GBServerHookController: ClassTooLong \u2014 705 significant lines (blank, comment-only and punctuation-only lines excluded), 37 methods. The bar is 400 significant lines; this is 305 over it, 1.76\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/api/v2/controller/GBServerHookController.php"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"6df67df41f4f0c492bb6c55d7de46ff3f028b1ec1a4abdd9a82f5f2d46cbc0f3"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: GBS.requestInvite: MethodTooLong \u2014 requestInvite runs 174 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 74 over it, 1.74\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":"Gb28181Gateway/src/SwooleServer/GBS.php"},"region":{"startLine":2301}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a1efb74b87849679644e05816b9bfc7829920758e66b4ca3aa9e0767a94367a"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: GBServer.requestInvite: MethodTooLong \u2014 requestInvite runs 174 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 74 over it, 1.74\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":"swoole-gbs/gbs-beta.php"},"region":{"startLine":2646}}}],"partialFingerprints":{"codehealthFindingId/v1":"74da63b6f7eea6c212d0d3bce3677f2960111aea40b84d6e6fd4561b9948d250"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Impl/ProductServiceImpl.php: FileTooLong \u2014 844 significant lines (blank, comment-only and punctuation-only lines excluded), about 96% of them inside a single declaration: ProductServiceImpl (40-1545). The bar is 500 significant lines; this is 344 over it, 1.69\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":"CoreW/Business/Product/Service/Impl/ProductServiceImpl.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8189b772bd286db699c16fb985e9aa3935c6ef5a4a40d7e47324b2128838f3aa"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Gb28181Client: TooManyMethods \u2014 47 methods. The bar is 30 methods; this is 17 over it, 1.57\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":"CoreW/Sdk/PSipGateway/Gb28181Client.php"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c26bc1af5e795333324285d8057030c72b42e8b6271926d8f2cda490a5d4b16"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ProductController: TooManyMethods \u2014 47 methods. The bar is 30 methods; this is 17 over it, 1.57\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/api/v1/controller/ProductController.php"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8e12923c5cd4df8bc5d9183d4016580f48d2b01ab1af23abf1f21d6c037b387"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: GBS.parseCatalogResponse: MethodTooLong \u2014 parseCatalogResponse runs 150 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 50 over it, 1.50\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":"Gb28181Gateway/src/SwooleServer/GBS.php"},"region":{"startLine":1986}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d541b4acc2596f2805ff1589fc362962b7596f06f6862444b9975dc9c06d8e9"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: GBServer.parseCatalogResponse: MethodTooLong \u2014 parseCatalogResponse runs 150 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 50 over it, 1.50\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":"swoole-gbs/gbs-beta.php"},"region":{"startLine":2331}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ca592e2506f23be6c66c376e92277f52473cf7dc0c387ad0c5ea3d34b05c59e"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: DeviceServiceImpl: ClassTooLong \u2014 577 significant lines (blank, comment-only and punctuation-only lines excluded), 71 methods. The bar is 400 significant lines; this is 177 over it, 1.44\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":"CoreW/Business/Devices/Service/Impl/DeviceServiceImpl.php"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2618c09573738a934360c4f054e9282e4f219765bb61a88889617ebdc184688"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: controller/GBServerHookController.php: FileTooLong \u2014 720 significant lines (blank, comment-only and punctuation-only lines excluded), about 98% of them inside a single declaration: GBServerHookController (30-1399). The bar is 500 significant lines; this is 220 over it, 1.44\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/api/v2/controller/GBServerHookController.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"459ec39a4ed638da7f378ec3da9425f070f012a55488084bb2498980f67e2c68"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: VIPServiceImpl: ClassTooLong \u2014 571 significant lines (blank, comment-only and punctuation-only lines excluded), 66 methods. The bar is 400 significant lines; this is 171 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":"CoreW/Business/VIP/Service/Impl/VIPServiceImpl.php"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"22ba5d03012c97491a32206bbd83e02833bec6ef238f4464f45d24de9664a3dc"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: GBS.handleMessageRequest: MethodTooLong \u2014 handleMessageRequest runs 140 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 40 over it, 1.40\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Gb28181Gateway/src/SwooleServer/GBS.php"},"region":{"startLine":684}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e8d438afbf4f4d09e7200cb3f0d2522d38cc0510286375522d547b345bcb77d"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: GBS.sendInvite: MethodTooLong \u2014 sendInvite runs 140 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 40 over it, 1.40\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Gb28181Gateway/src/SwooleServer/GBS.php"},"region":{"startLine":1681}}}],"partialFingerprints":{"codehealthFindingId/v1":"7deecf499fe0ff97a36ea833bb55f6028afd304b8710aef44610e5287a4c5be4"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: GBServer.handleMessageRequest: MethodTooLong \u2014 handleMessageRequest runs 140 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 40 over it, 1.40\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"swoole-gbs/gbs-beta.php"},"region":{"startLine":1029}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a117474cda2dfa1826aaf01b55a7ce7f1e2695166749f37b845e22f604f9b84"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: GBServer.sendInvite: MethodTooLong \u2014 sendInvite runs 140 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 40 over it, 1.40\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"swoole-gbs/gbs-beta.php"},"region":{"startLine":2026}}}],"partialFingerprints":{"codehealthFindingId/v1":"e23a9704fb60dfd5d3149e7855bb202087f8702fc5b57dcdd48dc039668c8805"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: StreamProxyServiceImpl: ClassTooLong \u2014 515 significant lines (blank, comment-only and punctuation-only lines excluded), 32 methods. The bar is 400 significant lines; this is 115 over it, 1.29\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":"CoreW/Business/StreamProxy/Service/Impl/StreamProxyServiceImpl.php"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a8502ae8200548c7082630e06cab699c919a031daa65fe318b7cdbf7efd1cf4"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ZLMClient: TooManyMethods \u2014 38 methods. The bar is 30 methods; this is 8 over it, 1.27\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"CoreW/Sdk/ZLMediaKit/ZLMClient.php"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"495c9adc4c060476a0258ad93e4448e6ed60a2702887719824e9f9db6f8973b7"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Gb28181Service: ClassTooLong \u2014 504 significant lines (blank, comment-only and punctuation-only lines excluded), 82 methods. The bar is 400 significant lines; this is 104 over it, 1.26\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":"CoreW/Business/GB/Gb28181Service.php"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"67966fb42523d033e01f74412a10e4a1117be12183764772ffe3f96e642ff9f1"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: GBServerHookController: TooManyMethods \u2014 37 methods. The bar is 30 methods; this is 7 over it, 1.23\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/api/v2/controller/GBServerHookController.php"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"854baacee52609c6adfc25730a63302095d15e00779177c0fd2da03e9d5a1b5d"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: UserServiceImpl: ClassTooLong \u2014 484 significant lines (blank, comment-only and punctuation-only lines excluded), 70 methods. The bar is 400 significant lines; this is 84 over it, 1.21\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":"CoreW/Business/User/Service/Impl/UserServiceImpl.php"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"c08d8b7d2fcd11d9f27a416dd7f51e0f5e8e51e1716aa56937d718c466ba4d7b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Impl/VIPServiceImpl.php: FileTooLong \u2014 602 significant lines (blank, comment-only and punctuation-only lines excluded), about 95% of them inside a single declaration: VIPServiceImpl (36-1188). The bar is 500 significant lines; this is 102 over it, 1.20\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":"CoreW/Business/VIP/Service/Impl/VIPServiceImpl.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"196d3e7796559ac823577adae5376d1193f10b840be85a82d35c0e01ac81798f"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Impl/DeviceServiceImpl.php: FileTooLong \u2014 594 significant lines (blank, comment-only and punctuation-only lines excluded), about 97% of them inside a single declaration: DeviceServiceImpl (21-1149). The bar is 500 significant lines; this is 94 over it, 1.19\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":"CoreW/Business/Devices/Service/Impl/DeviceServiceImpl.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0cfdf81637ec4cc426975463734a4215ef4cf736b8556b61d3f91b263e214c5"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: GB28181Handler.handleBroadcastSetupRtpResult: MethodTooLong \u2014 handleBroadcastSetupRtpResult runs 118 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 18 over it, 1.18\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":"Gb28181Gateway/src/Handlers/GB28181Handler.php"},"region":{"startLine":895}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdaad46c21ef8a726eecf9e9d1bdebb5483e8b4d9baf559307d8654a27d0022f"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: ZLMClient: ClassTooLong \u2014 465 significant lines (blank, comment-only and punctuation-only lines excluded), 38 methods. The bar is 400 significant lines; this is 65 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":"CoreW/Sdk/ZLMediaKit/ZLMClient.php"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"b37a199d1c57d215f01b642558085d545af6af1b6858ae36100a53cdc52eae28"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: OpenYs7: 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":"CoreW/Sdk/Ys7Sdk/OpenYs7.php"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4bdf33a0bde61bf8f5af7e7824f72a5d2ae82296edf5a40a6030eb95443692a"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: SendRtpDo: 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":"CoreW/Sdk/ZLMediaKit/Dos/SendRtpDo.php"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcaf0a9cd6f53657cb951d95f29b916d79f6282b29128ba0129877c0c5fb12be"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: SubscribeServiceImpl.applySubscribeConfig: MethodTooLong \u2014 applySubscribeConfig runs 113 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 13 over it, 1.13\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"CoreW/Business/Subscribe/Service/Impl/SubscribeServiceImpl.php"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1804bd588ee8aa97b310f95de7c37eca03571adc2457757ba6e3c627ddd5fc9"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Gb28181Client: ClassTooLong \u2014 433 significant lines (blank, comment-only and punctuation-only lines excluded), 47 methods. The bar is 400 significant lines; this is 33 over it, 1.08\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"CoreW/Sdk/PSipGateway/Gb28181Client.php"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9f8723374d860369bea3a904c9721232077dacb457a10adc4cdd19cfd01e4cc"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: RecordFileServiceImpl.createFromHook: MethodTooLong \u2014 createFromHook runs 108 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 8 over it, 1.08\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":"CoreW/Business/RecordFile/Service/Impl/RecordFileServiceImpl.php"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"351554622bb9f8201e531d3c2b9687a00e0071d1f05a3c7a4a7787329cf6d285"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: AttachmentServiceImpl: 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":"CoreW/Business/Attachment/Service/Impl/AttachmentServiceImpl.php"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"805afbd22077f63020bcefa3adf7ffa67fe6dcb1af7e623446469c5d8253a0ba"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: RecordTaskServiceImpl: 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":"CoreW/Business/Record/Service/Impl/RecordTaskServiceImpl.php"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"3394e480cfd0b8c7e786b17a298d8bc27a0b0e13efc1882c461aac728fe384b1"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: StreamProxyServiceImpl: 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":"CoreW/Business/StreamProxy/Service/Impl/StreamProxyServiceImpl.php"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa4c60e86a288fecbc741aa7139740cfc3a6ae9803233ce9a2fa5e6f0134d724"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: GB28181Handler.handleRegister: MethodTooLong \u2014 handleRegister runs 106 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 6 over it, 1.06\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Gb28181Gateway/src/Handlers/GB28181Handler.php"},"region":{"startLine":1062}}}],"partialFingerprints":{"codehealthFindingId/v1":"f91c8cd8d19390de32a071bb658f0ca2bc47df740a817ebb30d073a7f64a8a52"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Impl/StreamProxyServiceImpl.php: FileTooLong \u2014 528 significant lines (blank, comment-only and punctuation-only lines excluded), about 98% of them inside a single declaration: StreamProxyServiceImpl (17-931). The bar is 500 significant lines; this is 28 over it, 1.06\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":"CoreW/Business/StreamProxy/Service/Impl/StreamProxyServiceImpl.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"be26c77633df57b884c293946f87a9ade8779ad034ec1dfef06a42759ce244af"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: GB/Gb28181Service.php: FileTooLong \u2014 526 significant lines (blank, comment-only and punctuation-only lines excluded), about 96% of them inside a single declaration: Gb28181Service (26-1510). The bar is 500 significant lines; this is 26 over it, 1.05\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":"CoreW/Business/GB/Gb28181Service.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7799bac527496835d9228865e9a86e6b6512d9e11fde1aa3913117b4e834f52"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: QuerySender: TooManyMethods \u2014 31 methods. The bar is 30 methods; this is 1 over it, 1.03\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Gb28181Gateway/src/Message/QuerySender.php"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d0ee01bd07359f3376ccfddc5f8f88d66064b066c537ca620ccc290573f131a"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ExoSip: TooManyMethods \u2014 31 methods. The bar is 30 methods; this is 1 over it, 1.03\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"exosip.stub.php"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"224670c94dfdc9e517f1d4a8312120eeb68ff03b8b773aee19e4759b066522f8"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Impl/UserServiceImpl.php: FileTooLong \u2014 504 significant lines (blank, comment-only and punctuation-only lines excluded), about 96% of them inside a single declaration: UserServiceImpl (25-1015). The bar is 500 significant lines; this is 4 over it, 1.01\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"CoreW/Business/User/Service/Impl/UserServiceImpl.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ac7ad9194d900a5b145cf34204e5dedb366ac18b59f3a28b14e532e556f51fe"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (4 members, 51 shared lines): Gb28181Gateway/src/SwooleServer/GBS.php:1683-1854 | Gb28181Gateway/src/SwooleServer/GBS.php:2303-2518 | swoole-gbs/gbs-beta.php:2028-2199 | swoole-gbs/gbs-beta.php:2648-2863 \u2014 These 4 members are variants of one another: a block of 51 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":"Gb28181Gateway/src/SwooleServer/GBS.php"},"region":{"startLine":1683}}}],"partialFingerprints":{"codehealthFindingId/v1":"1be6e960a93de8a9b051e097b35c49c20811ad979d7beeba30c4dff0358916c6"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (172 shared lines): Gb28181Gateway/src/SwooleServer/GBS.php:686-878 | swoole-gbs/gbs-beta.php:1031-1223 \u2014 These two members are variants of one another: 172 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":"Gb28181Gateway/src/SwooleServer/GBS.php"},"region":{"startLine":686}}}],"partialFingerprints":{"codehealthFindingId/v1":"72b1db3218f9e35237296a0f4ff3b841b9f207375681c3291813fbb85bea3377"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (9 members, 50\u002B identical tokens): app/admin/controller/StreamProxyController.php:120-134 | app/admin/controller/StreamProxyController.php:142-154 | app/admin/controller/StreamProxyController.php:162-170 | app/admin/controller/StreamProxyController.php:178-190 | app/admin/controller/StreamProxyController.php:198-206 | app/admin/controller/StreamProxyController.php:214-222 | app/admin/controller/StreamProxyController.php:230-238 | app/admin/controller/StreamProxyController.php:246-264 | app/admin/controller/StreamProxyController.php:272-284 \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/admin/controller/StreamProxyController.php"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf477d3926d3ff4b8b8843587972d4e591233abcab8084ea9040039559788015"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (8 members, 50\u002B identical tokens): Gb28181Gateway/src/SwooleServer/GBS.php:1252-1264 | Gb28181Gateway/src/SwooleServer/GBS.php:1292-1301 | Gb28181Gateway/src/SwooleServer/GBS.php:1401-1409 | Gb28181Gateway/src/SwooleServer/GBS.php:1414-1423 | swoole-gbs/gbs-beta.php:1597-1609 | swoole-gbs/gbs-beta.php:1637-1646 | swoole-gbs/gbs-beta.php:1746-1754 | swoole-gbs/gbs-beta.php:1759-1768 \u2014 These 8 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 8 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 8 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Gb28181Gateway/src/SwooleServer/GBS.php"},"region":{"startLine":1252}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bb5f1b421d96372e543ec920cd7857a0432734c50ffc6d53d46b44e9cbe7776"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (8 members, 50\u002B identical tokens): app/admin/controller/GB28181AlarmController.php:23-79 | app/admin/controller/GB28181ChannelController.php:31-95 | app/admin/controller/GB28181RecordMergeController.php:23-50 | app/admin/controller/GB28181RecordTaskController.php:22-83 | app/admin/controller/GB28181RecordingController.php:28-73 | app/admin/controller/SipGatewayController.php:17-39 | app/admin/controller/StreamProxyController.php:23-79 | app/admin/controller/StreamProxyController.php:371-415 \u2014 These 8 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 8 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 8 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/admin/controller/GB28181AlarmController.php"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8dab95ce35ad26924211867fe9e85a38ba666de96765b6870debc41b79b9d3e"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (6 members, 50\u002B identical tokens): Gb28181Gateway/src/SwooleServer/GBS.php:1859-1897 | Gb28181Gateway/src/SwooleServer/GBS.php:1902-1940 | Gb28181Gateway/src/SwooleServer/GBS.php:2207-2246 | swoole-gbs/gbs-beta.php:2204-2242 | swoole-gbs/gbs-beta.php:2247-2285 | swoole-gbs/gbs-beta.php:2552-2591 \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":"Gb28181Gateway/src/SwooleServer/GBS.php"},"region":{"startLine":1859}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc879987aa7ac40352a7dc4d0bbbecb2c909a00871c6109a6e692c8fcfdd195b"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): CoreW/Gii/Template/Easy/DaoImplTemplate.php:18-54 | CoreW/Gii/Template/Easy/DaoInterfaceTemplate.php:13-39 | CoreW/Gii/Template/Easy/ExceptionTemplate.php:13-53 | CoreW/Gii/Template/Easy/ServiceImplTemplate.php:13-80 | CoreW/Gii/Template/Easy/ServiceInterfaceTemplate.php:13-45 \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":"CoreW/Gii/Template/Easy/DaoImplTemplate.php"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fcf00b5457c982591d11b6154476f2469343923c1e0358b1f9caf3a3baee7d6"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): CoreW/Business/Attachment/Implementors/Impl/AliFileImplementor.php:270-334 | CoreW/Business/Attachment/Implementors/Impl/LocalFileImplementor.php:172-242 | CoreW/Business/Attachment/Implementors/Impl/QiNiuFileImplementor.php:258-322 | CoreW/Business/Attachment/Implementors/Impl/TenCentFileImplementor.php:264-327 \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":"CoreW/Business/Attachment/Implementors/Impl/AliFileImplementor.php"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"789a6d01644b6c1be0a8ae5f0ee098508cb4c4cd6cdd0ab5f07e6051deb7407c"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): CoreW/Sdk/AMapSdk/Libs/CurlHttpClient.php:92-127 | CoreW/Sdk/AMapSdk/Libs/CurlHttpClient.php:191-224 | CoreW/ToolKits/CURLHttpClient.php:89-118 | CoreW/ToolKits/CURLHttpClient.php:179-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":"CoreW/Sdk/AMapSdk/Libs/CurlHttpClient.php"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"78f9f1af7ba30c6c8af168b2ceef7d41b03aa233001947efd1912e490eec6dd0"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): Gb28181Gateway/src/Message/CommandDispatcher.php:1483-1497 | Gb28181Gateway/src/Message/CommandDispatcher.php:1505-1519 | Gb28181Gateway/src/Message/CommandDispatcher.php:1527-1541 | Gb28181Gateway/src/Message/CommandDispatcher.php:1549-1563 \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":"Gb28181Gateway/src/Message/CommandDispatcher.php"},"region":{"startLine":1483}}}],"partialFingerprints":{"codehealthFindingId/v1":"11715401013065038312f6ccac2c15f45ac6e6f0c45d4edcc7b61b55fc141910"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): Gb28181Gateway/src/SwooleServer/GBS.php:1269-1287 | Gb28181Gateway/src/SwooleServer/GBS.php:1370-1396 | swoole-gbs/gbs-beta.php:1614-1632 | swoole-gbs/gbs-beta.php:1715-1741 \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":"Gb28181Gateway/src/SwooleServer/GBS.php"},"region":{"startLine":1269}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a9a799d0a4cea3f2565f9c9bd17839043d45876d52ab5ba58e92e64e9d7b33c"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): app/command/MakeBizCommand.php:43-67 | app/command/MakeBizDaoCommand.php:43-68 | app/command/MakeBizExceptionCommand.php:40-64 | app/command/MakeBizServiceCommand.php:41-66 \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/command/MakeBizCommand.php"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"50ac7ce3de1d5a388e427b275482649dafbda517df5ef1d49ab7295fde7573cd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (202 corresponding lines): Gb28181Gateway/src/SwooleServer/GBS.php:1988-2189 | swoole-gbs/gbs-beta.php:2333-2534 \u2014 These two members are one piece of code written twice and then edited apart: 202 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":"Gb28181Gateway/src/SwooleServer/GBS.php"},"region":{"startLine":1988}}}],"partialFingerprints":{"codehealthFindingId/v1":"99b41cd60ee84659fbbe08ce24c10c6b10a799d15fe19cb11020b54ab8072a60"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (84 corresponding lines): Gb28181Gateway/src/SwooleServer/Channel.php:65-148 | swoole-gbs/gbs-beta.php:157-240 \u2014 These two members are one piece of code written twice and then edited apart: 84 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":"Gb28181Gateway/src/SwooleServer/Channel.php"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e48c9ff42c37fa9ad6ea90bc8ada43a67869ff0f48db5a940c3a5593217fdcb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (47 corresponding lines): app/queue/redis/fast/PanoramaChunkTilesJob.php:176-246 | app/queue/redis/fast/PanoramaChunkTilesJob.php:261-307 \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/queue/redis/fast/PanoramaChunkTilesJob.php"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"81d4b25d364e77c3626b80649e92e247a351992b6cc36019eed0992a44a83fdc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (54 corresponding lines): app/process/AutoRecordProcess.php:100-153 | app/process/AutoRecordProcess.php:161-222 \u2014 These two members are one piece of code written twice and then edited apart: 54 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/process/AutoRecordProcess.php"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"3155b84a22d73e8ed5fcdc09cb773c88c16335a50c6ec372b4e9b64b2d1988ff"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (74 corresponding lines): CoreW/Business/Devices/Traits/GB28181StreamTrait.php:285-358 | CoreW/Business/Devices/Traits/GB28181StreamTrait.php:546-636 \u2014 These two members are one piece of code written twice and then edited apart: 74 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":"CoreW/Business/Devices/Traits/GB28181StreamTrait.php"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f8e289fc69151555774a8692ca05f80decf017b632ed44ae26fc2ed27d31caf"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (60 corresponding lines): CoreW/Business/Record/Service/Impl/RecordTaskServiceImpl.php:371-459 | CoreW/Business/Record/Service/Impl/RecordTaskServiceImpl.php:473-532 \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":"CoreW/Business/Record/Service/Impl/RecordTaskServiceImpl.php"},"region":{"startLine":371}}}],"partialFingerprints":{"codehealthFindingId/v1":"938629c7c3a3d250539f33c4fb60fb4976416e7bb5a149dee7cf9687ad5089ec"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (76 corresponding lines): Gb28181Gateway/src/Message/CommandDispatcher.php:313-414 | Gb28181Gateway/src/Message/CommandDispatcher.php:1108-1183 \u2014 These two members are one piece of code written twice and then edited apart: 76 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":"Gb28181Gateway/src/Message/CommandDispatcher.php"},"region":{"startLine":313}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfcd6f5c5cbb19bdce0c164b8ef460904eb6a6f2c0f00dbd888630072367be78"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (100 corresponding lines): Gb28181Gateway/src/Message/CommandDispatcher.php:169-268 | Gb28181Gateway/src/Message/CommandDispatcher.php:505-606 \u2014 These two members are one piece of code written twice and then edited apart: 100 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":"Gb28181Gateway/src/Message/CommandDispatcher.php"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0a3a932927f7b68f61351e5a4d0e28af0857322442c9df9d95d96be4e2aae29"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (58 corresponding lines): support/utils/JsonToolkit.php:11-68 | support/utils/StringToolkit.php:142-200 \u2014 These two members are one piece of code written twice and then edited apart: 58 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":"support/utils/JsonToolkit.php"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec987b62e28f0f8794e5172fbb022eefcd8504a8dab742d0344e159ac73ef331"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (49 corresponding lines): CoreW/Business/Attachment/Implementors/Impl/AliFileImplementor.php:207-256 | CoreW/Business/Attachment/Implementors/Impl/TenCentFileImplementor.php:202-250 \u2014 These two members are one piece of code written twice and then edited apart: 49 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"CoreW/Business/Attachment/Implementors/Impl/AliFileImplementor.php"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"4994e4bf6af7f48f76434532fcb67268ad15fe75abf6b596563fa8ae6cc73e7a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (36 corresponding lines): app/admin/controller/GB28181RecordingController.php:239-293 | app/admin/controller/GB28181RecordingController.php:302-337 \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":"app/admin/controller/GB28181RecordingController.php"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"3163e0175fb745554224460666308d658343fcda83d77e786ee512084abb1d08"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): support/utils/FileToolkit.php:962-980 | support/utils/FileToolkit.php:985-1011 \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":"support/utils/FileToolkit.php"},"region":{"startLine":962}}}],"partialFingerprints":{"codehealthFindingId/v1":"c20d04e87eab5086b461e62f76d43ff60e5faeb5e5aa73c8d47903749316b35f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 63\u002B corresponding lines): CoreW/Business/Attachment/Implementors/Impl/AliFileImplementor.php:126-193 | CoreW/Business/Attachment/Implementors/Impl/QiNiuFileImplementor.php:123-185 | CoreW/Business/Attachment/Implementors/Impl/TenCentFileImplementor.php:120-188 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 63 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"CoreW/Business/Attachment/Implementors/Impl/AliFileImplementor.php"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"d42a65a1fdd9d2b5edaf1706caf5e265ff9fe2c91c0441c28b4ff21323b3468f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): CoreW/Business/Attachment/Service/Impl/AttachmentServiceImpl.php:543-559 | CoreW/Business/Attachment/Service/Impl/AttachmentServiceImpl.php:571-588 \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":"CoreW/Business/Attachment/Service/Impl/AttachmentServiceImpl.php"},"region":{"startLine":543}}}],"partialFingerprints":{"codehealthFindingId/v1":"0af22adc23a513aec82d25191b47bd617e351190d7398bad8c19477a46bfb750"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): CoreW/Exception/ExceptionUtil.php:15-38 | support/utils/ExceptionUtil.php:16-35 \u2014 These two members are one piece of code written twice and then edited apart: 20 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"CoreW/Exception/ExceptionUtil.php"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e2731c6b6582e5dcd79dc3906f18710b696147bed88376f9eb448d3032ee821"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): CoreW/Business/User/Service/Impl/TokenServiceImpl.php:33-43 | CoreW/Business/VIP/Service/Impl/TokenServiceImpl.php:37-51 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"CoreW/Business/User/Service/Impl/TokenServiceImpl.php"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba0b8b75fe4e4c34fae21abd48ee36ea9fd511fddffded8f6f46449d70be81ef"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (37 corresponding lines): CoreW/Business/Devices/Handler/BroadcastStreamArrivalHandler.php:147-183 | CoreW/Business/Devices/Handler/TalkStreamArrivalHandler.php:174-211 \u2014 These two members are one piece of code written twice and then edited apart: 37 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":"CoreW/Business/Devices/Handler/BroadcastStreamArrivalHandler.php"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9651f29ac046204954ef15c2b39005e4da34315134aa5125e634bc64c394468"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (36 corresponding lines): CoreW/Business/Subscribe/Service/Impl/SubscribeServiceImpl.php:560-608 | CoreW/Business/Subscribe/Service/Impl/SubscribeServiceImpl.php:644-679 \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":"CoreW/Business/Subscribe/Service/Impl/SubscribeServiceImpl.php"},"region":{"startLine":560}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7174b37eece5e367cae8dea0530072e8cf8177a7d72fa264c5c8bc029a36248"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): app/admin/controller/GB28181DeviceControlController.php:286-303 | app/admin/controller/GB28181DeviceControlController.php:313-331 \u2014 These two members are one piece of code written twice and then edited apart: 18 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/admin/controller/GB28181DeviceControlController.php"},"region":{"startLine":286}}}],"partialFingerprints":{"codehealthFindingId/v1":"293998d5b42b3003a0333e80a685faa3064517a6eafac498a4ec602b4c6fe984"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 28\u002B corresponding lines): Gb28181Gateway/src/Message/CommandDispatcher.php:277-304 | Gb28181Gateway/src/Message/CommandDispatcher.php:422-449 | Gb28181Gateway/src/Message/CommandDispatcher.php:632-673 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 28 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Gb28181Gateway/src/Message/CommandDispatcher.php"},"region":{"startLine":277}}}],"partialFingerprints":{"codehealthFindingId/v1":"8eb88be9fbfa749aeda27c5f5bf816fde01c8731a15aa9aa78934e5d3b3aa31c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (28 corresponding lines): app/admin/controller/GB28181DeviceController.php:104-131 | app/api/v2/controller/GB28181DeviceController.php:135-162 \u2014 These two members are one piece of code written twice and then edited apart: 28 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/admin/controller/GB28181DeviceController.php"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"a846ce98110ba79fdab3b97f3ef83baaf8a9dfd3bfb4568f4f07e2638e9ef4f6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): app/process/StreamProxyAutoReconnectProcess.php:25-48 | app/process/StreamProxyHealthCheckProcess.php:25-48 \u2014 These two members are one piece of code written twice and then edited apart: 24 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/process/StreamProxyAutoReconnectProcess.php"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b5c2ebd60bbe73449952bf35f1dbfa1a5e8617fe05f59b4d1b7e817d25554ff"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (30 corresponding lines): app/middleware/admin/OpenApiAuth.php:29-63 | app/middleware/security/firewall/UnifiedAuthenticationListener.php:62-91 \u2014 These two members are one piece of code written twice and then edited apart: 30 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/middleware/admin/OpenApiAuth.php"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"41832ee06284ff72c2deb8ab94c47aa9cb74c91818c9f071613c51cb5609fbb7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (35 corresponding lines): Gb28181Gateway/src/Message/CommandDispatcher.php:1741-1777 | Gb28181Gateway/src/Message/CommandDispatcher.php:1885-1919 \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":"Gb28181Gateway/src/Message/CommandDispatcher.php"},"region":{"startLine":1741}}}],"partialFingerprints":{"codehealthFindingId/v1":"e61728e9b81277d5c0071e0cefbcbedecc4006f9386028ccdff064e4b96d890a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): app/api/v1/controller/AuthController.php:87-103 | app/api/v1/controller/AuthController.php:114-128 \u2014 These two members are one piece of code written twice and then edited apart: 15 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/api/v1/controller/AuthController.php"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"a35c21900dcc39b507fe9f36453c3983737dc22ecac6c6389a82deb21847cd09"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): CoreW/Business/Product/Service/Impl/ProductServiceImpl.php:490-514 | CoreW/Business/Product/Service/Impl/ProductServiceImpl.php:519-542 \u2014 These two members are one piece of code written twice and then edited apart: 24 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"CoreW/Business/Product/Service/Impl/ProductServiceImpl.php"},"region":{"startLine":490}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cf25cb723910c7c1c13fd8eb14b7e090ef8ceb125c2fbf321d22e37bbb4e63c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (6 members, 19\u002B corresponding lines): app/admin/controller/GB28181DeviceControlController.php:61-81 | app/admin/controller/GB28181DeviceControlController.php:92-112 | app/admin/controller/GB28181DeviceControlController.php:207-236 | app/admin/controller/GB28181PTZController.php:70-88 | app/admin/controller/GB28181PTZController.php:96-117 | app/admin/controller/GB28181PTZController.php:125-146 \u2014 These 6 members are one piece of code written 6 times and then edited apart: every two of them correspond over at least 19 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 6 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/admin/controller/GB28181DeviceControlController.php"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"576c7d4f97f911622abbc04ae1c0353bc1524b396554182d27e8e9fb1f3f96a9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (40 corresponding lines): Gb28181Gateway/src/Message/CommandDispatcher.php:2183-2222 | Gb28181Gateway/src/Message/CommandDispatcher.php:2298-2337 \u2014 These two members are one piece of code written twice and then edited apart: 40 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":"Gb28181Gateway/src/Message/CommandDispatcher.php"},"region":{"startLine":2183}}}],"partialFingerprints":{"codehealthFindingId/v1":"a80e0e77b6eeda8dd5da0179a215dcef4acec05913c6c49efc20b004f54d10ee"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): CoreW/Business/GB/Gb28181SendRtpPortService.php:138-159 | CoreW/Business/GB/Gb28181SendRtpPortService.php:167-187 \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":"CoreW/Business/GB/Gb28181SendRtpPortService.php"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"556151256fd740b96663325b1600fb0a28937b7126df6974a68a18880965d4ef"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): CoreW/Sdk/AMapSdk/AMapClient.php:153-170 | CoreW/Sdk/AMapSdk/AMapClient.php:185-207 \u2014 These two members are one piece of code written twice and then edited apart: 18 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"CoreW/Sdk/AMapSdk/AMapClient.php"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c020f44d408977682606c1c39715ea4cdba933dfa354ec273813429f29968b7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 19\u002B corresponding lines): app/admin/controller/ProductCatalogController.php:43-61 | app/admin/controller/ProductTagController.php:15-33 | app/admin/controller/SystemController.php:22-42 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 19 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/admin/controller/ProductCatalogController.php"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"eef41e402769e878a7fb30128e8431fc99c47a280b50075651cf3eaef3db5f3a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): app/admin/controller/GB28181DeviceController.php:32-51 | app/api/v2/controller/GB28181DeviceController.php:25-45 \u2014 These two members are one piece of code written twice and then edited apart: 20 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/admin/controller/GB28181DeviceController.php"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7b101957ad981f50f977b9b873e82b81277ad4f2605128951d293247f595de9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): support/utils/FileToolkit.php:30-45 | support/utils/FileToolkit.php:58-81 \u2014 These two members are one piece of code written twice and then edited apart: 16 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"support/utils/FileToolkit.php"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"e97757accb21b1c1947bfe2906d888c5889345f73b0b5c35ef20163a644ce123"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): CoreW/Business/DataFilters/Filter.php:160-182 | CoreW/Business/DataFilters/Filter.php:187-211 \u2014 These two members are one piece of code written twice and then edited apart: 23 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"CoreW/Business/DataFilters/Filter.php"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"be7359e4711727c508268dcb884bf03c1f0b86ae07ffb1120744014687732b33"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 20\u002B corresponding lines): CoreW/Business/User/Service/Impl/UserServiceImpl.php:588-607 | CoreW/Business/User/Service/Impl/UserServiceImpl.php:668-689 | CoreW/Business/VIP/Service/Impl/VIPServiceImpl.php:905-926 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 20 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"CoreW/Business/User/Service/Impl/UserServiceImpl.php"},"region":{"startLine":588}}}],"partialFingerprints":{"codehealthFindingId/v1":"211f334d1e9339128c6c844fe69cd19463f73202e9415d1b8f4c881a32008d55"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): CoreW/Business/SipGateway/Service/Impl/SipGatewayServiceImpl.php:337-364 | CoreW/Business/SipGateway/Service/Impl/SipGatewayServiceImpl.php:476-498 \u2014 These two members are one piece of code written twice and then edited apart: 23 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"CoreW/Business/SipGateway/Service/Impl/SipGatewayServiceImpl.php"},"region":{"startLine":337}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ca9cf14c5c4ea9ee0d4feb83f605ce3213386290877593b58f1ace4a721e255"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): CoreW/Oauth2/Client/AbstractOAuthClient.php:47-66 | CoreW/Oauth2/Client/AbstractOAuthClient.php:71-87 \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":"CoreW/Oauth2/Client/AbstractOAuthClient.php"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"19d646b17e19ad9303120592e745b9d1251317d4466facde84512d1da9f36b5a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (31 corresponding lines): CoreW/Business/Alarm/Service/Impl/AlarmPlanServiceImpl.php:32-62 | CoreW/Business/Alarm/Service/Impl/AlarmPlanServiceImpl.php:67-100 \u2014 These two members are one piece of code written twice and then edited apart: 31 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"CoreW/Business/Alarm/Service/Impl/AlarmPlanServiceImpl.php"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"79d5396839afbb5341cd5992efbc5e35425ae4658a4f07200411c9a032fe4cef"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): app/admin/controller/AlarmEventController.php:18-32 | app/admin/controller/GB28181SubscribeController.php:99-113 \u2014 These two members are one piece of code written twice and then edited apart: 15 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/admin/controller/AlarmEventController.php"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a7f12741cf83459171c697943e5bdefaf38a628188b734aff431c24ab1c30c3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 16\u002B corresponding lines): app/admin/controller/GB28181DeviceControlController.php:35-50 | app/admin/controller/GB28181DeviceControlController.php:154-169 | app/admin/controller/GB28181PTZController.php:209-224 | app/admin/controller/GB28181StreamController.php:57-78 | app/admin/controller/GB28181StreamController.php:86-112 \u2014 These 5 members are one piece of code written 5 times and then edited apart: every two of them correspond over at least 16 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 5 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/admin/controller/GB28181DeviceControlController.php"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1304c689f47c9b710c3b436a745ab9979598a6cfdc829ba0e8d030115b36d27"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): CoreW/Business/Product/Service/Impl/ProductServiceImpl.php:730-737 | CoreW/Business/Product/Service/Impl/ProductServiceImpl.php:1004-1012 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"CoreW/Business/Product/Service/Impl/ProductServiceImpl.php"},"region":{"startLine":730}}}],"partialFingerprints":{"codehealthFindingId/v1":"385f13be66727b86e7379abbc67185f0b85051cbf797fd19256ae62ddec7cbd1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 18\u002B corresponding lines): CoreW/Business/Subscribe/Service/Impl/SubscribeServiceImpl.php:483-500 | CoreW/Business/Subscribe/Service/Impl/SubscribeServiceImpl.php:508-525 | CoreW/Business/Subscribe/Service/Impl/SubscribeServiceImpl.php:533-551 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 18 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"CoreW/Business/Subscribe/Service/Impl/SubscribeServiceImpl.php"},"region":{"startLine":483}}}],"partialFingerprints":{"codehealthFindingId/v1":"44fe39001536c3401168b8aa9fe9340d192b37cb3b0725fe8349c28bc705873a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): CoreW/Business/User/Service/Impl/UserServiceImpl.php:293-310 | CoreW/Business/User/Service/Impl/UserServiceImpl.php:315-328 \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":"CoreW/Business/User/Service/Impl/UserServiceImpl.php"},"region":{"startLine":293}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2e2f501acee9ea33cf088508cb9bd503c7cf2fea9a9d73ac75443e839968747"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 12\u002B corresponding lines): app/admin/controller/MenuController.php:142-153 | app/admin/controller/RoleController.php:165-176 | app/admin/controller/UserController.php:258-274 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 12 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/admin/controller/MenuController.php"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"4513e84c1c6f6dcbe949f0fc4bb9709945c65b209e321267cee139896c783d6c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): CoreW/Sdk/ZLMediaKit/ZLMClient.php:466-493 | CoreW/Sdk/ZLMediaKit/ZLMClient.php:574-600 \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":"CoreW/Sdk/ZLMediaKit/ZLMClient.php"},"region":{"startLine":466}}}],"partialFingerprints":{"codehealthFindingId/v1":"d890e905f9e3b20ca21f53db4982445047da9fe2f0f070f67a0fb956ce95d55c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 34\u002B corresponding lines): CoreW/Sdk/ZLMediaKit/ZLMClient.php:636-677 | CoreW/Sdk/ZLMediaKit/ZLMClient.php:701-744 | CoreW/Sdk/ZLMediaKit/ZLMClient.php:764-797 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 34 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"CoreW/Sdk/ZLMediaKit/ZLMClient.php"},"region":{"startLine":636}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f2d0b8f8fc21ec93c19cedbfb8ea0d3ded610e997515bee699ae1d447274a6f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): app/admin/controller/GB28181DeviceController.php:77-96 | app/api/v2/controller/GB28181DeviceController.php:170-189 \u2014 These two members are one piece of code written twice and then edited apart: 20 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/admin/controller/GB28181DeviceController.php"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"9115aa7be604d175ca85fdfb7ba7e3c6815390c8214a447acc4805b61c64530c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (40 corresponding lines): app/admin/controller/GB28181HookController.php:84-125 | app/admin/controller/GB28181HookController.php:135-174 \u2014 These two members are one piece of code written twice and then edited apart: 40 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/admin/controller/GB28181HookController.php"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"04d8996e4d89ed23f4f94b69f6cf708dab604f017af3fba47ba9e33e6bad7a70"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): app/admin/controller/MenuController.php:18-29 | app/admin/controller/RoleController.php:19-30 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/admin/controller/MenuController.php"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"f380445a976dbd5e467a1844af1611f094c256c9e11c1e82951135aed9a2a50d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): app/api/v1/controller/ProductController.php:50-71 | app/api/v1/controller/ProductController.php:160-187 \u2014 These two members are one piece of code written twice and then edited apart: 22 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/api/v1/controller/ProductController.php"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"13a1b2c2896b26ca3055a12c9da401c3eddf0762ecf7bd2e000d810e15697160"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): CoreW/Oauth2/Client/AbstractOAuthClient.php:92-108 | CoreW/Oauth2/Client/QQOauthClient.php:88-100 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"CoreW/Oauth2/Client/AbstractOAuthClient.php"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"0679ba5d12be1940664b50c3b86bb6a4e0043ac7827db779d4e83d7e9b5e6ced"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 9\u002B corresponding lines): CoreW/Mail/AbstractMail.php:78-86 | CoreW/Sdk/AMapSdk/AMapClient.php:77-85 | CoreW/Sdk/Iot/Driver/Base.php:342-352 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 9 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"CoreW/Mail/AbstractMail.php"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebd6644b685d5c3f9dc6500beacb4cb93ca70be45b32dbf76d1e1d09041c4d49"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (37 corresponding lines): CoreW/Sdk/AMapSdk/AMapClient.php:255-291 | CoreW/Sdk/Iot/Driver/Base.php:254-291 \u2014 These two members are one piece of code written twice and then edited apart: 37 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":"CoreW/Sdk/AMapSdk/AMapClient.php"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"30add9dcbe8492539ca516f5a07fa1c176beccd0a282f88358f4130188e57a2f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): CoreW/Business/User/Service/Impl/UserServiceImpl.php:638-650 | CoreW/Business/VIP/Service/Impl/VIPServiceImpl.php:875-887 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"CoreW/Business/User/Service/Impl/UserServiceImpl.php"},"region":{"startLine":638}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7f76f2d9fd543fa0f778606fba82913becf8b1f24f475e17bf3662dd14a0aa5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): CoreW/Dao/DaoProxy.php:133-151 | CoreW/Dao/DaoProxy.php:156-170 \u2014 These two members are one piece of code written twice and then edited apart: 15 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"CoreW/Dao/DaoProxy.php"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"03f6c40379ee6e0ab8caaaf906f80ff8e4e5c0b963b4aa3a58f0ad0e1829c115"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 18\u002B corresponding lines): Gb28181Gateway/src/Message/CommandDispatcher.php:2345-2362 | Gb28181Gateway/src/Message/CommandDispatcher.php:2370-2387 | Gb28181Gateway/src/Message/CommandDispatcher.php:2423-2440 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 18 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Gb28181Gateway/src/Message/CommandDispatcher.php"},"region":{"startLine":2345}}}],"partialFingerprints":{"codehealthFindingId/v1":"611813d8477793e4bfe96b3fe1bb6d1c05a913fce8ef42f1972cc72c35f7c460"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): CoreW/Business/DataFilters/Filter.php:99-114 | CoreW/Business/DataFilters/Filter.php:122-135 \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":"CoreW/Business/DataFilters/Filter.php"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"03a18d62154f2ab80b5ae8d884927b88aae6c422b66e4636793f68c555ffcdd7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): CoreW/Business/MediaServer/Service/Impl/MediaServerServiceImpl.php:175-192 | CoreW/Business/MediaServer/Service/Impl/MediaServerServiceImpl.php:197-211 \u2014 These two members are one piece of code written twice and then edited apart: 15 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"CoreW/Business/MediaServer/Service/Impl/MediaServerServiceImpl.php"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cfd4e8b3fe4c1eba6f8362a4a59145ad1a5ccbe4208364bcb39c23b850afbfc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): CoreW/Business/Menu/Service/Impl/MenuServiceImpl.php:90-107 | CoreW/Business/Role/Service/Impl/RoleServiceImpl.php:74-89 \u2014 These two members are one piece of code written twice and then edited apart: 16 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"CoreW/Business/Menu/Service/Impl/MenuServiceImpl.php"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"b26a196d65588aecdca692b9341dccd45da7cfa67835b5471ce11d1caf535912"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): CoreW/Traits/Token/RedisTokenStorage.php:184-198 | CoreW/Traits/Token/RedisTokenStorage.php:222-236 \u2014 These two members are one piece of code written twice and then edited apart: 15 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"CoreW/Traits/Token/RedisTokenStorage.php"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"14f6db3375ee95521396cd1633e47a757a08ba2a3d01d4a5d424d1b30d261e69"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): Gb28181Gateway/src/Message/QuerySender.php:131-143 | Gb28181Gateway/src/Message/QuerySender.php:209-219 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Gb28181Gateway/src/Message/QuerySender.php"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"4dcbcc49fb9109896b85cb10ccd8b525769a19176613caf1ef995ece48ec3eea"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): Gb28181Gateway/src/Message/CommandDispatcher.php:2460-2490 | Gb28181Gateway/src/Message/CommandDispatcher.php:2503-2529 \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":"Gb28181Gateway/src/Message/CommandDispatcher.php"},"region":{"startLine":2460}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1a874501bb4cbd5042919f39bdbf4440195fe095a4de8d90143c127c915b9e8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): CoreW/Dao/DaoProxy.php:385-398 | CoreW/Dao/DaoProxy.php:410-419 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"CoreW/Dao/DaoProxy.php"},"region":{"startLine":385}}}],"partialFingerprints":{"codehealthFindingId/v1":"eabcae656f81249a2735e54ea7bc235e7bb2aa45ae7fe925e88b7e4b9c06656e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): CoreW/Sdk/ZLMediaKit/ZLMClient.php:833-847 | CoreW/Sdk/ZLMediaKit/ZLMClient.php:858-871 \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":"CoreW/Sdk/ZLMediaKit/ZLMClient.php"},"region":{"startLine":833}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdb86539f41bf769c0ea223f08ad0af93414b345e09f79cd1608486eded96e5d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): Gb28181Gateway/src/Transport/RedisTransport.php:44-59 | Gb28181Gateway/src/Transport/RedisTransport.php:65-82 \u2014 These two members are one piece of code written twice and then edited apart: 16 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Gb28181Gateway/src/Transport/RedisTransport.php"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"018279e94b7643e4d912f0dbaad34e59f7bec217e450dbfaf1a333ddcec914be"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 4\u002B corresponding lines): app/api/filters/ProductFilter.php:94-103 | app/api/filters/ProductSceneFilter.php:59-62 | app/api/filters/ProductSceneFilter.php:67-71 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 4 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/api/filters/ProductFilter.php"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e6ca135f92570afb31fe89c3d9204c8474a609fbf393f8c6289dcdef3918e6f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): Gb28181Gateway/src/SwooleServer/Helper.php:113-117 | swoole-gbs/gbs-beta.php:3036-3039 \u2014 These two members are one piece of code written twice and then edited apart: 4 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Gb28181Gateway/src/SwooleServer/Helper.php"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"af0eaa6f7f453b50b8388f49ce15cb241ceb7163c32bf28b08960e91244e3bb8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 12\u002B corresponding lines): app/admin/controller/GB28181RecordPlanController.php:153-164 | app/admin/controller/GB28181RecordPlanController.php:187-198 | app/admin/controller/GB28181SubscribeController.php:58-70 | app/admin/controller/GB28181SubscribeController.php:79-90 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 12 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/admin/controller/GB28181RecordPlanController.php"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"c81ae3a397a8a2aa05a8e456ac08700188e175b6962872736924b3fb26a2d19a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): CoreW/Business/Devices/Service/Impl/DeviceServiceImpl.php:1013-1024 | CoreW/Business/Devices/Service/Impl/DeviceServiceImpl.php:1030-1048 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"CoreW/Business/Devices/Service/Impl/DeviceServiceImpl.php"},"region":{"startLine":1013}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4f3213523e46ac20db7f1b409ab0235af13e0fcd817da26b2072b70343012de"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): CoreW/Business/MediaServer/Strategy/SRSStrategy.php:208-230 | CoreW/Sdk/ZLMediaKit/ZLMClient.php:1032-1062 \u2014 These two members are one piece of code written twice and then edited apart: 23 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"CoreW/Business/MediaServer/Strategy/SRSStrategy.php"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"1dcd91fead83e055888c4b6a6a7a413f67d1feba9becfc28bb6cb64e2cb73df8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): CoreW/Sdk/Ys7Sdk/OpenYs7.php:447-461 | CoreW/Sdk/Ys7Sdk/OpenYs7.php:475-486 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"CoreW/Sdk/Ys7Sdk/OpenYs7.php"},"region":{"startLine":447}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9c4ed8d8aa2f8ffeab46515402e8fdb2207f838de1f4a1a10ebf99ba12b04c4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): CoreW/Sdk/ZLMediaKit/ZLMClient.php:507-526 | CoreW/Sdk/ZLMediaKit/ZLMClient.php:540-559 \u2014 These two members are one piece of code written twice and then edited apart: 20 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"CoreW/Sdk/ZLMediaKit/ZLMClient.php"},"region":{"startLine":507}}}],"partialFingerprints":{"codehealthFindingId/v1":"850bc752b176aeea4cbc8c2f4824165304eb04c351508dab26cc715e46323989"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): app/admin/controller/AlarmPlanController.php:97-105 | app/admin/controller/AlarmPlanController.php:137-145 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/admin/controller/AlarmPlanController.php"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"2087561be5a5b0e434773ab95796f0a71e29bf2117408e853c01df5c83f4f14b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): CoreW/Sdk/ZLMediaKit/ZLMClient.php:189-209 | CoreW/Sdk/ZLMediaKit/ZLMClient.php:221-238 \u2014 These two members are one piece of code written twice and then edited apart: 18 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"CoreW/Sdk/ZLMediaKit/ZLMClient.php"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5dd3ab3e49e8f734cf0a6a22d7faf9fe641d61fdfba3c5c37230f3b72a5bc39"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 12\u002B corresponding lines): app/admin/controller/MediaServerController.php:53-68 | app/admin/controller/MediaServerController.php:76-87 | app/admin/controller/MediaServerController.php:175-186 | app/admin/controller/MediaServerController.php:242-253 | app/admin/controller/MediaServerController.php:261-276 \u2014 These 5 members are one piece of code written 5 times and then edited apart: every two of them correspond over at least 12 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 5 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/admin/controller/MediaServerController.php"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"2da1440280dcaeb8dc948ff9fb78623c3b9c8a245048c8d84ccfcd81bf1936fa"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): Gb28181Gateway/src/Handlers/GB28181Handler.php:2649-2659 | Gb28181Gateway/src/Handlers/GB28181Handler.php:2667-2677 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Gb28181Gateway/src/Handlers/GB28181Handler.php"},"region":{"startLine":2649}}}],"partialFingerprints":{"codehealthFindingId/v1":"7834b55da43aa74c1e03263bc91fc6292fe3bebe3394a84149a5bb046a6e5783"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): CoreW/Business/Alarm/Service/Impl/AlarmPlanServiceImpl.php:105-121 | CoreW/Business/Alarm/Service/Impl/AlarmPlanServiceImpl.php:174-192 \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":"CoreW/Business/Alarm/Service/Impl/AlarmPlanServiceImpl.php"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c0ae56e24a728fc7c8ece40ca90d2b692067ab08415e0cf36c7b49b961e1e02"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): Gb28181Gateway/src/Libs/ClientRedis.php:40-49 | Gb28181Gateway/src/Libs/ClientRedis.php:55-65 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Gb28181Gateway/src/Libs/ClientRedis.php"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"495a341ade663e0c895ae08173e907234bdc4ff1a8b7acc44e7a19beb5d9907a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): CoreW/Sdk/ZLMediaKit/ZLMClient.php:59-69 | CoreW/Sdk/ZLMediaKit/ZLMClient.php:977-989 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"CoreW/Sdk/ZLMediaKit/ZLMClient.php"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d283daa8eb0f9e4e05c926dab23b4f6ee3788196f18c3b05475316ecbb0a435"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): CoreW/Business/LiveProvider/Strategy/Impl/Ys7Strategy.php:209-218 | CoreW/Business/LiveProvider/Strategy/Impl/LeChangeStrategy.php:290-297 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"CoreW/Business/LiveProvider/Strategy/Impl/Ys7Strategy.php"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"01227c2447564873dfce3870d6ef400b70a19bcad8cbc1bf68a924394e1aedae"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 14\u002B corresponding lines): CoreW/Business/MediaServer/Strategy/ZLMediaKitStrategy.php:191-204 | CoreW/Business/MediaServer/Strategy/ZLMediaKitStrategy.php:212-225 | CoreW/Business/MediaServer/Strategy/ZLMediaKitStrategy.php:311-325 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 14 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"CoreW/Business/MediaServer/Strategy/ZLMediaKitStrategy.php"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1ad1da8e07d7201b3351708edd9b26de499aa905f6561b49982549c15879f97"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): app/admin/controller/GB28181DeviceController.php:59-69 | app/api/v2/controller/GB28181DeviceController.php:98-108 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/admin/controller/GB28181DeviceController.php"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"0398262dc2921785ff9e6c5217815ada67915244839dfeb7be38ade841ca553e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 13\u002B corresponding lines): CoreW/Business/Attachment/Implementors/Impl/AliFileImplementor.php:345-357 | CoreW/Business/Attachment/Implementors/Impl/QiNiuFileImplementor.php:333-347 | CoreW/Business/Attachment/Implementors/Impl/TenCentFileImplementor.php:338-353 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 13 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"CoreW/Business/Attachment/Implementors/Impl/AliFileImplementor.php"},"region":{"startLine":345}}}],"partialFingerprints":{"codehealthFindingId/v1":"30c508cecd1a6cd786a2e1c86ee63715b6585996ebf267c4f53bab731cfc52e9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 11\u002B corresponding lines): app/api/v2/controller/GBGatewayConfigController.php:19-29 | app/api/v2/controller/GBGatewayConfigController.php:38-56 | app/api/v2/controller/GBGatewayConfigController.php:65-104 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 11 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/api/v2/controller/GBGatewayConfigController.php"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e861b1e95c0576d0ad05ea2a655fb1ba89b26d4849c85a4bd7081b5d857af3c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): app/admin/controller/GB28181RecordPlanController.php:55-62 | app/admin/controller/AlarmPlanController.php:50-59 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/admin/controller/GB28181RecordPlanController.php"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5ec795a224b93976dd9b2b1958a191bd3aab25bb331c3f1730467771cc08a9a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 8\u002B corresponding lines): app/api/v1/controller/ProductController.php:302-309 | app/api/v1/controller/ProductController.php:323-330 | app/api/v1/controller/ProductController.php:425-432 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 8 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/api/v1/controller/ProductController.php"},"region":{"startLine":302}}}],"partialFingerprints":{"codehealthFindingId/v1":"71b5f97b815d334b40a4f0452980844026b8e37af2221bc0c4a3c5436b62ea97"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): app/command/MakeBizCommand.php:30-33 | app/command/MakeBizDaoCommand.php:30-33 \u2014 These two members are one piece of code written twice and then edited apart: 4 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/command/MakeBizCommand.php"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"87ca83de033ad9fa027190bf058b8eac2725f07268b8446a83460ae4bea2c8ae"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): CoreW/Business/Auth/Handler/JwtTokenHandler.php:17-43 | CoreW/Business/Auth/Handler/JwtTokenHandler.php:56-86 \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":"CoreW/Business/Auth/Handler/JwtTokenHandler.php"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"b78e7eb2250d025b5af8c5c73bfe89d945eb108de4886f8053889865e4b91e0a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): CoreW/Dao/GeneralDaoImpl.php:70-81 | app/command/TestCommand.php:50-61 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"CoreW/Dao/GeneralDaoImpl.php"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"f30b8a013fd6e0db84e08e8c629caa3166888f5c0b04a9959a4bf9c054b08a9b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): Gb28181Gateway/src/Message/CommandDispatcher.php:793-809 | Gb28181Gateway/src/Message/CommandDispatcher.php:820-831 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Gb28181Gateway/src/Message/CommandDispatcher.php"},"region":{"startLine":793}}}],"partialFingerprints":{"codehealthFindingId/v1":"408d93a17128612e1b0a408e1fea9b23859ddaec73c0f014091a45f9adc79dfe"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): support/utils/ArrayToolkit.php:27-43 | app/admin/controller/UserController.php:311-322 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"support/utils/ArrayToolkit.php"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"8218dda48adb3b3b0beaffa56e424427cfc2fd02ff440dd6c7fe0ba23509e9af"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): CoreW/Oauth2/Client/WechatMobOauthClient.php:13-19 | CoreW/Oauth2/Client/WechatWebOAuthClient.php:13-19 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"CoreW/Oauth2/Client/WechatMobOauthClient.php"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"18b3b8fb4bf328fc834e86b0f0c2e403fece901204da017c38d859dff16c3b85"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): CoreW/Sdk/AMapSdk/AMapClient.php:90-98 | CoreW/Sdk/Iot/Driver/Base.php:364-374 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"CoreW/Sdk/AMapSdk/AMapClient.php"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"69be29fc973ff9bd4423be4eecfc7d098f9269cda7dd8489f865605b668525a5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): CoreW/Business/BaseService.php:50-56 | app/AbstractController.php:104-112 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"CoreW/Business/BaseService.php"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d6bd9a6ea2be77df1fc0f3d989bc100543ab5fe01940de7982f4cfaeace2251"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): app/admin/controller/ProductTagController.php:45-51 | app/api/v1/controller/ProductController.php:467-472 \u2014 These two members are one piece of code written twice and then edited apart: 6 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/admin/controller/ProductTagController.php"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"0be1b25bff0cd2f9e9a87b4a4d8f0016a1ba05f97180ccf563bb8b1b70dae3b0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): CoreW/Business/User/Service/Impl/UserServiceImpl.php:866-873 | CoreW/Business/VIP/Service/Impl/VIPServiceImpl.php:431-438 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"CoreW/Business/User/Service/Impl/UserServiceImpl.php"},"region":{"startLine":866}}}],"partialFingerprints":{"codehealthFindingId/v1":"d278dd7c602a0dffdc94c75a6e80b08b91ec7519b48fe30a50d07a835b68af75"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): CoreW/RateLimiter/TimeMachine.php:67-70 | support/utils/TimeMachineToolkit.php:102-105 \u2014 These two members are one piece of code written twice and then edited apart: 4 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"CoreW/RateLimiter/TimeMachine.php"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a2053becd3bfaae61446bcf26634d4761c2373cda1b7456927f8608e5f28c5c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (2 corresponding lines): app/middleware/admin/OpenApiAuth.php:68-69 | app/middleware/security/firewall/UnifiedAuthenticationListener.php:159-160 \u2014 These two members are one piece of code written twice and then edited apart: 2 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/middleware/admin/OpenApiAuth.php"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb743509a1ccc0d5112e5b06ef15c5337554821f3b4fbb481ce6ec1ee775743c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): Gb28181Gateway/src/SwooleServer/RTPPortManager.php:60-63 | swoole-gbs/gbs-beta.php:337-340 \u2014 These two members are one piece of code written twice and then edited apart: 4 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Gb28181Gateway/src/SwooleServer/RTPPortManager.php"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"156510614098dfdf8ffb7673e3a55dec2af8e98dcb3a26900cbda9362608a07a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): CoreW/Business/Devices/Enums/DeviceCategoryEnum.php:129-133 | CoreW/Business/Devices/Enums/DeviceStatusEnum.php:32-36 \u2014 These two members are one piece of code written twice and then edited apart: 5 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"CoreW/Business/Devices/Enums/DeviceCategoryEnum.php"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf762fb2c6ae596e6903dbf07681f9cb05589664731155d90132a61892a7dba6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (3 corresponding lines): Gb28181Gateway/src/SwooleServer/Helper.php:62-64 | swoole-gbs/gbs-beta.php:61-63 \u2014 These two members are one piece of code written twice and then edited apart: 3 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Gb28181Gateway/src/SwooleServer/Helper.php"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"16c2842bf39e9469eebec5e94a38565fa1727d70cf4cebbc13bf95b88c3be49b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): app/admin/controller/ProductCatalogController.php:146-150 | app/api/v1/controller/ProductController.php:528-532 \u2014 These two members are one piece of code written twice and then edited apart: 5 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/admin/controller/ProductCatalogController.php"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ada9549615022f59e934057996d3399b833fca0b69573251022376925cd78da"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (216 lines \u00D7 2): Gb28181Gateway/src/SwooleServer/GBS.php:2303-2518 | swoole-gbs/gbs-beta.php:2648-2863 \u2014 before extracting anything, compare \u0060Gb28181Gateway/src/SwooleServer/GBS.php\u0060 and \u0060swoole-gbs/gbs-beta.php\u0060 as WHOLE FILES: this scan already matched 65 separate duplicated blocks between them, totalling at least 2194 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"Gb28181Gateway/src/SwooleServer/GBS.php"},"region":{"startLine":2303}}}],"partialFingerprints":{"codehealthFindingId/v1":"b36509614f87ead1df3124b90bcb0847a75bb4e80d63a2df9102e43daf9f0cbc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (172 lines \u00D7 2): Gb28181Gateway/src/SwooleServer/GBS.php:1683-1854 | swoole-gbs/gbs-beta.php:2028-2199 \u2014 before extracting anything, compare \u0060Gb28181Gateway/src/SwooleServer/GBS.php\u0060 and \u0060swoole-gbs/gbs-beta.php\u0060 as WHOLE FILES: this scan already matched 65 separate duplicated blocks between them, totalling at least 2194 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"Gb28181Gateway/src/SwooleServer/GBS.php"},"region":{"startLine":1683}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e107241d7b9c76cdf777d33a64ef9b5ec0da31ba79b7f0c74fbd1d1faa7f6b3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (99 lines \u00D7 2): Gb28181Gateway/src/SwooleServer/GBS.php:1549-1647 | swoole-gbs/gbs-beta.php:1894-1992 \u2014 before extracting anything, compare \u0060Gb28181Gateway/src/SwooleServer/GBS.php\u0060 and \u0060swoole-gbs/gbs-beta.php\u0060 as WHOLE FILES: this scan already matched 65 separate duplicated blocks between them, totalling at least 2194 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"Gb28181Gateway/src/SwooleServer/GBS.php"},"region":{"startLine":1549}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6fb7532f5965549bb10603df500b749b2e193465b94cf5ed5837c45122d997f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (93 lines \u00D7 2): Gb28181Gateway/src/SwooleServer/GBS.php:559-651 | swoole-gbs/gbs-beta.php:904-996 \u2014 before extracting anything, compare \u0060Gb28181Gateway/src/SwooleServer/GBS.php\u0060 and \u0060swoole-gbs/gbs-beta.php\u0060 as WHOLE FILES: this scan already matched 65 separate duplicated blocks between them, totalling at least 2194 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"Gb28181Gateway/src/SwooleServer/GBS.php"},"region":{"startLine":559}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5e1678a0a2891f89fe627032725b92701d13fd8314dba7e1c59f305defa98ba"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (77 lines \u00D7 2): Gb28181Gateway/src/SwooleServer/GBS.php:2526-2602 | swoole-gbs/gbs-beta.php:2871-2947 \u2014 before extracting anything, compare \u0060Gb28181Gateway/src/SwooleServer/GBS.php\u0060 and \u0060swoole-gbs/gbs-beta.php\u0060 as WHOLE FILES: this scan already matched 65 separate duplicated blocks between them, totalling at least 2194 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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 \u0060Gb28181Gateway/src/SwooleServer/GBS.php:2526\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":"Gb28181Gateway/src/SwooleServer/GBS.php"},"region":{"startLine":2526}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b4dc885c9eedc208778bfb81ffad35d0e6de4e35907557ab588f9485b671f2a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (68 lines \u00D7 2): Gb28181Gateway/src/SwooleServer/GBS.php:229-296 | swoole-gbs/gbs-beta.php:574-641 \u2014 before extracting anything, compare \u0060Gb28181Gateway/src/SwooleServer/GBS.php\u0060 and \u0060swoole-gbs/gbs-beta.php\u0060 as WHOLE FILES: this scan already matched 65 separate duplicated blocks between them, totalling at least 2194 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"Gb28181Gateway/src/SwooleServer/GBS.php"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"787c80b555c29add7ec88332c8bbea68a6c124bba52c4ad425a762a02c67309a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (67 lines \u00D7 2): Gb28181Gateway/src/SwooleServer/GBS.php:1157-1223 | swoole-gbs/gbs-beta.php:1502-1568 \u2014 before extracting anything, compare \u0060Gb28181Gateway/src/SwooleServer/GBS.php\u0060 and \u0060swoole-gbs/gbs-beta.php\u0060 as WHOLE FILES: this scan already matched 65 separate duplicated blocks between them, totalling at least 2194 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"Gb28181Gateway/src/SwooleServer/GBS.php"},"region":{"startLine":1157}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3dc101426ba5d912bc6cf86f58efb78ac5a42d78adf137ef04d6a55835fa2a5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (63 lines \u00D7 2): Gb28181Gateway/src/SwooleServer/GBS.php:763-825 | swoole-gbs/gbs-beta.php:1108-1170 \u2014 before extracting anything, compare \u0060Gb28181Gateway/src/SwooleServer/GBS.php\u0060 and \u0060swoole-gbs/gbs-beta.php\u0060 as WHOLE FILES: this scan already matched 65 separate duplicated blocks between them, totalling at least 2194 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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 \u0060Gb28181Gateway/src/SwooleServer/GBS.php:763\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":"Gb28181Gateway/src/SwooleServer/GBS.php"},"region":{"startLine":763}}}],"partialFingerprints":{"codehealthFindingId/v1":"49b7da5177b2456170ace1f0e54c4e9c62fdf7721ddff03937262a098b3ec008"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (62 lines \u00D7 2): Gb28181Gateway/src/SwooleServer/GBS.php:686-747 | swoole-gbs/gbs-beta.php:1031-1092 \u2014 before extracting anything, compare \u0060Gb28181Gateway/src/SwooleServer/GBS.php\u0060 and \u0060swoole-gbs/gbs-beta.php\u0060 as WHOLE FILES: this scan already matched 65 separate duplicated blocks between them, totalling at least 2194 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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 \u0060Gb28181Gateway/src/SwooleServer/GBS.php:686\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":"Gb28181Gateway/src/SwooleServer/GBS.php"},"region":{"startLine":686}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7db89c3c95b0d023cf0f07de4108e2ca16d06b9bc5eb9de9843a36558abe1ae"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (142 lines \u00D7 2): Gb28181Gateway/src/SwooleServer/GBS.php:2048-2189 | swoole-gbs/gbs-beta.php:2393-2534 \u2014 before extracting anything, compare \u0060Gb28181Gateway/src/SwooleServer/GBS.php\u0060 and \u0060swoole-gbs/gbs-beta.php\u0060 as WHOLE FILES: this scan already matched 65 separate duplicated blocks between them, totalling at least 2194 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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 \u0060Gb28181Gateway/src/SwooleServer/GBS.php:2048\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":"Gb28181Gateway/src/SwooleServer/GBS.php"},"region":{"startLine":2048}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e72d1104011acf9c59e38ff3c853934ba84a6ca311194af4e25a252ec6cab0f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (54 lines \u00D7 2): Gb28181Gateway/src/SwooleServer/GBS.php:911-964 | swoole-gbs/gbs-beta.php:1256-1309 \u2014 before extracting anything, compare \u0060Gb28181Gateway/src/SwooleServer/GBS.php\u0060 and \u0060swoole-gbs/gbs-beta.php\u0060 as WHOLE FILES: this scan already matched 65 separate duplicated blocks between them, totalling at least 2194 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"Gb28181Gateway/src/SwooleServer/GBS.php"},"region":{"startLine":911}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ae7ac14097a3a26aead0cb5eb87bcf32bb5d57d29bbaa8947a8e61036544a91"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (51 lines \u00D7 2): Gb28181Gateway/src/SwooleServer/GBS.php:1440-1490 | swoole-gbs/gbs-beta.php:1785-1835 \u2014 before extracting anything, compare \u0060Gb28181Gateway/src/SwooleServer/GBS.php\u0060 and \u0060swoole-gbs/gbs-beta.php\u0060 as WHOLE FILES: this scan already matched 65 separate duplicated blocks between them, totalling at least 2194 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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 \u0060Gb28181Gateway/src/SwooleServer/GBS.php:1440\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. The 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":"Gb28181Gateway/src/SwooleServer/GBS.php"},"region":{"startLine":1440}}}],"partialFingerprints":{"codehealthFindingId/v1":"80700df0accaf6c9403e5fcec203e62e95e9df65b8306327b9521a27cc94b155"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (48 lines \u00D7 2): Gb28181Gateway/src/SwooleServer/GBS.php:384-431 | swoole-gbs/gbs-beta.php:729-776 \u2014 before extracting anything, compare \u0060Gb28181Gateway/src/SwooleServer/GBS.php\u0060 and \u0060swoole-gbs/gbs-beta.php\u0060 as WHOLE FILES: this scan already matched 65 separate duplicated blocks between them, totalling at least 2194 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"Gb28181Gateway/src/SwooleServer/GBS.php"},"region":{"startLine":384}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb79d000ea43ce7b3a1f17d5be479f11982b8094e15f1c67ed92229bc54dab00"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (47 lines \u00D7 2): Gb28181Gateway/src/SwooleServer/GBS.php:832-878 | swoole-gbs/gbs-beta.php:1177-1223 \u2014 before extracting anything, compare \u0060Gb28181Gateway/src/SwooleServer/GBS.php\u0060 and \u0060swoole-gbs/gbs-beta.php\u0060 as WHOLE FILES: this scan already matched 65 separate duplicated blocks between them, totalling at least 2194 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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 \u0060Gb28181Gateway/src/SwooleServer/GBS.php:832\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":"Gb28181Gateway/src/SwooleServer/GBS.php"},"region":{"startLine":832}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f8d534740da381049974aba29ef931bd6642bf3d441ee8aef485ceebb42dcbd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (47 lines \u00D7 2): Gb28181Gateway/src/SwooleServer/GBS.php:1106-1152 | swoole-gbs/gbs-beta.php:1451-1497 \u2014 before extracting anything, compare \u0060Gb28181Gateway/src/SwooleServer/GBS.php\u0060 and \u0060swoole-gbs/gbs-beta.php\u0060 as WHOLE FILES: this scan already matched 65 separate duplicated blocks between them, totalling at least 2194 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"Gb28181Gateway/src/SwooleServer/GBS.php"},"region":{"startLine":1106}}}],"partialFingerprints":{"codehealthFindingId/v1":"00f18d1f544bbc731fc22a22af23f52d93538f25d4d61c0c7b4a0bc54da5aa17"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (51 lines \u00D7 2): Gb28181Gateway/src/SwooleServer/GBS.php:2610-2660 | swoole-gbs/gbs-beta.php:2955-3005 \u2014 before extracting anything, compare \u0060Gb28181Gateway/src/SwooleServer/GBS.php\u0060 and \u0060swoole-gbs/gbs-beta.php\u0060 as WHOLE FILES: this scan already matched 65 separate duplicated blocks between them, totalling at least 2194 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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 \u0060Gb28181Gateway/src/SwooleServer/GBS.php:2610\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":"Gb28181Gateway/src/SwooleServer/GBS.php"},"region":{"startLine":2610}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5e7d0504232ce6fe00ac70d51c22a3b29b41b89d39fc452cca7cc2025ec73ab"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (39\u201342 lines \u00D7 3): Gb28181Gateway/src/Message/CommandDispatcher.php:376-414 | Gb28181Gateway/src/Message/CommandDispatcher.php:565-606 | Gb28181Gateway/src/Message/CommandDispatcher.php:1145-1183 \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 before the matched lines, \u0060Gb28181Gateway/src/Message/CommandDispatcher.php:561\u0060 calls \u0060log\u0060 and \u0060Gb28181Gateway/src/Message/CommandDispatcher.php:373\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":"Gb28181Gateway/src/Message/CommandDispatcher.php"},"region":{"startLine":376}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb624df9ac9a2983caa18d4132ad7027592610584caf92103f7aea95fd9d96a1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (42 lines \u00D7 2): Gb28181Gateway/src/SwooleServer/GBS.php:1324-1365 | swoole-gbs/gbs-beta.php:1669-1710 \u2014 before extracting anything, compare \u0060Gb28181Gateway/src/SwooleServer/GBS.php\u0060 and \u0060swoole-gbs/gbs-beta.php\u0060 as WHOLE FILES: this scan already matched 65 separate duplicated blocks between them, totalling at least 2194 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"Gb28181Gateway/src/SwooleServer/GBS.php"},"region":{"startLine":1324}}}],"partialFingerprints":{"codehealthFindingId/v1":"ded2277088d9cc5238bdb772e0f27209bfcf4f644b7edb223b7022aefc365e39"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (37\u201340 lines \u00D7 2): CoreW/Sdk/AMapSdk/Libs/CurlHttpClient.php:140-179 | CoreW/ToolKits/CURLHttpClient.php:131-167 \u2014 before extracting anything, compare \u0060CoreW/Sdk/AMapSdk/Libs/CurlHttpClient.php\u0060 and \u0060CoreW/ToolKits/CURLHttpClient.php\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 137 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"CoreW/Sdk/AMapSdk/Libs/CurlHttpClient.php"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d2f7dec605ee1be589b802877cd3b03fcf01eb1ca383ac3761228f2768d36a6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27\u201339 lines \u00D7 2): Gb28181Gateway/src/Message/CommandDispatcher.php:2252-2290 | Gb28181Gateway/src/Message/CommandDispatcher.php:2311-2337 \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 \u0060Gb28181Gateway/src/Message/CommandDispatcher.php:2252\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":"Gb28181Gateway/src/Message/CommandDispatcher.php"},"region":{"startLine":2252}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cd92bcc5ff2d1f025495c376a1b3d93d44163d97b6e0eef01f12dfa6d91d795"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27\u201338 lines \u00D7 4): CoreW/Business/Attachment/Implementors/Impl/AliFileImplementor.php:270-296 | CoreW/Business/Attachment/Implementors/Impl/LocalFileImplementor.php:172-209 | CoreW/Business/Attachment/Implementors/Impl/QiNiuFileImplementor.php:258-284 | CoreW/Business/Attachment/Implementors/Impl/TenCentFileImplementor.php:264-290 \u2014 before extracting anything, compare \u0060CoreW/Business/Attachment/Implementors/Impl/AliFileImplementor.php\u0060 and \u0060CoreW/Business/Attachment/Implementors/Impl/QiNiuFileImplementor.php\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 84 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 \u0060CoreW/Business/Attachment/Implementors/Impl/AliFileImplementor.php:270\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":"CoreW/Business/Attachment/Implementors/Impl/AliFileImplementor.php"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"874657fa7024e90e3e5cc8f95ce776da18d016360e80f55b6fcb044376c8b413"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (36 lines \u00D7 2): CoreW/Business/Attachment/Implementors/Impl/AliFileImplementor.php:131-166 | CoreW/Business/Attachment/Implementors/Impl/TenCentFileImplementor.php:125-160 \u2014 before extracting anything, compare \u0060CoreW/Business/Attachment/Implementors/Impl/AliFileImplementor.php\u0060 and \u0060CoreW/Business/Attachment/Implementors/Impl/TenCentFileImplementor.php\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 129 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 \u0060CoreW/Business/Attachment/Implementors/Impl/AliFileImplementor.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":"CoreW/Business/Attachment/Implementors/Impl/AliFileImplementor.php"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"528c55a0e789e0312afc8bab7498f44cdfb559380b13e9aa63b84925af1d6215"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (36 lines \u00D7 2): Gb28181Gateway/src/SwooleServer/GBS.php:189-224 | swoole-gbs/gbs-beta.php:534-569 \u2014 before extracting anything, compare \u0060Gb28181Gateway/src/SwooleServer/GBS.php\u0060 and \u0060swoole-gbs/gbs-beta.php\u0060 as WHOLE FILES: this scan already matched 65 separate duplicated blocks between them, totalling at least 2194 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"Gb28181Gateway/src/SwooleServer/GBS.php"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"2275f55e7a3bbad9270f81ee63dfa1b1d9b2a58d5a80a8cce9577e2520196d1b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (35 lines \u00D7 2): Gb28181Gateway/src/SwooleServer/GBS.php:466-500 | swoole-gbs/gbs-beta.php:811-845 \u2014 before extracting anything, compare \u0060Gb28181Gateway/src/SwooleServer/GBS.php\u0060 and \u0060swoole-gbs/gbs-beta.php\u0060 as WHOLE FILES: this scan already matched 65 separate duplicated blocks between them, totalling at least 2194 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"Gb28181Gateway/src/SwooleServer/GBS.php"},"region":{"startLine":466}}}],"partialFingerprints":{"codehealthFindingId/v1":"af99dd817f23b27dafdbbc4c7343d4665b0519e4fab763b2c62271898b7f484c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (33 lines \u00D7 2): Gb28181Gateway/src/SwooleServer/GBS.php:1992-2024 | swoole-gbs/gbs-beta.php:2337-2369 \u2014 before extracting anything, compare \u0060Gb28181Gateway/src/SwooleServer/GBS.php\u0060 and \u0060swoole-gbs/gbs-beta.php\u0060 as WHOLE FILES: this scan already matched 65 separate duplicated blocks between them, totalling at least 2194 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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 \u0060Gb28181Gateway/src/SwooleServer/GBS.php:1992\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":"Gb28181Gateway/src/SwooleServer/GBS.php"},"region":{"startLine":1992}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae73f6612bd3d3bc4d53b37d930b2771506862fb422503279c74085b6a69a2d1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (32 lines \u00D7 2): Gb28181Gateway/src/SwooleServer/GBS.php:1002-1033 | swoole-gbs/gbs-beta.php:1347-1378 \u2014 before extracting anything, compare \u0060Gb28181Gateway/src/SwooleServer/GBS.php\u0060 and \u0060swoole-gbs/gbs-beta.php\u0060 as WHOLE FILES: this scan already matched 65 separate duplicated blocks between them, totalling at least 2194 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"Gb28181Gateway/src/SwooleServer/GBS.php"},"region":{"startLine":1002}}}],"partialFingerprints":{"codehealthFindingId/v1":"93c0264b7153ac178cb4a9e63e24f5d16d40e884529fb7b420ad387b3bc29dc0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (30\u201331 lines \u00D7 2): support/utils/JsonToolkit.php:29-58 | support/utils/StringToolkit.php:160-190 \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 \u0060support/utils/JsonToolkit.php:29\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. 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":"support/utils/JsonToolkit.php"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4599273074a030ab3a6da6345fa773a1e8834e96ba08e2dc546166f55f9507e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (30 lines \u00D7 2): Gb28181Gateway/src/SwooleServer/Channel.php:119-148 | swoole-gbs/gbs-beta.php:211-240 \u2014 before extracting anything, compare \u0060Gb28181Gateway/src/SwooleServer/Channel.php\u0060 and \u0060swoole-gbs/gbs-beta.php\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 87 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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 \u0060Gb28181Gateway/src/SwooleServer/Channel.php:119\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. 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":"Gb28181Gateway/src/SwooleServer/Channel.php"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"a061759d833859d60bc3b1276dbe47169e3c9df436c09da9c7d24c6bb7ee7a22"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (30 lines \u00D7 2): Gb28181Gateway/src/SwooleServer/GBS.php:99-128 | swoole-gbs/gbs-beta.php:444-473 \u2014 before extracting anything, compare \u0060Gb28181Gateway/src/SwooleServer/GBS.php\u0060 and \u0060swoole-gbs/gbs-beta.php\u0060 as WHOLE FILES: this scan already matched 65 separate duplicated blocks between them, totalling at least 2194 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"Gb28181Gateway/src/SwooleServer/GBS.php"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"4078f003c3a6483b92fd1947a1dc4e92bfaeabe713c780d6af88bdc4cbfa15d4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (30 lines \u00D7 2): Gb28181Gateway/src/SwooleServer/GBS.php:1072-1101 | swoole-gbs/gbs-beta.php:1417-1446 \u2014 before extracting anything, compare \u0060Gb28181Gateway/src/SwooleServer/GBS.php\u0060 and \u0060swoole-gbs/gbs-beta.php\u0060 as WHOLE FILES: this scan already matched 65 separate duplicated blocks between them, totalling at least 2194 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"Gb28181Gateway/src/SwooleServer/GBS.php"},"region":{"startLine":1072}}}],"partialFingerprints":{"codehealthFindingId/v1":"82a97bc5c960b3f2b06ffb1f800adbfe95671c0535a9e9d99ee1dbe8e8b3d88d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (29 lines \u00D7 6): Gb28181Gateway/src/SwooleServer/GBS.php:1864-1892 | Gb28181Gateway/src/SwooleServer/GBS.php:1907-1935 | Gb28181Gateway/src/SwooleServer/GBS.php:2215-2243 | swoole-gbs/gbs-beta.php:2209-2237 | swoole-gbs/gbs-beta.php:2252-2280 | swoole-gbs/gbs-beta.php:2560-2588 \u2014 before extracting anything, compare \u0060Gb28181Gateway/src/SwooleServer/GBS.php\u0060 and \u0060swoole-gbs/gbs-beta.php\u0060 as WHOLE FILES: this scan already matched 65 separate duplicated blocks between them, totalling at least 2194 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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 \u0060Gb28181Gateway/src/SwooleServer/GBS.php:1864\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":"Gb28181Gateway/src/SwooleServer/GBS.php"},"region":{"startLine":1864}}}],"partialFingerprints":{"codehealthFindingId/v1":"71a03d85dac842c7ca08ca428b12d0aed33faae9b63cfb623921660ddf6eeef0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28\u201329 lines \u00D7 2): CoreW/Gii/Template/Easy/ExceptionTemplate.php:21-48 | CoreW/Gii/Template/Easy/ServiceImplTemplate.php:22-50 \u2014 before extracting anything, compare \u0060CoreW/Gii/Template/Easy/ExceptionTemplate.php\u0060 and \u0060CoreW/Gii/Template/Easy/ServiceImplTemplate.php\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 92 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 \u0060CoreW/Gii/Template/Easy/ExceptionTemplate.php:21\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":"CoreW/Gii/Template/Easy/ExceptionTemplate.php"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"364c3cc1fff2520cfbca3ed7accf4d8fbc37aaa6c751f3324cae26ba3d32e35e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24\u201329 lines \u00D7 2): CoreW/Sdk/AMapSdk/Libs/CurlHttpClient.php:92-120 | CoreW/ToolKits/CURLHttpClient.php:89-112 \u2014 before extracting anything, compare \u0060CoreW/Sdk/AMapSdk/Libs/CurlHttpClient.php\u0060 and \u0060CoreW/ToolKits/CURLHttpClient.php\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 137 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"CoreW/Sdk/AMapSdk/Libs/CurlHttpClient.php"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"686cde7932d150672efbdbed54297e66126041358ddc9e6923e1808cf21e7930"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (29 lines \u00D7 2): Gb28181Gateway/src/SwooleServer/GBS.php:142-170 | swoole-gbs/gbs-beta.php:487-515 \u2014 before extracting anything, compare \u0060Gb28181Gateway/src/SwooleServer/GBS.php\u0060 and \u0060swoole-gbs/gbs-beta.php\u0060 as WHOLE FILES: this scan already matched 65 separate duplicated blocks between them, totalling at least 2194 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"Gb28181Gateway/src/SwooleServer/GBS.php"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0107b43226572c65353127976e9f7ff3dd1a04d562583713a36b2beb2a2256d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (29 lines \u00D7 2): Gb28181Gateway/src/SwooleServer/GBS.php:1516-1544 | swoole-gbs/gbs-beta.php:1861-1889 \u2014 before extracting anything, compare \u0060Gb28181Gateway/src/SwooleServer/GBS.php\u0060 and \u0060swoole-gbs/gbs-beta.php\u0060 as WHOLE FILES: this scan already matched 65 separate duplicated blocks between them, totalling at least 2194 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"Gb28181Gateway/src/SwooleServer/GBS.php"},"region":{"startLine":1516}}}],"partialFingerprints":{"codehealthFindingId/v1":"04ae12af9cedbb6ad52f28239bbefeea711f0eb666d184c1d161e4d7abe832bb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28 lines \u00D7 2): CoreW/Business/User/Service/Impl/UserServiceImpl.php:448-475 | CoreW/Business/VIP/Service/Impl/VIPServiceImpl.php:941-968 \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":"CoreW/Business/User/Service/Impl/UserServiceImpl.php"},"region":{"startLine":448}}}],"partialFingerprints":{"codehealthFindingId/v1":"26e364e0a0d9a86fcec1e8527168d246e8f9d609a694dc46e887c9e42795e182"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22\u201327 lines \u00D7 2): CoreW/Sdk/AMapSdk/Libs/CurlHttpClient.php:191-217 | CoreW/ToolKits/CURLHttpClient.php:179-200 \u2014 before extracting anything, compare \u0060CoreW/Sdk/AMapSdk/Libs/CurlHttpClient.php\u0060 and \u0060CoreW/ToolKits/CURLHttpClient.php\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 137 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"CoreW/Sdk/AMapSdk/Libs/CurlHttpClient.php"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"f422e758a826fc17d79a1fa9a31d94be832b63b96fd323f5fe5b00e782e3260b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 2): CoreW/Business/Devices/Handler/BroadcastStreamArrivalHandler.php:107-132 | CoreW/Business/Devices/Handler/TalkStreamArrivalHandler.php:134-159 \u2014 before extracting anything, compare \u0060CoreW/Business/Devices/Handler/BroadcastStreamArrivalHandler.php\u0060 and \u0060CoreW/Business/Devices/Handler/TalkStreamArrivalHandler.php\u0060 as WHOLE FILES: this scan already matched 3 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. 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":"CoreW/Business/Devices/Handler/BroadcastStreamArrivalHandler.php"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"64708e2ba9ed63b95d3fc1e25175b4188287cdf57107505e42d777055e408df9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2): CoreW/Business/Attachment/Implementors/Impl/QiNiuFileImplementor.php:220-244 | CoreW/Business/Attachment/Implementors/Impl/QiNiuFileImplementor.php:294-318 \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":"CoreW/Business/Attachment/Implementors/Impl/QiNiuFileImplementor.php"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"113188a76673b1dfe10f51e3a350a420ab300b388e02fa9a4160f60cbbe5bb20"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2): Gb28181Gateway/src/SwooleServer/GBS.php:973-997 | swoole-gbs/gbs-beta.php:1318-1342 \u2014 before extracting anything, compare \u0060Gb28181Gateway/src/SwooleServer/GBS.php\u0060 and \u0060swoole-gbs/gbs-beta.php\u0060 as WHOLE FILES: this scan already matched 65 separate duplicated blocks between them, totalling at least 2194 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"Gb28181Gateway/src/SwooleServer/GBS.php"},"region":{"startLine":973}}}],"partialFingerprints":{"codehealthFindingId/v1":"255a2c31a9a302f58078f9dde5128a679b12bd44881d2a05e9ceb498be606e15"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2): Gb28181Gateway/src/SwooleServer/GBS.php:1958-1982 | swoole-gbs/gbs-beta.php:2303-2327 \u2014 before extracting anything, compare \u0060Gb28181Gateway/src/SwooleServer/GBS.php\u0060 and \u0060swoole-gbs/gbs-beta.php\u0060 as WHOLE FILES: this scan already matched 65 separate duplicated blocks between them, totalling at least 2194 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"Gb28181Gateway/src/SwooleServer/GBS.php"},"region":{"startLine":1958}}}],"partialFingerprints":{"codehealthFindingId/v1":"0672311822d8d475f1a439632ece433f8b6611a2e71d126ae8113a6a83f258c2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24\u201325 lines \u00D7 2): app/api/v2/controller/GBServerHookController.php:382-405 | app/api/v2/controller/GBServerHookController.php:1097-1121 \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/api/v2/controller/GBServerHookController.php"},"region":{"startLine":382}}}],"partialFingerprints":{"codehealthFindingId/v1":"85ae7f372b5b3559e955e835684aea757c42727891cd5ea1a8cb5a81c559c6af"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): CoreW/Business/Alarm/Service/Impl/AlarmPlanServiceImpl.php:37-60 | CoreW/Business/Alarm/Service/Impl/AlarmPlanServiceImpl.php:73-96 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"CoreW/Business/Alarm/Service/Impl/AlarmPlanServiceImpl.php"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"a114440f483ce3a7dcdc7bd51dba35be1174b202143520c8ad5d7f2e5af58a38"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): Gb28181Gateway/src/Message/CommandType/DeviceToServerSubscribeHandler.php:83-106 | Gb28181Gateway/src/Message/CommandType/DeviceToServerSubscribeHandler.php:218-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 \u0060Gb28181Gateway/src/Message/CommandType/DeviceToServerSubscribeHandler.php:218\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":"Gb28181Gateway/src/Message/CommandType/DeviceToServerSubscribeHandler.php"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"39d2240983b1233e5df812306d4701d52d28293727ca5c68f8431298a5e3ebed"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (52 lines \u00D7 2): Gb28181Gateway/src/SwooleServer/Channel.php:65-116 | swoole-gbs/gbs-beta.php:157-208 \u2014 before extracting anything, compare \u0060Gb28181Gateway/src/SwooleServer/Channel.php\u0060 and \u0060swoole-gbs/gbs-beta.php\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 87 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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 \u0060Gb28181Gateway/src/SwooleServer/Channel.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":"Gb28181Gateway/src/SwooleServer/Channel.php"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"19794cb5c2714a92c3d81e792a62a828a7d2ff1ab37089538849448c5d0f6b68"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20\u201324 lines \u00D7 2): app/admin/controller/GB28181RecordingController.php:243-266 | app/admin/controller/GB28181RecordingController.php:306-325 \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/admin/controller/GB28181RecordingController.php:243\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/admin/controller/GB28181RecordingController.php"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"024f98575c75bad625d56e0769c2780a85d857b126aa17fbcb018f2f24133866"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20\u201323 lines \u00D7 3): CoreW/Gii/Template/Easy/DaoImplTemplate.php:30-49 | CoreW/Gii/Template/Easy/ExceptionTemplate.php:21-43 | CoreW/Gii/Template/Easy/ServiceImplTemplate.php:22-44 \u2014 before extracting anything, compare \u0060CoreW/Gii/Template/Easy/DaoImplTemplate.php\u0060 and \u0060CoreW/Gii/Template/Easy/ExceptionTemplate.php\u0060 as WHOLE FILES: this scan already matched 3 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. 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 \u0060CoreW/Gii/Template/Easy/DaoImplTemplate.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":"CoreW/Gii/Template/Easy/DaoImplTemplate.php"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"5daf1f954cd231cacb4b402223e9908627d4754059c020b409b21ace200d4b46"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19\u201323 lines \u00D7 3): Gb28181Gateway/src/Message/CommandDispatcher.php:286-304 | Gb28181Gateway/src/Message/CommandDispatcher.php:431-449 | Gb28181Gateway/src/Message/CommandDispatcher.php:651-673 \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 \u0060Gb28181Gateway/src/Message/CommandDispatcher.php:286\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":"Gb28181Gateway/src/Message/CommandDispatcher.php"},"region":{"startLine":286}}}],"partialFingerprints":{"codehealthFindingId/v1":"0aebc446c03d246d44cec27776fced13d14e70e7ac4507fdf252c21fae5b5daa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20\u201323 lines \u00D7 2): CoreW/Business/Record/Service/Impl/RecordTaskServiceImpl.php:383-405 | CoreW/Business/Record/Service/Impl/RecordTaskServiceImpl.php:485-504 \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 \u0060CoreW/Business/Record/Service/Impl/RecordTaskServiceImpl.php:383\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":"CoreW/Business/Record/Service/Impl/RecordTaskServiceImpl.php"},"region":{"startLine":383}}}],"partialFingerprints":{"codehealthFindingId/v1":"a56d1536c2a50e8a15fb4ef8c4bc432cf5f1d190fd746da5fcd2658a48e52a97"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): CoreW/Sdk/AMapSdk/AMapClient.php:255-277 | CoreW/Sdk/Iot/Driver/Base.php:254-277 \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":"CoreW/Sdk/AMapSdk/AMapClient.php"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdf822c4963d8023d2bbda73938aa4ccabab4edf14ffa9d9d2c3bb489cfb63e1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): Gb28181Gateway/src/SwooleServer/GBS.php:1045-1067 | swoole-gbs/gbs-beta.php:1390-1412 \u2014 before extracting anything, compare \u0060Gb28181Gateway/src/SwooleServer/GBS.php\u0060 and \u0060swoole-gbs/gbs-beta.php\u0060 as WHOLE FILES: this scan already matched 65 separate duplicated blocks between them, totalling at least 2194 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"Gb28181Gateway/src/SwooleServer/GBS.php"},"region":{"startLine":1045}}}],"partialFingerprints":{"codehealthFindingId/v1":"9aa3c3d0ad023cd721067c8b25d049415e8292a6f5cef76125cf0b3b439064d5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): Gb28181Gateway/src/SwooleServer/GBS.php:1652-1674 | swoole-gbs/gbs-beta.php:1997-2019 \u2014 before extracting anything, compare \u0060Gb28181Gateway/src/SwooleServer/GBS.php\u0060 and \u0060swoole-gbs/gbs-beta.php\u0060 as WHOLE FILES: this scan already matched 65 separate duplicated blocks between them, totalling at least 2194 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"Gb28181Gateway/src/SwooleServer/GBS.php"},"region":{"startLine":1652}}}],"partialFingerprints":{"codehealthFindingId/v1":"35a741cb4d88674545904308b6cfc22ac21d10f328f8454864c8f0c889ab95e2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): app/admin/controller/GB28181PTZController.php:20-42 | app/api/v2/controller/GB28181DeviceController.php:197-219 \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/admin/controller/GB28181PTZController.php"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9704726887648e425e4b5b4763c293bf63b86622bf61c41a7ed6350ee60c689"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20\u201322 lines \u00D7 4): CoreW/Gii/Template/Easy/DaoImplTemplate.php:29-48 | CoreW/Gii/Template/Easy/ExceptionTemplate.php:20-41 | CoreW/Gii/Template/Easy/ServiceImplTemplate.php:21-42 | CoreW/Gii/Template/Easy/ServiceInterfaceTemplate.php:20-40 \u2014 before extracting anything, compare \u0060CoreW/Gii/Template/Easy/DaoImplTemplate.php\u0060 and \u0060CoreW/Gii/Template/Easy/ExceptionTemplate.php\u0060 as WHOLE FILES: this scan already matched 3 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. 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 \u0060CoreW/Gii/Template/Easy/DaoImplTemplate.php:29\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"CoreW/Gii/Template/Easy/DaoImplTemplate.php"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"254ce07a80911b091f35d3365954424de4e587ec0f149ad9187c034cabf45ca9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201322 lines \u00D7 4): app/command/MakeBizCommand.php:51-67 | app/command/MakeBizDaoCommand.php:47-68 | app/command/MakeBizExceptionCommand.php:46-64 | app/command/MakeBizServiceCommand.php:47-66 \u2014 before extracting anything, compare \u0060app/command/MakeBizExceptionCommand.php\u0060 and \u0060app/command/MakeBizServiceCommand.php\u0060 as WHOLE FILES: 85% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060app/command/MakeBizCommand.php:51\u0060 calls \u0060getOption\u0060 and \u0060app/command/MakeBizDaoCommand.php:47\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/command/MakeBizCommand.php"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5726744e735cd384d84a8986a16ed217f963464c82e15d47c06992ce6dc8d5b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21\u201322 lines \u00D7 2): Gb28181Gateway/src/Device/DeviceManager.php:481-502 | Gb28181Gateway/src/Device/DeviceManager.php:517-537 \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 \u0060Gb28181Gateway/src/Device/DeviceManager.php:481\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":"Gb28181Gateway/src/Device/DeviceManager.php"},"region":{"startLine":481}}}],"partialFingerprints":{"codehealthFindingId/v1":"87c36828a4e15b10726b9fbc2a1ec098e20cfec46741cccb3127dc47545dc162"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21\u201322 lines \u00D7 2): Gb28181Gateway/src/Message/QuerySender.php:251-271 | Gb28181Gateway/src/Message/QuerySender.php:390-411 \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":"Gb28181Gateway/src/Message/QuerySender.php"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bbb156af2898863e2953db8f35f9f3e1f04e101bbc74a939ad54947c00a1300"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): Gb28181Gateway/src/SwooleServer/GBS.php:436-457 | swoole-gbs/gbs-beta.php:781-802 \u2014 before extracting anything, compare \u0060Gb28181Gateway/src/SwooleServer/GBS.php\u0060 and \u0060swoole-gbs/gbs-beta.php\u0060 as WHOLE FILES: this scan already matched 65 separate duplicated blocks between them, totalling at least 2194 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"Gb28181Gateway/src/SwooleServer/GBS.php"},"region":{"startLine":436}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ffe7a6ef34f1e4785c67915a983ab0961ad22bf46dc867da4f3e1c6da3e96af"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 3): CoreW/Business/Subscribe/Service/Impl/SubscribeServiceImpl.php:114-134 | CoreW/Business/Subscribe/Service/Impl/SubscribeServiceImpl.php:163-183 | CoreW/Business/Subscribe/Service/Impl/SubscribeServiceImpl.php:211-231 \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 \u0060CoreW/Business/Subscribe/Service/Impl/SubscribeServiceImpl.php:114\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":"CoreW/Business/Subscribe/Service/Impl/SubscribeServiceImpl.php"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"36d2e8f36d6b1e5a27883515543bafc2ec4be6b1c10fdcb5c83b9a4386559331"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): CoreW/Business/Devices/Handler/BroadcastStreamArrivalHandler.php:227-247 | CoreW/Business/Devices/Handler/TalkStreamArrivalHandler.php:224-244 \u2014 before extracting anything, compare \u0060CoreW/Business/Devices/Handler/BroadcastStreamArrivalHandler.php\u0060 and \u0060CoreW/Business/Devices/Handler/TalkStreamArrivalHandler.php\u0060 as WHOLE FILES: this scan already matched 3 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. 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":"CoreW/Business/Devices/Handler/BroadcastStreamArrivalHandler.php"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"47727a263d170c30d16120b5620b1d91be53f8901795d428a08bb3e28c663a0b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20\u201321 lines \u00D7 2): CoreW/Business/User/Service/Impl/TokenServiceImpl.php:48-67 | CoreW/Business/VIP/Service/Impl/TokenServiceImpl.php:56-76 \u2014 before extracting anything, compare \u0060CoreW/Business/User/Service/Impl/TokenServiceImpl.php\u0060 and \u0060CoreW/Business/VIP/Service/Impl/TokenServiceImpl.php\u0060 as WHOLE FILES: this scan already matched 5 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"CoreW/Business/User/Service/Impl/TokenServiceImpl.php"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c7f34a4b2d4bedf96bf5900ca0efcfb032cabc006a3b3f57dd191db0f713e41"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): Gb28181Gateway/src/SwooleServer/GBS.php:305-325 | swoole-gbs/gbs-beta.php:650-670 \u2014 before extracting anything, compare \u0060Gb28181Gateway/src/SwooleServer/GBS.php\u0060 and \u0060swoole-gbs/gbs-beta.php\u0060 as WHOLE FILES: this scan already matched 65 separate duplicated blocks between them, totalling at least 2194 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"Gb28181Gateway/src/SwooleServer/GBS.php"},"region":{"startLine":305}}}],"partialFingerprints":{"codehealthFindingId/v1":"273051d12844de51c9c985590d77ecc10e8c9862d5b3c190b4bada9708298794"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): Gb28181Gateway/src/SwooleServer/RTPPortManager.php:24-44 | swoole-gbs/gbs-beta.php:301-321 \u2014 before extracting anything, compare \u0060Gb28181Gateway/src/SwooleServer/RTPPortManager.php\u0060 and \u0060swoole-gbs/gbs-beta.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. 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":"Gb28181Gateway/src/SwooleServer/RTPPortManager.php"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa29750c56f24c2c2d25e6ba374509a8ebe6043163ae8b252240e7089eed752c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 3): CoreW/Business/Attachment/Implementors/Impl/AliFileImplementor.php:207-226 | CoreW/Business/Attachment/Implementors/Impl/QiNiuFileImplementor.php:199-218 | CoreW/Business/Attachment/Implementors/Impl/TenCentFileImplementor.php:202-221 \u2014 before extracting anything, compare \u0060CoreW/Business/Attachment/Implementors/Impl/AliFileImplementor.php\u0060 and \u0060CoreW/Business/Attachment/Implementors/Impl/QiNiuFileImplementor.php\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 84 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":"CoreW/Business/Attachment/Implementors/Impl/AliFileImplementor.php"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"036f0c5e1baa4ffb5127def06e67533f1505c66aeb60c0f88ab6c31a8e77e61e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): CoreW/Sdk/ZLMediaKit/ZLMClient.php:725-744 | CoreW/Sdk/ZLMediaKit/ZLMClient.php:778-797 \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":"CoreW/Sdk/ZLMediaKit/ZLMClient.php"},"region":{"startLine":725}}}],"partialFingerprints":{"codehealthFindingId/v1":"93f596306784a47662a7a70b4dd16a93489b84502a7fc90a84c2e567008683e6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): CoreW/Util/ShellColor.php:91-110 | support/utils/ShellColorUtil.php:91-110 \u2014 before extracting anything, compare \u0060CoreW/Util/ShellColor.php\u0060 and \u0060support/utils/ShellColorUtil.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 \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":"CoreW/Util/ShellColor.php"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"a11239cd2316ce66513131b43d3b6d3c9b0da07f9c6aaf23b59099a5977385fc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18\u201320 lines \u00D7 2): app/api/v2/controller/GBServerHookController.php:281-298 | app/api/v2/controller/GBServerHookController.php:334-353 \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/api/v2/controller/GBServerHookController.php"},"region":{"startLine":281}}}],"partialFingerprints":{"codehealthFindingId/v1":"8519e24266331bc9962b37dc5b2a850514e6a24bc33d14f485d3fae687bcfcba"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19\u201320 lines \u00D7 2): app/command/Gb28181Server.php:129-147 | app/command/Gb28181Server.php:169-188 \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/command/Gb28181Server.php"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"12403a8a2004948ef1393c07a595a47435100f6dab5562ab3e3c898c13bf482e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 4): Gb28181Gateway/src/SwooleServer/GBS.php:2430-2448 | Gb28181Gateway/src/SwooleServer/GBS.php:2632-2650 | swoole-gbs/gbs-beta.php:2775-2793 | swoole-gbs/gbs-beta.php:2977-2995 \u2014 before extracting anything, compare \u0060Gb28181Gateway/src/SwooleServer/GBS.php\u0060 and \u0060swoole-gbs/gbs-beta.php\u0060 as WHOLE FILES: this scan already matched 65 separate duplicated blocks between them, totalling at least 2194 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"Gb28181Gateway/src/SwooleServer/GBS.php"},"region":{"startLine":2430}}}],"partialFingerprints":{"codehealthFindingId/v1":"dad82f0c7ef5c4f6fadec586c00e41bca3514cb3299d3f0092a346fdf930f29c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201319 lines \u00D7 2): CoreW/Business/Devices/Traits/GB28181StreamTrait.php:132-144 | CoreW/Business/Devices/Traits/GB28181StreamTrait.php:550-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 \u0060CoreW/Business/Devices/Traits/GB28181StreamTrait.php:132\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":"CoreW/Business/Devices/Traits/GB28181StreamTrait.php"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d6262c27c6f0cc7215227876a9a4be7c2d527071f2b1a712e28a9f197143e4a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): CoreW/Business/SipGateway/Service/Impl/SipGatewayServiceImpl.php:346-364 | CoreW/Business/SipGateway/Service/Impl/SipGatewayServiceImpl.php:480-498 \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":"CoreW/Business/SipGateway/Service/Impl/SipGatewayServiceImpl.php"},"region":{"startLine":346}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e0b17fe18891454190b5039fc3aeb7327089d24b40017cebb98c8a7299a26a3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201318 lines \u00D7 5): CoreW/Gii/Template/Easy/DaoImplTemplate.php:26-43 | CoreW/Gii/Template/Easy/DaoInterfaceTemplate.php:18-34 | CoreW/Gii/Template/Easy/ExceptionTemplate.php:17-34 | CoreW/Gii/Template/Easy/ServiceImplTemplate.php:18-35 | CoreW/Gii/Template/Easy/ServiceInterfaceTemplate.php:17-34 \u2014 before extracting anything, compare \u0060CoreW/Gii/Template/Easy/DaoImplTemplate.php\u0060 and \u0060CoreW/Gii/Template/Easy/ExceptionTemplate.php\u0060 as WHOLE FILES: this scan already matched 3 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. 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":"CoreW/Gii/Template/Easy/DaoImplTemplate.php"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9b7be2363451c63dc81f227feecac505e7f7f6c9969d390750502e2928a98c2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 4): Gb28181Gateway/src/Message/CommandDispatcher.php:1622-1640 | Gb28181Gateway/src/Message/CommandDispatcher.php:1656-1675 | Gb28181Gateway/src/Message/CommandDispatcher.php:1816-1833 | Gb28181Gateway/src/Message/CommandDispatcher.php:1860-1877 \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":"Gb28181Gateway/src/Message/CommandDispatcher.php"},"region":{"startLine":1622}}}],"partialFingerprints":{"codehealthFindingId/v1":"b095e6201c9e87779824ff36383920783db3840c4ef80bc54248e3932281586a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201318 lines \u00D7 2): Gb28181Gateway/src/Handlers/GB28181Handler.php:755-772 | Gb28181Gateway/src/Handlers/GB28181Handler.php:788-803 \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 \u0060Gb28181Gateway/src/Handlers/GB28181Handler.php:755\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":"Gb28181Gateway/src/Handlers/GB28181Handler.php"},"region":{"startLine":755}}}],"partialFingerprints":{"codehealthFindingId/v1":"f58147d61b206b2c03ac3a9c64ac6dc5416bf19472090d28f3836380b19c57ae"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): Gb28181Gateway/src/Message/CommandType/DeviceToServerSubscribeHandler.php:123-140 | Gb28181Gateway/src/Message/CommandType/DeviceToServerSubscribeHandler.php:183-200 \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":"Gb28181Gateway/src/Message/CommandType/DeviceToServerSubscribeHandler.php"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d19a08e788d9ecb9bf2c517149cc346386404d48c0b2a67311573da7be98263"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): Gb28181Gateway/src/SwooleServer/GBS.php:340-357 | swoole-gbs/gbs-beta.php:685-702 \u2014 before extracting anything, compare \u0060Gb28181Gateway/src/SwooleServer/GBS.php\u0060 and \u0060swoole-gbs/gbs-beta.php\u0060 as WHOLE FILES: this scan already matched 65 separate duplicated blocks between them, totalling at least 2194 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"Gb28181Gateway/src/SwooleServer/GBS.php"},"region":{"startLine":340}}}],"partialFingerprints":{"codehealthFindingId/v1":"729ee8cd7b84ce2c31533563ad71944fdd1e6c734832f73586b3d9080bd88830"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): Gb28181Gateway/src/SwooleServer/GBS.php:362-379 | swoole-gbs/gbs-beta.php:707-724 \u2014 before extracting anything, compare \u0060Gb28181Gateway/src/SwooleServer/GBS.php\u0060 and \u0060swoole-gbs/gbs-beta.php\u0060 as WHOLE FILES: this scan already matched 65 separate duplicated blocks between them, totalling at least 2194 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"Gb28181Gateway/src/SwooleServer/GBS.php"},"region":{"startLine":362}}}],"partialFingerprints":{"codehealthFindingId/v1":"8038eff5eea57c31262667df50ebc1f9982ddce3603e31a0fbfba1a912477f50"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): Gb28181Gateway/src/SwooleServer/GBS.php:660-677 | swoole-gbs/gbs-beta.php:1005-1022 \u2014 before extracting anything, compare \u0060Gb28181Gateway/src/SwooleServer/GBS.php\u0060 and \u0060swoole-gbs/gbs-beta.php\u0060 as WHOLE FILES: this scan already matched 65 separate duplicated blocks between them, totalling at least 2194 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"Gb28181Gateway/src/SwooleServer/GBS.php"},"region":{"startLine":660}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdd5f945b71da22659e11b294565420a84d6e9914c3e7a46b47589e0df5ce9d9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): Gb28181Gateway/src/SwooleServer/GBS.php:2665-2682 | swoole-gbs/gbs-beta.php:3010-3027 \u2014 before extracting anything, compare \u0060Gb28181Gateway/src/SwooleServer/GBS.php\u0060 and \u0060swoole-gbs/gbs-beta.php\u0060 as WHOLE FILES: this scan already matched 65 separate duplicated blocks between them, totalling at least 2194 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"Gb28181Gateway/src/SwooleServer/GBS.php"},"region":{"startLine":2665}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a60555d3a7fb8e2ed26866ee3c01cf10fd508cfc85560480e0bb3babea8acc2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 2): Gb28181Gateway/src/SwooleServer/Helper.php:76-102 | swoole-gbs/gbs-beta.php:250-276 \u2014 before extracting anything, compare \u0060Gb28181Gateway/src/SwooleServer/Helper.php\u0060 and \u0060swoole-gbs/gbs-beta.php\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 38 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"Gb28181Gateway/src/SwooleServer/Helper.php"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4d92ffdeedfc03c3f936d2bd29fe211e8011960f48b8e9fa2439102ff01d23e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): app/api/v1/controller/ProductController.php:50-67 | app/api/v1/controller/ProductController.php:160-177 \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/api/v1/controller/ProductController.php"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"7adf8622b7142dfa828cf31a17b49f4b86f8e4992598f69ac8790501af25aa86"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): CoreW/Sdk/AMapSdk/Libs/Response.php:96-112 | CoreW/Sdk/Iot/HttpResponse.php:97-113 \u2014 before extracting anything, compare \u0060CoreW/Sdk/AMapSdk/Libs/Response.php\u0060 and \u0060CoreW/Sdk/Iot/HttpResponse.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 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":"CoreW/Sdk/AMapSdk/Libs/Response.php"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fab8f1ce8bb5d0133d9a340e5ff6736963d04a96b5e034ec0f4265985c98db7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201316 lines \u00D7 4): Gb28181Gateway/src/SwooleServer/GBS.php:1269-1284 | Gb28181Gateway/src/SwooleServer/GBS.php:1378-1391 | swoole-gbs/gbs-beta.php:1614-1629 | swoole-gbs/gbs-beta.php:1723-1736 \u2014 before extracting anything, compare \u0060Gb28181Gateway/src/SwooleServer/GBS.php\u0060 and \u0060swoole-gbs/gbs-beta.php\u0060 as WHOLE FILES: this scan already matched 65 separate duplicated blocks between them, totalling at least 2194 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"Gb28181Gateway/src/SwooleServer/GBS.php"},"region":{"startLine":1269}}}],"partialFingerprints":{"codehealthFindingId/v1":"542e36827b89f2616af8a131b19bcf6f19f19df825fabe3e38e07f3fdea32312"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201316 lines \u00D7 4): Gb28181Gateway/src/SwooleServer/GBS.php:2119-2133 | Gb28181Gateway/src/SwooleServer/GBS.php:2163-2178 | swoole-gbs/gbs-beta.php:2464-2478 | swoole-gbs/gbs-beta.php:2508-2523 \u2014 before extracting anything, compare \u0060Gb28181Gateway/src/SwooleServer/GBS.php\u0060 and \u0060swoole-gbs/gbs-beta.php\u0060 as WHOLE FILES: this scan already matched 65 separate duplicated blocks between them, totalling at least 2194 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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 \u0060Gb28181Gateway/src/SwooleServer/GBS.php:2163\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":"Gb28181Gateway/src/SwooleServer/GBS.php"},"region":{"startLine":2119}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b202b1e4d619ce35195993ea631b7f928012fbc5e4e98c1e3653b3d060b79f7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 3): Gb28181Gateway/src/Message/QuerySender.php:457-472 | Gb28181Gateway/src/Message/QuerySender.php:486-501 | Gb28181Gateway/src/Message/QuerySender.php:515-530 \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 \u0060Gb28181Gateway/src/Message/QuerySender.php:457\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":"Gb28181Gateway/src/Message/QuerySender.php"},"region":{"startLine":457}}}],"partialFingerprints":{"codehealthFindingId/v1":"a87abdffaf5c3c8991387bf409c8789f8cbea9dbfbd477721ca58fe65baf9f26"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): CoreW/Business/System/Service/Impl/SystemServiceImpl.php:235-250 | CoreW/Business/System/Service/Impl/SystemServiceImpl.php:252-267 \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 \u0060CoreW/Business/System/Service/Impl/SystemServiceImpl.php:235\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":"CoreW/Business/System/Service/Impl/SystemServiceImpl.php"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"1359ea801a93afb7e276d0dd366e90185050a204ddc01df2c3688583cfbe3993"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): Gb28181Gateway/src/Message/QuerySender.php:309-324 | Gb28181Gateway/src/Message/QuerySender.php:385-400 \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 \u0060Gb28181Gateway/src/Message/QuerySender.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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Gb28181Gateway/src/Message/QuerySender.php"},"region":{"startLine":309}}}],"partialFingerprints":{"codehealthFindingId/v1":"746733bc517893f3e39410d613e20bc89a974e34c0e7618738336d6319912aac"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): Gb28181Gateway/src/SwooleServer/GBS.php:1228-1243 | swoole-gbs/gbs-beta.php:1573-1588 \u2014 before extracting anything, compare \u0060Gb28181Gateway/src/SwooleServer/GBS.php\u0060 and \u0060swoole-gbs/gbs-beta.php\u0060 as WHOLE FILES: this scan already matched 65 separate duplicated blocks between them, totalling at least 2194 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"Gb28181Gateway/src/SwooleServer/GBS.php"},"region":{"startLine":1228}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a3471e5f930ac1db3401d1bbf1792dba16c6ff80a5f142c87e6578d10210b3a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): support/utils/SimpleValidator.php:32-47 | support/utils/SimpleValidator.php:73-88 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. 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":"support/utils/SimpleValidator.php"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1bb82267cf21b0d639bec5a8610bc4a6a3352726ed3f9bb6a15047650058c5e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201315 lines \u00D7 4): CoreW/Sdk/AMapSdk/Libs/CurlHttpClient.php:113-127 | CoreW/Sdk/AMapSdk/Libs/CurlHttpClient.php:210-224 | CoreW/ToolKits/CURLHttpClient.php:106-118 | CoreW/ToolKits/CURLHttpClient.php:194-206 \u2014 before extracting anything, compare \u0060CoreW/Sdk/AMapSdk/Libs/CurlHttpClient.php\u0060 and \u0060CoreW/ToolKits/CURLHttpClient.php\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 137 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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, \u0060CoreW/Sdk/AMapSdk/Libs/CurlHttpClient.php:112\u0060 calls \u0060curl_setopt\u0060, \u0060is_array\u0060, \u0060http_build_query\u0060 and \u0060CoreW/Sdk/AMapSdk/Libs/CurlHttpClient.php:209\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":"CoreW/Sdk/AMapSdk/Libs/CurlHttpClient.php"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"377d5e3eaac02491481eb2d7cdfce015d2caf12923b70dcce3a56faa0a185ada"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 4): Gb28181Gateway/src/Message/CommandDispatcher.php:1483-1497 | Gb28181Gateway/src/Message/CommandDispatcher.php:1505-1519 | Gb28181Gateway/src/Message/CommandDispatcher.php:1527-1541 | Gb28181Gateway/src/Message/CommandDispatcher.php:1549-1563 \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":"Gb28181Gateway/src/Message/CommandDispatcher.php"},"region":{"startLine":1483}}}],"partialFingerprints":{"codehealthFindingId/v1":"81d0a4890e2489dcb6d5378dc60b0183ae1e027653f0afeb4c62b3e182c8627b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 4): Gb28181Gateway/src/SwooleServer/GBS.php:1838-1852 | Gb28181Gateway/src/SwooleServer/GBS.php:2499-2513 | swoole-gbs/gbs-beta.php:2183-2197 | swoole-gbs/gbs-beta.php:2844-2858 \u2014 before extracting anything, compare \u0060Gb28181Gateway/src/SwooleServer/GBS.php\u0060 and \u0060swoole-gbs/gbs-beta.php\u0060 as WHOLE FILES: this scan already matched 65 separate duplicated blocks between them, totalling at least 2194 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"Gb28181Gateway/src/SwooleServer/GBS.php"},"region":{"startLine":1838}}}],"partialFingerprints":{"codehealthFindingId/v1":"9816f5bee2958620b08b9df76160eee0d6448861b8b140ccc3f9f2bcae3da194"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 3): Gb28181Gateway/src/Message/QuerySender.php:249-263 | Gb28181Gateway/src/Message/QuerySender.php:312-326 | Gb28181Gateway/src/Message/QuerySender.php:388-402 \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":"Gb28181Gateway/src/Message/QuerySender.php"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"893cf2101fabee2e9f5787114f60c991b51d443747fe201330da06e906aa978e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201315 lines \u00D7 3): app/admin/controller/GB28181RecordingController.php:104-118 | app/admin/controller/GB28181RecordingController.php:243-257 | app/admin/controller/GB28181RecordingController.php:306-318 \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/admin/controller/GB28181RecordingController.php:122\u0060 calls \u0060createErrorJsonResponse\u0060 and \u0060app/admin/controller/GB28181RecordingController.php:260\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/admin/controller/GB28181RecordingController.php"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"6611bed6b2a32cf3ec03b5418b45ea76142a1191681d45a70eec0bc1a84528e4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24\u201329 lines \u00D7 2): CoreW/Business/StreamProxy/Service/Impl/StreamProxyServiceImpl.php:445-468 | CoreW/Business/StreamProxy/Service/Impl/StreamProxyServiceImpl.php:499-527 \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 \u0060CoreW/Business/StreamProxy/Service/Impl/StreamProxyServiceImpl.php:445\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":"CoreW/Business/StreamProxy/Service/Impl/StreamProxyServiceImpl.php"},"region":{"startLine":445}}}],"partialFingerprints":{"codehealthFindingId/v1":"5478570dfd03534c43579007d2326fbbd9720bca4d80715bc54bf2e459231d03"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 3): CoreW/Business/Subscribe/Service/Impl/SubscribeServiceImpl.php:338-352 | CoreW/Business/Subscribe/Service/Impl/SubscribeServiceImpl.php:355-369 | CoreW/Business/Subscribe/Service/Impl/SubscribeServiceImpl.php:370-386 \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 \u0060CoreW/Business/Subscribe/Service/Impl/SubscribeServiceImpl.php:338\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":"CoreW/Business/Subscribe/Service/Impl/SubscribeServiceImpl.php"},"region":{"startLine":338}}}],"partialFingerprints":{"codehealthFindingId/v1":"54ce341393b20c811ebdbf7a8e98d5e51f4a3e1f6a887f66915e05a467875adc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): Gb28181Gateway/src/SwooleServer/GBS.php:887-901 | swoole-gbs/gbs-beta.php:1232-1246 \u2014 before extracting anything, compare \u0060Gb28181Gateway/src/SwooleServer/GBS.php\u0060 and \u0060swoole-gbs/gbs-beta.php\u0060 as WHOLE FILES: this scan already matched 65 separate duplicated blocks between them, totalling at least 2194 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"Gb28181Gateway/src/SwooleServer/GBS.php"},"region":{"startLine":887}}}],"partialFingerprints":{"codehealthFindingId/v1":"d18b0e7e36e1b462839da884d0d3aba3abd793c89bc9ed0ad29a10d303fdb1e9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): app/process/AutoRecordProcess.php:129-143 | app/process/AutoRecordProcess.php:195-209 \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/process/AutoRecordProcess.php:129\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/process/AutoRecordProcess.php"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"561d52b540d12a4a9cfcb6dd85dc878c2462cc119e8eef3df4ea04ff15be0bac"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201314 lines \u00D7 8): app/admin/controller/GB28181AlarmController.php:23-36 | app/admin/controller/GB28181ChannelController.php:31-44 | app/admin/controller/GB28181RecordMergeController.php:23-31 | app/admin/controller/GB28181RecordTaskController.php:22-35 | app/admin/controller/GB28181RecordingController.php:28-36 | app/admin/controller/SipGatewayController.php:17-25 | app/admin/controller/StreamProxyController.php:23-36 | app/admin/controller/StreamProxyController.php:371-384 \u2014 there are 8 copies across 7 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 8 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/admin/controller/GB28181AlarmController.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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/admin/controller/GB28181AlarmController.php"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"bed6f3ce43633f74cd71a7226e2f0a24e8e95a0f2239babb27188641ffecf420"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 2): CoreW/Business/DataFilters/Filter.php:168-180 | CoreW/Business/DataFilters/Filter.php:189-202 \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 \u0060CoreW/Business/DataFilters/Filter.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":"CoreW/Business/DataFilters/Filter.php"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"336a72c613c1b06d98e61203d01a72c55376a8bd7c69668abc0f7f2fa334d60c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): CoreW/Sdk/ZLMediaKit/MediaServer.php:158-171 | CoreW/Sdk/ZLMediaKit/MediaServer.php:175-188 \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 \u0060CoreW/Sdk/ZLMediaKit/MediaServer.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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"CoreW/Sdk/ZLMediaKit/MediaServer.php"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0692c210f98de79fdd1b3cdb0b377ddfc05f8ba33c8d64454b5bb5f867b214a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 2): Gb28181Gateway/src/Message/CommandDispatcher.php:173-186 | Gb28181Gateway/src/Message/CommandDispatcher.php:509-521 \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 \u0060Gb28181Gateway/src/Message/CommandDispatcher.php:173\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":"Gb28181Gateway/src/Message/CommandDispatcher.php"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2c4be152ce1f0cd7790ce03b19d376812b2c4639b8a0b1cf542efd8134c0108"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): Gb28181Gateway/src/SwooleServer/GBS.php:2266-2279 | swoole-gbs/gbs-beta.php:2611-2624 \u2014 before extracting anything, compare \u0060Gb28181Gateway/src/SwooleServer/GBS.php\u0060 and \u0060swoole-gbs/gbs-beta.php\u0060 as WHOLE FILES: this scan already matched 65 separate duplicated blocks between them, totalling at least 2194 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"Gb28181Gateway/src/SwooleServer/GBS.php"},"region":{"startLine":2266}}}],"partialFingerprints":{"codehealthFindingId/v1":"0137bbc7fd7c54dafd5907682ae5f12d3150b643488bb8fc4545c7ac3d9d0096"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201314 lines \u00D7 2): Gb28181Gateway/src/Traits/CurlTrait.php:13-26 | Gb28181Gateway/src/Traits/CurlTrait.php:44-55 \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, \u0060Gb28181Gateway/src/Traits/CurlTrait.php:11\u0060 calls \u0060curl_setopt\u0060, \u0060json_encode\u0060 and \u0060Gb28181Gateway/src/Traits/CurlTrait.php:43\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":"Gb28181Gateway/src/Traits/CurlTrait.php"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"d10b6b6363fbb9aafc3f8d88fa91d74a955b260d222bf2ed4703344534b15990"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201313 lines \u00D7 4): CoreW/Sdk/AMapSdk/Libs/CurlHttpClient.php:99-111 | CoreW/Sdk/AMapSdk/Libs/CurlHttpClient.php:197-209 | CoreW/ToolKits/CURLHttpClient.php:95-104 | CoreW/ToolKits/CURLHttpClient.php:184-193 \u2014 before extracting anything, compare \u0060CoreW/Sdk/AMapSdk/Libs/CurlHttpClient.php\u0060 and \u0060CoreW/ToolKits/CURLHttpClient.php\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 137 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"CoreW/Sdk/AMapSdk/Libs/CurlHttpClient.php"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"975b6da15dbcb6b9084f4e952a44077d5a94d936b132b94396b955e444c411e2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3): CoreW/Business/Attachment/Implementors/Impl/AliFileImplementor.php:126-138 | CoreW/Business/Attachment/Implementors/Impl/QiNiuFileImplementor.php:123-135 | CoreW/Business/Attachment/Implementors/Impl/TenCentFileImplementor.php:120-132 \u2014 before extracting anything, compare \u0060CoreW/Business/Attachment/Implementors/Impl/AliFileImplementor.php\u0060 and \u0060CoreW/Business/Attachment/Implementors/Impl/QiNiuFileImplementor.php\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 84 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":"CoreW/Business/Attachment/Implementors/Impl/AliFileImplementor.php"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea4b14bf30e5c4d6435d8e469765c46226057a8448de403bda2aee6895c42203"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): CoreW/Business/System/Service/Impl/SystemServiceImpl.php:320-332 | CoreW/Business/System/Service/Impl/SystemServiceImpl.php:343-355 \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 \u0060CoreW/Business/System/Service/Impl/SystemServiceImpl.php:320\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":"CoreW/Business/System/Service/Impl/SystemServiceImpl.php"},"region":{"startLine":320}}}],"partialFingerprints":{"codehealthFindingId/v1":"45f7cf7866db5c869f71d56e15b3e4f051429adbcea8a2b48e9168815773da61"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): Gb28181Gateway/src/Message/CommandDispatcher.php:185-198 | Gb28181Gateway/src/Message/CommandDispatcher.php:328-340 \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 \u0060Gb28181Gateway/src/Message/CommandDispatcher.php:185\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":"Gb28181Gateway/src/Message/CommandDispatcher.php"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bbfc2740b564e2cacab35c4dbb6d5b9b0934fad3ac21b078c20837bd536b052"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): Gb28181Gateway/src/SwooleServer/GBS.php:505-517 | swoole-gbs/gbs-beta.php:850-862 \u2014 before extracting anything, compare \u0060Gb28181Gateway/src/SwooleServer/GBS.php\u0060 and \u0060swoole-gbs/gbs-beta.php\u0060 as WHOLE FILES: this scan already matched 65 separate duplicated blocks between them, totalling at least 2194 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"Gb28181Gateway/src/SwooleServer/GBS.php"},"region":{"startLine":505}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0e045e5e588a714c06518d8e24d520783fe5d0d3b400cdd856bec68c4306e4a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): Gb28181Gateway/src/SwooleServer/GBS.php:1252-1264 | swoole-gbs/gbs-beta.php:1597-1609 \u2014 before extracting anything, compare \u0060Gb28181Gateway/src/SwooleServer/GBS.php\u0060 and \u0060swoole-gbs/gbs-beta.php\u0060 as WHOLE FILES: this scan already matched 65 separate duplicated blocks between them, totalling at least 2194 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"Gb28181Gateway/src/SwooleServer/GBS.php"},"region":{"startLine":1252}}}],"partialFingerprints":{"codehealthFindingId/v1":"c80b7171c22a68007bd31bde38c6c25d028edd131f99046cd1a7d0102e09ea8d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): Gb28181Gateway/src/SwooleServer/GBS.php:1307-1319 | swoole-gbs/gbs-beta.php:1652-1664 \u2014 before extracting anything, compare \u0060Gb28181Gateway/src/SwooleServer/GBS.php\u0060 and \u0060swoole-gbs/gbs-beta.php\u0060 as WHOLE FILES: this scan already matched 65 separate duplicated blocks between them, totalling at least 2194 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"Gb28181Gateway/src/SwooleServer/GBS.php"},"region":{"startLine":1307}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2c2274ea901e3e6dd76c61f10a621dd9e9ffbbd44afb524e6318db16ca93e04"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): app/admin/controller/AttachmentController.php:206-218 | app/api/v1/controller/UploadController.php:20-32 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/admin/controller/AttachmentController.php"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"507ba92561a3a4010549d12848327e0edb13e1ce7732b70c4f0773d403cb373f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201313 lines \u00D7 2): app/admin/controller/GB28181ChannelController.php:492-500 | app/admin/controller/GB28181DeviceController.php:308-320 \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/admin/controller/GB28181DeviceController.php:308\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/admin/controller/GB28181ChannelController.php"},"region":{"startLine":492}}}],"partialFingerprints":{"codehealthFindingId/v1":"08989fbc140006a851885d78fcb7d92b78cd3d7773e34753cf800778d5bd7538"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): app/admin/controller/GB28181PTZController.php:96-108 | app/admin/controller/GB28181PTZController.php:125-137 \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/admin/controller/GB28181PTZController.php:96\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/admin/controller/GB28181PTZController.php"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"40427ded8f6002f2fef54de5192cd988b4aa8445349b99206d7230a1f37ff664"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 2): app/middleware/admin/OpenApiAuth.php:51-63 | app/middleware/security/firewall/UnifiedAuthenticationListener.php:80-91 \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/middleware/admin/OpenApiAuth.php"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcdcac22c460c21b88364a3b3c853f27e70d6f23b315392a96a7820887f78591"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 4): Gb28181Gateway/src/SwooleServer/GBS.php:2100-2111 | Gb28181Gateway/src/SwooleServer/GBS.php:2142-2153 | swoole-gbs/gbs-beta.php:2445-2456 | swoole-gbs/gbs-beta.php:2487-2498 \u2014 before extracting anything, compare \u0060Gb28181Gateway/src/SwooleServer/GBS.php\u0060 and \u0060swoole-gbs/gbs-beta.php\u0060 as WHOLE FILES: this scan already matched 65 separate duplicated blocks between them, totalling at least 2194 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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 \u0060Gb28181Gateway/src/SwooleServer/GBS.php:2100\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":"Gb28181Gateway/src/SwooleServer/GBS.php"},"region":{"startLine":2100}}}],"partialFingerprints":{"codehealthFindingId/v1":"065766684403cc7791515e01c56e97088d0b502f7ffdb785927e6fef7c91c735"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): CoreW/Business/SipGateway/Service/Impl/SipGatewayServiceImpl.php:321-332 | CoreW/Business/SipGateway/Service/Impl/SipGatewayServiceImpl.php:369-380 \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":"CoreW/Business/SipGateway/Service/Impl/SipGatewayServiceImpl.php"},"region":{"startLine":321}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f4ebd06bd844445f5045c999d4d91bc8083319f4948801d95324424d98e32c5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): Gb28181Gateway/src/Message/CommandDispatcher.php:1703-1714 | Gb28181Gateway/src/Message/CommandDispatcher.php:1722-1733 \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":"Gb28181Gateway/src/Message/CommandDispatcher.php"},"region":{"startLine":1703}}}],"partialFingerprints":{"codehealthFindingId/v1":"aeec04763f471ac941fa6fda8e3757e6db3ffdaf5dae116a79ad6fe0eb9d7382"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): Gb28181Gateway/src/Message/CommandType/DeviceToServerSubscribeHandler.php:59-72 | Gb28181Gateway/src/Message/CommandType/DeviceToServerSubscribeHandler.php:192-203 \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 \u0060Gb28181Gateway/src/Message/CommandType/DeviceToServerSubscribeHandler.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":"Gb28181Gateway/src/Message/CommandType/DeviceToServerSubscribeHandler.php"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"328a7400b714402e60edf6cb8acc661644f6e1f0314a7436b50c94a508f4f84f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201312 lines \u00D7 2): app/admin/controller/AttachmentController.php:56-64 | app/admin/controller/MediaServerController.php:16-27 \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/admin/controller/AttachmentController.php:56\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/admin/controller/AttachmentController.php"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"07de3bf5d4703b0b01ebe7a5724c4c54ae9d0440554cf6d3151deca48e611f8c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 2): app/queue/redis/fast/PanoramaChunkTilesJob.php:193-204 | app/queue/redis/fast/PanoramaChunkTilesJob.php:266-276 \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/queue/redis/fast/PanoramaChunkTilesJob.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/queue/redis/fast/PanoramaChunkTilesJob.php"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"a87fa06235037654b2e58b9dfebd5b0b59535635a7269a4e4c7c8304bf8d9d72"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201311 lines \u00D7 3): CoreW/Business/Devices/Service/Impl/DeviceServiceImpl.php:151-161 | app/admin/controller/AttachmentController.php:58-66 | app/admin/controller/MediaServerController.php:19-29 \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":"CoreW/Business/Devices/Service/Impl/DeviceServiceImpl.php"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"03fc181aeaa3f21cd8e8c226e012f5d97283caee743f5ad45a68141564f6e8cc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): app/admin/controller/GB28181DeviceControlController.php:61-71 | app/admin/controller/GB28181DeviceControlController.php:92-102 | app/admin/controller/GB28181DeviceControlController.php:207-217 \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/admin/controller/GB28181DeviceControlController.php"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"183be6b599a41406616fa42f888ca4c632be65bec8966b7712ecd31503f56ea3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): CoreW/Business/Devices/Traits/GB28181StreamTrait.php:302-312 | CoreW/Business/Devices/Traits/GB28181StreamTrait.php:561-571 \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 \u0060CoreW/Business/Devices/Traits/GB28181StreamTrait.php:302\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":"CoreW/Business/Devices/Traits/GB28181StreamTrait.php"},"region":{"startLine":302}}}],"partialFingerprints":{"codehealthFindingId/v1":"a64e190db4d0728c82798aa2229159412478d922f1d32f160bbdedd513fb8aed"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): CoreW/Business/Snapshot/Service/Impl/SnapshotFileServiceImpl.php:217-227 | CoreW/Business/StreamProxy/Service/Impl/StreamProxyServiceImpl.php:810-820 \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":"CoreW/Business/Snapshot/Service/Impl/SnapshotFileServiceImpl.php"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"54f6e7be437dd702d916a13278998150ea4491809dc38c8244a4a2bc4389a151"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): CoreW/Business/User/Service/Impl/UserServiceImpl.php:712-722 | CoreW/Business/User/Service/Impl/UserServiceImpl.php:791-801 \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":"CoreW/Business/User/Service/Impl/UserServiceImpl.php"},"region":{"startLine":712}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdf36cf0bc464167e3b378dab016aecedd5eb86ef0ee13e1f630ac92d520a04b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u201311 lines \u00D7 2): CoreW/Exception/ExceptionUtil.php:15-25 | support/utils/ExceptionUtil.php:16-22 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060CoreW/Exception/ExceptionUtil.php:15\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":"CoreW/Exception/ExceptionUtil.php"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"998eee92dca89dce6565361f4c9516e3a8c7d6426e052ef70e840266efa4830b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): CoreW/RateLimiter/TimeMachine.php:111-121 | support/utils/TimeMachineToolkit.php:137-147 \u2014 before extracting anything, compare \u0060CoreW/RateLimiter/TimeMachine.php\u0060 and \u0060support/utils/TimeMachineToolkit.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 \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":"CoreW/RateLimiter/TimeMachine.php"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"66347d4762a4c4c3c47758bb18c7ce4b9e147e7a2b69e355135d49574ca3bab4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): CoreW/Sdk/Iot/Driver/Base.php:145-155 | CoreW/Sdk/Iot/Driver/BytV4.php:113-123 \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":"CoreW/Sdk/Iot/Driver/Base.php"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"376f8e5472db035be92bb5be9134828e5f53abfef98f7d7d0fc7d031d57d3330"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): Gb28181Gateway/src/Message/CommandDispatcher.php:1685-1695 | Gb28181Gateway/src/Message/CommandDispatcher.php:1785-1795 \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":"Gb28181Gateway/src/Message/CommandDispatcher.php"},"region":{"startLine":1685}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1e5e0aba428f2cc5dcbb41a99db30b2761f735f330817d4cf2fc8aa40a19929"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 4): Gb28181Gateway/src/SwooleServer/GBS.php:2524-2533 | Gb28181Gateway/src/SwooleServer/GBS.php:2608-2617 | swoole-gbs/gbs-beta.php:2869-2878 | swoole-gbs/gbs-beta.php:2953-2962 \u2014 before extracting anything, compare \u0060Gb28181Gateway/src/SwooleServer/GBS.php\u0060 and \u0060swoole-gbs/gbs-beta.php\u0060 as WHOLE FILES: this scan already matched 65 separate duplicated blocks between them, totalling at least 2194 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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 \u0060Gb28181Gateway/src/SwooleServer/GBS.php:2524\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":"Gb28181Gateway/src/SwooleServer/GBS.php"},"region":{"startLine":2524}}}],"partialFingerprints":{"codehealthFindingId/v1":"4debc655aeb313e2c6d517f54e8361a1f7a03b7bc0d565c3a801a442fe6aa511"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): Gb28181Gateway/src/Message/CommandType/DeviceToServerSubscribeHandler.php:58-69 | Gb28181Gateway/src/Message/CommandType/DeviceToServerSubscribeHandler.php:131-140 | Gb28181Gateway/src/Message/CommandType/DeviceToServerSubscribeHandler.php:191-200 \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":"Gb28181Gateway/src/Message/CommandType/DeviceToServerSubscribeHandler.php"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"26520eccabbe4270c840277b893b0310ec402ae76989c7ae8a04857e1aa060f6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): CoreW/RateLimiter/TimeMachine.php:88-97 | support/utils/TimeMachineToolkit.php:123-132 \u2014 before extracting anything, compare \u0060CoreW/RateLimiter/TimeMachine.php\u0060 and \u0060support/utils/TimeMachineToolkit.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 \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":"CoreW/RateLimiter/TimeMachine.php"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee3bcb10018b36ab6e2d39632e95cb9ffd4a7a88a73cb915ee177579c3dae9f2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): Gb28181Gateway/src/Handlers/GB28181Handler.php:327-336 | Gb28181Gateway/src/Handlers/GB28181Handler.php:347-356 \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 \u0060Gb28181Gateway/src/Handlers/GB28181Handler.php:327\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 before the matched lines, \u0060Gb28181Gateway/src/Handlers/GB28181Handler.php:346\u0060 calls \u0060log\u0060, \u0060implode\u0060 and \u0060Gb28181Gateway/src/Handlers/GB28181Handler.php:326\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":"Gb28181Gateway/src/Handlers/GB28181Handler.php"},"region":{"startLine":327}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce61bdb8dfcfa253a86ea2fd5b31399f7fa8b19a6ee897d43c399baf60baef4a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u201310 lines \u00D7 2): Gb28181Gateway/src/Message/CommandDispatcher.php:316-325 | Gb28181Gateway/src/Message/CommandDispatcher.php:1111-1118 \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 after the matched lines, \u0060Gb28181Gateway/src/Message/CommandDispatcher.php:328\u0060 calls \u0060errorResponse\u0060 and \u0060Gb28181Gateway/src/Message/CommandDispatcher.php:1119\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":"Gb28181Gateway/src/Message/CommandDispatcher.php"},"region":{"startLine":316}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d98d0e18c55ace0a6d81d7bfc8b51961bca840c5aaada1802c27efc1e2b9767"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): Gb28181Gateway/src/SwooleServer/GBS.php:2252-2261 | swoole-gbs/gbs-beta.php:2597-2606 \u2014 before extracting anything, compare \u0060Gb28181Gateway/src/SwooleServer/GBS.php\u0060 and \u0060swoole-gbs/gbs-beta.php\u0060 as WHOLE FILES: this scan already matched 65 separate duplicated blocks between them, totalling at least 2194 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"Gb28181Gateway/src/SwooleServer/GBS.php"},"region":{"startLine":2252}}}],"partialFingerprints":{"codehealthFindingId/v1":"6df4189a053368e114454120914abdda268430e0127bcd19e8e26070253aca04"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): Gb28181Gateway/src/SwooleServer/GBS.php:2284-2293 | swoole-gbs/gbs-beta.php:2629-2638 \u2014 before extracting anything, compare \u0060Gb28181Gateway/src/SwooleServer/GBS.php\u0060 and \u0060swoole-gbs/gbs-beta.php\u0060 as WHOLE FILES: this scan already matched 65 separate duplicated blocks between them, totalling at least 2194 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"Gb28181Gateway/src/SwooleServer/GBS.php"},"region":{"startLine":2284}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a7ed439b720fa3adbfaa96d55d10d93efbf787476dd39ed3259642f622c6751"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): app/api/v1/controller/AuthController.php:94-103 | app/api/v1/controller/AuthController.php:119-128 \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/api/v1/controller/AuthController.php"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"0029ed90f117a40ce3d9faa537e932df4500242e041e282fd824dace7fb74dd6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): app/command/Gb28181Server.php:242-251 | app/command/Gb28181Server.php:256-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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/command/Gb28181Server.php:242\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/command/Gb28181Server.php"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"f37ee1ae56f8ed02eec7028625bf9fe63d00573d5d7c82a37f3aa84d32b0f4d7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): support/utils/FileToolkit.php:971-980 | support/utils/FileToolkit.php:1002-1011 \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 \u0060support/utils/FileToolkit.php:971\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":"support/utils/FileToolkit.php"},"region":{"startLine":971}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd46e27a350573f05dd633dff4361e1a13364822ac6e46679d8e8c359f509e06"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 4): Gb28181Gateway/src/SwooleServer/GBS.php:1714-1722 | Gb28181Gateway/src/SwooleServer/GBS.php:2375-2383 | swoole-gbs/gbs-beta.php:2059-2067 | swoole-gbs/gbs-beta.php:2720-2728 \u2014 before extracting anything, compare \u0060Gb28181Gateway/src/SwooleServer/GBS.php\u0060 and \u0060swoole-gbs/gbs-beta.php\u0060 as WHOLE FILES: this scan already matched 65 separate duplicated blocks between them, totalling at least 2194 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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 \u0060Gb28181Gateway/src/SwooleServer/GBS.php:1714\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":"Gb28181Gateway/src/SwooleServer/GBS.php"},"region":{"startLine":1714}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c4f6ddfd4dd95ae17bff38d0495c699f229ef969fc5574393083d3f600cf608"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 4): Gb28181Gateway/src/SwooleServer/GBS.php:1763-1771 | Gb28181Gateway/src/SwooleServer/GBS.php:2411-2419 | swoole-gbs/gbs-beta.php:2108-2116 | swoole-gbs/gbs-beta.php:2756-2764 \u2014 before extracting anything, compare \u0060Gb28181Gateway/src/SwooleServer/GBS.php\u0060 and \u0060swoole-gbs/gbs-beta.php\u0060 as WHOLE FILES: this scan already matched 65 separate duplicated blocks between them, totalling at least 2194 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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 \u0060Gb28181Gateway/src/SwooleServer/GBS.php:1763\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, \u0060Gb28181Gateway/src/SwooleServer/GBS.php:1762\u0060 calls \u0060debug\u0060 and \u0060Gb28181Gateway/src/SwooleServer/GBS.php:2410\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":"Gb28181Gateway/src/SwooleServer/GBS.php"},"region":{"startLine":1763}}}],"partialFingerprints":{"codehealthFindingId/v1":"c23a43fa7cf184416a6604b364f53d4edfd364c54ec89191119a847427322895"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 4): Gb28181Gateway/src/SwooleServer/GBS.php:1811-1819 | Gb28181Gateway/src/SwooleServer/GBS.php:2461-2469 | swoole-gbs/gbs-beta.php:2156-2164 | swoole-gbs/gbs-beta.php:2806-2814 \u2014 before extracting anything, compare \u0060Gb28181Gateway/src/SwooleServer/GBS.php\u0060 and \u0060swoole-gbs/gbs-beta.php\u0060 as WHOLE FILES: this scan already matched 65 separate duplicated blocks between them, totalling at least 2194 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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 \u0060Gb28181Gateway/src/SwooleServer/GBS.php:1811\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":"Gb28181Gateway/src/SwooleServer/GBS.php"},"region":{"startLine":1811}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f224f0339515d7fd0c68757f4acfaae4a48dfe2a8c90da38c4f72dadfb51441"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): CoreW/Business/User/Service/Impl/UserServiceImpl.php:588-596 | CoreW/Business/User/Service/Impl/UserServiceImpl.php:638-646 | CoreW/Business/User/Service/Impl/UserServiceImpl.php:668-676 \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":"CoreW/Business/User/Service/Impl/UserServiceImpl.php"},"region":{"startLine":588}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b6f014ce5dd991f547fa6fbd002025ff82f8b66f8fff18c31d8ed9e3bc079da"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): CoreW/Business/VIP/Service/Impl/VIPServiceImpl.php:822-830 | CoreW/Business/VIP/Service/Impl/VIPServiceImpl.php:875-883 | CoreW/Business/VIP/Service/Impl/VIPServiceImpl.php:905-913 \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":"CoreW/Business/VIP/Service/Impl/VIPServiceImpl.php"},"region":{"startLine":822}}}],"partialFingerprints":{"codehealthFindingId/v1":"113e62d72c7efee0c945a8cb020fdceb66183fa25696a9d0593b0bf562e60f6c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): Gb28181Gateway/src/Message/CommandDispatcher.php:313-321 | Gb28181Gateway/src/Message/CommandDispatcher.php:924-932 | Gb28181Gateway/src/Message/CommandDispatcher.php:1108-1116 \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":"Gb28181Gateway/src/Message/CommandDispatcher.php"},"region":{"startLine":313}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e1ad5503e0a6a1e95a64773234ace54d11b0cb2f9e592f5640e3806d2e574d1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): CoreW/Business/Attachment/Implementors/Impl/AliFileImplementor.php:299-307 | CoreW/Business/Attachment/Implementors/Impl/TenCentFileImplementor.php:293-301 \u2014 before extracting anything, compare \u0060CoreW/Business/Attachment/Implementors/Impl/AliFileImplementor.php\u0060 and \u0060CoreW/Business/Attachment/Implementors/Impl/TenCentFileImplementor.php\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 129 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 \u0060CoreW/Business/Attachment/Implementors/Impl/AliFileImplementor.php:299\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":"CoreW/Business/Attachment/Implementors/Impl/AliFileImplementor.php"},"region":{"startLine":299}}}],"partialFingerprints":{"codehealthFindingId/v1":"d054ee91f51facea458a7e2345c58d8c03423299c0a094e1c5728321919784b2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): CoreW/Business/Product/Service/Impl/ProductServiceImpl.php:490-498 | CoreW/Business/Product/Service/Impl/ProductServiceImpl.php:519-527 \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":"CoreW/Business/Product/Service/Impl/ProductServiceImpl.php"},"region":{"startLine":490}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e4e460d500d6e5ff715a808f3908abf41620fa335368169e4d178eb1d6f6a2d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): CoreW/Business/User/Dao/Impl/UserDaoImpl.php:185-193 | CoreW/Business/User/Dao/Impl/UserDaoImpl.php:195-203 \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":"CoreW/Business/User/Dao/Impl/UserDaoImpl.php"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c43a3bad12b5d3a62143420b7d48d33991c7479bde352b08e15814e9dde8e3c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): CoreW/Business/User/Service/Impl/TokenServiceImpl.php:109-117 | CoreW/Business/VIP/Service/Impl/TokenServiceImpl.php:125-133 \u2014 before extracting anything, compare \u0060CoreW/Business/User/Service/Impl/TokenServiceImpl.php\u0060 and \u0060CoreW/Business/VIP/Service/Impl/TokenServiceImpl.php\u0060 as WHOLE FILES: this scan already matched 5 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"CoreW/Business/User/Service/Impl/TokenServiceImpl.php"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ae4ad8b70c90acf9994ddc05c1f311eb9fa7d8735cf36e0c679db3ef639c710"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): CoreW/Provider/ExtensionsProvider.php:54-62 | CoreW/Provider/ExtensionsProvider.php:70-79 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060CoreW/Provider/ExtensionsProvider.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":"CoreW/Provider/ExtensionsProvider.php"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"19f30f537e6ea9e5262881be578158a5e184a4a55b40e81ff770cc3a71b2d466"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 10): Gb28181Gateway/src/SwooleServer/GBS.php:1739-1746 | Gb28181Gateway/src/SwooleServer/GBS.php:1751-1758 | Gb28181Gateway/src/SwooleServer/GBS.php:1765-1772 | Gb28181Gateway/src/SwooleServer/GBS.php:2400-2407 | Gb28181Gateway/src/SwooleServer/GBS.php:2413-2420 | swoole-gbs/gbs-beta.php:2084-2091 | swoole-gbs/gbs-beta.php:2096-2103 | swoole-gbs/gbs-beta.php:2110-2117 | swoole-gbs/gbs-beta.php:2745-2752 | swoole-gbs/gbs-beta.php:2758-2765 \u2014 before extracting anything, compare \u0060Gb28181Gateway/src/SwooleServer/GBS.php\u0060 and \u0060swoole-gbs/gbs-beta.php\u0060 as WHOLE FILES: this scan already matched 65 separate duplicated blocks between them, totalling at least 2194 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"Gb28181Gateway/src/SwooleServer/GBS.php"},"region":{"startLine":1739}}}],"partialFingerprints":{"codehealthFindingId/v1":"1dfb491309c07113dc94bd75b15ff11e9a473c9c15f3e03325c7abe44be7a684"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20138 lines \u00D7 6): Gb28181Gateway/src/SwooleServer/GBS.php:1294-1301 | Gb28181Gateway/src/SwooleServer/GBS.php:1403-1409 | Gb28181Gateway/src/SwooleServer/GBS.php:1416-1423 | swoole-gbs/gbs-beta.php:1639-1646 | swoole-gbs/gbs-beta.php:1748-1754 | swoole-gbs/gbs-beta.php:1761-1768 \u2014 before extracting anything, compare \u0060Gb28181Gateway/src/SwooleServer/GBS.php\u0060 and \u0060swoole-gbs/gbs-beta.php\u0060 as WHOLE FILES: this scan already matched 65 separate duplicated blocks between them, totalling at least 2194 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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 \u0060Gb28181Gateway/src/SwooleServer/GBS.php:1294\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":"Gb28181Gateway/src/SwooleServer/GBS.php"},"region":{"startLine":1294}}}],"partialFingerprints":{"codehealthFindingId/v1":"471136df02dac6613423bd188cce01f1b9adf8f92925c00586c0e5ad434149f7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): CoreW/Mail/AbstractMail.php:78-85 | CoreW/Sdk/AMapSdk/AMapClient.php:77-84 \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":"CoreW/Mail/AbstractMail.php"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b9d21a19d6d5b8a33203f966c659a60954e3e4a217f12c25f85dbee700a43bc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 9): app/admin/controller/GB28181AlarmController.php:26-36 | app/admin/controller/GB28181ChannelController.php:35-44 | app/admin/controller/GB28181RecordMergeController.php:25-31 | app/admin/controller/GB28181RecordTaskController.php:25-35 | app/admin/controller/GB28181RecordingController.php:30-36 | app/admin/controller/GB28181RecordingController.php:42-50 | app/admin/controller/SipGatewayController.php:19-25 | app/admin/controller/StreamProxyController.php:26-36 | app/admin/controller/StreamProxyController.php:374-384 \u2014 there are 9 copies across 7 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 9 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/admin/controller/GB28181AlarmController.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/admin/controller/GB28181AlarmController.php"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"b221518c70bac58b0ee65a21119cabd256bf3c0943b6581c28912cda40f92790"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): CoreW/Business/Devices/Traits/GB28181StreamTrait.php:131-137 | CoreW/Business/Devices/Traits/GB28181StreamTrait.php:290-298 | CoreW/Business/Devices/Traits/GB28181StreamTrait.php:549-557 \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":"CoreW/Business/Devices/Traits/GB28181StreamTrait.php"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"4246835f65df99dcf1e08143345a9c6cbad0579c54058551ac9ccaeb355bdef9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): CoreW/Business/Devices/Traits/GB28181StreamTrait.php:139-145 | CoreW/Business/Devices/Traits/GB28181StreamTrait.php:302-312 | CoreW/Business/Devices/Traits/GB28181StreamTrait.php:561-571 \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 \u0060CoreW/Business/Devices/Traits/GB28181StreamTrait.php:139\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":"CoreW/Business/Devices/Traits/GB28181StreamTrait.php"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"742e77a313495ccf6b855ae3e6541410c7580363c16bc028f837ab0ed1585de9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): CoreW/Business/Attachment/Service/Impl/AttachmentServiceImpl.php:547-553 | CoreW/Business/Attachment/Service/Impl/AttachmentServiceImpl.php:575-581 \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 \u0060CoreW/Business/Attachment/Service/Impl/AttachmentServiceImpl.php:547\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, \u0060CoreW/Business/Attachment/Service/Impl/AttachmentServiceImpl.php:583\u0060 calls \u0060send\u0060 and \u0060CoreW/Business/Attachment/Service/Impl/AttachmentServiceImpl.php:555\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":"CoreW/Business/Attachment/Service/Impl/AttachmentServiceImpl.php"},"region":{"startLine":547}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccfb628762faa2178c205d0411075e6fa5e5aa97b10bf2f6711a6c91aff60e31"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): CoreW/Business/VIP/Service/Impl/VIPServiceImpl.php:631-637 | CoreW/Business/VIP/Service/Impl/VIPServiceImpl.php:684-690 \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":"CoreW/Business/VIP/Service/Impl/VIPServiceImpl.php"},"region":{"startLine":631}}}],"partialFingerprints":{"codehealthFindingId/v1":"0390fc3791c95f57512dce63fe16467b73293ff7e79cfb7f8de3d2e912dc1f28"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6\u20137 lines \u00D7 2): CoreW/Dao/DaoProxy.php:244-250 | CoreW/Dao/DaoProxy.php:280-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":"CoreW/Dao/DaoProxy.php"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"871d2dd1f1a0a0ed9685c648792983b35d5a9ed835d867a5b834bf220027f04a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): CoreW/Dao/DaoProxy.php:389-395 | CoreW/Dao/DaoProxy.php:410-416 \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 \u0060CoreW/Dao/DaoProxy.php:389\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":"CoreW/Dao/DaoProxy.php"},"region":{"startLine":389}}}],"partialFingerprints":{"codehealthFindingId/v1":"136e4c596df42d905c466eaa5f8847d89a319a71c565c942585dbb4629628b9d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): app/admin/controller/GB28181DeviceController.php:32-41 | app/api/v2/controller/GB28181DeviceController.php:25-31 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/admin/controller/GB28181DeviceController.php"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"e25efe9bff362f9c970ea8e0341232ece250d967ab7dc34fa455c35227c1d292"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): CoreW/Sdk/PSipGateway/Gb28181Client.php:592-597 | Gb28181Gateway/src/Message/CommandDispatcher.php:2237-2242 \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":"CoreW/Sdk/PSipGateway/Gb28181Client.php"},"region":{"startLine":592}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a663e938d8b71bc98c43f68c34cb0f1a2b29c2dd443d513cc5e1537f66d09fb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): Gb28181Gateway/src/SwooleServer/GBS.php:1428-1435 | swoole-gbs/gbs-beta.php:1773-1780 \u2014 before extracting anything, compare \u0060Gb28181Gateway/src/SwooleServer/GBS.php\u0060 and \u0060swoole-gbs/gbs-beta.php\u0060 as WHOLE FILES: this scan already matched 65 separate duplicated blocks between them, totalling at least 2194 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"Gb28181Gateway/src/SwooleServer/GBS.php"},"region":{"startLine":1428}}}],"partialFingerprints":{"codehealthFindingId/v1":"0516aa60534006cc3489b10bdee454b431f21e89b68dffee1ca41d2e9ff8d874"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): app/admin/controller/GB28181ChannelController.php:128-145 | app/admin/controller/GB28181DeviceController.php:157-162 \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/admin/controller/GB28181ChannelController.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. 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/admin/controller/GB28181ChannelController.php"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac0c9603e5a9bc284e348ef3c499aaa84a15eb80bce891a2bb942bc40a97d122"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): app/command/Gb28181Server.php:253-258 | app/command/Gb28181Server.php:267-272 \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/command/Gb28181Server.php:253\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/command/Gb28181Server.php"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"3863deb1ce67568be1dbdc446f104e9ed88c7b17041961c73619cff2a6acd19b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): app/queue/redis/fast/FileAfterUploadProcess.php:148-153 | app/queue/redis/fast/FileAfterUploadProcess.php:180-185 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/queue/redis/fast/FileAfterUploadProcess.php"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"31962dddde253691e5749b7812c98349082922f114085aef18f263c8af4f15be"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 9): app/admin/controller/StreamProxyController.php:130-134 | app/admin/controller/StreamProxyController.php:150-154 | app/admin/controller/StreamProxyController.php:166-170 | app/admin/controller/StreamProxyController.php:186-190 | app/admin/controller/StreamProxyController.php:202-206 | app/admin/controller/StreamProxyController.php:218-222 | app/admin/controller/StreamProxyController.php:234-238 | app/admin/controller/StreamProxyController.php:260-264 | app/admin/controller/StreamProxyController.php:280-284 \u2014 all 9 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/admin/controller/StreamProxyController.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. 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/admin/controller/StreamProxyController.php"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd123c389d14309654605275eaa720398d6dd36981459ea4d5d17713d132c19e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 8): Gb28181Gateway/src/SwooleServer/GBS.php:1254-1258 | Gb28181Gateway/src/SwooleServer/GBS.php:1292-1296 | Gb28181Gateway/src/SwooleServer/GBS.php:1401-1405 | Gb28181Gateway/src/SwooleServer/GBS.php:1414-1418 | swoole-gbs/gbs-beta.php:1599-1603 | swoole-gbs/gbs-beta.php:1637-1641 | swoole-gbs/gbs-beta.php:1746-1750 | swoole-gbs/gbs-beta.php:1759-1763 \u2014 before extracting anything, compare \u0060Gb28181Gateway/src/SwooleServer/GBS.php\u0060 and \u0060swoole-gbs/gbs-beta.php\u0060 as WHOLE FILES: this scan already matched 65 separate duplicated blocks between them, totalling at least 2194 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"Gb28181Gateway/src/SwooleServer/GBS.php"},"region":{"startLine":1254}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fb2f16ec4117cc7d47c869c9103ce57b487db586c90460984779c111ab3ae4b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): app/admin/controller/SipGatewayController.php:110-114 | app/admin/controller/SipGatewayController.php:133-137 | app/admin/controller/StreamProxyController.php:94-98 \u2014 there are 3 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 3 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/admin/controller/SipGatewayController.php:110\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/admin/controller/SipGatewayController.php"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f9e85eaaf984b4d7d8d856e97867367d5eccf76ecc4173e0cf9c405ae536664"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20138 lines \u00D7 2): CoreW/Business/Product/Service/Impl/ProductServiceImpl.php:731-737 | CoreW/Business/Product/Service/Impl/ProductServiceImpl.php:1005-1012 \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 \u0060CoreW/Business/Product/Service/Impl/ProductServiceImpl.php:731\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":"CoreW/Business/Product/Service/Impl/ProductServiceImpl.php"},"region":{"startLine":731}}}],"partialFingerprints":{"codehealthFindingId/v1":"69a8c0e35abc98f059f6a45ef34a12eccaf55facab6fdfd91e41529babfc7ad2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): app/queue/redis/fast/PanoramaChunkTilesJob.php:266-270 | app/queue/redis/fast/PanoramaChunkTilesJob.php:300-304 \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/queue/redis/fast/PanoramaChunkTilesJob.php:266\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/queue/redis/fast/PanoramaChunkTilesJob.php"},"region":{"startLine":266}}}],"partialFingerprints":{"codehealthFindingId/v1":"c023131619d697788ee5161db10c55fed3d500e43afc1c6f01858ab29a7cf10f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): support/utils/FileToolkit.php:30-34 | support/utils/FileToolkit.php:58-62 \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 \u0060support/utils/FileToolkit.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":"support/utils/FileToolkit.php"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"205170dcfd0607c887c2db2375c3855b6499b9d1648262165e1686ad0ca4d66a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (65 lines \u00D7 2): CoreW/Business/Alarm/Dao/Impl/AlarmEventDaoImpl.php:14-93 | CoreW/Business/Devices/Dao/Impl/AlarmDaoImpl.php:15-79 \u2014 before extracting anything, compare \u0060CoreW/Business/Alarm/Dao/Impl/AlarmEventDaoImpl.php\u0060 and \u0060CoreW/Business/Devices/Dao/Impl/AlarmDaoImpl.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 \u0060CoreW/Business/Alarm/Dao/Impl/AlarmEventDaoImpl.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. 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":"CoreW/Business/Alarm/Dao/Impl/AlarmEventDaoImpl.php"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4d9ffdf135f63a6235135e229328518099cdf626b5f3ab5108baceac79513b6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (52 lines \u00D7 2): CoreW/Business/User/Dao/Impl/TokenDaoImpl.php:16-67 | CoreW/Business/VIP/Dao/Impl/TokenDaoImpl.php:16-67 \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 \u0060CoreW/Business/User/Dao/Impl/TokenDaoImpl.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":"CoreW/Business/User/Dao/Impl/TokenDaoImpl.php"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed2d604eb1ad2635652c6ee444cf7b7e877b8454442a4bacf3412a314de8cbcf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (73 lines \u00D7 2): CoreW/Business/User/Dao/Impl/UserBindDaoImpl.php:16-88 | CoreW/Business/VIP/Dao/Impl/VIPBindDaoImpl.php:14-86 \u2014 before extracting anything, compare \u0060CoreW/Business/User/Dao/Impl/UserBindDaoImpl.php\u0060 and \u0060CoreW/Business/VIP/Dao/Impl/VIPBindDaoImpl.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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060CoreW/Business/User/Dao/Impl/UserBindDaoImpl.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":"CoreW/Business/User/Dao/Impl/UserBindDaoImpl.php"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"631c6ed9a0742e766c0fa7ca6aadbcffa8abcd79b141897826b7df2b5dfa427b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (39 lines \u00D7 3): CoreW/Business/VIP/Dao/Impl/VIPCompanyDaoImpl.php:15-55 | CoreW/Business/VIP/Dao/Impl/VIPCompanyIotDaoImpl.php:15-53 | CoreW/Business/VIP/Dao/Impl/VIPDaoImpl.php:15-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 all 3 call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060CoreW/Business/VIP/Dao/Impl/VIPCompanyDaoImpl.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":"CoreW/Business/VIP/Dao/Impl/VIPCompanyDaoImpl.php"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"738f7b45619951df56c9d19af8a11a45657eedbb31ee126d92af4c1b625887e8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (36 lines \u00D7 2): CoreW/Dao/Connection.php:20-76 | CoreW/Dao/MasterSlaveConnection.php:13-48 \u2014 before extracting anything, compare \u0060CoreW/Dao/Connection.php\u0060 and \u0060CoreW/Dao/MasterSlaveConnection.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 \u0060CoreW/Dao/Connection.php:20\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"CoreW/Dao/Connection.php"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"48eac367349555a4e502059b7babc0ea5881a0c7b4bf0e3b8b7b4b35279e9e38"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (31 lines \u00D7 2): app/middleware/admin/AuthIdentityMiddleware.php:16-46 | app/middleware/api/AuthIdentityMiddleware.php:16-46 \u2014 \u0060app/middleware/admin/AuthIdentityMiddleware.php\u0060 and \u0060app/middleware/api/AuthIdentityMiddleware.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 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/middleware/admin/AuthIdentityMiddleware.php:16\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/middleware/admin/AuthIdentityMiddleware.php"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1a1ba435e80d0ec297c9a6a73b47b4d7403ca74c9f5de71181d16afa6cc32b5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 27): migrations/20230312162251_product_table.php:12-43 | migrations/20230312162314_scene_table.php:12-41 | migrations/20230312162325_hotpot_table.php:12-49 | migrations/20230505161918_create_attachment_table.php:12-46 | migrations/20230510211435_create_biz_token_table.php:12-34 | migrations/20230806122626_create_product_catalog_table.php:12-38 | migrations/20230806122641_create_tag_table.php:12-31 | migrations/20230806122649_create_product_catalog_tag_table.php:12-26 | migrations/20231207024810_add_product_tag_table.php:12-28 | migrations/20240103104025_add_product_tour_table.php:12-35 | migrations/20240103104030_add_product_tour_node_table.php:12-37 | migrations/20240118072954_add_product_plane_graph_table.php:12-34 | migrations/20240123032252_add_product_setting_table.php:12-31 | migrations/20240812090119_create_vip_company_table.php:12-38 | migrations/20240812090124_create_vip_company_iot_table.php:12-36 | migrations/20251231075323_media_server_table.php:12-55 | migrations/20260105102242_menu_table.php:12-47 | migrations/20260112022030_device_presets_table.php:12-36 | migrations/20260115073326_create_gb_session_viewers_table.php:12-32 | migrations/20260122065647_create_alarm_plan_table.php:12-37 | migrations/20260122070047_create_alarm_plan_channel_table.php:12-35 | migrations/20260122070409_create_alarm_event_table.php:12-50 | migrations/20260122070415_create_alarm_event_asset_table.php:12-36 | migrations/20260122070615_create_gv_snapshot_file_table.php:12-61 | migrations/20260122080000_create_device_subscribe_config_table.php:12-48 | migrations/20260128073200_alter_device_subscribe_config_add_fields.php:12-34 | migrations/20260130000001_gb28181_voice_sessions.php:9-52 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 27 call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060migrations/20230312162251_product_table.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. 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/20230312162251_product_table.php"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"285e0abe6851a8e9d6e08e42067681dfdde472dab2e1cc574101ff8d739bf2a7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 7): migrations/20260227000003_create_device_positions_table.php:12-47 | migrations/20260306000001_create_stream_proxies_table.php:12-91 | migrations/20260306000002_create_stream_proxy_logs_table.php:12-46 | migrations/20260519000001_create_sip_gateways_table.php:12-69 | migrations/20260519000003_create_record_merge_tasks_table.php:12-50 | migrations/20260521000001_add_user_api_key_fields.php:12-35 | migrations/20260526084848_alter_merge_task_record_fields.php:12-31 \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 7 call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060migrations/20260227000003_create_device_positions_table.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":"migrations/20260227000003_create_device_positions_table.php"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c53270a2a3c3db1178e342b15f98e1d3461da01362a65c862a8fdb95ff2b531"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3): CoreW/Business/Attachment/Implementors/Impl/AliFileImplementor.php:100-112 | CoreW/Business/Attachment/Implementors/Impl/QiNiuFileImplementor.php:97-109 | CoreW/Business/Attachment/Implementors/Impl/TenCentFileImplementor.php:94-106 \u2014 before extracting anything, compare \u0060CoreW/Business/Attachment/Implementors/Impl/AliFileImplementor.php\u0060 and \u0060CoreW/Business/Attachment/Implementors/Impl/QiNiuFileImplementor.php\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 84 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":"CoreW/Business/Attachment/Implementors/Impl/AliFileImplementor.php"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"d94adcdebb60b415487c596b4a7f742ab04fc274c93788fa57022f5eee6982df"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): CoreW/Business/Attachment/Service/Impl/AttachmentServiceImpl.php:524-531 | app/queue/redis/fast/MakeUploadChunkTmpFile.php:79-86 \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":"CoreW/Business/Attachment/Service/Impl/AttachmentServiceImpl.php"},"region":{"startLine":524}}}],"partialFingerprints":{"codehealthFindingId/v1":"2edf1c222cb4c620f5d03de4a8896199e873c36e82ac219fcd703b4c27ab4c81"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): CoreW/Business/Constants.php:245-252 | CoreW/Traits/EnumTrait.php:19-26 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. 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":"CoreW/Business/Constants.php"},"region":{"startLine":245}}}],"partialFingerprints":{"codehealthFindingId/v1":"094a980867a1af345d8dfe7a006d84b6f43e203a202fa5ea7abd6d48bb12c84e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): CoreW/Business/GB/Gb28181Service.php:1389-1394 | CoreW/Business/Record/Service/Impl/RecordTaskServiceImpl.php:700-705 \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":"CoreW/Business/GB/Gb28181Service.php"},"region":{"startLine":1389}}}],"partialFingerprints":{"codehealthFindingId/v1":"b08bb2450b7edf1a35e71430e84b77fc608ea3a5813b1da83e65f5f88da9d5fb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): CoreW/Business/User/Dao/Impl/UserDaoImpl.php:69-75 | CoreW/Business/VIP/Dao/Impl/VIPProfileDaoImpl.php:21-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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"CoreW/Business/User/Dao/Impl/UserDaoImpl.php"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"caf9286cd4b93901e7e5e21d30de2e19ea54719a19104148fdc33b83e1d5a7d1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): CoreW/Business/User/Service/Impl/TokenServiceImpl.php:72-78 | CoreW/Business/VIP/Service/Impl/TokenServiceImpl.php:81-87 \u2014 before extracting anything, compare \u0060CoreW/Business/User/Service/Impl/TokenServiceImpl.php\u0060 and \u0060CoreW/Business/VIP/Service/Impl/TokenServiceImpl.php\u0060 as WHOLE FILES: this scan already matched 5 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"CoreW/Business/User/Service/Impl/TokenServiceImpl.php"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8277811c7955e4ac3363c506373f2826a526ecb68a48b17ef6cb7414c29c6b5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): CoreW/Business/User/Service/Impl/TokenServiceImpl.php:140-148 | CoreW/Business/VIP/Service/Impl/TokenServiceImpl.php:154-162 \u2014 before extracting anything, compare \u0060CoreW/Business/User/Service/Impl/TokenServiceImpl.php\u0060 and \u0060CoreW/Business/VIP/Service/Impl/TokenServiceImpl.php\u0060 as WHOLE FILES: this scan already matched 5 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 \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":"CoreW/Business/User/Service/Impl/TokenServiceImpl.php"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"90490ebea6578873878e26ea6e2359c721269e5ad7885e02640627037ebf90e9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): CoreW/JsonLogger.php:22-28 | CoreW/Mail/Logger/JsonLogger.php:22-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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"CoreW/JsonLogger.php"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"02b899cc953fe9f5556b45e19b7ed3a95cd90a89c1f451538d64ba229ce3e42b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): CoreW/Oauth2/Client/WechatMobOauthClient.php:24-40 | CoreW/Oauth2/Client/WechatWebOAuthClient.php:24-40 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"CoreW/Oauth2/Client/WechatMobOauthClient.php"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5c96bc0d4de452bf4f496c2e3dd27b693df6f0879425d22c8dc13ccf8f61671"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): CoreW/Oauth2/Client/WechatMobOauthClient.php:45-53 | CoreW/Oauth2/Client/WechatWebOAuthClient.php:45-52 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"CoreW/Oauth2/Client/WechatMobOauthClient.php"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"e481d0c60f439f2125923c7481200778458e99d8186fcdcd5f6ffeac162f2ed4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): CoreW/RateLimiter/TimeMachine.php:75-83 | support/utils/TimeMachineToolkit.php:110-118 \u2014 before extracting anything, compare \u0060CoreW/RateLimiter/TimeMachine.php\u0060 and \u0060support/utils/TimeMachineToolkit.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 \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":"CoreW/RateLimiter/TimeMachine.php"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"918940adb0eaf69d2fdbcd2272ad42ebf9df7830983b0a9d5f62129f09150991"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): CoreW/Sdk/AMapSdk/AMapClient.php:246-250 | CoreW/Sdk/Iot/Driver/Base.php:245-249 \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":"CoreW/Sdk/AMapSdk/AMapClient.php"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"0008f0e1bd7c0d3d7009433b281c48f795e6f8cfffc81838def89e0463b5aba5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): CoreW/Sdk/AMapSdk/Libs/CurlHttpClient.php:236-241 | CoreW/ToolKits/CURLHttpClient.php:218-222 \u2014 before extracting anything, compare \u0060CoreW/Sdk/AMapSdk/Libs/CurlHttpClient.php\u0060 and \u0060CoreW/ToolKits/CURLHttpClient.php\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 137 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"CoreW/Sdk/AMapSdk/Libs/CurlHttpClient.php"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e5da88cf8c87bafdcd9ad187ad5a1964d12cc6f44ba31e68d487e40beea9f7c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): CoreW/Sdk/AMapSdk/Libs/CurlHttpClient.php:252-258 | CoreW/ToolKits/CURLHttpClient.php:233-237 \u2014 before extracting anything, compare \u0060CoreW/Sdk/AMapSdk/Libs/CurlHttpClient.php\u0060 and \u0060CoreW/ToolKits/CURLHttpClient.php\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 137 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"CoreW/Sdk/AMapSdk/Libs/CurlHttpClient.php"},"region":{"startLine":252}}}],"partialFingerprints":{"codehealthFindingId/v1":"2791e72cae939b5f80002b1b11524ba8cf26244f10057a812f23ec16de7e8780"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): CoreW/Sdk/AMapSdk/Libs/Response.php:34-44 | CoreW/Sdk/Iot/HttpResponse.php:32-42 \u2014 before extracting anything, compare \u0060CoreW/Sdk/AMapSdk/Libs/Response.php\u0060 and \u0060CoreW/Sdk/Iot/HttpResponse.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 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":"CoreW/Sdk/AMapSdk/Libs/Response.php"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"f358adda9a74e777dacb7b30a686ea76f3360b5186c7f1612899793481fa28ab"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): CoreW/Traits/ImagineTrait.php:12-20 | support/utils/ImageToolkit.php:133-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. 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":"CoreW/Traits/ImagineTrait.php"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3d6972fca0f89230710f918903cb038335b1519c221cf6731d7800eec285b24"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): Gb28181Gateway/src/SwooleServer/Channel.php:52-56 | swoole-gbs/gbs-beta.php:144-148 \u2014 before extracting anything, compare \u0060Gb28181Gateway/src/SwooleServer/Channel.php\u0060 and \u0060swoole-gbs/gbs-beta.php\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 87 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"Gb28181Gateway/src/SwooleServer/Channel.php"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bd57067954025b45068fee14277f58de5cd0f78d304151d465c8b4a3cea1b81"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): Gb28181Gateway/src/SwooleServer/GBS.php:133-137 | swoole-gbs/gbs-beta.php:478-482 \u2014 before extracting anything, compare \u0060Gb28181Gateway/src/SwooleServer/GBS.php\u0060 and \u0060swoole-gbs/gbs-beta.php\u0060 as WHOLE FILES: this scan already matched 65 separate duplicated blocks between them, totalling at least 2194 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"Gb28181Gateway/src/SwooleServer/GBS.php"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"be9a8335943129a4a3228097892e62f846d15e7fb87dbb0c0866833570989952"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): Gb28181Gateway/src/SwooleServer/GBS.php:180-184 | swoole-gbs/gbs-beta.php:525-529 \u2014 before extracting anything, compare \u0060Gb28181Gateway/src/SwooleServer/GBS.php\u0060 and \u0060swoole-gbs/gbs-beta.php\u0060 as WHOLE FILES: this scan already matched 65 separate duplicated blocks between them, totalling at least 2194 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"Gb28181Gateway/src/SwooleServer/GBS.php"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"185bc0ee0f3e3413342f92a7c04712cb2a785ab524a3694169ed4318daaf0d82"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): Gb28181Gateway/src/SwooleServer/GBS.php:331-335 | swoole-gbs/gbs-beta.php:676-680 \u2014 before extracting anything, compare \u0060Gb28181Gateway/src/SwooleServer/GBS.php\u0060 and \u0060swoole-gbs/gbs-beta.php\u0060 as WHOLE FILES: this scan already matched 65 separate duplicated blocks between them, totalling at least 2194 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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 \u0060Gb28181Gateway/src/SwooleServer/GBS.php:331\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":"Gb28181Gateway/src/SwooleServer/GBS.php"},"region":{"startLine":331}}}],"partialFingerprints":{"codehealthFindingId/v1":"546334dff25ec65fcc96c3ee739b6ef3603e447dd9e0f271bf6124a3d505baf6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): Gb28181Gateway/src/SwooleServer/GBS.php:522-526 | swoole-gbs/gbs-beta.php:867-871 \u2014 before extracting anything, compare \u0060Gb28181Gateway/src/SwooleServer/GBS.php\u0060 and \u0060swoole-gbs/gbs-beta.php\u0060 as WHOLE FILES: this scan already matched 65 separate duplicated blocks between them, totalling at least 2194 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"Gb28181Gateway/src/SwooleServer/GBS.php"},"region":{"startLine":522}}}],"partialFingerprints":{"codehealthFindingId/v1":"f43b50ab1b5fa17fa69bf22d9be89a7c3b582acd309f9f39d0a3c7a95fcf17cb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): Gb28181Gateway/src/SwooleServer/GBS.php:539-545 | swoole-gbs/gbs-beta.php:884-890 \u2014 before extracting anything, compare \u0060Gb28181Gateway/src/SwooleServer/GBS.php\u0060 and \u0060swoole-gbs/gbs-beta.php\u0060 as WHOLE FILES: this scan already matched 65 separate duplicated blocks between them, totalling at least 2194 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"Gb28181Gateway/src/SwooleServer/GBS.php"},"region":{"startLine":539}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ca5f698538edebd38402050a5618578dbf9e659278dca82c4c512e97f11f303"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): Gb28181Gateway/src/SwooleServer/GBS.php:1503-1511 | swoole-gbs/gbs-beta.php:1848-1856 \u2014 before extracting anything, compare \u0060Gb28181Gateway/src/SwooleServer/GBS.php\u0060 and \u0060swoole-gbs/gbs-beta.php\u0060 as WHOLE FILES: this scan already matched 65 separate duplicated blocks between them, totalling at least 2194 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"Gb28181Gateway/src/SwooleServer/GBS.php"},"region":{"startLine":1503}}}],"partialFingerprints":{"codehealthFindingId/v1":"6919a6135929c564db460ae317171d5632d1955c0411fb8d7e642681f13ec132"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): Gb28181Gateway/src/SwooleServer/GBS.php:1945-1953 | swoole-gbs/gbs-beta.php:2290-2298 \u2014 before extracting anything, compare \u0060Gb28181Gateway/src/SwooleServer/GBS.php\u0060 and \u0060swoole-gbs/gbs-beta.php\u0060 as WHOLE FILES: this scan already matched 65 separate duplicated blocks between them, totalling at least 2194 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"Gb28181Gateway/src/SwooleServer/GBS.php"},"region":{"startLine":1945}}}],"partialFingerprints":{"codehealthFindingId/v1":"5258fb9f72149eea9fe68cbe9b8f0098fc8044a13cacf90bedbff5acdf9794f9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): Gb28181Gateway/src/SwooleServer/GBS.php:2195-2202 | swoole-gbs/gbs-beta.php:2540-2547 \u2014 before extracting anything, compare \u0060Gb28181Gateway/src/SwooleServer/GBS.php\u0060 and \u0060swoole-gbs/gbs-beta.php\u0060 as WHOLE FILES: this scan already matched 65 separate duplicated blocks between them, totalling at least 2194 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"Gb28181Gateway/src/SwooleServer/GBS.php"},"region":{"startLine":2195}}}],"partialFingerprints":{"codehealthFindingId/v1":"04f384183da1de9dc4b2891841eec3d9453bf1989e7feddcb040b5b11d05bdb6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): Gb28181Gateway/src/SwooleServer/Helper.php:17-21 | swoole-gbs/gbs-beta.php:30-34 \u2014 before extracting anything, compare \u0060Gb28181Gateway/src/SwooleServer/Helper.php\u0060 and \u0060swoole-gbs/gbs-beta.php\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 38 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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 \u0060Gb28181Gateway/src/SwooleServer/Helper.php:17\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":"Gb28181Gateway/src/SwooleServer/Helper.php"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"8678aa4907a2ece65b20d520004e73173c3d1140f1842ebbe9c545f3508c7277"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): Gb28181Gateway/src/SwooleServer/Helper.php:46-51 | swoole-gbs/gbs-beta.php:50-55 \u2014 before extracting anything, compare \u0060Gb28181Gateway/src/SwooleServer/Helper.php\u0060 and \u0060swoole-gbs/gbs-beta.php\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 38 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"Gb28181Gateway/src/SwooleServer/Helper.php"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"106f244f64084869413fec5ba652950093b23a53361b8ed87c2bedc3f9f4c4d9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): Gb28181Gateway/src/SwooleServer/RTPPortManager.php:49-54 | swoole-gbs/gbs-beta.php:326-331 \u2014 before extracting anything, compare \u0060Gb28181Gateway/src/SwooleServer/RTPPortManager.php\u0060 and \u0060swoole-gbs/gbs-beta.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":"Gb28181Gateway/src/SwooleServer/RTPPortManager.php"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb569857f18eeecca610e15dbf10da6662f899c296d1524fc13b600700070fb6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): app/admin/controller/RoleController.php:184-194 | app/admin/controller/UserController.php:282-291 \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/admin/controller/RoleController.php"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ded53c0bf4b2fa2334219e2138f80203c8c59705c4dcaec2788a89bc31d2ebd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): CoreW/Business/Devices/Handler/BroadcastStreamArrivalHandler.php:200-214 | CoreW/Business/Devices/Handler/TalkStreamArrivalHandler.php:254-268 \u2014 before extracting anything, compare \u0060CoreW/Business/Devices/Handler/BroadcastStreamArrivalHandler.php\u0060 and \u0060CoreW/Business/Devices/Handler/TalkStreamArrivalHandler.php\u0060 as WHOLE FILES: this scan already matched 3 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. 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":"CoreW/Business/Devices/Handler/BroadcastStreamArrivalHandler.php"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"089b8800c9b57b344d814d4cc086fe05ee4b851ab258c18131e4f0905d186c3c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): CoreW/Business/User/Dao/Impl/UserDaoImpl.php:129-136 | CoreW/Business/User/Dao/Impl/UserDaoImpl.php:141-148 | CoreW/Dao/GeneralDaoImpl.php:277-284 \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":"CoreW/Business/User/Dao/Impl/UserDaoImpl.php"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"2dfbac7c864311f176aa59b8de7ef96d91c21cd7d1adb93e5cbc4b17afb5368b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 4): CoreW/Business/User/Service/Impl/UserServiceImpl.php:333-339 | CoreW/Business/User/Service/Impl/UserServiceImpl.php:344-350 | CoreW/Business/User/Service/Impl/UserServiceImpl.php:355-361 | CoreW/Business/VIP/Service/Impl/VIPServiceImpl.php:986-992 \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":"CoreW/Business/User/Service/Impl/UserServiceImpl.php"},"region":{"startLine":333}}}],"partialFingerprints":{"codehealthFindingId/v1":"3135bb9e85b50b22a45a8250d0361ea9317c06c47ae6ce64de41501c2b9976fc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): CoreW/Business/User/Service/Impl/UserServiceImpl.php:577-583 | CoreW/Business/VIP/Service/Impl/VIPServiceImpl.php:845-851 \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":"CoreW/Business/User/Service/Impl/UserServiceImpl.php"},"region":{"startLine":577}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fdb3a352a2768f8e4bea2e20db4c090bfb573f065fe89628a203c83d2d8a085"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): CoreW/Business/User/Service/Impl/UserServiceImpl.php:655-663 | CoreW/Business/VIP/Service/Impl/VIPServiceImpl.php:892-900 \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":"CoreW/Business/User/Service/Impl/UserServiceImpl.php"},"region":{"startLine":655}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f0da7fa4f896454c55eb208a5abc49d9257c18341c81843e66b60fe923fff02"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): CoreW/JsonLogger.php:13-17 | CoreW/Mail/Logger/JsonLogger.php:13-17 \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":"CoreW/JsonLogger.php"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbc62da5094c3ac704e8b69dd395e2cdf1aea6c9a426e6089d7fefd705f6785b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2): Gb28181Gateway/src/Message/CommandType/CatalogCommand.php:16-54 | Gb28181Gateway/src/Message/CommandType/RecordInfoCommand.php:16-40 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Gb28181Gateway/src/Message/CommandType/CatalogCommand.php"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"68790310f179a971338610080e39b2dcae705c1fbfb326192a15dae11bdc3788"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): app/admin/controller/AlarmPlanController.php:67-74 | app/admin/controller/GB28181RecordPlanController.php:71-78 \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/admin/controller/AlarmPlanController.php"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb5b36345b13ca5f10d263942b315bac01502f4ba525c12100f562602fed2afd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): app/admin/controller/AlarmPlanController.php:82-89 | app/admin/controller/GB28181RecordPlanController.php:87-94 \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/admin/controller/AlarmPlanController.php"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"5449f648d2925f89942bb82aa3fc4a1113483d752780208635f2b915f3c4a96b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): app/admin/controller/AlarmPlanController.php:153-158 | app/admin/controller/GB28181RecordPlanController.php:207-212 \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/admin/controller/AlarmPlanController.php"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a4723e9669daccec94821f6de973ad662ef9157a59da78bed7dfb54ea4d37e1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): app/admin/controller/AttachmentController.php:102-106 | app/admin/controller/AttachmentGroupController.php:74-78 | app/admin/controller/ProductCatalogController.php:75-79 \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/admin/controller/AttachmentController.php"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"b129a280344a7544a61d5bb03791e127595bdda1af04fe00cfa7e10e14f9008b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): app/admin/controller/GB28181RecordMergeController.php:59-64 | app/admin/controller/SipGatewayController.php:44-49 | app/admin/controller/StreamProxyController.php:106-112 \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/admin/controller/GB28181RecordMergeController.php"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8010fba8b9833f2e507664c7547cd9d1bc0e2c5b3fa6fb5b4d3d7fb73dd0d59"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 4): app/admin/controller/GB28181SystemMonitoringController.php:98-104 | app/admin/controller/SystemMonitoringController.php:128-135 | app/admin/controller/SystemMonitoringController.php:146-153 | app/admin/controller/SystemMonitoringController.php:183-190 \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":"app/admin/controller/GB28181SystemMonitoringController.php"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8350a67c1a22bb37054e195ed5d1d5719c12e79dbd66061ae300c021cd5a655"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): app/admin/controller/MenuController.php:80-85 | app/admin/controller/RoleController.php:104-109 \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/admin/controller/MenuController.php:80\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/admin/controller/MenuController.php"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"d595722152e009e6802f69a944dc8f915dd2cc0dc4c2445d4a80790bc62c0150"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): CoreW/Business/User/Service/Impl/TokenServiceImpl.php:33-39 | CoreW/Business/VIP/Service/Impl/TokenServiceImpl.php:37-43 \u2014 before extracting anything, compare \u0060CoreW/Business/User/Service/Impl/TokenServiceImpl.php\u0060 and \u0060CoreW/Business/VIP/Service/Impl/TokenServiceImpl.php\u0060 as WHOLE FILES: this scan already matched 5 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"CoreW/Business/User/Service/Impl/TokenServiceImpl.php"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"909c1cdc97df7acd6256816d932061e894fcf222f21dd696459e6db51b7b8b2d"}},{"ruleId":"D5","level":"error","message":{"text":"Circular dependency: (root) \u2192 CoreW \u2192 app \u2192 (root) (one cycle inside a mutually-dependent group of 5 modules)"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"biz.php"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"0965aa3913fee7502ffeb7d43ffe4f7aa53c1a763b688f1592d2e7de72851192"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: process: process: abstractness 0.00, instability 0.00, distance 1.00 \u2014 zone of pain \u2014 concrete and depended on by 1 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"dc34be9bb5f8c83f68dccbf3b4c0e018e3af7973c4d1942ec50b287415b44bff"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: support: support: abstractness 0.00, instability 0.25, distance 0.75 \u2014 zone of pain \u2014 concrete and depended on by 3 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"4e63bccee7df11208592009b72627c4b85f47dfe52665cd0f8d1f60ac40916f7"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: Filter (LCOM4 6): Filter\u0027s methods fall into 6 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 6 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":"CoreW/Business/DataFilters/Filter.php"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba7ab5a5ba1a0f6d3e146671d2d3fe81b8ecb90eebdd669d51e4445fc2e80080"}},{"ruleId":"D12","level":"warning","message":{"text":"Abandoned package: doctrine/annotations: \u0060doctrine/annotations\u0060 is marked ABANDONED on Packagist, and this repository requires it at \u0060^2.0\u0060 (locked at 2.0.1). An abandoned package receives no further releases \u2014 including security releases. Its maintainer named no replacement, so the migration target is yours to choose. This is a migration, not an upgrade: a newer release of an abandoned package is not a fix."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"100f2d95eb4cdb692f1ee28e94ee42eeca2c81422ae85ed146ec55acec822990"}},{"ruleId":"D12","level":"warning","message":{"text":"Abandoned package: doctrine/common: \u0060doctrine/common\u0060 is marked ABANDONED on Packagist, and this repository requires it at \u0060^3.4\u0060 (locked at 3.4.3). An abandoned package receives no further releases \u2014 including security releases. Its maintainer named no replacement, so the migration target is yours to choose. This is a migration, not an upgrade: a newer release of an abandoned package is not a fix."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"e84abafa5426c4a4ac96c34d0213c05f52fa872bf69c30b11896138eb2c675ae"}},{"ruleId":"D12","level":"warning","message":{"text":"Abandoned package: swiftmailer/swiftmailer: \u0060swiftmailer/swiftmailer\u0060 is marked ABANDONED on Packagist, and this repository requires it at \u0060^6.3\u0060 (locked at v6.3.0). An abandoned package receives no further releases \u2014 including security releases. Its maintainer names \u0060symfony/mailer\u0060 as the replacement. This is a migration, not an upgrade: a newer release of an abandoned package is not a fix."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"58d6220f1ccd7ed07f09a02c253d2214bc1243c9eb57a41603f49528474934e2"}},{"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":"767dd3cca0dc8ae388029cfc5ac9bb6365c4905ff424bafb1db9510b6b1b8717"},"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":"a487ba73a50688db5eaa1cead90dffa44a1775eda724de60ef502698c9627fdc"},"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":"ab720e53dd9a37619f64dfd7fcf69c4be0a6fc917c41b8312032015f7f986fd2"},"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":"3332760b28f727c3213574aa3d34f36f15ad5568088c7d2e81338db3eb22ee9b"},"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":"ebce37d3e65e5d7ab7c0b1376f4205547552954a160bb953ecc919a8fb074035"},"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":"efc254d247b983582ac17f280d3ad8f5935ab5de2afbc2f07ee0a47a3e3bbff9"},"taxa":[{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Gb28181Gateway/src/Handlers/GB28181Handler.php: Gb28181Gateway/src/Handlers/GB28181Handler.php changed 34 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 30 in GB28181Handler.tick at line 468. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-04-21..2026-07-20, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-04-21 17:12:34 \u002B08:00\u0027 --until=\u00272026-07-20 17:12:34 \u002B08:00\u0027 --full-history --no-merges -- Gb28181Gateway/src/Handlers/GB28181Handler.php\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Gb28181Gateway/src/Handlers/GB28181Handler.php"},"region":{"startLine":468}}}],"partialFingerprints":{"codehealthFindingId/v1":"309354c50615d1bf12deaaafb4a50c0e6ce9bbf0a1181603f85c5174e0767d29"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/admin/controller/GB28181RecordingController.php: app/admin/controller/GB28181RecordingController.php changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 28 in GB28181RecordingController.startRecord at line 95. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-04-21..2026-07-20, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-04-21 17:12:34 \u002B08:00\u0027 --until=\u00272026-07-20 17:12:34 \u002B08:00\u0027 --full-history --no-merges -- app/admin/controller/GB28181RecordingController.php\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/admin/controller/GB28181RecordingController.php"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"146011fe753e361ce49d489bda93e9f2c6d95afbb18fab2fea7ade78705f9aab"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/command/Gb28181Server.php: app/command/Gb28181Server.php changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 32 in Gb28181Server.statusServer at line 166. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-04-21..2026-07-20, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-04-21 17:12:34 \u002B08:00\u0027 --until=\u00272026-07-20 17:12:34 \u002B08:00\u0027 --full-history --no-merges -- app/command/Gb28181Server.php\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/command/Gb28181Server.php"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"313ba1cf4de5a06b07e357e1230dc543bf69d9a8f45732c4173d629ef1c9d528"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: CoreW/Business/Devices/Service/Impl/DeviceServiceImpl.php: CoreW/Business/Devices/Service/Impl/DeviceServiceImpl.php changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in DeviceServiceImpl.batchUpdateOrCreateChannels at line 358. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-04-21..2026-07-20, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-04-21 17:12:34 \u002B08:00\u0027 --until=\u00272026-07-20 17:12:34 \u002B08:00\u0027 --full-history --no-merges -- CoreW/Business/Devices/Service/Impl/DeviceServiceImpl.php\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"CoreW/Business/Devices/Service/Impl/DeviceServiceImpl.php"},"region":{"startLine":358}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c5e8ead2e6a9bba489036690ab61b6b00718a93500ec2d935aee28115f4c346"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/admin/controller/GB28181DeviceController.php: app/admin/controller/GB28181DeviceController.php changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in GB28181DeviceController.update at line 153. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-04-21..2026-07-20, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-04-21 17:12:34 \u002B08:00\u0027 --until=\u00272026-07-20 17:12:34 \u002B08:00\u0027 --full-history --no-merges -- app/admin/controller/GB28181DeviceController.php\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/admin/controller/GB28181DeviceController.php"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b12a98b5f1b05d81edee240b681f5209362d2bd620f888dd9569cc228a554ab"}},{"ruleId":"D16","level":"warning","message":{"text":"bus factor 1 \u2014 one contributor carries this repository: 2 contributor(s) have commits in this repository (automation and bot accounts excluded), but the commits of a single one of them cover most of its history \u2014 88% of the 306 commit(s) sampled \u2014 so the number of people who actually carry it is 1. This is not the ambient state of a solo project: there ARE other contributors, and if the one who carries the repository becomes unavailable, the knowledge behind most of its history goes with them. Spread the next changes deliberately \u2014 have a second contributor review or pair on them \u2014 and write down the parts only one person can currently change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"a99f114ab4dfee37ae0bf0665b44c7468d85b809d361949e2b6258101fa1e5a2"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: \u8C03\u7528\u771F\u5B9E ZLMediaKit /index/api/openRtpServer \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":"swoole-gbs/gbs-beta.php"},"region":{"startLine":3091}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0e5b569a9c0af626f9752d5160b6f0977cb77fb64c4a2cba3d1732d2f0d86d2"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: \u8C03\u7528\u771F\u5B9E ZLMediaKit /index/api/closeRtpServer \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":"swoole-gbs/gbs-beta.php"},"region":{"startLine":3097}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cabb265c8854eb7e2213523412b2acaf1b5aa1023a8b836cb51a673ce40d7ab"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: \u540E\u671F\u653E\u5165\u914D\u7F6E\u8868 \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":"config/auth.php"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"36956e3f40611f8f6da223868a15c86ad9de7a2f8c71b4ba0f1ffa4129a632eb"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO\uFF1A\u5220\u9664\u8D44\u6E90\u8868 \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/queue/redis/fast/DeleteSceneJob.php"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc9c8401551be431f389746ac22a778e123f8d0c530aa1b319c2bb503a30cd5c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: \u589E\u52A0\u8F6C\u7801\u72B6\u6001 \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/queue/redis/fast/FileAfterUploadProcess.php"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"82b042c3b78286bd27f7c153edf79e9ff585ea99ac842912ba2cb47883211654"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO\uFF1A \u6D88\u8017cpu\uFF0C\u800C\u4E14\u4F1A\u5F71\u54CD\u540E\u9762\u7684\u4FEE\u6539\u6570\u636E\u5E93\uFF0C\u5E94\u5F53\u4F7F\u7528\u547D\u4EE4\u884C\u5904\u7406\uFF0C\u4F20\u9012\u6587\u4EF6id; \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/queue/redis/fast/FileAfterUploadProcess.php"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"450e29f096f0a9bc9887787eeb5a168a7aa7e8362d05c7a30f567e39c72dc9a6"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: \u9A8C\u8BC1token \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/middleware/ProductAnonymousVisitMiddleware.php"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ae1901d24b013eec806f8944d2865f2f00ada188648d5fc4e4b62abed8151fb"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: \u5B58\u50A8\u62A5\u8B66\u8BB0\u5F55\u5230\u6570\u636E\u5E93 \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/api/v2/controller/GBServerHookController.php"},"region":{"startLine":751}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a02094e581a18125517f5f05e557d36cb50e9cceefc5ee7f70987e6f8d14630"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: \u63A8\u9001\u62A5\u8B66\u901A\u77E5 \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/api/v2/controller/GBServerHookController.php"},"region":{"startLine":752}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d6873f28581d15929a028be0813374d90818a3e2b18c784afd8f98f0f2a908b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: \u6839\u636E\u4E1A\u52A1\u9700\u6C42\u66F4\u65B0\u6570\u636E\u5E93 \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/api/v2/controller/GBServerHookController.php"},"region":{"startLine":788}}}],"partialFingerprints":{"codehealthFindingId/v1":"13c64ce91a6f81ae03cdfa02b8d8a89f045c2cb6b666b45b6440d2d69dd3c5bc"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: \u8BB0\u5F55\u8BBE\u5907\u5165\u7AD9\u8BA2\u9605\u5230\u6570\u636E\u5E93\uFF08\u8BBE\u5907\u8BA2\u9605\u5E73\u53F0\uFF0C\u4E0E\u5E73\u53F0\u8BA2\u9605\u8BBE\u5907\u65B9\u5411\u76F8\u53CD\uFF09 \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/api/v2/controller/GBServerHookController.php"},"region":{"startLine":1249}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbc76ec3ca04a3cd1f54048eb1e46878b8780639bd3700ea643274add3f813fb"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: \u66F4\u65B0\u8BA2\u9605\u72B6\u6001 \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/api/v2/controller/GBServerHookController.php"},"region":{"startLine":1265}}}],"partialFingerprints":{"codehealthFindingId/v1":"20360fcb0e60d1efd05a5f863157cde470f02ff2b7978037fa3c1bef538b6669"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: \u7EDF\u8BA1\u6D41\u91CF\u6570\u636E\uFF0C\u53EF\u7528\u4E8E\u8BA1\u8D39\u6216\u6D41\u91CF\u5206\u6790 \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/api/v2/controller/ZLMHookController.php"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"68421e4baca8909cf631f31acfc8fcfb909d086cf969bebc0501ef7eadb0ef4b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: HTTP \u6587\u4EF6\u8BBF\u95EE\u9274\u6743 \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/api/v2/controller/ZLMHookController.php"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"01149896ba11884d2a2bc929869c3bb1576f755c60e9af3c39bfa873936a0713"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: \u64AD\u653E\u9274\u6743\u548C\u7EDF\u8BA1 \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/api/v2/controller/ZLMHookController.php"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"e288837962796bb5a57c6d433fee448e4e040dc8377bf497e1faee547f1c094c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO:\u5BF9\u4E8E\u4E91\u5F55\u5236\u7684\u6D41\u9700\u5F00\u542F\u6B64\u529F\u80FD \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/api/v2/controller/ZLMHookController.php"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"abe8fa6f00edae6892c1c970ccae4f384da868fc5c5388fa46711221d97a3309"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: enable_audio \u6839\u636E\u901A\u9053 has_audio \u5B57\u6BB5\u5224\u65AD\uFF08\u76EE\u524D\u901A\u9053\u8868\u65E0\u6B64\u5B57\u6BB5\uFF09 \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/api/v2/controller/ZLMHookController.php"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cf784f769baede9c28b94e720a7955caf88f73621cb7b0eea56114b8bc5308e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: HLS/TS \u5F55\u50CF\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":"app/api/v2/controller/ZLMHookController.php"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb5f08845187bbe7692aec70c48e6cfdcdf1d44206728bf4956f89ca13130f35"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: RTSP \u8BA4\u8BC1 \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/api/v2/controller/ZLMHookController.php"},"region":{"startLine":303}}}],"partialFingerprints":{"codehealthFindingId/v1":"350a1b4868f0f20ecad860f958bcad5b88ae83958cc448e9d0a25ba3b5e76b39"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: \u8FD4\u56DE RTSP realm \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/api/v2/controller/ZLMHookController.php"},"region":{"startLine":322}}}],"partialFingerprints":{"codehealthFindingId/v1":"f560795c5eea2f268fac78c81d5e8ff7f8e12258f54f986e76a2ed59f2f65b7f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: \u670D\u52A1\u5668\u542F\u52A8\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":"app/api/v2/controller/ZLMHookController.php"},"region":{"startLine":342}}}],"partialFingerprints":{"codehealthFindingId/v1":"252630054c64f5ea26913775f14d7ec9e83c454f11374d6a10568970df04ccd7"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Shell \u767B\u5F55\u9274\u6743 \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/api/v2/controller/ZLMHookController.php"},"region":{"startLine":360}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc48f0c14fb8d43c2e745ee66f3e51c50a51793df600558e0b204bac6cd839ab"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //            // TODO: \u66F4\u65B0\u6D41\u72B6\u6001\u3001\u901A\u77E5\u524D\u7AEF \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/api/v2/controller/ZLMHookController.php"},"region":{"startLine":389}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbf9e03a66d5c7402f49fbd51f2607d9b3b12e41a64587fa4081cab5a46a8c39"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //            // TODO: \u6E05\u7406\u4F1A\u8BDD\u3001\u66F4\u65B0\u6D41\u72B6\u6001 \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/api/v2/controller/ZLMHookController.php"},"region":{"startLine":392}}}],"partialFingerprints":{"codehealthFindingId/v1":"6941291d03628337e444e894639bd1bb395fa9c69f43d20364342f50f990f1ca"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: \u6D41\u672A\u627E\u5230\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":"app/api/v2/controller/ZLMHookController.php"},"region":{"startLine":476}}}],"partialFingerprints":{"codehealthFindingId/v1":"f03fe8126687dd2ef868fd0a01da0b4a0cdf8516e961560d86e4cb80c88875b7"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: FFmpeg \u62C9\u6D41\u5931\u8D25\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":"app/api/v2/controller/ZLMHookController.php"},"region":{"startLine":494}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cf4c78c38fe2e81ea6c28c490df51a1fa626e6b34c4343f6c6ab1bcb41eee2f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: RTP \u8D85\u65F6\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":"app/api/v2/controller/ZLMHookController.php"},"region":{"startLine":512}}}],"partialFingerprints":{"codehealthFindingId/v1":"950921d8931f4405d958f820c503fbcc1afbe08070656d7fcd18b8676d2a47dd"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: \u6682\u65F6\u56FA\u5B9A\u767B\u5F55\uFF0C\u4FDD\u8BC1h5\u548Cpc\u540C\u6B65\u767B\u5F55 \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/api/v1/controller/AuthController.php"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"980a41b28d6a104d07d9becaec359510a7e24a2f73cc5c726a84fd8c181d4406"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: \u627E\u5230media-server ID\uFF0C\u7136\u540E\u533A\u5206\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":"app/admin/controller/GB28181ChannelController.php"},"region":{"startLine":354}}}],"partialFingerprints":{"codehealthFindingId/v1":"2dbf0f48c9f5f7b246fe8da9114762dcd4311d2daa2f7ec26b4b90c8e257ecf7"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO\uFF1Astatus \u6839\u636Eenum\u8BBE\u7F6E\u987A\u5E8F\u6392\u5E8F \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/admin/controller/GB28181DeviceController.php"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"57dafc99fdc391774ee0f90dd497464ae3a5097472a29c7d031580bf78adcd94"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO:\u540E\u671F\u5EFA\u8BAE\u5BF9\u63A5supervisord \u8FD9\u91CC\u91CD\u542F\u5BF9\u5E94\u7684\u670D\u52A1 \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/admin/controller/SettingController.php"},"region":{"startLine":362}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1ca25bac42cfc379967291754bffe04dab01710fb6485f6c528f411522fa405"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: \u9700\u8981\u5B9E\u73B0 \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/admin/config/routes/index.php"},"region":{"startLine":369}}}],"partialFingerprints":{"codehealthFindingId/v1":"63486c93e10e963aa8a7aaad60f55eee082d72bdfa562e32b41162bc12bcbc67"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: \u5B9E\u9645\u7684\u63A8\u6D41\u903B\u8F91 \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":"Gb28181Gateway/src/Media/MediaSession.php"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"75d0ebe77d7699e4bf9564dfefb1cd7be26ea20d6754f8d87f49344872572958"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: \u505C\u6B62\u63A8\u6D41 \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":"Gb28181Gateway/src/Media/MediaSession.php"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e2987ec738cf7de9139ece1b12abf8dec009026e2fca54dc41ff317092eed7d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: \u6682\u505C/\u7EE7\u7EED\u63A8\u6D41 \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":"Gb28181Gateway/src/Media/MediaSession.php"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"91b99150940fcb8a517f76dd2e4aa45bc0a1bf9ac409499a77ec801274879c2a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: \u601D\u8003\uFF1A\u5982\u679Capi\u5220\u9664\u4E86\u8BBE\u5907\u662F\u5426\u9700\u8981\u66F4\u65B0\u5F53\u524D\u5185\u5B58\u91CC\u9762\u7684deviceManager \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":"Gb28181Gateway/src/Handlers/GB28181Handler.php"},"region":{"startLine":273}}}],"partialFingerprints":{"codehealthFindingId/v1":"03b55136922c3df6134a13efc66319f71d000dea6b46c26cf99d6bddd0f13f4f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO:\u6E05\u7406\u8BBE\u5907 \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":"Gb28181Gateway/src/Handlers/GB28181Handler.php"},"region":{"startLine":506}}}],"partialFingerprints":{"codehealthFindingId/v1":"14c58f28ccaaacfae111bbf52d09ebd0f8fbee25dc4287de28fa7581bb290986"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: \u5B9E\u73B0\u6570\u5B57\u8BC1\u4E66\u8BA4\u8BC1\u7684 WWW-Authenticate \u5934 \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":"Gb28181Gateway/src/Handlers/GB28181Handler.php"},"region":{"startLine":1121}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0d9cd26c3e0d05ed01cf8277ee5dbb9efb77474621beb80dab504007a0d1d7f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: \u9A8C\u8BC1 Authorization \u5934\u7684\u5408\u6CD5\u6027 \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":"Gb28181Gateway/src/Handlers/GB28181Handler.php"},"region":{"startLine":1136}}}],"partialFingerprints":{"codehealthFindingId/v1":"1415d618bbe69efa0acb24bd080f18446bc80f51a413e34c260f334740662c84"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: new static and new self \u533A\u522B\u5728\u4E8E\u5B58\u5728\u7EE7\u627F\u65F6\uFF0Cnew static\u51B3\u5B9A\u5728\u4E8E\u5F53\u524D\u8C03\u7528\uFF0C\u800Cnew self \u5728\u4E8E\u7C7B\u672C\u8EAB \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":"CoreW/Traits/Singleton.php"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"a60b9211257d9d1e1ab4235cb35efad8c4f7c4945b7c4619f96de6854c20118f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: \u8BFB\u53D6 zlm config \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":"CoreW/Sdk/ZLMediaKit/ZLMClient.php"},"region":{"startLine":307}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e9032a8e01e0760373e7e0e06169ae86fe3258a15235a4cf83fc078c9f319bf"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Implement getDeviceTypeFormat() method. \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":"CoreW/Sdk/Iot/Driver/Common.php"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf56d3bbf70c275e598ae018ff66a5fe3de6cdadd434a6318b959920604edf7e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Implement register() method. \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":"CoreW/Provider/EventSubscriberProvider.php"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b42e0254b0f8b213e07fea5d6d492977b7e3694b4cd3f9e4e0e939b1c78034a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: \u53EF\u4EE5\u589E\u52A0\u81EA\u5BB6\u642D\u5EFA\u7684\u90AE\u7BB1\u670D\u52A1\u7AEF\u5E76\u8FDB\u884C\u63A5\u53E3\u9650\u6D41\uFF0C\u9ED8\u8BA4\u662F\u8C03\u7528\u5927\u5382\u7684\u90AE\u7BB1\u670D\u52A1\u7AEF \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":"CoreW/Mail/MailServiceProvider.php"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d177e566399596aec6a96dd4ed5e46ccb73ddaa74968fa2b9cfccb139e325f0"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: \u5237\u65B0token \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":"CoreW/Exception/ExceptionHandler.php"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffe43cb07f612c6ef11cba75221fa96c0ccb36ac460af780e0698353276241bd"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: \u6DFB\u52A0\u4F01\u4E1A\u8BA4\u8BC1\u6210\u529F\u4E8B\u4EF6,\u63A8\u9001\u5BA1\u6838\u7ED3\u679C \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":"CoreW/Business/VIP/Service/Impl/VIPServiceImpl.php"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"123c25d25143a8d456d00fe3a8815b63151e6cdc1c1e706ae8c8a700080e3546"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: \u589E\u5F3A\u9A8C\u8BC1 \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":"CoreW/Business/VIP/Service/Impl/VIPServiceImpl.php"},"region":{"startLine":282}}}],"partialFingerprints":{"codehealthFindingId/v1":"d29f5855993ed2b7a334e289fcee3c55a263bbf1ae5e846285705d2a512dd255"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: \u767B\u5F55\u4FDD\u62A4\uFF1A\u8F93\u95195\u6B21\u9501\u5B9A\u7528\u6237 \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":"CoreW/Business/VIP/Service/Impl/VIPServiceImpl.php"},"region":{"startLine":675}}}],"partialFingerprints":{"codehealthFindingId/v1":"a148befc603026649ef88b853869ecbf139296236fde2f4c34c29216a39d3020"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO\uFF1A\u9488\u5BF9\u7ED1\u5B9A\u7684\u5206\u7C7B\uFF0C\u5C31\u4E0D\u5220\u9664\u6216\u8005\u53EF\u4EE5\u5220\u9664\u4E14\u4F5C\u54C1\u4FA7\u5C55\u793A\u4E3A\u672A\u5206\u7C7B \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":"CoreW/Business/Product/Service/Impl/ProductCatalogServiceImpl.php"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"b74024400eefdc53a2ad775c44caf5d8b1009dad1d57aa61c8cbbf14ba1d3814"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: \u6821\u9A8C\u662F\u5426\u4E0E\u4F5C\u54C1\u7ED1\u5B9A\uFF08\u4E0Eproduct_tag_item\u5224\u65AD\uFF09 \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":"CoreW/Business/Product/Service/Impl/ProductTagServiceImpl.php"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"106755f022b679b5abc9bb94be7f994ad4010cc4529a148ae28526c263963e3e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: \u6821\u9A8C\u662F\u5426\u4E0E\u4F5C\u54C1\u7ED1\u5B9A\uFF08\u4E0Eproduct_tag_item\u53D6\u4EA4\u96C6\uFF09 \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":"CoreW/Business/Product/Service/Impl/ProductTagServiceImpl.php"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"d65573e100110fb64ef1c4846ddcc0251b7f4a768875f5152f1d6d011b9566ff"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Implement sendMessage() method. \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":"CoreW/Business/NotificationCenter/DingDingSender.php"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8e63db3b58257143403b3c1bf4c0f10d5688b93c4d5e2b049215bea255c5c68"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: \u68C0\u67E5\u662F\u5426\u6709\u5173\u8054\u7684\u901A\u9053\uFF0C\u5982\u679C\u6709\u5173\u8054\u7684\u901A\u9053\uFF0C\u4E0D\u5141\u8BB8\u5220\u9664 \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":"CoreW/Business/MediaServer/Service/Impl/MediaServerServiceImpl.php"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f9ef5d25601b8a384d01599be88d29a8a71e693234c37d02da1ef8f17c9b697"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Implement getByServerId() method. \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":"CoreW/Business/MediaServer/Dao/Impl/MediaServerDaoImpl.php"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d96ade97d306ebd3d6ef8ff2799805c670a0d7918990fe9da4ae71bb19c06b5"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Implement activeAndOpenLiveWithCameras() method. \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":"CoreW/Business/LiveProvider/Strategy/Impl/ISecureCenterStrategy.php"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ee07182e8346de1c266f23ea682558c4bd2b3f4ddc94d51aa2db33bb558a5f1"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Implement activeAndOpenLiveWithCameras() method. \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":"CoreW/Business/LiveProvider/Strategy/Impl/Ys7Strategy.php"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f2d23425a9d29e6457b83276205dcd89e3a6fc5d21be982cc512b174e18a56e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Implement closeLiveWithCameras() method. \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":"CoreW/Business/LiveProvider/Strategy/Impl/ISecureCenterStrategy.php"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cc2c28e69ceb6055e460d58ad92086488069b6fb8bd05f32a326f07d41aeb1e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Implement closeLiveWithCameras() method. \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":"CoreW/Business/LiveProvider/Strategy/Impl/LeChangeStrategy.php"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"adedf9f2f82c879ee61fe556684610ada2410d365b1055b5571d17bfa3d87601"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Implement closeLiveWithCameras() method. \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":"CoreW/Business/LiveProvider/Strategy/Impl/YS7LeChangeStrategy.php"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"f34e87b0d620395c9f0e9aff93b5acb16e01762440433bbaa4bd8374af712677"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Implement closeLiveWithCameras() method. \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":"CoreW/Business/LiveProvider/Strategy/Impl/Ys7Strategy.php"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"8065df4ad0a607bd70d715aa553e88ca26fc189446481f01afc810232103d286"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Implement getDevices() method. \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":"CoreW/Business/LiveProvider/Strategy/Impl/ISecureCenterStrategy.php"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"63865916dcf180abb6d7661244fdbc09de4ed8ef66392a0529b94d8291639ef4"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Implement getDevices() method. \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":"CoreW/Business/LiveProvider/Strategy/Impl/LeChangeStrategy.php"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"033a2f6b4cb48471424d8303d5eef4268cfc0279b5279242ebb8de856d7451db"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Implement getDevices() method. \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":"CoreW/Business/LiveProvider/Strategy/Impl/YS7LeChangeStrategy.php"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"f91bd16483bbdfaf7c0a8f5c9d9fcde8eb75ff3d6caccd2dbbc4b631a363ee94"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Implement getCameras() method. \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":"CoreW/Business/LiveProvider/Strategy/Impl/ISecureCenterStrategy.php"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a40818d2f4b9deedf80983cccbaaa6e12a77246c2704cab8f4f070914dcd352"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Implement getLiveUrl() method. \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":"CoreW/Business/LiveProvider/Strategy/Impl/ISecureCenterStrategy.php"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"205f0f1e5ef6efc4c75ffc2f3aa26bf0e2a9b8e93a77e494f0291a37fef070f1"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Implement getDeviceInfo() method. \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":"CoreW/Business/LiveProvider/Strategy/Impl/ISecureCenterStrategy.php"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"95f1aebd3a8eb2610c9fc350f5d5bdab696147fc7a30d053ceb3dbdca21c3272"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Implement devicePtzStart() method. \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":"CoreW/Business/LiveProvider/Strategy/Impl/ISecureCenterStrategy.php"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"a755a9d76823e5186037e284bff73fb99f8f6623d51c85f9ecc7a0c04db36bba"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Implement getVideoRecorder() method. \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":"CoreW/Business/LiveProvider/Strategy/Impl/ISecureCenterStrategy.php"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3c6c38d6cbc10475431fa8b8f9569590d2bd570593c3fe14cce27b74a46d9e9"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Implement getVideoRecorder() method. \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":"CoreW/Business/LiveProvider/Strategy/Impl/LeChangeStrategy.php"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6ff0b50ff0e9f2e0f5b5879e1f72a9e817fb3df551415d4d7c510ff7aac9456"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Implement stopLive() method. \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":"CoreW/Business/LiveProvider/Strategy/Impl/ISecureCenterStrategy.php"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"035f3c2d87e17730175783cf4cc23bb80c363b11782453ea4155b223a4d28ebe"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Implement getAccessToken() method. \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":"CoreW/Business/LiveProvider/Strategy/Impl/ISecureCenterStrategy.php"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"d90e4f414923b4fbb38ed30c14324b29bb495f417d7d5bc5f0ef775827604838"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Implement devicePtzStp() method. \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":"CoreW/Business/LiveProvider/Strategy/Impl/LeChangeStrategy.php"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a1559f17412859903ee2e31fd8f2cb61ac888320426a403e89cec603d1fddff"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: \u7B80\u5355\u5904\u7406\uFF08\u6570\u636E\u91CF\u5F88\u5C0F\uFF0C\u540E\u671F\u6570\u636E\u5927\u6362\uFF09 \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":"CoreW/Business/Attachment/Service/Impl/AttachmentGroupServiceImpl.php"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"39b1e944d0058cdc4930108359354b7e4db765d937c64c2e827343118554dbf1"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: \u9700\u8981\u9002\u914D\u4E91\u5B58\u50A8 \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":"CoreW/Business/Attachment/Service/Impl/AttachmentServiceImpl.php"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"93b7866167c9463df51f12a6defa71c95fc953e5c00459cf44f29bda96cc917c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Implement getFile() method. \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":"CoreW/Business/Attachment/Implementors/Impl/LocalFileImplementor.php"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"13bbd934e80ae46a3e4f86e5e923ad9bc0c0fc57140f0f62fe7348f2c3727905"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: \u53EF\u80FD\u6709bug \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":"CoreW/Business/Attachment/Implementors/Impl/LocalFileImplementor.php"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"9692033e67bfa57f22e8c7f4e667ad8d6516d73acbb6a55dcf60f6fc3cd2dbf0"}},{"ruleId":"D20","level":"note","message":{"text":"No ADRs found: No ADRs found. No recognised ADR directory (\u0060docs/adr/\u0060, \u0060docs/decisions/\u0060, \u0060adr/\u0060, \u0060docs/rfcs/\u0060, an \u0060ADR0001/\u0060 folder, or their siblings) exists anywhere in this tree. What was searched, so you can tell an empty log from a search that missed one: every directory under the tree (build output, dependencies and VCS metadata excepted), for a document that is either any non-index page inside a recognised ADR directory, whatever its name and however deeply nested (\u0060docs/adr/use-postgres.md\u0060, \u0060docs/adr/2024/0001-x.md\u0060); or a file anywhere whose name is ADR-shaped (\u00600001-use-postgres.md\u0060, \u0060adr-012-caching.md\u0060); or, when neither turned anything up, a document carrying the decision-record signature (an \u0022Architecture Decision Record\u0022 heading, or Status / Context / Decision / Consequences as section headings). A decision log that clears none of these \u2014 unnumbered files outside any recognised directory, without those headings \u2014 is not seen by this check and this row is then wrong. If that is your case, say so rather than renaming anything; otherwise, consider recording architectural decisions in \u0060docs/adr/\u0060. ADRs are expected here because \u0060composer.json\u0060 makes this repository a deployable product (line 3)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"composer.json"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"341d559fa0b97c7420a17eab8c55e02816862ad49796a0687e6d050b9991a5e5"}},{"ruleId":"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":"e21c8ec1c0413dda77af5e876f37259c3a781dda9835e989ac9d28bfc124c2db"},"properties":{"commitSha":"93a546abe965dc53b0a48c76337616717d568991"},"taxa":[{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-540","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"44d5cd2d00a462eed2e9cb92e78ef1c73c764ef2dc28029ee93a028745dbe34f"},"properties":{"commitSha":"d694785fe82e00770d29f8eb0a2c1035334b2008"}},{"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":"9cce34ec4bd3dad5fa5ed10112c04ceda1ac22e212977f1d3076de934af241fd"},"properties":{"commitSha":"b35c239b2ec67a43c6a1e3936f87b09dc85a41bb"}},{"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":"3476c562927c05aa64d94cde9707bfd8010cfe7845106d4ec92c8b258898bd4e"},"properties":{"commitSha":"b35c239b2ec67a43c6a1e3936f87b09dc85a41bb"}},{"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":"ecc8b9d5aace7a0d6f75340a3325a3518d54703ff9b0a26489a2328f010a82c0"},"properties":{"commitSha":"0a4ce3891250e1c85713a641bd3fe1f1e5ebe8d9"}},{"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":"b5a8c1a8900732ed7effdfba6b04e0afba6a33392009e047bb7fea8fcf02cd58"},"properties":{"commitSha":"edda81c9e3b2acdd5aed1bb87d0dfcb360467225"}},{"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":"3dcb529d7dfe00acf68ee4cf335f8fc5368a165248ee7511323091df47730712"},"properties":{"commitSha":"b35c239b2ec67a43c6a1e3936f87b09dc85a41bb"}},{"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":"0d61d471aca173f9d3d77e7b42fd4aa9faf8ac8139e62676da45d74bc2a46ab6"},"properties":{"commitSha":"9242df3942a4cfceb026841cc1a0e906cf474999"}},{"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":"52c7d63415159fcdf01abe1ef63d171070c1869896b6b0c517326a47335c752f"},"taxa":[{"id":"CWE-918","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d303788fe352fbc373f86fd150a59e42a4bcb2729fccb4994f9cd1529498b269"},"taxa":[{"id":"CWE-918","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"43104a8909a846238203ef81376d1877e54d6aed743b4328b9c5e14e41f154e9"},"taxa":[{"id":"CWE-918","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"7189bfd965036d8350777836c45a13a2fb777f9a543afbc1e54de8d1262c3e4d"},"taxa":[{"id":"CWE-79","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"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":"b40941e79628401496899b395d7153063e13c093ea374b6b3d1fb3438c3b5963"},"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":"b16e4f34cab23a00c42d85b0812c8bf406cb0d28ac5733b6ac9f6ad520600034"},"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":"be67a4e431efa442cd4507586b0a14eef4d644228b4d58c9ffcbcca4397ad990"},"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":"d08e71c25e4caa4fa92d6dcc506f02b0b9888d9eccdfba60151e9f10a4d6b2ab"},"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":"7f1d67890ce351ab147d395c0c87a44d1b4ed93fd913949c63f15b630d29a912"},"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":"eaec3c5c8b411068c263a858a5dcd6a2e66d629ad89a938655e3f2c1617ca873"},"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":"3bb696193714ab107b560bc8894410777cb55687f74448a985f3ded87193bc42"},"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":"4fbf5f96653689c289c0ec710d57e171939981fa918b0c8c6f2a2393ae4741ac"},"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":"2223962c14c5c7020a52bfb5927194c8dc7659be02b85efd20e51ad238085efb"},"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":"3a276085fb86ca693132f431593d08e50f1134d10a455f2fee265c960e928d13"},"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":"276d896d98b8d5c05285e62a392d1dd8a03c1f37293fc2f7e120887d634ca756"},"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":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d91ba429c129714df81ea7e44850273f33480a25938f96e211371b1ae7b0122e"},"properties":{"dependency":{"package":"phpoffice/phpspreadsheet","version":"1.29.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"severity":"critical","fixedVersion":"1.30.5","relation":"direct","declaredRange":"^1.25","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"23088fd53304cc39c0338ab43e4e42a8495afce264646edd42a407d74831f1c2"},"properties":{"dependency":{"package":"twig/twig","version":"v3.8.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"severity":"critical","fixedVersion":"3.26.0","relation":"direct","declaredRange":"^3.5","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"be8325c655de3173a89bc1893b2bb956d695b5a9ac5c2de641516800babe5d55"},"properties":{"dependency":{"package":"guzzlehttp/guzzle","version":"7.10.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"severity":"high","fixedVersion":"7.15.2","relation":"direct","declaredRange":"^7.10","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1d1bd45efa851b0c277b1b84fa75b7f00f3ecfe68fdef0b298e2b23dfe86ebda"},"properties":{"dependency":{"package":"guzzlehttp/psr7","version":"2.8.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"severity":"medium","fixedVersion":"2.10.2","relation":"transitive","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ccec80640203d0e8e44dd5b4fa61012639c9b4576fcdd5ec2e66d066c4904fa0"},"properties":{"dependency":{"package":"phpseclib/phpseclib","version":"3.0.52","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"severity":"medium","fixedVersion":"3.0.54","relation":"transitive","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"57b2c82bce6e273892a465748d4be837b0af8e9fe1958c786fcc994249b4fd28"},"properties":{"dependency":{"package":"symfony/cache","version":"v6.4.31","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"severity":"medium","fixedVersion":"5.4.52","relation":"transitive","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"83d9d26c185197ef3d9510b5f037b0f2a98868c74f8ddc4e47f738ab49a3488f"},"properties":{"dependency":{"package":"symfony/process","version":"v5.4.47","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"severity":"medium","fixedVersion":"5.4.51","relation":"direct","declaredRange":"^5.4","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"25921fcc4c3f275b4d3d27edefaea0bfe9229bd25575ce2db9d610b20b2c9d5c"},"properties":{"dependency":{"package":"firebase/php-jwt","version":"v6.9.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"severity":"low","fixedVersion":"7.0.0","relation":"direct","declaredRange":"^6.4","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e0318e7748bcf9ff78916b34f41373a24a9eb1242f5f347c6ac3f6cbc0c46d05"},"properties":{"dependency":{"package":"symfony/polyfill-intl-idn","version":"v1.28.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"severity":"low","fixedVersion":"1.38.1","relation":"transitive","reachability":{"kind":"unknown"}}}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c2341fe6164c127a8ec02d94ea8067750422bd0c3dac82c922bf9546524eb55d"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"48313e84e5e7f13b266c22e41e5b4007969cc973bfe0128641fa6b0b1476b843"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1200faf5051b3f662837945b3136ce608b5ceb97062376ea44af72e3a5af833d"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"AX3","level":"error","message":{"text":"Project dependency cycle: The projects (root) \u2192 CoreW \u2192 app \u2192 (root) (one cycle inside a mutually-dependent group of 5 projects) form a reference cycle. Cyclic dependencies prevent independent build/test/deploy, blur ownership, and tend to grow into a big ball of mud. Break the cycle by extracting the shared types into a separate project both can reference."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"biz.php"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"865cd8ec3e5832fef9f7a6065d3db92d89eb5bb4a1d7628552e7820a16833738"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: AttachmentService (17 methods): \u0060AttachmentService\u0060 declares 17 methods: \u0060getAttachmentById\u0060, \u0060getAttachmentByHashId\u0060, \u0060countAttachments\u0060, \u0060searchAttachments\u0060, \u0060updateAttachment\u0060, \u0060deleteAttachmentById\u0060, \u0060unlinkFile\u0060, \u0060deleteFilesByIds\u0060, \u0060uploadFile\u0060, \u0060uploadFiles\u0060, \u0060uploadBase64Image\u0060, \u0060uploadRemoteFile\u0060, \u0060getChunkFilesByHashID\u0060, \u0060uploadSnippet\u0060, \u0060mergeSnippetFile\u0060, \u0060mergeTmpFile\u0060, \u0060moveGroup\u0060. Counted over its public instance methods, once per name; constants and static methods are not counted. A wide interface forces every implementer and caller to depend on methods they don\u0027t use (the Interface-Segregation \u0027I\u0027 in SOLID). Split it into focused role-interfaces."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"CoreW/Business/Attachment/Service/AttachmentService.php"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"478d66ea885b233e8775afc53d07b09224e45d29fc43b1b42a177fbeb5333cb4"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: VoiceSessionDao (17 methods): \u0060VoiceSessionDao\u0060 declares 17 methods: \u0060getBySessionId\u0060, \u0060getByDeviceAndChannel\u0060, \u0060getByDialogId\u0060, \u0060getByStream\u0060, \u0060getByStreamAndMediaServerId\u0060, \u0060getByNoEndedStreamAndMediaServerId\u0060, \u0060updStatus\u0060, \u0060updateStatusBySessionId\u0060, \u0060getByCallId\u0060, \u0060getActiveSessions\u0060, \u0060getActiveByDeviceAndChannel\u0060, \u0060findActiveByDeviceChannelAndMode\u0060, \u0060getBySsrc\u0060, \u0060updStatusIf\u0060, \u0060findExpiredSessions\u0060, \u0060markAsEnded\u0060, \u0060endSession\u0060. Counted over its public instance methods, once per name; constants and static methods are not counted. A wide interface forces every implementer and caller to depend on methods they don\u0027t use (the Interface-Segregation \u0027I\u0027 in SOLID). Split it into focused role-interfaces."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"CoreW/Business/Devices/Dao/VoiceSessionDao.php"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"29f0f531cf8f9adaee73dfe8ce7dd1a47d45e5fd5b0059e9bbdabf7ca9b6c844"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: DeviceService (58 methods): \u0060DeviceService\u0060 declares 58 methods: \u0060getDevicesById\u0060, \u0060getDeviceByDeviceId\u0060, \u0060countDevices\u0060, \u0060searchDevices\u0060, \u0060findDevicesByDeviceIds\u0060, \u0060summaryDevices\u0060, \u0060createDevice\u0060, \u0060updateDevice\u0060, \u0060updateDeviceExtendInfo\u0060, \u0060deleteDeviceById\u0060, \u0060handleDeviceRegister\u0060, \u0060updateDeviceHeartbeat\u0060, \u0060updateDeviceStatus\u0060, \u0060getChannelById\u0060, \u0060getChannelByDeviceAndChannel\u0060, \u0060countChannels\u0060, \u0060searchChannels\u0060, \u0060getChannelsByDeviceId\u0060, \u0060createChannel\u0060, \u0060updateChannel\u0060, \u0060updateChannelByMainId\u0060, \u0060batchUpdateChannels\u0060, \u0060batchUpdateOrCreateChannels\u0060, \u0060deleteChannel\u0060, \u0060getSessionById\u0060, \u0060getSessionByCallId\u0060, \u0060getSessionBySsrc\u0060, \u0060getSessionByStreamId\u0060, \u0060getActiveSessionByStreamIdAndType\u0060, \u0060incrementSessionViewerCount\u0060, \u0060decrementSessionViewerCount\u0060, \u0060casDecrementSessionViewerCount\u0060, \u0060createSession\u0060, \u0060updateSession\u0060, \u0060updateSessionByCallId\u0060, \u0060updateSessionBySSRC\u0060, \u0060deleteSession\u0060, \u0060deleteSessionByCallId\u0060, \u0060deleteSessionByStreamIdAndMediaServerId\u0060, \u0060cleanupExpiredSessions\u0060, and 18 more. Counted over its public instance methods, once per name; constants and static methods are not counted. A wide interface forces every implementer and caller to depend on methods they don\u0027t use (the Interface-Segregation \u0027I\u0027 in SOLID). Split it into focused role-interfaces."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"CoreW/Business/Devices/Service/DeviceService.php"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"85e2502627a1652119a7d45475df035363ce54cd82925ce5a95681ec8f646704"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: LiveProvider (18 methods): \u0060LiveProvider\u0060 declares 18 methods: \u0060activeAndOpenLiveWithCameras\u0060, \u0060openLiveWithCameras\u0060, \u0060closeLiveWithCameras\u0060, \u0060deviceTrees\u0060, \u0060countVideoChannels\u0060, \u0060countRecorders\u0060, \u0060searchRecorders\u0060, \u0060searchCameras\u0060, \u0060getDevices\u0060, \u0060getCameras\u0060, \u0060getLiveUrl\u0060, \u0060getCamera\u0060, \u0060getVideoRecorder\u0060, \u0060devicePtzStart\u0060, \u0060devicePtzStp\u0060, \u0060stopLive\u0060, \u0060getVideoCover\u0060, \u0060getAccessToken\u0060. Counted over its public instance methods, once per name; constants and static methods are not counted. A wide interface forces every implementer and caller to depend on methods they don\u0027t use (the Interface-Segregation \u0027I\u0027 in SOLID). Split it into focused role-interfaces."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"CoreW/Business/LiveProvider/Strategy/LiveProvider.php"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"7aea843acb5d097fed967f8cd7dae582164dc56a90ad99c016c80245aca0fc3a"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: MediaServerService (16 methods): \u0060MediaServerService\u0060 declares 16 methods: \u0060getMediaServerById\u0060, \u0060getMediaServerByServerId\u0060, \u0060findServersByIds\u0060, \u0060findServersByServerIds\u0060, \u0060countMediaServers\u0060, \u0060searchMediaServers\u0060, \u0060getSimpleList\u0060, \u0060createMediaServer\u0060, \u0060updateMediaServer\u0060, \u0060deleteMediaServerById\u0060, \u0060getStats\u0060, \u0060getConfig\u0060, \u0060setConfig\u0060, \u0060restart\u0060, \u0060syncStatus\u0060, \u0060getStrategy\u0060. Counted over its public instance methods, once per name; constants and static methods are not counted. A wide interface forces every implementer and caller to depend on methods they don\u0027t use (the Interface-Segregation \u0027I\u0027 in SOLID). Split it into focused role-interfaces."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"CoreW/Business/MediaServer/Service/MediaServerService.php"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cbcbfd21d043cfe3ee75f1cf20a42dc5a22ecd4c0d52e1b30aeeb71678e7508"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: ProductService (41 methods): \u0060ProductService\u0060 declares 41 methods: \u0060getProductById\u0060, \u0060getProductByCode\u0060, \u0060countProducts\u0060, \u0060searchProducts\u0060, \u0060createProduct\u0060, \u0060updateProduct\u0060, \u0060closeProduct\u0060, \u0060publishProduct\u0060, \u0060deleteProduct\u0060, \u0060typeList\u0060, \u0060getSceneUploadConfig\u0060, \u0060updateSceneByProductAndIndex\u0060, \u0060addScene\u0060, \u0060updateScene\u0060, \u0060deleteScene\u0060, \u0060updateSceneSortNum\u0060, \u0060getScene\u0060, \u0060searchScenes\u0060, \u0060setProductCover\u0060, \u0060makeHotPoint\u0060, \u0060deleteHotPoint\u0060, \u0060deleteHotPointBySceneId\u0060, \u0060getHotpointByUUID\u0060, \u0060searchHotPoints\u0060, \u0060getProductTour\u0060, \u0060setProductTour\u0060, \u0060getProductTourNodes\u0060, \u0060setProductTourNodes\u0060, \u0060deleteProductTour\u0060, \u0060savePlaneGraphMarkers\u0060, \u0060getPlaneGraphByProductId\u0060, \u0060setProductLogo\u0060, \u0060geProductLogo\u0060, \u0060setProductConfig\u0060, \u0060getProductConfigs\u0060, \u0060getProductConfig\u0060, \u0060validateViewPwd\u0060, \u0060makeShareUrl\u0060, \u0060checkShareToken\u0060, \u0060increaseViewCount\u0060, and 1 more. Counted over its public instance methods, once per name; constants and static methods are not counted. A wide interface forces every implementer and caller to depend on methods they don\u0027t use (the Interface-Segregation \u0027I\u0027 in SOLID). Split it into focused role-interfaces."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"CoreW/Business/Product/Service/ProductService.php"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"64451a9c77fc8552d4be77a00afc76133cd0ce8131a399791779ca3c8972aa0f"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: RecordTaskService (21 methods): \u0060RecordTaskService\u0060 declares 21 methods: \u0060createAlarmRecordTask\u0060, \u0060createDownloadRecordTask\u0060, \u0060executeRecordTask\u0060, \u0060stopRecording\u0060, \u0060searchRecordTasks\u0060, \u0060countRecordTasks\u0060, \u0060processPendingTasks\u0060, \u0060stopExpiredRecordings\u0060, \u0060updateTaskStatusWhenMediaReady\u0060, \u0060startRecordingForStableRtp\u0060, \u0060stopCompletedRecordings\u0060, \u0060completeFinalizingTasks\u0060, \u0060getValidityDownloadTaskByStreamId\u0060, \u0060getDoneRecordTaskByStreamId\u0060, \u0060getByStreamId\u0060, \u0060deleteRecordTask\u0060, \u0060cancelRecordTask\u0060, \u0060updateRecordStartTimeByStreamId\u0060, \u0060updateRecordEndTimeByStreamId\u0060, \u0060updateLastRtpTime\u0060, \u0060completeTaskFromHook\u0060. Counted over its public instance methods, once per name; constants and static methods are not counted. A wide interface forces every implementer and caller to depend on methods they don\u0027t use (the Interface-Segregation \u0027I\u0027 in SOLID). Split it into focused role-interfaces."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"CoreW/Business/Record/Service/RecordTaskService.php"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"451046bbeda8c4893f088172731beef6f4ea366bac208c1b017628476f903715"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: SipGatewayService (16 methods): \u0060SipGatewayService\u0060 declares 16 methods: \u0060createGateway\u0060, \u0060updateGateway\u0060, \u0060deleteGateway\u0060, \u0060getGateway\u0060, \u0060getGatewayByGatewayId\u0060, \u0060searchGateways\u0060, \u0060countGateways\u0060, \u0060toggleGateway\u0060, \u0060getGatewayFullConfig\u0060, \u0060updateHeartbeat\u0060, \u0060checkOfflineGateways\u0060, \u0060bindDeviceToGateway\u0060, \u0060bindDevicesToGateway\u0060, \u0060unbindDeviceFromGateway\u0060, \u0060unbindDevicesFromGateway\u0060, \u0060registerGateway\u0060. Counted over its public instance methods, once per name; constants and static methods are not counted. A wide interface forces every implementer and caller to depend on methods they don\u0027t use (the Interface-Segregation \u0027I\u0027 in SOLID). Split it into focused role-interfaces."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"CoreW/Business/SipGateway/Service/SipGatewayService.php"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"604ad49a1c775454fbf76c1a688acfdde1731b2a02b97ddc8b6c8d6e9a39eab0"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: StreamProxyService (27 methods): \u0060StreamProxyService\u0060 declares 27 methods: \u0060createProxy\u0060, \u0060updateProxy\u0060, \u0060deleteProxy\u0060, \u0060getProxy\u0060, \u0060getProxyByProxyId\u0060, \u0060searchProxies\u0060, \u0060countProxies\u0060, \u0060startProxy\u0060, \u0060stopProxy\u0060, \u0060restartProxy\u0060, \u0060getPlayUrls\u0060, \u0060getPushUrl\u0060, \u0060updateStatus\u0060, \u0060healthCheck\u0060, \u0060batchHealthCheck\u0060, \u0060autoReconnect\u0060, \u0060bindRecordPlan\u0060, \u0060unbindRecordPlan\u0060, \u0060updateViewerCount\u0060, \u0060incrementRetryCount\u0060, \u0060resetRetryCount\u0060, \u0060syncPushStreamStatus\u0060, \u0060addLog\u0060, \u0060getProxyLogs\u0060, \u0060searchLogs\u0060, \u0060countLogs\u0060, \u0060cleanupOldLogs\u0060. Counted over its public instance methods, once per name; constants and static methods are not counted. A wide interface forces every implementer and caller to depend on methods they don\u0027t use (the Interface-Segregation \u0027I\u0027 in SOLID). Split it into focused role-interfaces."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"CoreW/Business/StreamProxy/Service/StreamProxyService.php"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c43a64705b25956a60290ea41f9b93b8f573501f1a70546a64178fab1640f69"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: UserDao (21 methods): \u0060UserDao\u0060 declares 21 methods: \u0060getByEmail\u0060, \u0060getUserByType\u0060, \u0060getByNickname\u0060, \u0060getByApiKey\u0060, \u0060getUnDestroyedUserByNickname\u0060, \u0060getUnDestroyedUserByNickNameOrVerifiedMobile\u0060, \u0060getByUUID\u0060, \u0060countByMobileNotEmpty\u0060, \u0060getByVerifiedMobile\u0060, \u0060countByLessThanCreatedTime\u0060, \u0060findUnDestroyedUsersByIds\u0060, \u0060findByNicknames\u0060, \u0060findByIds\u0060, \u0060getByInviteCode\u0060, \u0060waveCounterById\u0060, \u0060deleteCounterById\u0060, \u0060analysisRegisterDataByTime\u0060, \u0060searchUsersJoinUserFace\u0060, \u0060countUsersJoinUserFace\u0060, \u0060findUnLockedUsersByUserIds\u0060, \u0060findUserLikeNickname\u0060. Counted over its public instance methods, once per name; constants and static methods are not counted. A wide interface forces every implementer and caller to depend on methods they don\u0027t use (the Interface-Segregation \u0027I\u0027 in SOLID). Split it into focused role-interfaces."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"CoreW/Business/User/Dao/UserDao.php"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a7e7b6400527905523cfb25d41926a034f1845bbe98bdc223f33d2e682694ae"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: UserService (55 methods): \u0060UserService\u0060 declares 55 methods: \u0060getUser\u0060, \u0060getUserByUUID\u0060, \u0060initSystemUsers\u0060, \u0060countUsers\u0060, \u0060searchUsers\u0060, \u0060deleteUserBindByUserId\u0060, \u0060findUserLikeNickname\u0060, \u0060getSimpleUser\u0060, \u0060getUserByNickname\u0060, \u0060getUserByApiKey\u0060, \u0060getUserByLoginField\u0060, \u0060getUserByEmail\u0060, \u0060findUsersByIds\u0060, \u0060findUnDestroyedUsersByIds\u0060, \u0060setEmailVerified\u0060, \u0060changeEmail\u0060, \u0060isNicknameAvaliable\u0060, \u0060isEmailAvaliable\u0060, \u0060isMobileAvaliable\u0060, \u0060changePassword\u0060, \u0060isMobileUnique\u0060, \u0060verifyInSaltOut\u0060, \u0060verifyPasswordById\u0060, \u0060verifyPasswordByUser\u0060, \u0060getUserByType\u0060, \u0060generateNickname\u0060, \u0060generateEmail\u0060, \u0060changeUserRoles\u0060, \u0060makeToken\u0060, \u0060getToken\u0060, \u0060countTokens\u0060, \u0060deleteToken\u0060, \u0060findBindsByUserId\u0060, \u0060unBindUserByTypeAndToId\u0060, \u0060getUserBindByTypeAndFromId\u0060, \u0060findUserBindByTypeAndFromIds\u0060, \u0060findUserBindByTypeAndToIds\u0060, \u0060getUserBindByToken\u0060, \u0060getUserBindByTypeAndUserId\u0060, \u0060findUserBindByTypeAndUserId\u0060, and 15 more. Counted over its public instance methods, once per name; constants and static methods are not counted. A wide interface forces every implementer and caller to depend on methods they don\u0027t use (the Interface-Segregation \u0027I\u0027 in SOLID). Split it into focused role-interfaces."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"CoreW/Business/User/Service/UserService.php"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab64b8739d36f08f860ee99b05a5c22a370f596df3f38a7007503ea093b66919"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: VIPService (38 methods): \u0060VIPService\u0060 declares 38 methods: \u0060getVIPById\u0060, \u0060countVIPs\u0060, \u0060searchVIPs\u0060, \u0060createVIP\u0060, \u0060updateVIP\u0060, \u0060editVIPInfo\u0060, \u0060deleteVIPById\u0060, \u0060register\u0060, \u0060createSystemVIP\u0060, \u0060makeAuthToken\u0060, \u0060emailVerify\u0060, \u0060sendEmailVerifyNotification\u0060, \u0060destroyToken\u0060, \u0060login\u0060, \u0060getVIPByUUID\u0060, \u0060getVIPByNickname\u0060, \u0060sendAccountEmailLoginCode\u0060, \u0060deleteUserBindByUserId\u0060, \u0060getUserBindByTypeAndFromId\u0060, \u0060unBindUserByTypeAndToId\u0060, \u0060findBindsByUserId\u0060, \u0060findUserBindByTypeAndFromIds\u0060, \u0060findUserBindByTypeAndToIds\u0060, \u0060getUserBindByToken\u0060, \u0060getUserBindByTypeAndUserId\u0060, \u0060findUserBindByTypeAndUserId\u0060, \u0060bindVIP\u0060, \u0060addUsedSpaceSize\u0060, \u0060subUsedSpaceSize\u0060, \u0060applyCompany\u0060, \u0060getVIPCompany\u0060, \u0060getVIPCompanyByUserId\u0060, \u0060checkCompany\u0060, \u0060setCompanyIotConfig\u0060, \u0060getCompanyIotConfig\u0060, \u0060searchCompanyList\u0060, \u0060getCompanyIotConfigByUserId\u0060, \u0060getCompanyIotConfigByAppId\u0060. Counted over its public instance methods, once per name; constants and static methods are not counted. A wide interface forces every implementer and caller to depend on methods they don\u0027t use (the Interface-Segregation \u0027I\u0027 in SOLID). Split it into focused role-interfaces."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"CoreW/Business/VIP/Service/VIPService.php"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"c979b344ee8975a6f5d59d610fd68f423db2d3652005ca5521369eace16d8c6a"}},{"ruleId":"C2","level":"note","message":{"text":"No named authorization policies: Authorization IS enforced here (by route guards, auth middleware or checks that refuse a caller) \u2014 this is NOT a claim that endpoints are unprotected. What\u0027s missing is a NAMED rule set: who may do what is encoded inline where it is checked, so the rules can\u0027t be listed, reviewed or tested apart from the code that applies them. Recommendation, not a defect."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"b048fdf3fa524ac68c7874fdfcdb4c49d5f010013f2cb22a0bd84cb12ceb951f"}},{"ruleId":"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":"M4","level":"note","message":{"text":"README/code drift: README.md links to \u0060www.easygbs.com\u0060, but \u0060www.easygbs.com\u0060 does not exist. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents\u0027 own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"README.md"},"region":{"startLine":536}}}],"partialFingerprints":{"codehealthFindingId/v1":"b85864071a30ab325207b0475304e4f6aa1b79c8e2996b50e4173a6d35a328ea"}},{"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":"P4","level":"note","message":{"text":"No rollback/health safety: Deployment is orchestrated by compose, but no service declares a \u0060healthcheck:\u0060 and nothing pins a previous image to fall back to \u2014 the runtime can tell that the container is up, not that it is serving, so a bad release is harder to detect and reverse."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"db6bab8a28a2145f47e5a4e6683cda39d2ba0296c723238e8057da979ae1c706"}},{"ruleId":"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":"CoreW/Business/Product/Service/Impl/ProductServiceImpl.php"},"region":{"startLine":636}}}],"partialFingerprints":{"codehealthFindingId/v1":"29bb60ab182c434b3728f2db58f975474f9eb5d73592fbd5663ec7260a21c4fd"}},{"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":"CoreW/Business/Product/Service/Impl/ProductServiceImpl.php"},"region":{"startLine":665}}}],"partialFingerprints":{"codehealthFindingId/v1":"97ebffd5bdc339ecfaa27a472dc4a222e955d1d5141f30cea1ebe036ad151ba9"}},{"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":"support/utils/ImageToolkit.php"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea3f658db12b42ae70d05a53c5a4b8640cbcfb6a6ea542925d1cada15ed6dd99"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!$mediaServer || $mediaServer[\u0027type\u0027] !== MediaServerType::ZLM\u0060 appears character-identically in 2 files \u2014 CoreW/Business/GB/Gb28181Service.php, CoreW/Business/Record/Service/Impl/RecordTaskServiceImpl.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":"CoreW/Business/GB/Gb28181Service.php"},"region":{"startLine":1390}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc96a5c934d850d265550ad60acaec77e93f1bfb74da6a144499bba639c599f2"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!$openResult || $openResult[\u0027code\u0027] != 0\u0060 appears character-identically in 2 files \u2014 CoreW/Business/Devices/Handler/TalkStreamArrivalHandler.php, CoreW/Business/Devices/Service/Impl/VoiceTalkServiceImpl.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":"CoreW/Business/Devices/Handler/TalkStreamArrivalHandler.php"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad8742a86c56a51777c483ac5896ea0822d3906bb6b0b94d2e32dfbe5c4734a1"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!empty($args[\u0027scene\u0027]) \u0026\u0026 $args[\u0027scene\u0027] === \u0027make-dao\u0027 \u0026\u0026 substr_count($this-\u003Eprefix, \u0027\\\\\u0027) \u003E 2\u0060 appears character-identically in 2 files \u2014 CoreW/Gii/Template/Easy/DaoImplTemplate.php, CoreW/Gii/Template/Easy/DaoInterfaceTemplate.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":"CoreW/Gii/Template/Easy/DaoImplTemplate.php"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3cd78e401bd3846f91aaab26cecd37bcb2bd97baf8474634787b9b436862360"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!empty($args[\u0027scene\u0027]) \u0026\u0026 $args[\u0027scene\u0027] === \u0027make-service\u0027 \u0026\u0026 substr_count($this-\u003Eprefix, \u0027\\\\\u0027) \u003E 2\u0060 appears character-identically in 2 files \u2014 CoreW/Gii/Template/Easy/ServiceImplTemplate.php, CoreW/Gii/Template/Easy/ServiceInterfaceTemplate.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":"CoreW/Gii/Template/Easy/ServiceImplTemplate.php"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"2dd5162953cf9428ce0bef522a53a36f40823bc42dce14972ca168daa267b46a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!is_null($exceptionFunc) \u0026\u0026 $exceptionFunc($this)\u0060 appears character-identically in 2 files \u2014 CoreW/Dao/Connection.php, CoreW/Dao/MasterSlaveConnection.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":"CoreW/Dao/Connection.php"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"b223423c1aaa5708cf6219007484f39c0768b9010d9dd95657377452669de46f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!isset($menuData[\u0027menus\u0027]) || !is_array($menuData[\u0027menus\u0027])\u0060 appears character-identically in 2 files \u2014 CoreW/Business/Menu/Service/Impl/MenuServiceImpl.php, app/command/MenuCommand.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":"CoreW/Business/Menu/Service/Impl/MenuServiceImpl.php"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba7d4bcf886c9be11037ad93b49da0b0b892acffe56bbe7fb5c3c2d860a58bee"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!isset($this-\u003Edevices[$deviceId]) || ($device \u0026\u0026 !$device-\u003Eregistered)\u0060 appears character-identically in 2 files \u2014 Gb28181Gateway/src/SwooleServer/GBS.php, swoole-gbs/gbs-beta.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":"Gb28181Gateway/src/SwooleServer/GBS.php"},"region":{"startLine":1472}}}],"partialFingerprints":{"codehealthFindingId/v1":"f513d435919747444a13e8b45fd792e141b153334df1edb08d484295af9a9d3b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060$channel \u0026\u0026 ($channel-\u003Estreaming || $channel-\u003EforwardState === 1 || $channel-\u003Einviting)\u0060 appears character-identically in 2 files \u2014 Gb28181Gateway/src/SwooleServer/GBS.php, swoole-gbs/gbs-beta.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":"Gb28181Gateway/src/SwooleServer/GBS.php"},"region":{"startLine":1701}}}],"partialFingerprints":{"codehealthFindingId/v1":"74d107e347bf7f4a9911139d2404c52817d54601e616af97891727cc0588834a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060$exception instanceof NotFoundExceptionInterface || $exception instanceof NotFoundException\u0060 appears character-identically in 2 files \u2014 CoreW/Exception/ExceptionUtil.php, support/utils/ExceptionUtil.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":"CoreW/Exception/ExceptionUtil.php"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd4665a5c2e95a4084a4b800b4eea3bc24fd7497418a7ba3e316447959f3d5e7"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060$fileSize \u003E self::MAX_LOG_SIZE \u0026\u0026 unlink($logFile)\u0060 appears character-identically in 4 files \u2014 CoreW/Mail/AbstractMail.php, CoreW/Sdk/AMapSdk/AMapClient.php, CoreW/Sdk/LeChangeSdk/Api.php, CoreW/Sdk/Ys7Sdk/OpenYs7.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":"CoreW/Mail/AbstractMail.php"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"87fc0f0de955b6b3436bac1f41d50fb4172a58175e93d4c65bbff6b727d3291e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060$oldCallId === \u0027\u0027 \u0026\u0026 $foundChannelId !== \u0027\u0027\u0060 appears character-identically in 2 files \u2014 Gb28181Gateway/src/SwooleServer/GBS.php, swoole-gbs/gbs-beta.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":"Gb28181Gateway/src/SwooleServer/GBS.php"},"region":{"startLine":1125}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6d58aa53825eeb54e3fc3630ed2ab6ea740d3d0180ecaac2ac867db78d05b16"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060$parts === false || empty($parts[\u0027host\u0027])\u0060 appears character-identically in 2 files \u2014 Gb28181Gateway/src/SwooleServer/Helper.php, swoole-gbs/gbs-beta.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":"Gb28181Gateway/src/SwooleServer/Helper.php"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c0abbc12ad24a15f4f77483afe1eaaaa7461cf6f0066db7e433c3b0780e5a34"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060$statusCode === 100 || $statusCode === 180\u0060 appears character-identically in 2 files \u2014 Gb28181Gateway/src/SwooleServer/GBS.php, swoole-gbs/gbs-beta.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":"Gb28181Gateway/src/SwooleServer/GBS.php"},"region":{"startLine":1019}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef87d054ed07be6fe95335ab2567a648f26a25bbf8e8640f23e8964d4fb676b0"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060$username === \u0027\u0027 || $realm === \u0027\u0027 || $nonce === \u0027\u0027 || $response === \u0027\u0027 || $uriVal === \u0027\u0027\u0060 appears character-identically in 2 files \u2014 Gb28181Gateway/src/SwooleServer/GBS.php, swoole-gbs/gbs-beta.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":"Gb28181Gateway/src/SwooleServer/GBS.php"},"region":{"startLine":1462}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c5022433ce3aea7803ef1400a4bdd636f7a925e11cbb0e92b0507d507fd6ba0"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060($handlerConfig[\u0027mq_type\u0027] === \u0027rabbitmq\u0027) \u0026\u0026 !empty($config[\u0027rabbitmq\u0027])\u0060 appears character-identically in 2 files \u2014 app/command/Gb28181Server.php, gb28181_server.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/command/Gb28181Server.php"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdb6871d916477da8591ccb6622895168d6ceba0a793d09189e61f951d774f04"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060($token[\u0027expiredTime\u0027] \u003E 0) \u0026\u0026 ($token[\u0027expiredTime\u0027] \u003C time())\u0060 appears character-identically in 2 files \u2014 CoreW/Business/User/Service/Impl/TokenServiceImpl.php, CoreW/Business/VIP/Service/Impl/TokenServiceImpl.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":"CoreW/Business/User/Service/Impl/TokenServiceImpl.php"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"09295b54ed1c6e72268f251e96d4e60823e5a3976cc8930fc6e1a41d3e067549"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060($token[\u0027times\u0027] \u003E 0) \u0026\u0026 ($token[\u0027remainedTimes\u0027] \u003C= 1)\u0060 appears character-identically in 2 files \u2014 CoreW/Business/User/Service/Impl/TokenServiceImpl.php, CoreW/Business/VIP/Service/Impl/TokenServiceImpl.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":"CoreW/Business/User/Service/Impl/TokenServiceImpl.php"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bf4cb8496f78d9bdc22cd745490229fa30b4938a85fc08b288c4b407a1bbd15"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060adminHost \u0026\u0026 !isset($oldChannelMap[$chId])\u0060 appears character-identically in 2 files \u2014 Gb28181Gateway/src/SwooleServer/GBS.php, swoole-gbs/gbs-beta.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":"Gb28181Gateway/src/SwooleServer/GBS.php"},"region":{"startLine":2072}}}],"partialFingerprints":{"codehealthFindingId/v1":"838ec6a5810a7e0a7359e7df6c88920922d9e0c6e498db54e8f858dfca9c9b15"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060empty($config[\u0027event_catalog\u0027]) \u0026\u0026 empty($config[\u0027event_alarm\u0027]) \u0026\u0026 empty($config[\u0027event_mobile_position\u0027])\u0060 appears character-identically in 2 files \u2014 CoreW/Business/Subscribe/Service/Impl/SubscribeServiceImpl.php, app/admin/controller/GB28181SubscribeController.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":"CoreW/Business/Subscribe/Service/Impl/SubscribeServiceImpl.php"},"region":{"startLine":465}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e6a3e072ab5910e0e6a037f05673b33f1cef5bc7fed4203274091c1900d9149"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060empty($file) || empty($file[\u0027filepath\u0027])\u0060 appears character-identically in 3 files \u2014 CoreW/Business/Attachment/Implementors/Impl/AliFileImplementor.php, CoreW/Business/Attachment/Implementors/Impl/QiNiuFileImplementor.php, CoreW/Business/Attachment/Implementors/Impl/TenCentFileImplementor.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":"CoreW/Business/Attachment/Implementors/Impl/AliFileImplementor.php"},"region":{"startLine":345}}}],"partialFingerprints":{"codehealthFindingId/v1":"892e0bf59024f8ad81737e8e5ae242a6a8a83e87c46081c3f274d0be74a6ea25"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060isset($_SERVER[\u0027TRACE_ID\u0027]) \u0026\u0026 $_SERVER[\u0027TRACE_ID\u0027]\u0060 appears character-identically in 2 files \u2014 CoreW/JsonLogger.php, CoreW/Mail/Logger/JsonLogger.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":"CoreW/JsonLogger.php"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"9388f1e2283ac0c8340d059f240edcd765b3317b51d371a364eaaa0a67321b7b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060isset($allocatedRtpPort) \u0026\u0026 $allocatedRtpPort \u003E 0\u0060 appears character-identically in 2 files \u2014 Gb28181Gateway/src/SwooleServer/GBS.php, swoole-gbs/gbs-beta.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":"Gb28181Gateway/src/SwooleServer/GBS.php"},"region":{"startLine":2595}}}],"partialFingerprints":{"codehealthFindingId/v1":"82d699aeec1d7c683b64a7f39f6eba237fec5f742e7379c199a1474553684943"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060str_contains($body, \u0027\u003CResponse\u003E\u0027) || str_contains($body, \u0027\u003CItem\u003E\u0027)\u0060 appears character-identically in 2 files \u2014 Gb28181Gateway/src/SwooleServer/GBS.php, swoole-gbs/gbs-beta.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":"Gb28181Gateway/src/SwooleServer/GBS.php"},"region":{"startLine":798}}}],"partialFingerprints":{"codehealthFindingId/v1":"f85ac32e751da82e5bb9a790d79b1a17c7f376fedb0aabfe8ab6ec436ffe62b4"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060stristr($heads[0], \u0022200\u0022) \u0026\u0026 stristr($heads[0], \u0022OK\u0022)\u0060 appears character-identically in 4 files \u2014 CoreW/Business/Attachment/Implementors/Impl/AliFileImplementor.php, CoreW/Business/Attachment/Implementors/Impl/LocalFileImplementor.php, CoreW/Business/Attachment/Implementors/Impl/QiNiuFileImplementor.php, CoreW/Business/Attachment/Implementors/Impl/TenCentFileImplementor.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":"CoreW/Business/Attachment/Implementors/Impl/AliFileImplementor.php"},"region":{"startLine":277}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd78ce4a85897ade0c35d517fd034aa4fe314f1ee6ca9af79ccb3f0f3bec64f7"}},{"ruleId":"X23","level":"note","message":{"text":"Diagnostic log message is built whether or not it is wanted: \u0060debug\u0060 at line 1338 is called with an argument built by \u0060json_encode($addr)\u0060 (line 1338), whose cost grows with the collection it walks. PHP evaluates a call\u0027s arguments BEFORE entering the method, so that join/projection runs in full every time this line is reached \u2014 and then the level check inside the logger discards the string it produced, because debug is a level a shipped configuration normally leaves off. Nothing here decides beforehand whether the message is wanted: no \u0060isHandling\u0060 test, no debug flag, and no placeholder context array that lets the logger build the text only when the level is on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"swoole-gbs/gbs-beta.php"},"region":{"startLine":1338}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8fe18c5038dccc3f5a8aead3c142ce729952abe488ce2a85886070b94e9ed3b"}},{"ruleId":"X23","level":"note","message":{"text":"Diagnostic log message is built whether or not it is wanted: \u0060debug\u0060 at line 1340 is called with an argument built by \u0060json_encode($addr)\u0060 (line 1340), whose cost grows with the collection it walks. PHP evaluates a call\u0027s arguments BEFORE entering the method, so that join/projection runs in full every time this line is reached \u2014 and then the level check inside the logger discards the string it produced, because debug is a level a shipped configuration normally leaves off. Nothing here decides beforehand whether the message is wanted: no \u0060isHandling\u0060 test, no debug flag, and no placeholder context array that lets the logger build the text only when the level is on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"swoole-gbs/gbs-beta.php"},"region":{"startLine":1340}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a5c534d8cfa7ddefde858e255d30214675fe8e0a0a25f6639d0e8954bbe5a95"}},{"ruleId":"X23","level":"note","message":{"text":"Diagnostic log message is built whether or not it is wanted: \u0060debug\u0060 at line 1809 is called with an argument built by \u0060json_encode($authParams)\u0060 (line 1809), whose cost grows with the collection it walks. PHP evaluates a call\u0027s arguments BEFORE entering the method, so that join/projection runs in full every time this line is reached \u2014 and then the level check inside the logger discards the string it produced, because debug is a level a shipped configuration normally leaves off. Nothing here decides beforehand whether the message is wanted: no \u0060isHandling\u0060 test, no debug flag, and no placeholder context array that lets the logger build the text only when the level is on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"swoole-gbs/gbs-beta.php"},"region":{"startLine":1809}}}],"partialFingerprints":{"codehealthFindingId/v1":"84b666b2a54f15596e41da901e1e5e80c507c0c914d63c1619fcad3ba72c06cb"}},{"ruleId":"X23","level":"note","message":{"text":"Diagnostic log message is built whether or not it is wanted: \u0060debug\u0060 at line 993 is called with an argument built by \u0060json_encode($addr)\u0060 (line 993), whose cost grows with the collection it walks. PHP evaluates a call\u0027s arguments BEFORE entering the method, so that join/projection runs in full every time this line is reached \u2014 and then the level check inside the logger discards the string it produced, because debug is a level a shipped configuration normally leaves off. Nothing here decides beforehand whether the message is wanted: no \u0060isHandling\u0060 test, no debug flag, and no placeholder context array that lets the logger build the text only when the level is on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Gb28181Gateway/src/SwooleServer/GBS.php"},"region":{"startLine":993}}}],"partialFingerprints":{"codehealthFindingId/v1":"d277a066ad0b0d82ce0ec8b008be43f213d9f4f946a73c820e07c369a85c8e6c"}},{"ruleId":"X23","level":"note","message":{"text":"Diagnostic log message is built whether or not it is wanted: \u0060debug\u0060 at line 995 is called with an argument built by \u0060json_encode($addr)\u0060 (line 995), whose cost grows with the collection it walks. PHP evaluates a call\u0027s arguments BEFORE entering the method, so that join/projection runs in full every time this line is reached \u2014 and then the level check inside the logger discards the string it produced, because debug is a level a shipped configuration normally leaves off. Nothing here decides beforehand whether the message is wanted: no \u0060isHandling\u0060 test, no debug flag, and no placeholder context array that lets the logger build the text only when the level is on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Gb28181Gateway/src/SwooleServer/GBS.php"},"region":{"startLine":995}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fdae38af3df639ccdfdb0ad52094a58f95fe7a504cccc88e580e8ecc8c7fdff"}},{"ruleId":"X23","level":"note","message":{"text":"Diagnostic log message is built whether or not it is wanted: \u0060debug\u0060 at line 1464 is called with an argument built by \u0060json_encode($authParams)\u0060 (line 1464), whose cost grows with the collection it walks. PHP evaluates a call\u0027s arguments BEFORE entering the method, so that join/projection runs in full every time this line is reached \u2014 and then the level check inside the logger discards the string it produced, because debug is a level a shipped configuration normally leaves off. Nothing here decides beforehand whether the message is wanted: no \u0060isHandling\u0060 test, no debug flag, and no placeholder context array that lets the logger build the text only when the level is on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Gb28181Gateway/src/SwooleServer/GBS.php"},"region":{"startLine":1464}}}],"partialFingerprints":{"codehealthFindingId/v1":"abee3d220a99d4051d885da2e8f2ecfe6f8cee39d19594d2988a92f7adfb56ba"}},{"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":"swoole-gbs/gbs-beta.php"},"region":{"startLine":994}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0e71f3e7ebbc553f3fe636587b24a1dc61c672b86153fa046c45315adeb9261"}},{"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":"swoole-gbs/gbs-beta.php"},"region":{"startLine":1020}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e40afdad401ae27347c5a1c1c105a074928471792f4ba749bffb02ec21a2be6"}},{"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":"swoole-gbs/gbs-beta.php"},"region":{"startLine":1244}}}],"partialFingerprints":{"codehealthFindingId/v1":"308f8ab2de066dfd149f5ae838c7c7f94d2d8507db3cdcb31922d6d21309f411"}},{"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":"swoole-gbs/gbs-beta.php"},"region":{"startLine":1307}}}],"partialFingerprints":{"codehealthFindingId/v1":"f63b77e8a5cccaad28ef85a96a37b03ca496a640b1040aa839bd770861ab8916"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (\\Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"support/utils/DeviceToolkit.php"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"28653c498adde956af8d6aa8be88cc647b25dccf129289e8480c3fe04b0d22a4"}},{"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":"support/utils/ImageToolkit.php"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f85990030e4d915ac745eff54e5be992db17af92756c86953b72c5d67ec9395"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (\\Throwable)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/queue/redis/fast/FileAfterUploadProcess.php"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"02304764edf6d85be8de750db261da371c960a65aa02ee4d6db414604527978c"}},{"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/admin/controller/GB28181ChannelController.php"},"region":{"startLine":363}}}],"partialFingerprints":{"codehealthFindingId/v1":"716c5b4884495744a276c828745643722e742c7a4fb67ef72a49379c7925e429"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (\\Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Gb28181Gateway/src/Transport/RabbitMQTransport.php"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"32fbac19b214b00203a8d624df2606e0601672e864dc0dfe53250e88b1a1a648"}},{"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":"Gb28181Gateway/src/SwooleServer/GBS.php"},"region":{"startLine":649}}}],"partialFingerprints":{"codehealthFindingId/v1":"16d5a8bd4bca3df3e0b704040ef8b7feb5ba58e90c77e5a14e99740f9a609010"}},{"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":"Gb28181Gateway/src/SwooleServer/GBS.php"},"region":{"startLine":675}}}],"partialFingerprints":{"codehealthFindingId/v1":"a378f74745c3e471d32b0668d53fe40c7cba1addf9325693180e606108378db8"}},{"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":"Gb28181Gateway/src/SwooleServer/GBS.php"},"region":{"startLine":899}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d4078c4f9172ea38ae87d44b011cfdfb31ff4e9f6468709bc383ac0a1bac53d"}},{"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":"Gb28181Gateway/src/SwooleServer/GBS.php"},"region":{"startLine":962}}}],"partialFingerprints":{"codehealthFindingId/v1":"1746d4721403565b940ee26e4f88ec8744c8a61e060970757d41e919a90175e0"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (\\Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Gb28181Gateway/src/Libs/ClientRedis.php"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd364ce9ebd7adce862001f9608d5f3d57f548328013d7342fc2a66a79a51b32"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (\\Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Gb28181Gateway/src/Libs/ClientRedis.php"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"c10d0a27c7a14660ee1be2407b66f77c54cf00c8827e70317c2ec2177d703b41"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (\\Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Gb28181Gateway/src/Libs/ClientRedis.php"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"346cd688a2ea370b4a4ce1f5ecf14afb4c84c4451232016c722fc6a3292493dc"}},{"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":"Gb28181Gateway/src/Handlers/GB28181Handler.php"},"region":{"startLine":628}}}],"partialFingerprints":{"codehealthFindingId/v1":"984fcfeff0ca0ee764d432392e621b5d7c7c40165605edfbbcc0315d5ddc6118"}},{"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":"CoreW/Sdk/LeChangeSdk/Api.php"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfca5a2cd63b8478842bb0ceb7e78d449a430b481fe54e2fc907c769dc94d855"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (\\Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"CoreW/Sdk/LeChangeSdk/Controller.php"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"3afde0c81030e4dcfeda3d248c6b0a8189bf40e6dfc08f5bfdb8b0b9d3239849"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (\\Throwable)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"CoreW/Provider/ExtensionsProvider.php"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"54b7526c9ad9af71595b10fc7fdb7d7f54064a9ff1f22af678036d08fa09af45"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"CoreW/Dao/GeneralDaoImpl.php"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ba172856f1d78b1fdea701ae7d50c6ef791276d64ee6320314ae8ed71b2ab31"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"CoreW/Dao/GeneralDaoImpl.php"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b691d92e7751b16a2e9392c67be9d165837b0ffb63690410cad89556d446890"}},{"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":"CoreW/Business/SystemLog/Service/Impl/SystemLogServiceImpl.php"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9f3f7b2244b00baa2f06fb3a18c12eb93aaa1afc73fd55bb646d73f68e5729a"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (\\Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"CoreW/Business/MediaServer/Strategy/SRSStrategy.php"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"76df4e98ef00b0bfe650169cd11a5fc50035d60c87fa43d817c41a5094f0fde7"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (\\Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"CoreW/Business/MediaServer/Strategy/SRSStrategy.php"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"26da3e6ec4cc80048df1af0fc58028bcab6045a9fb8d628678b06cdc7f689094"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (\\Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"CoreW/Business/MediaServer/Strategy/ZLMediaKitStrategy.php"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e1060f55f79f9a6302e941ccd964dcb4fcbacf55cf4314e36f1c1ba1bbe8db0"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (\\Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"CoreW/Business/MediaServer/Strategy/ZLMediaKitStrategy.php"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ee5948ad7300819c02b48e65f14fb2411ea9c1b517a9c41da977e899c14981a"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (\\Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"CoreW/Business/LiveProvider/Strategy/Impl/YS7LeChangeStrategy.php"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8f90ec39d7bcf1fb4b05878316f87512d36529122a08eef917d89cad351712b"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (\\Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"CoreW/Business/LiveProvider/Strategy/Impl/YS7LeChangeStrategy.php"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"3567d9b44c4e4baa3d0a16cd52c916ce56e784363f879cecdd6c26f47fda6461"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (\\Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"CoreW/Business/LiveProvider/Strategy/Impl/Ys7Strategy.php"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"61a59f010b78d25d324e67558d058da03e8a6efe1c7d114be0bedbcada5f4588"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (\\Throwable)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"CoreW/Business/GB/Gb28181Service.php"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"c837349d8475b0c653a86979765f0df8704d618ee136e0175e2b8ee83c50e05a"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (\\Throwable)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"CoreW/Business/GB/Gb28181Service.php"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fda49e5056d6cdbaad558069d4c100dcdbc9248426824228d6fac6b74e44567"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (\\Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"CoreW/Business/GB/SSRCFactory.php"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"66332326394aea3bac687d38c1f33c196dd53049a104d0af69559c7fc8c5f5ed"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (\\Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"CoreW/Business/Devices/Traits/GB28181StreamTrait.php"},"region":{"startLine":453}}}],"partialFingerprints":{"codehealthFindingId/v1":"aca7f8a1cebfb4d39d60f7f1363185a5fafd692a6e05c78fa9f406cc1c933079"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (\\Throwable)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"CoreW/Business/Attachment/Service/Impl/AttachmentServiceImpl.php"},"region":{"startLine":507}}}],"partialFingerprints":{"codehealthFindingId/v1":"c03fb61ee270e634e4e63c4ae46c6f20fdb6ac5d30a6863d6c4778664c0c0a11"}},{"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":"CoreW/Business/Attachment/Implementors/Impl/LocalFileImplementor.php"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"1261e620c168b640219045ba8667ed015475cb8f35ce395cd4717b82e05c6e9b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 228 is handed a double-quoted string with variables interpolated into it as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass a constant message and the values in the PSR-3 context array instead: \u0060$logger-\u003Edebug(\u0027Order {order_id} moved to {status}\u0027, [\u0027order_id\u0027 =\u003E $orderId, \u0027status\u0027 =\u003E $status])\u0060, which Monolog and every PSR-3 handler keep as fields beside the message (Monolog\u0027s PsrLogMessageProcessor fills the placeholders), or \u0060Log::debug(\u0027order moved\u0027, [\u0027order_id\u0027 =\u003E $orderId])\u0060 with Laravel\u0027s facade."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"swoole-gbs/gbs-beta.php"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e1ac87c3746488a87ef99fbeff59402c51d930526b98f8237369f1cb6200d9e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 232 is handed a double-quoted string with variables interpolated into it as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass a constant message and the values in the PSR-3 context array instead: \u0060$logger-\u003Edebug(\u0027Order {order_id} moved to {status}\u0027, [\u0027order_id\u0027 =\u003E $orderId, \u0027status\u0027 =\u003E $status])\u0060, which Monolog and every PSR-3 handler keep as fields beside the message (Monolog\u0027s PsrLogMessageProcessor fills the placeholders), or \u0060Log::debug(\u0027order moved\u0027, [\u0027order_id\u0027 =\u003E $orderId])\u0060 with Laravel\u0027s facade."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"swoole-gbs/gbs-beta.php"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a909341e9e1702bef54e135e4e5a5759a25b3e5b7d31fcbd670c0c9b1f67457"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 505 is handed a double-quoted string with variables interpolated into it as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass a constant message and the values in the PSR-3 context array instead: \u0060$logger-\u003Eerror(\u0027Order {order_id} moved to {status}\u0027, [\u0027order_id\u0027 =\u003E $orderId, \u0027status\u0027 =\u003E $status])\u0060, which Monolog and every PSR-3 handler keep as fields beside the message (Monolog\u0027s PsrLogMessageProcessor fills the placeholders), or \u0060Log::error(\u0027order moved\u0027, [\u0027order_id\u0027 =\u003E $orderId])\u0060 with Laravel\u0027s facade."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"swoole-gbs/gbs-beta.php"},"region":{"startLine":505}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ffab44be7d2d8684e43dedd49aa1fa2bee52db52e7e7c29c862f34f12a90d10"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 528 is handed a double-quoted string with variables interpolated into it as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass a constant message and the values in the PSR-3 context array instead: \u0060$logger-\u003Edebug(\u0027Order {order_id} moved to {status}\u0027, [\u0027order_id\u0027 =\u003E $orderId, \u0027status\u0027 =\u003E $status])\u0060, which Monolog and every PSR-3 handler keep as fields beside the message (Monolog\u0027s PsrLogMessageProcessor fills the placeholders), or \u0060Log::debug(\u0027order moved\u0027, [\u0027order_id\u0027 =\u003E $orderId])\u0060 with Laravel\u0027s facade."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"swoole-gbs/gbs-beta.php"},"region":{"startLine":528}}}],"partialFingerprints":{"codehealthFindingId/v1":"f236aff339f896969be6151af4f021fb1b10ba9318ba1b722a069ad9ddf0f69d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 529 is handed a double-quoted string with variables interpolated into it as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass a constant message and the values in the PSR-3 context array instead: \u0060$logger-\u003Edebug(\u0027Order {order_id} moved to {status}\u0027, [\u0027order_id\u0027 =\u003E $orderId, \u0027status\u0027 =\u003E $status])\u0060, which Monolog and every PSR-3 handler keep as fields beside the message (Monolog\u0027s PsrLogMessageProcessor fills the placeholders), or \u0060Log::debug(\u0027order moved\u0027, [\u0027order_id\u0027 =\u003E $orderId])\u0060 with Laravel\u0027s facade."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"swoole-gbs/gbs-beta.php"},"region":{"startLine":529}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebd0ccdede883ce67312f921b7e4f0acaa6858ed976c0535962e217ff70514af"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 541 is handed a double-quoted string with variables interpolated into it as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass a constant message and the values in the PSR-3 context array instead: \u0060$logger-\u003Edebug(\u0027Order {order_id} moved to {status}\u0027, [\u0027order_id\u0027 =\u003E $orderId, \u0027status\u0027 =\u003E $status])\u0060, which Monolog and every PSR-3 handler keep as fields beside the message (Monolog\u0027s PsrLogMessageProcessor fills the placeholders), or \u0060Log::debug(\u0027order moved\u0027, [\u0027order_id\u0027 =\u003E $orderId])\u0060 with Laravel\u0027s facade."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"swoole-gbs/gbs-beta.php"},"region":{"startLine":541}}}],"partialFingerprints":{"codehealthFindingId/v1":"38c54a61fc42da1427f32b60712340092bc1a7059099215c1e9d9743b3e8e832"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 546 is handed a double-quoted string with variables interpolated into it as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass a constant message and the values in the PSR-3 context array instead: \u0060$logger-\u003Edebug(\u0027Order {order_id} moved to {status}\u0027, [\u0027order_id\u0027 =\u003E $orderId, \u0027status\u0027 =\u003E $status])\u0060, which Monolog and every PSR-3 handler keep as fields beside the message (Monolog\u0027s PsrLogMessageProcessor fills the placeholders), or \u0060Log::debug(\u0027order moved\u0027, [\u0027order_id\u0027 =\u003E $orderId])\u0060 with Laravel\u0027s facade."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"swoole-gbs/gbs-beta.php"},"region":{"startLine":546}}}],"partialFingerprints":{"codehealthFindingId/v1":"71bf1b6c77018353ea15be2c21e7bb8399166ab76837f415209149af3bc3710a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 606 is handed a double-quoted string with variables interpolated into it as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass a constant message and the values in the PSR-3 context array instead: \u0060$logger-\u003Edebug(\u0027Order {order_id} moved to {status}\u0027, [\u0027order_id\u0027 =\u003E $orderId, \u0027status\u0027 =\u003E $status])\u0060, which Monolog and every PSR-3 handler keep as fields beside the message (Monolog\u0027s PsrLogMessageProcessor fills the placeholders), or \u0060Log::debug(\u0027order moved\u0027, [\u0027order_id\u0027 =\u003E $orderId])\u0060 with Laravel\u0027s facade."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"swoole-gbs/gbs-beta.php"},"region":{"startLine":606}}}],"partialFingerprints":{"codehealthFindingId/v1":"62b9318b7f872bca2f7174ff7695ef0519fa8819ab1a4db11ffa67faeba0de93"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 623 is handed a double-quoted string with variables interpolated into it as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass a constant message and the values in the PSR-3 context array instead: \u0060$logger-\u003Edebug(\u0027Order {order_id} moved to {status}\u0027, [\u0027order_id\u0027 =\u003E $orderId, \u0027status\u0027 =\u003E $status])\u0060, which Monolog and every PSR-3 handler keep as fields beside the message (Monolog\u0027s PsrLogMessageProcessor fills the placeholders), or \u0060Log::debug(\u0027order moved\u0027, [\u0027order_id\u0027 =\u003E $orderId])\u0060 with Laravel\u0027s facade."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"swoole-gbs/gbs-beta.php"},"region":{"startLine":623}}}],"partialFingerprints":{"codehealthFindingId/v1":"10cef79f654d3c7ce5c3bbe57300a2b7a71bbfdbf5a7b67294e0b8964798f64d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 715 is handed a double-quoted string with variables interpolated into it as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass a constant message and the values in the PSR-3 context array instead: \u0060$logger-\u003Edebug(\u0027Order {order_id} moved to {status}\u0027, [\u0027order_id\u0027 =\u003E $orderId, \u0027status\u0027 =\u003E $status])\u0060, which Monolog and every PSR-3 handler keep as fields beside the message (Monolog\u0027s PsrLogMessageProcessor fills the placeholders), or \u0060Log::debug(\u0027order moved\u0027, [\u0027order_id\u0027 =\u003E $orderId])\u0060 with Laravel\u0027s facade."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"swoole-gbs/gbs-beta.php"},"region":{"startLine":715}}}],"partialFingerprints":{"codehealthFindingId/v1":"10dc56ad362e9bb3a73bd41d4d0ef2cc27677a4c205f866aab51d1dea26e9170"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 774 is handed a double-quoted string with variables interpolated into it as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass a constant message and the values in the PSR-3 context array instead: \u0060$logger-\u003Edebug(\u0027Order {order_id} moved to {status}\u0027, [\u0027order_id\u0027 =\u003E $orderId, \u0027status\u0027 =\u003E $status])\u0060, which Monolog and every PSR-3 handler keep as fields beside the message (Monolog\u0027s PsrLogMessageProcessor fills the placeholders), or \u0060Log::debug(\u0027order moved\u0027, [\u0027order_id\u0027 =\u003E $orderId])\u0060 with Laravel\u0027s facade."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"swoole-gbs/gbs-beta.php"},"region":{"startLine":774}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8a3cc6f8bf7096e0e9feed59036b22a67e7c45d5d82bc8ecd29f6978b1169f3"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 816 is handed a double-quoted string with variables interpolated into it as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass a constant message and the values in the PSR-3 context array instead: \u0060$logger-\u003Edebug(\u0027Order {order_id} moved to {status}\u0027, [\u0027order_id\u0027 =\u003E $orderId, \u0027status\u0027 =\u003E $status])\u0060, which Monolog and every PSR-3 handler keep as fields beside the message (Monolog\u0027s PsrLogMessageProcessor fills the placeholders), or \u0060Log::debug(\u0027order moved\u0027, [\u0027order_id\u0027 =\u003E $orderId])\u0060 with Laravel\u0027s facade."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"swoole-gbs/gbs-beta.php"},"region":{"startLine":816}}}],"partialFingerprints":{"codehealthFindingId/v1":"51bfc0e02a3d3eed1057bee4b758cdf004744d6800a3eeb9a22a6c42545225a9"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 967 is handed a double-quoted string with variables interpolated into it as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass a constant message and the values in the PSR-3 context array instead: \u0060$logger-\u003Einfo(\u0027Order {order_id} moved to {status}\u0027, [\u0027order_id\u0027 =\u003E $orderId, \u0027status\u0027 =\u003E $status])\u0060, which Monolog and every PSR-3 handler keep as fields beside the message (Monolog\u0027s PsrLogMessageProcessor fills the placeholders), or \u0060Log::info(\u0027order moved\u0027, [\u0027order_id\u0027 =\u003E $orderId])\u0060 with Laravel\u0027s facade."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"swoole-gbs/gbs-beta.php"},"region":{"startLine":967}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b8db79f2285ce3e471a79f79ccff3b2b9c8e37c07a4b6726914d21673eeb2e1"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 974 is handed a double-quoted string with variables interpolated into it as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass a constant message and the values in the PSR-3 context array instead: \u0060$logger-\u003Edebug(\u0027Order {order_id} moved to {status}\u0027, [\u0027order_id\u0027 =\u003E $orderId, \u0027status\u0027 =\u003E $status])\u0060, which Monolog and every PSR-3 handler keep as fields beside the message (Monolog\u0027s PsrLogMessageProcessor fills the placeholders), or \u0060Log::debug(\u0027order moved\u0027, [\u0027order_id\u0027 =\u003E $orderId])\u0060 with Laravel\u0027s facade."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"swoole-gbs/gbs-beta.php"},"region":{"startLine":974}}}],"partialFingerprints":{"codehealthFindingId/v1":"973596d018595541cf12e6d344cc4dddded875e680118c87b386215a1d00a061"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 983 is handed a double-quoted string with variables interpolated into it as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass a constant message and the values in the PSR-3 context array instead: \u0060$logger-\u003Edebug(\u0027Order {order_id} moved to {status}\u0027, [\u0027order_id\u0027 =\u003E $orderId, \u0027status\u0027 =\u003E $status])\u0060, which Monolog and every PSR-3 handler keep as fields beside the message (Monolog\u0027s PsrLogMessageProcessor fills the placeholders), or \u0060Log::debug(\u0027order moved\u0027, [\u0027order_id\u0027 =\u003E $orderId])\u0060 with Laravel\u0027s facade."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"swoole-gbs/gbs-beta.php"},"region":{"startLine":983}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a0e6eb1b671327d7ceb300e778af36647ccc32943be23f3a0e31ab69a4cc285"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 987 is handed a double-quoted string with variables interpolated into it as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass a constant message and the values in the PSR-3 context array instead: \u0060$logger-\u003Einfo(\u0027Order {order_id} moved to {status}\u0027, [\u0027order_id\u0027 =\u003E $orderId, \u0027status\u0027 =\u003E $status])\u0060, which Monolog and every PSR-3 handler keep as fields beside the message (Monolog\u0027s PsrLogMessageProcessor fills the placeholders), or \u0060Log::info(\u0027order moved\u0027, [\u0027order_id\u0027 =\u003E $orderId])\u0060 with Laravel\u0027s facade."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"swoole-gbs/gbs-beta.php"},"region":{"startLine":987}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b8630ab184f006c62034ebe8768e0f36c398a789390514798623773bad1faf7"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 1059 is handed a double-quoted string with variables interpolated into it as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass a constant message and the values in the PSR-3 context array instead: \u0060$logger-\u003Edebug(\u0027Order {order_id} moved to {status}\u0027, [\u0027order_id\u0027 =\u003E $orderId, \u0027status\u0027 =\u003E $status])\u0060, which Monolog and every PSR-3 handler keep as fields beside the message (Monolog\u0027s PsrLogMessageProcessor fills the placeholders), or \u0060Log::debug(\u0027order moved\u0027, [\u0027order_id\u0027 =\u003E $orderId])\u0060 with Laravel\u0027s facade."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"swoole-gbs/gbs-beta.php"},"region":{"startLine":1059}}}],"partialFingerprints":{"codehealthFindingId/v1":"e537bfe2d746d9f99f93fbb9607d8fbf83c13b2741b536e35f7d08085a8e5e28"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 1119 is handed a double-quoted string with variables interpolated into it as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass a constant message and the values in the PSR-3 context array instead: \u0060$logger-\u003Edebug(\u0027Order {order_id} moved to {status}\u0027, [\u0027order_id\u0027 =\u003E $orderId, \u0027status\u0027 =\u003E $status])\u0060, which Monolog and every PSR-3 handler keep as fields beside the message (Monolog\u0027s PsrLogMessageProcessor fills the placeholders), or \u0060Log::debug(\u0027order moved\u0027, [\u0027order_id\u0027 =\u003E $orderId])\u0060 with Laravel\u0027s facade."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"swoole-gbs/gbs-beta.php"},"region":{"startLine":1119}}}],"partialFingerprints":{"codehealthFindingId/v1":"239329c665895afc1fc6a7bdd26ae06d577a158d31282d9cee4e1d9ca853838b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 1130 is handed a double-quoted string with variables interpolated into it as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass a constant message and the values in the PSR-3 context array instead: \u0060$logger-\u003Edebug(\u0027Order {order_id} moved to {status}\u0027, [\u0027order_id\u0027 =\u003E $orderId, \u0027status\u0027 =\u003E $status])\u0060, which Monolog and every PSR-3 handler keep as fields beside the message (Monolog\u0027s PsrLogMessageProcessor fills the placeholders), or \u0060Log::debug(\u0027order moved\u0027, [\u0027order_id\u0027 =\u003E $orderId])\u0060 with Laravel\u0027s facade."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"swoole-gbs/gbs-beta.php"},"region":{"startLine":1130}}}],"partialFingerprints":{"codehealthFindingId/v1":"0576291242a27563282e553567decbd1cbb39fd4f4abd97f17489e4d867fe9f1"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 1134 is handed a double-quoted string with variables interpolated into it as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass a constant message and the values in the PSR-3 context array instead: \u0060$logger-\u003Edebug(\u0027Order {order_id} moved to {status}\u0027, [\u0027order_id\u0027 =\u003E $orderId, \u0027status\u0027 =\u003E $status])\u0060, which Monolog and every PSR-3 handler keep as fields beside the message (Monolog\u0027s PsrLogMessageProcessor fills the placeholders), or \u0060Log::debug(\u0027order moved\u0027, [\u0027order_id\u0027 =\u003E $orderId])\u0060 with Laravel\u0027s facade."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"swoole-gbs/gbs-beta.php"},"region":{"startLine":1134}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0bd321bbe48deb1dbcad0b48602122fd9fa143b707c3515317b58d0739d8596"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 1149 is handed a double-quoted string with variables interpolated into it as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass a constant message and the values in the PSR-3 context array instead: \u0060$logger-\u003Edebug(\u0027Order {order_id} moved to {status}\u0027, [\u0027order_id\u0027 =\u003E $orderId, \u0027status\u0027 =\u003E $status])\u0060, which Monolog and every PSR-3 handler keep as fields beside the message (Monolog\u0027s PsrLogMessageProcessor fills the placeholders), or \u0060Log::debug(\u0027order moved\u0027, [\u0027order_id\u0027 =\u003E $orderId])\u0060 with Laravel\u0027s facade."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"swoole-gbs/gbs-beta.php"},"region":{"startLine":1149}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1c372e545affa91042d132e825ad51946db6f6d66c4769a7c025a22986ec91b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 1165 is handed a double-quoted string with variables interpolated into it as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass a constant message and the values in the PSR-3 context array instead: \u0060$logger-\u003Edebug(\u0027Order {order_id} moved to {status}\u0027, [\u0027order_id\u0027 =\u003E $orderId, \u0027status\u0027 =\u003E $status])\u0060, which Monolog and every PSR-3 handler keep as fields beside the message (Monolog\u0027s PsrLogMessageProcessor fills the placeholders), or \u0060Log::debug(\u0027order moved\u0027, [\u0027order_id\u0027 =\u003E $orderId])\u0060 with Laravel\u0027s facade."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"swoole-gbs/gbs-beta.php"},"region":{"startLine":1165}}}],"partialFingerprints":{"codehealthFindingId/v1":"6018bbeeef2f21542a7430095a962bb66b9c6c50008d48c43a00b1b6e3f29d9d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 1177 is handed a double-quoted string with variables interpolated into it as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass a constant message and the values in the PSR-3 context array instead: \u0060$logger-\u003Edebug(\u0027Order {order_id} moved to {status}\u0027, [\u0027order_id\u0027 =\u003E $orderId, \u0027status\u0027 =\u003E $status])\u0060, which Monolog and every PSR-3 handler keep as fields beside the message (Monolog\u0027s PsrLogMessageProcessor fills the placeholders), or \u0060Log::debug(\u0027order moved\u0027, [\u0027order_id\u0027 =\u003E $orderId])\u0060 with Laravel\u0027s facade."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"swoole-gbs/gbs-beta.php"},"region":{"startLine":1177}}}],"partialFingerprints":{"codehealthFindingId/v1":"64ca11b83913f31a1a1aead03894eb56a9a75a634c2bc009b3d51dd013720a19"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 1194 is handed a double-quoted string with variables interpolated into it as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass a constant message and the values in the PSR-3 context array instead: \u0060$logger-\u003Edebug(\u0027Order {order_id} moved to {status}\u0027, [\u0027order_id\u0027 =\u003E $orderId, \u0027status\u0027 =\u003E $status])\u0060, which Monolog and every PSR-3 handler keep as fields beside the message (Monolog\u0027s PsrLogMessageProcessor fills the placeholders), or \u0060Log::debug(\u0027order moved\u0027, [\u0027order_id\u0027 =\u003E $orderId])\u0060 with Laravel\u0027s facade."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"swoole-gbs/gbs-beta.php"},"region":{"startLine":1194}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f4ae470aab85b99e9571ef32573185aa58c6eac3de419a480f163e18973b946"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 1206 is handed a double-quoted string with variables interpolated into it as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass a constant message and the values in the PSR-3 context array instead: \u0060$logger-\u003Edebug(\u0027Order {order_id} moved to {status}\u0027, [\u0027order_id\u0027 =\u003E $orderId, \u0027status\u0027 =\u003E $status])\u0060, which Monolog and every PSR-3 handler keep as fields beside the message (Monolog\u0027s PsrLogMessageProcessor fills the placeholders), or \u0060Log::debug(\u0027order moved\u0027, [\u0027order_id\u0027 =\u003E $orderId])\u0060 with Laravel\u0027s facade."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"swoole-gbs/gbs-beta.php"},"region":{"startLine":1206}}}],"partialFingerprints":{"codehealthFindingId/v1":"0797427f31defbf65597777fffc200239b58e1c398660e006c238126c6782b62"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 1276 is handed a double-quoted string with variables interpolated into it as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass a constant message and the values in the PSR-3 context array instead: \u0060$logger-\u003Edebug(\u0027Order {order_id} moved to {status}\u0027, [\u0027order_id\u0027 =\u003E $orderId, \u0027status\u0027 =\u003E $status])\u0060, which Monolog and every PSR-3 handler keep as fields beside the message (Monolog\u0027s PsrLogMessageProcessor fills the placeholders), or \u0060Log::debug(\u0027order moved\u0027, [\u0027order_id\u0027 =\u003E $orderId])\u0060 with Laravel\u0027s facade."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"swoole-gbs/gbs-beta.php"},"region":{"startLine":1276}}}],"partialFingerprints":{"codehealthFindingId/v1":"431b6380af29b42ccdcce75771083a7595cfc98e66290447d5e5b3dd562154e3"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 1280 is handed a double-quoted string with variables interpolated into it as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass a constant message and the values in the PSR-3 context array instead: \u0060$logger-\u003Edebug(\u0027Order {order_id} moved to {status}\u0027, [\u0027order_id\u0027 =\u003E $orderId, \u0027status\u0027 =\u003E $status])\u0060, which Monolog and every PSR-3 handler keep as fields beside the message (Monolog\u0027s PsrLogMessageProcessor fills the placeholders), or \u0060Log::debug(\u0027order moved\u0027, [\u0027order_id\u0027 =\u003E $orderId])\u0060 with Laravel\u0027s facade."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"swoole-gbs/gbs-beta.php"},"region":{"startLine":1280}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cbf020fcdf68c044938285ecd7697f253a1bb43c94aad0b0dbe2e632b1d1422"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 1284 is handed a double-quoted string with variables interpolated into it as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass a constant message and the values in the PSR-3 context array instead: \u0060$logger-\u003Edebug(\u0027Order {order_id} moved to {status}\u0027, [\u0027order_id\u0027 =\u003E $orderId, \u0027status\u0027 =\u003E $status])\u0060, which Monolog and every PSR-3 handler keep as fields beside the message (Monolog\u0027s PsrLogMessageProcessor fills the placeholders), or \u0060Log::debug(\u0027order moved\u0027, [\u0027order_id\u0027 =\u003E $orderId])\u0060 with Laravel\u0027s facade."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"swoole-gbs/gbs-beta.php"},"region":{"startLine":1284}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee2590b4679affb39454809c772caea13ce616ee2437ef82cb17731db0cfcf0f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 1376 is handed a double-quoted string with variables interpolated into it as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass a constant message and the values in the PSR-3 context array instead: \u0060$logger-\u003Edebug(\u0027Order {order_id} moved to {status}\u0027, [\u0027order_id\u0027 =\u003E $orderId, \u0027status\u0027 =\u003E $status])\u0060, which Monolog and every PSR-3 handler keep as fields beside the message (Monolog\u0027s PsrLogMessageProcessor fills the placeholders), or \u0060Log::debug(\u0027order moved\u0027, [\u0027order_id\u0027 =\u003E $orderId])\u0060 with Laravel\u0027s facade."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"swoole-gbs/gbs-beta.php"},"region":{"startLine":1376}}}],"partialFingerprints":{"codehealthFindingId/v1":"19e821f33641b4eca84b771702e6008698fea9f1c4f82397cc658bef37ee9517"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 1384 is handed a double-quoted string with variables interpolated into it as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass a constant message and the values in the PSR-3 context array instead: \u0060$logger-\u003Edebug(\u0027Order {order_id} moved to {status}\u0027, [\u0027order_id\u0027 =\u003E $orderId, \u0027status\u0027 =\u003E $status])\u0060, which Monolog and every PSR-3 handler keep as fields beside the message (Monolog\u0027s PsrLogMessageProcessor fills the placeholders), or \u0060Log::debug(\u0027order moved\u0027, [\u0027order_id\u0027 =\u003E $orderId])\u0060 with Laravel\u0027s facade."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"swoole-gbs/gbs-beta.php"},"region":{"startLine":1384}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea0bb159132e2644eda2b32058f0162838a4282b976ae2c3f13f8ed56baedd96"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 1489 is handed a double-quoted string with variables interpolated into it as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass a constant message and the values in the PSR-3 context array instead: \u0060$logger-\u003Edebug(\u0027Order {order_id} moved to {status}\u0027, [\u0027order_id\u0027 =\u003E $orderId, \u0027status\u0027 =\u003E $status])\u0060, which Monolog and every PSR-3 handler keep as fields beside the message (Monolog\u0027s PsrLogMessageProcessor fills the placeholders), or \u0060Log::debug(\u0027order moved\u0027, [\u0027order_id\u0027 =\u003E $orderId])\u0060 with Laravel\u0027s facade."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"swoole-gbs/gbs-beta.php"},"region":{"startLine":1489}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c356a76fc0261ca6d4e5ba0024d8622ab14cc1f40c0aace808c3b730ff3e953"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 1521 is handed a double-quoted string with variables interpolated into it as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass a constant message and the values in the PSR-3 context array instead: \u0060$logger-\u003Edebug(\u0027Order {order_id} moved to {status}\u0027, [\u0027order_id\u0027 =\u003E $orderId, \u0027status\u0027 =\u003E $status])\u0060, which Monolog and every PSR-3 handler keep as fields beside the message (Monolog\u0027s PsrLogMessageProcessor fills the placeholders), or \u0060Log::debug(\u0027order moved\u0027, [\u0027order_id\u0027 =\u003E $orderId])\u0060 with Laravel\u0027s facade."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"swoole-gbs/gbs-beta.php"},"region":{"startLine":1521}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e901c311cb554e97585299f95b1e8f8ba4ec105bbf4f1f230d51794ca924485"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 1536 is handed a double-quoted string with variables interpolated into it as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass a constant message and the values in the PSR-3 context array instead: \u0060$logger-\u003Edebug(\u0027Order {order_id} moved to {status}\u0027, [\u0027order_id\u0027 =\u003E $orderId, \u0027status\u0027 =\u003E $status])\u0060, which Monolog and every PSR-3 handler keep as fields beside the message (Monolog\u0027s PsrLogMessageProcessor fills the placeholders), or \u0060Log::debug(\u0027order moved\u0027, [\u0027order_id\u0027 =\u003E $orderId])\u0060 with Laravel\u0027s facade."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"swoole-gbs/gbs-beta.php"},"region":{"startLine":1536}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa650603d8457e2251d1ad9ec26c411fcdc9f8ad958231c31dfb0c424ddb88bc"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 1822 is handed a double-quoted string with variables interpolated into it as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass a constant message and the values in the PSR-3 context array instead: \u0060$logger-\u003Edebug(\u0027Order {order_id} moved to {status}\u0027, [\u0027order_id\u0027 =\u003E $orderId, \u0027status\u0027 =\u003E $status])\u0060, which Monolog and every PSR-3 handler keep as fields beside the message (Monolog\u0027s PsrLogMessageProcessor fills the placeholders), or \u0060Log::debug(\u0027order moved\u0027, [\u0027order_id\u0027 =\u003E $orderId])\u0060 with Laravel\u0027s facade."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"swoole-gbs/gbs-beta.php"},"region":{"startLine":1822}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee75f8a85bae4c45e0337241f28b24a5aef91859e497e1768adc8e2efb7b9a02"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 1823 is handed a double-quoted string with variables interpolated into it as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass a constant message and the values in the PSR-3 context array instead: \u0060$logger-\u003Edebug(\u0027Order {order_id} moved to {status}\u0027, [\u0027order_id\u0027 =\u003E $orderId, \u0027status\u0027 =\u003E $status])\u0060, which Monolog and every PSR-3 handler keep as fields beside the message (Monolog\u0027s PsrLogMessageProcessor fills the placeholders), or \u0060Log::debug(\u0027order moved\u0027, [\u0027order_id\u0027 =\u003E $orderId])\u0060 with Laravel\u0027s facade."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"swoole-gbs/gbs-beta.php"},"region":{"startLine":1823}}}],"partialFingerprints":{"codehealthFindingId/v1":"eecc523f1fd53fa5687082b2b5c4f793c31ed363d032425feee27d10b60d7faf"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 1824 is handed a double-quoted string with variables interpolated into it as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass a constant message and the values in the PSR-3 context array instead: \u0060$logger-\u003Edebug(\u0027Order {order_id} moved to {status}\u0027, [\u0027order_id\u0027 =\u003E $orderId, \u0027status\u0027 =\u003E $status])\u0060, which Monolog and every PSR-3 handler keep as fields beside the message (Monolog\u0027s PsrLogMessageProcessor fills the placeholders), or \u0060Log::debug(\u0027order moved\u0027, [\u0027order_id\u0027 =\u003E $orderId])\u0060 with Laravel\u0027s facade."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"swoole-gbs/gbs-beta.php"},"region":{"startLine":1824}}}],"partialFingerprints":{"codehealthFindingId/v1":"98ed84389e39ae05ed9d7004b62d88d2a571e4a05326f661298d8f996e432bcb"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 1825 is handed a double-quoted string with variables interpolated into it as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass a constant message and the values in the PSR-3 context array instead: \u0060$logger-\u003Edebug(\u0027Order {order_id} moved to {status}\u0027, [\u0027order_id\u0027 =\u003E $orderId, \u0027status\u0027 =\u003E $status])\u0060, which Monolog and every PSR-3 handler keep as fields beside the message (Monolog\u0027s PsrLogMessageProcessor fills the placeholders), or \u0060Log::debug(\u0027order moved\u0027, [\u0027order_id\u0027 =\u003E $orderId])\u0060 with Laravel\u0027s facade."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"swoole-gbs/gbs-beta.php"},"region":{"startLine":1825}}}],"partialFingerprints":{"codehealthFindingId/v1":"110145d6b1da54d8f5f37efe6474119e507e5768de7eb800bc9318932d9b0e3b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 1826 is handed a double-quoted string with variables interpolated into it as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass a constant message and the values in the PSR-3 context array instead: \u0060$logger-\u003Edebug(\u0027Order {order_id} moved to {status}\u0027, [\u0027order_id\u0027 =\u003E $orderId, \u0027status\u0027 =\u003E $status])\u0060, which Monolog and every PSR-3 handler keep as fields beside the message (Monolog\u0027s PsrLogMessageProcessor fills the placeholders), or \u0060Log::debug(\u0027order moved\u0027, [\u0027order_id\u0027 =\u003E $orderId])\u0060 with Laravel\u0027s facade."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"swoole-gbs/gbs-beta.php"},"region":{"startLine":1826}}}],"partialFingerprints":{"codehealthFindingId/v1":"231a0402e970101a09bb1766baa60a37141fd1a9c2273122e3be22f1d93f46f8"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 1827 is handed a double-quoted string with variables interpolated into it as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass a constant message and the values in the PSR-3 context array instead: \u0060$logger-\u003Edebug(\u0027Order {order_id} moved to {status}\u0027, [\u0027order_id\u0027 =\u003E $orderId, \u0027status\u0027 =\u003E $status])\u0060, which Monolog and every PSR-3 handler keep as fields beside the message (Monolog\u0027s PsrLogMessageProcessor fills the placeholders), or \u0060Log::debug(\u0027order moved\u0027, [\u0027order_id\u0027 =\u003E $orderId])\u0060 with Laravel\u0027s facade."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"swoole-gbs/gbs-beta.php"},"region":{"startLine":1827}}}],"partialFingerprints":{"codehealthFindingId/v1":"17405ef2d05e2668115c0e5bd5984e8531304ac62e14bc1b8d3463b4d10e7af6"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 1884 is handed a double-quoted string with variables interpolated into it as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass a constant message and the values in the PSR-3 context array instead: \u0060$logger-\u003Edebug(\u0027Order {order_id} moved to {status}\u0027, [\u0027order_id\u0027 =\u003E $orderId, \u0027status\u0027 =\u003E $status])\u0060, which Monolog and every PSR-3 handler keep as fields beside the message (Monolog\u0027s PsrLogMessageProcessor fills the placeholders), or \u0060Log::debug(\u0027order moved\u0027, [\u0027order_id\u0027 =\u003E $orderId])\u0060 with Laravel\u0027s facade."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"swoole-gbs/gbs-beta.php"},"region":{"startLine":1884}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc423161bdc3fc12b99fad6e5b57a6d59e2ba36a735ffd8e6ef3448a3382b8f3"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 1982 is handed a double-quoted string with variables interpolated into it as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass a constant message and the values in the PSR-3 context array instead: \u0060$logger-\u003Edebug(\u0027Order {order_id} moved to {status}\u0027, [\u0027order_id\u0027 =\u003E $orderId, \u0027status\u0027 =\u003E $status])\u0060, which Monolog and every PSR-3 handler keep as fields beside the message (Monolog\u0027s PsrLogMessageProcessor fills the placeholders), or \u0060Log::debug(\u0027order moved\u0027, [\u0027order_id\u0027 =\u003E $orderId])\u0060 with Laravel\u0027s facade."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"swoole-gbs/gbs-beta.php"},"region":{"startLine":1982}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1a7e4da0d765360377317e11f6e9c73382eef42133933bc6980aab236ba33fc"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 1984 is handed a double-quoted string with variables interpolated into it as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass a constant message and the values in the PSR-3 context array instead: \u0060$logger-\u003Edebug(\u0027Order {order_id} moved to {status}\u0027, [\u0027order_id\u0027 =\u003E $orderId, \u0027status\u0027 =\u003E $status])\u0060, which Monolog and every PSR-3 handler keep as fields beside the message (Monolog\u0027s PsrLogMessageProcessor fills the placeholders), or \u0060Log::debug(\u0027order moved\u0027, [\u0027order_id\u0027 =\u003E $orderId])\u0060 with Laravel\u0027s facade."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"swoole-gbs/gbs-beta.php"},"region":{"startLine":1984}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e2ea7008fe06ef3f2b165794e0b7900e5b7bb743a633023efd5092817860de2"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 2004 is handed a double-quoted string with variables interpolated into it as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass a constant message and the values in the PSR-3 context array instead: \u0060$logger-\u003Edebug(\u0027Order {order_id} moved to {status}\u0027, [\u0027order_id\u0027 =\u003E $orderId, \u0027status\u0027 =\u003E $status])\u0060, which Monolog and every PSR-3 handler keep as fields beside the message (Monolog\u0027s PsrLogMessageProcessor fills the placeholders), or \u0060Log::debug(\u0027order moved\u0027, [\u0027order_id\u0027 =\u003E $orderId])\u0060 with Laravel\u0027s facade."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"swoole-gbs/gbs-beta.php"},"region":{"startLine":2004}}}],"partialFingerprints":{"codehealthFindingId/v1":"2611372ab10012f1efabc7066d1bf583066597b5bd7750325daae80ef958ee30"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 2005 is handed a double-quoted string with variables interpolated into it as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass a constant message and the values in the PSR-3 context array instead: \u0060$logger-\u003Edebug(\u0027Order {order_id} moved to {status}\u0027, [\u0027order_id\u0027 =\u003E $orderId, \u0027status\u0027 =\u003E $status])\u0060, which Monolog and every PSR-3 handler keep as fields beside the message (Monolog\u0027s PsrLogMessageProcessor fills the placeholders), or \u0060Log::debug(\u0027order moved\u0027, [\u0027order_id\u0027 =\u003E $orderId])\u0060 with Laravel\u0027s facade."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"swoole-gbs/gbs-beta.php"},"region":{"startLine":2005}}}],"partialFingerprints":{"codehealthFindingId/v1":"d04de6c4cbe0a3f75587fd0f5851bef728e3956e67a5852f16fe1284e836762b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 2015 is handed a double-quoted string with variables interpolated into it as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass a constant message and the values in the PSR-3 context array instead: \u0060$logger-\u003Edebug(\u0027Order {order_id} moved to {status}\u0027, [\u0027order_id\u0027 =\u003E $orderId, \u0027status\u0027 =\u003E $status])\u0060, which Monolog and every PSR-3 handler keep as fields beside the message (Monolog\u0027s PsrLogMessageProcessor fills the placeholders), or \u0060Log::debug(\u0027order moved\u0027, [\u0027order_id\u0027 =\u003E $orderId])\u0060 with Laravel\u0027s facade."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"swoole-gbs/gbs-beta.php"},"region":{"startLine":2015}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b2c60a5ba206960e9ddb402cefa5a3d0a83ec9e6c9c0635bb32d5eeb16d6255"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 2030 is handed a double-quoted string with variables interpolated into it as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass a constant message and the values in the PSR-3 context array instead: \u0060$logger-\u003Eerror(\u0027Order {order_id} moved to {status}\u0027, [\u0027order_id\u0027 =\u003E $orderId, \u0027status\u0027 =\u003E $status])\u0060, which Monolog and every PSR-3 handler keep as fields beside the message (Monolog\u0027s PsrLogMessageProcessor fills the placeholders), or \u0060Log::error(\u0027order moved\u0027, [\u0027order_id\u0027 =\u003E $orderId])\u0060 with Laravel\u0027s facade."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"swoole-gbs/gbs-beta.php"},"region":{"startLine":2030}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f69522d9833c5e4bd72e052f2e99255f7e0eb09d57da1327963dc3520e50677"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 2037 is handed a double-quoted string with variables interpolated into it as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass a constant message and the values in the PSR-3 context array instead: \u0060$logger-\u003Eerror(\u0027Order {order_id} moved to {status}\u0027, [\u0027order_id\u0027 =\u003E $orderId, \u0027status\u0027 =\u003E $status])\u0060, which Monolog and every PSR-3 handler keep as fields beside the message (Monolog\u0027s PsrLogMessageProcessor fills the placeholders), or \u0060Log::error(\u0027order moved\u0027, [\u0027order_id\u0027 =\u003E $orderId])\u0060 with Laravel\u0027s facade."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"swoole-gbs/gbs-beta.php"},"region":{"startLine":2037}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7b7a97b22f171349f3f8123e56b1e0a42094bceefeba71eb1431bf12d0c9e22"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 2047 is handed a double-quoted string with variables interpolated into it as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass a constant message and the values in the PSR-3 context array instead: \u0060$logger-\u003Edebug(\u0027Order {order_id} moved to {status}\u0027, [\u0027order_id\u0027 =\u003E $orderId, \u0027status\u0027 =\u003E $status])\u0060, which Monolog and every PSR-3 handler keep as fields beside the message (Monolog\u0027s PsrLogMessageProcessor fills the placeholders), or \u0060Log::debug(\u0027order moved\u0027, [\u0027order_id\u0027 =\u003E $orderId])\u0060 with Laravel\u0027s facade."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"swoole-gbs/gbs-beta.php"},"region":{"startLine":2047}}}],"partialFingerprints":{"codehealthFindingId/v1":"f83b2e2fabaf1ca7db97b7fc888e565b0fefa0fecbcd5416a40788b680ab7707"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 2058 is handed a double-quoted string with variables interpolated into it as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass a constant message and the values in the PSR-3 context array instead: \u0060$logger-\u003Edebug(\u0027Order {order_id} moved to {status}\u0027, [\u0027order_id\u0027 =\u003E $orderId, \u0027status\u0027 =\u003E $status])\u0060, which Monolog and every PSR-3 handler keep as fields beside the message (Monolog\u0027s PsrLogMessageProcessor fills the placeholders), or \u0060Log::debug(\u0027order moved\u0027, [\u0027order_id\u0027 =\u003E $orderId])\u0060 with Laravel\u0027s facade."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"swoole-gbs/gbs-beta.php"},"region":{"startLine":2058}}}],"partialFingerprints":{"codehealthFindingId/v1":"0da7e6fe9403a74b3aae6f5909b0526673fbe3c6f66be0ef32584b4bd085bbf4"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 2060 is handed a double-quoted string with variables interpolated into it as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass a constant message and the values in the PSR-3 context array instead: \u0060$logger-\u003Eerror(\u0027Order {order_id} moved to {status}\u0027, [\u0027order_id\u0027 =\u003E $orderId, \u0027status\u0027 =\u003E $status])\u0060, which Monolog and every PSR-3 handler keep as fields beside the message (Monolog\u0027s PsrLogMessageProcessor fills the placeholders), or \u0060Log::error(\u0027order moved\u0027, [\u0027order_id\u0027 =\u003E $orderId])\u0060 with Laravel\u0027s facade."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"swoole-gbs/gbs-beta.php"},"region":{"startLine":2060}}}],"partialFingerprints":{"codehealthFindingId/v1":"81bbbafdec4fd6386b8f02f1eb91441b9198d149c56e470c648e31bb58e37f34"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 2076 is handed a double-quoted string with variables interpolated into it as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass a constant message and the values in the PSR-3 context array instead: \u0060$logger-\u003Edebug(\u0027Order {order_id} moved to {status}\u0027, [\u0027order_id\u0027 =\u003E $orderId, \u0027status\u0027 =\u003E $status])\u0060, which Monolog and every PSR-3 handler keep as fields beside the message (Monolog\u0027s PsrLogMessageProcessor fills the placeholders), or \u0060Log::debug(\u0027order moved\u0027, [\u0027order_id\u0027 =\u003E $orderId])\u0060 with Laravel\u0027s facade."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"swoole-gbs/gbs-beta.php"},"region":{"startLine":2076}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c44c0776794dd901a2f45a569b88880791d29f33d1222063705e5aaadaaab32"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 2083 is handed a double-quoted string with variables interpolated into it as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass a constant message and the values in the PSR-3 context array instead: \u0060$logger-\u003Eerror(\u0027Order {order_id} moved to {status}\u0027, [\u0027order_id\u0027 =\u003E $orderId, \u0027status\u0027 =\u003E $status])\u0060, which Monolog and every PSR-3 handler keep as fields beside the message (Monolog\u0027s PsrLogMessageProcessor fills the placeholders), or \u0060Log::error(\u0027order moved\u0027, [\u0027order_id\u0027 =\u003E $orderId])\u0060 with Laravel\u0027s facade."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"swoole-gbs/gbs-beta.php"},"region":{"startLine":2083}}}],"partialFingerprints":{"codehealthFindingId/v1":"36f1b682b1de223d1f9c341c68363b7263338cf595af326b3ecbda3e10069f69"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 2095 is handed a double-quoted string with variables interpolated into it as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass a constant message and the values in the PSR-3 context array instead: \u0060$logger-\u003Eerror(\u0027Order {order_id} moved to {status}\u0027, [\u0027order_id\u0027 =\u003E $orderId, \u0027status\u0027 =\u003E $status])\u0060, which Monolog and every PSR-3 handler keep as fields beside the message (Monolog\u0027s PsrLogMessageProcessor fills the placeholders), or \u0060Log::error(\u0027order moved\u0027, [\u0027order_id\u0027 =\u003E $orderId])\u0060 with Laravel\u0027s facade."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"swoole-gbs/gbs-beta.php"},"region":{"startLine":2095}}}],"partialFingerprints":{"codehealthFindingId/v1":"01fa5854c4a9a40649b965bd771c6b19d7b0c004ce85e398426c80cde691cb20"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 2107 is handed a double-quoted string with variables interpolated into it as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass a constant message and the values in the PSR-3 context array instead: \u0060$logger-\u003Edebug(\u0027Order {order_id} moved to {status}\u0027, [\u0027order_id\u0027 =\u003E $orderId, \u0027status\u0027 =\u003E $status])\u0060, which Monolog and every PSR-3 handler keep as fields beside the message (Monolog\u0027s PsrLogMessageProcessor fills the placeholders), or \u0060Log::debug(\u0027order moved\u0027, [\u0027order_id\u0027 =\u003E $orderId])\u0060 with Laravel\u0027s facade."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"swoole-gbs/gbs-beta.php"},"region":{"startLine":2107}}}],"partialFingerprints":{"codehealthFindingId/v1":"c82079a9f31124829a44649fd554a9fee0ba25df69639127d8bcecc0f0d16f54"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 2165 is handed a double-quoted string with variables interpolated into it as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass a constant message and the values in the PSR-3 context array instead: \u0060$logger-\u003Edebug(\u0027Order {order_id} moved to {status}\u0027, [\u0027order_id\u0027 =\u003E $orderId, \u0027status\u0027 =\u003E $status])\u0060, which Monolog and every PSR-3 handler keep as fields beside the message (Monolog\u0027s PsrLogMessageProcessor fills the placeholders), or \u0060Log::debug(\u0027order moved\u0027, [\u0027order_id\u0027 =\u003E $orderId])\u0060 with Laravel\u0027s facade."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"swoole-gbs/gbs-beta.php"},"region":{"startLine":2165}}}],"partialFingerprints":{"codehealthFindingId/v1":"f686fd47db6e7e4aa8843cbe083ba21b7aa0bb356ec8d7264baae916179a8f4c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 2167 is handed a double-quoted string with variables interpolated into it as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass a constant message and the values in the PSR-3 context array instead: \u0060$logger-\u003Edebug(\u0027Order {order_id} moved to {status}\u0027, [\u0027order_id\u0027 =\u003E $orderId, \u0027status\u0027 =\u003E $status])\u0060, which Monolog and every PSR-3 handler keep as fields beside the message (Monolog\u0027s PsrLogMessageProcessor fills the placeholders), or \u0060Log::debug(\u0027order moved\u0027, [\u0027order_id\u0027 =\u003E $orderId])\u0060 with Laravel\u0027s facade."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"swoole-gbs/gbs-beta.php"},"region":{"startLine":2167}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bbbee3efe1411acae3fba3062277a684b887d4f4e1805a427be53102bcb88bb"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 2172 is handed a double-quoted string with variables interpolated into it as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass a constant message and the values in the PSR-3 context array instead: \u0060$logger-\u003Edebug(\u0027Order {order_id} moved to {status}\u0027, [\u0027order_id\u0027 =\u003E $orderId, \u0027status\u0027 =\u003E $status])\u0060, which Monolog and every PSR-3 handler keep as fields beside the message (Monolog\u0027s PsrLogMessageProcessor fills the placeholders), or \u0060Log::debug(\u0027order moved\u0027, [\u0027order_id\u0027 =\u003E $orderId])\u0060 with Laravel\u0027s facade."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"swoole-gbs/gbs-beta.php"},"region":{"startLine":2172}}}],"partialFingerprints":{"codehealthFindingId/v1":"87cf4579c875bdb2545dca18fb31aa0754877bb11fb68bd89d850852250d4dc4"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 2178 is handed a double-quoted string with variables interpolated into it as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass a constant message and the values in the PSR-3 context array instead: \u0060$logger-\u003Edebug(\u0027Order {order_id} moved to {status}\u0027, [\u0027order_id\u0027 =\u003E $orderId, \u0027status\u0027 =\u003E $status])\u0060, which Monolog and every PSR-3 handler keep as fields beside the message (Monolog\u0027s PsrLogMessageProcessor fills the placeholders), or \u0060Log::debug(\u0027order moved\u0027, [\u0027order_id\u0027 =\u003E $orderId])\u0060 with Laravel\u0027s facade."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"swoole-gbs/gbs-beta.php"},"region":{"startLine":2178}}}],"partialFingerprints":{"codehealthFindingId/v1":"6252afcecff58caa1dc38a11c0fc3f1c07ac4bf3b7f058f4fc06a9b589f481d9"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 2237 is handed a double-quoted string with variables interpolated into it as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass a constant message and the values in the PSR-3 context array instead: \u0060$logger-\u003Edebug(\u0027Order {order_id} moved to {status}\u0027, [\u0027order_id\u0027 =\u003E $orderId, \u0027status\u0027 =\u003E $status])\u0060, which Monolog and every PSR-3 handler keep as fields beside the message (Monolog\u0027s PsrLogMessageProcessor fills the placeholders), or \u0060Log::debug(\u0027order moved\u0027, [\u0027order_id\u0027 =\u003E $orderId])\u0060 with Laravel\u0027s facade."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"swoole-gbs/gbs-beta.php"},"region":{"startLine":2237}}}],"partialFingerprints":{"codehealthFindingId/v1":"42b8393f21e2d4c9d8f3f640c71c886486fc2c0aea3d920463b1ccc4755ad04f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 2280 is handed a double-quoted string with variables interpolated into it as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass a constant message and the values in the PSR-3 context array instead: \u0060$logger-\u003Edebug(\u0027Order {order_id} moved to {status}\u0027, [\u0027order_id\u0027 =\u003E $orderId, \u0027status\u0027 =\u003E $status])\u0060, which Monolog and every PSR-3 handler keep as fields beside the message (Monolog\u0027s PsrLogMessageProcessor fills the placeholders), or \u0060Log::debug(\u0027order moved\u0027, [\u0027order_id\u0027 =\u003E $orderId])\u0060 with Laravel\u0027s facade."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"swoole-gbs/gbs-beta.php"},"region":{"startLine":2280}}}],"partialFingerprints":{"codehealthFindingId/v1":"59a596401aab4836585e40cccd84060ece19299c1aa6d2bc2e24a9a624e7227d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 2326 is handed a double-quoted string with variables interpolated into it as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass a constant message and the values in the PSR-3 context array instead: \u0060$logger-\u003Edebug(\u0027Order {order_id} moved to {status}\u0027, [\u0027order_id\u0027 =\u003E $orderId, \u0027status\u0027 =\u003E $status])\u0060, which Monolog and every PSR-3 handler keep as fields beside the message (Monolog\u0027s PsrLogMessageProcessor fills the placeholders), or \u0060Log::debug(\u0027order moved\u0027, [\u0027order_id\u0027 =\u003E $orderId])\u0060 with Laravel\u0027s facade."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"swoole-gbs/gbs-beta.php"},"region":{"startLine":2326}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c30c7af517e2f1cba4718a5dd364d6eeabd9582ec410a99dcc1a78d989d5317"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 2375 is handed a double-quoted string with variables interpolated into it as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass a constant message and the values in the PSR-3 context array instead: \u0060$logger-\u003Edebug(\u0027Order {order_id} moved to {status}\u0027, [\u0027order_id\u0027 =\u003E $orderId, \u0027status\u0027 =\u003E $status])\u0060, which Monolog and every PSR-3 handler keep as fields beside the message (Monolog\u0027s PsrLogMessageProcessor fills the placeholders), or \u0060Log::debug(\u0027order moved\u0027, [\u0027order_id\u0027 =\u003E $orderId])\u0060 with Laravel\u0027s facade."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"swoole-gbs/gbs-beta.php"},"region":{"startLine":2375}}}],"partialFingerprints":{"codehealthFindingId/v1":"104502b259d08a89c9f2ce85bd8cf18e4877530a262712e6cfdee6932cf55a03"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 2408 is handed a double-quoted string with variables interpolated into it as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass a constant message and the values in the PSR-3 context array instead: \u0060$logger-\u003Edebug(\u0027Order {order_id} moved to {status}\u0027, [\u0027order_id\u0027 =\u003E $orderId, \u0027status\u0027 =\u003E $status])\u0060, which Monolog and every PSR-3 handler keep as fields beside the message (Monolog\u0027s PsrLogMessageProcessor fills the placeholders), or \u0060Log::debug(\u0027order moved\u0027, [\u0027order_id\u0027 =\u003E $orderId])\u0060 with Laravel\u0027s facade."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"swoole-gbs/gbs-beta.php"},"region":{"startLine":2408}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5960e01858031932d6c9ee254c6ae71e6e42eee6b1d2ff2b4f5c67fff00c1ce"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 2415 is handed a double-quoted string with variables interpolated into it as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass a constant message and the values in the PSR-3 context array instead: \u0060$logger-\u003Edebug(\u0027Order {order_id} moved to {status}\u0027, [\u0027order_id\u0027 =\u003E $orderId, \u0027status\u0027 =\u003E $status])\u0060, which Monolog and every PSR-3 handler keep as fields beside the message (Monolog\u0027s PsrLogMessageProcessor fills the placeholders), or \u0060Log::debug(\u0027order moved\u0027, [\u0027order_id\u0027 =\u003E $orderId])\u0060 with Laravel\u0027s facade."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"swoole-gbs/gbs-beta.php"},"region":{"startLine":2415}}}],"partialFingerprints":{"codehealthFindingId/v1":"946bfb3d76f4f7137c94e7ab5bc4627ae9e338ac81f7636ae135a75584d51c84"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 2470 is handed a double-quoted string with variables interpolated into it as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass a constant message and the values in the PSR-3 context array instead: \u0060$logger-\u003Edebug(\u0027Order {order_id} moved to {status}\u0027, [\u0027order_id\u0027 =\u003E $orderId, \u0027status\u0027 =\u003E $status])\u0060, which Monolog and every PSR-3 handler keep as fields beside the message (Monolog\u0027s PsrLogMessageProcessor fills the placeholders), or \u0060Log::debug(\u0027order moved\u0027, [\u0027order_id\u0027 =\u003E $orderId])\u0060 with Laravel\u0027s facade."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"swoole-gbs/gbs-beta.php"},"region":{"startLine":2470}}}],"partialFingerprints":{"codehealthFindingId/v1":"2170b674c0e50b15f949b65dec560eb2aaba4080ea87a37533948a44fa22e8b5"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 2480 is handed a double-quoted string with variables interpolated into it as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass a constant message and the values in the PSR-3 context array instead: \u0060$logger-\u003Edebug(\u0027Order {order_id} moved to {status}\u0027, [\u0027order_id\u0027 =\u003E $orderId, \u0027status\u0027 =\u003E $status])\u0060, which Monolog and every PSR-3 handler keep as fields beside the message (Monolog\u0027s PsrLogMessageProcessor fills the placeholders), or \u0060Log::debug(\u0027order moved\u0027, [\u0027order_id\u0027 =\u003E $orderId])\u0060 with Laravel\u0027s facade."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"swoole-gbs/gbs-beta.php"},"region":{"startLine":2480}}}],"partialFingerprints":{"codehealthFindingId/v1":"9008ffa79024fd3771f73458c20d934d404fb02d5ea9201aa103f8331c75dba8"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 2514 is handed a double-quoted string with variables interpolated into it as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass a constant message and the values in the PSR-3 context array instead: \u0060$logger-\u003Edebug(\u0027Order {order_id} moved to {status}\u0027, [\u0027order_id\u0027 =\u003E $orderId, \u0027status\u0027 =\u003E $status])\u0060, which Monolog and every PSR-3 handler keep as fields beside the message (Monolog\u0027s PsrLogMessageProcessor fills the placeholders), or \u0060Log::debug(\u0027order moved\u0027, [\u0027order_id\u0027 =\u003E $orderId])\u0060 with Laravel\u0027s facade."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"swoole-gbs/gbs-beta.php"},"region":{"startLine":2514}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb5ad3feeecf754a9584990ca647d4d595434eb7a4ec06d1050d7a37e5142f77"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 2556 is handed a double-quoted string with variables interpolated into it as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass a constant message and the values in the PSR-3 context array instead: \u0060$logger-\u003Edebug(\u0027Order {order_id} moved to {status}\u0027, [\u0027order_id\u0027 =\u003E $orderId, \u0027status\u0027 =\u003E $status])\u0060, which Monolog and every PSR-3 handler keep as fields beside the message (Monolog\u0027s PsrLogMessageProcessor fills the placeholders), or \u0060Log::debug(\u0027order moved\u0027, [\u0027order_id\u0027 =\u003E $orderId])\u0060 with Laravel\u0027s facade."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"swoole-gbs/gbs-beta.php"},"region":{"startLine":2556}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc8239962e9073132b59634b4ff8ebafda5d6329874d2d0163099fb790b02963"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 2588 is handed a double-quoted string with variables interpolated into it as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass a constant message and the values in the PSR-3 context array instead: \u0060$logger-\u003Edebug(\u0027Order {order_id} moved to {status}\u0027, [\u0027order_id\u0027 =\u003E $orderId, \u0027status\u0027 =\u003E $status])\u0060, which Monolog and every PSR-3 handler keep as fields beside the message (Monolog\u0027s PsrLogMessageProcessor fills the placeholders), or \u0060Log::debug(\u0027order moved\u0027, [\u0027order_id\u0027 =\u003E $orderId])\u0060 with Laravel\u0027s facade."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"swoole-gbs/gbs-beta.php"},"region":{"startLine":2588}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e58e803fc7639fe44c3c59dc6b16edfd51f80abaf7a8f3b09ddc45725ab5b2c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 2613 is handed a double-quoted string with variables interpolated into it as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass a constant message and the values in the PSR-3 context array instead: \u0060$logger-\u003Edebug(\u0027Order {order_id} moved to {status}\u0027, [\u0027order_id\u0027 =\u003E $orderId, \u0027status\u0027 =\u003E $status])\u0060, which Monolog and every PSR-3 handler keep as fields beside the message (Monolog\u0027s PsrLogMessageProcessor fills the placeholders), or \u0060Log::debug(\u0027order moved\u0027, [\u0027order_id\u0027 =\u003E $orderId])\u0060 with Laravel\u0027s facade."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"swoole-gbs/gbs-beta.php"},"region":{"startLine":2613}}}],"partialFingerprints":{"codehealthFindingId/v1":"b34c80438aa7e28b52adff3820bf71ee1970a067d86a47263e2c25529c512157"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 2616 is handed a double-quoted string with variables interpolated into it as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass a constant message and the values in the PSR-3 context array instead: \u0060$logger-\u003Edebug(\u0027Order {order_id} moved to {status}\u0027, [\u0027order_id\u0027 =\u003E $orderId, \u0027status\u0027 =\u003E $status])\u0060, which Monolog and every PSR-3 handler keep as fields beside the message (Monolog\u0027s PsrLogMessageProcessor fills the placeholders), or \u0060Log::debug(\u0027order moved\u0027, [\u0027order_id\u0027 =\u003E $orderId])\u0060 with Laravel\u0027s facade."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"swoole-gbs/gbs-beta.php"},"region":{"startLine":2616}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8ff24ebf5d6f9f94312a1faee9d86dc00d32b881b921bf82be4310faba43637"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 2619 is handed a double-quoted string with variables interpolated into it as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass a constant message and the values in the PSR-3 context array instead: \u0060$logger-\u003Eerror(\u0027Order {order_id} moved to {status}\u0027, [\u0027order_id\u0027 =\u003E $orderId, \u0027status\u0027 =\u003E $status])\u0060, which Monolog and every PSR-3 handler keep as fields beside the message (Monolog\u0027s PsrLogMessageProcessor fills the placeholders), or \u0060Log::error(\u0027order moved\u0027, [\u0027order_id\u0027 =\u003E $orderId])\u0060 with Laravel\u0027s facade."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"swoole-gbs/gbs-beta.php"},"region":{"startLine":2619}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9ea934d814006824514ff583a2d192ae7d8bb321f6dabf360d6cbc03b97bad7"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 2632 is handed a double-quoted string with variables interpolated into it as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass a constant message and the values in the PSR-3 context array instead: \u0060$logger-\u003Edebug(\u0027Order {order_id} moved to {status}\u0027, [\u0027order_id\u0027 =\u003E $orderId, \u0027status\u0027 =\u003E $status])\u0060, which Monolog and every PSR-3 handler keep as fields beside the message (Monolog\u0027s PsrLogMessageProcessor fills the placeholders), or \u0060Log::debug(\u0027order moved\u0027, [\u0027order_id\u0027 =\u003E $orderId])\u0060 with Laravel\u0027s facade."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"swoole-gbs/gbs-beta.php"},"region":{"startLine":2632}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b151baddddb8d0ac1de8a5748086e8c110dfa206474cae05ddfd5bc48913498"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 2653 is handed a double-quoted string with variables interpolated into it as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass a constant message and the values in the PSR-3 context array instead: \u0060$logger-\u003Edebug(\u0027Order {order_id} moved to {status}\u0027, [\u0027order_id\u0027 =\u003E $orderId, \u0027status\u0027 =\u003E $status])\u0060, which Monolog and every PSR-3 handler keep as fields beside the message (Monolog\u0027s PsrLogMessageProcessor fills the placeholders), or \u0060Log::debug(\u0027order moved\u0027, [\u0027order_id\u0027 =\u003E $orderId])\u0060 with Laravel\u0027s facade."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"swoole-gbs/gbs-beta.php"},"region":{"startLine":2653}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7017d2b39bc080eabea60de6a5c91eed6d7ef225f07ff3718d62d46af9f82dd"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 2660 is handed a double-quoted string with variables interpolated into it as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass a constant message and the values in the PSR-3 context array instead: \u0060$logger-\u003Edebug(\u0027Order {order_id} moved to {status}\u0027, [\u0027order_id\u0027 =\u003E $orderId, \u0027status\u0027 =\u003E $status])\u0060, which Monolog and every PSR-3 handler keep as fields beside the message (Monolog\u0027s PsrLogMessageProcessor fills the placeholders), or \u0060Log::debug(\u0027order moved\u0027, [\u0027order_id\u0027 =\u003E $orderId])\u0060 with Laravel\u0027s facade."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"swoole-gbs/gbs-beta.php"},"region":{"startLine":2660}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad61064b93adcc6b50032847a604679b0137b9ae6a6f399bdebd344a3d652c6e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 2679 is handed a double-quoted string with variables interpolated into it as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass a constant message and the values in the PSR-3 context array instead: \u0060$logger-\u003Edebug(\u0027Order {order_id} moved to {status}\u0027, [\u0027order_id\u0027 =\u003E $orderId, \u0027status\u0027 =\u003E $status])\u0060, which Monolog and every PSR-3 handler keep as fields beside the message (Monolog\u0027s PsrLogMessageProcessor fills the placeholders), or \u0060Log::debug(\u0027order moved\u0027, [\u0027order_id\u0027 =\u003E $orderId])\u0060 with Laravel\u0027s facade."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"swoole-gbs/gbs-beta.php"},"region":{"startLine":2679}}}],"partialFingerprints":{"codehealthFindingId/v1":"22935c1899f69584acf0086dd8bb57e47c877c54a8374c8b76e76ea489311112"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 2683 is handed a double-quoted string with variables interpolated into it as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass a constant message and the values in the PSR-3 context array instead: \u0060$logger-\u003Edebug(\u0027Order {order_id} moved to {status}\u0027, [\u0027order_id\u0027 =\u003E $orderId, \u0027status\u0027 =\u003E $status])\u0060, which Monolog and every PSR-3 handler keep as fields beside the message (Monolog\u0027s PsrLogMessageProcessor fills the placeholders), or \u0060Log::debug(\u0027order moved\u0027, [\u0027order_id\u0027 =\u003E $orderId])\u0060 with Laravel\u0027s facade."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"swoole-gbs/gbs-beta.php"},"region":{"startLine":2683}}}],"partialFingerprints":{"codehealthFindingId/v1":"50c50bde6d35d41ac2bf4726e130298f99d9dbb7d9706bdc46b04bfd2a032d20"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 2699 is handed a double-quoted string with variables interpolated into it as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass a constant message and the values in the PSR-3 context array instead: \u0060$logger-\u003Edebug(\u0027Order {order_id} moved to {status}\u0027, [\u0027order_id\u0027 =\u003E $orderId, \u0027status\u0027 =\u003E $status])\u0060, which Monolog and every PSR-3 handler keep as fields beside the message (Monolog\u0027s PsrLogMessageProcessor fills the placeholders), or \u0060Log::debug(\u0027order moved\u0027, [\u0027order_id\u0027 =\u003E $orderId])\u0060 with Laravel\u0027s facade."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"swoole-gbs/gbs-beta.php"},"region":{"startLine":2699}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff9d1d48109bc6808300994e9e080f00be0a43f6073571bc80847d98a3ef0630"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 2717 is handed a double-quoted string with variables interpolated into it as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass a constant message and the values in the PSR-3 context array instead: \u0060$logger-\u003Edebug(\u0027Order {order_id} moved to {status}\u0027, [\u0027order_id\u0027 =\u003E $orderId, \u0027status\u0027 =\u003E $status])\u0060, which Monolog and every PSR-3 handler keep as fields beside the message (Monolog\u0027s PsrLogMessageProcessor fills the placeholders), or \u0060Log::debug(\u0027order moved\u0027, [\u0027order_id\u0027 =\u003E $orderId])\u0060 with Laravel\u0027s facade."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"swoole-gbs/gbs-beta.php"},"region":{"startLine":2717}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdbea5bd5d353148d6cb04b22f313c3b263ac2610c591432293ade5853b6f3f3"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 2732 is handed a double-quoted string with variables interpolated into it as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass a constant message and the values in the PSR-3 context array instead: \u0060$logger-\u003Edebug(\u0027Order {order_id} moved to {status}\u0027, [\u0027order_id\u0027 =\u003E $orderId, \u0027status\u0027 =\u003E $status])\u0060, which Monolog and every PSR-3 handler keep as fields beside the message (Monolog\u0027s PsrLogMessageProcessor fills the placeholders), or \u0060Log::debug(\u0027order moved\u0027, [\u0027order_id\u0027 =\u003E $orderId])\u0060 with Laravel\u0027s facade."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"swoole-gbs/gbs-beta.php"},"region":{"startLine":2732}}}],"partialFingerprints":{"codehealthFindingId/v1":"b911c5e33e1869af08a6d557ff4e67076ccda80e6af695de64138d4eb7ef5d30"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 2737 is handed a double-quoted string with variables interpolated into it as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass a constant message and the values in the PSR-3 context array instead: \u0060$logger-\u003Edebug(\u0027Order {order_id} moved to {status}\u0027, [\u0027order_id\u0027 =\u003E $orderId, \u0027status\u0027 =\u003E $status])\u0060, which Monolog and every PSR-3 handler keep as fields beside the message (Monolog\u0027s PsrLogMessageProcessor fills the placeholders), or \u0060Log::debug(\u0027order moved\u0027, [\u0027order_id\u0027 =\u003E $orderId])\u0060 with Laravel\u0027s facade."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"swoole-gbs/gbs-beta.php"},"region":{"startLine":2737}}}],"partialFingerprints":{"codehealthFindingId/v1":"131df113755490fcd8733342ccde49db475095ecca2ad0548086f788f6248f28"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 2741 is handed a double-quoted string with variables interpolated into it as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass a constant message and the values in the PSR-3 context array instead: \u0060$logger-\u003Edebug(\u0027Order {order_id} moved to {status}\u0027, [\u0027order_id\u0027 =\u003E $orderId, \u0027status\u0027 =\u003E $status])\u0060, which Monolog and every PSR-3 handler keep as fields beside the message (Monolog\u0027s PsrLogMessageProcessor fills the placeholders), or \u0060Log::debug(\u0027order moved\u0027, [\u0027order_id\u0027 =\u003E $orderId])\u0060 with Laravel\u0027s facade."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"swoole-gbs/gbs-beta.php"},"region":{"startLine":2741}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0c4486870d6419c1ffe5f0687a5a6d0fea6530fd149f60416453b721503c5e9"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 2744 is handed a double-quoted string with variables interpolated into it as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass a constant message and the values in the PSR-3 context array instead: \u0060$logger-\u003Eerror(\u0027Order {order_id} moved to {status}\u0027, [\u0027order_id\u0027 =\u003E $orderId, \u0027status\u0027 =\u003E $status])\u0060, which Monolog and every PSR-3 handler keep as fields beside the message (Monolog\u0027s PsrLogMessageProcessor fills the placeholders), or \u0060Log::error(\u0027order moved\u0027, [\u0027order_id\u0027 =\u003E $orderId])\u0060 with Laravel\u0027s facade."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"swoole-gbs/gbs-beta.php"},"region":{"startLine":2744}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b33288f0171447ce63ccad21550709e9a0414c199143c891fa0e16271d32ead"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 2769 is handed a double-quoted string with variables interpolated into it as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass a constant message and the values in the PSR-3 context array instead: \u0060$logger-\u003Edebug(\u0027Order {order_id} moved to {status}\u0027, [\u0027order_id\u0027 =\u003E $orderId, \u0027status\u0027 =\u003E $status])\u0060, which Monolog and every PSR-3 handler keep as fields beside the message (Monolog\u0027s PsrLogMessageProcessor fills the placeholders), or \u0060Log::debug(\u0027order moved\u0027, [\u0027order_id\u0027 =\u003E $orderId])\u0060 with Laravel\u0027s facade."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"swoole-gbs/gbs-beta.php"},"region":{"startLine":2769}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd9404d73c38184acab0753d824acfba7bda07437305861981c9fa6f72893bbb"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 2821 is handed a double-quoted string with variables interpolated into it as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass a constant message and the values in the PSR-3 context array instead: \u0060$logger-\u003Edebug(\u0027Order {order_id} moved to {status}\u0027, [\u0027order_id\u0027 =\u003E $orderId, \u0027status\u0027 =\u003E $status])\u0060, which Monolog and every PSR-3 handler keep as fields beside the message (Monolog\u0027s PsrLogMessageProcessor fills the placeholders), or \u0060Log::debug(\u0027order moved\u0027, [\u0027order_id\u0027 =\u003E $orderId])\u0060 with Laravel\u0027s facade."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"swoole-gbs/gbs-beta.php"},"region":{"startLine":2821}}}],"partialFingerprints":{"codehealthFindingId/v1":"d43be0c66265079f613b47e78ac2743a4964b01e3305901da6053dbcbe47af15"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 2828 is handed a double-quoted string with variables interpolated into it as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass a constant message and the values in the PSR-3 context array instead: \u0060$logger-\u003Edebug(\u0027Order {order_id} moved to {status}\u0027, [\u0027order_id\u0027 =\u003E $orderId, \u0027status\u0027 =\u003E $status])\u0060, which Monolog and every PSR-3 handler keep as fields beside the message (Monolog\u0027s PsrLogMessageProcessor fills the placeholders), or \u0060Log::debug(\u0027order moved\u0027, [\u0027order_id\u0027 =\u003E $orderId])\u0060 with Laravel\u0027s facade."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"swoole-gbs/gbs-beta.php"},"region":{"startLine":2828}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cd2429c73ce32c51571241ffdb5a0ea1ec372c853a3bccf4fc36bd91470909f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 2879 is handed a double-quoted string with variables interpolated into it as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass a constant message and the values in the PSR-3 context array instead: \u0060$logger-\u003Edebug(\u0027Order {order_id} moved to {status}\u0027, [\u0027order_id\u0027 =\u003E $orderId, \u0027status\u0027 =\u003E $status])\u0060, which Monolog and every PSR-3 handler keep as fields beside the message (Monolog\u0027s PsrLogMessageProcessor fills the placeholders), or \u0060Log::debug(\u0027order moved\u0027, [\u0027order_id\u0027 =\u003E $orderId])\u0060 with Laravel\u0027s facade."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"swoole-gbs/gbs-beta.php"},"region":{"startLine":2879}}}],"partialFingerprints":{"codehealthFindingId/v1":"63ea3349653544e73135f2b1eef10c9f3ec06351fb2e6934b8fce3e319eb07d8"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 2891 is handed a double-quoted string with variables interpolated into it as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass a constant message and the values in the PSR-3 context array instead: \u0060$logger-\u003Edebug(\u0027Order {order_id} moved to {status}\u0027, [\u0027order_id\u0027 =\u003E $orderId, \u0027status\u0027 =\u003E $status])\u0060, which Monolog and every PSR-3 handler keep as fields beside the message (Monolog\u0027s PsrLogMessageProcessor fills the placeholders), or \u0060Log::debug(\u0027order moved\u0027, [\u0027order_id\u0027 =\u003E $orderId])\u0060 with Laravel\u0027s facade."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"swoole-gbs/gbs-beta.php"},"region":{"startLine":2891}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f9d97657a780944ff49fff6f3c7bd0505ffdf749ab8766b38a0e7642bb00019"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 2999 is handed a double-quoted string with variables interpolated into it as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass a constant message and the values in the PSR-3 context array instead: \u0060$logger-\u003Edebug(\u0027Order {order_id} moved to {status}\u0027, [\u0027order_id\u0027 =\u003E $orderId, \u0027status\u0027 =\u003E $status])\u0060, which Monolog and every PSR-3 handler keep as fields beside the message (Monolog\u0027s PsrLogMessageProcessor fills the placeholders), or \u0060Log::debug(\u0027order moved\u0027, [\u0027order_id\u0027 =\u003E $orderId])\u0060 with Laravel\u0027s facade."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"swoole-gbs/gbs-beta.php"},"region":{"startLine":2999}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b4ddec8e9bf66f33d38f8f2af1852266eb2ead3c9454b5ce06a1ad85a7dc399"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 432 is handed a double-quoted string with variables interpolated into it as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass a constant message and the values in the PSR-3 context array instead: \u0060$logger-\u003Ewarning(\u0027Order {order_id} moved to {status}\u0027, [\u0027order_id\u0027 =\u003E $orderId, \u0027status\u0027 =\u003E $status])\u0060, which Monolog and every PSR-3 handler keep as fields beside the message (Monolog\u0027s PsrLogMessageProcessor fills the placeholders), or \u0060Log::warning(\u0027order moved\u0027, [\u0027order_id\u0027 =\u003E $orderId])\u0060 with Laravel\u0027s facade."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/api/v2/controller/GBServerHookController.php"},"region":{"startLine":432}}}],"partialFingerprints":{"codehealthFindingId/v1":"65eba5323f87cbd2f21c4d80448f75087f2ed08ad4895efe7e71df8ace7f92d8"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 655 is handed a double-quoted string with variables interpolated into it as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass a constant message and the values in the PSR-3 context array instead: \u0060$logger-\u003Einfo(\u0027Order {order_id} moved to {status}\u0027, [\u0027order_id\u0027 =\u003E $orderId, \u0027status\u0027 =\u003E $status])\u0060, which Monolog and every PSR-3 handler keep as fields beside the message (Monolog\u0027s PsrLogMessageProcessor fills the placeholders), or \u0060Log::info(\u0027order moved\u0027, [\u0027order_id\u0027 =\u003E $orderId])\u0060 with Laravel\u0027s facade."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/api/v2/controller/GBServerHookController.php"},"region":{"startLine":655}}}],"partialFingerprints":{"codehealthFindingId/v1":"52890ba9c07bae1171e4c794770ffea1b7e95886a38c18d93a0f7b45daf161ac"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 55 is handed a double-quoted string with variables interpolated into it as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass a constant message and the values in the PSR-3 context array instead: \u0060$logger-\u003Einfo(\u0027Order {order_id} moved to {status}\u0027, [\u0027order_id\u0027 =\u003E $orderId, \u0027status\u0027 =\u003E $status])\u0060, which Monolog and every PSR-3 handler keep as fields beside the message (Monolog\u0027s PsrLogMessageProcessor fills the placeholders), or \u0060Log::info(\u0027order moved\u0027, [\u0027order_id\u0027 =\u003E $orderId])\u0060 with Laravel\u0027s facade."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Gb28181Gateway/src/Transport/RabbitMQTransport.php"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"644fffe1bc3c609c1a090b9fb8c0949a7ae128c426a0e79783b0b5545105f620"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 58 is handed a double-quoted string with variables interpolated into it as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass a constant message and the values in the PSR-3 context array instead: \u0060$logger-\u003Eerror(\u0027Order {order_id} moved to {status}\u0027, [\u0027order_id\u0027 =\u003E $orderId, \u0027status\u0027 =\u003E $status])\u0060, which Monolog and every PSR-3 handler keep as fields beside the message (Monolog\u0027s PsrLogMessageProcessor fills the placeholders), or \u0060Log::error(\u0027order moved\u0027, [\u0027order_id\u0027 =\u003E $orderId])\u0060 with Laravel\u0027s facade."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Gb28181Gateway/src/Transport/RabbitMQTransport.php"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"50b5466280bf7e1ec52daccb787b7249b2b61bb43830feccbd41b09a673814ba"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 80 is handed a double-quoted string with variables interpolated into it as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass a constant message and the values in the PSR-3 context array instead: \u0060$logger-\u003Edebug(\u0027Order {order_id} moved to {status}\u0027, [\u0027order_id\u0027 =\u003E $orderId, \u0027status\u0027 =\u003E $status])\u0060, which Monolog and every PSR-3 handler keep as fields beside the message (Monolog\u0027s PsrLogMessageProcessor fills the placeholders), or \u0060Log::debug(\u0027order moved\u0027, [\u0027order_id\u0027 =\u003E $orderId])\u0060 with Laravel\u0027s facade."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Gb28181Gateway/src/Transport/RabbitMQTransport.php"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a8e3e09e62a90b6a6456da2300edb6bdf70075de00a52c8a8807606c34be975"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 83 is handed a double-quoted string with variables interpolated into it as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass a constant message and the values in the PSR-3 context array instead: \u0060$logger-\u003Eerror(\u0027Order {order_id} moved to {status}\u0027, [\u0027order_id\u0027 =\u003E $orderId, \u0027status\u0027 =\u003E $status])\u0060, which Monolog and every PSR-3 handler keep as fields beside the message (Monolog\u0027s PsrLogMessageProcessor fills the placeholders), or \u0060Log::error(\u0027order moved\u0027, [\u0027order_id\u0027 =\u003E $orderId])\u0060 with Laravel\u0027s facade."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Gb28181Gateway/src/Transport/RabbitMQTransport.php"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"823698739584c0733a3d2cae15ee2f6626f0f7fc46a4e9e6735b062702ba1346"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 104 is handed a double-quoted string with variables interpolated into it as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass a constant message and the values in the PSR-3 context array instead: \u0060$logger-\u003Edebug(\u0027Order {order_id} moved to {status}\u0027, [\u0027order_id\u0027 =\u003E $orderId, \u0027status\u0027 =\u003E $status])\u0060, which Monolog and every PSR-3 handler keep as fields beside the message (Monolog\u0027s PsrLogMessageProcessor fills the placeholders), or \u0060Log::debug(\u0027order moved\u0027, [\u0027order_id\u0027 =\u003E $orderId])\u0060 with Laravel\u0027s facade."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Gb28181Gateway/src/Transport/RabbitMQTransport.php"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ffa9187cf5e554e16ff80374eb121c7b141d36aaeac37de75fe0f89812ed754"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 116 is handed a double-quoted string with variables interpolated into it as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass a constant message and the values in the PSR-3 context array instead: \u0060$logger-\u003Eerror(\u0027Order {order_id} moved to {status}\u0027, [\u0027order_id\u0027 =\u003E $orderId, \u0027status\u0027 =\u003E $status])\u0060, which Monolog and every PSR-3 handler keep as fields beside the message (Monolog\u0027s PsrLogMessageProcessor fills the placeholders), or \u0060Log::error(\u0027order moved\u0027, [\u0027order_id\u0027 =\u003E $orderId])\u0060 with Laravel\u0027s facade."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Gb28181Gateway/src/Transport/RabbitMQTransport.php"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"d44da0e2d052ac6e001bf6a2e75481e9c51320fefa1fd839b696c9fdfcbcb2aa"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 36 is handed a double-quoted string with variables interpolated into it as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass a constant message and the values in the PSR-3 context array instead: \u0060$logger-\u003Eerror(\u0027Order {order_id} moved to {status}\u0027, [\u0027order_id\u0027 =\u003E $orderId, \u0027status\u0027 =\u003E $status])\u0060, which Monolog and every PSR-3 handler keep as fields beside the message (Monolog\u0027s PsrLogMessageProcessor fills the placeholders), or \u0060Log::error(\u0027order moved\u0027, [\u0027order_id\u0027 =\u003E $orderId])\u0060 with Laravel\u0027s facade."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Gb28181Gateway/src/Transport/RedisTransport.php"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"e408679c0dfbfbdae86dba555dc9a82188cb8781d59937233bb3a79bf40cac3a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 52 is handed a double-quoted string with variables interpolated into it as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass a constant message and the values in the PSR-3 context array instead: \u0060$logger-\u003Edebug(\u0027Order {order_id} moved to {status}\u0027, [\u0027order_id\u0027 =\u003E $orderId, \u0027status\u0027 =\u003E $status])\u0060, which Monolog and every PSR-3 handler keep as fields beside the message (Monolog\u0027s PsrLogMessageProcessor fills the placeholders), or \u0060Log::debug(\u0027order moved\u0027, [\u0027order_id\u0027 =\u003E $orderId])\u0060 with Laravel\u0027s facade."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Gb28181Gateway/src/Transport/RedisTransport.php"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e56c9ba94cc258d5c4dbab4b887aa85fa07853e86ce3710145c7898364c18f1"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 55 is handed a double-quoted string with variables interpolated into it as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass a constant message and the values in the PSR-3 context array instead: \u0060$logger-\u003Eerror(\u0027Order {order_id} moved to {status}\u0027, [\u0027order_id\u0027 =\u003E $orderId, \u0027status\u0027 =\u003E $status])\u0060, which Monolog and every PSR-3 handler keep as fields beside the message (Monolog\u0027s PsrLogMessageProcessor fills the placeholders), or \u0060Log::error(\u0027order moved\u0027, [\u0027order_id\u0027 =\u003E $orderId])\u0060 with Laravel\u0027s facade."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Gb28181Gateway/src/Transport/RedisTransport.php"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"59b0546c088497eca9f2cdc044d5a917fda72fb36df5bdb4a9521afaaac00cdf"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 78 is handed a double-quoted string with variables interpolated into it as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass a constant message and the values in the PSR-3 context array instead: \u0060$logger-\u003Eerror(\u0027Order {order_id} moved to {status}\u0027, [\u0027order_id\u0027 =\u003E $orderId, \u0027status\u0027 =\u003E $status])\u0060, which Monolog and every PSR-3 handler keep as fields beside the message (Monolog\u0027s PsrLogMessageProcessor fills the placeholders), or \u0060Log::error(\u0027order moved\u0027, [\u0027order_id\u0027 =\u003E $orderId])\u0060 with Laravel\u0027s facade."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Gb28181Gateway/src/Transport/RedisTransport.php"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8087b949ac10b2fb56893a1da9702d0f13e7e97729c3e17b68d2b628cc635db"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 99 is handed a double-quoted string with variables interpolated into it as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass a constant message and the values in the PSR-3 context array instead: \u0060$logger-\u003Eerror(\u0027Order {order_id} moved to {status}\u0027, [\u0027order_id\u0027 =\u003E $orderId, \u0027status\u0027 =\u003E $status])\u0060, which Monolog and every PSR-3 handler keep as fields beside the message (Monolog\u0027s PsrLogMessageProcessor fills the placeholders), or \u0060Log::error(\u0027order moved\u0027, [\u0027order_id\u0027 =\u003E $orderId])\u0060 with Laravel\u0027s facade."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Gb28181Gateway/src/Transport/RedisTransport.php"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"71b63e6a036f6396c947ba1d3e20191858d6463a3139ae00956778df3c5c02af"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 136 is handed a double-quoted string with variables interpolated into it as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass a constant message and the values in the PSR-3 context array instead: \u0060$logger-\u003Edebug(\u0027Order {order_id} moved to {status}\u0027, [\u0027order_id\u0027 =\u003E $orderId, \u0027status\u0027 =\u003E $status])\u0060, which Monolog and every PSR-3 handler keep as fields beside the message (Monolog\u0027s PsrLogMessageProcessor fills the placeholders), or \u0060Log::debug(\u0027order moved\u0027, [\u0027order_id\u0027 =\u003E $orderId])\u0060 with Laravel\u0027s facade."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Gb28181Gateway/src/SwooleServer/Channel.php"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"344a519879ae2761ef798ea7ae539d73630703e266168a2144d742b21d00534d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 140 is handed a double-quoted string with variables interpolated into it as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass a constant message and the values in the PSR-3 context array instead: \u0060$logger-\u003Edebug(\u0027Order {order_id} moved to {status}\u0027, [\u0027order_id\u0027 =\u003E $orderId, \u0027status\u0027 =\u003E $status])\u0060, which Monolog and every PSR-3 handler keep as fields beside the message (Monolog\u0027s PsrLogMessageProcessor fills the placeholders), or \u0060Log::debug(\u0027order moved\u0027, [\u0027order_id\u0027 =\u003E $orderId])\u0060 with Laravel\u0027s facade."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Gb28181Gateway/src/SwooleServer/Channel.php"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e1714dea84064b82f896dd59c6001ff1fe0433098a23fca0edc80602c90be52"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 160 is handed a double-quoted string with variables interpolated into it as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass a constant message and the values in the PSR-3 context array instead: \u0060$logger-\u003Eerror(\u0027Order {order_id} moved to {status}\u0027, [\u0027order_id\u0027 =\u003E $orderId, \u0027status\u0027 =\u003E $status])\u0060, which Monolog and every PSR-3 handler keep as fields beside the message (Monolog\u0027s PsrLogMessageProcessor fills the placeholders), or \u0060Log::error(\u0027order moved\u0027, [\u0027order_id\u0027 =\u003E $orderId])\u0060 with Laravel\u0027s facade."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Gb28181Gateway/src/SwooleServer/GBS.php"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"69363fd03fc224759898c01bfd796f3501ac23b3651fdf686dbe71a9c7d3f0fe"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 183 is handed a double-quoted string with variables interpolated into it as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass a constant message and the values in the PSR-3 context array instead: \u0060$logger-\u003Edebug(\u0027Order {order_id} moved to {status}\u0027, [\u0027order_id\u0027 =\u003E $orderId, \u0027status\u0027 =\u003E $status])\u0060, which Monolog and every PSR-3 handler keep as fields beside the message (Monolog\u0027s PsrLogMessageProcessor fills the placeholders), or \u0060Log::debug(\u0027order moved\u0027, [\u0027order_id\u0027 =\u003E $orderId])\u0060 with Laravel\u0027s facade."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Gb28181Gateway/src/SwooleServer/GBS.php"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"31608d07e7d8fb76221d6e692ad1c2a8176ba85e1780d842d5da00159089758e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 184 is handed a double-quoted string with variables interpolated into it as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass a constant message and the values in the PSR-3 context array instead: \u0060$logger-\u003Edebug(\u0027Order {order_id} moved to {status}\u0027, [\u0027order_id\u0027 =\u003E $orderId, \u0027status\u0027 =\u003E $status])\u0060, which Monolog and every PSR-3 handler keep as fields beside the message (Monolog\u0027s PsrLogMessageProcessor fills the placeholders), or \u0060Log::debug(\u0027order moved\u0027, [\u0027order_id\u0027 =\u003E $orderId])\u0060 with Laravel\u0027s facade."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Gb28181Gateway/src/SwooleServer/GBS.php"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"28d1b6c3eb8b04743e257397ab7145ac0dccb125e6e95473da5abc9655f341e4"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 196 is handed a double-quoted string with variables interpolated into it as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass a constant message and the values in the PSR-3 context array instead: \u0060$logger-\u003Edebug(\u0027Order {order_id} moved to {status}\u0027, [\u0027order_id\u0027 =\u003E $orderId, \u0027status\u0027 =\u003E $status])\u0060, which Monolog and every PSR-3 handler keep as fields beside the message (Monolog\u0027s PsrLogMessageProcessor fills the placeholders), or \u0060Log::debug(\u0027order moved\u0027, [\u0027order_id\u0027 =\u003E $orderId])\u0060 with Laravel\u0027s facade."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Gb28181Gateway/src/SwooleServer/GBS.php"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a9e636d24effb2eb8e1d2a3708c2b4edb916d5a55b5bd91f63ff2aac2b0e7fd"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 201 is handed a double-quoted string with variables interpolated into it as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass a constant message and the values in the PSR-3 context array instead: \u0060$logger-\u003Edebug(\u0027Order {order_id} moved to {status}\u0027, [\u0027order_id\u0027 =\u003E $orderId, \u0027status\u0027 =\u003E $status])\u0060, which Monolog and every PSR-3 handler keep as fields beside the message (Monolog\u0027s PsrLogMessageProcessor fills the placeholders), or \u0060Log::debug(\u0027order moved\u0027, [\u0027order_id\u0027 =\u003E $orderId])\u0060 with Laravel\u0027s facade."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Gb28181Gateway/src/SwooleServer/GBS.php"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"6319e2b9b3c0ffbfba863e2c059241c3c462a44383d30487bd27283d952f4b9a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 261 is handed a double-quoted string with variables interpolated into it as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass a constant message and the values in the PSR-3 context array instead: \u0060$logger-\u003Edebug(\u0027Order {order_id} moved to {status}\u0027, [\u0027order_id\u0027 =\u003E $orderId, \u0027status\u0027 =\u003E $status])\u0060, which Monolog and every PSR-3 handler keep as fields beside the message (Monolog\u0027s PsrLogMessageProcessor fills the placeholders), or \u0060Log::debug(\u0027order moved\u0027, [\u0027order_id\u0027 =\u003E $orderId])\u0060 with Laravel\u0027s facade."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Gb28181Gateway/src/SwooleServer/GBS.php"},"region":{"startLine":261}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d52875d14af55d812f59fc32caffa552988218fd3cc37fbccf808952262315b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 278 is handed a double-quoted string with variables interpolated into it as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass a constant message and the values in the PSR-3 context array instead: \u0060$logger-\u003Edebug(\u0027Order {order_id} moved to {status}\u0027, [\u0027order_id\u0027 =\u003E $orderId, \u0027status\u0027 =\u003E $status])\u0060, which Monolog and every PSR-3 handler keep as fields beside the message (Monolog\u0027s PsrLogMessageProcessor fills the placeholders), or \u0060Log::debug(\u0027order moved\u0027, [\u0027order_id\u0027 =\u003E $orderId])\u0060 with Laravel\u0027s facade."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Gb28181Gateway/src/SwooleServer/GBS.php"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"11ad12dacd606f2660f8cc619c32b53bfc80f90ce480d8fb89c1bac3543000b7"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 370 is handed a double-quoted string with variables interpolated into it as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass a constant message and the values in the PSR-3 context array instead: \u0060$logger-\u003Edebug(\u0027Order {order_id} moved to {status}\u0027, [\u0027order_id\u0027 =\u003E $orderId, \u0027status\u0027 =\u003E $status])\u0060, which Monolog and every PSR-3 handler keep as fields beside the message (Monolog\u0027s PsrLogMessageProcessor fills the placeholders), or \u0060Log::debug(\u0027order moved\u0027, [\u0027order_id\u0027 =\u003E $orderId])\u0060 with Laravel\u0027s facade."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Gb28181Gateway/src/SwooleServer/GBS.php"},"region":{"startLine":370}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9294217eed3781bb18d8407b3e34eb4bce483bc4dc641fcbeb450c9a38d6f13"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 429 is handed a double-quoted string with variables interpolated into it as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass a constant message and the values in the PSR-3 context array instead: \u0060$logger-\u003Edebug(\u0027Order {order_id} moved to {status}\u0027, [\u0027order_id\u0027 =\u003E $orderId, \u0027status\u0027 =\u003E $status])\u0060, which Monolog and every PSR-3 handler keep as fields beside the message (Monolog\u0027s PsrLogMessageProcessor fills the placeholders), or \u0060Log::debug(\u0027order moved\u0027, [\u0027order_id\u0027 =\u003E $orderId])\u0060 with Laravel\u0027s facade."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Gb28181Gateway/src/SwooleServer/GBS.php"},"region":{"startLine":429}}}],"partialFingerprints":{"codehealthFindingId/v1":"512a6ee64f007d4f9c5acbd2c09f685cbc208bb490c81e8d3acd847711fa56b0"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 471 is handed a double-quoted string with variables interpolated into it as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass a constant message and the values in the PSR-3 context array instead: \u0060$logger-\u003Edebug(\u0027Order {order_id} moved to {status}\u0027, [\u0027order_id\u0027 =\u003E $orderId, \u0027status\u0027 =\u003E $status])\u0060, which Monolog and every PSR-3 handler keep as fields beside the message (Monolog\u0027s PsrLogMessageProcessor fills the placeholders), or \u0060Log::debug(\u0027order moved\u0027, [\u0027order_id\u0027 =\u003E $orderId])\u0060 with Laravel\u0027s facade."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Gb28181Gateway/src/SwooleServer/GBS.php"},"region":{"startLine":471}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f6f09284bec78d16c7ae33e003ceea7d4895c87ebedf7f69e56191e6b3f9cfa"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 622 is handed a double-quoted string with variables interpolated into it as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass a constant message and the values in the PSR-3 context array instead: \u0060$logger-\u003Einfo(\u0027Order {order_id} moved to {status}\u0027, [\u0027order_id\u0027 =\u003E $orderId, \u0027status\u0027 =\u003E $status])\u0060, which Monolog and every PSR-3 handler keep as fields beside the message (Monolog\u0027s PsrLogMessageProcessor fills the placeholders), or \u0060Log::info(\u0027order moved\u0027, [\u0027order_id\u0027 =\u003E $orderId])\u0060 with Laravel\u0027s facade."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Gb28181Gateway/src/SwooleServer/GBS.php"},"region":{"startLine":622}}}],"partialFingerprints":{"codehealthFindingId/v1":"f876b92b77d27538db08fe994f228b77528ea545f0e575852958737b6c50317a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 629 is handed a double-quoted string with variables interpolated into it as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass a constant message and the values in the PSR-3 context array instead: \u0060$logger-\u003Edebug(\u0027Order {order_id} moved to {status}\u0027, [\u0027order_id\u0027 =\u003E $orderId, \u0027status\u0027 =\u003E $status])\u0060, which Monolog and every PSR-3 handler keep as fields beside the message (Monolog\u0027s PsrLogMessageProcessor fills the placeholders), or \u0060Log::debug(\u0027order moved\u0027, [\u0027order_id\u0027 =\u003E $orderId])\u0060 with Laravel\u0027s facade."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Gb28181Gateway/src/SwooleServer/GBS.php"},"region":{"startLine":629}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff45821e28fcb453aac494b2e6f734fcfcb646b407964e8c6051eba4748d9f85"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 638 is handed a double-quoted string with variables interpolated into it as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass a constant message and the values in the PSR-3 context array instead: \u0060$logger-\u003Edebug(\u0027Order {order_id} moved to {status}\u0027, [\u0027order_id\u0027 =\u003E $orderId, \u0027status\u0027 =\u003E $status])\u0060, which Monolog and every PSR-3 handler keep as fields beside the message (Monolog\u0027s PsrLogMessageProcessor fills the placeholders), or \u0060Log::debug(\u0027order moved\u0027, [\u0027order_id\u0027 =\u003E $orderId])\u0060 with Laravel\u0027s facade."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Gb28181Gateway/src/SwooleServer/GBS.php"},"region":{"startLine":638}}}],"partialFingerprints":{"codehealthFindingId/v1":"467c6d578b1b738f6c7e79e0acd91f7a0ff1fce0ca5da7f53b3aa98a865084c0"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 642 is handed a double-quoted string with variables interpolated into it as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass a constant message and the values in the PSR-3 context array instead: \u0060$logger-\u003Einfo(\u0027Order {order_id} moved to {status}\u0027, [\u0027order_id\u0027 =\u003E $orderId, \u0027status\u0027 =\u003E $status])\u0060, which Monolog and every PSR-3 handler keep as fields beside the message (Monolog\u0027s PsrLogMessageProcessor fills the placeholders), or \u0060Log::info(\u0027order moved\u0027, [\u0027order_id\u0027 =\u003E $orderId])\u0060 with Laravel\u0027s facade."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Gb28181Gateway/src/SwooleServer/GBS.php"},"region":{"startLine":642}}}],"partialFingerprints":{"codehealthFindingId/v1":"8761496cabf1d1b033df92ec7724eedf6506015153364a807c7fa9dc1e213bf0"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 714 is handed a double-quoted string with variables interpolated into it as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass a constant message and the values in the PSR-3 context array instead: \u0060$logger-\u003Edebug(\u0027Order {order_id} moved to {status}\u0027, [\u0027order_id\u0027 =\u003E $orderId, \u0027status\u0027 =\u003E $status])\u0060, which Monolog and every PSR-3 handler keep as fields beside the message (Monolog\u0027s PsrLogMessageProcessor fills the placeholders), or \u0060Log::debug(\u0027order moved\u0027, [\u0027order_id\u0027 =\u003E $orderId])\u0060 with Laravel\u0027s facade."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Gb28181Gateway/src/SwooleServer/GBS.php"},"region":{"startLine":714}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef1a8b47002000c8bf0eced4c20a687c2334c7b1d7d44d6efd5059883cfa216d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 774 is handed a double-quoted string with variables interpolated into it as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass a constant message and the values in the PSR-3 context array instead: \u0060$logger-\u003Edebug(\u0027Order {order_id} moved to {status}\u0027, [\u0027order_id\u0027 =\u003E $orderId, \u0027status\u0027 =\u003E $status])\u0060, which Monolog and every PSR-3 handler keep as fields beside the message (Monolog\u0027s PsrLogMessageProcessor fills the placeholders), or \u0060Log::debug(\u0027order moved\u0027, [\u0027order_id\u0027 =\u003E $orderId])\u0060 with Laravel\u0027s facade."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Gb28181Gateway/src/SwooleServer/GBS.php"},"region":{"startLine":774}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e4087155da31a9da8d3ba6db95c1ba7436afb6ea0dd0197c7bd21ff4543423a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 785 is handed a double-quoted string with variables interpolated into it as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass a constant message and the values in the PSR-3 context array instead: \u0060$logger-\u003Edebug(\u0027Order {order_id} moved to {status}\u0027, [\u0027order_id\u0027 =\u003E $orderId, \u0027status\u0027 =\u003E $status])\u0060, which Monolog and every PSR-3 handler keep as fields beside the message (Monolog\u0027s PsrLogMessageProcessor fills the placeholders), or \u0060Log::debug(\u0027order moved\u0027, [\u0027order_id\u0027 =\u003E $orderId])\u0060 with Laravel\u0027s facade."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Gb28181Gateway/src/SwooleServer/GBS.php"},"region":{"startLine":785}}}],"partialFingerprints":{"codehealthFindingId/v1":"327fd3500026aa155bd901a048d9560a405f698eb9e20118451a3d206cb3fdad"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 789 is handed a double-quoted string with variables interpolated into it as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass a constant message and the values in the PSR-3 context array instead: \u0060$logger-\u003Edebug(\u0027Order {order_id} moved to {status}\u0027, [\u0027order_id\u0027 =\u003E $orderId, \u0027status\u0027 =\u003E $status])\u0060, which Monolog and every PSR-3 handler keep as fields beside the message (Monolog\u0027s PsrLogMessageProcessor fills the placeholders), or \u0060Log::debug(\u0027order moved\u0027, [\u0027order_id\u0027 =\u003E $orderId])\u0060 with Laravel\u0027s facade."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Gb28181Gateway/src/SwooleServer/GBS.php"},"region":{"startLine":789}}}],"partialFingerprints":{"codehealthFindingId/v1":"72dd2852e6fe318b278d2cec11796db647e1d4a401fa714a2b6e67f56be4692f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 804 is handed a double-quoted string with variables interpolated into it as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass a constant message and the values in the PSR-3 context array instead: \u0060$logger-\u003Edebug(\u0027Order {order_id} moved to {status}\u0027, [\u0027order_id\u0027 =\u003E $orderId, \u0027status\u0027 =\u003E $status])\u0060, which Monolog and every PSR-3 handler keep as fields beside the message (Monolog\u0027s PsrLogMessageProcessor fills the placeholders), or \u0060Log::debug(\u0027order moved\u0027, [\u0027order_id\u0027 =\u003E $orderId])\u0060 with Laravel\u0027s facade."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Gb28181Gateway/src/SwooleServer/GBS.php"},"region":{"startLine":804}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d10d4fb74c1fda6c64b1107fe139fea40a6937d3a0e5cf4ac582091c1641381"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 820 is handed a double-quoted string with variables interpolated into it as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass a constant message and the values in the PSR-3 context array instead: \u0060$logger-\u003Edebug(\u0027Order {order_id} moved to {status}\u0027, [\u0027order_id\u0027 =\u003E $orderId, \u0027status\u0027 =\u003E $status])\u0060, which Monolog and every PSR-3 handler keep as fields beside the message (Monolog\u0027s PsrLogMessageProcessor fills the placeholders), or \u0060Log::debug(\u0027order moved\u0027, [\u0027order_id\u0027 =\u003E $orderId])\u0060 with Laravel\u0027s facade."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Gb28181Gateway/src/SwooleServer/GBS.php"},"region":{"startLine":820}}}],"partialFingerprints":{"codehealthFindingId/v1":"240e49703308e9f17da2e9f09af5e2118999f25b049b7a6192b0ab27da6a3fb7"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 832 is handed a double-quoted string with variables interpolated into it as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass a constant message and the values in the PSR-3 context array instead: \u0060$logger-\u003Edebug(\u0027Order {order_id} moved to {status}\u0027, [\u0027order_id\u0027 =\u003E $orderId, \u0027status\u0027 =\u003E $status])\u0060, which Monolog and every PSR-3 handler keep as fields beside the message (Monolog\u0027s PsrLogMessageProcessor fills the placeholders), or \u0060Log::debug(\u0027order moved\u0027, [\u0027order_id\u0027 =\u003E $orderId])\u0060 with Laravel\u0027s facade."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Gb28181Gateway/src/SwooleServer/GBS.php"},"region":{"startLine":832}}}],"partialFingerprints":{"codehealthFindingId/v1":"69bf9e4ec47fcbfadf9543e2808a227ff9ef84bb1dc297a4049117908c7bd590"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 849 is handed a double-quoted string with variables interpolated into it as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass a constant message and the values in the PSR-3 context array instead: \u0060$logger-\u003Edebug(\u0027Order {order_id} moved to {status}\u0027, [\u0027order_id\u0027 =\u003E $orderId, \u0027status\u0027 =\u003E $status])\u0060, which Monolog and every PSR-3 handler keep as fields beside the message (Monolog\u0027s PsrLogMessageProcessor fills the placeholders), or \u0060Log::debug(\u0027order moved\u0027, [\u0027order_id\u0027 =\u003E $orderId])\u0060 with Laravel\u0027s facade."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Gb28181Gateway/src/SwooleServer/GBS.php"},"region":{"startLine":849}}}],"partialFingerprints":{"codehealthFindingId/v1":"6980db69e1f2b3622c536f327378f43028e539430d8c5f24c668fd06fd814541"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 861 is handed a double-quoted string with variables interpolated into it as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass a constant message and the values in the PSR-3 context array instead: \u0060$logger-\u003Edebug(\u0027Order {order_id} moved to {status}\u0027, [\u0027order_id\u0027 =\u003E $orderId, \u0027status\u0027 =\u003E $status])\u0060, which Monolog and every PSR-3 handler keep as fields beside the message (Monolog\u0027s PsrLogMessageProcessor fills the placeholders), or \u0060Log::debug(\u0027order moved\u0027, [\u0027order_id\u0027 =\u003E $orderId])\u0060 with Laravel\u0027s facade."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Gb28181Gateway/src/SwooleServer/GBS.php"},"region":{"startLine":861}}}],"partialFingerprints":{"codehealthFindingId/v1":"14f47c6ebe6c63521d3821db86811282692a5d7225d5c80cb8d4ea0c6d37f08e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 931 is handed a double-quoted string with variables interpolated into it as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass a constant message and the values in the PSR-3 context array instead: \u0060$logger-\u003Edebug(\u0027Order {order_id} moved to {status}\u0027, [\u0027order_id\u0027 =\u003E $orderId, \u0027status\u0027 =\u003E $status])\u0060, which Monolog and every PSR-3 handler keep as fields beside the message (Monolog\u0027s PsrLogMessageProcessor fills the placeholders), or \u0060Log::debug(\u0027order moved\u0027, [\u0027order_id\u0027 =\u003E $orderId])\u0060 with Laravel\u0027s facade."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Gb28181Gateway/src/SwooleServer/GBS.php"},"region":{"startLine":931}}}],"partialFingerprints":{"codehealthFindingId/v1":"48ec4eb718cdc16195e68d05049eb367bdf45bb3f7996deecba4a4cc02109d3c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 935 is handed a double-quoted string with variables interpolated into it as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass a constant message and the values in the PSR-3 context array instead: \u0060$logger-\u003Edebug(\u0027Order {order_id} moved to {status}\u0027, [\u0027order_id\u0027 =\u003E $orderId, \u0027status\u0027 =\u003E $status])\u0060, which Monolog and every PSR-3 handler keep as fields beside the message (Monolog\u0027s PsrLogMessageProcessor fills the placeholders), or \u0060Log::debug(\u0027order moved\u0027, [\u0027order_id\u0027 =\u003E $orderId])\u0060 with Laravel\u0027s facade."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Gb28181Gateway/src/SwooleServer/GBS.php"},"region":{"startLine":935}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c3d2c4f8bfda944edc6054575e5fc014ea6a3389ea2ae635a24b49eb2ad83e8"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 939 is handed a double-quoted string with variables interpolated into it as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass a constant message and the values in the PSR-3 context array instead: \u0060$logger-\u003Edebug(\u0027Order {order_id} moved to {status}\u0027, [\u0027order_id\u0027 =\u003E $orderId, \u0027status\u0027 =\u003E $status])\u0060, which Monolog and every PSR-3 handler keep as fields beside the message (Monolog\u0027s PsrLogMessageProcessor fills the placeholders), or \u0060Log::debug(\u0027order moved\u0027, [\u0027order_id\u0027 =\u003E $orderId])\u0060 with Laravel\u0027s facade."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Gb28181Gateway/src/SwooleServer/GBS.php"},"region":{"startLine":939}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e6a95cf8433754c7012a9b6d4ad28f26fbe33425823272d30410f44f5c0890d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 1031 is handed a double-quoted string with variables interpolated into it as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass a constant message and the values in the PSR-3 context array instead: \u0060$logger-\u003Edebug(\u0027Order {order_id} moved to {status}\u0027, [\u0027order_id\u0027 =\u003E $orderId, \u0027status\u0027 =\u003E $status])\u0060, which Monolog and every PSR-3 handler keep as fields beside the message (Monolog\u0027s PsrLogMessageProcessor fills the placeholders), or \u0060Log::debug(\u0027order moved\u0027, [\u0027order_id\u0027 =\u003E $orderId])\u0060 with Laravel\u0027s facade."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Gb28181Gateway/src/SwooleServer/GBS.php"},"region":{"startLine":1031}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1ce88e8f8b98214763135a6a1ae8f4f2376ebf54d501e36212662eca31cae13"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 1039 is handed a double-quoted string with variables interpolated into it as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass a constant message and the values in the PSR-3 context array instead: \u0060$logger-\u003Edebug(\u0027Order {order_id} moved to {status}\u0027, [\u0027order_id\u0027 =\u003E $orderId, \u0027status\u0027 =\u003E $status])\u0060, which Monolog and every PSR-3 handler keep as fields beside the message (Monolog\u0027s PsrLogMessageProcessor fills the placeholders), or \u0060Log::debug(\u0027order moved\u0027, [\u0027order_id\u0027 =\u003E $orderId])\u0060 with Laravel\u0027s facade."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Gb28181Gateway/src/SwooleServer/GBS.php"},"region":{"startLine":1039}}}],"partialFingerprints":{"codehealthFindingId/v1":"923b4b49a5dd22a0b34f63aec22c9321f241ed8792e0f045dee42829b2356543"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 1144 is handed a double-quoted string with variables interpolated into it as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass a constant message and the values in the PSR-3 context array instead: \u0060$logger-\u003Edebug(\u0027Order {order_id} moved to {status}\u0027, [\u0027order_id\u0027 =\u003E $orderId, \u0027status\u0027 =\u003E $status])\u0060, which Monolog and every PSR-3 handler keep as fields beside the message (Monolog\u0027s PsrLogMessageProcessor fills the placeholders), or \u0060Log::debug(\u0027order moved\u0027, [\u0027order_id\u0027 =\u003E $orderId])\u0060 with Laravel\u0027s facade."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Gb28181Gateway/src/SwooleServer/GBS.php"},"region":{"startLine":1144}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b0b22d647bea69cea623068c7ea597ced9c9b58bd04a2869a85c9c05f335ecf"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 1176 is handed a double-quoted string with variables interpolated into it as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass a constant message and the values in the PSR-3 context array instead: \u0060$logger-\u003Edebug(\u0027Order {order_id} moved to {status}\u0027, [\u0027order_id\u0027 =\u003E $orderId, \u0027status\u0027 =\u003E $status])\u0060, which Monolog and every PSR-3 handler keep as fields beside the message (Monolog\u0027s PsrLogMessageProcessor fills the placeholders), or \u0060Log::debug(\u0027order moved\u0027, [\u0027order_id\u0027 =\u003E $orderId])\u0060 with Laravel\u0027s facade."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Gb28181Gateway/src/SwooleServer/GBS.php"},"region":{"startLine":1176}}}],"partialFingerprints":{"codehealthFindingId/v1":"818bdb4e7774630e8e93090de6686a5a4d1c5a28562bbafd1a441b0716111d26"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 1191 is handed a double-quoted string with variables interpolated into it as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass a constant message and the values in the PSR-3 context array instead: \u0060$logger-\u003Edebug(\u0027Order {order_id} moved to {status}\u0027, [\u0027order_id\u0027 =\u003E $orderId, \u0027status\u0027 =\u003E $status])\u0060, which Monolog and every PSR-3 handler keep as fields beside the message (Monolog\u0027s PsrLogMessageProcessor fills the placeholders), or \u0060Log::debug(\u0027order moved\u0027, [\u0027order_id\u0027 =\u003E $orderId])\u0060 with Laravel\u0027s facade."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Gb28181Gateway/src/SwooleServer/GBS.php"},"region":{"startLine":1191}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd4427862a9b37c9b556c8df00448374c073755029d553e0563a8737cfd6d7b6"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 1477 is handed a double-quoted string with variables interpolated into it as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass a constant message and the values in the PSR-3 context array instead: \u0060$logger-\u003Edebug(\u0027Order {order_id} moved to {status}\u0027, [\u0027order_id\u0027 =\u003E $orderId, \u0027status\u0027 =\u003E $status])\u0060, which Monolog and every PSR-3 handler keep as fields beside the message (Monolog\u0027s PsrLogMessageProcessor fills the placeholders), or \u0060Log::debug(\u0027order moved\u0027, [\u0027order_id\u0027 =\u003E $orderId])\u0060 with Laravel\u0027s facade."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Gb28181Gateway/src/SwooleServer/GBS.php"},"region":{"startLine":1477}}}],"partialFingerprints":{"codehealthFindingId/v1":"56816d4975902401e08d314ca508b3fa14703be68992d0eed48274370f442ce7"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 1478 is handed a double-quoted string with variables interpolated into it as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass a constant message and the values in the PSR-3 context array instead: \u0060$logger-\u003Edebug(\u0027Order {order_id} moved to {status}\u0027, [\u0027order_id\u0027 =\u003E $orderId, \u0027status\u0027 =\u003E $status])\u0060, which Monolog and every PSR-3 handler keep as fields beside the message (Monolog\u0027s PsrLogMessageProcessor fills the placeholders), or \u0060Log::debug(\u0027order moved\u0027, [\u0027order_id\u0027 =\u003E $orderId])\u0060 with Laravel\u0027s facade."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Gb28181Gateway/src/SwooleServer/GBS.php"},"region":{"startLine":1478}}}],"partialFingerprints":{"codehealthFindingId/v1":"31ed35b0863055910d8132ebb4c32cf903db9170189be9935c7b0a3e2adae2e0"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 1479 is handed a double-quoted string with variables interpolated into it as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass a constant message and the values in the PSR-3 context array instead: \u0060$logger-\u003Edebug(\u0027Order {order_id} moved to {status}\u0027, [\u0027order_id\u0027 =\u003E $orderId, \u0027status\u0027 =\u003E $status])\u0060, which Monolog and every PSR-3 handler keep as fields beside the message (Monolog\u0027s PsrLogMessageProcessor fills the placeholders), or \u0060Log::debug(\u0027order moved\u0027, [\u0027order_id\u0027 =\u003E $orderId])\u0060 with Laravel\u0027s facade."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Gb28181Gateway/src/SwooleServer/GBS.php"},"region":{"startLine":1479}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2504c051bda8476449fb56cba4949b20146e19963d47550164e352d625f6504"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 1480 is handed a double-quoted string with variables interpolated into it as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass a constant message and the values in the PSR-3 context array instead: \u0060$logger-\u003Edebug(\u0027Order {order_id} moved to {status}\u0027, [\u0027order_id\u0027 =\u003E $orderId, \u0027status\u0027 =\u003E $status])\u0060, which Monolog and every PSR-3 handler keep as fields beside the message (Monolog\u0027s PsrLogMessageProcessor fills the placeholders), or \u0060Log::debug(\u0027order moved\u0027, [\u0027order_id\u0027 =\u003E $orderId])\u0060 with Laravel\u0027s facade."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Gb28181Gateway/src/SwooleServer/GBS.php"},"region":{"startLine":1480}}}],"partialFingerprints":{"codehealthFindingId/v1":"c90f4a3c815a2efc60fbb86d8fd1d7d7a334f634dec2b2b2d6d8937e444900fa"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 1481 is handed a double-quoted string with variables interpolated into it as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass a constant message and the values in the PSR-3 context array instead: \u0060$logger-\u003Edebug(\u0027Order {order_id} moved to {status}\u0027, [\u0027order_id\u0027 =\u003E $orderId, \u0027status\u0027 =\u003E $status])\u0060, which Monolog and every PSR-3 handler keep as fields beside the message (Monolog\u0027s PsrLogMessageProcessor fills the placeholders), or \u0060Log::debug(\u0027order moved\u0027, [\u0027order_id\u0027 =\u003E $orderId])\u0060 with Laravel\u0027s facade."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Gb28181Gateway/src/SwooleServer/GBS.php"},"region":{"startLine":1481}}}],"partialFingerprints":{"codehealthFindingId/v1":"270a1dd7cf3489db7d07c85d361ca696d7d26819e6416bf0c85c3a42ec7ef842"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 1482 is handed a double-quoted string with variables interpolated into it as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass a constant message and the values in the PSR-3 context array instead: \u0060$logger-\u003Edebug(\u0027Order {order_id} moved to {status}\u0027, [\u0027order_id\u0027 =\u003E $orderId, \u0027status\u0027 =\u003E $status])\u0060, which Monolog and every PSR-3 handler keep as fields beside the message (Monolog\u0027s PsrLogMessageProcessor fills the placeholders), or \u0060Log::debug(\u0027order moved\u0027, [\u0027order_id\u0027 =\u003E $orderId])\u0060 with Laravel\u0027s facade."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Gb28181Gateway/src/SwooleServer/GBS.php"},"region":{"startLine":1482}}}],"partialFingerprints":{"codehealthFindingId/v1":"aef5add9d9828b758818ee1d8091da2bd0357b10c6a2791793223322f9fac118"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 1539 is handed a double-quoted string with variables interpolated into it as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass a constant message and the values in the PSR-3 context array instead: \u0060$logger-\u003Edebug(\u0027Order {order_id} moved to {status}\u0027, [\u0027order_id\u0027 =\u003E $orderId, \u0027status\u0027 =\u003E $status])\u0060, which Monolog and every PSR-3 handler keep as fields beside the message (Monolog\u0027s PsrLogMessageProcessor fills the placeholders), or \u0060Log::debug(\u0027order moved\u0027, [\u0027order_id\u0027 =\u003E $orderId])\u0060 with Laravel\u0027s facade."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Gb28181Gateway/src/SwooleServer/GBS.php"},"region":{"startLine":1539}}}],"partialFingerprints":{"codehealthFindingId/v1":"f454f04cbb6737b56f9c4066f3f044674fb8b19d5c9ce9ebf1818604b3fe77c1"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 1637 is handed a double-quoted string with variables interpolated into it as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass a constant message and the values in the PSR-3 context array instead: \u0060$logger-\u003Edebug(\u0027Order {order_id} moved to {status}\u0027, [\u0027order_id\u0027 =\u003E $orderId, \u0027status\u0027 =\u003E $status])\u0060, which Monolog and every PSR-3 handler keep as fields beside the message (Monolog\u0027s PsrLogMessageProcessor fills the placeholders), or \u0060Log::debug(\u0027order moved\u0027, [\u0027order_id\u0027 =\u003E $orderId])\u0060 with Laravel\u0027s facade."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Gb28181Gateway/src/SwooleServer/GBS.php"},"region":{"startLine":1637}}}],"partialFingerprints":{"codehealthFindingId/v1":"228d40189a1497903ae06600ea9c21c770557c68230e89bb60b06235103b2e6c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 1639 is handed a double-quoted string with variables interpolated into it as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass a constant message and the values in the PSR-3 context array instead: \u0060$logger-\u003Edebug(\u0027Order {order_id} moved to {status}\u0027, [\u0027order_id\u0027 =\u003E $orderId, \u0027status\u0027 =\u003E $status])\u0060, which Monolog and every PSR-3 handler keep as fields beside the message (Monolog\u0027s PsrLogMessageProcessor fills the placeholders), or \u0060Log::debug(\u0027order moved\u0027, [\u0027order_id\u0027 =\u003E $orderId])\u0060 with Laravel\u0027s facade."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Gb28181Gateway/src/SwooleServer/GBS.php"},"region":{"startLine":1639}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d46948556913a50469167918b35883369e949962440ff4a82c6196df0d10729"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 1659 is handed a double-quoted string with variables interpolated into it as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass a constant message and the values in the PSR-3 context array instead: \u0060$logger-\u003Edebug(\u0027Order {order_id} moved to {status}\u0027, [\u0027order_id\u0027 =\u003E $orderId, \u0027status\u0027 =\u003E $status])\u0060, which Monolog and every PSR-3 handler keep as fields beside the message (Monolog\u0027s PsrLogMessageProcessor fills the placeholders), or \u0060Log::debug(\u0027order moved\u0027, [\u0027order_id\u0027 =\u003E $orderId])\u0060 with Laravel\u0027s facade."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Gb28181Gateway/src/SwooleServer/GBS.php"},"region":{"startLine":1659}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3880f50b1d61d63cda303d5e9e7531081702e70f1995fb76e11e6abc7436230"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 1660 is handed a double-quoted string with variables interpolated into it as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass a constant message and the values in the PSR-3 context array instead: \u0060$logger-\u003Edebug(\u0027Order {order_id} moved to {status}\u0027, [\u0027order_id\u0027 =\u003E $orderId, \u0027status\u0027 =\u003E $status])\u0060, which Monolog and every PSR-3 handler keep as fields beside the message (Monolog\u0027s PsrLogMessageProcessor fills the placeholders), or \u0060Log::debug(\u0027order moved\u0027, [\u0027order_id\u0027 =\u003E $orderId])\u0060 with Laravel\u0027s facade."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Gb28181Gateway/src/SwooleServer/GBS.php"},"region":{"startLine":1660}}}],"partialFingerprints":{"codehealthFindingId/v1":"99e27ec1c836d0c4b31198f72e657c3f23d7897b15a24b50698ad4af5ef7a973"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 1670 is handed a double-quoted string with variables interpolated into it as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass a constant message and the values in the PSR-3 context array instead: \u0060$logger-\u003Edebug(\u0027Order {order_id} moved to {status}\u0027, [\u0027order_id\u0027 =\u003E $orderId, \u0027status\u0027 =\u003E $status])\u0060, which Monolog and every PSR-3 handler keep as fields beside the message (Monolog\u0027s PsrLogMessageProcessor fills the placeholders), or \u0060Log::debug(\u0027order moved\u0027, [\u0027order_id\u0027 =\u003E $orderId])\u0060 with Laravel\u0027s facade."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Gb28181Gateway/src/SwooleServer/GBS.php"},"region":{"startLine":1670}}}],"partialFingerprints":{"codehealthFindingId/v1":"3345b328caafad0406ffedbe6135f93f80e3987971dd123f55cf62eebddedda8"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 1685 is handed a double-quoted string with variables interpolated into it as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass a constant message and the values in the PSR-3 context array instead: \u0060$logger-\u003Eerror(\u0027Order {order_id} moved to {status}\u0027, [\u0027order_id\u0027 =\u003E $orderId, \u0027status\u0027 =\u003E $status])\u0060, which Monolog and every PSR-3 handler keep as fields beside the message (Monolog\u0027s PsrLogMessageProcessor fills the placeholders), or \u0060Log::error(\u0027order moved\u0027, [\u0027order_id\u0027 =\u003E $orderId])\u0060 with Laravel\u0027s facade."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Gb28181Gateway/src/SwooleServer/GBS.php"},"region":{"startLine":1685}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5f82e5f69fb8d4143c3387cf426f074d7f4f2b4107a2a6a1342cba0380ac3ef"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 1692 is handed a double-quoted string with variables interpolated into it as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass a constant message and the values in the PSR-3 context array instead: \u0060$logger-\u003Eerror(\u0027Order {order_id} moved to {status}\u0027, [\u0027order_id\u0027 =\u003E $orderId, \u0027status\u0027 =\u003E $status])\u0060, which Monolog and every PSR-3 handler keep as fields beside the message (Monolog\u0027s PsrLogMessageProcessor fills the placeholders), or \u0060Log::error(\u0027order moved\u0027, [\u0027order_id\u0027 =\u003E $orderId])\u0060 with Laravel\u0027s facade."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Gb28181Gateway/src/SwooleServer/GBS.php"},"region":{"startLine":1692}}}],"partialFingerprints":{"codehealthFindingId/v1":"eff9d86e6d7cef6d17ad376d3d51b30763bf37587042c058873d0df2797ae22d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 1702 is handed a double-quoted string with variables interpolated into it as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass a constant message and the values in the PSR-3 context array instead: \u0060$logger-\u003Edebug(\u0027Order {order_id} moved to {status}\u0027, [\u0027order_id\u0027 =\u003E $orderId, \u0027status\u0027 =\u003E $status])\u0060, which Monolog and every PSR-3 handler keep as fields beside the message (Monolog\u0027s PsrLogMessageProcessor fills the placeholders), or \u0060Log::debug(\u0027order moved\u0027, [\u0027order_id\u0027 =\u003E $orderId])\u0060 with Laravel\u0027s facade."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Gb28181Gateway/src/SwooleServer/GBS.php"},"region":{"startLine":1702}}}],"partialFingerprints":{"codehealthFindingId/v1":"a70e3f166c2902102475da436aa7187a49825cccb4f90155406ad22091c844f3"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 1713 is handed a double-quoted string with variables interpolated into it as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass a constant message and the values in the PSR-3 context array instead: \u0060$logger-\u003Edebug(\u0027Order {order_id} moved to {status}\u0027, [\u0027order_id\u0027 =\u003E $orderId, \u0027status\u0027 =\u003E $status])\u0060, which Monolog and every PSR-3 handler keep as fields beside the message (Monolog\u0027s PsrLogMessageProcessor fills the placeholders), or \u0060Log::debug(\u0027order moved\u0027, [\u0027order_id\u0027 =\u003E $orderId])\u0060 with Laravel\u0027s facade."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Gb28181Gateway/src/SwooleServer/GBS.php"},"region":{"startLine":1713}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e63c0c37bd8281db93698c25f4f16b942bbb406f979c132eec5825449a6763b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 1715 is handed a double-quoted string with variables interpolated into it as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass a constant message and the values in the PSR-3 context array instead: \u0060$logger-\u003Eerror(\u0027Order {order_id} moved to {status}\u0027, [\u0027order_id\u0027 =\u003E $orderId, \u0027status\u0027 =\u003E $status])\u0060, which Monolog and every PSR-3 handler keep as fields beside the message (Monolog\u0027s PsrLogMessageProcessor fills the placeholders), or \u0060Log::error(\u0027order moved\u0027, [\u0027order_id\u0027 =\u003E $orderId])\u0060 with Laravel\u0027s facade."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Gb28181Gateway/src/SwooleServer/GBS.php"},"region":{"startLine":1715}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fe22f5af022e21b0e8d831aa01737ecbd1618393b6b04d87cc504594b06ca19"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 1731 is handed a double-quoted string with variables interpolated into it as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass a constant message and the values in the PSR-3 context array instead: \u0060$logger-\u003Edebug(\u0027Order {order_id} moved to {status}\u0027, [\u0027order_id\u0027 =\u003E $orderId, \u0027status\u0027 =\u003E $status])\u0060, which Monolog and every PSR-3 handler keep as fields beside the message (Monolog\u0027s PsrLogMessageProcessor fills the placeholders), or \u0060Log::debug(\u0027order moved\u0027, [\u0027order_id\u0027 =\u003E $orderId])\u0060 with Laravel\u0027s facade."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Gb28181Gateway/src/SwooleServer/GBS.php"},"region":{"startLine":1731}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b30a62fe575bdf94f84e3e83dbb4b8df9dff1d8658460beafc6861a1f2d754b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 1738 is handed a double-quoted string with variables interpolated into it as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass a constant message and the values in the PSR-3 context array instead: \u0060$logger-\u003Eerror(\u0027Order {order_id} moved to {status}\u0027, [\u0027order_id\u0027 =\u003E $orderId, \u0027status\u0027 =\u003E $status])\u0060, which Monolog and every PSR-3 handler keep as fields beside the message (Monolog\u0027s PsrLogMessageProcessor fills the placeholders), or \u0060Log::error(\u0027order moved\u0027, [\u0027order_id\u0027 =\u003E $orderId])\u0060 with Laravel\u0027s facade."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Gb28181Gateway/src/SwooleServer/GBS.php"},"region":{"startLine":1738}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bb9c14c0ee685c882920fd286511b9f874ebe86d2d60f5d7e65b92c682a29e4"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 1750 is handed a double-quoted string with variables interpolated into it as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass a constant message and the values in the PSR-3 context array instead: \u0060$logger-\u003Eerror(\u0027Order {order_id} moved to {status}\u0027, [\u0027order_id\u0027 =\u003E $orderId, \u0027status\u0027 =\u003E $status])\u0060, which Monolog and every PSR-3 handler keep as fields beside the message (Monolog\u0027s PsrLogMessageProcessor fills the placeholders), or \u0060Log::error(\u0027order moved\u0027, [\u0027order_id\u0027 =\u003E $orderId])\u0060 with Laravel\u0027s facade."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Gb28181Gateway/src/SwooleServer/GBS.php"},"region":{"startLine":1750}}}],"partialFingerprints":{"codehealthFindingId/v1":"317e62b614dca9148f2c0eefaf22eca53761197aa3677fc47295848f52f589a5"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 1762 is handed a double-quoted string with variables interpolated into it as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass a constant message and the values in the PSR-3 context array instead: \u0060$logger-\u003Edebug(\u0027Order {order_id} moved to {status}\u0027, [\u0027order_id\u0027 =\u003E $orderId, \u0027status\u0027 =\u003E $status])\u0060, which Monolog and every PSR-3 handler keep as fields beside the message (Monolog\u0027s PsrLogMessageProcessor fills the placeholders), or \u0060Log::debug(\u0027order moved\u0027, [\u0027order_id\u0027 =\u003E $orderId])\u0060 with Laravel\u0027s facade."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Gb28181Gateway/src/SwooleServer/GBS.php"},"region":{"startLine":1762}}}],"partialFingerprints":{"codehealthFindingId/v1":"dce8ee5f4e2e9260e17840500fe49fdde6e3fafc44ad41f701ae0154fda40e14"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 1820 is handed a double-quoted string with variables interpolated into it as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass a constant message and the values in the PSR-3 context array instead: \u0060$logger-\u003Edebug(\u0027Order {order_id} moved to {status}\u0027, [\u0027order_id\u0027 =\u003E $orderId, \u0027status\u0027 =\u003E $status])\u0060, which Monolog and every PSR-3 handler keep as fields beside the message (Monolog\u0027s PsrLogMessageProcessor fills the placeholders), or \u0060Log::debug(\u0027order moved\u0027, [\u0027order_id\u0027 =\u003E $orderId])\u0060 with Laravel\u0027s facade."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Gb28181Gateway/src/SwooleServer/GBS.php"},"region":{"startLine":1820}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e1ffe2ca0f63a9ee962c6dc1360125516315aee8842d61b385992787967f8b4"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 1822 is handed a double-quoted string with variables interpolated into it as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass a constant message and the values in the PSR-3 context array instead: \u0060$logger-\u003Edebug(\u0027Order {order_id} moved to {status}\u0027, [\u0027order_id\u0027 =\u003E $orderId, \u0027status\u0027 =\u003E $status])\u0060, which Monolog and every PSR-3 handler keep as fields beside the message (Monolog\u0027s PsrLogMessageProcessor fills the placeholders), or \u0060Log::debug(\u0027order moved\u0027, [\u0027order_id\u0027 =\u003E $orderId])\u0060 with Laravel\u0027s facade."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Gb28181Gateway/src/SwooleServer/GBS.php"},"region":{"startLine":1822}}}],"partialFingerprints":{"codehealthFindingId/v1":"adc50f341ea30cadf9104be365ae6b41d57441550606ebf419bbdbc4137cec4c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 1827 is handed a double-quoted string with variables interpolated into it as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass a constant message and the values in the PSR-3 context array instead: \u0060$logger-\u003Edebug(\u0027Order {order_id} moved to {status}\u0027, [\u0027order_id\u0027 =\u003E $orderId, \u0027status\u0027 =\u003E $status])\u0060, which Monolog and every PSR-3 handler keep as fields beside the message (Monolog\u0027s PsrLogMessageProcessor fills the placeholders), or \u0060Log::debug(\u0027order moved\u0027, [\u0027order_id\u0027 =\u003E $orderId])\u0060 with Laravel\u0027s facade."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Gb28181Gateway/src/SwooleServer/GBS.php"},"region":{"startLine":1827}}}],"partialFingerprints":{"codehealthFindingId/v1":"62419d265479b03abf4af0b3ee60652be84998ff2c71bf8db24343f3b560a491"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 1833 is handed a double-quoted string with variables interpolated into it as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass a constant message and the values in the PSR-3 context array instead: \u0060$logger-\u003Edebug(\u0027Order {order_id} moved to {status}\u0027, [\u0027order_id\u0027 =\u003E $orderId, \u0027status\u0027 =\u003E $status])\u0060, which Monolog and every PSR-3 handler keep as fields beside the message (Monolog\u0027s PsrLogMessageProcessor fills the placeholders), or \u0060Log::debug(\u0027order moved\u0027, [\u0027order_id\u0027 =\u003E $orderId])\u0060 with Laravel\u0027s facade."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Gb28181Gateway/src/SwooleServer/GBS.php"},"region":{"startLine":1833}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bc7c946699373dbd8b128f4a3084ec6ba7fee2f0a38595219c2ced15fc3afc7"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 1892 is handed a double-quoted string with variables interpolated into it as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass a constant message and the values in the PSR-3 context array instead: \u0060$logger-\u003Edebug(\u0027Order {order_id} moved to {status}\u0027, [\u0027order_id\u0027 =\u003E $orderId, \u0027status\u0027 =\u003E $status])\u0060, which Monolog and every PSR-3 handler keep as fields beside the message (Monolog\u0027s PsrLogMessageProcessor fills the placeholders), or \u0060Log::debug(\u0027order moved\u0027, [\u0027order_id\u0027 =\u003E $orderId])\u0060 with Laravel\u0027s facade."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Gb28181Gateway/src/SwooleServer/GBS.php"},"region":{"startLine":1892}}}],"partialFingerprints":{"codehealthFindingId/v1":"05288e5819678e635d9ef887af4502312fc4c4152827457ded56f3814a907888"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 1935 is handed a double-quoted string with variables interpolated into it as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass a constant message and the values in the PSR-3 context array instead: \u0060$logger-\u003Edebug(\u0027Order {order_id} moved to {status}\u0027, [\u0027order_id\u0027 =\u003E $orderId, \u0027status\u0027 =\u003E $status])\u0060, which Monolog and every PSR-3 handler keep as fields beside the message (Monolog\u0027s PsrLogMessageProcessor fills the placeholders), or \u0060Log::debug(\u0027order moved\u0027, [\u0027order_id\u0027 =\u003E $orderId])\u0060 with Laravel\u0027s facade."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Gb28181Gateway/src/SwooleServer/GBS.php"},"region":{"startLine":1935}}}],"partialFingerprints":{"codehealthFindingId/v1":"f18e4a09121bcdfcec40235aca3d7c9606fcf5afb27ff0be4a3de6429e8e4773"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 1981 is handed a double-quoted string with variables interpolated into it as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass a constant message and the values in the PSR-3 context array instead: \u0060$logger-\u003Edebug(\u0027Order {order_id} moved to {status}\u0027, [\u0027order_id\u0027 =\u003E $orderId, \u0027status\u0027 =\u003E $status])\u0060, which Monolog and every PSR-3 handler keep as fields beside the message (Monolog\u0027s PsrLogMessageProcessor fills the placeholders), or \u0060Log::debug(\u0027order moved\u0027, [\u0027order_id\u0027 =\u003E $orderId])\u0060 with Laravel\u0027s facade."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Gb28181Gateway/src/SwooleServer/GBS.php"},"region":{"startLine":1981}}}],"partialFingerprints":{"codehealthFindingId/v1":"23d0039f9d49eaae3e570a0b6fc08a832c6b54d254094428d0b26eac7d99ed55"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 2030 is handed a double-quoted string with variables interpolated into it as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass a constant message and the values in the PSR-3 context array instead: \u0060$logger-\u003Edebug(\u0027Order {order_id} moved to {status}\u0027, [\u0027order_id\u0027 =\u003E $orderId, \u0027status\u0027 =\u003E $status])\u0060, which Monolog and every PSR-3 handler keep as fields beside the message (Monolog\u0027s PsrLogMessageProcessor fills the placeholders), or \u0060Log::debug(\u0027order moved\u0027, [\u0027order_id\u0027 =\u003E $orderId])\u0060 with Laravel\u0027s facade."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Gb28181Gateway/src/SwooleServer/GBS.php"},"region":{"startLine":2030}}}],"partialFingerprints":{"codehealthFindingId/v1":"214038d47405bf669a1c77cba661b68e9ffaa545f267efea3743d6842aff2857"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 2063 is handed a double-quoted string with variables interpolated into it as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass a constant message and the values in the PSR-3 context array instead: \u0060$logger-\u003Edebug(\u0027Order {order_id} moved to {status}\u0027, [\u0027order_id\u0027 =\u003E $orderId, \u0027status\u0027 =\u003E $status])\u0060, which Monolog and every PSR-3 handler keep as fields beside the message (Monolog\u0027s PsrLogMessageProcessor fills the placeholders), or \u0060Log::debug(\u0027order moved\u0027, [\u0027order_id\u0027 =\u003E $orderId])\u0060 with Laravel\u0027s facade."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Gb28181Gateway/src/SwooleServer/GBS.php"},"region":{"startLine":2063}}}],"partialFingerprints":{"codehealthFindingId/v1":"989e93212fbd0e7a0ea07ec5741387a95d6f1866869a684b6415945f7336f1f6"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 2070 is handed a double-quoted string with variables interpolated into it as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass a constant message and the values in the PSR-3 context array instead: \u0060$logger-\u003Edebug(\u0027Order {order_id} moved to {status}\u0027, [\u0027order_id\u0027 =\u003E $orderId, \u0027status\u0027 =\u003E $status])\u0060, which Monolog and every PSR-3 handler keep as fields beside the message (Monolog\u0027s PsrLogMessageProcessor fills the placeholders), or \u0060Log::debug(\u0027order moved\u0027, [\u0027order_id\u0027 =\u003E $orderId])\u0060 with Laravel\u0027s facade."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Gb28181Gateway/src/SwooleServer/GBS.php"},"region":{"startLine":2070}}}],"partialFingerprints":{"codehealthFindingId/v1":"532e6892427841cab83e2146a2a3812279dd329a589a04ee84c49e6bace12535"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 2125 is handed a double-quoted string with variables interpolated into it as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass a constant message and the values in the PSR-3 context array instead: \u0060$logger-\u003Edebug(\u0027Order {order_id} moved to {status}\u0027, [\u0027order_id\u0027 =\u003E $orderId, \u0027status\u0027 =\u003E $status])\u0060, which Monolog and every PSR-3 handler keep as fields beside the message (Monolog\u0027s PsrLogMessageProcessor fills the placeholders), or \u0060Log::debug(\u0027order moved\u0027, [\u0027order_id\u0027 =\u003E $orderId])\u0060 with Laravel\u0027s facade."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Gb28181Gateway/src/SwooleServer/GBS.php"},"region":{"startLine":2125}}}],"partialFingerprints":{"codehealthFindingId/v1":"062d6aa139ddc772f8d87ac7fb3c5887f381af195258af07f6ebc108e9e633e1"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 2135 is handed a double-quoted string with variables interpolated into it as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass a constant message and the values in the PSR-3 context array instead: \u0060$logger-\u003Edebug(\u0027Order {order_id} moved to {status}\u0027, [\u0027order_id\u0027 =\u003E $orderId, \u0027status\u0027 =\u003E $status])\u0060, which Monolog and every PSR-3 handler keep as fields beside the message (Monolog\u0027s PsrLogMessageProcessor fills the placeholders), or \u0060Log::debug(\u0027order moved\u0027, [\u0027order_id\u0027 =\u003E $orderId])\u0060 with Laravel\u0027s facade."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Gb28181Gateway/src/SwooleServer/GBS.php"},"region":{"startLine":2135}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8b6e9809a8fe1b40d1596b2fb387f42946b416e1bf618bff36f87fcdb737c2d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 2169 is handed a double-quoted string with variables interpolated into it as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass a constant message and the values in the PSR-3 context array instead: \u0060$logger-\u003Edebug(\u0027Order {order_id} moved to {status}\u0027, [\u0027order_id\u0027 =\u003E $orderId, \u0027status\u0027 =\u003E $status])\u0060, which Monolog and every PSR-3 handler keep as fields beside the message (Monolog\u0027s PsrLogMessageProcessor fills the placeholders), or \u0060Log::debug(\u0027order moved\u0027, [\u0027order_id\u0027 =\u003E $orderId])\u0060 with Laravel\u0027s facade."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Gb28181Gateway/src/SwooleServer/GBS.php"},"region":{"startLine":2169}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9e68002d7e5e660c4098eb95e7a828d8a1e24874a3240af8e6d3e9a6809e626"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 2211 is handed a double-quoted string with variables interpolated into it as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass a constant message and the values in the PSR-3 context array instead: \u0060$logger-\u003Edebug(\u0027Order {order_id} moved to {status}\u0027, [\u0027order_id\u0027 =\u003E $orderId, \u0027status\u0027 =\u003E $status])\u0060, which Monolog and every PSR-3 handler keep as fields beside the message (Monolog\u0027s PsrLogMessageProcessor fills the placeholders), or \u0060Log::debug(\u0027order moved\u0027, [\u0027order_id\u0027 =\u003E $orderId])\u0060 with Laravel\u0027s facade."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Gb28181Gateway/src/SwooleServer/GBS.php"},"region":{"startLine":2211}}}],"partialFingerprints":{"codehealthFindingId/v1":"e499f25262c0554cd1cc4a22b0ddcb4caf8c172d6f0f9a80e1ab723a88f221a4"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 2243 is handed a double-quoted string with variables interpolated into it as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass a constant message and the values in the PSR-3 context array instead: \u0060$logger-\u003Edebug(\u0027Order {order_id} moved to {status}\u0027, [\u0027order_id\u0027 =\u003E $orderId, \u0027status\u0027 =\u003E $status])\u0060, which Monolog and every PSR-3 handler keep as fields beside the message (Monolog\u0027s PsrLogMessageProcessor fills the placeholders), or \u0060Log::debug(\u0027order moved\u0027, [\u0027order_id\u0027 =\u003E $orderId])\u0060 with Laravel\u0027s facade."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Gb28181Gateway/src/SwooleServer/GBS.php"},"region":{"startLine":2243}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca930484930997b990675a36073179427dfc4fb051a57a03b9772f8a42a2b275"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 2268 is handed a double-quoted string with variables interpolated into it as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass a constant message and the values in the PSR-3 context array instead: \u0060$logger-\u003Edebug(\u0027Order {order_id} moved to {status}\u0027, [\u0027order_id\u0027 =\u003E $orderId, \u0027status\u0027 =\u003E $status])\u0060, which Monolog and every PSR-3 handler keep as fields beside the message (Monolog\u0027s PsrLogMessageProcessor fills the placeholders), or \u0060Log::debug(\u0027order moved\u0027, [\u0027order_id\u0027 =\u003E $orderId])\u0060 with Laravel\u0027s facade."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Gb28181Gateway/src/SwooleServer/GBS.php"},"region":{"startLine":2268}}}],"partialFingerprints":{"codehealthFindingId/v1":"7eec58e6799fa5ae34a1d3f58c44ca8dcd76de2a12546e595a9c6632018837b7"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 2271 is handed a double-quoted string with variables interpolated into it as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass a constant message and the values in the PSR-3 context array instead: \u0060$logger-\u003Edebug(\u0027Order {order_id} moved to {status}\u0027, [\u0027order_id\u0027 =\u003E $orderId, \u0027status\u0027 =\u003E $status])\u0060, which Monolog and every PSR-3 handler keep as fields beside the message (Monolog\u0027s PsrLogMessageProcessor fills the placeholders), or \u0060Log::debug(\u0027order moved\u0027, [\u0027order_id\u0027 =\u003E $orderId])\u0060 with Laravel\u0027s facade."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Gb28181Gateway/src/SwooleServer/GBS.php"},"region":{"startLine":2271}}}],"partialFingerprints":{"codehealthFindingId/v1":"957c8e85cde85da42d7195f74ad591387f7645e505c26c54b8498f2e25c2fceb"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 2274 is handed a double-quoted string with variables interpolated into it as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass a constant message and the values in the PSR-3 context array instead: \u0060$logger-\u003Eerror(\u0027Order {order_id} moved to {status}\u0027, [\u0027order_id\u0027 =\u003E $orderId, \u0027status\u0027 =\u003E $status])\u0060, which Monolog and every PSR-3 handler keep as fields beside the message (Monolog\u0027s PsrLogMessageProcessor fills the placeholders), or \u0060Log::error(\u0027order moved\u0027, [\u0027order_id\u0027 =\u003E $orderId])\u0060 with Laravel\u0027s facade."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Gb28181Gateway/src/SwooleServer/GBS.php"},"region":{"startLine":2274}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ee2279ee1f8581ffdaf26026166fa6b550754662f8c8308c0074a5790387980"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 2287 is handed a double-quoted string with variables interpolated into it as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass a constant message and the values in the PSR-3 context array instead: \u0060$logger-\u003Edebug(\u0027Order {order_id} moved to {status}\u0027, [\u0027order_id\u0027 =\u003E $orderId, \u0027status\u0027 =\u003E $status])\u0060, which Monolog and every PSR-3 handler keep as fields beside the message (Monolog\u0027s PsrLogMessageProcessor fills the placeholders), or \u0060Log::debug(\u0027order moved\u0027, [\u0027order_id\u0027 =\u003E $orderId])\u0060 with Laravel\u0027s facade."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Gb28181Gateway/src/SwooleServer/GBS.php"},"region":{"startLine":2287}}}],"partialFingerprints":{"codehealthFindingId/v1":"6925abdd58d76f6c92f211e7360e38053845a688191cd96cdee5a77fb17855c4"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 2308 is handed a double-quoted string with variables interpolated into it as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass a constant message and the values in the PSR-3 context array instead: \u0060$logger-\u003Edebug(\u0027Order {order_id} moved to {status}\u0027, [\u0027order_id\u0027 =\u003E $orderId, \u0027status\u0027 =\u003E $status])\u0060, which Monolog and every PSR-3 handler keep as fields beside the message (Monolog\u0027s PsrLogMessageProcessor fills the placeholders), or \u0060Log::debug(\u0027order moved\u0027, [\u0027order_id\u0027 =\u003E $orderId])\u0060 with Laravel\u0027s facade."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Gb28181Gateway/src/SwooleServer/GBS.php"},"region":{"startLine":2308}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fbf1d95b67966d764e74b940f7b527f980d4c51798bf53743490945bcbfa41a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 2315 is handed a double-quoted string with variables interpolated into it as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass a constant message and the values in the PSR-3 context array instead: \u0060$logger-\u003Edebug(\u0027Order {order_id} moved to {status}\u0027, [\u0027order_id\u0027 =\u003E $orderId, \u0027status\u0027 =\u003E $status])\u0060, which Monolog and every PSR-3 handler keep as fields beside the message (Monolog\u0027s PsrLogMessageProcessor fills the placeholders), or \u0060Log::debug(\u0027order moved\u0027, [\u0027order_id\u0027 =\u003E $orderId])\u0060 with Laravel\u0027s facade."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Gb28181Gateway/src/SwooleServer/GBS.php"},"region":{"startLine":2315}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b99cac0138b4e4bdeca17aa3d7547545d1f06fd9bb3be3ced23cc2c9f3624b8"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 2334 is handed a double-quoted string with variables interpolated into it as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass a constant message and the values in the PSR-3 context array instead: \u0060$logger-\u003Edebug(\u0027Order {order_id} moved to {status}\u0027, [\u0027order_id\u0027 =\u003E $orderId, \u0027status\u0027 =\u003E $status])\u0060, which Monolog and every PSR-3 handler keep as fields beside the message (Monolog\u0027s PsrLogMessageProcessor fills the placeholders), or \u0060Log::debug(\u0027order moved\u0027, [\u0027order_id\u0027 =\u003E $orderId])\u0060 with Laravel\u0027s facade."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Gb28181Gateway/src/SwooleServer/GBS.php"},"region":{"startLine":2334}}}],"partialFingerprints":{"codehealthFindingId/v1":"cacb0c1cfa1f94af7aed0af41c09437b3bcffbe3fcc7076282cb2403659f3c45"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 2338 is handed a double-quoted string with variables interpolated into it as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass a constant message and the values in the PSR-3 context array instead: \u0060$logger-\u003Edebug(\u0027Order {order_id} moved to {status}\u0027, [\u0027order_id\u0027 =\u003E $orderId, \u0027status\u0027 =\u003E $status])\u0060, which Monolog and every PSR-3 handler keep as fields beside the message (Monolog\u0027s PsrLogMessageProcessor fills the placeholders), or \u0060Log::debug(\u0027order moved\u0027, [\u0027order_id\u0027 =\u003E $orderId])\u0060 with Laravel\u0027s facade."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Gb28181Gateway/src/SwooleServer/GBS.php"},"region":{"startLine":2338}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ec505d5a941728dc4446cbc68607f9b82beb544b8c79202c00354f9efcbc76a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 2354 is handed a double-quoted string with variables interpolated into it as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass a constant message and the values in the PSR-3 context array instead: \u0060$logger-\u003Edebug(\u0027Order {order_id} moved to {status}\u0027, [\u0027order_id\u0027 =\u003E $orderId, \u0027status\u0027 =\u003E $status])\u0060, which Monolog and every PSR-3 handler keep as fields beside the message (Monolog\u0027s PsrLogMessageProcessor fills the placeholders), or \u0060Log::debug(\u0027order moved\u0027, [\u0027order_id\u0027 =\u003E $orderId])\u0060 with Laravel\u0027s facade."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Gb28181Gateway/src/SwooleServer/GBS.php"},"region":{"startLine":2354}}}],"partialFingerprints":{"codehealthFindingId/v1":"53a00d95ab444f5e501da6f1f331202e9ae75137ef164de2c27550778b032f8f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 2372 is handed a double-quoted string with variables interpolated into it as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass a constant message and the values in the PSR-3 context array instead: \u0060$logger-\u003Edebug(\u0027Order {order_id} moved to {status}\u0027, [\u0027order_id\u0027 =\u003E $orderId, \u0027status\u0027 =\u003E $status])\u0060, which Monolog and every PSR-3 handler keep as fields beside the message (Monolog\u0027s PsrLogMessageProcessor fills the placeholders), or \u0060Log::debug(\u0027order moved\u0027, [\u0027order_id\u0027 =\u003E $orderId])\u0060 with Laravel\u0027s facade."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Gb28181Gateway/src/SwooleServer/GBS.php"},"region":{"startLine":2372}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc3354cf32d9a1afdcdfea898ac1fb3824977be1af32e09cfc5bda5ab29d7acb"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 2387 is handed a double-quoted string with variables interpolated into it as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass a constant message and the values in the PSR-3 context array instead: \u0060$logger-\u003Edebug(\u0027Order {order_id} moved to {status}\u0027, [\u0027order_id\u0027 =\u003E $orderId, \u0027status\u0027 =\u003E $status])\u0060, which Monolog and every PSR-3 handler keep as fields beside the message (Monolog\u0027s PsrLogMessageProcessor fills the placeholders), or \u0060Log::debug(\u0027order moved\u0027, [\u0027order_id\u0027 =\u003E $orderId])\u0060 with Laravel\u0027s facade."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Gb28181Gateway/src/SwooleServer/GBS.php"},"region":{"startLine":2387}}}],"partialFingerprints":{"codehealthFindingId/v1":"9efc9cf20522b6b8c669a475319dfa695b3929790b58a8b1accc6d54573e4046"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 2392 is handed a double-quoted string with variables interpolated into it as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass a constant message and the values in the PSR-3 context array instead: \u0060$logger-\u003Edebug(\u0027Order {order_id} moved to {status}\u0027, [\u0027order_id\u0027 =\u003E $orderId, \u0027status\u0027 =\u003E $status])\u0060, which Monolog and every PSR-3 handler keep as fields beside the message (Monolog\u0027s PsrLogMessageProcessor fills the placeholders), or \u0060Log::debug(\u0027order moved\u0027, [\u0027order_id\u0027 =\u003E $orderId])\u0060 with Laravel\u0027s facade."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Gb28181Gateway/src/SwooleServer/GBS.php"},"region":{"startLine":2392}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6bf93625cbaee3011548c118ef86cfbf8f08281494406701694d90c2e983ef9"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 2396 is handed a double-quoted string with variables interpolated into it as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass a constant message and the values in the PSR-3 context array instead: \u0060$logger-\u003Edebug(\u0027Order {order_id} moved to {status}\u0027, [\u0027order_id\u0027 =\u003E $orderId, \u0027status\u0027 =\u003E $status])\u0060, which Monolog and every PSR-3 handler keep as fields beside the message (Monolog\u0027s PsrLogMessageProcessor fills the placeholders), or \u0060Log::debug(\u0027order moved\u0027, [\u0027order_id\u0027 =\u003E $orderId])\u0060 with Laravel\u0027s facade."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Gb28181Gateway/src/SwooleServer/GBS.php"},"region":{"startLine":2396}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8c74241a6735aaa071330adbc31bc4fc555a27c81eaf0307a2461d525711653"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 2399 is handed a double-quoted string with variables interpolated into it as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass a constant message and the values in the PSR-3 context array instead: \u0060$logger-\u003Eerror(\u0027Order {order_id} moved to {status}\u0027, [\u0027order_id\u0027 =\u003E $orderId, \u0027status\u0027 =\u003E $status])\u0060, which Monolog and every PSR-3 handler keep as fields beside the message (Monolog\u0027s PsrLogMessageProcessor fills the placeholders), or \u0060Log::error(\u0027order moved\u0027, [\u0027order_id\u0027 =\u003E $orderId])\u0060 with Laravel\u0027s facade."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Gb28181Gateway/src/SwooleServer/GBS.php"},"region":{"startLine":2399}}}],"partialFingerprints":{"codehealthFindingId/v1":"53e54455dbaa60189cb37421bb2e93810de1645a9dd62f7de116f69fba11c999"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 2424 is handed a double-quoted string with variables interpolated into it as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass a constant message and the values in the PSR-3 context array instead: \u0060$logger-\u003Edebug(\u0027Order {order_id} moved to {status}\u0027, [\u0027order_id\u0027 =\u003E $orderId, \u0027status\u0027 =\u003E $status])\u0060, which Monolog and every PSR-3 handler keep as fields beside the message (Monolog\u0027s PsrLogMessageProcessor fills the placeholders), or \u0060Log::debug(\u0027order moved\u0027, [\u0027order_id\u0027 =\u003E $orderId])\u0060 with Laravel\u0027s facade."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Gb28181Gateway/src/SwooleServer/GBS.php"},"region":{"startLine":2424}}}],"partialFingerprints":{"codehealthFindingId/v1":"89a7ffdf0cca5eeeb20759ce0a210df73b170c08161643873549268c5c7e78d8"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 2476 is handed a double-quoted string with variables interpolated into it as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass a constant message and the values in the PSR-3 context array instead: \u0060$logger-\u003Edebug(\u0027Order {order_id} moved to {status}\u0027, [\u0027order_id\u0027 =\u003E $orderId, \u0027status\u0027 =\u003E $status])\u0060, which Monolog and every PSR-3 handler keep as fields beside the message (Monolog\u0027s PsrLogMessageProcessor fills the placeholders), or \u0060Log::debug(\u0027order moved\u0027, [\u0027order_id\u0027 =\u003E $orderId])\u0060 with Laravel\u0027s facade."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Gb28181Gateway/src/SwooleServer/GBS.php"},"region":{"startLine":2476}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9824d1d83c4f9dd04ebc0cb5af956393fba7b4c1fe06157af3b63ed1b62d2bb"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 2483 is handed a double-quoted string with variables interpolated into it as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass a constant message and the values in the PSR-3 context array instead: \u0060$logger-\u003Edebug(\u0027Order {order_id} moved to {status}\u0027, [\u0027order_id\u0027 =\u003E $orderId, \u0027status\u0027 =\u003E $status])\u0060, which Monolog and every PSR-3 handler keep as fields beside the message (Monolog\u0027s PsrLogMessageProcessor fills the placeholders), or \u0060Log::debug(\u0027order moved\u0027, [\u0027order_id\u0027 =\u003E $orderId])\u0060 with Laravel\u0027s facade."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Gb28181Gateway/src/SwooleServer/GBS.php"},"region":{"startLine":2483}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cbf2626cd183f731dc867436c301e0986f5df111174ac3b773697e61513ba12"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 2534 is handed a double-quoted string with variables interpolated into it as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass a constant message and the values in the PSR-3 context array instead: \u0060$logger-\u003Edebug(\u0027Order {order_id} moved to {status}\u0027, [\u0027order_id\u0027 =\u003E $orderId, \u0027status\u0027 =\u003E $status])\u0060, which Monolog and every PSR-3 handler keep as fields beside the message (Monolog\u0027s PsrLogMessageProcessor fills the placeholders), or \u0060Log::debug(\u0027order moved\u0027, [\u0027order_id\u0027 =\u003E $orderId])\u0060 with Laravel\u0027s facade."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Gb28181Gateway/src/SwooleServer/GBS.php"},"region":{"startLine":2534}}}],"partialFingerprints":{"codehealthFindingId/v1":"1529224c6b3061acc36c215ca82878eb74632fe41df31d1bce418a0a69c2f7c1"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 2546 is handed a double-quoted string with variables interpolated into it as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass a constant message and the values in the PSR-3 context array instead: \u0060$logger-\u003Edebug(\u0027Order {order_id} moved to {status}\u0027, [\u0027order_id\u0027 =\u003E $orderId, \u0027status\u0027 =\u003E $status])\u0060, which Monolog and every PSR-3 handler keep as fields beside the message (Monolog\u0027s PsrLogMessageProcessor fills the placeholders), or \u0060Log::debug(\u0027order moved\u0027, [\u0027order_id\u0027 =\u003E $orderId])\u0060 with Laravel\u0027s facade."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Gb28181Gateway/src/SwooleServer/GBS.php"},"region":{"startLine":2546}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c3e554ee895175ba73a3420761cdbf516143051bf81deae2343bf45ae9b0017"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 2654 is handed a double-quoted string with variables interpolated into it as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass a constant message and the values in the PSR-3 context array instead: \u0060$logger-\u003Edebug(\u0027Order {order_id} moved to {status}\u0027, [\u0027order_id\u0027 =\u003E $orderId, \u0027status\u0027 =\u003E $status])\u0060, which Monolog and every PSR-3 handler keep as fields beside the message (Monolog\u0027s PsrLogMessageProcessor fills the placeholders), or \u0060Log::debug(\u0027order moved\u0027, [\u0027order_id\u0027 =\u003E $orderId])\u0060 with Laravel\u0027s facade."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Gb28181Gateway/src/SwooleServer/GBS.php"},"region":{"startLine":2654}}}],"partialFingerprints":{"codehealthFindingId/v1":"604857dcb06c2d0aea8c8c8625c9efa76a0de2048ea626b94710881e454d1f25"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 464 is handed a double-quoted string with variables interpolated into it as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass a constant message and the values in the PSR-3 context array instead: \u0060$logger-\u003Ewarning(\u0027Order {order_id} moved to {status}\u0027, [\u0027order_id\u0027 =\u003E $orderId, \u0027status\u0027 =\u003E $status])\u0060, which Monolog and every PSR-3 handler keep as fields beside the message (Monolog\u0027s PsrLogMessageProcessor fills the placeholders), or \u0060Log::warning(\u0027order moved\u0027, [\u0027order_id\u0027 =\u003E $orderId])\u0060 with Laravel\u0027s facade."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Gb28181Gateway/src/Message/QuerySender.php"},"region":{"startLine":464}}}],"partialFingerprints":{"codehealthFindingId/v1":"b23ab33c8f401f78bd1ae4e6948e29e68e5dc2eb700eec81953bcfc88eef7bae"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 493 is handed a double-quoted string with variables interpolated into it as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass a constant message and the values in the PSR-3 context array instead: \u0060$logger-\u003Ewarning(\u0027Order {order_id} moved to {status}\u0027, [\u0027order_id\u0027 =\u003E $orderId, \u0027status\u0027 =\u003E $status])\u0060, which Monolog and every PSR-3 handler keep as fields beside the message (Monolog\u0027s PsrLogMessageProcessor fills the placeholders), or \u0060Log::warning(\u0027order moved\u0027, [\u0027order_id\u0027 =\u003E $orderId])\u0060 with Laravel\u0027s facade."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Gb28181Gateway/src/Message/QuerySender.php"},"region":{"startLine":493}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4e3660641c89cf9fcb76aa00971b6534e0dfdca7e1b4d79f339833020ee8bcc"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 79 is handed a double-quoted string with variables interpolated into it as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass a constant message and the values in the PSR-3 context array instead: \u0060$logger-\u003Eerror(\u0027Order {order_id} moved to {status}\u0027, [\u0027order_id\u0027 =\u003E $orderId, \u0027status\u0027 =\u003E $status])\u0060, which Monolog and every PSR-3 handler keep as fields beside the message (Monolog\u0027s PsrLogMessageProcessor fills the placeholders), or \u0060Log::error(\u0027order moved\u0027, [\u0027order_id\u0027 =\u003E $orderId])\u0060 with Laravel\u0027s facade."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Gb28181Gateway/src/Handlers/LongTask/CommandSubscriber.php"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c92f1ed1291473530845a22f372dbd09fb194808a9635e011272d4cab636458"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 116 is handed a double-quoted string with variables interpolated into it as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass a constant message and the values in the PSR-3 context array instead: \u0060$logger-\u003Ewarning(\u0027Order {order_id} moved to {status}\u0027, [\u0027order_id\u0027 =\u003E $orderId, \u0027status\u0027 =\u003E $status])\u0060, which Monolog and every PSR-3 handler keep as fields beside the message (Monolog\u0027s PsrLogMessageProcessor fills the placeholders), or \u0060Log::warning(\u0027order moved\u0027, [\u0027order_id\u0027 =\u003E $orderId])\u0060 with Laravel\u0027s facade."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Gb28181Gateway/src/Handlers/LongTask/CommandSubscriber.php"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c0b372fae46b27bf59ab207f5784878f4bffd4be67964cd7de89b9cf7305b57"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 121 is handed a double-quoted string with variables interpolated into it as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass a constant message and the values in the PSR-3 context array instead: \u0060$logger-\u003Ewarning(\u0027Order {order_id} moved to {status}\u0027, [\u0027order_id\u0027 =\u003E $orderId, \u0027status\u0027 =\u003E $status])\u0060, which Monolog and every PSR-3 handler keep as fields beside the message (Monolog\u0027s PsrLogMessageProcessor fills the placeholders), or \u0060Log::warning(\u0027order moved\u0027, [\u0027order_id\u0027 =\u003E $orderId])\u0060 with Laravel\u0027s facade."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Gb28181Gateway/src/Handlers/LongTask/CommandSubscriber.php"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"58a79616258e003417db7a48df7a41e91956f92329095efd21435759a1a95e0e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 126 is handed a double-quoted string with variables interpolated into it as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass a constant message and the values in the PSR-3 context array instead: \u0060$logger-\u003Einfo(\u0027Order {order_id} moved to {status}\u0027, [\u0027order_id\u0027 =\u003E $orderId, \u0027status\u0027 =\u003E $status])\u0060, which Monolog and every PSR-3 handler keep as fields beside the message (Monolog\u0027s PsrLogMessageProcessor fills the placeholders), or \u0060Log::info(\u0027order moved\u0027, [\u0027order_id\u0027 =\u003E $orderId])\u0060 with Laravel\u0027s facade."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Gb28181Gateway/src/Handlers/LongTask/CommandSubscriber.php"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"eee580a96ea3774a18af96fdefd89889cf697c33f1aff8b267c558ebaa90c49a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 131 is handed a double-quoted string with variables interpolated into it as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass a constant message and the values in the PSR-3 context array instead: \u0060$logger-\u003Edebug(\u0027Order {order_id} moved to {status}\u0027, [\u0027order_id\u0027 =\u003E $orderId, \u0027status\u0027 =\u003E $status])\u0060, which Monolog and every PSR-3 handler keep as fields beside the message (Monolog\u0027s PsrLogMessageProcessor fills the placeholders), or \u0060Log::debug(\u0027order moved\u0027, [\u0027order_id\u0027 =\u003E $orderId])\u0060 with Laravel\u0027s facade."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Gb28181Gateway/src/Handlers/LongTask/CommandSubscriber.php"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a46ae3418d3d6085145453b9113a47d687a88784d5278d275759ddf148786c5"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 134 is handed a double-quoted string with variables interpolated into it as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass a constant message and the values in the PSR-3 context array instead: \u0060$logger-\u003Eerror(\u0027Order {order_id} moved to {status}\u0027, [\u0027order_id\u0027 =\u003E $orderId, \u0027status\u0027 =\u003E $status])\u0060, which Monolog and every PSR-3 handler keep as fields beside the message (Monolog\u0027s PsrLogMessageProcessor fills the placeholders), or \u0060Log::error(\u0027order moved\u0027, [\u0027order_id\u0027 =\u003E $orderId])\u0060 with Laravel\u0027s facade."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Gb28181Gateway/src/Handlers/LongTask/CommandSubscriber.php"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c38917801ea2130e906c06c81be4cf8d23719c16987d1bf8f67000340a96dbf"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 62 is handed a double-quoted string with variables interpolated into it as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass a constant message and the values in the PSR-3 context array instead: \u0060$logger-\u003Einfo(\u0027Order {order_id} moved to {status}\u0027, [\u0027order_id\u0027 =\u003E $orderId, \u0027status\u0027 =\u003E $status])\u0060, which Monolog and every PSR-3 handler keep as fields beside the message (Monolog\u0027s PsrLogMessageProcessor fills the placeholders), or \u0060Log::info(\u0027order moved\u0027, [\u0027order_id\u0027 =\u003E $orderId])\u0060 with Laravel\u0027s facade."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Gb28181Gateway/src/Handlers/LongTask/RedisSubscriber.php"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee5178d8bc789b2615be8d8320ea28a5c523a9e8b78642c911206d287b680a75"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 89 is handed a double-quoted string with variables interpolated into it as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass a constant message and the values in the PSR-3 context array instead: \u0060$logger-\u003Edebug(\u0027Order {order_id} moved to {status}\u0027, [\u0027order_id\u0027 =\u003E $orderId, \u0027status\u0027 =\u003E $status])\u0060, which Monolog and every PSR-3 handler keep as fields beside the message (Monolog\u0027s PsrLogMessageProcessor fills the placeholders), or \u0060Log::debug(\u0027order moved\u0027, [\u0027order_id\u0027 =\u003E $orderId])\u0060 with Laravel\u0027s facade."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Gb28181Gateway/src/Handlers/LongTask/RedisSubscriber.php"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"b80a159f427d9ecb0e958ba08f1951e3f64946a4b550ea32293021ab03cf792c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 127 is handed a double-quoted string with variables interpolated into it as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass a constant message and the values in the PSR-3 context array instead: \u0060$logger-\u003Eerror(\u0027Order {order_id} moved to {status}\u0027, [\u0027order_id\u0027 =\u003E $orderId, \u0027status\u0027 =\u003E $status])\u0060, which Monolog and every PSR-3 handler keep as fields beside the message (Monolog\u0027s PsrLogMessageProcessor fills the placeholders), or \u0060Log::error(\u0027order moved\u0027, [\u0027order_id\u0027 =\u003E $orderId])\u0060 with Laravel\u0027s facade."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Gb28181Gateway/src/Handlers/LongTask/RedisSubscriber.php"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"3df4cdab709b069f023b8c205191eb682a0f6bf61e37350ef13f742efa0440c9"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 146 is handed a double-quoted string with variables interpolated into it as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass a constant message and the values in the PSR-3 context array instead: \u0060$logger-\u003Eerror(\u0027Order {order_id} moved to {status}\u0027, [\u0027order_id\u0027 =\u003E $orderId, \u0027status\u0027 =\u003E $status])\u0060, which Monolog and every PSR-3 handler keep as fields beside the message (Monolog\u0027s PsrLogMessageProcessor fills the placeholders), or \u0060Log::error(\u0027order moved\u0027, [\u0027order_id\u0027 =\u003E $orderId])\u0060 with Laravel\u0027s facade."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Gb28181Gateway/src/Handlers/LongTask/RedisSubscriber.php"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"a83f4379f991b69953183a349d00de7900f29f1e7087304114ba121fddf7d620"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 165 is handed a double-quoted string with variables interpolated into it as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass a constant message and the values in the PSR-3 context array instead: \u0060$logger-\u003Einfo(\u0027Order {order_id} moved to {status}\u0027, [\u0027order_id\u0027 =\u003E $orderId, \u0027status\u0027 =\u003E $status])\u0060, which Monolog and every PSR-3 handler keep as fields beside the message (Monolog\u0027s PsrLogMessageProcessor fills the placeholders), or \u0060Log::info(\u0027order moved\u0027, [\u0027order_id\u0027 =\u003E $orderId])\u0060 with Laravel\u0027s facade."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Gb28181Gateway/src/Handlers/LongTask/RedisSubscriber.php"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d2535f152eecfdbadc4aa715712e0a9ba6e9c63771315c86752ff5fed536f1c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 411 is handed a double-quoted string with variables interpolated into it as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass a constant message and the values in the PSR-3 context array instead: \u0060$logger-\u003Einfo(\u0027Order {order_id} moved to {status}\u0027, [\u0027order_id\u0027 =\u003E $orderId, \u0027status\u0027 =\u003E $status])\u0060, which Monolog and every PSR-3 handler keep as fields beside the message (Monolog\u0027s PsrLogMessageProcessor fills the placeholders), or \u0060Log::info(\u0027order moved\u0027, [\u0027order_id\u0027 =\u003E $orderId])\u0060 with Laravel\u0027s facade."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"CoreW/Business/Product/Service/Impl/ProductServiceImpl.php"},"region":{"startLine":411}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d4dc7052090c85c4549cc5212ac8e20a8a84d370aa3e1758e1bd6528eaf46f7"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 67 is handed a double-quoted string with variables interpolated into it as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass a constant message and the values in the PSR-3 context array instead: \u0060$logger-\u003Eerror(\u0027Order {order_id} moved to {status}\u0027, [\u0027order_id\u0027 =\u003E $orderId, \u0027status\u0027 =\u003E $status])\u0060, which Monolog and every PSR-3 handler keep as fields beside the message (Monolog\u0027s PsrLogMessageProcessor fills the placeholders), or \u0060Log::error(\u0027order moved\u0027, [\u0027order_id\u0027 =\u003E $orderId])\u0060 with Laravel\u0027s facade."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"CoreW/Business/GB/Gb28181SendRtpPortService.php"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c98c8326bd77fcc8d8de173fa95e1ca946db1f898513f98183c759ccf30f206"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 70 is handed a double-quoted string with variables interpolated into it as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass a constant message and the values in the PSR-3 context array instead: \u0060$logger-\u003Eerror(\u0027Order {order_id} moved to {status}\u0027, [\u0027order_id\u0027 =\u003E $orderId, \u0027status\u0027 =\u003E $status])\u0060, which Monolog and every PSR-3 handler keep as fields beside the message (Monolog\u0027s PsrLogMessageProcessor fills the placeholders), or \u0060Log::error(\u0027order moved\u0027, [\u0027order_id\u0027 =\u003E $orderId])\u0060 with Laravel\u0027s facade."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"CoreW/Business/GB/Gb28181SendRtpPortService.php"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f49b13a3f06e99df997253bdcbad42993f3eb18e9c74104a769dd268c6e0723"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 73 is handed a double-quoted string with variables interpolated into it as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass a constant message and the values in the PSR-3 context array instead: \u0060$logger-\u003Eerror(\u0027Order {order_id} moved to {status}\u0027, [\u0027order_id\u0027 =\u003E $orderId, \u0027status\u0027 =\u003E $status])\u0060, which Monolog and every PSR-3 handler keep as fields beside the message (Monolog\u0027s PsrLogMessageProcessor fills the placeholders), or \u0060Log::error(\u0027order moved\u0027, [\u0027order_id\u0027 =\u003E $orderId])\u0060 with Laravel\u0027s facade."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"CoreW/Business/GB/Gb28181SendRtpPortService.php"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2fc32bcfa8d28d544919e0265a9bf039e44827b03a8291f3ae9045bc5437a9b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 107 is handed a double-quoted string with variables interpolated into it as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass a constant message and the values in the PSR-3 context array instead: \u0060$logger-\u003Eerror(\u0027Order {order_id} moved to {status}\u0027, [\u0027order_id\u0027 =\u003E $orderId, \u0027status\u0027 =\u003E $status])\u0060, which Monolog and every PSR-3 handler keep as fields beside the message (Monolog\u0027s PsrLogMessageProcessor fills the placeholders), or \u0060Log::error(\u0027order moved\u0027, [\u0027order_id\u0027 =\u003E $orderId])\u0060 with Laravel\u0027s facade."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"CoreW/Business/GB/Gb28181SendRtpPortService.php"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e11e9a0976b844688bf68949796d147cf1a3c859a75a1ad6bbcda267ccab495"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 735 is handed a double-quoted string with variables interpolated into it as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass a constant message and the values in the PSR-3 context array instead: \u0060$logger-\u003Einfo(\u0027Order {order_id} moved to {status}\u0027, [\u0027order_id\u0027 =\u003E $orderId, \u0027status\u0027 =\u003E $status])\u0060, which Monolog and every PSR-3 handler keep as fields beside the message (Monolog\u0027s PsrLogMessageProcessor fills the placeholders), or \u0060Log::info(\u0027order moved\u0027, [\u0027order_id\u0027 =\u003E $orderId])\u0060 with Laravel\u0027s facade."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"CoreW/Business/GB/Gb28181Service.php"},"region":{"startLine":735}}}],"partialFingerprints":{"codehealthFindingId/v1":"fce9d3f7d66576b32c6ac8af261f3cd8d84cb1b1ca7820aa19b438d6db4ef114"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 749 is handed a double-quoted string with variables interpolated into it as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass a constant message and the values in the PSR-3 context array instead: \u0060$logger-\u003Einfo(\u0027Order {order_id} moved to {status}\u0027, [\u0027order_id\u0027 =\u003E $orderId, \u0027status\u0027 =\u003E $status])\u0060, which Monolog and every PSR-3 handler keep as fields beside the message (Monolog\u0027s PsrLogMessageProcessor fills the placeholders), or \u0060Log::info(\u0027order moved\u0027, [\u0027order_id\u0027 =\u003E $orderId])\u0060 with Laravel\u0027s facade."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"CoreW/Business/GB/Gb28181Service.php"},"region":{"startLine":749}}}],"partialFingerprints":{"codehealthFindingId/v1":"fde68b621bf93ea2132df495f43ff10ff14c646112d83ec1552b9ddab7be3d1b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 758 is handed a double-quoted string with variables interpolated into it as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass a constant message and the values in the PSR-3 context array instead: \u0060$logger-\u003Einfo(\u0027Order {order_id} moved to {status}\u0027, [\u0027order_id\u0027 =\u003E $orderId, \u0027status\u0027 =\u003E $status])\u0060, which Monolog and every PSR-3 handler keep as fields beside the message (Monolog\u0027s PsrLogMessageProcessor fills the placeholders), or \u0060Log::info(\u0027order moved\u0027, [\u0027order_id\u0027 =\u003E $orderId])\u0060 with Laravel\u0027s facade."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"CoreW/Business/GB/Gb28181Service.php"},"region":{"startLine":758}}}],"partialFingerprints":{"codehealthFindingId/v1":"749a731b22cb9d06c8d60ae6d1f5f55face0e0e3a64333ecde2da0cf744381b3"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 838 is handed a double-quoted string with variables interpolated into it as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass a constant message and the values in the PSR-3 context array instead: \u0060$logger-\u003Einfo(\u0027Order {order_id} moved to {status}\u0027, [\u0027order_id\u0027 =\u003E $orderId, \u0027status\u0027 =\u003E $status])\u0060, which Monolog and every PSR-3 handler keep as fields beside the message (Monolog\u0027s PsrLogMessageProcessor fills the placeholders), or \u0060Log::info(\u0027order moved\u0027, [\u0027order_id\u0027 =\u003E $orderId])\u0060 with Laravel\u0027s facade."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"CoreW/Business/GB/Gb28181Service.php"},"region":{"startLine":838}}}],"partialFingerprints":{"codehealthFindingId/v1":"919e99c3a0090318dcd00b12378042b7e61bd2d47db5df3deab5ca8d11a9c480"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 850 is handed a double-quoted string with variables interpolated into it as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass a constant message and the values in the PSR-3 context array instead: \u0060$logger-\u003Einfo(\u0027Order {order_id} moved to {status}\u0027, [\u0027order_id\u0027 =\u003E $orderId, \u0027status\u0027 =\u003E $status])\u0060, which Monolog and every PSR-3 handler keep as fields beside the message (Monolog\u0027s PsrLogMessageProcessor fills the placeholders), or \u0060Log::info(\u0027order moved\u0027, [\u0027order_id\u0027 =\u003E $orderId])\u0060 with Laravel\u0027s facade."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"CoreW/Business/GB/Gb28181Service.php"},"region":{"startLine":850}}}],"partialFingerprints":{"codehealthFindingId/v1":"531fb88676748699e190c5585939e00271e29829fe34dac1146534e562b4accc"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 939 is handed a double-quoted string with variables interpolated into it as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass a constant message and the values in the PSR-3 context array instead: \u0060$logger-\u003Einfo(\u0027Order {order_id} moved to {status}\u0027, [\u0027order_id\u0027 =\u003E $orderId, \u0027status\u0027 =\u003E $status])\u0060, which Monolog and every PSR-3 handler keep as fields beside the message (Monolog\u0027s PsrLogMessageProcessor fills the placeholders), or \u0060Log::info(\u0027order moved\u0027, [\u0027order_id\u0027 =\u003E $orderId])\u0060 with Laravel\u0027s facade."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"CoreW/Business/GB/Gb28181Service.php"},"region":{"startLine":939}}}],"partialFingerprints":{"codehealthFindingId/v1":"31d603ac222a7efd09c78730dee21570a8c192737e5ac1586f8369539e056e3d"}},{"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":"swoole-gbs/gbs-beta.php"},"region":{"startLine":1038}}}],"partialFingerprints":{"codehealthFindingId/v1":"6abe6de343353319f30fce28a7ef20e4caa738956be0928a789adb68b659ef36"}},{"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":"swoole-gbs/gbs-beta.php"},"region":{"startLine":1145}}}],"partialFingerprints":{"codehealthFindingId/v1":"758717d1d4a28bc5217d13d2dea4591d02b576ef44185b2c3e26993c3f2d7443"}},{"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":"swoole-gbs/gbs-beta.php"},"region":{"startLine":1269}}}],"partialFingerprints":{"codehealthFindingId/v1":"b063a8ba5df297f016f33489309a0fd696a14cc9fcc19368f21d88185165b4a1"}},{"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":"Gb28181Gateway/src/SwooleServer/GBS.php"},"region":{"startLine":693}}}],"partialFingerprints":{"codehealthFindingId/v1":"9df3f2facd8ddec33bf1d68f4558fb82265bfefbafadc8e1bba52395e6871aee"}},{"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":"Gb28181Gateway/src/SwooleServer/GBS.php"},"region":{"startLine":800}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f5f17389b46e210a09008a4ddea8e1a7960e58ec89595dd9e12f4b067b22c56"}},{"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":"Gb28181Gateway/src/SwooleServer/GBS.php"},"region":{"startLine":924}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba3573a170fe2e463e0f422ef8a188a2d8d07d2cbd4c235569205f9984a7ef55"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on parse failure: \u0060verifyToken\u0060 returns \u0060-1\u0060 when \u0060InvalidArgumentException\u0060 is thrown, with no log or throw \u2014 a malformed value silently becomes that default. Log the input or fail validation. 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":"CoreW/Business/Auth/Handler/JwtManager.php"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e05f74d790497c1830da92d2c9e754139ad67b3d6fbb3444138dcc36b2ce027"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060getPlayUrlsCore\u0060 swallows every exception into \u0060return []\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it propagate. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment in the catch or in the docblock, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"CoreW/Business/Devices/Traits/GB28181StreamTrait.php"},"region":{"startLine":453}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c2546a8b58944d187f8279e5ea50a29bee1bd946e87a43b5d658f0d6462943f"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060getMediaList\u0060 swallows every exception into \u0060return []\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it propagate. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment in the catch or in the docblock, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"CoreW/Business/GB/Gb28181Service.php"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"f10970d50401874fefefcf0f68c2819e7d7e5e542f5c87b61e314eaf30636ba3"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060getMediaPlayerList\u0060 swallows every exception into \u0060return []\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it propagate. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment in the catch or in the docblock, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"CoreW/Business/GB/Gb28181Service.php"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6a730cb8438f0e7e14e4fd113d63cc5f643702ec0096b4c5f3066da879b9fde"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060increment\u0060 swallows every exception into \u0060return 0\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it propagate. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment in the catch or in the docblock, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"CoreW/Dao/GeneralDaoImpl.php"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"0304827541866ecea35cf8abab8217d2a56ed181dfe0c31f2ce5f6fb1edeef8c"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060decrement\u0060 swallows every exception into \u0060return 0\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it propagate. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment in the catch or in the docblock, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"CoreW/Dao/GeneralDaoImpl.php"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c6187bbc30e190389b7125f8ebfd1d81334794f667db8111c509e3fedf3ccb8"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060getBrowse\u0060 swallows every exception into \u0060return \u0027\u672A\u77E5\u6D4F\u89C8\u5668\u0027\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it propagate. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment in the catch or in the docblock, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"support/utils/DeviceToolkit.php"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"07cc883991d0b5a196ba8d490d43b89f559e752f548bd32c3d6a2050e8b6c3e1"}}],"taxonomies":[{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d","organization":"MITRE","informationUri":"https://cwe.mitre.org/","isComprehensive":false,"shortDescription":{"text":"The MITRE Common Weakness Enumeration (CWE)."},"taxa":[{"id":"CWE-1032","guid":"5f21e517-68aa-a650-9a25-5771ef024637","name":"OWASP Top Ten \u2014 Security Misconfiguration category","shortDescription":{"text":"OWASP Top Ten \u2014 Security Misconfiguration category"},"helpUri":"https://cwe.mitre.org/data/definitions/1032.html"},{"id":"CWE-1357","guid":"e4d2e772-757e-0a5c-bd7d-77052949d866","name":"Reliance on Insufficiently Trustworthy Component","shortDescription":{"text":"Reliance on Insufficiently Trustworthy Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1357.html"},{"id":"CWE-1395","guid":"800e09e7-c11a-8654-9fa6-86f398995fed","name":"Dependency on Vulnerable Third-Party Component","shortDescription":{"text":"Dependency on Vulnerable Third-Party Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1395.html"},{"id":"CWE-16","guid":"659db3ea-affc-8453-8add-c1218fbfcb92","name":"Configuration","shortDescription":{"text":"Configuration"},"helpUri":"https://cwe.mitre.org/data/definitions/16.html"},{"id":"CWE-259","guid":"ae9ad959-fbb6-9d5e-892d-3dca66da0b69","name":"Use of Hard-coded Password","shortDescription":{"text":"Use of Hard-coded Password"},"helpUri":"https://cwe.mitre.org/data/definitions/259.html"},{"id":"CWE-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-353","guid":"09d7e902-d4ee-f05d-ae6c-0a1554d0c18f","name":"Missing Support for Integrity Check","shortDescription":{"text":"Missing Support for Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/353.html"},{"id":"CWE-506","guid":"401d6455-56e3-0552-9a39-f77461673e3f","name":"Embedded Malicious Code","shortDescription":{"text":"Embedded Malicious Code"},"helpUri":"https://cwe.mitre.org/data/definitions/506.html"},{"id":"CWE-540","guid":"1a9db5db-e5bb-ae5d-935a-d1b4e9ee080b","name":"Inclusion of Sensitive Information in Source Code","shortDescription":{"text":"Inclusion of Sensitive Information in Source Code"},"helpUri":"https://cwe.mitre.org/data/definitions/540.html"},{"id":"CWE-732","guid":"1da27e8f-b330-7650-ab63-bd61953eae5d","name":"Incorrect Permission Assignment for Critical Resource","shortDescription":{"text":"Incorrect Permission Assignment for Critical Resource"},"helpUri":"https://cwe.mitre.org/data/definitions/732.html"},{"id":"CWE-77","guid":"332c8ade-6612-9f56-a06b-d8d90b1a8750","name":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/77.html"},{"id":"CWE-78","guid":"2e31ceaf-c7ae-2e5e-9661-cfb1362789cf","name":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/78.html"},{"id":"CWE-79","guid":"fd45580b-e8c4-fc5e-8c2f-aa8fab0b4dbf","name":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)","shortDescription":{"text":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/79.html"},{"id":"CWE-798","guid":"5e8f057d-fee3-995a-a0cb-9fc5b0d174d1","name":"Use of Hard-coded Credentials","shortDescription":{"text":"Use of Hard-coded Credentials"},"helpUri":"https://cwe.mitre.org/data/definitions/798.html"},{"id":"CWE-89","guid":"6d08fdad-37eb-c150-bbf0-d7d946863407","name":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/89.html"},{"id":"CWE-918","guid":"2e9b9091-5a0f-dc57-b644-7ad04bd56e64","name":"Server-Side Request Forgery (SSRF)","shortDescription":{"text":"Server-Side Request Forgery (SSRF)"},"helpUri":"https://cwe.mitre.org/data/definitions/918.html"},{"id":"CWE-937","guid":"16f316ae-415c-b354-a59b-1f7905f756e9","name":"Using Components with Known Vulnerabilities","shortDescription":{"text":"Using Components with Known Vulnerabilities"},"helpUri":"https://cwe.mitre.org/data/definitions/937.html"},{"id":"CWE-94","guid":"75e7f50c-6c2f-dd52-bf40-bf6c52b861fd","name":"Improper Control of Generation of Code (\u0027Code Injection\u0027)","shortDescription":{"text":"Improper Control of Generation of Code (\u0027Code Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/94.html"}]},{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61","version":"2025","organization":"OWASP Foundation","informationUri":"https://top10.owasp.org/2025/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10:2025 web application security risks."},"taxa":[{"id":"A01:2025","guid":"df693558-c822-0452-8f7b-4d53cb6bcc59","name":"Broken Access Control","shortDescription":{"text":"Broken Access Control"},"helpUri":"https://top10.owasp.org/2025/A01_2025-Broken_Access_Control/"},{"id":"A02:2025","guid":"668dee9e-41bc-6354-97d0-fdf8f40c50c1","name":"Security Misconfiguration","shortDescription":{"text":"Security Misconfiguration"},"helpUri":"https://top10.owasp.org/2025/A02_2025-Security_Misconfiguration/"},{"id":"A03:2025","guid":"168e227c-7735-2e57-bc6e-997affe644c5","name":"Software Supply Chain Failures","shortDescription":{"text":"Software Supply Chain Failures"},"helpUri":"https://top10.owasp.org/2025/A03_2025-Software_Supply_Chain_Failures/"},{"id":"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/"},{"id":"A08:2025","guid":"84b0c297-710e-9a5f-9335-936ecb260c36","name":"Software or Data Integrity Failures","shortDescription":{"text":"Software or Data Integrity Failures"},"helpUri":"https://top10.owasp.org/2025/A08_2025-Software_or_Data_Integrity_Failures/"}]}],"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":42,"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."]}]}