{"$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":"D8","name":"Code Coverage","shortDescription":{"text":"Code Coverage"},"helpUri":"https://codehealth.canine.dev/dimensions/D8"},{"id":"D9","name":"Test Distribution","shortDescription":{"text":"Test Distribution"},"helpUri":"https://codehealth.canine.dev/dimensions/D9"},{"id":"D10","name":"Test Quality","shortDescription":{"text":"Test Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D10"},{"id":"D11","name":"Test Reliability","shortDescription":{"text":"Test Reliability"},"helpUri":"https://codehealth.canine.dev/dimensions/D11"},{"id":"D12","name":"Dependency Hygiene","shortDescription":{"text":"Dependency Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/D12"},{"id":"D13","name":"Secret Scanning","shortDescription":{"text":"Secret Scanning"},"helpUri":"https://codehealth.canine.dev/dimensions/D13","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"]}},{"id":"D14","name":"License Compliance","shortDescription":{"text":"License Compliance"},"helpUri":"https://codehealth.canine.dev/dimensions/D14"},{"id":"D15","name":"Churn \u00D7 Complexity Hotspots","shortDescription":{"text":"Churn \u00D7 Complexity Hotspots"},"helpUri":"https://codehealth.canine.dev/dimensions/D15"},{"id":"D17","name":"Explicit Debt","shortDescription":{"text":"Explicit Debt"},"helpUri":"https://codehealth.canine.dev/dimensions/D17"},{"id":"D18","name":"Solution Shape","shortDescription":{"text":"Solution Shape"},"helpUri":"https://codehealth.canine.dev/dimensions/D18"},{"id":"D19","name":"Documentation Quality","shortDescription":{"text":"Documentation Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D19"},{"id":"D20","name":"ADR Quality","shortDescription":{"text":"ADR Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D20"},{"id":"D21","name":"Naming Consistency","shortDescription":{"text":"Naming Consistency"},"helpUri":"https://codehealth.canine.dev/dimensions/D21"},{"id":"D23","name":"Boundary Type-Coupling","shortDescription":{"text":"Boundary Type-Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D23"},{"id":"D24","name":"Comment Value","shortDescription":{"text":"Comment Value"},"helpUri":"https://codehealth.canine.dev/dimensions/D24"},{"id":"D26","name":"Project Cohesion","shortDescription":{"text":"Project Cohesion"},"helpUri":"https://codehealth.canine.dev/dimensions/D26"},{"id":"D27","name":"Navigability","shortDescription":{"text":"Navigability"},"helpUri":"https://codehealth.canine.dev/dimensions/D27"},{"id":"D28","name":"Secrets (history)","shortDescription":{"text":"Secrets (history)"},"helpUri":"https://codehealth.canine.dev/dimensions/D28","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"]}},{"id":"D29","name":"Static Analysis (SAST)","shortDescription":{"text":"Static Analysis (SAST)"},"helpUri":"https://codehealth.canine.dev/dimensions/D29","relationships":[{"target":{"id":"CWE-79","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-89","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-94","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-77","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-79","CWE-89","CWE-78","CWE-94","CWE-77"]}},{"id":"D30","name":"Dependency Vulnerabilities","shortDescription":{"text":"Dependency Vulnerabilities"},"helpUri":"https://codehealth.canine.dev/dimensions/D30","relationships":[{"target":{"id":"CWE-1395","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-937","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1395","CWE-937"]}},{"id":"D32","name":"Data Compliance (PII/GDPR)","shortDescription":{"text":"Data Compliance (PII/GDPR)"},"helpUri":"https://codehealth.canine.dev/dimensions/D32","relationships":[{"target":{"id":"CWE-359","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-312","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-200","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-359","CWE-312","CWE-200"]}},{"id":"D34","name":"Knowledge Freshness","shortDescription":{"text":"Knowledge Freshness"},"helpUri":"https://codehealth.canine.dev/dimensions/D34"},{"id":"D35","name":"Change Coupling","shortDescription":{"text":"Change Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D35"},{"id":"D36","name":"Supply-chain Provenance \u0026 Signing","shortDescription":{"text":"Supply-chain Provenance \u0026 Signing"},"helpUri":"https://codehealth.canine.dev/dimensions/D36","relationships":[{"target":{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1357","CWE-494"]}},{"id":"D43","name":"Malicious Dependencies","shortDescription":{"text":"Malicious Dependencies"},"helpUri":"https://codehealth.canine.dev/dimensions/D43","relationships":[{"target":{"id":"CWE-506","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-506"]}},{"id":"D44","name":"Platform End-of-Life","shortDescription":{"text":"Platform End-of-Life"},"helpUri":"https://codehealth.canine.dev/dimensions/D44"},{"id":"AC2","name":"Forms \u0026 labels","shortDescription":{"text":"Forms \u0026 labels"},"helpUri":"https://codehealth.canine.dev/dimensions/AC2"},{"id":"AC3","name":"Page structure","shortDescription":{"text":"Page structure"},"helpUri":"https://codehealth.canine.dev/dimensions/AC3"},{"id":"AC6","name":"Visual \u0026 motion safety","shortDescription":{"text":"Visual \u0026 motion safety"},"helpUri":"https://codehealth.canine.dev/dimensions/AC6"},{"id":"AC7","name":"A11y enforcement","shortDescription":{"text":"A11y enforcement"},"helpUri":"https://codehealth.canine.dev/dimensions/AC7"},{"id":"AX1","name":"Captive dependencies","shortDescription":{"text":"Captive dependencies"},"helpUri":"https://codehealth.canine.dev/dimensions/AX1"},{"id":"AX10","name":"Code composition","shortDescription":{"text":"Code composition"},"helpUri":"https://codehealth.canine.dev/dimensions/AX10"},{"id":"AX2","name":"Stateful singletons","shortDescription":{"text":"Stateful singletons"},"helpUri":"https://codehealth.canine.dev/dimensions/AX2"},{"id":"AX3","name":"Project dependency cycles","shortDescription":{"text":"Project dependency cycles"},"helpUri":"https://codehealth.canine.dev/dimensions/AX3"},{"id":"AX5","name":"Architecture \u0026 structure","shortDescription":{"text":"Architecture \u0026 structure"},"helpUri":"https://codehealth.canine.dev/dimensions/AX5"},{"id":"AX6","name":"Interface segregation","shortDescription":{"text":"Interface segregation"},"helpUri":"https://codehealth.canine.dev/dimensions/AX6"},{"id":"AX8","name":"Test isolation","shortDescription":{"text":"Test isolation"},"helpUri":"https://codehealth.canine.dev/dimensions/AX8"},{"id":"AXB2","name":"Runtime readiness","shortDescription":{"text":"Runtime readiness"},"helpUri":"https://codehealth.canine.dev/dimensions/AXB2"},{"id":"C1","name":"Data Protection","shortDescription":{"text":"Data Protection"},"helpUri":"https://codehealth.canine.dev/dimensions/C1"},{"id":"C2","name":"Access Controls","shortDescription":{"text":"Access Controls"},"helpUri":"https://codehealth.canine.dev/dimensions/C2"},{"id":"C5","name":"Data-Subject Rights","shortDescription":{"text":"Data-Subject Rights"},"helpUri":"https://codehealth.canine.dev/dimensions/C5"},{"id":"ED5","name":"Idempotency","shortDescription":{"text":"Idempotency"},"helpUri":"https://codehealth.canine.dev/dimensions/ED5"},{"id":"GD1","name":"Unfinished \u0026 placeholder code","shortDescription":{"text":"Unfinished \u0026 placeholder code"},"helpUri":"https://codehealth.canine.dev/dimensions/GD1"},{"id":"IC1","name":"Incompleteness \u0026 stubs","shortDescription":{"text":"Incompleteness \u0026 stubs"},"helpUri":"https://codehealth.canine.dev/dimensions/IC1"},{"id":"M1","name":"Documentation (README)","shortDescription":{"text":"Documentation (README)"},"helpUri":"https://codehealth.canine.dev/dimensions/M1"},{"id":"M2","name":"Architecture documentation","shortDescription":{"text":"Architecture documentation"},"helpUri":"https://codehealth.canine.dev/dimensions/M2"},{"id":"M3","name":"Folder \u0026 project structure","shortDescription":{"text":"Folder \u0026 project structure"},"helpUri":"https://codehealth.canine.dev/dimensions/M3"},{"id":"M4","name":"Documentation accuracy","shortDescription":{"text":"Documentation accuracy"},"helpUri":"https://codehealth.canine.dev/dimensions/M4"},{"id":"P1","name":"CI/CD gates","shortDescription":{"text":"CI/CD gates"},"helpUri":"https://codehealth.canine.dev/dimensions/P1"},{"id":"P10","name":"Library API \u0026 versioning","shortDescription":{"text":"Library API \u0026 versioning"},"helpUri":"https://codehealth.canine.dev/dimensions/P10"},{"id":"P12","name":"CI test-gate honesty","shortDescription":{"text":"CI test-gate honesty"},"helpUri":"https://codehealth.canine.dev/dimensions/P12"},{"id":"P2","name":"Observability","shortDescription":{"text":"Observability"},"helpUri":"https://codehealth.canine.dev/dimensions/P2"},{"id":"P3","name":"Security \u0026 performance tooling","shortDescription":{"text":"Security \u0026 performance tooling"},"helpUri":"https://codehealth.canine.dev/dimensions/P3"},{"id":"P4","name":"Deployment \u0026 Rollback","shortDescription":{"text":"Deployment \u0026 Rollback"},"helpUri":"https://codehealth.canine.dev/dimensions/P4"},{"id":"P6","name":"Release Hygiene","shortDescription":{"text":"Release Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/P6"},{"id":"P7","name":"Outbound HTTP resilience","shortDescription":{"text":"Outbound HTTP resilience"},"helpUri":"https://codehealth.canine.dev/dimensions/P7"},{"id":"PF1","name":"Benchmark discipline","shortDescription":{"text":"Benchmark discipline"},"helpUri":"https://codehealth.canine.dev/dimensions/PF1"},{"id":"PF2","name":"Allocation hygiene","shortDescription":{"text":"Allocation hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/PF2"},{"id":"PF3","name":"Async \u0026 latency hygiene","shortDescription":{"text":"Async \u0026 latency hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/PF3"},{"id":"R1","name":"Type Safety","shortDescription":{"text":"Type Safety"},"helpUri":"https://codehealth.canine.dev/dimensions/R1"},{"id":"R10","name":"Code Duplication","shortDescription":{"text":"Code Duplication"},"helpUri":"https://codehealth.canine.dev/dimensions/R10"},{"id":"R2","name":"Cyclomatic Complexity","shortDescription":{"text":"Cyclomatic Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/R2"},{"id":"R3","name":"Large Files","shortDescription":{"text":"Large Files"},"helpUri":"https://codehealth.canine.dev/dimensions/R3"},{"id":"R5","name":"Dependency Freshness","shortDescription":{"text":"Dependency Freshness"},"helpUri":"https://codehealth.canine.dev/dimensions/R5"},{"id":"R6","name":"Tooling","shortDescription":{"text":"Tooling"},"helpUri":"https://codehealth.canine.dev/dimensions/R6"},{"id":"R7","name":"Dead Code","shortDescription":{"text":"Dead Code"},"helpUri":"https://codehealth.canine.dev/dimensions/R7"},{"id":"R8","name":"Dependency Hygiene","shortDescription":{"text":"Dependency Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/R8"},{"id":"R9","name":"Circular Imports","shortDescription":{"text":"Circular Imports"},"helpUri":"https://codehealth.canine.dev/dimensions/R9"},{"id":"S1","name":"Cryptographic Hygiene","shortDescription":{"text":"Cryptographic Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/S1"},{"id":"SC1","name":"Supply-chain hygiene","shortDescription":{"text":"Supply-chain hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/SC1"},{"id":"X1","name":"Async correctness","shortDescription":{"text":"Async correctness"},"helpUri":"https://codehealth.canine.dev/dimensions/X1"},{"id":"X10","name":"Duplicated predicate","shortDescription":{"text":"Duplicated predicate"},"helpUri":"https://codehealth.canine.dev/dimensions/X10"},{"id":"X12","name":"Unreachable branch","shortDescription":{"text":"Unreachable branch"},"helpUri":"https://codehealth.canine.dev/dimensions/X12"},{"id":"X13","name":"Undrained process stream","shortDescription":{"text":"Undrained process stream"},"helpUri":"https://codehealth.canine.dev/dimensions/X13"},{"id":"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":"X2","name":"Cancellation propagation","shortDescription":{"text":"Cancellation propagation"},"helpUri":"https://codehealth.canine.dev/dimensions/X2"},{"id":"X20","name":"Mistyped argument guard","shortDescription":{"text":"Mistyped argument guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X20"},{"id":"X21","name":"Side-effecting pattern guard","shortDescription":{"text":"Side-effecting pattern guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X21"},{"id":"X22","name":"Contradicted release guard","shortDescription":{"text":"Contradicted release guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X22"},{"id":"X23","name":"Unguarded diagnostic materialisation","shortDescription":{"text":"Unguarded diagnostic materialisation"},"helpUri":"https://codehealth.canine.dev/dimensions/X23"},{"id":"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":"DefaultWorkMessageContext.GetRequestEntityMappingResult (cyclomatic 74): DefaultWorkMessageContext.GetRequestEntityMappingResult has cyclomatic complexity 74 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.Work/Senparc.Weixin.Work/MessageContext/DefaultWorkMessageContext.cs"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"cad3ccf9ea893e8817b64c2b95fa1c92f09b4be3ba75f23249a2ef80f2a70c68"}},{"ruleId":"D1","level":"warning","message":{"text":"WorkMessageHandler.OnEventRequestAsync (cyclomatic 68): WorkMessageHandler.OnEventRequestAsync has cyclomatic complexity 68 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.Work/Senparc.Weixin.Work/MessageHandlers/Async/WorkMessageHandler.Async.cs"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"c791dad412ef26b5259047b7cbad2fa81b3cf26b265d854d4116baea74cf919e"}},{"ruleId":"D1","level":"warning","message":{"text":"EntityHelper.FillEntityWithXml (cyclomatic 48): EntityHelper.FillEntityWithXml has cyclomatic complexity 48 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function, or replace a long branch ladder over a single value with a data-driven lookup or dispatch table."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.Work/Senparc.Weixin.Work/Helpers/EntityHelper.cs"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"f11c8c979623cde5e74e1e47fb06ddf9256e2e712a3d817b667cacf8dceeb62a"}},{"ruleId":"D1","level":"warning","message":{"text":"CommonApi.GetButtonGroup (cyclomatic 41): CommonApi.GetButtonGroup has cyclomatic complexity 41 (threshold 15). Of this number, 40 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.MP/Senparc.Weixin.MP/CommonAPIs/Menu/CommonApi.Menu.Common.cs"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"62cf222d29ef419642d1670673238e03f6943952a6ede2dcfec2cd89ee0e4365"}},{"ruleId":"D1","level":"warning","message":{"text":"RequestMessageFactory.GetRequestEntity (cyclomatic 30): RequestMessageFactory.GetRequestEntity has cyclomatic complexity 30 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.Work/Senparc.Weixin.Work/RequestMessageFactory.cs"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a26dbcdaf30da89adef7dbf5885a5d6c117a53250c9f3d4ab2319b3a3c95caa"}},{"ruleId":"D1","level":"warning","message":{"text":"CustomMessageHandler.AIChatAsync (cyclomatic 30): CustomMessageHandler.AIChatAsync has cyclomatic complexity 30 (threshold 15). Of this number, 28 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Samples/All/Senparc.Weixin.Sample.CommonService/AI/MessageHandlers/CustomMessageHandler_AI.cs"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"047322b5e8d5ea2853d2967d38ec5b6c607e45dc5752eb42ce43b9b9535f9e8f"}},{"ruleId":"D1","level":"warning","message":{"text":"CommonApi.GetMenuFromJsonResult (cyclomatic 26): CommonApi.GetMenuFromJsonResult has cyclomatic complexity 26 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.Work/Senparc.Weixin.Work/CommonAPIs/CommonApi.Menu.cs"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ffe117441131ee50c6e77f70a43a9d8b4ff06a64eaa853f0e28aa8b58ed3a17"}},{"ruleId":"D1","level":"warning","message":{"text":"RedPackApi.SearchRedPack (cyclomatic 25): RedPackApi.SearchRedPack has cyclomatic complexity 25 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/RedPackApi/RedPackApi.cs"},"region":{"startLine":544}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d9e0fac46f0e7df19dd0d40da072023ba818b236ccd925e7f34872b2313b9c9"}},{"ruleId":"D1","level":"warning","message":{"text":"RedPackApi.SendNormalRedPackViaProvider (cyclomatic 24): RedPackApi.SendNormalRedPackViaProvider has cyclomatic complexity 24 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/RedPackApi/RedPackApi.Via.cs"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"886a9c68939e0100977dded6f6033f99c2356e3d7fe1f4413fe5e2dec60d1a97"}},{"ruleId":"D1","level":"warning","message":{"text":"RequestHandler.CreateMd5Sign (cyclomatic 23): RequestHandler.CreateMd5Sign has cyclomatic complexity 23 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/RequestHandler.cs"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"381054d7e11dc4aedb1074741e72d88a7e6ac8153458fbe23cff95686d1afb40"}},{"ruleId":"D1","level":"warning","message":{"text":"RedPackApi.SendNormalRedPack (cyclomatic 23): RedPackApi.SendNormalRedPack 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. This shape REPEATS in the file: one other method here (RedPackApi.SendNGroupRedPack) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/RedPackApi/RedPackApi.cs"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"324b5938e3e6ef5b23337f83caa52944b45bfe744929c8b691868bfb4dd5b633"}},{"ruleId":"D1","level":"warning","message":{"text":"RedPackApi.SendNGroupRedPack (cyclomatic 23): RedPackApi.SendNGroupRedPack 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. This shape REPEATS in the file: one other method here (RedPackApi.SendNormalRedPack) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/RedPackApi/RedPackApi.cs"},"region":{"startLine":365}}}],"partialFingerprints":{"codehealthFindingId/v1":"c74e6e75533837acd9182ddd7e581364382f6902fedc9ea2301a55af7f908d2d"}},{"ruleId":"D1","level":"warning","message":{"text":"TenPayApiRequest.RequestMultipartCoreAsync (cyclomatic 22): TenPayApiRequest.RequestMultipartCoreAsync 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":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/HttpHandlers/TenPayApiRequest.cs"},"region":{"startLine":370}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed6c1bd9e4bf182efb24c199ca12cde93678436ea8834e1ab35e189871291298"}},{"ruleId":"D1","level":"warning","message":{"text":"ApiHandlerWapperBase.TryCommonApiBase (cyclomatic 21): ApiHandlerWapperBase.TryCommonApiBase has cyclomatic complexity 21 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin/Senparc.Weixin/CommonAPIs/ApiHandlerWapper/ApiHandlerWapperBase.cs"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a3299143601941637575314971284b0cfaf19f3bd48f935a6ea312cb03ac577"}},{"ruleId":"D1","level":"warning","message":{"text":"ApiHandlerWapperBase.TryCommonApiBaseAsync (cyclomatic 21): ApiHandlerWapperBase.TryCommonApiBaseAsync has cyclomatic complexity 21 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin/Senparc.Weixin/CommonAPIs/ApiHandlerWapper/ApiHandlerWapperBase.cs"},"region":{"startLine":287}}}],"partialFingerprints":{"codehealthFindingId/v1":"3996614cb89835a5a062529281882d4bd1fa10cd65d207225e07b170a69938f9"}},{"ruleId":"D1","level":"warning","message":{"text":"RedPackApi.SendMiniAppRedPack (cyclomatic 21): RedPackApi.SendMiniAppRedPack has cyclomatic complexity 21 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/RedPackApi/RedPackApi.cs"},"region":{"startLine":714}}}],"partialFingerprints":{"codehealthFindingId/v1":"4776dd89c454a04c2e4257c501b9f5905be44d8ddfe6103526cc423daccf9839"}},{"ruleId":"D1","level":"warning","message":{"text":"extension.activate (cyclomatic 21): extension.activate has cyclomatic complexity 21 (threshold 15). Most of this is not in the body itself: 1 of the 21 points is its own statement and the rest belongs to 3 function literals inside it that branch (lines 44, 8, 23). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/WeixinDev/src/extension.ts"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"3330fea638bdfeefc996a440651f80db0efd457d5910d47094c04da26f1a863a"}},{"ruleId":"D1","level":"warning","message":{"text":"EntityHelper.ConvertEntityToXml (cyclomatic 19): EntityHelper.ConvertEntityToXml 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":"src/Senparc.Weixin.Work/Senparc.Weixin.Work/Helpers/EntityHelper.cs"},"region":{"startLine":324}}}],"partialFingerprints":{"codehealthFindingId/v1":"00c11cc07060d74420c2814a8fab12fcdae3303684245f8f0fed13c1e5af5c77"}},{"ruleId":"D1","level":"warning","message":{"text":"SecurityHelper.RSAFromXmlString (cyclomatic 19): SecurityHelper.RSAFromXmlString 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":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Helpers/SecurityHelper.cs"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0bce63c00c001fb279b44b81f8842cfb43d366f726f7f5d08f176312bad964d"}},{"ruleId":"D1","level":"warning","message":{"text":"MessageHandler.Init (cyclomatic 18): MessageHandler.Init has cyclomatic complexity 18 (threshold 15). Of this number, 11 points are the body\u0027s own statements and 7 belong to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.MP/Senparc.Weixin.MP/MessageHandlers/MessageHandler.cs"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1e1ca99f4120bf162c739c62ea50cedc6a00d2406fa58a3b23ca4e7ce90803a"}},{"ruleId":"D1","level":"warning","message":{"text":"ShakeRedPackApi.HbPreOrder (cyclomatic 16): ShakeRedPackApi.HbPreOrder 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":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/RedPackApi/ShakeRedPackApi.cs"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"746e0657b216623ee28b93338935fa47f8275a13f851d416d590158ea4685d32"}},{"ruleId":"D2","level":"warning","message":{"text":"EntityHelper.FillEntityWithXml (cognitive 67): EntityHelper.FillEntityWithXml has cognitive complexity 67 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.Work/Senparc.Weixin.Work/Helpers/EntityHelper.cs"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"be421b83337bac9e1f84eb80607dd9919164c7bde43a75013ab848449165537a"}},{"ruleId":"D2","level":"warning","message":{"text":"RedPackApi.SearchRedPack (cognitive 66): RedPackApi.SearchRedPack has cognitive complexity 66 (threshold 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":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/RedPackApi/RedPackApi.cs"},"region":{"startLine":544}}}],"partialFingerprints":{"codehealthFindingId/v1":"59eeeff8f50b75e44973d26df3b02950657d315ca61adc6852a431f50b2529a5"}},{"ruleId":"D2","level":"warning","message":{"text":"CommonApi.GetButtonGroup (cognitive 61): CommonApi.GetButtonGroup has cognitive complexity 61 (threshold 15). Of this number, 60 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.MP/Senparc.Weixin.MP/CommonAPIs/Menu/CommonApi.Menu.Common.cs"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"13531a7c218ed250e9a5b74c74af7d7654b923002a03e64fc1b5473bd9fd830b"}},{"ruleId":"D2","level":"warning","message":{"text":"RedPackApi.SendNormalRedPackViaProvider (cognitive 54): RedPackApi.SendNormalRedPackViaProvider has cognitive complexity 54 (threshold 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":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/RedPackApi/RedPackApi.Via.cs"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3cb39cbe4b8a316126b85cf8379490c4b583562c6cc66d2ab0cd2f90fe05f6e"}},{"ruleId":"D2","level":"warning","message":{"text":"RedPackApi.SendNormalRedPack (cognitive 53): RedPackApi.SendNormalRedPack has cognitive complexity 53 (threshold 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. This shape REPEATS in the file: one other method here (RedPackApi.SendNGroupRedPack) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/RedPackApi/RedPackApi.cs"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"b20f790f6a5d1d664be33c8a08124ecbaf713bacc9bce43c50c034c24ce83c54"}},{"ruleId":"D2","level":"warning","message":{"text":"RedPackApi.SendNGroupRedPack (cognitive 53): RedPackApi.SendNGroupRedPack has cognitive complexity 53 (threshold 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. This shape REPEATS in the file: one other method here (RedPackApi.SendNormalRedPack) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/RedPackApi/RedPackApi.cs"},"region":{"startLine":365}}}],"partialFingerprints":{"codehealthFindingId/v1":"6599f5b9f5b85256ceb63d27bff0a1f4d3fba625c859b3346ac65302d94bc149"}},{"ruleId":"D2","level":"warning","message":{"text":"CustomMessageHandler.AIChatAsync (cognitive 52): CustomMessageHandler.AIChatAsync has cognitive complexity 52 (threshold 15). Of this number, 46 points are the body\u0027s own statements and 6 belong to one function literal inside it that branches. To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Samples/All/Senparc.Weixin.Sample.CommonService/AI/MessageHandlers/CustomMessageHandler_AI.cs"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"4711f106efff140b92e86dcbaa48cc6793305d2b353dbbccb23f8b2b9373e8cc"}},{"ruleId":"D2","level":"warning","message":{"text":"RedPackApi.SendMiniAppRedPack (cognitive 49): RedPackApi.SendMiniAppRedPack has cognitive complexity 49 (threshold 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":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/RedPackApi/RedPackApi.cs"},"region":{"startLine":714}}}],"partialFingerprints":{"codehealthFindingId/v1":"5949fe02c2cdfcf6d58eb90016915f2b1fa7e0eae4d38f578e4fff48d4b3e9d6"}},{"ruleId":"D2","level":"warning","message":{"text":"CommonApi.GetMenuFromJsonResult (cognitive 45): CommonApi.GetMenuFromJsonResult has cognitive complexity 45 (threshold 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":"src/Senparc.Weixin.Work/Senparc.Weixin.Work/CommonAPIs/CommonApi.Menu.cs"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"93d9b87ecae9e2a1665dc671badb1f40477dc3458df8c4638e759862978340c0"}},{"ruleId":"D2","level":"warning","message":{"text":"TenPayApiRequest.RequestMultipartCoreAsync (cognitive 40): TenPayApiRequest.RequestMultipartCoreAsync has cognitive complexity 40 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/HttpHandlers/TenPayApiRequest.cs"},"region":{"startLine":370}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6c0c80dc8a3411e05ffcbb5480adbb8a34dcf836d1f5eda3491b6b31b40983e"}},{"ruleId":"D2","level":"warning","message":{"text":"SecurityHelper.RSAFromXmlString (cognitive 39): SecurityHelper.RSAFromXmlString has cognitive complexity 39 (threshold 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":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Helpers/SecurityHelper.cs"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6af3205fe68566b54f674a55750e815006232db5a70dac3a887c8cddef2f399"}},{"ruleId":"D2","level":"warning","message":{"text":"ShakeRedPackApi.HbPreOrder (cognitive 38): ShakeRedPackApi.HbPreOrder has cognitive complexity 38 (threshold 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":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/RedPackApi/ShakeRedPackApi.cs"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"17182207e0cc2e95f6f4c383eede32a9f303528a551ef7cf1b0dfe67064546d3"}},{"ruleId":"D2","level":"warning","message":{"text":"ApiHandlerWapperBase.TryCommonApiBase (cognitive 34): ApiHandlerWapperBase.TryCommonApiBase has cognitive complexity 34 (threshold 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":"src/Senparc.Weixin/Senparc.Weixin/CommonAPIs/ApiHandlerWapper/ApiHandlerWapperBase.cs"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f80b2098d9149035d40b35e50a6d4e19e70f34693361018d3105958e32bfbed"}},{"ruleId":"D2","level":"warning","message":{"text":"ApiHandlerWapperBase.TryCommonApiBaseAsync (cognitive 33): ApiHandlerWapperBase.TryCommonApiBaseAsync has cognitive complexity 33 (threshold 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":"src/Senparc.Weixin/Senparc.Weixin/CommonAPIs/ApiHandlerWapper/ApiHandlerWapperBase.cs"},"region":{"startLine":287}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4668c54c449903abfbe66e707a788d20697e59ff987a0641ae8f49047b647b6"}},{"ruleId":"D2","level":"warning","message":{"text":"TenPayApiRequest.RequestAsyncCore (cognitive 32): TenPayApiRequest.RequestAsyncCore has cognitive complexity 32 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/HttpHandlers/TenPayApiRequest.cs"},"region":{"startLine":692}}}],"partialFingerprints":{"codehealthFindingId/v1":"534759d87f721356bd958777d0791a88934f6eb937a4da9c49901ecd09530a3d"}},{"ruleId":"D2","level":"warning","message":{"text":"EntityHelper.ConvertEntityToXml (cognitive 27): EntityHelper.ConvertEntityToXml has cognitive complexity 27 (threshold 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":"src/Senparc.Weixin.Work/Senparc.Weixin.Work/Helpers/EntityHelper.cs"},"region":{"startLine":324}}}],"partialFingerprints":{"codehealthFindingId/v1":"c602878990337296a467fa7522089831e98b41b40e3dad8b8b3eeead5189fa15"}},{"ruleId":"D2","level":"warning","message":{"text":"extension.activate (cognitive 25): extension.activate has cognitive complexity 25 (threshold 15). Drivers by points: if/else 16 (20 pts), boolean chains 3, error handling 2 (nesting depth added 4). Most of this is not in the body itself: 0 of the 25 points are its own statements and the rest belongs to 3 function literals inside it that branch (lines 44, 8, 23). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/WeixinDev/src/extension.ts"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"4362ffbf29a2f4fd2d5184025bde922c6cc353690e812671f7282e7082c376f5"}},{"ruleId":"D2","level":"warning","message":{"text":"EventService.ConfigOnWeixinExceptionFunc (cognitive 19): EventService.ConfigOnWeixinExceptionFunc has cognitive complexity 19 (threshold 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":"Samples/All/Senparc.Weixin.Sample.CommonService/EventService.cs"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bdad7c4bcfb3472980f0fe03e768b64390e76acebdb8d09ccfa006867c243be"}},{"ruleId":"D2","level":"warning","message":{"text":"RequestMessageFactory.GetRequestEntity (cognitive 18): RequestMessageFactory.GetRequestEntity has cognitive complexity 18 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.Work/Senparc.Weixin.Work/RequestMessageFactory.cs"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"69223b168f10c7e6d4862b33bb568f8862e55a552a3a317deb16c6550315d1fd"}},{"ruleId":"D2","level":"warning","message":{"text":"WebSocketHandler.HandleMessage (cognitive 18): WebSocketHandler.HandleMessage has cognitive complexity 18 (threshold 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":"src/Senparc.WebSocket/src/Senparc.WebSocket/Senparc.WebSocket/Routes/WebSocketHandler/WebSocketHandler_Common.cs"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"833ec00cf87e54b1d9ada1bfb8ad3d0fcc0f900e82f0444ed08f2a200b3a4ccf"}},{"ruleId":"D2","level":"warning","message":{"text":"MessageHandler.Init (cognitive 18): MessageHandler.Init has cognitive complexity 18 (threshold 15). Of this number, 10 points are the body\u0027s own statements and 8 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.MP/Senparc.Weixin.MP/MessageHandlers/MessageHandler.cs"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"43403e30574091f6dea7c8dd80a704a31e6bc815b6fc4a9590b57814fe5a3c76"}},{"ruleId":"D2","level":"warning","message":{"text":"RequestHandler.CreateMd5Sign (cognitive 18): RequestHandler.CreateMd5Sign has cognitive complexity 18 (threshold 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":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/RequestHandler.cs"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ab36d85afc6b019b987f4f3ba19301e8bf7835d2fda9c41be9deaae92e91ecd"}},{"ruleId":"D2","level":"warning","message":{"text":"CustomMessageHandler.OnTextRequestAsync (cognitive 18): CustomMessageHandler.OnTextRequestAsync has cognitive complexity 18 (threshold 15). Most of this is not in the body itself: 1 of the 18 points is its own statement and the rest belongs to 5 function literals inside it that branch (lines 461, 207, 267, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Samples/All/Senparc.Weixin.Sample.CommonService/MessageHandlers/CustomMessageHandler/CustomMessageHandler.cs"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d6b5a5c4dacc93d299ab823030a79b09b288e945f1054cdfbb167a45bc0afce"}},{"ruleId":"D2","level":"warning","message":{"text":"CustomWxOpenMessageHandler.OnTextRequestAsync (cognitive 18): CustomWxOpenMessageHandler.OnTextRequestAsync has cognitive complexity 18 (threshold 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":"Samples/All/Senparc.Weixin.Sample.CommonService/MessageHandlers/WxOpenMessageHandler/CustomWxOpenMessageHandler.cs"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf9c4d39cafbe0e457f9fe24d505db12298ec598e923f7a32a40089a0ec3d5d6"}},{"ruleId":"D2","level":"warning","message":{"text":"TenPayApiResultCode.TryGetCode (cognitive 18): TenPayApiResultCode.TryGetCode has cognitive complexity 18 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/Entities/TenPayApiResultCode.cs"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"3feeed792c7b52400d18a461ce89baf3b5ff258357c3a8712b0bab69e6cf99ef"}},{"ruleId":"D2","level":"warning","message":{"text":"CommonApi.GetMenuFromJson (cognitive 17): CommonApi.GetMenuFromJson has cognitive complexity 17 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.Work/Senparc.Weixin.Work/CommonAPIs/CommonApi.Menu.cs"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"132a86522dcc670d77b43c5053737d4f24a0fad21e34ee044261ea931109f841"}},{"ruleId":"D2","level":"warning","message":{"text":"CommonApi.GetMenuFromJson (cognitive 17): CommonApi.GetMenuFromJson has cognitive complexity 17 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.MP/Senparc.Weixin.MP/CommonAPIs/Menu/CommonApi.Menu.Custom.cs"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"5734b64aa3019b0bacfe164199717ffdc86c375922d1ed0124e7c4a37829fa2b"}},{"ruleId":"D2","level":"warning","message":{"text":"SimulateToolController.Index (cognitive 16): SimulateToolController.Index has cognitive complexity 16 (threshold 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":"Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Tools/SimulateToolController.cs"},"region":{"startLine":344}}}],"partialFingerprints":{"codehealthFindingId/v1":"70afb28e543fe24c545a3c537bddfd958f1fe9d2d74f506e507d1d15c95fb40f"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: MeetingApi: TooManyMethods \u2014 1101 significant lines (blank, comment-only and punctuation-only lines excluded), 214 methods, declared across 12 files: Meeting/MeetingApi.Layout.cs (32), Meeting/MeetingApi.Webinar.cs (28), Meeting/MeetingApi.cs (26), Meeting/MeetingApi.Rooms.cs (24), \u002B8 more file(s). The bar is 30 methods; this is 184 over it, 7.13\u00D7 the bar. The type holds no instance state, so there is no shared data to group its members by. To reduce it, split it by area instead: give each cohesive family of members its own smaller type, so no one type has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.Work/Senparc.Weixin.Work/AdvancedAPIs/Meeting/MeetingApi.Layout.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c367674862d2c0336fcdb95fd5384d06cfcae468afc80a6abc21f21254586f3f"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: WorkMessageHandler: TooManyMethods \u2014 993 significant lines (blank, comment-only and punctuation-only lines excluded), 189 methods, declared across 2 files: MessageHandlers/WorkMessageHandler.cs (96), Async/WorkMessageHandler.Async.cs (93). The bar is 30 methods; this is 159 over it, 6.30\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.Work/Senparc.Weixin.Work/MessageHandlers/WorkMessageHandler.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd45dbced088624d13a71f1514d6d71ebaa27043235681069a60fdbcb501ea91"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ExternalApi: TooManyMethods \u2014 953 significant lines (blank, comment-only and punctuation-only lines excluded), 178 methods, declared across 6 files: External/ExternalApi.cs (84), External/ExternalCustomerManagementApi.cs (24), External/ExternalMomentApi.cs (24), External/ExternalCatalogApi.cs (22), \u002B2 more file(s). The bar is 30 methods; this is 148 over it, 5.93\u00D7 the bar. The type holds no instance state, so there is no shared data to group its members by. To reduce it, split it by area instead: give each cohesive family of members its own smaller type, so no one type has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.Work/Senparc.Weixin.Work/AdvancedAPIs/External/ExternalApi.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f95ba7b98f28f3b8b3689a62aca962766ccedc826571dbde9b1db3ffa3d11981"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: MessageHandler: TooManyMethods \u2014 825 significant lines (blank, comment-only and punctuation-only lines excluded), 155 methods, declared across 6 files: Async/MessageHandlerAsync.Event.cs (61), MessageHandlers/MessageHandler.Event.cs (61), Async/MessageHandlerAsync.Message.cs (12), MessageHandlers/MessageHandler.Message.cs (11), \u002B2 more file(s). The bar is 30 methods; this is 125 over it, 5.17\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":"src/Senparc.Weixin.MP/Senparc.Weixin.MP/MessageHandlers/Async/MessageHandlerAsync.Event.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"97b7ab88034bfe2bf17a46deb900c2d6c93c2f0094829cae50caf89502517898"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: WeDocApi: TooManyMethods \u2014 514 significant lines (blank, comment-only and punctuation-only lines excluded), 133 methods, declared across 11 files: WeDoc/WeDocApi.SmartDoc.cs (34), WeDoc/WeDocApi.cs (33), WeDoc/WeDocApi.SmartSheet.cs (12), WeDoc/WeDocApi.Form.cs (10), \u002B7 more file(s). The bar is 30 methods; this is 103 over it, 4.43\u00D7 the bar. The type holds no instance state, so there is no shared data to group its members by. To reduce it, split it by area instead: give each cohesive family of members its own smaller type, so no one type has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.Work/Senparc.Weixin.Work/AdvancedAPIs/WeDoc/WeDocApi.SmartDoc.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"738b334aa29feafa74481d54796b2cba6b96b7dceab4bcbb82cc5e231db05e5d"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: CardApi: ClassTooLong \u2014 1521 significant lines (blank, comment-only and punctuation-only lines excluded), 159 methods. The bar is 400 significant lines; this is 1121 over it, 3.80\u00D7 the bar. Its members are declarations rather than behaviour over shared data \u2014 the type holds no instance state \u2014 so there is nothing to group them by and nothing to delegate. To reduce it, split it by area instead: move each cohesive group of declarations onto its own smaller type, so no one type has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.MP/Senparc.Weixin.MP/AdvancedAPIs/Card/CardAPI.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7593becfa77b744a58bc74780207079f50a87cd912cd661049fba668b9e346a4"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: WorkMessageHandler.OnEventRequestAsync: MethodTooLong \u2014 OnEventRequestAsync runs 329 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 229 over it, 3.29\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":"src/Senparc.Weixin.Work/Senparc.Weixin.Work/MessageHandlers/Async/WorkMessageHandler.Async.cs"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"300929cb6cf55a71bcbccaa20cd6dd6cdc4dd3fe7b022adae394f755290976ad"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Card/CardAPI.cs: FileTooLong \u2014 1534 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 1034 over it, 3.07\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.MP/Senparc.Weixin.MP/AdvancedAPIs/Card/CardAPI.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce80ffc8bd68a5159d3668e2ff7939c743eedebb674d7268dd92a7bba668bf5b"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: MiniDramaApi: TooManyMethods \u2014 224 significant lines (blank, comment-only and punctuation-only lines excluded), 89 methods, declared across 4 files: MiniDrama/MiniDramaApi.cs (29), MiniDrama/MiniDramaAuthorizationApi.cs (22), MiniDrama/MiniDramaAuditApi.cs (20), MiniDrama/MiniDramaPlayerApi.cs (18). The bar is 30 methods; this is 59 over it, 2.97\u00D7 the bar. The type holds no instance state, so there is no shared data to group its members by. To reduce it, split it by area instead: give each cohesive family of members its own smaller type, so no one type has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.WxOpen/src/Senparc.Weixin.WxOpen/Senparc.Weixin.WxOpen/AdvancedAPIs/MiniDrama/MiniDramaApi.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c15f61f5f3bd5f55df35ac9e8fbbab61e096e1ede2ab1d979c524866a1dfd401"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: SchoolApi: TooManyMethods \u2014 322 significant lines (blank, comment-only and punctuation-only lines excluded), 85 methods, declared across 3 files: School/SchoolApi.User.cs (38), School/SchoolApi.cs (25), School/SchoolApi.Service.cs (22). The bar is 30 methods; this is 55 over it, 2.83\u00D7 the bar. The type holds no instance state, so there is no shared data to group its members by. To reduce it, split it by area instead: give each cohesive family of members its own smaller type, so no one type has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.Work/Senparc.Weixin.Work/AdvancedAPIs/School/SchoolApi.User.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f79cac7eff44f0a8f910dc5d5ca6ba65d66b01daec88dea035473455142ed67"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: WxOpenMessageHandler: TooManyMethods \u2014 457 significant lines (blank, comment-only and punctuation-only lines excluded), 83 methods, declared across 3 files: MessageHandlers/WxOpenMessageHandler.Event.cs (68), MessageHandlers/WxOpenMessageHandler.cs (9), MessageHandlers/WxOpenMessageHandler.Message.cs (6). The bar is 30 methods; this is 53 over it, 2.77\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.WxOpen/src/Senparc.Weixin.WxOpen/Senparc.Weixin.WxOpen/MessageHandlers/WxOpenMessageHandler.Event.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"85c5f4d09e59b19bb2be5712366746b5d6d96b754225220c227a95c1f6a67db3"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: CloudBaseApi: TooManyMethods \u2014 307 significant lines (blank, comment-only and punctuation-only lines excluded), 82 methods. The bar is 30 methods; this is 52 over it, 2.73\u00D7 the bar. The type holds no instance state, so there is no shared data to group its members by. To reduce it, split it by area instead: give each cohesive family of members its own smaller type, so no one type has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.Open/Senparc.Weixin.Open/WxaAPIs/CloudBase/CloudBaseApi.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"04f3888d3fdef1a529c879087f9830c1b009d4356716ff0f832513fbf1de9649"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: XPayApi: TooManyMethods \u2014 419 significant lines (blank, comment-only and punctuation-only lines excluded), 81 methods, declared across 2 files: XPay/XPayApi.cs (73), XPay/XPayIncrementApi.cs (8). The bar is 30 methods; this is 51 over it, 2.70\u00D7 the bar. The type holds no instance state, so there is no shared data to group its members by. To reduce it, split it by area instead: give each cohesive family of members its own smaller type, so no one type has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.WxOpen/src/Senparc.Weixin.WxOpen/Senparc.Weixin.WxOpen/AdvancedAPIs/XPay/XPayApi.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ce5020885e40355b67f9bb7fc60d47775d893ecd4c6f9e15555323c85245a85"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: LiveBroadcastApi: TooManyMethods \u2014 184 significant lines (blank, comment-only and punctuation-only lines excluded), 81 methods, declared across 3 files: LiveBroadcast/LiveBroadcastApi.cs (57), LiveBroadcast/LiveBroadcastGoodsApi.cs (14), LiveBroadcast/LiveBroadcastRoleSubscriptionApi.cs (10). The bar is 30 methods; this is 51 over it, 2.70\u00D7 the bar. The type holds no instance state, so there is no shared data to group its members by. To reduce it, split it by area instead: give each cohesive family of members its own smaller type, so no one type has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.WxOpen/src/Senparc.Weixin.WxOpen/Senparc.Weixin.WxOpen/AdvancedAPIs/LiveBroadcast/LiveBroadcastApi.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"aadd9db9159fdb41a7fea1d093a46c050c21f2751613e9ef9cc5a5ce7e79c84b"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: TenPayV3: TooManyMethods \u2014 659 significant lines (blank, comment-only and punctuation-only lines excluded), 80 methods, declared across 3 files: Universal/TenPayV3.cs (64), Customs/TenPayV3.Customs.cs (10), Universal/TenpayV3.PayBank.cs (6). The bar is 30 methods; this is 50 over it, 2.67\u00D7 the bar. The type holds no instance state, so there is no shared data to group its members by. To reduce it, split it by area instead: give each cohesive family of members its own smaller type, so no one type has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/TenPayV3.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1e4cd01933e2b0a6fbbdb19da57a259eb95392ceb454431230ae70907046b1c"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: WeixinExpressApi: TooManyMethods \u2014 168 significant lines (blank, comment-only and punctuation-only lines excluded), 76 methods, declared across 4 files: WeixinExpress/WeixinExpressIntracityApi.cs (32), WeixinExpress/WeixinExpressInsuranceApi.cs (22), WeixinExpress/WeixinExpressApi.cs (16), WeixinExpress/WeixinExpressReturnApi.cs (6). The bar is 30 methods; this is 46 over it, 2.53\u00D7 the bar. The type holds no instance state, so there is no shared data to group its members by. To reduce it, split it by area instead: give each cohesive family of members its own smaller type, so no one type has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.WxOpen/src/Senparc.Weixin.WxOpen/Senparc.Weixin.WxOpen/AdvancedAPIs/WeixinExpress/WeixinExpressIntracityApi.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bcc97e675a364dfd0b8e6e9427d5f72d229325283dc30047ced4aecb0a315de"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Senparc.Weixin/Enums.cs: FileTooLong \u2014 1244 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 744 over it, 2.49\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin/Senparc.Weixin/Enums.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f75c00fdc3e937cd38e3722d415f24cabe4c0593c1e70a9f2263390d118d205b"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: DefaultWorkMessageContext.GetRequestEntityMappingResult: MethodTooLong \u2014 GetRequestEntityMappingResult runs 241 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 141 over it, 2.41\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.Work/Senparc.Weixin.Work/MessageContext/DefaultWorkMessageContext.cs"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbd79afa038ee75803e04dee9dc8b8fbedfbf702ef46ea7950197601804a5c80"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: CloudBaseBatchApi: TooManyMethods \u2014 273 significant lines (blank, comment-only and punctuation-only lines excluded), 71 methods. The bar is 30 methods; this is 41 over it, 2.37\u00D7 the bar. The type holds no instance state, so there is no shared data to group its members by. To reduce it, split it by area instead: give each cohesive family of members its own smaller type, so no one type has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.Open/Senparc.Weixin.Open/WxaAPIs/CloudBaseBatch/CloudBaseBatchApi.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"80e1f46add804ad4f4ff5ad9770078e42257c2e901d1e48a16a55fae53c45a62"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: B2BApi: TooManyMethods \u2014 158 significant lines (blank, comment-only and punctuation-only lines excluded), 71 methods, declared across 4 files: B2B/B2BOrderApi.cs (20), B2B/B2BMerchantApi.cs (18), B2B/B2BProfitSharingApi.cs (18), B2B/B2BApi.cs (15). The bar is 30 methods; this is 41 over it, 2.37\u00D7 the bar. The type holds no instance state, so there is no shared data to group its members by. To reduce it, split it by area instead: give each cohesive family of members its own smaller type, so no one type has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.WxOpen/src/Senparc.Weixin.WxOpen/Senparc.Weixin.WxOpen/AdvancedAPIs/B2B/B2BOrderApi.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1730dfd21dd7e52e9c80dd1a20df24d1f046a656b209ff30ae94b230fe91639d"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: EcommerceApis: TooManyMethods \u2014 436 significant lines (blank, comment-only and punctuation-only lines excluded), 68 methods, declared across 6 files: Ecommerce/EcommerceApis.AccountFunds.cs (18), Ecommerce/EcommerceApis.MerchantCancellation.cs (15), Ecommerce/EcommerceApis.Refunds.cs (11), Ecommerce/EcommerceApis.CrossBorder.cs (9), \u002B2 more file(s). The bar is 30 methods; this is 38 over it, 2.27\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/Ecommerce/EcommerceApis.AccountFunds.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca07e99c53b16650f6464fb9f11e421cc470ee0586014ea26f5ddbb66dc68c98"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: WeixinDevSidebarProvider._getHtmlForWebview: MethodTooLong \u2014 _getHtmlForWebview runs 224 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 124 over it, 2.24\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/WeixinDev/src/sidebarProvider.ts"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f33a33fb07652d0c8101d1e5c0541e687526f5cc7b4e0b0456eb4f673ff017c"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ChatDataApi: TooManyMethods \u2014 299 significant lines (blank, comment-only and punctuation-only lines excluded), 64 methods. The bar is 30 methods; this is 34 over it, 2.13\u00D7 the bar. The type holds no instance state, so there is no shared data to group its members by. To reduce it, split it by area instead: give each cohesive family of members its own smaller type, so no one type has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.Work/Senparc.Weixin.Work/AdvancedAPIs/DataIntelligence/ChatDataApi.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5218a703edca315a0133622c5629267ab3898f8b49ca1a87650182930cb40ad4"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: WeDriveApi: TooManyMethods \u2014 238 significant lines (blank, comment-only and punctuation-only lines excluded), 64 methods, declared across 3 files: WeDrive/WeDriveApi.File.cs (34), WeDrive/WeDriveApi.cs (20), WeDrive/WeDriveApi.Management.cs (10). The bar is 30 methods; this is 34 over it, 2.13\u00D7 the bar. The type holds no instance state, so there is no shared data to group its members by. To reduce it, split it by area instead: give each cohesive family of members its own smaller type, so no one type has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.Work/Senparc.Weixin.Work/AdvancedAPIs/WeDrive/WeDriveApi.File.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae10950917ebdf09fcacb51329811e878ecf435de62c68046f9a1a1e013e5faa"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: DefaultMpMessageContext.GetRequestEntityMappingResult: MethodTooLong \u2014 GetRequestEntityMappingResult runs 207 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 107 over it, 2.07\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.MP/Senparc.Weixin.MP/MessageContexts/DefaultMpMessageContext.cs"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"882e0a67abc7e35fa99386c21763cb1a188a382f4509678fd065fcef0afa740f"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: WxAppApi: TooManyMethods \u2014 615 significant lines (blank, comment-only and punctuation-only lines excluded), 62 methods. The bar is 30 methods; this is 32 over it, 2.07\u00D7 the bar. The type holds no instance state, so there is no shared data to group its members by. To reduce it, split it by area instead: give each cohesive family of members its own smaller type, so no one type has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.WxOpen/src/Senparc.Weixin.WxOpen/Senparc.Weixin.WxOpen/AdvancedAPIs/WxApp/WxAppApi.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0febd03e6e95afabf967772fb6817ff4025e1a8f5ba9f975e1eeb8280a65c1b"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: WeChatCustomerServiceApi: TooManyMethods \u2014 130 significant lines (blank, comment-only and punctuation-only lines excluded), 60 methods, declared across 2 files: WeChatCustomerService/WeChatCustomerServiceApi.cs (58), WeChatCustomerService/WeChatCustomerServiceQualificationApi.cs (2). The bar is 30 methods; this is 30 over it, 2.00\u00D7 the bar. The type holds no instance state, so there is no shared data to group its members by. To reduce it, split it by area instead: give each cohesive family of members its own smaller type, so no one type has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.Work/Senparc.Weixin.Work/AdvancedAPIs/WeChatCustomerService/WeChatCustomerServiceApi.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a356afd7c2088afc19327213622130896c1e54a53c480ec11218598adc6d935"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: LicenseApi: TooManyMethods \u2014 347 significant lines (blank, comment-only and punctuation-only lines excluded), 58 methods, declared across 4 files: License/LicenseApi.Order.cs (26), License/LicenseApi.Account.cs (18), License/LicenseApi.Settings.cs (10), License/LicenseApi.cs (4). The bar is 30 methods; this is 28 over it, 1.93\u00D7 the bar. The type holds no instance state, so there is no shared data to group its members by. To reduce it, split it by area instead: give each cohesive family of members its own smaller type, so no one type has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.Work/Senparc.Weixin.Work/AdvancedAPIs/License/LicenseApi.Order.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d28d9f835c688e9540459280c7e1609f23753b949f4417742bbcc9a7d5dd4c9"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ProductCouponApis: TooManyMethods \u2014 369 significant lines (blank, comment-only and punctuation-only lines excluded), 55 methods. The bar is 30 methods; this is 25 over it, 1.83\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":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/ProductCoupon/ProductCouponApis.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"23a23daef53730e777989ec197e251634402d43f8752d97dadb0f241d9834311"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: OpenHardwareApi: TooManyMethods \u2014 318 significant lines (blank, comment-only and punctuation-only lines excluded), 55 methods, declared across 5 files: OpenHardware/OpenHardwareApi.Device.cs (24), OpenHardware/OpenHardwareApi.Attendance.cs (10), OpenHardware/OpenHardwareApi.Printer.cs (10), OpenHardware/OpenHardwareApi.cs (6), \u002B1 more file(s). The bar is 30 methods; this is 25 over it, 1.83\u00D7 the bar. The type holds no instance state, so there is no shared data to group its members by. To reduce it, split it by area instead: give each cohesive family of members its own smaller type, so no one type has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.Work/Senparc.Weixin.Work/AdvancedAPIs/OpenHardware/OpenHardwareApi.Device.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8146b81faf8a37b59f6580454a5b60e523da11ce245bfe70f6834c42d3c0ebce"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ExmailApi: TooManyMethods \u2014 220 significant lines (blank, comment-only and punctuation-only lines excluded), 55 methods, declared across 5 files: Exmail/ExmailApi.PublicMail.cs (15), Exmail/ExmailApi.cs (14), Exmail/ExmailApi.Group.cs (12), Exmail/ExmailApi.Account.cs (8), \u002B1 more file(s). The bar is 30 methods; this is 25 over it, 1.83\u00D7 the bar. The type holds no instance state, so there is no shared data to group its members by. To reduce it, split it by area instead: give each cohesive family of members its own smaller type, so no one type has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.Work/Senparc.Weixin.Work/AdvancedAPIs/Exmail/ExmailApi.PublicMail.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"51c6d2b7a56b7f94d7f74725a85af99f2fe79ade6569fd812d6f08770c86aba7"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: AmsApi: TooManyMethods \u2014 219 significant lines (blank, comment-only and punctuation-only lines excluded), 55 methods. The bar is 30 methods; this is 25 over it, 1.83\u00D7 the bar. The type holds no instance state, so there is no shared data to group its members by. To reduce it, split it by area instead: give each cohesive family of members its own smaller type, so no one type has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.Open/Senparc.Weixin.Open/WxaAPIs/Ams/AmsApi.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e5d05f11dac6f7546b3da61c835f96dd5b9225851259aad16495625c788a831"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: MessageHandler.OnEventRequestAsync: MethodTooLong \u2014 OnEventRequestAsync runs 183 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 83 over it, 1.83\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":"src/Senparc.Weixin.MP/Senparc.Weixin.MP/MessageHandlers/Async/MessageHandlerAsync.Event.cs"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b6ffc46ad8c4ba4bb2a2295c9086409c2b171dd19c9b644f183a434b8125824"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: MessageHandler.OnEventRequest: MethodTooLong \u2014 OnEventRequest runs 183 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 83 over it, 1.83\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":"src/Senparc.Weixin.MP/Senparc.Weixin.MP/MessageHandlers/MessageHandler.Event.cs"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c830074ad34f2540a89132fa1868f432299c5369b6b0fb29553e05f6bbd4e1b"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ReportApi: TooManyMethods \u2014 215 significant lines (blank, comment-only and punctuation-only lines excluded), 54 methods, declared across 5 files: Report/ReportApi.Grid.cs (18), Report/ReportApi.Patrol.cs (12), Report/ReportApi.Resident.cs (12), Report/ReportApi.cs (8), \u002B1 more file(s). The bar is 30 methods; this is 24 over it, 1.80\u00D7 the bar. The type holds no instance state, so there is no shared data to group its members by. To reduce it, split it by area instead: give each cohesive family of members its own smaller type, so no one type has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.Work/Senparc.Weixin.Work/AdvancedAPIs/Report/ReportApi.Grid.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"09d442c602ccd58bcc30af96a3b595710dfb773e3cde712944ef13b95d9ee521"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: ShakeAroundApi: ClassTooLong \u2014 687 significant lines (blank, comment-only and punctuation-only lines excluded), 70 methods. The bar is 400 significant lines; this is 287 over it, 1.72\u00D7 the bar. Its members are declarations rather than behaviour over shared data \u2014 the type holds no instance state \u2014 so there is nothing to group them by and nothing to delegate. To reduce it, split it by area instead: move each cohesive group of declarations onto its own smaller type, so no one type has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.MP/Senparc.Weixin.MP/AdvancedAPIs/ShakeAround/ShakeAroundApi.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"00f8492762fc681565b24877d89154141b6ae21993fb7a9f2120163b57d3a594"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ComponentApi: TooManyMethods \u2014 530 significant lines (blank, comment-only and punctuation-only lines excluded), 49 methods, declared across 2 files: ComponentAPIs/ComponentApi.cs (45), ComponentAPIs/ComponentApi.Current.cs (4). The bar is 30 methods; this is 19 over it, 1.63\u00D7 the bar. The type holds no instance state, so there is no shared data to group its members by. To reduce it, split it by area instead: give each cohesive family of members its own smaller type, so no one type has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.Open/Senparc.Weixin.Open/ComponentAPIs/ComponentApi.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"901e41816dae60e021755e5b5693da90259dc8c54f138b6a95b24b9befd2f3c2"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: NovelApi: TooManyMethods \u2014 108 significant lines (blank, comment-only and punctuation-only lines excluded), 49 methods, declared across 3 files: Novel/NovelApi.cs (31), Novel/NovelAuthorizationApi.cs (12), Novel/NovelReaderApi.cs (6). The bar is 30 methods; this is 19 over it, 1.63\u00D7 the bar. The type holds no instance state, so there is no shared data to group its members by. To reduce it, split it by area instead: give each cohesive family of members its own smaller type, so no one type has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.WxOpen/src/Senparc.Weixin.WxOpen/Senparc.Weixin.WxOpen/AdvancedAPIs/Novel/NovelApi.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce212f21c21a7b79f3a07c7f7512d8b310bbe5503e2302b5a04becf44433b02d"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: MarketingApis: TooManyMethods \u2014 252 significant lines (blank, comment-only and punctuation-only lines excluded), 46 methods, declared across 7 files: Marketing/MarketingApis.Busifavor.cs (16), Marketing/MarketingApis.Favor.cs (16), Marketing/MarketingApis.Paygift.cs (8), Marketing/MarketingApis.Partnerships.cs (3), \u002B3 more file(s). The bar is 30 methods; this is 16 over it, 1.53\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/Marketing/MarketingApis.Favor.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"65d2825ba333bb58f1662481b04c7a66aa6e2222bd744abf28b03050dba48b0d"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: EntityHelper.FillEntityWithXml: MethodTooLong \u2014 FillEntityWithXml runs 146 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 46 over it, 1.46\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.Work/Senparc.Weixin.Work/Helpers/EntityHelper.cs"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfb657ee70352c877ddfbe2eebdc39be1c86b9df8cdb27a49a4495f01b4164f6"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Async/WorkMessageHandler.Async.cs: FileTooLong \u2014 718 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 218 over it, 1.44\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.Work/Senparc.Weixin.Work/MessageHandlers/Async/WorkMessageHandler.Async.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0221f3c13dd0f8531ece40a5215ced25bdcde34faab3db3d060f10a43bea39e5"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: ShakeAround/ShakeAroundApi.cs: FileTooLong \u2014 699 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 199 over it, 1.40\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.MP/Senparc.Weixin.MP/AdvancedAPIs/ShakeAround/ShakeAroundApi.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"697d1c15c9c8c39625f286950903b6d809ef774d473d3a04b287bbbc1fa69e0c"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: CodeApi: TooManyMethods \u2014 204 significant lines (blank, comment-only and punctuation-only lines excluded), 40 methods. The bar is 30 methods; this is 10 over it, 1.33\u00D7 the bar. The type holds no instance state, so there is no shared data to group its members by. To reduce it, split it by area instead: give each cohesive family of members its own smaller type, so no one type has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.Open/Senparc.Weixin.Open/WxaAPIs/Code/CodeApi.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e20f4c9814fae6444ba1d07e7765194b65e674ffb99737f4301f3be52af5a65"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: OaDataOpenApi: TooManyMethods \u2014 201 significant lines (blank, comment-only and punctuation-only lines excluded), 38 methods, declared across 2 files: OaDataOpen/OaDataOpenApi.CheckinP2.cs (24), OaDataOpen/OaDataOpenApi.cs (14). The bar is 30 methods; this is 8 over it, 1.27\u00D7 the bar. The type holds no instance state, so there is no shared data to group its members by. To reduce it, split it by area instead: give each cohesive family of members its own smaller type, so no one type has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.Work/Senparc.Weixin.Work/AdvancedAPIs/OaDataOpen/OaDataOpenApi.CheckinP2.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d5a73354b03a44b503445d7387f122b94ef0a7b6c2870941cfe859d47676308"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: CorpgroupApi: TooManyMethods \u2014 116 significant lines (blank, comment-only and punctuation-only lines excluded), 38 methods. The bar is 30 methods; this is 8 over it, 1.27\u00D7 the bar. The type holds no instance state, so there is no shared data to group its members by. To reduce it, split it by area instead: give each cohesive family of members its own smaller type, so no one type has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.Work/Senparc.Weixin.Work/AdvancedAPIs/Corpgroup/CorpgroupApi.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e8910cc636cd9e7e8ae2769c47078c183132af3d7372f8ffc1737eaa14e4141"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: TransactionGuaranteeApi: TooManyMethods \u2014 106 significant lines (blank, comment-only and punctuation-only lines excluded), 38 methods. The bar is 30 methods; this is 8 over it, 1.27\u00D7 the bar. The type holds no instance state, so there is no shared data to group its members by. To reduce it, split it by area instead: give each cohesive family of members its own smaller type, so no one type has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.WxOpen/src/Senparc.Weixin.WxOpen/Senparc.Weixin.WxOpen/AdvancedAPIs/TransactionGuarantee/TransactionGuaranteeApi.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b7483a61b166fd95295c04f65cec485d6d3af54a44fca947f80230b6b58ee5e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: WxApp/WxAppApi.cs: FileTooLong \u2014 627 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 127 over it, 1.25\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.WxOpen/src/Senparc.Weixin.WxOpen/Senparc.Weixin.WxOpen/AdvancedAPIs/WxApp/WxAppApi.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"58e65cb3dd13848fe4a5a464a7c530b627b3d1ecba997f845ff2df95ff4905d3"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: MassApi: ClassTooLong \u2014 485 significant lines (blank, comment-only and punctuation-only lines excluded), 32 methods, declared across 2 files: Mass/MassApi.cs (30), Mass/MassApi.Statistics.cs (2). The bar is 400 significant lines; this is 85 over it, 1.21\u00D7 the bar. Its members are declarations rather than behaviour over shared data \u2014 the type holds no instance state \u2014 so there is nothing to group them by and nothing to delegate. To reduce it, split it by area instead: move each cohesive group of declarations onto its own smaller type, so no one type has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.Work/Senparc.Weixin.Work/AdvancedAPIs/Mass/MassApi.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ab688fc8517eb28f0abf76697b16b4645d5578b9cde6be3723406e363357d49"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: BasePayApis: TooManyMethods \u2014 336 significant lines (blank, comment-only and punctuation-only lines excluded), 36 methods, declared across 2 files: BasePay/BasePayApis.cs (34), BasePay/BasePayApis.AbnormalRefund.cs (2). The bar is 30 methods; this is 6 over it, 1.20\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/BasePay/BasePayApis.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4915e4693e91d848aebb04810d45f5691f07928747ee78eabc00b91eaac605d6"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ThirdPartyMessageHandler: TooManyMethods \u2014 175 significant lines (blank, comment-only and punctuation-only lines excluded), 36 methods, declared across 2 files: MessageHandlers/ThirdPartyMessageHandler.cs (20), MessageHandlers/ThirdPartyMessageHandlerAsync.cs (16). The bar is 30 methods; this is 6 over it, 1.20\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.Open/Senparc.Weixin.Open/MessageHandlers/ThirdPartyMessageHandler.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"55321ec0c99a804a9ad679d286562793819b35a4996f9977d187ee2f6ffaded1"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: GroupMessageApi: ClassTooLong \u2014 468 significant lines (blank, comment-only and punctuation-only lines excluded), 24 methods. The bar is 400 significant lines; this is 68 over it, 1.17\u00D7 the bar. Its members are declarations rather than behaviour over shared data \u2014 the type holds no instance state \u2014 so there is nothing to group them by and nothing to delegate. To reduce it, split it by area instead: move each cohesive group of declarations onto its own smaller type, so no one type has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.MP/Senparc.Weixin.MP/AdvancedAPIs/GroupMessage/GroupMessageApi.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"86acf014e59dfc94055655e29641adedfe216345894202263d78295e79224a6f"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: TenPayApiRequest.RequestMultipartCoreAsync: MethodTooLong \u2014 RequestMultipartCoreAsync runs 116 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 16 over it, 1.16\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":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/HttpHandlers/TenPayApiRequest.cs"},"region":{"startLine":370}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d685ee108a245e12d204ab8648917bb8c2b49fa7e5b358b414daa802b07347c"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: DefaultWxOpenMessageContext.GetRequestEntityMappingResult: MethodTooLong \u2014 GetRequestEntityMappingResult runs 114 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 14 over it, 1.14\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.WxOpen/src/Senparc.Weixin.WxOpen/Senparc.Weixin.WxOpen/MessageContexts/DefaultWxOpenMessageContext.cs"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"7db4948e5c752145c138bf34f0a243581cafc007f13ebb31daef4770242d687b"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ComponentOpenApi: TooManyMethods \u2014 101 significant lines (blank, comment-only and punctuation-only lines excluded), 34 methods. The bar is 30 methods; this is 4 over it, 1.13\u00D7 the bar. The type holds no instance state, so there is no shared data to group its members by. To reduce it, split it by area instead: give each cohesive family of members its own smaller type, so no one type has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.Open/Senparc.Weixin.Open/ComponentAPIs/ComponentOpenApi.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"27985c411746f5c5bd1654b3cf77600d0d85c1b9876039d523e371de70cbb53d"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: SecurityApi: TooManyMethods \u2014 71 significant lines (blank, comment-only and punctuation-only lines excluded), 34 methods. The bar is 30 methods; this is 4 over it, 1.13\u00D7 the bar. The type holds no instance state, so there is no shared data to group its members by. To reduce it, split it by area instead: give each cohesive family of members its own smaller type, so no one type has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.Work/Senparc.Weixin.Work/AdvancedAPIs/Security/SecurityApi.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"969c5dc15068cc605c28208aed34c91fe3f57c6a48d2f8a0bcbf3f9f2f8deb90"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Universal/TenPayV3.cs: FileTooLong \u2014 556 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 56 over it, 1.11\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/TenPayV3.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"61f9eebea0025eeb39ee6020c4d714d6d23c1a5d062cd0158dceb6e13bec73ec"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: External/ExternalApi.cs: FileTooLong \u2014 555 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 55 over it, 1.11\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.Work/Senparc.Weixin.Work/AdvancedAPIs/External/ExternalApi.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c6c0cd82ca6a9e2b0e0b2c920fbe87cf6f9d90d663dba2b86851ab11515c580"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: CustomApi: ClassTooLong \u2014 441 significant lines (blank, comment-only and punctuation-only lines excluded), 22 methods. The bar is 400 significant lines; this is 41 over it, 1.10\u00D7 the bar. The type holds no instance state, so there is no shared data to group its members by. To reduce it, split it by area instead: give each cohesive family of members its own smaller type, so no one type has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.MP/Senparc.Weixin.MP/AdvancedAPIs/Custom/CustomApi.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd737430bf19696d8de916ebd20160f8de7031bb58624677f23ec0ea42a77d65"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: TenPayApiRequest: ClassTooLong \u2014 438 significant lines (blank, comment-only and punctuation-only lines excluded), 25 methods. The bar is 400 significant lines; this is 38 over it, 1.10\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/HttpHandlers/TenPayApiRequest.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"880413127990a1777c2a50900ed5b8c0a0fa6195b968e5a6223d23fe862c569c"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: CommonApi.GetMenuFromJsonResult: MethodTooLong \u2014 GetMenuFromJsonResult runs 107 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 7 over it, 1.07\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.Work/Senparc.Weixin.Work/CommonAPIs/CommonApi.Menu.cs"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"266f87e418b3890b245d834d7ab51969835904773d4cfe7263ab22a1e1e48c78"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: MailListApi: ClassTooLong \u2014 427 significant lines (blank, comment-only and punctuation-only lines excluded), 62 methods, declared across 3 files: MailList/MailListApi.cs (50), MailList/MailListMemberAuthorizationApi.cs (8), MailList/MailListCurrentApi.cs (4). The bar is 400 significant lines; this is 27 over it, 1.07\u00D7 the bar. Its members are declarations rather than behaviour over shared data \u2014 the type holds no instance state \u2014 so there is nothing to group them by and nothing to delegate. To reduce it, split it by area instead: move each cohesive group of declarations onto its own smaller type, so no one type has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.Work/Senparc.Weixin.Work/AdvancedAPIs/MailList/MailListApi.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"abceb8d7da96df45ed96d44c1f013decceb0ca50260693a3256035b0687743a8"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: MediaApi: TooManyMethods \u2014 268 significant lines (blank, comment-only and punctuation-only lines excluded), 32 methods, declared across 3 files: Media/MediaApi.cs (24), Media/MediaApi.UrlUpload.cs (6), Media/MediaAttachmentApi.cs (2). The bar is 30 methods; this is 2 over it, 1.07\u00D7 the bar. The type holds no instance state, so there is no shared data to group its members by. To reduce it, split it by area instead: give each cohesive family of members its own smaller type, so no one type has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.Work/Senparc.Weixin.Work/AdvancedAPIs/Media/MediaApi.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6eae3bc24aaa78bb2924c094dbc91f59e26debf9d6d736303f331f24348f10fb"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: WxOpenMessageHandler.OnEventRequest: MethodTooLong \u2014 OnEventRequest 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":"src/Senparc.Weixin.WxOpen/src/Senparc.Weixin.WxOpen/Senparc.Weixin.WxOpen/MessageHandlers/WxOpenMessageHandler.Event.cs"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"50a694d4d557f490a89bde50bd34eed1023b746bfa909e0a89d24b63e12bcead"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: WxOpenMessageHandler.OnEventRequestAsync: MethodTooLong \u2014 OnEventRequestAsync 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":"src/Senparc.Weixin.WxOpen/src/Senparc.Weixin.WxOpen/Senparc.Weixin.WxOpen/MessageHandlers/WxOpenMessageHandler.Event.cs"},"region":{"startLine":499}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e4595976af401c64042397a64473317d0f34f3a37552f9dc018d4394eb2d098"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: RequestMessageFactory.GetRequestEntity: MethodTooLong \u2014 GetRequestEntity runs 104 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 4 over it, 1.04\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.Work/Senparc.Weixin.Work/RequestMessageFactory.cs"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"82286a2d41d7d9a93f00fac0a97bdb8f2142b5933b45dd82c32c71caed42ea5a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: ComponentAPIs/ComponentApi.cs: FileTooLong \u2014 519 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 19 over it, 1.04\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.Open/Senparc.Weixin.Open/ComponentAPIs/ComponentApi.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"91eadc5e6631734d744211cb03473c486829b01af848e2b7ffe1d669d1ee5072"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: InvoiceApi: ClassTooLong \u2014 402 significant lines (blank, comment-only and punctuation-only lines excluded), 56 methods. The bar is 400 significant lines; this is 2 over it, 1.01\u00D7 the bar. Its members are declarations rather than behaviour over shared data \u2014 the type holds no instance state \u2014 so there is nothing to group them by and nothing to delegate. To reduce it, split it by area instead: move each cohesive group of declarations onto its own smaller type, so no one type has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.MP/Senparc.Weixin.MP/AdvancedAPIs/Invoice/InvoiceApi.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0618467ec77e774e4e07ebc0df32680a916b5b0424658cdc18608518bf95582c"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (69 shared lines): src/Senparc.Weixin/Senparc.Weixin/CommonAPIs/ApiHandlerWapper/ApiHandlerWapperBase.cs:140-265 | src/Senparc.Weixin/Senparc.Weixin/CommonAPIs/ApiHandlerWapper/ApiHandlerWapperBase.cs:294-416 \u2014 These two members are variants of one another: 69 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":"src/Senparc.Weixin/Senparc.Weixin/CommonAPIs/ApiHandlerWapper/ApiHandlerWapperBase.cs"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"1394883dcafc47f980483d770a7a4d0be1b8b84a9490bbecc76dac868320a596"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (31 corresponding lines): src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V2/ResponseHandler.cs:123-196 | src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/ResponseHandler.cs:121-224 \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":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V2/ResponseHandler.cs"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"c722db358333dc72956976797eb896ce803fb375279462f9308d4730ea2f46df"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (30 members, 50\u002B identical tokens): src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/TenPayV3.cs:313-321 | src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/TenPayV3.cs:415-422 | src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/TenPayV3.cs:431-440 | src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/TenPayV3.cs:450-458 | src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/TenPayV3.cs:466-476 | src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/TenPayV3.cs:650-658 | src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/TenPayV3.cs:668-677 | src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/TenPayV3.cs:764-772 | src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/TenPayV3.cs:780-790 | src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/TenPayV3.cs:800-808 | src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/TenPayV3.cs:817-830 | src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/TenPayV3.cs:839-847 | src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/TenPayV3.cs:855-864 | src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/TenPayV3.cs:874-882 | src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/TenPayV3.cs:1040-1050 | src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/TenPayV3.cs:1086-1094 | src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/TenPayV3.cs:1181-1189 | src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/TenPayV3.cs:1199-1208 | src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/TenPayV3.cs:1217-1225 | src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/TenPayV3.cs:1235-1244 | src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/TenPayV3.cs:1254-1261 | src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/TenPayV3.cs:1271-1280 | src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/TenPayV3.cs:1337-1345 | src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/TenPayV3.cs:1353-1362 | src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/TenPayV3.cs:1371-1379 | src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/TenPayV3.cs:1387-1395 | src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/TenPayV3.cs:1404-1412 | src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/TenPayV3.cs:1420-1429 | src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/TenPayV3.cs:1439-1447 | src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/TenPayV3.cs:1605-1614 \u2014 These 30 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 30 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 30 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/TenPayV3.cs"},"region":{"startLine":313}}}],"partialFingerprints":{"codehealthFindingId/v1":"969afcad51e3d07070f73fa2cb8de9fead7298cf4f7770505e821e70c3712ad2"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (14 members, 50\u002B identical tokens): src/Senparc.Weixin.Work/Senparc.Weixin.Work/AdvancedAPIs/Mass/MassApi.cs:124-149 | src/Senparc.Weixin.Work/Senparc.Weixin.Work/AdvancedAPIs/Mass/MassApi.cs:170-195 | src/Senparc.Weixin.Work/Senparc.Weixin.Work/AdvancedAPIs/Mass/MassApi.cs:216-241 | src/Senparc.Weixin.Work/Senparc.Weixin.Work/AdvancedAPIs/Mass/MassApi.cs:265-292 | src/Senparc.Weixin.Work/Senparc.Weixin.Work/AdvancedAPIs/Mass/MassApi.cs:313-338 | src/Senparc.Weixin.Work/Senparc.Weixin.Work/AdvancedAPIs/Mass/MassApi.cs:359-401 | src/Senparc.Weixin.Work/Senparc.Weixin.Work/AdvancedAPIs/Mass/MassApi.cs:423-457 | src/Senparc.Weixin.Work/Senparc.Weixin.Work/AdvancedAPIs/Mass/MassApi.cs:683-719 | src/Senparc.Weixin.Work/Senparc.Weixin.Work/AdvancedAPIs/Mass/MassApi.cs:739-764 | src/Senparc.Weixin.Work/Senparc.Weixin.Work/AdvancedAPIs/Mass/MassApi.cs:785-810 | src/Senparc.Weixin.Work/Senparc.Weixin.Work/AdvancedAPIs/Mass/MassApi.cs:834-861 | src/Senparc.Weixin.Work/Senparc.Weixin.Work/AdvancedAPIs/Mass/MassApi.cs:882-907 | src/Senparc.Weixin.Work/Senparc.Weixin.Work/AdvancedAPIs/Mass/MassApi.cs:928-969 | src/Senparc.Weixin.Work/Senparc.Weixin.Work/AdvancedAPIs/Mass/MassApi.cs:990-1021 \u2014 These 14 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 14 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 14 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.Work/Senparc.Weixin.Work/AdvancedAPIs/Mass/MassApi.cs"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"7348d4cec19950dca7e349d10db4d7e9a364c57e5e565fc83811a34546c935d5"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (13 members, 50\u002B identical tokens): src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V2/CheckRequestHandler.cs:63-91 | src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V2/ClientRequestHandler.cs:151-174 | src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V2/ClientResponseHandler.cs:144-166 | src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V2/ClientResponseHandler.cs:198-217 | src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V2/RefundResponseHandler.cs:152-174 | src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V2/RefundResponseHandler.cs:225-244 | src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V2/RequestHandler.cs:180-203 | src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V2/RequestHandler.cs:211-229 | src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V2/RequestHandler.cs:237-263 | src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V2/ResponseHandler.cs:251-272 | src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/RequestHandler.cs:200-258 | src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/RequestHandler.cs:270-299 | src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/ResponseHandler.cs:277-298 \u2014 These 13 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 13 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 13 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V2/CheckRequestHandler.cs"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2cb9a0eb5c0774814846e0b83a62c7c0043409351844240a5fbf772bdc900e9"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (12 members, 50\u002B identical tokens): src/Senparc.Weixin.MP/Senparc.Weixin.MP/AdvancedAPIs/Custom/CustomApi.cs:159-196 | src/Senparc.Weixin.MP/Senparc.Weixin.MP/AdvancedAPIs/Custom/CustomApi.cs:208-246 | src/Senparc.Weixin.MP/Senparc.Weixin.MP/AdvancedAPIs/Custom/CustomApi.cs:261-303 | src/Senparc.Weixin.MP/Senparc.Weixin.MP/AdvancedAPIs/Custom/CustomApi.cs:319-364 | src/Senparc.Weixin.MP/Senparc.Weixin.MP/AdvancedAPIs/Custom/CustomApi.cs:376-424 | src/Senparc.Weixin.MP/Senparc.Weixin.MP/AdvancedAPIs/Custom/CustomApi.cs:437-473 | src/Senparc.Weixin.MP/Senparc.Weixin.MP/AdvancedAPIs/Custom/CustomApi.cs:698-734 | src/Senparc.Weixin.MP/Senparc.Weixin.MP/AdvancedAPIs/Custom/CustomApi.cs:746-782 | src/Senparc.Weixin.MP/Senparc.Weixin.MP/AdvancedAPIs/Custom/CustomApi.cs:797-838 | src/Senparc.Weixin.MP/Senparc.Weixin.MP/AdvancedAPIs/Custom/CustomApi.cs:854-900 | src/Senparc.Weixin.MP/Senparc.Weixin.MP/AdvancedAPIs/Custom/CustomApi.cs:912-962 | src/Senparc.Weixin.MP/Senparc.Weixin.MP/AdvancedAPIs/Custom/CustomApi.cs:976-1012 \u2014 These 12 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 12 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 12 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.MP/Senparc.Weixin.MP/AdvancedAPIs/Custom/CustomApi.cs"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ca21dadd7c58d0838f866a594f60676b4dca0035e5a6935a8a9169eec25a5ba"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (6 members, 50\u002B identical tokens): src/Senparc.Weixin.Work/Senparc.Weixin.Work/AdvancedAPIs/Mass/LinkerCorp/LinkerCorpApi.cs:218-226 | src/Senparc.Weixin.Work/Senparc.Weixin.Work/AdvancedAPIs/Mass/LinkerCorp/LinkerCorpApi.cs:236-245 | src/Senparc.Weixin.Work/Senparc.Weixin.Work/AdvancedAPIs/Mass/LinkerCorp/LinkerCorpApi.cs:255-264 | src/Senparc.Weixin.Work/Senparc.Weixin.Work/AdvancedAPIs/Mass/LinkerCorp/LinkerCorpApi.cs:274-283 | src/Senparc.Weixin.Work/Senparc.Weixin.Work/AdvancedAPIs/Mass/LinkerCorp/LinkerCorpApi.cs:293-302 | src/Senparc.Weixin.Work/Senparc.Weixin.Work/AdvancedAPIs/Mass/LinkerCorp/LinkerCorpApi.cs:312-321 \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":"src/Senparc.Weixin.Work/Senparc.Weixin.Work/AdvancedAPIs/Mass/LinkerCorp/LinkerCorpApi.cs"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b2d32e612e406af7eccca45996b38932c94bd77e904026f812a7b7520372853"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (6 members, 50\u002B identical tokens): src/Senparc.Weixin.Open/Senparc.Weixin.Open/WxaAPIs/Domain/DomainApi.cs:69-96 | src/Senparc.Weixin.Open/Senparc.Weixin.Open/WxaAPIs/Domain/DomainApi.cs:156-183 | src/Senparc.Weixin.Open/Senparc.Weixin.Open/WxaAPIs/Domain/DomainApi.cs:319-346 | src/Senparc.Weixin.Open/Senparc.Weixin.Open/WxaAPIs/Domain/DomainApi.cs:406-433 | src/Senparc.Weixin.Open/Senparc.Weixin.Open/WxaAPIs/ModifyDomain/ModifyDomainApi.cs:71-96 | src/Senparc.Weixin.Open/Senparc.Weixin.Open/WxaAPIs/ModifyDomain/ModifyDomainApi.cs:122-147 \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":"src/Senparc.Weixin.Open/Senparc.Weixin.Open/WxaAPIs/Domain/DomainApi.cs"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"74ee5d1e2ac090efa960847f2cc1e84010a3dc04c650874dca9effeaea67b347"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (6 members, 50\u002B identical tokens): src/Senparc.Weixin.Open/Senparc.Weixin.Open/WxaAPIs/Domain/DomainApi.cs:110-132 | src/Senparc.Weixin.Open/Senparc.Weixin.Open/WxaAPIs/Domain/DomainApi.cs:211-233 | src/Senparc.Weixin.Open/Senparc.Weixin.Open/WxaAPIs/Domain/DomainApi.cs:360-382 | src/Senparc.Weixin.Open/Senparc.Weixin.Open/WxaAPIs/Domain/DomainApi.cs:461-483 | src/Senparc.Weixin.Open/Senparc.Weixin.Open/WxaAPIs/SetWebViewDomain/SetWebViewDomainApi.cs:59-81 | src/Senparc.Weixin.Open/Senparc.Weixin.Open/WxaAPIs/SetWebViewDomain/SetWebViewDomainApi.cs:100-122 \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":"src/Senparc.Weixin.Open/Senparc.Weixin.Open/WxaAPIs/Domain/DomainApi.cs"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"eeddff1c0e5c033542122faf6643f45a6c98e175380272e4112cb037b91f8f58"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (6 members, 50\u002B identical tokens): src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/Entities/Request/TenPayV3UnifiedorderRequestData.cs:335-407 | src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/Entities/Request/TenpayV3ProfitShareingRequestData.cs:156-200 | src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/Entities/Request/TenpayV3ProfitShareingRequestData.cs:303-341 | src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/Entities/Request/TenpayV3ProfitShareingRequestData.cs:440-476 | src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/Entities/Request/TenpayV3ProfitShareingRequestData.cs:550-585 | src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/Entities/Request/TenpayV3ProfitShareingRequestData.cs:671-710 \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":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/Entities/Request/TenPayV3UnifiedorderRequestData.cs"},"region":{"startLine":335}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8d4cc7e1614c12f1d2df7af2b8760c5b709dd150587f67ba4d751a4d6e7b520"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (6 members, 50\u002B identical tokens): src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/TenPayV3.cs:290-302 | src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/TenPayV3.cs:331-342 | src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/TenPayV3.cs:581-592 | src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/TenPayV3.cs:605-616 | src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/TenPayV3.cs:630-641 | src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/TenPayV3.cs:1063-1075 \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":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/TenPayV3.cs"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c85d08b6855b8fb9327e96bf310be89a3e2bb91db45caea662600156cddbbe9"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/RedPackApi/RedPackApi.Via.cs:99-260 | src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/RedPackApi/RedPackApi.cs:175-331 | src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/RedPackApi/RedPackApi.cs:369-531 | src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/RedPackApi/RedPackApi.cs:719-857 | src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/RedPackApi/ShakeRedPackApi.cs:142-265 \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":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/RedPackApi/RedPackApi.Via.cs"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"608cf006b792102ddab606ede88649c70a289a41fcbdfc2b6f0b1ad3db452974"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/PayScore/Entities/NotifyJson/ConfirmServiceOrderNotifyJson.cs:69-87 | src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/PayScore/Entities/NotifyJson/PayServiceOrderNotifyJson.cs:71-91 | src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/PayScore/Entities/ReturnJson/ModifyServiceOrderReturnJson.cs:69-88 | src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/PayScore/Entities/ReturnJson/QueryServiceOrderReturnJson.cs:70-90 | src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/PayScore/Entities/ReturnJson/SyncPayServiceOrderReturnJson.cs:70-90 \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":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/PayScore/Entities/NotifyJson/ConfirmServiceOrderNotifyJson.cs"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"c277641aec1413726159573aff12fbde11de0f53e576fac665dfb27c443e907f"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): src/Senparc.Weixin.MP/Senparc.Weixin.MP/AdvancedAPIs/Comment/CommentApi.cs:179-193 | src/Senparc.Weixin.MP/Senparc.Weixin.MP/AdvancedAPIs/Comment/CommentApi.cs:206-220 | src/Senparc.Weixin.MP/Senparc.Weixin.MP/AdvancedAPIs/Comment/CommentApi.cs:232-246 | src/Senparc.Weixin.MP/Senparc.Weixin.MP/AdvancedAPIs/Comment/CommentApi.cs:287-301 \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":"src/Senparc.Weixin.MP/Senparc.Weixin.MP/AdvancedAPIs/Comment/CommentApi.cs"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"933f13b92abc3abbe03c2d77201dd9119b1e36e03fc4fe3410a8dfd17fdfd7b8"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): src/Senparc.Weixin.MP/Senparc.Weixin.MP/AdvancedAPIs/Comment/CommentApi.cs:415-429 | src/Senparc.Weixin.MP/Senparc.Weixin.MP/AdvancedAPIs/Comment/CommentApi.cs:442-456 | src/Senparc.Weixin.MP/Senparc.Weixin.MP/AdvancedAPIs/Comment/CommentApi.cs:468-482 | src/Senparc.Weixin.MP/Senparc.Weixin.MP/AdvancedAPIs/Comment/CommentApi.cs:523-537 \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":"src/Senparc.Weixin.MP/Senparc.Weixin.MP/AdvancedAPIs/Comment/CommentApi.cs"},"region":{"startLine":415}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b02d68040d0aa3cf12e79c53b63c3545cc41f54faff5fcf7e2f42f3cb5a02ad"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): src/Senparc.Weixin.MP/Senparc.Weixin.MP/AdvancedAPIs/NonTaxPay/NonTaxPayApi.cs:402-415 | src/Senparc.Weixin.MP/Senparc.Weixin.MP/AdvancedAPIs/NonTaxPay/NonTaxPayApi.cs:418-431 | src/Senparc.Weixin.WxOpen/src/Senparc.Weixin.WxOpen/Senparc.Weixin.WxOpen/AdvancedAPIs/Delivery/DeliveryProviderApi.cs:393-406 | src/Senparc.Weixin.WxOpen/src/Senparc.Weixin.WxOpen/Senparc.Weixin.WxOpen/AdvancedAPIs/Delivery/DeliveryProviderApi.cs:409-422 \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":"src/Senparc.Weixin.MP/Senparc.Weixin.MP/AdvancedAPIs/NonTaxPay/NonTaxPayApi.cs"},"region":{"startLine":402}}}],"partialFingerprints":{"codehealthFindingId/v1":"f09885266af312fdf75cb8bb873c30fdbd8be745efc3037362153ae28833abaa"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): src/Senparc.Weixin.MP/Senparc.Weixin.MP/Containers/JsApiTicketContainer.cs:214-240 | src/Senparc.Weixin.MP/Senparc.Weixin.MP/Containers/OAuthAccessTokenContainer.cs:153-179 | src/Senparc.Weixin.MP/Senparc.Weixin.MP/Containers/WxCardApiTicketContainer.cs:187-213 | src/Senparc.Weixin.Open/Senparc.Weixin.Open/Containers/ComponentContainer.cs:486-517 \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":"src/Senparc.Weixin.MP/Senparc.Weixin.MP/Containers/JsApiTicketContainer.cs"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e7127fbd589fa64d4156a54d38c1dfa0b0ccf02e0c273c82f931bc2e7e336dc"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): src/Senparc.Weixin.WxOpen/src/Senparc.Weixin.WxOpen/Senparc.Weixin.WxOpen/AdvancedAPIs/Delivery/DeliveryProviderApi.cs:384-390 | src/Senparc.Weixin.WxOpen/src/Senparc.Weixin.WxOpen/Senparc.Weixin.WxOpen/AdvancedAPIs/ImmediateDelivery/ImmediateDeliveryApi.cs:434-441 | src/Senparc.Weixin.WxOpen/src/Senparc.Weixin.WxOpen/Senparc.Weixin.WxOpen/AdvancedAPIs/WeixinExpress/WeixinExpressApi.cs:262-269 | src/Senparc.Weixin.WxOpen/src/Senparc.Weixin.WxOpen/Senparc.Weixin.WxOpen/AdvancedAPIs/WeixinExpress/WeixinExpressProviderApi.cs:118-125 \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":"src/Senparc.Weixin.WxOpen/src/Senparc.Weixin.WxOpen/Senparc.Weixin.WxOpen/AdvancedAPIs/Delivery/DeliveryProviderApi.cs"},"region":{"startLine":384}}}],"partialFingerprints":{"codehealthFindingId/v1":"f169ed4b6e6037c7fcbd1e5cae57fac49361a384427125db14b21105b545e48e"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): src/Senparc.Weixin.WxOpen/src/Senparc.Weixin.WxOpen/Senparc.Weixin.WxOpen/AdvancedAPIs/WxApp/WxAppApi.cs:120-141 | src/Senparc.Weixin.WxOpen/src/Senparc.Weixin.WxOpen/Senparc.Weixin.WxOpen/AdvancedAPIs/WxApp/WxAppApi.cs:191-221 | src/Senparc.Weixin.WxOpen/src/Senparc.Weixin.WxOpen/Senparc.Weixin.WxOpen/AdvancedAPIs/WxApp/WxAppApi.cs:1023-1053 | src/Senparc.Weixin.WxOpen/src/Senparc.Weixin.WxOpen/Senparc.Weixin.WxOpen/AdvancedAPIs/WxApp/WxAppApi.cs:1103-1124 \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":"src/Senparc.Weixin.WxOpen/src/Senparc.Weixin.WxOpen/Senparc.Weixin.WxOpen/AdvancedAPIs/WxApp/WxAppApi.cs"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"5785ddede8d6e8343a8818d017901bea1bccae0ac9005b31462639ea01cd4ca0"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/Entities/Request/TenPayV3CloseOrderRequestData.cs:102-126 | src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/Entities/Request/TenPayV3CloseOrderRequestData.cs:139-166 | src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/Entities/Request/TenPayV3RefundRequestData.cs:162-207 | src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/Entities/Request/TenPayV3RefundRequestData.cs:233-281 \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":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/Entities/Request/TenPayV3CloseOrderRequestData.cs"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6a5df7ac5372e2f527e7d99b6fa95e453f50dbb91e0f65a9464353189c73153"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/TenPayV3.cs:893-903 | src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/TenPayV3.cs:966-976 | src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/TenPayV3.cs:1458-1468 | src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/TenPayV3.cs:1532-1542 \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":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/TenPayV3.cs"},"region":{"startLine":893}}}],"partialFingerprints":{"codehealthFindingId/v1":"06d8a30d4bc5be7c4c509f3a6c68d12fbea2d565c87fbe25d8e3451fa838bc24"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/Profitsharing/Entities/ReturnJson/QueryReturnProfitsharingReturnJson.cs:69-81 | src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/Profitsharing/Entities/ReturnJson/QueryReturnProfitsharingReturnJson.cs:99-112 | src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/Profitsharing/Entities/ReturnJson/ReturnProfitsharingReturnJson.cs:69-81 | src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/Profitsharing/Entities/ReturnJson/ReturnProfitsharingReturnJson.cs:99-112 \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":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/Profitsharing/Entities/ReturnJson/QueryReturnProfitsharingReturnJson.cs"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cc74f64766925aad4edc427362cd5b9600a1d9432f9a7e36230dd8a85fa56fb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (131 lines \u00D7 2): src/Senparc.Weixin.MP/Senparc.Weixin.MP/AdvancedAPIs/Card/CardAPI.cs:125-255 | src/Senparc.Weixin.MP/Senparc.Weixin.MP/AdvancedAPIs/Card/CardAPI.cs:2363-2493 \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 \u0060src/Senparc.Weixin.MP/Senparc.Weixin.MP/AdvancedAPIs/Card/CardAPI.cs:125\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.MP/Senparc.Weixin.MP/AdvancedAPIs/Card/CardAPI.cs"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f5d59e0d3ad52424a22c91aeaa106f3fc0b245ed8a0ab65f21b40664f55c005"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (126 lines \u00D7 2): src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/VehicleParking/Entities/ReturnJson/PayParkingReturnJson.cs:91-216 | src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/VehicleParking/Entities/ReturnJson/QueryParkingReturnJson.cs:91-216 \u2014 before extracting anything, compare \u0060src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/VehicleParking/Entities/ReturnJson/PayParkingReturnJson.cs\u0060 and \u0060src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/VehicleParking/Entities/ReturnJson/QueryParkingReturnJson.cs\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 307 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":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/VehicleParking/Entities/ReturnJson/PayParkingReturnJson.cs"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"e237548f2009fe83a6fa1fe25688135aa48bd6838aaf0aac2cb7297c3704f367"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (115 lines \u00D7 2): src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/Marketing/Entities/ReturnJson/QueryBusifavorCouponReturnJson.cs:89-203 | src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/Marketing/Entities/ReturnJson/QueryBusifavorCouponsReturnJson.cs:151-265 \u2014 before extracting anything, compare \u0060src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/Marketing/Entities/ReturnJson/QueryBusifavorCouponReturnJson.cs\u0060 and \u0060src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/Marketing/Entities/ReturnJson/QueryBusifavorCouponsReturnJson.cs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 228 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":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/Marketing/Entities/ReturnJson/QueryBusifavorCouponReturnJson.cs"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"832dd0da1a87d22fb08088b6eadfe2b61669629129eeb71b9ce54ea716c5d330"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (107\u2013108 lines \u00D7 2): src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/PayScore/Entities/NotifyJson/ConfirmServiceOrderNotifyJson.cs:92-199 | src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/PayScore/Entities/NotifyJson/PayServiceOrderNotifyJson.cs:96-202 \u2014 before extracting anything, compare \u0060src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/PayScore/Entities/NotifyJson/ConfirmServiceOrderNotifyJson.cs\u0060 and \u0060src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/PayScore/Entities/NotifyJson/PayServiceOrderNotifyJson.cs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 177 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":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/PayScore/Entities/NotifyJson/ConfirmServiceOrderNotifyJson.cs"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e9ef76e57a85f93e4cdb55f26dcf95feb33f9cf4c420205bbccde61ee6f41e2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (106 lines \u00D7 2): src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/BrandMemberCard/BrandMemberCardModels.cs:34-139 | src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/BrandMemberCard/BrandMemberCardModels.cs:362-467 \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":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/BrandMemberCard/BrandMemberCardModels.cs"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"db6e6eefebd302dbaca00e236ecee93fe8e781476843655cc79f418d569641c9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (100 lines \u00D7 2): src/Senparc.Weixin.MP/Senparc.Weixin.MP/AdvancedAPIs/GroupMessage/GroupMessageApi.cs:114-213 | src/Senparc.Weixin.MP/Senparc.Weixin.MP/AdvancedAPIs/GroupMessage/GroupMessageApi.cs:670-769 \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 \u0060src/Senparc.Weixin.MP/Senparc.Weixin.MP/AdvancedAPIs/GroupMessage/GroupMessageApi.cs: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. 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":"src/Senparc.Weixin.MP/Senparc.Weixin.MP/AdvancedAPIs/GroupMessage/GroupMessageApi.cs"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"20e9fcdca7287551dd1d31aba357cfaa8f3a9ce8ff3cb07ad5582eafd918422d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (98 lines \u00D7 2): src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/Marketing/Entities/ReturnJson/PayBusifavorReceiptsReturnJson.cs:82-179 | src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/Marketing/Entities/ReturnJson/QueryBusifavorPayReceiptsReturnJson.cs:82-179 \u2014 before extracting anything, compare \u0060src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/Marketing/Entities/ReturnJson/PayBusifavorReceiptsReturnJson.cs\u0060 and \u0060src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/Marketing/Entities/ReturnJson/QueryBusifavorPayReceiptsReturnJson.cs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 173 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":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/Marketing/Entities/ReturnJson/PayBusifavorReceiptsReturnJson.cs"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"a788259e00dd4bd9e3486eae0e9a1e8f2010cf03e1269b265bd7b244ed50499b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (58\u201396 lines \u00D7 2): src/Senparc.Weixin.Work/Senparc.Weixin.Work/AdvancedAPIs/Meeting/MeetingJson.cs:77-172 | src/Senparc.Weixin.Work/Senparc.Weixin.Work/AdvancedAPIs/Meeting/MeetingManagementJson.cs:143-200 \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":"src/Senparc.Weixin.Work/Senparc.Weixin.Work/AdvancedAPIs/Meeting/MeetingJson.cs"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"12d4a92b370ea64c88e7cd7ef4f0acaca7282fc2a4dcf768a21b60c6f8f0f9e2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (94 lines \u00D7 2): src/Senparc.Weixin.MP/Senparc.Weixin.MP/AdvancedAPIs/Invoice/InvoiceJson/MakeOutInvoiceData.cs:19-112 | src/Senparc.Weixin.Work/Senparc.Weixin.Work/AdvancedAPIs/Invoice/InvoiceJson/MakeOutInvoiceData.cs:18-111 \u2014 before extracting anything, compare \u0060src/Senparc.Weixin.MP/Senparc.Weixin.MP/AdvancedAPIs/Invoice/InvoiceJson/MakeOutInvoiceData.cs\u0060 and \u0060src/Senparc.Weixin.Work/Senparc.Weixin.Work/AdvancedAPIs/Invoice/InvoiceJson/MakeOutInvoiceData.cs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 146 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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 \u0060src/Senparc.Weixin.MP/Senparc.Weixin.MP/AdvancedAPIs/Invoice/InvoiceJson/MakeOutInvoiceData.cs:19\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":"src/Senparc.Weixin.MP/Senparc.Weixin.MP/AdvancedAPIs/Invoice/InvoiceJson/MakeOutInvoiceData.cs"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"72e563eda83581630cc729302475d354a3babf12701a8484df2aba1f5de5dfa7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (83 lines \u00D7 3): src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/Marketing/Entities/RequestData/CreateUniqueThresholdActivityRequestData.cs:123-205 | src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/Marketing/Entities/ReturnJson/QueryPaygiftActivitiesReturnJson.cs:251-333 | src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/Marketing/Entities/ReturnJson/QueryPaygiftActivityReturnJson.cs:210-292 \u2014 before extracting anything, compare \u0060src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/Marketing/Entities/RequestData/CreateUniqueThresholdActivityRequestData.cs\u0060 and \u0060src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/Marketing/Entities/ReturnJson/QueryPaygiftActivityReturnJson.cs\u0060 as WHOLE FILES: 84% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/Marketing/Entities/RequestData/CreateUniqueThresholdActivityRequestData.cs"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"ceed7dde1743a267081adbea593cf12c6e817d9e2ce78f96d7deffcb15cc1e9e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (30\u201382 lines \u00D7 2): src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/BasePay/Entities/ReturnJson/OrderReturnJson.cs:46-127 | src/Senparc.Weixin.Work/Senparc.Weixin.Work/AdvancedAPIs/MiniProgramPay/MiniProgramPayJson.cs:519-548 \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 \u0060src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/BasePay/Entities/ReturnJson/OrderReturnJson.cs:46\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":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/BasePay/Entities/ReturnJson/OrderReturnJson.cs"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"eafe7922457a33c00789528cc8cec3960eec216269cd1bf5f12e4223747fa17a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (81 lines \u00D7 2): src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/VehicleParking/Entities/ReturnJson/PayParkingReturnJson.cs:429-509 | src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/VehicleParking/Entities/ReturnJson/QueryParkingReturnJson.cs:439-519 \u2014 before extracting anything, compare \u0060src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/VehicleParking/Entities/ReturnJson/PayParkingReturnJson.cs\u0060 and \u0060src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/VehicleParking/Entities/ReturnJson/QueryParkingReturnJson.cs\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 307 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":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/VehicleParking/Entities/ReturnJson/PayParkingReturnJson.cs"},"region":{"startLine":429}}}],"partialFingerprints":{"codehealthFindingId/v1":"d097cc8c01889259308030798df96222ad33d1ec9df7c2576f5376f453e8ea12"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (80 lines \u00D7 2): src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/Profitsharing/Entities/ReturnJson/QueryReturnProfitsharingReturnJson.cs:119-198 | src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/Profitsharing/Entities/ReturnJson/ReturnProfitsharingReturnJson.cs:119-198 \u2014 before extracting anything, compare \u0060src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/Profitsharing/Entities/ReturnJson/QueryReturnProfitsharingReturnJson.cs\u0060 and \u0060src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/Profitsharing/Entities/ReturnJson/ReturnProfitsharingReturnJson.cs\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 170 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":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/Profitsharing/Entities/ReturnJson/QueryReturnProfitsharingReturnJson.cs"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"d025d20195063b85cac96a88b7a04edaabe4274b151095bd4f872e9ca3623028"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (74\u201375 lines \u00D7 2): src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/PayScore/Entities/ReturnJson/ModifyServiceOrderReturnJson.cs:93-166 | src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/PayScore/Entities/ReturnJson/QueryServiceOrderReturnJson.cs:95-169 \u2014 before extracting anything, compare \u0060src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/PayScore/Entities/ReturnJson/ModifyServiceOrderReturnJson.cs\u0060 and \u0060src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/PayScore/Entities/ReturnJson/QueryServiceOrderReturnJson.cs\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 297 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":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/PayScore/Entities/ReturnJson/ModifyServiceOrderReturnJson.cs"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6c2152a9e3afbb3ff72c99b60ba3b72c562f4f3aa6dff97d5bfb7a7619f46c1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (73 lines \u00D7 2): src/Senparc.Weixin.MP/Senparc.Weixin.MP/AdvancedAPIs/GroupMessage/GroupMessageApi.cs:437-509 | src/Senparc.Weixin.MP/Senparc.Weixin.MP/AdvancedAPIs/GroupMessage/GroupMessageApi.cs:995-1067 \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 \u0060src/Senparc.Weixin.MP/Senparc.Weixin.MP/AdvancedAPIs/GroupMessage/GroupMessageApi.cs:437\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":"src/Senparc.Weixin.MP/Senparc.Weixin.MP/AdvancedAPIs/GroupMessage/GroupMessageApi.cs"},"region":{"startLine":437}}}],"partialFingerprints":{"codehealthFindingId/v1":"07678f114fc4abd78caf0022f98e0a675f093258517731b57fc9fa6c69813c95"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (68\u201373 lines \u00D7 2): src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/Marketing/Entities/ReturnJson/QueryPaygiftActivitiesReturnJson.cs:133-205 | src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/Marketing/Entities/ReturnJson/QueryPaygiftActivityReturnJson.cs:81-148 \u2014 before extracting anything, compare \u0060src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/Marketing/Entities/ReturnJson/QueryPaygiftActivitiesReturnJson.cs\u0060 and \u0060src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/Marketing/Entities/ReturnJson/QueryPaygiftActivityReturnJson.cs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 169 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":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/Marketing/Entities/ReturnJson/QueryPaygiftActivitiesReturnJson.cs"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cedb07b845342fd1f5e7c00bf763a75c0b718f7e2a5d26e41ca0606aff3ecc8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (73 lines \u00D7 2): src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/MedicalInsurance/MedicalInsuranceModels.cs:99-171 | src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/MedicalInsurance/MedicalInsuranceModels.cs:219-291 \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":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/MedicalInsurance/MedicalInsuranceModels.cs"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ab05a117bff85af9179108e49ce0de8b6cd84c86150f78a4a038ef08b11d598"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (62\u201372 lines \u00D7 2): src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/BasePay/Entities/ReturnJson/CombineOrderReturnJson.cs:108-179 | src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/Ecommerce/Entities/ReturnJson/EcommerceReturnJson.cs:249-310 \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 \u0060src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/BasePay/Entities/ReturnJson/CombineOrderReturnJson.cs:108\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":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/BasePay/Entities/ReturnJson/CombineOrderReturnJson.cs"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc5875140b52a150e1798aa4f4718a4a2e3b504ec3d28f7f2aa186eaf6f3815d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (71 lines \u00D7 2): src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/BasePay/Entities/ReturnJson/CombineOrderReturnJson.cs:204-274 | src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/BasePay/Entities/ReturnJson/OrderReturnJson.cs:231-301 \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 \u0060src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/BasePay/Entities/ReturnJson/CombineOrderReturnJson.cs:204\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":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/BasePay/Entities/ReturnJson/CombineOrderReturnJson.cs"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"21f6fde81d765695dbe075e35474dd527fd490dc9ae9fa03af6cb418cfbc3ef7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (63\u201369 lines \u00D7 4): src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/PayScore/Entities/ReturnJson/CompleteServiceOrderReturnJson.cs:122-184 | src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/PayScore/Entities/ReturnJson/ModifyServiceOrderReturnJson.cs:130-194 | src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/PayScore/Entities/ReturnJson/QueryServiceOrderReturnJson.cs:132-198 | src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/PayScore/Entities/ReturnJson/SyncPayServiceOrderReturnJson.cs:139-207 \u2014 before extracting anything, compare \u0060src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/PayScore/Entities/ReturnJson/ModifyServiceOrderReturnJson.cs\u0060 and \u0060src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/PayScore/Entities/ReturnJson/QueryServiceOrderReturnJson.cs\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 297 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":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/PayScore/Entities/ReturnJson/CompleteServiceOrderReturnJson.cs"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b1f9577acacd97fcce73e542dc90efd05a33cabd528ac09b1701c210159f985"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (67 lines \u00D7 2): src/Senparc.Weixin.MP/Senparc.Weixin.MP/AdvancedAPIs/QrCode/QrCodeApi.cs:93-159 | src/Senparc.Weixin.MP/Senparc.Weixin.MP/AdvancedAPIs/QrCode/QrCodeApi.cs:232-298 \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 \u0060src/Senparc.Weixin.MP/Senparc.Weixin.MP/AdvancedAPIs/QrCode/QrCodeApi.cs:93\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":"src/Senparc.Weixin.MP/Senparc.Weixin.MP/AdvancedAPIs/QrCode/QrCodeApi.cs"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"7470fefdb18c70a2ccc3671e760c3de8a824fa2bf0291e1b0cb46ca9bc9d4da5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (66 lines \u00D7 2): src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/Profitsharing/Entities/ReturnJson/CreateProfitsharingReturnJson.cs:195-260 | src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/Profitsharing/Entities/ReturnJson/UnfreezeProfitsharingReturnJson.cs:140-205 \u2014 before extracting anything, compare \u0060src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/Profitsharing/Entities/ReturnJson/CreateProfitsharingReturnJson.cs\u0060 and \u0060src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/Profitsharing/Entities/ReturnJson/UnfreezeProfitsharingReturnJson.cs\u0060 as WHOLE FILES: this scan already matched 3 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/Profitsharing/Entities/ReturnJson/CreateProfitsharingReturnJson.cs"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"37528c2c9ecdda5ed6b0a816841556f674371d64ed0fe43548667b2ffa649dbe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (56\u201364 lines \u00D7 2): src/Senparc.Weixin.MP/Senparc.Weixin.MP/AdvancedAPIs/Card/CardCreate/CardCreateData.cs:202-257 | src/Senparc.Weixin.MP/Senparc.Weixin.MP/AdvancedAPIs/Card/CardManage/CardUpdateData.cs:84-147 \u2014 before extracting anything, compare \u0060src/Senparc.Weixin.MP/Senparc.Weixin.MP/AdvancedAPIs/Card/CardCreate/CardCreateData.cs\u0060 and \u0060src/Senparc.Weixin.MP/Senparc.Weixin.MP/AdvancedAPIs/Card/CardManage/CardUpdateData.cs\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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.MP/Senparc.Weixin.MP/AdvancedAPIs/Card/CardCreate/CardCreateData.cs"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"df2c92d6d28a6cb8e8607f41b5c9294441db89578b050d30a1775ec180879651"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (63 lines \u00D7 3): src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/Marketing/Entities/NotifyJson/StockNotifyJson.cs:70-132 | src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/Marketing/Entities/ReturnJson/QueryCouponReturnJson.cs:64-126 | src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/Marketing/Entities/ReturnJson/QueryCouponsReturnJson.cs:91-153 \u2014 before extracting anything, compare \u0060src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/Marketing/Entities/ReturnJson/QueryCouponReturnJson.cs\u0060 and \u0060src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/Marketing/Entities/ReturnJson/QueryCouponsReturnJson.cs\u0060 as WHOLE FILES: 95% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/Marketing/Entities/NotifyJson/StockNotifyJson.cs"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a878fc1aba34ec9769e61c7cfaeb705caa64ceff30dd4a13a354f250f9a27c6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (57\u201360 lines \u00D7 5): src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/PayScore/Entities/NotifyJson/PayServiceOrderNotifyJson.cs:168-225 | src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/PayScore/Entities/ReturnJson/CreateServiceOrderReturnJson.cs:149-205 | src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/PayScore/Entities/ReturnJson/ModifyServiceOrderReturnJson.cs:159-218 | src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/PayScore/Entities/ReturnJson/QueryServiceOrderReturnJson.cs:162-219 | src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/PayScore/Entities/ReturnJson/SyncPayServiceOrderReturnJson.cs:171-230 \u2014 before extracting anything, compare \u0060src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/PayScore/Entities/NotifyJson/PayServiceOrderNotifyJson.cs\u0060 and \u0060src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/PayScore/Entities/ReturnJson/ModifyServiceOrderReturnJson.cs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 123 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/PayScore/Entities/NotifyJson/PayServiceOrderNotifyJson.cs"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3b3440a4e1e9dc88296bd3b7138798ae9ca6262a4cbaed28987728e88cc42a4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (58\u201360 lines \u00D7 3): src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/Marketing/Entities/RequestData/PayBusifavorReceiptsRequestData.cs:76-135 | src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/Marketing/Entities/ReturnJson/PayBusifavorReceiptsReturnJson.cs:91-148 | src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/Marketing/Entities/ReturnJson/QueryBusifavorPayReceiptsReturnJson.cs:91-148 \u2014 before extracting anything, compare \u0060src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/Marketing/Entities/ReturnJson/PayBusifavorReceiptsReturnJson.cs\u0060 and \u0060src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/Marketing/Entities/ReturnJson/QueryBusifavorPayReceiptsReturnJson.cs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 173 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 \u0060src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/Marketing/Entities/RequestData/PayBusifavorReceiptsRequestData.cs:76\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":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/Marketing/Entities/RequestData/PayBusifavorReceiptsRequestData.cs"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"e974cb68baf05d3a8451f8ae224d6b76e1dd06922c43222590fda93bc2c3fd34"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (59 lines \u00D7 4): src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/VehicleParking/Entities/NotifyJson/PayNotifyJson.cs:250-308 | src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/VehicleParking/Entities/RequestData/PayParkingRequestData.cs:239-297 | src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/VehicleParking/Entities/ReturnJson/PayParkingReturnJson.cs:248-306 | src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/VehicleParking/Entities/ReturnJson/QueryParkingReturnJson.cs:248-306 \u2014 before extracting anything, compare \u0060src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/VehicleParking/Entities/ReturnJson/PayParkingReturnJson.cs\u0060 and \u0060src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/VehicleParking/Entities/ReturnJson/QueryParkingReturnJson.cs\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 307 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":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/VehicleParking/Entities/NotifyJson/PayNotifyJson.cs"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea5908d7326cf57204ea89b39c755c63e468ed329e095918927205ffd912ef8c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25\u201359 lines \u00D7 3): src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/BasePay/Entities/NotifyJson/RefundNotifyJson.cs:52-110 | src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/Ecommerce/Entities/ReturnJson/EcommerceRefundReturnJson.cs:242-282 | src/Senparc.Weixin.Work/Senparc.Weixin.Work/AdvancedAPIs/MiniProgramPay/MiniProgramPayJson.cs:785-809 \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":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/BasePay/Entities/NotifyJson/RefundNotifyJson.cs"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"acec9bdab604ca68df12065e550bbbd8ef09c5c6ef269a4a4354e4439f70e054"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (58\u201359 lines \u00D7 2): src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/Marketing/Entities/RequestData/CreateBusifavorStockRequestData.cs:86-144 | src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/Marketing/Entities/ReturnJson/QueryBusifavorStockReturnJson.cs:89-146 \u2014 before extracting anything, compare \u0060src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/Marketing/Entities/RequestData/CreateBusifavorStockRequestData.cs\u0060 and \u0060src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/Marketing/Entities/ReturnJson/QueryBusifavorStockReturnJson.cs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 114 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/Marketing/Entities/RequestData/CreateBusifavorStockRequestData.cs"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"69413a97ade4b8b1e8c41ef58dc8b3ec170e9f5ab6ef813f43649f95fe1788f8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (54\u201356 lines \u00D7 2): src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/Entities/Request/TenpayV3ProfitShareingRequestData.cs:65-118 | src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/Entities/Request/TenpayV3ProfitShareingRequestData.cs:353-408 \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 \u0060src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/Entities/Request/TenpayV3ProfitShareingRequestData.cs: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. 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":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/Entities/Request/TenpayV3ProfitShareingRequestData.cs"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cafcc433e48531998af22fa4a166f7b23111bad2c6e68488e7cfca18950a7fb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (55 lines \u00D7 2): src/Senparc.Weixin.Work/Senparc.Weixin.Work/AdvancedAPIs/Meeting/MeetingWebinarJson.cs:69-123 | src/Senparc.Weixin.Work/Senparc.Weixin.Work/AdvancedAPIs/Meeting/MeetingWebinarJson.cs:173-227 \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":"src/Senparc.Weixin.Work/Senparc.Weixin.Work/AdvancedAPIs/Meeting/MeetingWebinarJson.cs"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"102f4b01d8134644e0adba135f2660079d07cb3a75faebccfbae5e00608d55e7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (51\u201355 lines \u00D7 2): src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/TenPayV3Info.cs:56-110 | src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/TenPayV3Info.cs:72-122 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. 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":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/TenPayV3Info.cs"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"e81afa73cc22b70c7debc5cb6585375b491f33536c17544e4741385c620f6311"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (54 lines \u00D7 2): src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/PayScore/Entities/ReturnJson/QueryPermissionByAuthorizationCodeReturnJson.cs:75-128 | src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/PayScore/Entities/ReturnJson/QueryPermissionByOpenidReturnJson.cs:73-128 \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":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/PayScore/Entities/ReturnJson/QueryPermissionByAuthorizationCodeReturnJson.cs"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"c51cd541ea89ff5c3fab014c8716e7771b3daafddd4f60bc7b21a78a12cfbcae"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (53 lines \u00D7 2): src/Senparc.Weixin.MP/Senparc.Weixin.MP/AdvancedAPIs/GroupMessage/GroupMessageApi.cs:285-337 | src/Senparc.Weixin.MP/Senparc.Weixin.MP/AdvancedAPIs/GroupMessage/GroupMessageApi.cs:843-895 \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 \u0060src/Senparc.Weixin.MP/Senparc.Weixin.MP/AdvancedAPIs/GroupMessage/GroupMessageApi.cs:285\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.MP/Senparc.Weixin.MP/AdvancedAPIs/GroupMessage/GroupMessageApi.cs"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"388e8b44f995b6f6c1ec41059db71eae6c4660484463250ac93d8e7d54ff200e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (53 lines \u00D7 2): src/Senparc.Weixin.Open/Senparc.Weixin.Open/ComponentAPIs/ComponentApi.cs:342-394 | src/Senparc.Weixin.Open/Senparc.Weixin.Open/ComponentAPIs/ComponentApi.cs:1038-1090 \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 \u0060src/Senparc.Weixin.Open/Senparc.Weixin.Open/ComponentAPIs/ComponentApi.cs:342\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. 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":"src/Senparc.Weixin.Open/Senparc.Weixin.Open/ComponentAPIs/ComponentApi.cs"},"region":{"startLine":342}}}],"partialFingerprints":{"codehealthFindingId/v1":"a991bd0c39a78fa6137ddee833df2754d4ee7a3523fb632489dc009d6b03636f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (52 lines \u00D7 3): src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/Profitsharing/Entities/ReturnJson/CreateProfitsharingReturnJson.cs:195-246 | src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/Profitsharing/Entities/ReturnJson/QueryProfitsharingReturnJson.cs:165-216 | src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/Profitsharing/Entities/ReturnJson/UnfreezeProfitsharingReturnJson.cs:140-191 \u2014 before extracting anything, compare \u0060src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/Profitsharing/Entities/ReturnJson/CreateProfitsharingReturnJson.cs\u0060 and \u0060src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/Profitsharing/Entities/ReturnJson/QueryProfitsharingReturnJson.cs\u0060 as WHOLE FILES: 83% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/Profitsharing/Entities/ReturnJson/CreateProfitsharingReturnJson.cs"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"347fa8f4c1398bef4f88396e3350b2ccc2c374fec1275a5ae88834b8cb4f2898"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (52 lines \u00D7 2): src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/BusinessCircle/Entities/NotifyJson/BusinessCircleNotifyJson.cs:77-128 | src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/BusinessCircle/Entities/NotifyJson/BusinessCircleRefundNotifyJson.cs:80-131 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/BusinessCircle/Entities/NotifyJson/BusinessCircleNotifyJson.cs"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"3110516a9ad15d24d260d6f0514c7f721cafcc0bc4af43c2eb100aed67e63e34"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (52 lines \u00D7 2): src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/PayScore/Entities/NotifyJson/PayServiceOrderNotifyJson.cs:578-629 | src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/PayScore/Entities/ReturnJson/QueryServiceOrderReturnJson.cs:593-647 \u2014 before extracting anything, compare \u0060src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/PayScore/Entities/NotifyJson/PayServiceOrderNotifyJson.cs\u0060 and \u0060src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/PayScore/Entities/ReturnJson/QueryServiceOrderReturnJson.cs\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 198 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/PayScore/Entities/NotifyJson/PayServiceOrderNotifyJson.cs"},"region":{"startLine":578}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e7883784f91e15eafd8d317defc2acd9e85124100414225fa4ac515e6449199"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (51\u201352 lines \u00D7 2): src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/PayScore/Entities/RequestData/CompleteServiceOrderRequestData.cs:86-136 | src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/PayScore/Entities/RequestData/ModifyServiceOrderRequestData.cs:72-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":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/PayScore/Entities/RequestData/CompleteServiceOrderRequestData.cs"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ad66d65423679761afeaaf7e5977fb807dbc5a5f43bbe2c65a7c5bc041ec53b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (50 lines \u00D7 3): src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/Ecommerce/Entities/ReturnJson/EcommerceReturnJson.cs:484-533 | src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/Profitsharing/Entities/ReturnJson/QueryReturnProfitsharingReturnJson.cs:141-191 | src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/Profitsharing/Entities/ReturnJson/ReturnProfitsharingReturnJson.cs:141-191 \u2014 before extracting anything, compare \u0060src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/Profitsharing/Entities/ReturnJson/QueryReturnProfitsharingReturnJson.cs\u0060 and \u0060src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/Profitsharing/Entities/ReturnJson/ReturnProfitsharingReturnJson.cs\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 170 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":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/Ecommerce/Entities/ReturnJson/EcommerceReturnJson.cs"},"region":{"startLine":484}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc91008c4745c7409c7d1e3f29141b600053ba22de909f3943c7909a58889cc0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (50 lines \u00D7 2): src/Senparc.Weixin.Work/Senparc.Weixin.Work/AdvancedAPIs/PayTool/PayToolJson.cs:553-602 | src/Senparc.Weixin.Work/Senparc.Weixin.Work/AdvancedAPIs/PayTool/PayToolJson.cs:631-680 \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 \u0060src/Senparc.Weixin.Work/Senparc.Weixin.Work/AdvancedAPIs/PayTool/PayToolJson.cs:553\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":"src/Senparc.Weixin.Work/Senparc.Weixin.Work/AdvancedAPIs/PayTool/PayToolJson.cs"},"region":{"startLine":553}}}],"partialFingerprints":{"codehealthFindingId/v1":"af8099d53a42ff5af8f6fa9c9b3d524156b5e9313319cd5b28d2dade3b477f78"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (41\u201350 lines \u00D7 2): src/Senparc.Weixin.WxOpen/src/Senparc.Weixin.WxOpen/Senparc.Weixin.WxOpen/AdvancedAPIs/Delivery/DeliveryJson/AddOrderModel.cs:85-125 | src/Senparc.Weixin.WxOpen/src/Senparc.Weixin.WxOpen/Senparc.Weixin.WxOpen/AdvancedAPIs/WeixinExpress/WeixinExpressReturnJson.cs:101-150 \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 \u0060src/Senparc.Weixin.WxOpen/src/Senparc.Weixin.WxOpen/Senparc.Weixin.WxOpen/AdvancedAPIs/Delivery/DeliveryJson/AddOrderModel.cs:85\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":"src/Senparc.Weixin.WxOpen/src/Senparc.Weixin.WxOpen/Senparc.Weixin.WxOpen/AdvancedAPIs/Delivery/DeliveryJson/AddOrderModel.cs"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"615260f6a92993676ef7621ef942eb8555d392356a0bf9aa9b11a609051004a2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (50 lines \u00D7 2): src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/BasePay/Entities/RequestData/RefundRequestData.cs:141-190 | src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/BasePay/Entities/RequestData/RefundRequsetData.cs:80-129 \u2014 before extracting anything, compare \u0060src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/BasePay/Entities/RequestData/RefundRequestData.cs\u0060 and \u0060src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/BasePay/Entities/RequestData/RefundRequsetData.cs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 100 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/BasePay/Entities/RequestData/RefundRequestData.cs"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf588b8c0b5f83db2e4865466b67c057a939a8a9c355e50fe00b0ae2c842731e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (50 lines \u00D7 2): src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/Marketing/Entities/RequestData/CreateUniqueThresholdActivityRequestData.cs:351-401 | src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/Marketing/Entities/ReturnJson/QueryPaygiftActivitiesReturnJson.cs:509-558 \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":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/Marketing/Entities/RequestData/CreateUniqueThresholdActivityRequestData.cs"},"region":{"startLine":351}}}],"partialFingerprints":{"codehealthFindingId/v1":"f94183dd944ffd0ec994b4eda419cc753d2bb86c06bc121de9c5bec75afea952"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (50 lines \u00D7 2): src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/VehicleParking/Entities/NotifyJson/ParkingStateNotifyJson.cs:96-145 | src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/VehicleParking/Entities/ReturnJson/CreateParkingReturnJson.cs:84-133 \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":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/VehicleParking/Entities/NotifyJson/ParkingStateNotifyJson.cs"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6324665e362539c2235b01079841005c44782a33baaa032a2f3c98a04ca4a37"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (49 lines \u00D7 3): src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/Marketing/Entities/ReturnJson/QueryBusifavorCouponReturnJson.cs:377-425 | src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/Marketing/Entities/ReturnJson/QueryBusifavorCouponsReturnJson.cs:459-507 | src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/Marketing/Entities/ReturnJson/QueryBusifavorStockReturnJson.cs:306-354 \u2014 before extracting anything, compare \u0060src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/Marketing/Entities/ReturnJson/QueryBusifavorCouponReturnJson.cs\u0060 and \u0060src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/Marketing/Entities/ReturnJson/QueryBusifavorCouponsReturnJson.cs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 228 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":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/Marketing/Entities/ReturnJson/QueryBusifavorCouponReturnJson.cs"},"region":{"startLine":377}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fcee8273ee7daa317c6e80e6762aa372a1c305b7b41d829cb136371b399b3f6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (48 lines \u00D7 6): src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/PayScore/Entities/NotifyJson/ConfirmServiceOrderNotifyJson.cs:159-207 | src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/PayScore/Entities/NotifyJson/PayServiceOrderNotifyJson.cs:162-209 | src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/PayScore/Entities/ReturnJson/CreateServiceOrderReturnJson.cs:142-191 | src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/PayScore/Entities/ReturnJson/ModifyServiceOrderReturnJson.cs:153-202 | src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/PayScore/Entities/ReturnJson/QueryServiceOrderReturnJson.cs:155-205 | src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/PayScore/Entities/ReturnJson/SyncPayServiceOrderReturnJson.cs:164-215 \u2014 before extracting anything, compare \u0060src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/PayScore/Entities/NotifyJson/ConfirmServiceOrderNotifyJson.cs\u0060 and \u0060src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/PayScore/Entities/NotifyJson/PayServiceOrderNotifyJson.cs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 177 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":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/PayScore/Entities/NotifyJson/ConfirmServiceOrderNotifyJson.cs"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e003fcb55efddd78d3f62aabe06ed5ba4ebf930c8a4ede24f18bffd87dacd7b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (48 lines \u00D7 4): src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/Marketing/Entities/RequestData/CreateBusifavorStockRequestData.cs:214-261 | src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/Marketing/Entities/ReturnJson/QueryBusifavorCouponReturnJson.cs:302-349 | src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/Marketing/Entities/ReturnJson/QueryBusifavorCouponsReturnJson.cs:384-431 | src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/Marketing/Entities/ReturnJson/QueryBusifavorStockReturnJson.cs:231-278 \u2014 before extracting anything, compare \u0060src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/Marketing/Entities/RequestData/CreateBusifavorStockRequestData.cs\u0060 and \u0060src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/Marketing/Entities/ReturnJson/QueryBusifavorStockReturnJson.cs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 114 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/Marketing/Entities/RequestData/CreateBusifavorStockRequestData.cs"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"8121ae65ba1c14dc6f389ce757c5029e98e962b1f38ee2ffe554635284a65b38"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (48 lines \u00D7 2): src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/PayScore/Entities/RequestData/CreateDirectCompleteServiceOrderRequestData.cs:110-157 | src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/PayScore/Entities/RequestData/CreateServiceOrderRequestData.cs:108-155 \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":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/PayScore/Entities/RequestData/CreateDirectCompleteServiceOrderRequestData.cs"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e07c388b19ebb0c2b29398467b3b1f2e7fd5ac09ea6d5e7a0c28fbbd1ce9b76"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (31\u201347 lines \u00D7 2): src/Senparc.Weixin.Work/Senparc.Weixin.Work/AdvancedAPIs/External/ExternalJson/GetExternalContactInfoBatchResult.cs:48-78 | src/Senparc.Weixin.Work/Senparc.Weixin.Work/AdvancedAPIs/External/GetExternalContactResult.cs:138-184 \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 \u0060src/Senparc.Weixin.Work/Senparc.Weixin.Work/AdvancedAPIs/External/ExternalJson/GetExternalContactInfoBatchResult.cs:48\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.Work/Senparc.Weixin.Work/AdvancedAPIs/External/ExternalJson/GetExternalContactInfoBatchResult.cs"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"9245c4c2dd3794459969e1b5a89d77b983128e7616df53a4fb9e5b4dbb932541"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (45\u201346 lines \u00D7 2): src/Senparc.Weixin.MP/Senparc.Weixin.MP/AdvancedAPIs/Card/CardAPI.cs:1035-1079 | src/Senparc.Weixin.MP/Senparc.Weixin.MP/AdvancedAPIs/Card/CardAPI.cs:3201-3246 \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 \u0060src/Senparc.Weixin.MP/Senparc.Weixin.MP/AdvancedAPIs/Card/CardAPI.cs:1035\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":"src/Senparc.Weixin.MP/Senparc.Weixin.MP/AdvancedAPIs/Card/CardAPI.cs"},"region":{"startLine":1035}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3ee0f72dfef3319215a72dee64a7c16e953f0fe1e413736cac862e5d6541f1b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (46 lines \u00D7 2): src/Senparc.Weixin.MP/Senparc.Weixin.MP/AdvancedAPIs/OneCode/OneCodeJson.cs:175-220 | src/Senparc.Weixin.MP/Senparc.Weixin.MP/AdvancedAPIs/OneCode/OneCodeJson.cs:267-312 \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":"src/Senparc.Weixin.MP/Senparc.Weixin.MP/AdvancedAPIs/OneCode/OneCodeJson.cs"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"11facf8a337cd64a987b974e5a661d64c8d1249757908c389e10a54ff5e8b525"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (46 lines \u00D7 2): src/Senparc.Weixin.WxOpen/src/Senparc.Weixin.WxOpen/Senparc.Weixin.WxOpen/AdvancedAPIs/Express/ExpressJson/JsonResult/AddOrderJsonResult.cs:9-54 | src/Senparc.Weixin.WxOpen/src/Senparc.Weixin.WxOpen/Senparc.Weixin.WxOpen/AdvancedAPIs/Express/ExpressJson/JsonResult/ReOrderJsonResult.cs:9-54 \u2014 before extracting anything, compare \u0060src/Senparc.Weixin.WxOpen/src/Senparc.Weixin.WxOpen/Senparc.Weixin.WxOpen/AdvancedAPIs/Express/ExpressJson/JsonResult/AddOrderJsonResult.cs\u0060 and \u0060src/Senparc.Weixin.WxOpen/src/Senparc.Weixin.WxOpen/Senparc.Weixin.WxOpen/AdvancedAPIs/Express/ExpressJson/JsonResult/ReOrderJsonResult.cs\u0060 as WHOLE FILES: 98% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 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 \u0060src/Senparc.Weixin.WxOpen/src/Senparc.Weixin.WxOpen/Senparc.Weixin.WxOpen/AdvancedAPIs/Express/ExpressJson/JsonResult/AddOrderJsonResult.cs:9\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":"src/Senparc.Weixin.WxOpen/src/Senparc.Weixin.WxOpen/Senparc.Weixin.WxOpen/AdvancedAPIs/Express/ExpressJson/JsonResult/AddOrderJsonResult.cs"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"59085ab585a6236ab710e0459ea07da1de453366a6fce66e855b3509f85b9f40"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (46 lines \u00D7 2): src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/Ecommerce/Entities/ReturnJson/EcommerceAccountFundsReturnJson.cs:141-186 | src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/Ecommerce/Entities/ReturnJson/EcommerceAccountFundsReturnJson.cs:269-314 \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":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/Ecommerce/Entities/ReturnJson/EcommerceAccountFundsReturnJson.cs"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"6205ea5064ae00c2b055aeb1dc241060eb9ef77224dbea5843d2224f1bdcc46b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (45 lines \u00D7 3): src/Senparc.Weixin.WxOpen/src/Senparc.Weixin.WxOpen/Senparc.Weixin.WxOpen/AdvancedAPIs/Express/ExpressJson/AddOrderModel.cs:22-66 | src/Senparc.Weixin.WxOpen/src/Senparc.Weixin.WxOpen/Senparc.Weixin.WxOpen/AdvancedAPIs/Express/ExpressJson/PreAddOrderModel.cs:17-61 | src/Senparc.Weixin.WxOpen/src/Senparc.Weixin.WxOpen/Senparc.Weixin.WxOpen/AdvancedAPIs/Express/ExpressJson/ReOrderModel.cs:22-66 \u2014 before extracting anything, compare \u0060src/Senparc.Weixin.WxOpen/src/Senparc.Weixin.WxOpen/Senparc.Weixin.WxOpen/AdvancedAPIs/Express/ExpressJson/AddOrderModel.cs\u0060 and \u0060src/Senparc.Weixin.WxOpen/src/Senparc.Weixin.WxOpen/Senparc.Weixin.WxOpen/AdvancedAPIs/Express/ExpressJson/PreAddOrderModel.cs\u0060 as WHOLE FILES: 90% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.WxOpen/src/Senparc.Weixin.WxOpen/Senparc.Weixin.WxOpen/AdvancedAPIs/Express/ExpressJson/AddOrderModel.cs"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc63f0ebdc435c5da2e38842b488d766cc7a3796469eed6864380553acf6abd2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (44\u201345 lines \u00D7 2): src/Senparc.Weixin.MP/Senparc.Weixin.MP/AdvancedAPIs/Custom/CustomApi.cs:376-419 | src/Senparc.Weixin.MP/Senparc.Weixin.MP/AdvancedAPIs/Custom/CustomApi.cs:912-956 \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 \u0060src/Senparc.Weixin.MP/Senparc.Weixin.MP/AdvancedAPIs/Custom/CustomApi.cs:376\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":"src/Senparc.Weixin.MP/Senparc.Weixin.MP/AdvancedAPIs/Custom/CustomApi.cs"},"region":{"startLine":376}}}],"partialFingerprints":{"codehealthFindingId/v1":"2645885a6357e8da23892a14dfec083ba722b8aee6e00e5143f341a171e4b379"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (37\u201344 lines \u00D7 2): src/Senparc.Weixin.MP/Senparc.Weixin.MP/AdvancedAPIs/Card/CardCreate/CardCreateData.cs:419-462 | src/Senparc.Weixin.MP/Senparc.Weixin.MP/AdvancedAPIs/Card/CardManage/BaseCardDetails.cs:250-286 \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 \u0060src/Senparc.Weixin.MP/Senparc.Weixin.MP/AdvancedAPIs/Card/CardCreate/CardCreateData.cs:419\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":"src/Senparc.Weixin.MP/Senparc.Weixin.MP/AdvancedAPIs/Card/CardCreate/CardCreateData.cs"},"region":{"startLine":419}}}],"partialFingerprints":{"codehealthFindingId/v1":"202496f35639408a1edcb14501439a17d67ed83065a8b5e00a7dc573e0b0ab6a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (43 lines \u00D7 2): src/Senparc.Weixin.Work/Senparc.Weixin.Work/Tencent/Cryptography.cs:155-197 | src/Senparc.Weixin/Senparc.Weixin/Tencent/Cryptography.cs:175-217 \u2014 before extracting anything, compare \u0060src/Senparc.Weixin.Work/Senparc.Weixin.Work/Tencent/Cryptography.cs\u0060 and \u0060src/Senparc.Weixin/Senparc.Weixin/Tencent/Cryptography.cs\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 205 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"src/Senparc.Weixin.Work/Senparc.Weixin.Work/Tencent/Cryptography.cs"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"b075e194a9cd997ef95668012c5c284c5779e2d21cc6f6086a0a16aa326da4a2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (37\u201343 lines \u00D7 2): src/Senparc.Weixin.Open/Senparc.Weixin.Open/OAuthAPIs/OAuthJson/OAuthUserInfo.cs:24-60 | src/Senparc.Weixin.Open/Senparc.Weixin.Open/QRConnect/QRConnectJson/QRConnectUserInfo.cs:24-66 \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 \u0060src/Senparc.Weixin.Open/Senparc.Weixin.Open/OAuthAPIs/OAuthJson/OAuthUserInfo.cs:24\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.Open/Senparc.Weixin.Open/OAuthAPIs/OAuthJson/OAuthUserInfo.cs"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"db1c5f44f43000825bbb3e8d9befa191eb1644fd217c9549b887f278da9efc9d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (42\u201343 lines \u00D7 2): src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/RedPackApi/RedPackApi.Via.cs:133-175 | src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/RedPackApi/RedPackApi.cs:205-246 \u2014 before extracting anything, compare \u0060src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/RedPackApi/RedPackApi.Via.cs\u0060 and \u0060src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/RedPackApi/RedPackApi.cs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 97 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 \u0060src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/RedPackApi/RedPackApi.Via.cs:133\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":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/RedPackApi/RedPackApi.Via.cs"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"84d3ea30b7e224924ceac7e933622975d457bfeef93bd42c5610624a7ebcf166"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (43 lines \u00D7 2): src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/Ecommerce/Entities/ReturnJson/EcommerceReturnJson.cs:414-456 | src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/Ecommerce/Entities/ReturnJson/EcommerceReturnJson.cs:498-540 \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":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/Ecommerce/Entities/ReturnJson/EcommerceReturnJson.cs"},"region":{"startLine":414}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e50225dd615d9aea6a65b483f4c1b18c950280d7519eb60f7e1c691f25715fc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (42 lines \u00D7 2): src/Senparc.Weixin.MP/Senparc.Weixin.MP/AdvancedAPIs/Invoice/InvoiceJson/MakeOutInvoiceData.cs:118-159 | src/Senparc.Weixin.Work/Senparc.Weixin.Work/AdvancedAPIs/Invoice/InvoiceJson/MakeOutInvoiceData.cs:117-158 \u2014 before extracting anything, compare \u0060src/Senparc.Weixin.MP/Senparc.Weixin.MP/AdvancedAPIs/Invoice/InvoiceJson/MakeOutInvoiceData.cs\u0060 and \u0060src/Senparc.Weixin.Work/Senparc.Weixin.Work/AdvancedAPIs/Invoice/InvoiceJson/MakeOutInvoiceData.cs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 146 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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 \u0060src/Senparc.Weixin.MP/Senparc.Weixin.MP/AdvancedAPIs/Invoice/InvoiceJson/MakeOutInvoiceData.cs:118\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":"src/Senparc.Weixin.MP/Senparc.Weixin.MP/AdvancedAPIs/Invoice/InvoiceJson/MakeOutInvoiceData.cs"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"981a6a929892b447d56078bb6130903dcef80dac431a1a89e8e1addd4d707b72"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (42 lines \u00D7 2): src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/BasePay/Entities/RequestData/RefundRequestData.cs:321-362 | src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/BasePay/Entities/RequestData/RefundRequsetData.cs:260-301 \u2014 before extracting anything, compare \u0060src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/BasePay/Entities/RequestData/RefundRequestData.cs\u0060 and \u0060src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/BasePay/Entities/RequestData/RefundRequsetData.cs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 100 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/BasePay/Entities/RequestData/RefundRequestData.cs"},"region":{"startLine":321}}}],"partialFingerprints":{"codehealthFindingId/v1":"89bd991d8a34133d3bf7b760944575c5487835cd3f61ae9f8debdafe780c8fe4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (31\u201341 lines \u00D7 4): src/Senparc.Weixin.MP/Senparc.Weixin.MP/AdvancedAPIs/Invoice/InvoiceJson/InvoicePlatformData.cs:156-196 | src/Senparc.Weixin.MP/Senparc.Weixin.MP/AdvancedAPIs/Invoice/InvoiceJson/InvoicePlatformResultJson.cs:190-224 | src/Senparc.Weixin.Work/Senparc.Weixin.Work/AdvancedAPIs/Invoice/InvoiceJson/InvoiceBatchJson.cs:93-123 | src/Senparc.Weixin.Work/Senparc.Weixin.Work/AdvancedAPIs/Invoice/InvoiceJson/InvoiceData.cs:59-99 \u2014 before extracting anything, compare \u0060src/Senparc.Weixin.MP/Senparc.Weixin.MP/AdvancedAPIs/Invoice/InvoiceJson/InvoicePlatformData.cs\u0060 and \u0060src/Senparc.Weixin.Work/Senparc.Weixin.Work/AdvancedAPIs/Invoice/InvoiceJson/InvoiceData.cs\u0060 as WHOLE FILES: 90% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 2 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.MP/Senparc.Weixin.MP/AdvancedAPIs/Invoice/InvoiceJson/InvoicePlatformData.cs"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"89053f9c900b496211fa30847998f8c045e944a92d0f08af1d762864a5a44657"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19\u201341 lines \u00D7 3): Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Tools/SimulateToolController.cs:57-97 | src/Senparc.Weixin.MP/Senparc.Weixin.MP/MessageContexts/DefaultMpMessageContext.cs:60-78 | src/Senparc.Weixin.Work/Senparc.Weixin.Work/MessageContext/DefaultWorkMessageContext.cs:78-96 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Tools/SimulateToolController.cs:57\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060src/Senparc.Weixin.MP/Senparc.Weixin.MP/MessageContexts/DefaultMpMessageContext.cs:79\u0060 calls \u0060RequestMessageLink\u0060 and \u0060src/Senparc.Weixin.Work/Senparc.Weixin.Work/MessageContext/DefaultWorkMessageContext.cs:97\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":"Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Tools/SimulateToolController.cs"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e39848454c853e14ddce2f3f316c5f8666ca2ea3ce757efa7cb24e0be03112d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (41 lines \u00D7 2): src/Senparc.Weixin.Work/Senparc.Weixin.Work/AdvancedAPIs/Meeting/MeetingJson.cs:255-295 | src/Senparc.Weixin.Work/Senparc.Weixin.Work/AdvancedAPIs/Meeting/MeetingJson.cs:347-387 \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":"src/Senparc.Weixin.Work/Senparc.Weixin.Work/AdvancedAPIs/Meeting/MeetingJson.cs"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f361cd8265e0f8a11845cc68612792e83c44d4be12d8bc66b93880bf9782403"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (41 lines \u00D7 2): src/Senparc.Weixin.MP/Senparc.Weixin.MP/AdvancedAPIs/Card/CardManage/CardManageResultJson.cs:188-228 | src/Senparc.Weixin.MP/Senparc.Weixin.MP/AdvancedAPIs/Card/CardManage/CardManageResultJson.cs:249-289 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.MP/Senparc.Weixin.MP/AdvancedAPIs/Card/CardManage/CardManageResultJson.cs"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfc1bcfe2f14de248a3dcc9715a04a7a1c4088b9a9520aed1579a1a115818b9b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (41 lines \u00D7 2): src/Senparc.Weixin.MP/Senparc.Weixin.MP/AdvancedAPIs/Custom/CustomApi.cs:319-359 | src/Senparc.Weixin.MP/Senparc.Weixin.MP/AdvancedAPIs/Custom/CustomApi.cs:854-894 \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 \u0060src/Senparc.Weixin.MP/Senparc.Weixin.MP/AdvancedAPIs/Custom/CustomApi.cs:319\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":"src/Senparc.Weixin.MP/Senparc.Weixin.MP/AdvancedAPIs/Custom/CustomApi.cs"},"region":{"startLine":319}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1bde77072a04fe1045b7e647f8e1eb2479c8754e24c3c10edda14f1b5124786"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25\u201341 lines \u00D7 2): src/Senparc.Weixin.Open/Senparc.Weixin.Open/WxaAPIs/CloudBaseBatch/CloudBaseBatchModels.cs:135-159 | src/Senparc.Weixin.Open/Senparc.Weixin.Open/WxaAPIs/CloudRun/CloudRunJsonResults.cs:147-187 \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":"src/Senparc.Weixin.Open/Senparc.Weixin.Open/WxaAPIs/CloudBaseBatch/CloudBaseBatchModels.cs"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"86bb7522663cc80bb4452fcaac7813ce3be94471e05315482525959f4fd2117e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (41 lines \u00D7 2): src/Senparc.Weixin.Open/Senparc.Weixin.Open/WxaAPIs/CloudRun/CloudRunJsonResults.cs:418-458 | src/Senparc.Weixin.Open/Senparc.Weixin.Open/WxaAPIs/CloudRun/CloudRunJsonResults.cs:639-679 \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":"src/Senparc.Weixin.Open/Senparc.Weixin.Open/WxaAPIs/CloudRun/CloudRunJsonResults.cs"},"region":{"startLine":418}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1072d64919c9e8c14d4f5aff76d85ebb21169103acc90eb979bba08a0fbbee5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (41 lines \u00D7 2): src/Senparc.Weixin.Open/Senparc.Weixin.Open/WxaAPIs/WxaJson/GetAppealRecordsJsonResult.cs:60-100 | src/Senparc.Weixin.WxOpen/src/Senparc.Weixin.WxOpen/Senparc.Weixin.WxOpen/Entities/Request/Event/RequestMessageEvent_AppealRecord.cs:58-98 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.Open/Senparc.Weixin.Open/WxaAPIs/WxaJson/GetAppealRecordsJsonResult.cs"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f347317df23c72ad23ae98c72763fafb355f633a1ec533ec6a92d04a0b9bf4c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (41 lines \u00D7 2): src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/Entities/Result/MiniAppRedPackResult.cs:68-108 | src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/Entities/Result/NormalRedPackResult.cs:72-112 \u2014 before extracting anything, compare \u0060src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/Entities/Result/MiniAppRedPackResult.cs\u0060 and \u0060src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/Entities/Result/NormalRedPackResult.cs\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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/Entities/Result/MiniAppRedPackResult.cs"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"258f18ef89c57779494b206aa7f81e6df2f367b3fe3062c6d3d82c2133409f16"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (33\u201340 lines \u00D7 3): src/Senparc.Weixin.WxOpen/src/Senparc.Weixin.WxOpen/Senparc.Weixin.WxOpen/AdvancedAPIs/Express/ExpressJson/PreAddOrderModel.cs:65-97 | src/Senparc.Weixin.WxOpen/src/Senparc.Weixin.WxOpen/Senparc.Weixin.WxOpen/AdvancedAPIs/Express/ExpressJson/PreAddOrderModel.cs:101-133 | src/Senparc.Weixin.WxOpen/src/Senparc.Weixin.WxOpen/Senparc.Weixin.WxOpen/AdvancedAPIs/ImmediateDelivery/ImmediateDeliveryJson.cs:149-188 \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 \u0060src/Senparc.Weixin.WxOpen/src/Senparc.Weixin.WxOpen/Senparc.Weixin.WxOpen/AdvancedAPIs/Express/ExpressJson/PreAddOrderModel.cs: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. 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":"src/Senparc.Weixin.WxOpen/src/Senparc.Weixin.WxOpen/Senparc.Weixin.WxOpen/AdvancedAPIs/Express/ExpressJson/PreAddOrderModel.cs"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8434e8bd96ecfd765e85b83bef30cca2f92e7fd33e709fd84293288fdabeba9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (39\u201340 lines \u00D7 2): src/Senparc.Weixin.MP/Senparc.Weixin.MP/AdvancedAPIs/Custom/CustomApi.cs:521-559 | src/Senparc.Weixin.MP/Senparc.Weixin.MP/AdvancedAPIs/Custom/CustomApi.cs:1060-1099 \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 \u0060src/Senparc.Weixin.MP/Senparc.Weixin.MP/AdvancedAPIs/Custom/CustomApi.cs:521\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":"src/Senparc.Weixin.MP/Senparc.Weixin.MP/AdvancedAPIs/Custom/CustomApi.cs"},"region":{"startLine":521}}}],"partialFingerprints":{"codehealthFindingId/v1":"5eddb8ea90a52ddae0e48014eff4085003f022c64fd28179b874f8effc7e007e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24\u201340 lines \u00D7 2): src/Senparc.Weixin.MP/Senparc.Weixin.MP/AdvancedAPIs/MedicalAssistant/MedicalAssistantJson.cs:91-130 | src/Senparc.Weixin.WxOpen/src/Senparc.Weixin.WxOpen/Senparc.Weixin.WxOpen/AdvancedAPIs/CityService/CityServiceJson.cs:230-253 \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 \u0060src/Senparc.Weixin.MP/Senparc.Weixin.MP/AdvancedAPIs/MedicalAssistant/MedicalAssistantJson.cs:91\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":"src/Senparc.Weixin.MP/Senparc.Weixin.MP/AdvancedAPIs/MedicalAssistant/MedicalAssistantJson.cs"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"e69eeea9241169b252fa27397772f9fdd1cf2bdc62bfbf570fc29f9f68f515ca"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (37\u201339 lines \u00D7 2): src/Senparc.Weixin.MP/Senparc.Weixin.MP/AdvancedAPIs/Card/CardManage/BaseCardUpdateInfo.cs:171-209 | src/Senparc.Weixin.MP/Senparc.Weixin.MP/AdvancedAPIs/Card/Common/Card_BaseInfo/Card_BaseInfoBase.cs:179-215 \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":"src/Senparc.Weixin.MP/Senparc.Weixin.MP/AdvancedAPIs/Card/CardManage/BaseCardUpdateInfo.cs"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0f991061023f91f1434f2751d9f4168096352acb2c7db9eaff7e5c42f5d11a3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (37\u201338 lines \u00D7 2): src/Senparc.Weixin.Work/Senparc.Weixin.Work/AdvancedAPIs/Mass/MassApi.cs:360-397 | src/Senparc.Weixin.Work/Senparc.Weixin.Work/AdvancedAPIs/Mass/MassApi.cs:929-965 \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 \u0060src/Senparc.Weixin.Work/Senparc.Weixin.Work/AdvancedAPIs/Mass/MassApi.cs:360\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":"src/Senparc.Weixin.Work/Senparc.Weixin.Work/AdvancedAPIs/Mass/MassApi.cs"},"region":{"startLine":360}}}],"partialFingerprints":{"codehealthFindingId/v1":"46c1260b316c5bce9cbf9db4fa446d753f3198570274a95f21071be240cba6e3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (37\u201338 lines \u00D7 2): src/Senparc.Weixin.Work/Senparc.Weixin.Work/Tencent/WXBizMsgCrypt.cs:334-371 | src/Senparc.Weixin/Senparc.Weixin/Tencent/WXBizMsgCrypt.cs:267-303 \u2014 before extracting anything, compare \u0060src/Senparc.Weixin.Work/Senparc.Weixin.Work/Tencent/WXBizMsgCrypt.cs\u0060 and \u0060src/Senparc.Weixin/Senparc.Weixin/Tencent/WXBizMsgCrypt.cs\u0060 as WHOLE FILES: this scan already matched 5 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. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"src/Senparc.Weixin.Work/Senparc.Weixin.Work/Tencent/WXBizMsgCrypt.cs"},"region":{"startLine":334}}}],"partialFingerprints":{"codehealthFindingId/v1":"aed2de3bc02707cab40a2f7b0927446ade4873df29382d02fb99164bcfce1fe0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (38 lines \u00D7 2): src/Senparc.Weixin.Open/Senparc.Weixin.Open/ComponentAPIs/ComponentApi.cs:550-587 | src/Senparc.Weixin.Open/Senparc.Weixin.Open/ComponentAPIs/ComponentApi.cs:1245-1282 \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 \u0060src/Senparc.Weixin.Open/Senparc.Weixin.Open/ComponentAPIs/ComponentApi.cs:550\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":"src/Senparc.Weixin.Open/Senparc.Weixin.Open/ComponentAPIs/ComponentApi.cs"},"region":{"startLine":550}}}],"partialFingerprints":{"codehealthFindingId/v1":"16aa6bdd43cff1df2ae0d0f2366232a984ebc530923415cfbfbd42801029b6c9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (37 lines \u00D7 2): src/Senparc.Weixin.MP/Senparc.Weixin.MP/AdvancedAPIs/Invoice/InvoiceJson/InvoicePlatformData.cs:124-160 | src/Senparc.Weixin.Work/Senparc.Weixin.Work/AdvancedAPIs/Invoice/InvoiceJson/InvoiceData.cs:19-55 \u2014 before extracting anything, compare \u0060src/Senparc.Weixin.MP/Senparc.Weixin.MP/AdvancedAPIs/Invoice/InvoiceJson/InvoicePlatformData.cs\u0060 and \u0060src/Senparc.Weixin.Work/Senparc.Weixin.Work/AdvancedAPIs/Invoice/InvoiceJson/InvoiceData.cs\u0060 as WHOLE FILES: 90% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 2 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Senparc.Weixin.MP/Senparc.Weixin.MP/AdvancedAPIs/Invoice/InvoiceJson/InvoicePlatformData.cs:124\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":"src/Senparc.Weixin.MP/Senparc.Weixin.MP/AdvancedAPIs/Invoice/InvoiceJson/InvoicePlatformData.cs"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"15d523a65b3773c2cd8dd5a9df3ff57326400c7b599713572f69503fba58da88"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (37 lines \u00D7 2): src/Senparc.Weixin.MP/Senparc.Weixin.MP/AdvancedAPIs/Custom/CustomApi.cs:261-297 | src/Senparc.Weixin.MP/Senparc.Weixin.MP/AdvancedAPIs/Custom/CustomApi.cs:797-833 \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 \u0060src/Senparc.Weixin.MP/Senparc.Weixin.MP/AdvancedAPIs/Custom/CustomApi.cs:261\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":"src/Senparc.Weixin.MP/Senparc.Weixin.MP/AdvancedAPIs/Custom/CustomApi.cs"},"region":{"startLine":261}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ad5f5637bf96dfd14681c035eaafba6a34e4b8adeb3038d57abd552131c53bd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (36 lines \u00D7 2): src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/MerchantGovernance/MerchantGovernanceModels.cs:139-174 | src/Senparc.Weixin.WxOpen/src/Senparc.Weixin.WxOpen/Senparc.Weixin.WxOpen/AdvancedAPIs/XPay/XPayJson/XPayIncrementJson.cs:111-146 \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":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/MerchantGovernance/MerchantGovernanceModels.cs"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cc6c4b05bccd0ed7a382c66924f65328a1db7139ee89e355f9f979f998a1570"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (35 lines \u00D7 2): src/Senparc.Weixin.Work/Senparc.Weixin.Work/AdvancedAPIs/Report/PatrolReportJson.cs:245-279 | src/Senparc.Weixin.Work/Senparc.Weixin.Work/AdvancedAPIs/Report/ResidentReportJson.cs:255-289 \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 \u0060src/Senparc.Weixin.Work/Senparc.Weixin.Work/AdvancedAPIs/Report/PatrolReportJson.cs:245\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":"src/Senparc.Weixin.Work/Senparc.Weixin.Work/AdvancedAPIs/Report/PatrolReportJson.cs"},"region":{"startLine":245}}}],"partialFingerprints":{"codehealthFindingId/v1":"35c783e04ec8464fec6f6a418512ffc552ce63dd1a8dc4aaa2de17128041ba30"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (35 lines \u00D7 2): src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/Entities/Request/TenPayV3PayToWorkerRequestData.cs:83-117 | src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/Entities/Request/TenPayV3TransfersRequestData.cs:83-118 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/Entities/Request/TenPayV3PayToWorkerRequestData.cs"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"25444d4bffa0ebaa6ffba6fde65b2ac5eb85c956da17faeafbd79056f1914dc2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (33\u201334 lines \u00D7 3): src/Senparc.Weixin.WxOpen/src/Senparc.Weixin.WxOpen/Senparc.Weixin.WxOpen/AdvancedAPIs/DataCube/DataCubeJson/GetWeAnalysisAppidDailyVisitTrendResultJson.cs:54-86 | src/Senparc.Weixin.WxOpen/src/Senparc.Weixin.WxOpen/Senparc.Weixin.WxOpen/AdvancedAPIs/DataCube/DataCubeJson/GetWeAnalysisAppidMonthlyVisitTrendResultJson.cs:51-84 | src/Senparc.Weixin.WxOpen/src/Senparc.Weixin.WxOpen/Senparc.Weixin.WxOpen/AdvancedAPIs/DataCube/DataCubeJson/GetWeAnalysisAppidWeeklyVisitTrendResultJson.cs:51-84 \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 \u0060src/Senparc.Weixin.WxOpen/src/Senparc.Weixin.WxOpen/Senparc.Weixin.WxOpen/AdvancedAPIs/DataCube/DataCubeJson/GetWeAnalysisAppidDailyVisitTrendResultJson.cs:54\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":"src/Senparc.Weixin.WxOpen/src/Senparc.Weixin.WxOpen/Senparc.Weixin.WxOpen/AdvancedAPIs/DataCube/DataCubeJson/GetWeAnalysisAppidDailyVisitTrendResultJson.cs"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"929ed6a82856782a749ca3c01b6a1d1517cdc81042f09d78c5116cd867e31ef5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (34 lines \u00D7 2): src/Senparc.Weixin.MP/Senparc.Weixin.MP/AdvancedAPIs/Card/CardAPI.cs:450-483 | src/Senparc.Weixin.MP/Senparc.Weixin.MP/AdvancedAPIs/Card/CardAPI.cs:2689-2722 \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 \u0060src/Senparc.Weixin.MP/Senparc.Weixin.MP/AdvancedAPIs/Card/CardAPI.cs:450\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":"src/Senparc.Weixin.MP/Senparc.Weixin.MP/AdvancedAPIs/Card/CardAPI.cs"},"region":{"startLine":450}}}],"partialFingerprints":{"codehealthFindingId/v1":"66e6df811c77d40270df2d577ef7e02c81e3ac451c36f6597d6ad37e87603460"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (33 lines \u00D7 4): src/Senparc.Weixin.MP/Senparc.Weixin.MP/AdvancedAPIs/Analysis/AnalysisResultJson/ArticleAnalysisItemJson.cs:64-96 | src/Senparc.Weixin.MP/Senparc.Weixin.MP/AdvancedAPIs/Analysis/AnalysisResultJson/ArticleAnalysisItemJson.cs:137-169 | src/Senparc.Weixin.MP/Senparc.Weixin.MP/AdvancedAPIs/Analysis/AnalysisResultJson/ArticleAnalysisItemJson.cs:206-238 | src/Senparc.Weixin.MP/Senparc.Weixin.MP/AdvancedAPIs/Analysis/AnalysisResultJson/ArticleAnalysisItemJson.cs:257-289 \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":"src/Senparc.Weixin.MP/Senparc.Weixin.MP/AdvancedAPIs/Analysis/AnalysisResultJson/ArticleAnalysisItemJson.cs"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec85e4123bbd4e040c9ae267c747452c6d8fa4c49b2a19cfb774e145f70975d9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27\u201333 lines \u00D7 4): src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/RedPackApi/RedPackApi.Via.cs:153-180 | src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/RedPackApi/RedPackApi.cs:225-251 | src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/RedPackApi/RedPackApi.cs:420-452 | src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/RedPackApi/ShakeRedPackApi.cs:178-204 \u2014 before extracting anything, compare \u0060src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/RedPackApi/RedPackApi.Via.cs\u0060 and \u0060src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/RedPackApi/RedPackApi.cs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 97 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 \u0060src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/RedPackApi/RedPackApi.Via.cs:153\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":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/RedPackApi/RedPackApi.Via.cs"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7428e78319303386c59369ee51ea37fae9f8634a73bce04f7793a32eda234cb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (33 lines \u00D7 3): src/Senparc.Weixin.MP/Senparc.Weixin.MP/AdvancedAPIs/Invoice/InvoiceJson/InvoicePlatformResultJson.cs:91-123 | src/Senparc.Weixin.MP/Senparc.Weixin.MP/AdvancedAPIs/Invoice/InvoiceJson/InvoicePlatformResultJson.cs:141-173 | src/Senparc.Weixin.Work/Senparc.Weixin.Work/AdvancedAPIs/Invoice/InvoiceJson/InvoiceResultJson.cs:21-53 \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 \u0060src/Senparc.Weixin.MP/Senparc.Weixin.MP/AdvancedAPIs/Invoice/InvoiceJson/InvoicePlatformResultJson.cs:91\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":"src/Senparc.Weixin.MP/Senparc.Weixin.MP/AdvancedAPIs/Invoice/InvoiceJson/InvoicePlatformResultJson.cs"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0ddb285eb24dd6eb4ddd7e3bdb3deae07435ecd4b6aca8a8de6ea0c33f55d1e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (33 lines \u00D7 2): src/Senparc.Weixin.Work/Senparc.Weixin.Work/AdvancedAPIs/External/ExternalJson/GroupChat_GetJoinWayResult.cs:49-81 | src/Senparc.Weixin.Work/Senparc.Weixin.Work/AdvancedAPIs/External/ExternalJson/GroupChat_UpdateJoinWayRequest.cs:40-72 \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 \u0060src/Senparc.Weixin.Work/Senparc.Weixin.Work/AdvancedAPIs/External/ExternalJson/GroupChat_GetJoinWayResult.cs:49\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":"src/Senparc.Weixin.Work/Senparc.Weixin.Work/AdvancedAPIs/External/ExternalJson/GroupChat_GetJoinWayResult.cs"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"86c862e2c52476705318d7dbf7d5d218b923ed6c60007c72f7514b469db5a870"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (33 lines \u00D7 2): src/Senparc.Weixin.WxOpen/src/Senparc.Weixin.WxOpen/Senparc.Weixin.WxOpen/AdvancedAPIs/Express/ExpressJson/CancelOrderModel.cs:7-39 | src/Senparc.Weixin.WxOpen/src/Senparc.Weixin.WxOpen/Senparc.Weixin.WxOpen/AdvancedAPIs/Express/ExpressJson/PreCancelOrderModel.cs:7-39 \u2014 before extracting anything, compare \u0060src/Senparc.Weixin.WxOpen/src/Senparc.Weixin.WxOpen/Senparc.Weixin.WxOpen/AdvancedAPIs/Express/ExpressJson/CancelOrderModel.cs\u0060 and \u0060src/Senparc.Weixin.WxOpen/src/Senparc.Weixin.WxOpen/Senparc.Weixin.WxOpen/AdvancedAPIs/Express/ExpressJson/PreCancelOrderModel.cs\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. 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 \u0060src/Senparc.Weixin.WxOpen/src/Senparc.Weixin.WxOpen/Senparc.Weixin.WxOpen/AdvancedAPIs/Express/ExpressJson/CancelOrderModel.cs:7\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":"src/Senparc.Weixin.WxOpen/src/Senparc.Weixin.WxOpen/Senparc.Weixin.WxOpen/AdvancedAPIs/Express/ExpressJson/CancelOrderModel.cs"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b4f393c5aebf2b2a0f1bd11bb67ad90d62f4a282b4866ae8de2bccb4a7c49de"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (31\u201332 lines \u00D7 2): src/Senparc.Weixin.MP/Senparc.Weixin.MP/AdvancedAPIs/OAuth/OAuthJson/OAuthAccessTokenResult.cs:57-88 | src/Senparc.Weixin.Open/Senparc.Weixin.Open/OAuthAPIs/OAuthJson/OAuthAccessTokenResult.cs:27-57 \u2014 before extracting anything, compare \u0060src/Senparc.Weixin.MP/Senparc.Weixin.MP/AdvancedAPIs/OAuth/OAuthJson/OAuthAccessTokenResult.cs\u0060 and \u0060src/Senparc.Weixin.Open/Senparc.Weixin.Open/OAuthAPIs/OAuthJson/OAuthAccessTokenResult.cs\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 \u0060src/Senparc.Weixin.MP/Senparc.Weixin.MP/AdvancedAPIs/OAuth/OAuthJson/OAuthAccessTokenResult.cs:57\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":"src/Senparc.Weixin.MP/Senparc.Weixin.MP/AdvancedAPIs/OAuth/OAuthJson/OAuthAccessTokenResult.cs"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"991186ff5f0040a69f47f0a6ea9d21dc6111091873324333317212f514f443ac"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (32 lines \u00D7 2): src/Senparc.Weixin.MP/Senparc.Weixin.MP/AdvancedAPIs/ShakeAround/ShakeAroundApi.cs:235-266 | src/Senparc.Weixin.MP/Senparc.Weixin.MP/AdvancedAPIs/ShakeAround/ShakeAroundApi.cs:1239-1270 \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 \u0060src/Senparc.Weixin.MP/Senparc.Weixin.MP/AdvancedAPIs/ShakeAround/ShakeAroundApi.cs: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. 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":"src/Senparc.Weixin.MP/Senparc.Weixin.MP/AdvancedAPIs/ShakeAround/ShakeAroundApi.cs"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"85e28c171e1f5272db1a7ea389fcc19f6deec2b7517185d9b1cf8e6a8fc83523"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (31 lines \u00D7 3): src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/BrandMemberCard/BrandMemberCardModels.cs:109-139 | src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/BrandMemberCard/BrandMemberCardModels.cs:190-220 | src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/BrandMemberCard/BrandMemberCardModels.cs:437-467 \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":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/BrandMemberCard/BrandMemberCardModels.cs"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"fae9484d3cc083dbede49cfb9b9d6ad27af46fc366180f83a389c360d8a454ca"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (31 lines \u00D7 2): src/Senparc.Weixin.Work/Senparc.Weixin.Work/Tencent/WXBizMsgCrypt.cs:119-149 | src/Senparc.Weixin/Senparc.Weixin/Tencent/WXBizMsgCrypt.cs:98-128 \u2014 before extracting anything, compare \u0060src/Senparc.Weixin.Work/Senparc.Weixin.Work/Tencent/WXBizMsgCrypt.cs\u0060 and \u0060src/Senparc.Weixin/Senparc.Weixin/Tencent/WXBizMsgCrypt.cs\u0060 as WHOLE FILES: this scan already matched 5 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. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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 \u0060src/Senparc.Weixin.Work/Senparc.Weixin.Work/Tencent/WXBizMsgCrypt.cs:119\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":"src/Senparc.Weixin.Work/Senparc.Weixin.Work/Tencent/WXBizMsgCrypt.cs"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3c23f1b7133bb6188b5abf253394a68b43bb04ad3d0a4edf8e1f5e4fa597fde"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (31 lines \u00D7 2): src/Senparc.Weixin.MP/Senparc.Weixin.MP/AdvancedAPIs/Card/CardCreate/CardCreateData.cs:178-211 | src/Senparc.Weixin.MP/Senparc.Weixin.MP/AdvancedAPIs/Card/CardManage/BaseCardDetails.cs:158-188 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.MP/Senparc.Weixin.MP/AdvancedAPIs/Card/CardCreate/CardCreateData.cs"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c9f78ff1631b0020570131a2b78baf9e067b348a501b733c246608235c0fc2f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (31 lines \u00D7 2): src/Senparc.Weixin.WxOpen/src/Senparc.Weixin.WxOpen/Senparc.Weixin.WxOpen/AdvancedAPIs/Delivery/DeliveryJson/DeliveryProviderJson.cs:360-390 | src/Senparc.Weixin.WxOpen/src/Senparc.Weixin.WxOpen/Senparc.Weixin.WxOpen/AdvancedAPIs/WeixinExpress/WeixinExpressProviderJson.cs:146-176 \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":"src/Senparc.Weixin.WxOpen/src/Senparc.Weixin.WxOpen/Senparc.Weixin.WxOpen/AdvancedAPIs/Delivery/DeliveryJson/DeliveryProviderJson.cs"},"region":{"startLine":360}}}],"partialFingerprints":{"codehealthFindingId/v1":"9dc6eb10060ae93de30cbe11288688f0e7212e37dfefeb2787dc726e56aa74f9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (31 lines \u00D7 2): src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V2/ResponseHandler.cs:126-156 | src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/ResponseHandler.cs:123-153 \u2014 \u0060src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V2/ResponseHandler.cs\u0060 and \u0060src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/ResponseHandler.cs\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 6 separate duplicated blocks between them, totalling at least 89 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 \u0060src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V2/ResponseHandler.cs:126\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V2/ResponseHandler.cs:125\u0060 calls \u0060Hashtable\u0060 and \u0060src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/ResponseHandler.cs:121\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":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V2/ResponseHandler.cs"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0427db4d1481e47f30f3e81102194aeb27c709dd4bb54de1291b0583bc89a31"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (31 lines \u00D7 2): src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V2/ResponseHandler.cs:285-315 | src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V2/ResponseHandler.cs:328-358 \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 \u0060src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V2/ResponseHandler.cs:285\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The \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":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V2/ResponseHandler.cs"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"73bdf25bf232a049f033a96c992aba4c417060cc5ec181b2b61775e70fe21295"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (29\u201331 lines \u00D7 2): src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/HttpHandlers/TenPayApiRequest.cs:483-511 | src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/HttpHandlers/TenPayApiRequest.cs:731-761 \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 \u0060src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/HttpHandlers/TenPayApiRequest.cs:483\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":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/HttpHandlers/TenPayApiRequest.cs"},"region":{"startLine":483}}}],"partialFingerprints":{"codehealthFindingId/v1":"290d2fbd17662e8eb737a5ece358022981c9ba783c909c808e665c7a1331c41e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (30 lines \u00D7 2): src/Senparc.Weixin.Work/Senparc.Weixin.Work/Tencent/Cryptography.cs:123-152 | src/Senparc.Weixin/Senparc.Weixin/Tencent/Cryptography.cs:143-172 \u2014 before extracting anything, compare \u0060src/Senparc.Weixin.Work/Senparc.Weixin.Work/Tencent/Cryptography.cs\u0060 and \u0060src/Senparc.Weixin/Senparc.Weixin/Tencent/Cryptography.cs\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 205 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"src/Senparc.Weixin.Work/Senparc.Weixin.Work/Tencent/Cryptography.cs"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"c713255bcead2733ad3cf6fc0fb40887359b73f0c661632fcdc97da9276ede6e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (30 lines \u00D7 2): src/Senparc.Weixin.MP/Senparc.Weixin.MP/AdvancedAPIs/ShakeAround/ShakeAroundApi.cs:900-929 | src/Senparc.Weixin.MP/Senparc.Weixin.MP/AdvancedAPIs/ShakeAround/ShakeAroundApi.cs:1903-1932 \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 \u0060src/Senparc.Weixin.MP/Senparc.Weixin.MP/AdvancedAPIs/ShakeAround/ShakeAroundApi.cs:900\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":"src/Senparc.Weixin.MP/Senparc.Weixin.MP/AdvancedAPIs/ShakeAround/ShakeAroundApi.cs"},"region":{"startLine":900}}}],"partialFingerprints":{"codehealthFindingId/v1":"03fd60b7e9194f7febd69a7a5617e04d57c8fdca5e04321b4c7e3a53d9fa45ab"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (29 lines \u00D7 3): src/Senparc.Weixin.MP/Senparc.Weixin.MP/AdvancedAPIs/Card/CardManage/CardManageResultJson.cs:188-216 | src/Senparc.Weixin.MP/Senparc.Weixin.MP/AdvancedAPIs/Card/CardManage/CardManageResultJson.cs:249-277 | src/Senparc.Weixin.MP/Senparc.Weixin.MP/AdvancedAPIs/Card/CardManage/CardManageResultJson.cs:372-400 \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":"src/Senparc.Weixin.MP/Senparc.Weixin.MP/AdvancedAPIs/Card/CardManage/CardManageResultJson.cs"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"776f6d6c51289bfcfdb3b463a536322df94835ae9d40882bc8f2a59a1b030b6d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26\u201329 lines \u00D7 3): src/Senparc.Weixin.MP/Senparc.Weixin.MP/AdvancedAPIs/OAuth/OAuthJson/OAuthUserInfo.cs:55-83 | src/Senparc.Weixin.Open/Senparc.Weixin.Open/OAuthAPIs/OAuthJson/OAuthUserInfo.cs:26-51 | src/Senparc.Weixin.Open/Senparc.Weixin.Open/QRConnect/QRConnectJson/QRConnectUserInfo.cs:29-57 \u2014 before extracting anything, compare \u0060src/Senparc.Weixin.MP/Senparc.Weixin.MP/AdvancedAPIs/OAuth/OAuthJson/OAuthUserInfo.cs\u0060 and \u0060src/Senparc.Weixin.Open/Senparc.Weixin.Open/OAuthAPIs/OAuthJson/OAuthUserInfo.cs\u0060 as WHOLE FILES: 84% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.MP/Senparc.Weixin.MP/AdvancedAPIs/OAuth/OAuthJson/OAuthUserInfo.cs"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8b2e1dadc2a120a967b53a94ecdb45e935836f446dba315b7b14a979d18787c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (29 lines \u00D7 2): src/Senparc.Weixin.MP/Senparc.Weixin.MP/AdvancedAPIs/Card/CardCreate/CardCreateResultJson.cs:168-196 | src/Senparc.Weixin.MP/Senparc.Weixin.MP/AdvancedAPIs/Card/CardCreate/CardCreateResultJson.cs:233-261 \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":"src/Senparc.Weixin.MP/Senparc.Weixin.MP/AdvancedAPIs/Card/CardCreate/CardCreateResultJson.cs"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7df91a26b2f9a4492edcb884b25ca0f9d5ff9d267192492bc9ef5624c2f5835"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (29 lines \u00D7 2): src/Senparc.Weixin.Open/Senparc.Weixin.Open/ComponentAPIs/ComponentJson/GetPrivacySettingResult.cs:71-99 | src/Senparc.Weixin.Open/Senparc.Weixin.Open/ComponentAPIs/RequestData/SetPrivacySettingData.cs:35-63 \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 \u0060src/Senparc.Weixin.Open/Senparc.Weixin.Open/ComponentAPIs/ComponentJson/GetPrivacySettingResult.cs:71\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.Open/Senparc.Weixin.Open/ComponentAPIs/ComponentJson/GetPrivacySettingResult.cs"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"0501e1b354bf81e3ac078b4840ccc14c4a871aca95d8b0fdfaf3474cdaca3b8c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28\u201329 lines \u00D7 2): src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Helpers/TenPaySignHelper.cs:212-239 | src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/TenPayHttpClient/Verifier/SHA256WithRSAVerifier.cs:57-85 \u2014 before extracting anything, compare \u0060src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Helpers/TenPaySignHelper.cs\u0060 and \u0060src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/TenPayHttpClient/Verifier/SHA256WithRSAVerifier.cs\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. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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 \u0060src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Helpers/TenPaySignHelper.cs:212\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":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Helpers/TenPaySignHelper.cs"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2991d55534bb87c88a8ffa728195c82c6567672aa3a4739c1165310a2e6f341"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28 lines \u00D7 2): src/Senparc.Weixin.Work/Senparc.Weixin.Work/Tencent/WXBizMsgCrypt.cs:266-293 | src/Senparc.Weixin/Senparc.Weixin/Tencent/WXBizMsgCrypt.cs:156-183 \u2014 before extracting anything, compare \u0060src/Senparc.Weixin.Work/Senparc.Weixin.Work/Tencent/WXBizMsgCrypt.cs\u0060 and \u0060src/Senparc.Weixin/Senparc.Weixin/Tencent/WXBizMsgCrypt.cs\u0060 as WHOLE FILES: this scan already matched 5 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. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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 \u0060src/Senparc.Weixin.Work/Senparc.Weixin.Work/Tencent/WXBizMsgCrypt.cs:266\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.Work/Senparc.Weixin.Work/Tencent/WXBizMsgCrypt.cs"},"region":{"startLine":266}}}],"partialFingerprints":{"codehealthFindingId/v1":"45dd1ce805dc7036c9421482f073326f90dc008c90837dd5517e89c75f633153"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28 lines \u00D7 2): src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V2/TenPayUtil.cs:81-108 | src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/TenPayV3Util.cs:89-116 \u2014 before extracting anything, compare \u0060src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V2/TenPayUtil.cs\u0060 and \u0060src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/TenPayV3Util.cs\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 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":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V2/TenPayUtil.cs"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"5dae49c3a2c496b8b983b8a525975e5d4e5b7a363589b88ffb3ba4a95f2d36df"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 2): src/Senparc.Weixin.Work/Senparc.Weixin.Work/Tencent/Cryptography.cs:230-256 | src/Senparc.Weixin/Senparc.Weixin/Tencent/Cryptography.cs:250-276 \u2014 before extracting anything, compare \u0060src/Senparc.Weixin.Work/Senparc.Weixin.Work/Tencent/Cryptography.cs\u0060 and \u0060src/Senparc.Weixin/Senparc.Weixin/Tencent/Cryptography.cs\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 205 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"src/Senparc.Weixin.Work/Senparc.Weixin.Work/Tencent/Cryptography.cs"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a550c8ad42ddba9400b97a3118136b0b2eb3e10e0c72ccbf824a730bec4a5eb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 2): src/Senparc.Weixin/Senparc.Weixin/CommonAPIs/ApiHandlerWapper/ApiHandlerWapperBase.cs:239-265 | src/Senparc.Weixin/Senparc.Weixin/CommonAPIs/ApiHandlerWapper/ApiHandlerWapperBase.cs:390-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 \u0060src/Senparc.Weixin/Senparc.Weixin/CommonAPIs/ApiHandlerWapper/ApiHandlerWapperBase.cs:239\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin/Senparc.Weixin/CommonAPIs/ApiHandlerWapper/ApiHandlerWapperBase.cs"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8c7a660ca0a12959272e38d431effd072b6c010c7440368fefcc763cd082696"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 2): src/Senparc.Weixin.MP/Senparc.Weixin.MP/AdvancedAPIs/Custom/CustomApi.cs:162-189 | src/Senparc.Weixin.MP/Senparc.Weixin.MP/AdvancedAPIs/Custom/CustomApi.cs:700-726 \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 \u0060src/Senparc.Weixin.MP/Senparc.Weixin.MP/AdvancedAPIs/Custom/CustomApi.cs:162\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":"src/Senparc.Weixin.MP/Senparc.Weixin.MP/AdvancedAPIs/Custom/CustomApi.cs"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"8347ed5262f80c346e044a8c497b4d2142b213f276d977f456d27345c30aef62"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 2): src/Senparc.Weixin.MP/Senparc.Weixin.MP/AdvancedAPIs/Custom/CustomApi.cs:210-238 | src/Senparc.Weixin.MP/Senparc.Weixin.MP/AdvancedAPIs/Custom/CustomApi.cs:748-774 \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 \u0060src/Senparc.Weixin.MP/Senparc.Weixin.MP/AdvancedAPIs/Custom/CustomApi.cs:210\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":"src/Senparc.Weixin.MP/Senparc.Weixin.MP/AdvancedAPIs/Custom/CustomApi.cs"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"0414f3739c22ea3cffcb7c7c1c797a2e2e2bedc2353726117cbb5057d08d85cb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 2): src/Senparc.Weixin.MP/Senparc.Weixin.MP/AdvancedAPIs/Custom/CustomApi.cs:439-465 | src/Senparc.Weixin.MP/Senparc.Weixin.MP/AdvancedAPIs/Custom/CustomApi.cs:978-1004 \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 \u0060src/Senparc.Weixin.MP/Senparc.Weixin.MP/AdvancedAPIs/Custom/CustomApi.cs:439\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":"src/Senparc.Weixin.MP/Senparc.Weixin.MP/AdvancedAPIs/Custom/CustomApi.cs"},"region":{"startLine":439}}}],"partialFingerprints":{"codehealthFindingId/v1":"e35d73aaa31bde878aa3a54c97424e5449bbae5595b9ecc7be274c56bb547858"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 2): src/Senparc.Weixin.Open/Senparc.Weixin.Open/ComponentAPIs/ComponentApi.cs:412-438 | src/Senparc.Weixin.Open/Senparc.Weixin.Open/ComponentAPIs/ComponentApi.cs:1107-1133 \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 \u0060src/Senparc.Weixin.Open/Senparc.Weixin.Open/ComponentAPIs/ComponentApi.cs:412\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":"src/Senparc.Weixin.Open/Senparc.Weixin.Open/ComponentAPIs/ComponentApi.cs"},"region":{"startLine":412}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e5d5e4b7ee218f9b670450fbeb715afb46ea01ba1e5fde5b3e3eed429367b46"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 2): src/Senparc.Weixin.Work/Senparc.Weixin.Work/AdvancedAPIs/Mass/MassApi.cs:424-449 | src/Senparc.Weixin.Work/Senparc.Weixin.Work/AdvancedAPIs/Mass/MassApi.cs:991-1016 \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 \u0060src/Senparc.Weixin.Work/Senparc.Weixin.Work/AdvancedAPIs/Mass/MassApi.cs:424\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":"src/Senparc.Weixin.Work/Senparc.Weixin.Work/AdvancedAPIs/Mass/MassApi.cs"},"region":{"startLine":424}}}],"partialFingerprints":{"codehealthFindingId/v1":"e741d0e72c0c771d493b8ec17784f721567ca7a652daa6da1d26492cc48f1e24"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 2): src/Senparc.Weixin.MP/Senparc.Weixin.MP/CommonAPIs/Menu/CommonApi.Menu.Custom.cs:180-205 | src/Senparc.Weixin.Work/Senparc.Weixin.Work/CommonAPIs/CommonApi.Menu.cs:136-161 \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 \u0060src/Senparc.Weixin.MP/Senparc.Weixin.MP/CommonAPIs/Menu/CommonApi.Menu.Custom.cs:180\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":"src/Senparc.Weixin.MP/Senparc.Weixin.MP/CommonAPIs/Menu/CommonApi.Menu.Custom.cs"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d30d81fa4b041b7dfe8388fe54d92b4232a47bbcd78a1be178316fb48298889"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 2): src/Senparc.Weixin.MP/Senparc.Weixin.MP/AdvancedAPIs/ShakeAround/ShakeAroundApi.cs:948-973 | src/Senparc.Weixin.MP/Senparc.Weixin.MP/AdvancedAPIs/ShakeAround/ShakeAroundApi.cs:1951-1976 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Senparc.Weixin.MP/Senparc.Weixin.MP/AdvancedAPIs/ShakeAround/ShakeAroundApi.cs:948\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":"src/Senparc.Weixin.MP/Senparc.Weixin.MP/AdvancedAPIs/ShakeAround/ShakeAroundApi.cs"},"region":{"startLine":948}}}],"partialFingerprints":{"codehealthFindingId/v1":"72aa6c7b1da28eef27795fa38eae65f07ec6cc1d115196100fe5f268fc641216"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 2): src/Senparc.Weixin.Open/Senparc.Weixin.Open/ComponentAPIs/ComponentApi.cs:649-674 | src/Senparc.Weixin.Open/Senparc.Weixin.Open/ComponentAPIs/ComponentApi.cs:1346-1371 \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 \u0060src/Senparc.Weixin.Open/Senparc.Weixin.Open/ComponentAPIs/ComponentApi.cs:649\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":"src/Senparc.Weixin.Open/Senparc.Weixin.Open/ComponentAPIs/ComponentApi.cs"},"region":{"startLine":649}}}],"partialFingerprints":{"codehealthFindingId/v1":"0509048908988ac938540f35caa51ae0e5e6a7ed49432768759e678d7123e83d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 2): src/Senparc.Weixin.MP.Middleware/MessageHandlers/Middleware/MpMessageHandlerMiddleware.cs:78-103 | src/Senparc.Weixin.WxOpen.Middleware/MessageHandlers/Middleware/WxOpenMessageHandlerMiddleware.cs:79-104 \u2014 before extracting anything, compare \u0060src/Senparc.Weixin.MP.Middleware/MessageHandlers/Middleware/MpMessageHandlerMiddleware.cs\u0060 and \u0060src/Senparc.Weixin.WxOpen.Middleware/MessageHandlers/Middleware/WxOpenMessageHandlerMiddleware.cs\u0060 as WHOLE FILES: 82% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 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":"src/Senparc.Weixin.MP.Middleware/MessageHandlers/Middleware/MpMessageHandlerMiddleware.cs"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"befa73c5c7935be0b3feebe39f06ccaf00e36a37c8fc7ff8bddcf62f1f5c4745"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 2): src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Helpers/TenPaySignHelper.cs:179-204 | src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/TenPayHttpClient/Verifier/SHA256WithRSAVerifier.cs:32-57 \u2014 before extracting anything, compare \u0060src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Helpers/TenPaySignHelper.cs\u0060 and \u0060src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/TenPayHttpClient/Verifier/SHA256WithRSAVerifier.cs\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. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Helpers/TenPaySignHelper.cs"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"27e79531ae83a6c22efa6129977a3882c305770f91006734ac2c7ea5e35d0116"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2): src/Senparc.Weixin.Work/Senparc.Weixin.Work/Tencent/Cryptography.cs:96-120 | src/Senparc.Weixin/Senparc.Weixin/Tencent/Cryptography.cs:116-140 \u2014 before extracting anything, compare \u0060src/Senparc.Weixin.Work/Senparc.Weixin.Work/Tencent/Cryptography.cs\u0060 and \u0060src/Senparc.Weixin/Senparc.Weixin/Tencent/Cryptography.cs\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 205 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"src/Senparc.Weixin.Work/Senparc.Weixin.Work/Tencent/Cryptography.cs"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"39adf54dc02ddb1ea4039aff3c78868c764d8c6e6d7f29c20e6de876dbec5678"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2): src/Senparc.Weixin.MP/Senparc.Weixin.MP/AdvancedAPIs/WiFi/WiFiApi.cs:339-363 | src/Senparc.Weixin.MP/Senparc.Weixin.MP/AdvancedAPIs/WiFi/WiFiApi.cs:843-867 \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 \u0060src/Senparc.Weixin.MP/Senparc.Weixin.MP/AdvancedAPIs/WiFi/WiFiApi.cs:339\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":"src/Senparc.Weixin.MP/Senparc.Weixin.MP/AdvancedAPIs/WiFi/WiFiApi.cs"},"region":{"startLine":339}}}],"partialFingerprints":{"codehealthFindingId/v1":"44488e54b79325e6a296d5990d3e3376c3ca0c997b6bf9b1f1c2bf99a73f80b5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2): src/Senparc.Weixin.MP/Senparc.Weixin.MP/Containers/AccessTokenContainer.cs:237-265 | src/Senparc.Weixin.WxOpen/src/Senparc.Weixin.WxOpen/Senparc.Weixin.WxOpen/Containers/AccessTokenContainer.cs:162-186 \u2014 before extracting anything, compare \u0060src/Senparc.Weixin.MP/Senparc.Weixin.MP/Containers/AccessTokenContainer.cs\u0060 and \u0060src/Senparc.Weixin.WxOpen/src/Senparc.Weixin.WxOpen/Senparc.Weixin.WxOpen/Containers/AccessTokenContainer.cs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 51 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Senparc.Weixin.MP/Senparc.Weixin.MP/Containers/AccessTokenContainer.cs:237\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":"src/Senparc.Weixin.MP/Senparc.Weixin.MP/Containers/AccessTokenContainer.cs"},"region":{"startLine":237}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c2548421fe8c8a90889791c8d59494bf0018c1eaf15bf79fbd503eeee51720b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2): src/Senparc.Weixin.WxOpen/src/Senparc.Weixin.WxOpen/Senparc.Weixin.WxOpen/AdvancedAPIs/WxApp/WxAppApi.cs:902-926 | src/Senparc.Weixin.WxOpen/src/Senparc.Weixin.WxOpen/Senparc.Weixin.WxOpen/AdvancedAPIs/WxApp/WxAppApi.cs:1777-1801 \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 \u0060src/Senparc.Weixin.WxOpen/src/Senparc.Weixin.WxOpen/Senparc.Weixin.WxOpen/AdvancedAPIs/WxApp/WxAppApi.cs:902\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":"src/Senparc.Weixin.WxOpen/src/Senparc.Weixin.WxOpen/Senparc.Weixin.WxOpen/AdvancedAPIs/WxApp/WxAppApi.cs"},"region":{"startLine":902}}}],"partialFingerprints":{"codehealthFindingId/v1":"afc171f9356b2553008b380844880224ea21d37c1595eab72c4f2d28f9cd96ed"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2): src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/FundApp/FundAppAuthorizationModels.cs:170-194 | src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/FundApp/FundAppAuthorizationNotifyModels.cs:85-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 \u0060src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/FundApp/FundAppAuthorizationModels.cs:170\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":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/FundApp/FundAppAuthorizationModels.cs"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca528408877286964684a0c25f843154f80274cb12f2a7da0f4333c1434534b5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2): src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/ProductCoupon/ProductCouponModels.cs:32-56 | src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/ProductCoupon/ProductCouponModels.cs:842-866 \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":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/ProductCoupon/ProductCouponModels.cs"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d2f7f2dacbfe4295a7c146c6ca7dd85992691057d727d7bde304b5197d73602"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): src/Senparc.Weixin/Senparc.Weixin/CommonAPIs/ApiHandlerWapper/ApiHandlerWapperBase.cs:201-224 | src/Senparc.Weixin/Senparc.Weixin/CommonAPIs/ApiHandlerWapper/ApiHandlerWapperBase.cs:352-375 \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 \u0060src/Senparc.Weixin/Senparc.Weixin/CommonAPIs/ApiHandlerWapper/ApiHandlerWapperBase.cs:201\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":"src/Senparc.Weixin/Senparc.Weixin/CommonAPIs/ApiHandlerWapper/ApiHandlerWapperBase.cs"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"866e13376a54865e4552fdfb14267d238bdf241d703b987b70c59aa298641538"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): src/Senparc.Weixin.MP/Senparc.Weixin.MP/AdvancedAPIs/CustomService/CustomServiceApi.cs:96-119 | src/Senparc.Weixin.MP/Senparc.Weixin.MP/AdvancedAPIs/CustomService/CustomServiceApi.cs:431-454 \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 \u0060src/Senparc.Weixin.MP/Senparc.Weixin.MP/AdvancedAPIs/CustomService/CustomServiceApi.cs: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. 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":"src/Senparc.Weixin.MP/Senparc.Weixin.MP/AdvancedAPIs/CustomService/CustomServiceApi.cs"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"df9a44b442a4ad4f96718f3366717c2db99ec66ec83f13f6ebd7909bd0e25ca2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23\u201324 lines \u00D7 2): src/Senparc.Weixin.Open/Senparc.Weixin.Open/ComponentAPIs/ComponentApi.cs:459-482 | src/Senparc.Weixin.Open/Senparc.Weixin.Open/ComponentAPIs/ComponentApi.cs:1154-1176 \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 \u0060src/Senparc.Weixin.Open/Senparc.Weixin.Open/ComponentAPIs/ComponentApi.cs:459\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":"src/Senparc.Weixin.Open/Senparc.Weixin.Open/ComponentAPIs/ComponentApi.cs"},"region":{"startLine":459}}}],"partialFingerprints":{"codehealthFindingId/v1":"723c142b20d61af3610f71a0f073ea260da896a7ab58cc2c33b2d2f880ea46e5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): src/Senparc.Weixin.Open/Senparc.Weixin.Open/WxaAPIs/ModifyDomain/ModifyDomainApi.cs:72-95 | src/Senparc.Weixin.Open/Senparc.Weixin.Open/WxaAPIs/ModifyDomain/ModifyDomainApi.cs:123-146 \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. 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":"src/Senparc.Weixin.Open/Senparc.Weixin.Open/WxaAPIs/ModifyDomain/ModifyDomainApi.cs"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"1280fd753772ea0b5b7280703de0206e7c9d05557b273c395e0935ec85dac9c6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): src/Senparc.Weixin.WxOpen/src/Senparc.Weixin.WxOpen/Senparc.Weixin.WxOpen/AdvancedAPIs/WxApp/WxAppApi.cs:480-503 | src/Senparc.Weixin.WxOpen/src/Senparc.Weixin.WxOpen/Senparc.Weixin.WxOpen/AdvancedAPIs/WxApp/WxAppApi.cs:1355-1378 \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 \u0060src/Senparc.Weixin.WxOpen/src/Senparc.Weixin.WxOpen/Senparc.Weixin.WxOpen/AdvancedAPIs/WxApp/WxAppApi.cs:480\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":"src/Senparc.Weixin.WxOpen/src/Senparc.Weixin.WxOpen/Senparc.Weixin.WxOpen/AdvancedAPIs/WxApp/WxAppApi.cs"},"region":{"startLine":480}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4cada4df1f66b72da55c4c1067949b19ebb891695438afa65e39d5af3a8ad6d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18\u201324 lines \u00D7 2): src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/Entities/Request/TenPayV3UnifiedorderRequestData.cs:361-378 | src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/Entities/Request/TenpayV3ProfitShareingRequestData.cs:678-701 \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":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/Entities/Request/TenPayV3UnifiedorderRequestData.cs"},"region":{"startLine":361}}}],"partialFingerprints":{"codehealthFindingId/v1":"7019b09e48c204f6a348cd60fddf71d9e128c699d5e6010a13d97b02589657ce"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/Apply4Sub/Entities/RequestData/Apply4SubCurrentRequestData.cs:275-298 | src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/Apply4Subject/Entities/RequestData/Apply4SubjectCurrentRequestData.cs:264-287 \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 \u0060src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/Apply4Sub/Entities/RequestData/Apply4SubCurrentRequestData.cs:275\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":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/Apply4Sub/Entities/RequestData/Apply4SubCurrentRequestData.cs"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"f50348b6934ac209ea375961e891b7131e5d39708209321861b487fe67f06215"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21\u201324 lines \u00D7 2): src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Helpers/TenPaySignHelper.cs:88-111 | src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/TenPayHttpClient/Signer/SHA256WithRSASigner.cs:14-34 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Helpers/TenPaySignHelper.cs"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ad919ae6b2d473e7afbaea2f3f5f526612537d39e7b6d86b943cc34ec0c17cf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22\u201323 lines \u00D7 3): src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/HttpHandlers/TenPayApiRequest.cs:525-546 | src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/HttpHandlers/TenPayApiRequest.cs:802-824 | src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/TenPayHttpClient/TenPayHttpClient.cs:199-220 \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 \u0060src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/HttpHandlers/TenPayApiRequest.cs:525\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":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/HttpHandlers/TenPayApiRequest.cs"},"region":{"startLine":525}}}],"partialFingerprints":{"codehealthFindingId/v1":"5201a9f96f0b5c306003a7df3eb41a7de3d9d1e631b2262d8fc7ef4e00d1dbb5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): src/Senparc.Weixin.Work/Senparc.Weixin.Work/AdvancedAPIs/Mass/MassApi.cs:266-288 | src/Senparc.Weixin.Work/Senparc.Weixin.Work/AdvancedAPIs/Mass/MassApi.cs:835-857 \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 \u0060src/Senparc.Weixin.Work/Senparc.Weixin.Work/AdvancedAPIs/Mass/MassApi.cs:266\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":"src/Senparc.Weixin.Work/Senparc.Weixin.Work/AdvancedAPIs/Mass/MassApi.cs"},"region":{"startLine":266}}}],"partialFingerprints":{"codehealthFindingId/v1":"892c1b422109d840db4673da43b959f5dcc5b7d5098cacf0cf69843231a4f63b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): src/Senparc.Weixin.Work/Senparc.Weixin.Work/AdvancedAPIs/Mass/MassApi.cs:480-502 | src/Senparc.Weixin.Work/Senparc.Weixin.Work/AdvancedAPIs/Mass/MassApi.cs:1044-1066 \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 \u0060src/Senparc.Weixin.Work/Senparc.Weixin.Work/AdvancedAPIs/Mass/MassApi.cs:480\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":"src/Senparc.Weixin.Work/Senparc.Weixin.Work/AdvancedAPIs/Mass/MassApi.cs"},"region":{"startLine":480}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a026775e6cf818955cd3920dcf8b83a70da7945a6efb9b93b9bea865032a6a3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22\u201323 lines \u00D7 2): src/Senparc.Weixin.Work/Senparc.Weixin.Work/AdvancedAPIs/Webhook/WebhookApi.cs:82-104 | src/Senparc.Weixin.Work/Senparc.Weixin.Work/AdvancedAPIs/Webhook/WebhookApi.cs:304-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 \u0060src/Senparc.Weixin.Work/Senparc.Weixin.Work/AdvancedAPIs/Webhook/WebhookApi.cs:82\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":"src/Senparc.Weixin.Work/Senparc.Weixin.Work/AdvancedAPIs/Webhook/WebhookApi.cs"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bc3effcd0d0b8b44654d0a6c53caba15537ff60d177973d2d452281facbfb8c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): src/Senparc.Weixin.MP/Senparc.Weixin.MP/AdvancedAPIs/Media/MediaApi.cs:348-370 | src/Senparc.Weixin.MP/Senparc.Weixin.MP/AdvancedAPIs/Media/MediaApi.cs:900-922 \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 \u0060src/Senparc.Weixin.MP/Senparc.Weixin.MP/AdvancedAPIs/Media/MediaApi.cs:348\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":"src/Senparc.Weixin.MP/Senparc.Weixin.MP/AdvancedAPIs/Media/MediaApi.cs"},"region":{"startLine":348}}}],"partialFingerprints":{"codehealthFindingId/v1":"42da88748720ec2c78655a31a23374631f2b71bb81a0ef3725eaec8adc8a2792"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 4): src/Senparc.Weixin.Open/Senparc.Weixin.Open/WxaAPIs/Domain/DomainApi.cs:70-91 | src/Senparc.Weixin.Open/Senparc.Weixin.Open/WxaAPIs/Domain/DomainApi.cs:157-178 | src/Senparc.Weixin.Open/Senparc.Weixin.Open/WxaAPIs/Domain/DomainApi.cs:320-341 | src/Senparc.Weixin.Open/Senparc.Weixin.Open/WxaAPIs/Domain/DomainApi.cs:407-428 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Senparc.Weixin.Open/Senparc.Weixin.Open/WxaAPIs/Domain/DomainApi.cs:70\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. 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":"src/Senparc.Weixin.Open/Senparc.Weixin.Open/WxaAPIs/Domain/DomainApi.cs"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"67a07a9283d7d0af4b7b062fb9a33364e4aaf4529195e34740954fe4d970efa9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 4): src/Senparc.Weixin.Open/Senparc.Weixin.Open/WxaAPIs/Domain/DomainApi.cs:110-131 | src/Senparc.Weixin.Open/Senparc.Weixin.Open/WxaAPIs/Domain/DomainApi.cs:360-381 | src/Senparc.Weixin.Open/Senparc.Weixin.Open/WxaAPIs/SetWebViewDomain/SetWebViewDomainApi.cs:59-80 | src/Senparc.Weixin.Open/Senparc.Weixin.Open/WxaAPIs/SetWebViewDomain/SetWebViewDomainApi.cs:100-121 \u2014 before extracting anything, compare \u0060src/Senparc.Weixin.Open/Senparc.Weixin.Open/WxaAPIs/Domain/DomainApi.cs\u0060 and \u0060src/Senparc.Weixin.Open/Senparc.Weixin.Open/WxaAPIs/SetWebViewDomain/SetWebViewDomainApi.cs\u0060 as WHOLE FILES: 82% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 2 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Senparc.Weixin.Open/Senparc.Weixin.Open/WxaAPIs/Domain/DomainApi.cs:110\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. 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":"src/Senparc.Weixin.Open/Senparc.Weixin.Open/WxaAPIs/Domain/DomainApi.cs"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"cda1188eb2e14449ccdcc2b33da27908ea29be03719ca3df3509d06bf4df4862"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): src/Senparc.Weixin.Work/Senparc.Weixin.Work/AdvancedAPIs/Chat/ChatApi.cs:145-166 | src/Senparc.Weixin.Work/Senparc.Weixin.Work/AdvancedAPIs/Chat/ChatApi.cs:408-429 \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 \u0060src/Senparc.Weixin.Work/Senparc.Weixin.Work/AdvancedAPIs/Chat/ChatApi.cs:145\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. 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":"src/Senparc.Weixin.Work/Senparc.Weixin.Work/AdvancedAPIs/Chat/ChatApi.cs"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"d84f45c573781569fb223b83c82d394d769d7691112ab332b0979b4cdf3cf251"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): src/Senparc.Weixin.Work/Senparc.Weixin.Work/AdvancedAPIs/MeetingRoom/MeetingRoomJson.cs:44-65 | src/Senparc.Weixin.Work/Senparc.Weixin.Work/AdvancedAPIs/MeetingRoom/MeetingRoomJson.cs:98-119 \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":"src/Senparc.Weixin.Work/Senparc.Weixin.Work/AdvancedAPIs/MeetingRoom/MeetingRoomJson.cs"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4638ef756be26d8e57e74c8d07ff92d0eebb7325b1f492123257b4cb8ebc455"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): src/Senparc.Weixin.Work/Senparc.Weixin.Work/AdvancedAPIs/School/SchoolJson.cs:266-287 | src/Senparc.Weixin.Work/Senparc.Weixin.Work/AdvancedAPIs/School/SchoolJson.cs:345-366 \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":"src/Senparc.Weixin.Work/Senparc.Weixin.Work/AdvancedAPIs/School/SchoolJson.cs"},"region":{"startLine":266}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c023a01ff28b591257beb5a679f54c96025ecef650aa7599a696f6762dfc363"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19\u201322 lines \u00D7 2): src/Senparc.Weixin/Senparc.Weixin/Utilities/HttpUtility/Post.cs:98-119 | src/Senparc.Weixin/Senparc.Weixin/Utilities/HttpUtility/Post.cs:132-150 \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 \u0060src/Senparc.Weixin/Senparc.Weixin/Utilities/HttpUtility/Post.cs:98\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin/Senparc.Weixin/Utilities/HttpUtility/Post.cs"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"98087769d356c4b7ce7ef3b021b4aec702884622679bad8cd0dfdfd82ef1e955"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): src/Senparc.Weixin.Open/Senparc.Weixin.Open/WxaAPIs/Domain/DomainApi.cs:211-232 | src/Senparc.Weixin.Open/Senparc.Weixin.Open/WxaAPIs/Domain/DomainApi.cs:461-482 \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 \u0060src/Senparc.Weixin.Open/Senparc.Weixin.Open/WxaAPIs/Domain/DomainApi.cs:211\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. 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":"src/Senparc.Weixin.Open/Senparc.Weixin.Open/WxaAPIs/Domain/DomainApi.cs"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"03f9a1f2bed9904d550b4ee2a0bceb74b80c47bb544aab37222d332391fda123"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): src/Senparc.Weixin.WxOpen/src/Senparc.Weixin.WxOpen/Senparc.Weixin.WxOpen/AdvancedAPIs/WxApp/WxAppApi.cs:530-551 | src/Senparc.Weixin.WxOpen/src/Senparc.Weixin.WxOpen/Senparc.Weixin.WxOpen/AdvancedAPIs/WxApp/WxAppApi.cs:1403-1424 \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 \u0060src/Senparc.Weixin.WxOpen/src/Senparc.Weixin.WxOpen/Senparc.Weixin.WxOpen/AdvancedAPIs/WxApp/WxAppApi.cs:530\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":"src/Senparc.Weixin.WxOpen/src/Senparc.Weixin.WxOpen/Senparc.Weixin.WxOpen/AdvancedAPIs/WxApp/WxAppApi.cs"},"region":{"startLine":530}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbb6c5240e2ad3b4e651f005d9643d2d353f799a1c897469f25c744c06f23bbb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/MedicalInsurance/MedicalInsuranceModels.cs:72-93 | src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/MedicalInsurance/MedicalInsuranceModels.cs:198-219 \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":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/MedicalInsurance/MedicalInsuranceModels.cs"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdd50a75134437c9882f67f47b16ce3e1d0204fea5f5c18fa2ee120cb746de0c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201321 lines \u00D7 4): src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/RedPackApi/RedPackApi.Via.cs:133-153 | src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/RedPackApi/RedPackApi.cs:205-225 | src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/RedPackApi/RedPackApi.cs:401-420 | src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/RedPackApi/RedPackApi.cs:741-756 \u2014 before extracting anything, compare \u0060src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/RedPackApi/RedPackApi.Via.cs\u0060 and \u0060src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/RedPackApi/RedPackApi.cs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 97 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 \u0060src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/RedPackApi/RedPackApi.Via.cs:133\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/RedPackApi/RedPackApi.cs:398\u0060 calls \u0060SetParameter\u0060 and \u0060src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/RedPackApi/RedPackApi.Via.cs:130\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":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/RedPackApi/RedPackApi.Via.cs"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"48e6a42a951a6a620733c8bc4ff3cacaaa94c6414218fa5e89d8e4b68a22e4da"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 3): src/Senparc.Weixin.MP/Senparc.Weixin.MP/Containers/JsApiTicketContainer.cs:220-240 | src/Senparc.Weixin.MP/Senparc.Weixin.MP/Containers/OAuthAccessTokenContainer.cs:159-179 | src/Senparc.Weixin.MP/Senparc.Weixin.MP/Containers/WxCardApiTicketContainer.cs:193-213 \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 \u0060src/Senparc.Weixin.MP/Senparc.Weixin.MP/Containers/JsApiTicketContainer.cs:220\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.MP/Senparc.Weixin.MP/Containers/JsApiTicketContainer.cs"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c237cc58827bbf35834ea50ad8fd6c2e2f53d4c9b1afeee4591fe95af76d918"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 3): src/Senparc.Weixin.Open/Senparc.Weixin.Open/WxaAPIs/CloudBase/CloudBaseModels.cs:68-88 | src/Senparc.Weixin.Open/Senparc.Weixin.Open/WxaAPIs/CloudBaseBatch/CloudBaseBatchModels.cs:133-153 | src/Senparc.Weixin.Open/Senparc.Weixin.Open/WxaAPIs/CloudRun/CloudRunJsonResults.cs:143-177 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Senparc.Weixin.Open/Senparc.Weixin.Open/WxaAPIs/CloudBase/CloudBaseModels.cs:68\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":"src/Senparc.Weixin.Open/Senparc.Weixin.Open/WxaAPIs/CloudBase/CloudBaseModels.cs"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d12fc2eb2e900816e3ca854a98a86f76532263bfb4f72af71f08c99f33d6842"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 3): src/Senparc.Weixin.Open/Senparc.Weixin.Open/WxaAPIs/Domain/DomainApi.cs:361-381 | src/Senparc.Weixin.Open/Senparc.Weixin.Open/WxaAPIs/Domain/DomainApi.cs:462-482 | src/Senparc.Weixin.Open/Senparc.Weixin.Open/WxaAPIs/SetWebViewDomain/SetWebViewDomainApi.cs:101-121 \u2014 before extracting anything, compare \u0060src/Senparc.Weixin.Open/Senparc.Weixin.Open/WxaAPIs/Domain/DomainApi.cs\u0060 and \u0060src/Senparc.Weixin.Open/Senparc.Weixin.Open/WxaAPIs/SetWebViewDomain/SetWebViewDomainApi.cs\u0060 as WHOLE FILES: 82% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 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 \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.Open/Senparc.Weixin.Open/WxaAPIs/Domain/DomainApi.cs"},"region":{"startLine":361}}}],"partialFingerprints":{"codehealthFindingId/v1":"d58c9de01c37c35dab5b28f0ffc455c54005b0348edeff23ba3e81d8343e8bfc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18\u201321 lines \u00D7 3): src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/Entities/Request/TenpayV3ProfitShareingRequestData.cs:170-187 | src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/Entities/Request/TenpayV3ProfitShareingRequestData.cs:313-330 | src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/Entities/Request/TenpayV3ProfitShareingRequestData.cs:557-577 \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":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/Entities/Request/TenpayV3ProfitShareingRequestData.cs"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"c881dddde49cfe6bd97839d9d01da3963183a023dab6f030aa2c35df5464dd63"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): src/Senparc.Weixin.Work/Senparc.Weixin.Work/AdvancedAPIs/Mass/MassApi.cs:171-191 | src/Senparc.Weixin.Work/Senparc.Weixin.Work/AdvancedAPIs/Mass/MassApi.cs:740-760 \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 \u0060src/Senparc.Weixin.Work/Senparc.Weixin.Work/AdvancedAPIs/Mass/MassApi.cs:171\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":"src/Senparc.Weixin.Work/Senparc.Weixin.Work/AdvancedAPIs/Mass/MassApi.cs"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"db38464c3b196c448e4e993b33b0ff1504f4850bfb91a6f42fdf72e175974a8c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): src/Senparc.Weixin.Work/Senparc.Weixin.Work/AdvancedAPIs/Mass/MassApi.cs:217-237 | src/Senparc.Weixin.Work/Senparc.Weixin.Work/AdvancedAPIs/Mass/MassApi.cs:786-806 \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 \u0060src/Senparc.Weixin.Work/Senparc.Weixin.Work/AdvancedAPIs/Mass/MassApi.cs:217\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":"src/Senparc.Weixin.Work/Senparc.Weixin.Work/AdvancedAPIs/Mass/MassApi.cs"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"f63377793249fe6ea38cba55b38fde3c4ccdcb1f674e70eccf20fffabd871734"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): src/Senparc.Weixin.Work/Senparc.Weixin.Work/AdvancedAPIs/Mass/MassApi.cs:314-334 | src/Senparc.Weixin.Work/Senparc.Weixin.Work/AdvancedAPIs/Mass/MassApi.cs:883-903 \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 \u0060src/Senparc.Weixin.Work/Senparc.Weixin.Work/AdvancedAPIs/Mass/MassApi.cs:314\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":"src/Senparc.Weixin.Work/Senparc.Weixin.Work/AdvancedAPIs/Mass/MassApi.cs"},"region":{"startLine":314}}}],"partialFingerprints":{"codehealthFindingId/v1":"231557a479b47075c6e423f870312f9a87ec1f5a120206de7628cc9518806db5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): src/Senparc.Weixin.MP/Senparc.Weixin.MP/MessageContexts/DefaultMpMessageContext.cs:133-153 | src/Senparc.Weixin.Work/Senparc.Weixin.Work/MessageContext/DefaultWorkMessageContext.cs:116-136 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. 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":"src/Senparc.Weixin.MP/Senparc.Weixin.MP/MessageContexts/DefaultMpMessageContext.cs"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"48e20c18eb96bec8948c9d5137e493cc40cd52d14e1833c61c6341f305e7f713"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): src/Senparc.Weixin.Work/Senparc.Weixin.Work/Tencent/Cryptography.cs:52-72 | src/Senparc.Weixin/Senparc.Weixin/Tencent/Cryptography.cs:72-92 \u2014 before extracting anything, compare \u0060src/Senparc.Weixin.Work/Senparc.Weixin.Work/Tencent/Cryptography.cs\u0060 and \u0060src/Senparc.Weixin/Senparc.Weixin/Tencent/Cryptography.cs\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 205 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"src/Senparc.Weixin.Work/Senparc.Weixin.Work/Tencent/Cryptography.cs"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0177116b9bca4fd3ddc4c1fbf4ff4e856ebf7cab8597d19fc43ed754d245e35"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): src/Senparc.Weixin/Senparc.Weixin/Enums.cs:588-608 | src/Senparc.Weixin/Senparc.Weixin/Enums.cs:798-818 \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":"src/Senparc.Weixin/Senparc.Weixin/Enums.cs"},"region":{"startLine":588}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4759e633f739788c90e8d436cc652a709cad0d318db0038d0eb062dbc646d77"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): src/Senparc.Weixin.MP/Senparc.Weixin.MP/Entities/JsonResult/Menu/GetMenuResultFull.cs:69-89 | src/Senparc.Weixin.MP/Senparc.Weixin.MP/Entities/JsonResult/Menu/GetMenuResultFull.cs:106-126 \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 \u0060src/Senparc.Weixin.MP/Senparc.Weixin.MP/Entities/JsonResult/Menu/GetMenuResultFull.cs:69\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. 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":"src/Senparc.Weixin.MP/Senparc.Weixin.MP/Entities/JsonResult/Menu/GetMenuResultFull.cs"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"d76926d5ae7d0db6cc77fc84a262c3439421f4d613c43e5f7aea0ccebe46b2a2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): src/Senparc.Weixin.MP/Senparc.Weixin.MP/MessageHandlers/MessageHandler.cs:122-142 | src/Senparc.Weixin.WxOpen/src/Senparc.Weixin.WxOpen/Senparc.Weixin.WxOpen/MessageHandlers/WxOpenMessageHandler.cs:117-137 \u2014 before extracting anything, compare \u0060src/Senparc.Weixin.MP/Senparc.Weixin.MP/MessageHandlers/MessageHandler.cs\u0060 and \u0060src/Senparc.Weixin.WxOpen/src/Senparc.Weixin.WxOpen/Senparc.Weixin.WxOpen/MessageHandlers/WxOpenMessageHandler.cs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 71 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"src/Senparc.Weixin.MP/Senparc.Weixin.MP/MessageHandlers/MessageHandler.cs"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ce0fc00991179887129b546290507168b44d31557ae55118dd75312bfda0b3e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): src/Senparc.Weixin.MP/Senparc.Weixin.MP/MessageHandlers/MessageHandler.cs:241-261 | src/Senparc.Weixin.WxOpen/src/Senparc.Weixin.WxOpen/Senparc.Weixin.WxOpen/MessageHandlers/WxOpenMessageHandler.cs:202-222 \u2014 before extracting anything, compare \u0060src/Senparc.Weixin.MP/Senparc.Weixin.MP/MessageHandlers/MessageHandler.cs\u0060 and \u0060src/Senparc.Weixin.WxOpen/src/Senparc.Weixin.WxOpen/Senparc.Weixin.WxOpen/MessageHandlers/WxOpenMessageHandler.cs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 71 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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 \u0060src/Senparc.Weixin.MP/Senparc.Weixin.MP/MessageHandlers/MessageHandler.cs:241\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":"src/Senparc.Weixin.MP/Senparc.Weixin.MP/MessageHandlers/MessageHandler.cs"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"da003e4dfe24d7e53782bad219e3316063d5d55b6b4c459d63de0605e63aa6ed"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): src/Senparc.Weixin.WxOpen/src/Senparc.Weixin.WxOpen/Senparc.Weixin.WxOpen/AdvancedAPIs/WxApp/WxAppApi.cs:192-212 | src/Senparc.Weixin.WxOpen/src/Senparc.Weixin.WxOpen/Senparc.Weixin.WxOpen/AdvancedAPIs/WxApp/WxAppApi.cs:1024-1044 \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 \u0060src/Senparc.Weixin.WxOpen/src/Senparc.Weixin.WxOpen/Senparc.Weixin.WxOpen/AdvancedAPIs/WxApp/WxAppApi.cs:192\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":"src/Senparc.Weixin.WxOpen/src/Senparc.Weixin.WxOpen/Senparc.Weixin.WxOpen/AdvancedAPIs/WxApp/WxAppApi.cs"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8edf6263247ddfea094818821c5f959ef4f4d42f95c11e422d59f314f7557ea"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 6): src/Senparc.Weixin.Open/Senparc.Weixin.Open/WxaAPIs/Domain/DomainApi.cs:70-89 | src/Senparc.Weixin.Open/Senparc.Weixin.Open/WxaAPIs/Domain/DomainApi.cs:157-176 | src/Senparc.Weixin.Open/Senparc.Weixin.Open/WxaAPIs/Domain/DomainApi.cs:320-339 | src/Senparc.Weixin.Open/Senparc.Weixin.Open/WxaAPIs/Domain/DomainApi.cs:407-426 | src/Senparc.Weixin.Open/Senparc.Weixin.Open/WxaAPIs/ModifyDomain/ModifyDomainApi.cs:72-91 | src/Senparc.Weixin.Open/Senparc.Weixin.Open/WxaAPIs/ModifyDomain/ModifyDomainApi.cs:123-142 \u2014 there are 6 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 6 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Senparc.Weixin.Open/Senparc.Weixin.Open/WxaAPIs/Domain/DomainApi.cs:70\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. 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":"src/Senparc.Weixin.Open/Senparc.Weixin.Open/WxaAPIs/Domain/DomainApi.cs"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6fb14579031fe51abb97f81540256417711a31e99eee4ccb39c3d5552c89d7f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): src/Senparc.Weixin.Work/Senparc.Weixin.Work/AdvancedAPIs/Meeting/MeetingRecordCurrentJson.cs:59-81 | src/Senparc.Weixin.Work/Senparc.Weixin.Work/AdvancedAPIs/Meeting/MeetingRecordCurrentJson.cs:117-136 \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":"src/Senparc.Weixin.Work/Senparc.Weixin.Work/AdvancedAPIs/Meeting/MeetingRecordCurrentJson.cs"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"ded57627cfd221927b442af771207d2f61e11015497f562b7cdad8871c3ec872"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): src/Senparc.Weixin.Work/Senparc.Weixin.Work/Tencent/Cryptography.cs:75-94 | src/Senparc.Weixin/Senparc.Weixin/Tencent/Cryptography.cs:95-114 \u2014 before extracting anything, compare \u0060src/Senparc.Weixin.Work/Senparc.Weixin.Work/Tencent/Cryptography.cs\u0060 and \u0060src/Senparc.Weixin/Senparc.Weixin/Tencent/Cryptography.cs\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 205 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"src/Senparc.Weixin.Work/Senparc.Weixin.Work/Tencent/Cryptography.cs"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"49c6d77c0d12914567b8e229f3915e68bb764082b81248ff92e49f299f3f65b0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): src/Senparc.Weixin/Senparc.Weixin/Enums.cs:547-566 | src/Senparc.Weixin/Senparc.Weixin/Enums.cs:761-780 \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":"src/Senparc.Weixin/Senparc.Weixin/Enums.cs"},"region":{"startLine":547}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b2d080a1704fc08d7cb5589d231cfef61ad1273547b400045242ff5648268b9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V2/ClientResponseHandler.cs:198-217 | src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V2/RefundResponseHandler.cs:225-244 \u2014 before extracting anything, compare \u0060src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V2/ClientResponseHandler.cs\u0060 and \u0060src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V2/RefundResponseHandler.cs\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 73 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. 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":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V2/ClientResponseHandler.cs"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"5767713bc98feade4583d15ac4907e8fee9cf6c6884bdbbfb999223110491f4b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/TenPayV3InfoCollection.cs:73-92 | src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/TenPayV3InfoCollection.cs:84-103 \u2014 before extracting anything, compare \u0060src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/TenPayV3InfoCollection.cs\u0060 and \u0060src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/TenPayV3InfoCollection.cs\u0060 as WHOLE FILES: 90% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/TenPayV3InfoCollection.cs:71\u0060 calls \u0060object\u0060 and \u0060src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/TenPayV3InfoCollection.cs:61\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":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/TenPayV3InfoCollection.cs"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"766cd9b13775951304825d38e38a07fb31d56d120d054279a2879f57f80d0af2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/RedPackApi/RedPackApi.cs:264-283 | src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/RedPackApi/RedPackApi.cs: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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/RedPackApi/RedPackApi.cs"},"region":{"startLine":264}}}],"partialFingerprints":{"codehealthFindingId/v1":"f791ca6524ded098060dd36fddb78112fea6952d70f596c105fc6edf7c08f811"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/RedPackApi/RedPackApi.cs:465-484 | src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/RedPackApi/RedPackApi.cs:507-526 \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":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/RedPackApi/RedPackApi.cs"},"region":{"startLine":465}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bab4e07e64db5cf4bb0b9fcfa002cc36d9f9968b35a3fc0bb2c14dc1ce9bf70"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/RedPackApi/RedPackApi.cs:795-814 | src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/RedPackApi/RedPackApi.cs:832-851 \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, \u0060src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/RedPackApi/RedPackApi.cs:817\u0060 calls \u0060SelectSingleNode\u0060 and \u0060src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/RedPackApi/RedPackApi.cs:853\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":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/RedPackApi/RedPackApi.cs"},"region":{"startLine":795}}}],"partialFingerprints":{"codehealthFindingId/v1":"790ee7ee622899be7f529bbc015cdc8f5a39e8434ed4881dcc3af369f9970542"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/RedPackApi/RedPackApi.Via.cs:193-212 | src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/RedPackApi/RedPackApi.Via.cs:235-254 \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":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/RedPackApi/RedPackApi.Via.cs"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"54ea8b2fc6eaccfc862a5ab8a599749ebfe663fd1a3db91cac782e999e4ccb03"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/TenPayV3.cs:143-162 | src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/TenPayV3.cs:184-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 \u0060src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/TenPayV3.cs:143\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":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/TenPayV3.cs"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d5ff5d1e509a60bd9ff43ceea76df84f15fa3a7584a84db2275158e3264afe7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): src/Senparc.Weixin.Work/Senparc.Weixin.Work/AdvancedAPIs/MeetingRoom/MeetingRoomJson.cs:47-65 | src/Senparc.Weixin.Work/Senparc.Weixin.Work/AdvancedAPIs/MeetingRoom/MeetingRoomJson.cs:142-160 \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":"src/Senparc.Weixin.Work/Senparc.Weixin.Work/AdvancedAPIs/MeetingRoom/MeetingRoomJson.cs"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"26a73b94fa084dbb09289363501a46c6a718c1b9c1b0ec577d9a68d9c67f19fb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): src/Senparc.Weixin/Senparc.Weixin/Containers/BaseContainer.cs:336-354 | src/Senparc.Weixin/Senparc.Weixin/Containers/BaseContainer.cs:548-566 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Senparc.Weixin/Senparc.Weixin/Containers/BaseContainer.cs:336\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. 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":"src/Senparc.Weixin/Senparc.Weixin/Containers/BaseContainer.cs"},"region":{"startLine":336}}}],"partialFingerprints":{"codehealthFindingId/v1":"5aff5064c010ac076d28e156e184eac38a675d5ae54da2a487e58d74737f5fef"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): src/Senparc.Weixin/Senparc.Weixin/Enums.cs:261-279 | src/Senparc.Weixin/Senparc.Weixin/Enums.cs:655-673 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin/Senparc.Weixin/Enums.cs"},"region":{"startLine":261}}}],"partialFingerprints":{"codehealthFindingId/v1":"a722f7bf25f77b06f8ba41a4cc3b0135c0a6660e12eeed357097c3950007f58f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): src/Senparc.Weixin.MP/Senparc.Weixin.MP/AdvancedAPIs/Card/CardAPI.cs:1130-1148 | src/Senparc.Weixin.MP/Senparc.Weixin.MP/AdvancedAPIs/Card/CardAPI.cs:3297-3315 \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 \u0060src/Senparc.Weixin.MP/Senparc.Weixin.MP/AdvancedAPIs/Card/CardAPI.cs:1130\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":"src/Senparc.Weixin.MP/Senparc.Weixin.MP/AdvancedAPIs/Card/CardAPI.cs"},"region":{"startLine":1130}}}],"partialFingerprints":{"codehealthFindingId/v1":"765f8859f88ae33cc0f0927ec1b66d88bdad02d2c7034fc8d45039f61fe7a5fe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): src/Senparc.Weixin.WxOpen/src/Senparc.Weixin.WxOpen/Senparc.Weixin.WxOpen/AdvancedAPIs/LiveBroadcast/LiveBroadcastRoomJson.cs:77-95 | src/Senparc.Weixin.WxOpen/src/Senparc.Weixin.WxOpen/Senparc.Weixin.WxOpen/AdvancedAPIs/LiveBroadcast/LiveBroadcastRoomJson.cs:129-147 \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":"src/Senparc.Weixin.WxOpen/src/Senparc.Weixin.WxOpen/Senparc.Weixin.WxOpen/AdvancedAPIs/LiveBroadcast/LiveBroadcastRoomJson.cs"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ae388ea5f3990900b2f4915b85fb29d3c6488815456d11cf122ed0cce845dfe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): src/Senparc.Weixin.Cache/Senparc.Weixin.Cache.CsRedis/ContainerCacheStrategy/RedisContainerCacheStrategy.cs:175-193 | src/Senparc.Weixin.Cache/Senparc.Weixin.Cache.Redis/ContainerCacheStrategy/RedisContainerCacheStrategy.cs:176-194 \u2014 before extracting anything, compare \u0060src/Senparc.Weixin.Cache/Senparc.Weixin.Cache.CsRedis/ContainerCacheStrategy/RedisContainerCacheStrategy.cs\u0060 and \u0060src/Senparc.Weixin.Cache/Senparc.Weixin.Cache.Redis/ContainerCacheStrategy/RedisContainerCacheStrategy.cs\u0060 as WHOLE FILES: 98% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 2 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. 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":"src/Senparc.Weixin.Cache/Senparc.Weixin.Cache.CsRedis/ContainerCacheStrategy/RedisContainerCacheStrategy.cs"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c16a3e3071807e7e0519411e899ae30ebc86582aa50ac09c3c25a3fb8b40c05"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/Entities/Request/TenPayV3RefundRequestData.cs:189-207 | src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/Entities/Request/TenPayV3RefundRequestData.cs:263-281 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/Entities/Request/TenPayV3RefundRequestData.cs:189\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, \u0060src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/Entities/Request/TenPayV3RefundRequestData.cs:260\u0060 calls \u0060SetParameter\u0060 and \u0060src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/Entities/Request/TenPayV3RefundRequestData.cs:186\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":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/Entities/Request/TenPayV3RefundRequestData.cs"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"73d4b01075d46c00c271fd6888030ad47714f412a49d32ed2f78cbe89cf551bc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/Apply4Sub/Entities/ReturnJson/Apply4SubCurrentReturnJson.cs:92-110 | src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/Apply4Sub/Entities/ReturnJson/Apply4SubCurrentReturnJson.cs:122-140 \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":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/Apply4Sub/Entities/ReturnJson/Apply4SubCurrentReturnJson.cs"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"e952854b0be497d136c88dddf783393cf5739c6946cd1c51e28e8ea44fdbc57a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/BasePay/BasePayApis.cs:688-706 | src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/BasePay/BasePayApis.cs:731-749 \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 \u0060src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/BasePay/BasePayApis.cs:688\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":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/BasePay/BasePayApis.cs"},"region":{"startLine":688}}}],"partialFingerprints":{"codehealthFindingId/v1":"586812986847fa175544c50e0b02d7b6b7bc3317847012f70926405571fce3da"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/VehicleParking/Entities/ReturnJson/PayParkingReturnJson.cs:68-86 | src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/VehicleParking/Entities/ReturnJson/QueryParkingReturnJson.cs:68-86 \u2014 before extracting anything, compare \u0060src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/VehicleParking/Entities/ReturnJson/PayParkingReturnJson.cs\u0060 and \u0060src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/VehicleParking/Entities/ReturnJson/QueryParkingReturnJson.cs\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 307 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":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/VehicleParking/Entities/ReturnJson/PayParkingReturnJson.cs"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb6f045d1f6ab3cb11f1cc7691dabf75f190faee2cb9d8e5298bdd5c4500dbbc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 4): src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V2/ClientResponseHandler.cs:144-161 | src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V2/RefundResponseHandler.cs:152-169 | src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V2/ResponseHandler.cs:251-268 | src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/ResponseHandler.cs:277-294 \u2014 before extracting anything, compare \u0060src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V2/ClientResponseHandler.cs\u0060 and \u0060src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V2/RefundResponseHandler.cs\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 73 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V2/ClientResponseHandler.cs:144\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":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V2/ClientResponseHandler.cs"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a35ab1aed3b2862cc26ddbc9f64edc9d668dead74b4168a254fc8bbb795ede9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): src/Senparc.Weixin.Work/Senparc.Weixin.Work/AdvancedAPIs/Meeting/MeetingManagementJson.cs:61-78 | src/Senparc.Weixin.Work/Senparc.Weixin.Work/AdvancedAPIs/Meeting/MeetingManagementJson.cs:87-104 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.Work/Senparc.Weixin.Work/AdvancedAPIs/Meeting/MeetingManagementJson.cs"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"c130d09debbb6da5e10832fe88e3a3be3ce7f4cf25336c3d082fde6e3b8c1a67"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): src/Senparc.Weixin.Work/Senparc.Weixin.Work/Entities/Response/WorkResponseMessageBase.cs:59-76 | src/Senparc.Weixin.Work/Senparc.Weixin.Work/MessageContext/DefaultWorkMessageContext.cs:345-362 \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 \u0060src/Senparc.Weixin.Work/Senparc.Weixin.Work/Entities/Response/WorkResponseMessageBase.cs:59\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060src/Senparc.Weixin.Work/Senparc.Weixin.Work/Entities/Response/WorkResponseMessageBase.cs:77\u0060 calls \u0060ResponseMessageMpNews\u0060 and \u0060src/Senparc.Weixin.Work/Senparc.Weixin.Work/MessageContext/DefaultWorkMessageContext.cs:363\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":"src/Senparc.Weixin.Work/Senparc.Weixin.Work/Entities/Response/WorkResponseMessageBase.cs"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"f086c900ea5203640212e6208bd95fe72ff794be7dcb833eae41d697ed70adb6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): src/Senparc.Weixin.MP/Senparc.Weixin.MP/ResponseMessageFactory.cs:72-89 | src/Senparc.Weixin.Work/Senparc.Weixin.Work/ResponseMessageFactory.cs:33-50 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Senparc.Weixin.MP/Senparc.Weixin.MP/ResponseMessageFactory.cs:72\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. 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":"src/Senparc.Weixin.MP/Senparc.Weixin.MP/ResponseMessageFactory.cs"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"f90a2eec3bf4791b222d5f3b36715f1623db58c8e8215e5193d1b996d3717794"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): src/Senparc.Weixin.Work/Senparc.Weixin.Work/Tencent/WXBizMsgCrypt.cs:298-315 | src/Senparc.Weixin/Senparc.Weixin/Tencent/WXBizMsgCrypt.cs:230-247 \u2014 before extracting anything, compare \u0060src/Senparc.Weixin.Work/Senparc.Weixin.Work/Tencent/WXBizMsgCrypt.cs\u0060 and \u0060src/Senparc.Weixin/Senparc.Weixin/Tencent/WXBizMsgCrypt.cs\u0060 as WHOLE FILES: this scan already matched 5 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. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"src/Senparc.Weixin.Work/Senparc.Weixin.Work/Tencent/WXBizMsgCrypt.cs"},"region":{"startLine":298}}}],"partialFingerprints":{"codehealthFindingId/v1":"d803fb5f4e44a1bda07c7eadc81be89b82c3e6f066551861298ecb5b6ce89fec"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): src/Senparc.Weixin/Senparc.Weixin/CommonAPIs/ApiHandlerWapper/ApiHandlerWapperBase.cs:155-172 | src/Senparc.Weixin/Senparc.Weixin/CommonAPIs/ApiHandlerWapper/ApiHandlerWapperBase.cs:305-322 \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 \u0060src/Senparc.Weixin/Senparc.Weixin/CommonAPIs/ApiHandlerWapper/ApiHandlerWapperBase.cs:155\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":"src/Senparc.Weixin/Senparc.Weixin/CommonAPIs/ApiHandlerWapper/ApiHandlerWapperBase.cs"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"127089d034bf68dfa139bace5a1dc5040c3db6b43e81f95a2dd517ba5400ee15"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): src/Senparc.Weixin/Senparc.Weixin/CommonAPIs/CommonJsonSend.cs:358-375 | src/Senparc.Weixin/Senparc.Weixin/CommonAPIs/CommonJsonSend.cs:411-428 \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 \u0060src/Senparc.Weixin/Senparc.Weixin/CommonAPIs/CommonJsonSend.cs:358\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":"src/Senparc.Weixin/Senparc.Weixin/CommonAPIs/CommonJsonSend.cs"},"region":{"startLine":358}}}],"partialFingerprints":{"codehealthFindingId/v1":"b85c7def34fa2ef919b67fe43b6d18f668f8578a27d3e0d7adfe52949649bb49"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): src/Senparc.Weixin.MP/Senparc.Weixin.MP/AdvancedAPIs/Card/CardAPI.cs:1326-1343 | src/Senparc.Weixin.MP/Senparc.Weixin.MP/AdvancedAPIs/Card/CardAPI.cs:3489-3506 \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 \u0060src/Senparc.Weixin.MP/Senparc.Weixin.MP/AdvancedAPIs/Card/CardAPI.cs:1326\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":"src/Senparc.Weixin.MP/Senparc.Weixin.MP/AdvancedAPIs/Card/CardAPI.cs"},"region":{"startLine":1326}}}],"partialFingerprints":{"codehealthFindingId/v1":"d56b2fea324ee83e0be411f2f4519db66e68b7c4d5ac0e07fc192066513ca64d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): src/Senparc.Weixin.MP/Senparc.Weixin.MP/AdvancedAPIs/ShakeAround/ShakeAroundApi.cs:995-1012 | src/Senparc.Weixin.MP/Senparc.Weixin.MP/AdvancedAPIs/ShakeAround/ShakeAroundApi.cs:1998-2015 \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 \u0060src/Senparc.Weixin.MP/Senparc.Weixin.MP/AdvancedAPIs/ShakeAround/ShakeAroundApi.cs:995\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":"src/Senparc.Weixin.MP/Senparc.Weixin.MP/AdvancedAPIs/ShakeAround/ShakeAroundApi.cs"},"region":{"startLine":995}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0c4d7e98ac67bdf5987dcc30ac44692bca3f9cce0936287b4db72d2b95c8113"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): src/Senparc.Weixin.MP/Senparc.Weixin.MP/MessageHandlers/MessageHandler.cs:262-279 | src/Senparc.Weixin.WxOpen/src/Senparc.Weixin.WxOpen/Senparc.Weixin.WxOpen/MessageHandlers/WxOpenMessageHandler.cs:222-239 \u2014 before extracting anything, compare \u0060src/Senparc.Weixin.MP/Senparc.Weixin.MP/MessageHandlers/MessageHandler.cs\u0060 and \u0060src/Senparc.Weixin.WxOpen/src/Senparc.Weixin.WxOpen/Senparc.Weixin.WxOpen/MessageHandlers/WxOpenMessageHandler.cs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 71 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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 \u0060src/Senparc.Weixin.MP/Senparc.Weixin.MP/MessageHandlers/MessageHandler.cs:262\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":"src/Senparc.Weixin.MP/Senparc.Weixin.MP/MessageHandlers/MessageHandler.cs"},"region":{"startLine":262}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cf489edb8461d0032d9a31950fe365adc3c8d094028b3e75d33053038f981f5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): src/Senparc.Weixin.MP/Senparc.Weixin.MP/RequestMessageFactory.cs:82-99 | src/Senparc.Weixin.WxOpen/src/Senparc.Weixin.WxOpen/Senparc.Weixin.WxOpen/RequestMessageFactory.cs:77-94 \u2014 before extracting anything, compare \u0060src/Senparc.Weixin.MP/Senparc.Weixin.MP/RequestMessageFactory.cs\u0060 and \u0060src/Senparc.Weixin.WxOpen/src/Senparc.Weixin.WxOpen/Senparc.Weixin.WxOpen/RequestMessageFactory.cs\u0060 as WHOLE FILES: 90% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 2 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.MP/Senparc.Weixin.MP/RequestMessageFactory.cs"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"9667f193b7bcc6554469ab3092b947f698353d9f794fcb61c36150561f2afb79"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): src/Senparc.Weixin.Open/Senparc.Weixin.Open/WxaAPIs/Code/CodeApi.cs:162-179 | src/Senparc.Weixin.Open/Senparc.Weixin.Open/WxaAPIs/Code/CodeApi.cs:519-536 \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 \u0060src/Senparc.Weixin.Open/Senparc.Weixin.Open/WxaAPIs/Code/CodeApi.cs:162\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":"src/Senparc.Weixin.Open/Senparc.Weixin.Open/WxaAPIs/Code/CodeApi.cs"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"91bbb64df26725678d2541de14e1dd1cf64cebc15566995220683d0722b0a4b2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): src/Senparc.Weixin.Cache/Senparc.Weixin.Cache.CsRedis/ContainerCacheStrategy/RedisContainerCacheStrategy.cs:147-164 | src/Senparc.Weixin.Cache/Senparc.Weixin.Cache.Redis/ContainerCacheStrategy/RedisContainerCacheStrategy.cs:148-165 \u2014 before extracting anything, compare \u0060src/Senparc.Weixin.Cache/Senparc.Weixin.Cache.CsRedis/ContainerCacheStrategy/RedisContainerCacheStrategy.cs\u0060 and \u0060src/Senparc.Weixin.Cache/Senparc.Weixin.Cache.Redis/ContainerCacheStrategy/RedisContainerCacheStrategy.cs\u0060 as WHOLE FILES: 98% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 2 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.Cache/Senparc.Weixin.Cache.CsRedis/ContainerCacheStrategy/RedisContainerCacheStrategy.cs"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"12a9c4c686757ca3ec89b6480e5ca1f52193e59dadc29d3589bc53052cb51c2a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V2/RequestHandler.cs:271-288 | src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/ResponseHandler.cs:328-345 \u2014 before extracting anything, compare \u0060src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V2/RequestHandler.cs\u0060 and \u0060src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/ResponseHandler.cs\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 62 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V2/RequestHandler.cs:271\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":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V2/RequestHandler.cs"},"region":{"startLine":271}}}],"partialFingerprints":{"codehealthFindingId/v1":"6034e7238743a86d4ac9a609d6530a453de855a04e913f4df3bd7eb43f2728ef"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V2/TenPayUtil.cs:171-188 | src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/TenPayV3Util.cs:182-199 \u2014 before extracting anything, compare \u0060src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V2/TenPayUtil.cs\u0060 and \u0060src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/TenPayV3Util.cs\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 2 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V2/TenPayUtil.cs:171\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The \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":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V2/TenPayUtil.cs"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"5417088596c6ff9de2cd1bf111a559edafded711f6c7300a4679bbc465d08833"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/Entities/Request/TenPayV3CloseOrderRequestData.cs:103-120 | src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/Entities/Request/TenPayV3CloseOrderRequestData.cs:142-159 \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, \u0060src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/Entities/Request/TenPayV3CloseOrderRequestData.cs:161\u0060 calls \u0060SetParameter\u0060 and \u0060src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/Entities/Request/TenPayV3CloseOrderRequestData.cs:122\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":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/Entities/Request/TenPayV3CloseOrderRequestData.cs"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5ae3ed60ed29cccb9f838ed177fe19cb1658118d425f9232fab9d85b3b5b16e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201318 lines \u00D7 2): src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/RedPackApi/ShakeRedPackApi.cs:217-233 | src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/RedPackApi/ShakeRedPackApi.cs:244-261 \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 \u0060src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/RedPackApi/ShakeRedPackApi.cs:244\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/RedPackApi/ShakeRedPackApi.cs"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef013b9c57c588a90e6206a6336c5d22bcd9d26f335614be3933fd3ffea58d15"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): src/Senparc.Weixin.MCP.Server/InvokeWeixinApiHelper.cs:73-90 | src/Senparc.Weixin.MCP.Server/InvokeWeixinApiHelper.cs:110-127 \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 \u0060src/Senparc.Weixin.MCP.Server/InvokeWeixinApiHelper.cs:73\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":"src/Senparc.Weixin.MCP.Server/InvokeWeixinApiHelper.cs"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"e56c854f639a418f0fb120fa3321ae7c12bfbdf7ed44e6ccf1d309eb12e7b4e0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 3): src/Senparc.Weixin.MP/Senparc.Weixin.MP/AdvancedAPIs/Custom/CustomApi.cs:718-734 | src/Senparc.Weixin.MP/Senparc.Weixin.MP/AdvancedAPIs/Custom/CustomApi.cs:766-782 | src/Senparc.Weixin.MP/Senparc.Weixin.MP/AdvancedAPIs/Custom/CustomApi.cs:996-1012 \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 \u0060src/Senparc.Weixin.MP/Senparc.Weixin.MP/AdvancedAPIs/Custom/CustomApi.cs:718\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.MP/Senparc.Weixin.MP/AdvancedAPIs/Custom/CustomApi.cs"},"region":{"startLine":718}}}],"partialFingerprints":{"codehealthFindingId/v1":"5259e0a10e6faecd7e510c969ffba1bd252ac714f1ce9ef8922d7d573db9de24"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201317 lines \u00D7 3): src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/Entities/Request/TenPayV3GetTransferInfoRequestData.cs:95-109 | src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/Entities/Request/TenPayV3PayToWorkerRequestData.cs:188-204 | src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/Entities/Request/TenPayV3ReverseRequestData.cs:111-124 \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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/Entities/Request/TenPayV3ReverseRequestData.cs:126\u0060 calls \u0060SetParameter\u0060 and \u0060src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/Entities/Request/TenPayV3GetTransferInfoRequestData.cs:111\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/Entities/Request/TenPayV3GetTransferInfoRequestData.cs"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"818be058f15b99d1df26809d291d51035fe037c86537d5063c7e569dadc2bdb4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): src/Senparc.Weixin.Work/Senparc.Weixin.Work/Tencent/Cryptography.cs:200-216 | src/Senparc.Weixin/Senparc.Weixin/Tencent/Cryptography.cs:220-236 \u2014 before extracting anything, compare \u0060src/Senparc.Weixin.Work/Senparc.Weixin.Work/Tencent/Cryptography.cs\u0060 and \u0060src/Senparc.Weixin/Senparc.Weixin/Tencent/Cryptography.cs\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 205 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"src/Senparc.Weixin.Work/Senparc.Weixin.Work/Tencent/Cryptography.cs"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5d46b4ad4b16dfbe54cc0bba94e33e1780c652680a1679950e8a546a7ea39ae"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): src/Senparc.Weixin.MP/Senparc.Weixin.MP/AdvancedAPIs/Card/CardAPI.cs:1451-1467 | src/Senparc.Weixin.MP/Senparc.Weixin.MP/AdvancedAPIs/Card/CardAPI.cs:3598-3614 \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 \u0060src/Senparc.Weixin.MP/Senparc.Weixin.MP/AdvancedAPIs/Card/CardAPI.cs:1451\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":"src/Senparc.Weixin.MP/Senparc.Weixin.MP/AdvancedAPIs/Card/CardAPI.cs"},"region":{"startLine":1451}}}],"partialFingerprints":{"codehealthFindingId/v1":"f66e57db534c7307dd9e083d25bee1b69002b32a81f668bfa52f4418fca848d7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): src/Senparc.Weixin.MP/Senparc.Weixin.MP/AdvancedAPIs/Card/CardAPI.cs:1740-1756 | src/Senparc.Weixin.MP/Senparc.Weixin.MP/AdvancedAPIs/Card/CardAPI.cs:3887-3903 \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 \u0060src/Senparc.Weixin.MP/Senparc.Weixin.MP/AdvancedAPIs/Card/CardAPI.cs:1740\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":"src/Senparc.Weixin.MP/Senparc.Weixin.MP/AdvancedAPIs/Card/CardAPI.cs"},"region":{"startLine":1740}}}],"partialFingerprints":{"codehealthFindingId/v1":"37b13d592f46a608ab98d028c04b4cb59c54781d3f1b46cd89b47c07a8388396"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201317 lines \u00D7 2): src/Senparc.Weixin.WxOpen/src/Senparc.Weixin.WxOpen/Senparc.Weixin.WxOpen/Helpers/EncryptHelper.cs:159-175 | src/Senparc.Weixin.WxOpen/src/Senparc.Weixin.WxOpen/Senparc.Weixin.WxOpen/Helpers/EncryptHelper.cs:185-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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Senparc.Weixin.WxOpen/src/Senparc.Weixin.WxOpen/Senparc.Weixin.WxOpen/Helpers/EncryptHelper.cs:159\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.WxOpen/src/Senparc.Weixin.WxOpen/Senparc.Weixin.WxOpen/Helpers/EncryptHelper.cs"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"e95c7b1c057833d3f6810c9cd4b34de0beee8e09afc4368d5b537ff8c3d38df7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/Entities/Request/TenPayV3MicroPayRequestData.cs:150-166 | src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/Entities/Request/TenPayV3RefundQueryRequestData.cs:134-150 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/Entities/Request/TenPayV3MicroPayRequestData.cs"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"07d5788139bd17f8ee8d4f89d4a7c3b67afd4d7acb658793a2e1c39291acf98a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201317 lines \u00D7 2): src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/ChainBrandProfitsharing/ChainBrandProfitsharingApis.cs:376-392 | src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/Security/SecurityEchoApis.cs:97-111 \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":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/ChainBrandProfitsharing/ChainBrandProfitsharingApis.cs"},"region":{"startLine":376}}}],"partialFingerprints":{"codehealthFindingId/v1":"a21d09fc31d8dd36ed67d2e22cdc010e6f896918c50c27e9b843424ac0dbf24d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/PayScore/Entities/NotifyJson/ConfirmServiceOrderNotifyJson.cs:69-85 | src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/PayScore/Entities/NotifyJson/PayServiceOrderNotifyJson.cs:71-87 \u2014 before extracting anything, compare \u0060src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/PayScore/Entities/NotifyJson/ConfirmServiceOrderNotifyJson.cs\u0060 and \u0060src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/PayScore/Entities/NotifyJson/PayServiceOrderNotifyJson.cs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 177 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 \u0060src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/PayScore/Entities/NotifyJson/ConfirmServiceOrderNotifyJson.cs:69\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/PayScore/Entities/NotifyJson/ConfirmServiceOrderNotifyJson.cs"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"43ce38d5782b043c6d407ecfc3bc66aac81529d83e81389b4adc57aa629deae1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 3): src/Senparc.Weixin.Work/Senparc.Weixin.Work/AdvancedAPIs/Mass/MassApi.cs:749-764 | src/Senparc.Weixin.Work/Senparc.Weixin.Work/AdvancedAPIs/Mass/MassApi.cs:795-810 | src/Senparc.Weixin.Work/Senparc.Weixin.Work/AdvancedAPIs/Mass/MassApi.cs:892-907 \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 \u0060src/Senparc.Weixin.Work/Senparc.Weixin.Work/AdvancedAPIs/Mass/MassApi.cs:749\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.Work/Senparc.Weixin.Work/AdvancedAPIs/Mass/MassApi.cs"},"region":{"startLine":749}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ec992e7c2f1b0336ff9e691c02d1233d0139a96ef14f13e3cb78361920e78b0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 3): src/Senparc.Weixin.MP/Senparc.Weixin.MP/ResponseMessageFactory.cs:76-91 | src/Senparc.Weixin.Work/Senparc.Weixin.Work/Entities/Response/WorkResponseMessageBase.cs:136-151 | src/Senparc.Weixin.Work/Senparc.Weixin.Work/ResponseMessageFactory.cs:37-52 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Senparc.Weixin.MP/Senparc.Weixin.MP/ResponseMessageFactory.cs:76\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060src/Senparc.Weixin.MP/Senparc.Weixin.MP/ResponseMessageFactory.cs:92\u0060 calls \u0060ResponseMessageMusic\u0060 and \u0060src/Senparc.Weixin.Work/Senparc.Weixin.Work/Entities/Response/WorkResponseMessageBase.cs:152\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":"src/Senparc.Weixin.MP/Senparc.Weixin.MP/ResponseMessageFactory.cs"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"61aeeba078f2f5420f012e9cd4f46042f556368892ec5ab953b768e6a34c8b7b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): src/Senparc.Weixin/Senparc.Weixin/Enums.cs:616-631 | src/Senparc.Weixin/Senparc.Weixin/Enums.cs:848-863 \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":"src/Senparc.Weixin/Senparc.Weixin/Enums.cs"},"region":{"startLine":616}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cc6618d6c4d481106120b90eee3ca3d914b29f932d3fff75c2522d6c8d1961f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/Entities/Request/TenPayV3RefundRequestData.cs:162-177 | src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/Entities/Request/TenPayV3RefundRequestData.cs:233-248 \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 \u0060src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/Entities/Request/TenPayV3RefundRequestData.cs:162\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":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/Entities/Request/TenPayV3RefundRequestData.cs"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d07e79432e23778dc191c2ed807d2a1ca1c12a9dc2b8de7256af29ebc3583ae"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/Marketing/Entities/ReturnJson/QueryBusifavorCouponReturnJson.cs:68-83 | src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/Marketing/Entities/ReturnJson/QueryBusifavorCouponsReturnJson.cs:126-141 \u2014 before extracting anything, compare \u0060src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/Marketing/Entities/ReturnJson/QueryBusifavorCouponReturnJson.cs\u0060 and \u0060src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/Marketing/Entities/ReturnJson/QueryBusifavorCouponsReturnJson.cs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 228 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 \u0060src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/Marketing/Entities/ReturnJson/QueryBusifavorCouponReturnJson.cs:68\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":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/Marketing/Entities/ReturnJson/QueryBusifavorCouponReturnJson.cs"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"1983760cb7486ff1e0a7b0175a27d7557d8d572b725e89335d9e02e9e6cb42a5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/PayScore/Entities/ReturnJson/ModifyServiceOrderReturnJson.cs:69-84 | src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/PayScore/Entities/ReturnJson/QueryServiceOrderReturnJson.cs:70-85 \u2014 before extracting anything, compare \u0060src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/PayScore/Entities/ReturnJson/ModifyServiceOrderReturnJson.cs\u0060 and \u0060src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/PayScore/Entities/ReturnJson/QueryServiceOrderReturnJson.cs\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 297 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 \u0060src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/PayScore/Entities/ReturnJson/ModifyServiceOrderReturnJson.cs:69\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/PayScore/Entities/ReturnJson/ModifyServiceOrderReturnJson.cs"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc168a91fa69c44ef7c2572c2cb7669d5ac6e76b1cabe00418511426f44457bc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201315 lines \u00D7 6): src/Senparc.Weixin.MP/Senparc.Weixin.MP/AdvancedAPIs/Custom/CustomApi.cs:721-734 | src/Senparc.Weixin.MP/Senparc.Weixin.MP/AdvancedAPIs/Custom/CustomApi.cs:769-782 | src/Senparc.Weixin.MP/Senparc.Weixin.MP/AdvancedAPIs/Custom/CustomApi.cs:826-838 | src/Senparc.Weixin.MP/Senparc.Weixin.MP/AdvancedAPIs/Custom/CustomApi.cs:886-900 | src/Senparc.Weixin.MP/Senparc.Weixin.MP/AdvancedAPIs/Custom/CustomApi.cs:948-962 | src/Senparc.Weixin.MP/Senparc.Weixin.MP/AdvancedAPIs/Custom/CustomApi.cs:999-1012 \u2014 all 6 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Senparc.Weixin.MP/Senparc.Weixin.MP/AdvancedAPIs/Custom/CustomApi.cs:721\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":"src/Senparc.Weixin.MP/Senparc.Weixin.MP/AdvancedAPIs/Custom/CustomApi.cs"},"region":{"startLine":721}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee4ad7d982439b32aec45a37d1829736e11dbc48aa1bcce610a187291bf39810"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 4): src/Senparc.Weixin.MP/Senparc.Weixin.MP/Containers/JsApiTicketContainer.cs:220-237 | src/Senparc.Weixin.MP/Senparc.Weixin.MP/Containers/OAuthAccessTokenContainer.cs:159-176 | src/Senparc.Weixin.MP/Senparc.Weixin.MP/Containers/WxCardApiTicketContainer.cs:193-210 | src/Senparc.Weixin.Open/Senparc.Weixin.Open/Containers/ComponentContainer.cs:500-514 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 4 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 4 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Senparc.Weixin.MP/Senparc.Weixin.MP/Containers/JsApiTicketContainer.cs:220\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":"src/Senparc.Weixin.MP/Senparc.Weixin.MP/Containers/JsApiTicketContainer.cs"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"b27926586cef631f97431107389e89314506cad648ad60a2f61bf5ff68557406"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201315 lines \u00D7 3): src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V2/CheckRequestHandler.cs:71-85 | src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V2/ClientRequestHandler.cs:155-168 | src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V2/RequestHandler.cs:184-197 \u2014 before extracting anything, compare \u0060src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V2/CheckRequestHandler.cs\u0060 and \u0060src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V2/ClientRequestHandler.cs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 33 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V2/CheckRequestHandler.cs"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8157fff2ad78715edff4d23d1b3be4e0da7b67e406183b20f91554b88a4dbd8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): src/Senparc.Weixin.Work/Senparc.Weixin.Work/MessageContext/DefaultWorkMessageContext.cs:180-194 | src/Senparc.Weixin.Work/Senparc.Weixin.Work/RequestMessageFactory.cs:150-164 \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 \u0060src/Senparc.Weixin.Work/Senparc.Weixin.Work/MessageContext/DefaultWorkMessageContext.cs:180\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. 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":"src/Senparc.Weixin.Work/Senparc.Weixin.Work/MessageContext/DefaultWorkMessageContext.cs"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd6439475345ae00215e4a8a8ea947023fb219054e86a2d59075789c632d3aba"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): src/Senparc.Weixin.MP/Senparc.Weixin.MP/Containers/AccessTokenContainer.cs:370-384 | src/Senparc.Weixin.WxOpen/src/Senparc.Weixin.WxOpen/Senparc.Weixin.WxOpen/Containers/AccessTokenContainer.cs:275-289 \u2014 before extracting anything, compare \u0060src/Senparc.Weixin.MP/Senparc.Weixin.MP/Containers/AccessTokenContainer.cs\u0060 and \u0060src/Senparc.Weixin.WxOpen/src/Senparc.Weixin.WxOpen/Senparc.Weixin.WxOpen/Containers/AccessTokenContainer.cs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 51 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Senparc.Weixin.MP/Senparc.Weixin.MP/Containers/AccessTokenContainer.cs:370\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":"src/Senparc.Weixin.MP/Senparc.Weixin.MP/Containers/AccessTokenContainer.cs"},"region":{"startLine":370}}}],"partialFingerprints":{"codehealthFindingId/v1":"101686e628f3f4b0c2e669299bbb7b5af4bb360455de3b05cff01f174e672264"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201315 lines \u00D7 2): src/Senparc.Weixin.WxOpen/src/Senparc.Weixin.WxOpen/Senparc.Weixin.WxOpen/AdvancedAPIs/WxApp/WxAppApi.cs:131-141 | src/Senparc.Weixin.WxOpen/src/Senparc.Weixin.WxOpen/Senparc.Weixin.WxOpen/AdvancedAPIs/WxApp/WxAppApi.cs:207-221 \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 \u0060src/Senparc.Weixin.WxOpen/src/Senparc.Weixin.WxOpen/Senparc.Weixin.WxOpen/AdvancedAPIs/WxApp/WxAppApi.cs:131\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.WxOpen/src/Senparc.Weixin.WxOpen/Senparc.Weixin.WxOpen/AdvancedAPIs/WxApp/WxAppApi.cs"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ff3af7e2af129914f4fcb55fe9cdaee6eee83379bb07d3fde2eec5a3c3b2c6e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/BasePay/BasePayApis.cs:783-797 | src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/BasePay/BasePayApis.cs:833-847 \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 \u0060src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/BasePay/BasePayApis.cs:783\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 first that the copies are not typed on the same thing: the declarations holding them bind \u0060data\u0060 to \u0060TradeBillQueryRequestData\u0060 in one and \u0060FundflowBillQueryRequestData\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/BasePay/BasePayApis.cs"},"region":{"startLine":783}}}],"partialFingerprints":{"codehealthFindingId/v1":"b321481a335f310a495d1fbf51d75f4649495f0159d306c948323a5fa5e0938b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/Marketing/Entities/ReturnJson/PayBusifavorReceiptsReturnJson.cs:63-77 | src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/Marketing/Entities/ReturnJson/QueryBusifavorPayReceiptsReturnJson.cs:63-77 \u2014 before extracting anything, compare \u0060src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/Marketing/Entities/ReturnJson/PayBusifavorReceiptsReturnJson.cs\u0060 and \u0060src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/Marketing/Entities/ReturnJson/QueryBusifavorPayReceiptsReturnJson.cs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 173 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":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/Marketing/Entities/ReturnJson/PayBusifavorReceiptsReturnJson.cs"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cec8f38d3fd7d72506e4bf3a507ed733112ac20ee521fcad540506183b47c71"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 4): src/Senparc.Weixin.Work/Senparc.Weixin.Work/AdvancedAPIs/Mass/MassApi.cs:136-149 | src/Senparc.Weixin.Work/Senparc.Weixin.Work/AdvancedAPIs/Mass/MassApi.cs:182-195 | src/Senparc.Weixin.Work/Senparc.Weixin.Work/AdvancedAPIs/Mass/MassApi.cs:228-241 | src/Senparc.Weixin.Work/Senparc.Weixin.Work/AdvancedAPIs/Mass/MassApi.cs:325-338 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Senparc.Weixin.Work/Senparc.Weixin.Work/AdvancedAPIs/Mass/MassApi.cs:136\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.Work/Senparc.Weixin.Work/AdvancedAPIs/Mass/MassApi.cs"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"734586405ad7dca796f4e4b273c534e260a82e8f96f3759fba1aef799ca1c9d4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3): src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V2/RequestHandler.cs:277-290 | src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/RequestHandler.cs:312-325 | src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/ResponseHandler.cs:334-347 \u2014 \u0060src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V2/RequestHandler.cs\u0060 and \u0060src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/RequestHandler.cs\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 3 separate duplicated blocks between them, totalling at least 36 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 \u0060src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V2/RequestHandler.cs:277\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The \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":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V2/RequestHandler.cs"},"region":{"startLine":277}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd0c0b7683d16f6c2eeb380748ada80d43de067aa95235478ab27888a3a604c1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3): src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/PayScore/Entities/ReturnJson/ModifyServiceOrderReturnJson.cs:74-87 | src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/PayScore/Entities/ReturnJson/QueryServiceOrderReturnJson.cs:75-88 | src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/PayScore/Entities/ReturnJson/SyncPayServiceOrderReturnJson.cs:76-89 \u2014 before extracting anything, compare \u0060src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/PayScore/Entities/ReturnJson/ModifyServiceOrderReturnJson.cs\u0060 and \u0060src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/PayScore/Entities/ReturnJson/QueryServiceOrderReturnJson.cs\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 297 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Note what the matched lines are: every one of them assigns one field to another, so the block is a hand-written mapper between two data shapes rather than behaviour with a helper inside it. Extracting one shared function only works if both sites map the SAME pair of types in the same direction \u2014 check that first, because inverse or differently-typed mappers have no single function they can both call. Where they do not, the moves that exist are a generated or reflective mapper, a common embedded/base type the fields live on once, or accepting the run and covering it with a test that fails when a field is added to one side only."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/PayScore/Entities/ReturnJson/ModifyServiceOrderReturnJson.cs"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ecdc8151d2ab9fe5b0b887e499b17c9e63929e69a3a660ddd51449ae3ae2348"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): src/Senparc.Weixin.Work/Senparc.Weixin.Work/AdvancedAPIs/CustomerAcquisition/CustomerAcquisitionApi.cs:270-283 | src/Senparc.Weixin.Work/Senparc.Weixin.Work/AdvancedAPIs/CustomerAcquisition/CustomerAcquisitionApi.cs:301-314 \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 \u0060src/Senparc.Weixin.Work/Senparc.Weixin.Work/AdvancedAPIs/CustomerAcquisition/CustomerAcquisitionApi.cs:270\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 first that the copies are not typed on the same thing: the declarations holding them bind \u0060param\u0060 to \u0060CreateCustomerAcquisitionLinkRequest\u0060 in one and \u0060ModifyCustomerAcquisitionLinkRequest\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.Work/Senparc.Weixin.Work/AdvancedAPIs/CustomerAcquisition/CustomerAcquisitionApi.cs"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"23d6704e94ce96badaf04166912d4b243b98ab37d12a7c5ac9f1ae572dadd129"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): src/Senparc.Weixin.WxOpen/src/Senparc.Weixin.WxOpen/Senparc.Weixin.WxOpen/AdvancedAPIs/WxApp/UrlScheme/UrlSchemeApi.cs:49-62 | src/Senparc.Weixin.WxOpen/src/Senparc.Weixin.WxOpen/Senparc.Weixin.WxOpen/AdvancedAPIs/WxApp/UrlScheme/UrlSchemeApi.cs:134-147 \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":"src/Senparc.Weixin.WxOpen/src/Senparc.Weixin.WxOpen/Senparc.Weixin.WxOpen/AdvancedAPIs/WxApp/UrlScheme/UrlSchemeApi.cs"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"12fa1dbc94a1e324311606d89670c34a2c79d826c06128959f003e7e315b6dad"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): src/Senparc.Weixin.WxOpen/src/Senparc.Weixin.WxOpen/Senparc.Weixin.WxOpen/AdvancedAPIs/WxApp/UrlScheme/UrlSchemeApi.cs:80-93 | src/Senparc.Weixin.WxOpen/src/Senparc.Weixin.WxOpen/Senparc.Weixin.WxOpen/AdvancedAPIs/WxApp/UrlScheme/UrlSchemeApi.cs:165-178 \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":"src/Senparc.Weixin.WxOpen/src/Senparc.Weixin.WxOpen/Senparc.Weixin.WxOpen/AdvancedAPIs/WxApp/UrlScheme/UrlSchemeApi.cs"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"192e751fb5cff70afb737c3c75c8330f277ab8e7aa79d623a21ab673ee68945a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/Entities/Request/TenPayV3CloseOrderRequestData.cs:147-161 | src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/Entities/Request/TenPayV3RefundRequestData.cs:251-264 \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":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/Entities/Request/TenPayV3CloseOrderRequestData.cs"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"32b15bfa4fb78169f5fdd03f817112e0074d187ae3e3301a9ed0f788cc150494"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/BasePay/Entities/RequestData/TransactionsRequestData.cs:74-87 | src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/BasePay/Entities/RequestData/TransactionsRequestData.cs:118-131 \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 \u0060src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/BasePay/Entities/RequestData/TransactionsRequestData.cs:74\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/BasePay/Entities/RequestData/TransactionsRequestData.cs"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5ba8f1632f02cd54464dad38dade2a70175032b81a91ba1b2dad0a9d23f0998"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/Profitsharing/Entities/ReturnJson/QueryReturnProfitsharingReturnJson.cs:99-112 | src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/Profitsharing/Entities/ReturnJson/ReturnProfitsharingReturnJson.cs:99-112 \u2014 before extracting anything, compare \u0060src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/Profitsharing/Entities/ReturnJson/QueryReturnProfitsharingReturnJson.cs\u0060 and \u0060src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/Profitsharing/Entities/ReturnJson/ReturnProfitsharingReturnJson.cs\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 170 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":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/Profitsharing/Entities/ReturnJson/QueryReturnProfitsharingReturnJson.cs"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"13775e58212cc08b2761df643b3f3aed93c6cd16d4cc4e29fe6f8038d1be2357"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 6): src/Senparc.Weixin.Work/Senparc.Weixin.Work/AdvancedAPIs/Mass/MassApi.cs:137-149 | src/Senparc.Weixin.Work/Senparc.Weixin.Work/AdvancedAPIs/Mass/MassApi.cs:183-195 | src/Senparc.Weixin.Work/Senparc.Weixin.Work/AdvancedAPIs/Mass/MassApi.cs:229-241 | src/Senparc.Weixin.Work/Senparc.Weixin.Work/AdvancedAPIs/Mass/MassApi.cs:280-292 | src/Senparc.Weixin.Work/Senparc.Weixin.Work/AdvancedAPIs/Mass/MassApi.cs:326-338 | src/Senparc.Weixin.Work/Senparc.Weixin.Work/AdvancedAPIs/Mass/MassApi.cs:445-457 \u2014 all 6 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Senparc.Weixin.Work/Senparc.Weixin.Work/AdvancedAPIs/Mass/MassApi.cs:137\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":"src/Senparc.Weixin.Work/Senparc.Weixin.Work/AdvancedAPIs/Mass/MassApi.cs"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"93e584dcc4f39edeeb617efb79f81f6f15c8186962160bcbf126c1b262d3d535"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 4): src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V2/ClientResponseHandler.cs:154-166 | src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V2/ClientResponseHandler.cs:205-217 | src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V2/RefundResponseHandler.cs:162-174 | src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V2/RefundResponseHandler.cs:232-244 \u2014 before extracting anything, compare \u0060src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V2/ClientResponseHandler.cs\u0060 and \u0060src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V2/RefundResponseHandler.cs\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 73 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V2/ClientResponseHandler.cs:154\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The \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":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V2/ClientResponseHandler.cs"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"99113c65e24e0e9db9decef8195044fc20974aabfb26c3e9ed4cd235fda599cb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): src/Senparc.Weixin.MP/Senparc.Weixin.MP/AdvancedAPIs/CustomService/CustomServiceApi.cs:513-525 | src/Senparc.Weixin.MP/Senparc.Weixin.MP/AdvancedAPIs/CustomService/CustomServiceApi.cs:564-576 \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 \u0060src/Senparc.Weixin.MP/Senparc.Weixin.MP/AdvancedAPIs/CustomService/CustomServiceApi.cs:513\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.MP/Senparc.Weixin.MP/AdvancedAPIs/CustomService/CustomServiceApi.cs"},"region":{"startLine":513}}}],"partialFingerprints":{"codehealthFindingId/v1":"5eb4b1697999643fa74a4f617f7bcab96f542b6f6a0b3ed5d396d91c03158645"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): src/Senparc.Weixin.MP/Senparc.Weixin.MP/AdvancedAPIs/CustomService/CustomServiceApi.cs:628-640 | src/Senparc.Weixin.MP/Senparc.Weixin.MP/AdvancedAPIs/CustomService/CustomServiceApi.cs:655-667 \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 \u0060src/Senparc.Weixin.MP/Senparc.Weixin.MP/AdvancedAPIs/CustomService/CustomServiceApi.cs:628\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.MP/Senparc.Weixin.MP/AdvancedAPIs/CustomService/CustomServiceApi.cs"},"region":{"startLine":628}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a310c9daafa415173694bb630d5810c84143b56a0baa3f05fed19e24a26a91a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): src/Senparc.Weixin.MP/Senparc.Weixin.MP/MessageHandlers/Async/MessageHandlerAsync.cs:68-80 | src/Senparc.Weixin.WxOpen/src/Senparc.Weixin.WxOpen/Senparc.Weixin.WxOpen/MessageHandlers/WxOpenMessageHandler.cs:287-299 \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":"src/Senparc.Weixin.MP/Senparc.Weixin.MP/MessageHandlers/Async/MessageHandlerAsync.cs"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca7eeb0b775def797c2431c799f31c1080e0584d6ae840e7436603dac5806557"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/Entities/Request/PayBank/TenPayV3PayBankRequestData.cs:130-142 | src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/Entities/Request/PayBank/TenPayV3QueryBankRequestData.cs:79-91 \u2014 before extracting anything, compare \u0060src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/Entities/Request/PayBank/TenPayV3PayBankRequestData.cs\u0060 and \u0060src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/Entities/Request/PayBank/TenPayV3QueryBankRequestData.cs\u0060 as WHOLE FILES: 88% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/Entities/Request/PayBank/TenPayV3PayBankRequestData.cs:129\u0060 calls \u0060Parse\u0060 and \u0060src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/Entities/Request/PayBank/TenPayV3QueryBankRequestData.cs:78\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":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/Entities/Request/PayBank/TenPayV3PayBankRequestData.cs"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"475eca4f5973340dc95d4d2ad13cdc442a281e2c2563e82521602ffa5e3ba04e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/Entities/Request/TenpayV3ProfitShareingRequestData.cs:573-585 | src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/Entities/Request/TenpayV3ProfitShareingRequestData.cs:698-710 \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 \u0060src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/Entities/Request/TenpayV3ProfitShareingRequestData.cs:573\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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060receiver\u0060 to \u0060TenpayV3ProfitShareingAddReceiverRequestData_ReceiverInfo\u0060 in one and \u0060TenpayV3ProfitShareing_ReceiverInfo\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/Entities/Request/TenpayV3ProfitShareingRequestData.cs:696\u0060 calls \u0060SetParameterWhenNotNull\u0060 and \u0060src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/Entities/Request/TenpayV3ProfitShareingRequestData.cs:568\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":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/Entities/Request/TenpayV3ProfitShareingRequestData.cs"},"region":{"startLine":573}}}],"partialFingerprints":{"codehealthFindingId/v1":"22de1b69d1967f3fed41703638aa64377a32cacd377cb032cbd8d2ed7b5b83c8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): src/Senparc.Weixin.MP.Middleware/MessageHandlers/Middleware/MpMessageHandlerMiddleware.cs:107-119 | src/Senparc.Weixin.WxOpen.Middleware/MessageHandlers/Middleware/WxOpenMessageHandlerMiddleware.cs:108-120 \u2014 before extracting anything, compare \u0060src/Senparc.Weixin.MP.Middleware/MessageHandlers/Middleware/MpMessageHandlerMiddleware.cs\u0060 and \u0060src/Senparc.Weixin.WxOpen.Middleware/MessageHandlers/Middleware/WxOpenMessageHandlerMiddleware.cs\u0060 as WHOLE FILES: 82% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 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":"src/Senparc.Weixin.MP.Middleware/MessageHandlers/Middleware/MpMessageHandlerMiddleware.cs"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee755dd9bd75ecff0634dcb2e1c8c1139b5d4701db7c874dfd12e4777bed9b38"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/BasePay/BasePayApis.cs:590-602 | src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/BasePay/BasePayApis.cs:635-647 \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 first that the copies are not typed on the same thing: the declarations holding them bind \u0060data\u0060 to \u0060RefundRequsetData\u0060 in one and \u0060RefundRequestData\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/BasePay/BasePayApis.cs"},"region":{"startLine":590}}}],"partialFingerprints":{"codehealthFindingId/v1":"c27169b63b9929131601774a7d11e7dde840a1a7e8748a9855659ea6cbbeaffc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/Marketing/Entities/ReturnJson/QueryPaygiftActivitiesReturnJson.cs:234-246 | src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/Marketing/Entities/ReturnJson/QueryPaygiftActivityReturnJson.cs:193-205 \u2014 before extracting anything, compare \u0060src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/Marketing/Entities/ReturnJson/QueryPaygiftActivitiesReturnJson.cs\u0060 and \u0060src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/Marketing/Entities/ReturnJson/QueryPaygiftActivityReturnJson.cs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 169 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":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/Marketing/Entities/ReturnJson/QueryPaygiftActivitiesReturnJson.cs"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"babaf27dcc52ea94e7033acc882e35e82322651968a4cbbf4829926bbd49f730"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/Marketing/MarketingApis.Favor.cs:330-342 | src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/Marketing/MarketingApis.Favor.cs:382-394 \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 \u0060src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/Marketing/MarketingApis.Favor.cs:330\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":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/Marketing/MarketingApis.Favor.cs"},"region":{"startLine":330}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd76eee385e2d640138783a1bba614684c76c5283809aa8c891d84e760cef3ac"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/PayScore/Entities/NotifyJson/PayServiceOrderNotifyJson.cs:650-662 | src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/PayScore/Entities/ReturnJson/QueryServiceOrderReturnJson.cs:668-680 \u2014 before extracting anything, compare \u0060src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/PayScore/Entities/NotifyJson/PayServiceOrderNotifyJson.cs\u0060 and \u0060src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/PayScore/Entities/ReturnJson/QueryServiceOrderReturnJson.cs\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 198 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060amount\u0060 to \u0060long\u0060 in one and \u0060int\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/PayScore/Entities/NotifyJson/PayServiceOrderNotifyJson.cs"},"region":{"startLine":650}}}],"partialFingerprints":{"codehealthFindingId/v1":"af3fe6ccd43c3d6cb9a5a51e62a6bcf3f90554008beae6b4d23289d66dd4ebf6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/Profitsharing/Entities/ReturnJson/QueryReturnProfitsharingReturnJson.cs:69-81 | src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/Profitsharing/Entities/ReturnJson/ReturnProfitsharingReturnJson.cs:69-81 \u2014 before extracting anything, compare \u0060src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/Profitsharing/Entities/ReturnJson/QueryReturnProfitsharingReturnJson.cs\u0060 and \u0060src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/Profitsharing/Entities/ReturnJson/ReturnProfitsharingReturnJson.cs\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 170 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":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/Profitsharing/Entities/ReturnJson/QueryReturnProfitsharingReturnJson.cs"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c3e1c200d30032a314fbfa7628a617232546491caaeeb4515791ec6f0a18a69"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 6): src/Senparc.Weixin.Work/Senparc.Weixin.Work/AdvancedAPIs/Mass/MassApi.cs:708-719 | src/Senparc.Weixin.Work/Senparc.Weixin.Work/AdvancedAPIs/Mass/MassApi.cs:753-764 | src/Senparc.Weixin.Work/Senparc.Weixin.Work/AdvancedAPIs/Mass/MassApi.cs:799-810 | src/Senparc.Weixin.Work/Senparc.Weixin.Work/AdvancedAPIs/Mass/MassApi.cs:850-861 | src/Senparc.Weixin.Work/Senparc.Weixin.Work/AdvancedAPIs/Mass/MassApi.cs:896-907 | src/Senparc.Weixin.Work/Senparc.Weixin.Work/AdvancedAPIs/Mass/MassApi.cs:959-969 \u2014 all 6 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Senparc.Weixin.Work/Senparc.Weixin.Work/AdvancedAPIs/Mass/MassApi.cs:708\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.Work/Senparc.Weixin.Work/AdvancedAPIs/Mass/MassApi.cs"},"region":{"startLine":708}}}],"partialFingerprints":{"codehealthFindingId/v1":"7af9acc9815a5b850fa6343dd59f695dcd674522d33ed5cdfa0f3a77be1e1bab"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 4): src/Senparc.Weixin.MP/Senparc.Weixin.MP/AdvancedAPIs/Comment/CommentApi.cs:182-193 | src/Senparc.Weixin.MP/Senparc.Weixin.MP/AdvancedAPIs/Comment/CommentApi.cs:209-220 | src/Senparc.Weixin.MP/Senparc.Weixin.MP/AdvancedAPIs/Comment/CommentApi.cs:235-246 | src/Senparc.Weixin.MP/Senparc.Weixin.MP/AdvancedAPIs/Comment/CommentApi.cs:290-301 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Senparc.Weixin.MP/Senparc.Weixin.MP/AdvancedAPIs/Comment/CommentApi.cs:182\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.MP/Senparc.Weixin.MP/AdvancedAPIs/Comment/CommentApi.cs"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"9517cfdf990aa237bdddc17dc55c9af251ff8de8c4a72ed6a9107c131a6d9ba1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 4): src/Senparc.Weixin.MP/Senparc.Weixin.MP/AdvancedAPIs/Comment/CommentApi.cs:418-429 | src/Senparc.Weixin.MP/Senparc.Weixin.MP/AdvancedAPIs/Comment/CommentApi.cs:445-456 | src/Senparc.Weixin.MP/Senparc.Weixin.MP/AdvancedAPIs/Comment/CommentApi.cs:471-482 | src/Senparc.Weixin.MP/Senparc.Weixin.MP/AdvancedAPIs/Comment/CommentApi.cs:526-537 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Senparc.Weixin.MP/Senparc.Weixin.MP/AdvancedAPIs/Comment/CommentApi.cs:418\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.MP/Senparc.Weixin.MP/AdvancedAPIs/Comment/CommentApi.cs"},"region":{"startLine":418}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3b61abd300e06144cb2fb01959964eb75f9cce54dd79c4721aa2e740389c2c8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 4): src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/Profitsharing/Entities/ReturnJson/QueryReturnProfitsharingReturnJson.cs:70-81 | src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/Profitsharing/Entities/ReturnJson/QueryReturnProfitsharingReturnJson.cs:101-112 | src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/Profitsharing/Entities/ReturnJson/ReturnProfitsharingReturnJson.cs:70-81 | src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/Profitsharing/Entities/ReturnJson/ReturnProfitsharingReturnJson.cs:101-112 \u2014 before extracting anything, compare \u0060src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/Profitsharing/Entities/ReturnJson/QueryReturnProfitsharingReturnJson.cs\u0060 and \u0060src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/Profitsharing/Entities/ReturnJson/ReturnProfitsharingReturnJson.cs\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 170 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 \u0060src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/Profitsharing/Entities/ReturnJson/QueryReturnProfitsharingReturnJson.cs:101\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/Profitsharing/Entities/ReturnJson/QueryReturnProfitsharingReturnJson.cs"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc85c53fd51ea301ab1c8b74873b8a9ee2c98c61fd7cb22123751970c77d593a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): src/Senparc.Weixin.WxOpen/src/Senparc.Weixin.WxOpen/Senparc.Weixin.WxOpen/AdvancedAPIs/WxApp/WxAppApi.cs:160-171 | src/Senparc.Weixin.WxOpen/src/Senparc.Weixin.WxOpen/Senparc.Weixin.WxOpen/AdvancedAPIs/WxApp/WxAppApi.cs:241-252 | src/Senparc.Weixin.WxOpen/src/Senparc.Weixin.WxOpen/Senparc.Weixin.WxOpen/AdvancedAPIs/WxApp/WxAppApi.cs:294-305 \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 \u0060src/Senparc.Weixin.WxOpen/src/Senparc.Weixin.WxOpen/Senparc.Weixin.WxOpen/AdvancedAPIs/WxApp/WxAppApi.cs:160\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.WxOpen/src/Senparc.Weixin.WxOpen/Senparc.Weixin.WxOpen/AdvancedAPIs/WxApp/WxAppApi.cs"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a1445307db3e15c947045cfeb3e0fe59ee966d70c543adabaf57f95295f85ed"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): src/Senparc.Weixin.WxOpen/src/Senparc.Weixin.WxOpen/Senparc.Weixin.WxOpen/AdvancedAPIs/WxApp/WxAppApi.cs:991-1002 | src/Senparc.Weixin.WxOpen/src/Senparc.Weixin.WxOpen/Senparc.Weixin.WxOpen/AdvancedAPIs/WxApp/WxAppApi.cs:1076-1087 | src/Senparc.Weixin.WxOpen/src/Senparc.Weixin.WxOpen/Senparc.Weixin.WxOpen/AdvancedAPIs/WxApp/WxAppApi.cs:1167-1178 \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 \u0060src/Senparc.Weixin.WxOpen/src/Senparc.Weixin.WxOpen/Senparc.Weixin.WxOpen/AdvancedAPIs/WxApp/WxAppApi.cs:991\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.WxOpen/src/Senparc.Weixin.WxOpen/Senparc.Weixin.WxOpen/AdvancedAPIs/WxApp/WxAppApi.cs"},"region":{"startLine":991}}}],"partialFingerprints":{"codehealthFindingId/v1":"6280d30c60d8125bc99c6024a38e086c6cd77c66dbfc187752cfe631f55b67b6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): src/Senparc.Weixin.MP/Senparc.Weixin.MP/AdvancedAPIs/Card/CardAPI.cs:3406-3417 | src/Senparc.Weixin.MP/Senparc.Weixin.MP/AdvancedAPIs/Card/CardAPI.cs:3432-3443 \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 \u0060src/Senparc.Weixin.MP/Senparc.Weixin.MP/AdvancedAPIs/Card/CardAPI.cs:3406\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.MP/Senparc.Weixin.MP/AdvancedAPIs/Card/CardAPI.cs"},"region":{"startLine":3406}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cfafd661e565712674314c9a4a3892deb19306ba512025db0a24c5b4669c1db"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u201312 lines \u00D7 2): src/Senparc.Weixin.MP/Senparc.Weixin.MP/CommonAPIs/CommonApi.cs:234-245 | src/Senparc.Weixin.WxOpen/src/Senparc.Weixin.WxOpen/Senparc.Weixin.WxOpen/OpenAPIs/OpenApi.cs:112-118 \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. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.MP/Senparc.Weixin.MP/CommonAPIs/CommonApi.cs"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb17fa9e15928597e96a232574c1e90a781fc481e77fb12faf2faec0548baae9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): src/Senparc.Weixin.Open/Senparc.Weixin.Open/Containers/AuthorizerContainer.cs:372-383 | src/Senparc.Weixin.Open/Senparc.Weixin.Open/Containers/AuthorizerContainer.cs:702-713 \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":"src/Senparc.Weixin.Open/Senparc.Weixin.Open/Containers/AuthorizerContainer.cs"},"region":{"startLine":372}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f096dc08337b2fa6678a49bcc70265fcb361bfca8ad3b57615fdcd84f2d1649"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): src/Senparc.Weixin.WxOpen/src/Senparc.Weixin.WxOpen/Senparc.Weixin.WxOpen/AdvancedAPIs/WxApp/GenerateSchemeApi.cs:59-70 | src/Senparc.Weixin.WxOpen/src/Senparc.Weixin.WxOpen/Senparc.Weixin.WxOpen/AdvancedAPIs/WxApp/SearchApi.cs:59-70 \u2014 before extracting anything, compare \u0060src/Senparc.Weixin.WxOpen/src/Senparc.Weixin.WxOpen/Senparc.Weixin.WxOpen/AdvancedAPIs/WxApp/GenerateSchemeApi.cs\u0060 and \u0060src/Senparc.Weixin.WxOpen/src/Senparc.Weixin.WxOpen/Senparc.Weixin.WxOpen/AdvancedAPIs/WxApp/SearchApi.cs\u0060 as WHOLE FILES: 98% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 2 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. 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":"src/Senparc.Weixin.WxOpen/src/Senparc.Weixin.WxOpen/Senparc.Weixin.WxOpen/AdvancedAPIs/WxApp/GenerateSchemeApi.cs"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"226ed5a3661e3c4e0ba0cafc36d2472cb5cd02ef8ded79d6dbf108850d16b8aa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): src/Senparc.Weixin.WxOpen/src/Senparc.Weixin.WxOpen/Senparc.Weixin.WxOpen/AdvancedAPIs/WxApp/WxAppApi.cs:121-132 | src/Senparc.Weixin.WxOpen/src/Senparc.Weixin.WxOpen/Senparc.Weixin.WxOpen/AdvancedAPIs/WxApp/WxAppApi.cs:1104-1115 \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 \u0060src/Senparc.Weixin.WxOpen/src/Senparc.Weixin.WxOpen/Senparc.Weixin.WxOpen/AdvancedAPIs/WxApp/WxAppApi.cs:121\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":"src/Senparc.Weixin.WxOpen/src/Senparc.Weixin.WxOpen/Senparc.Weixin.WxOpen/AdvancedAPIs/WxApp/WxAppApi.cs"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"606c487dcdaf36d15b9721d295f0b1b4efaed2fcc11c80302ff614641d8364b9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/VehicleParking/Entities/ReturnJson/PayParkingReturnJson.cs:413-424 | src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/VehicleParking/Entities/ReturnJson/QueryParkingReturnJson.cs:423-434 \u2014 before extracting anything, compare \u0060src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/VehicleParking/Entities/ReturnJson/PayParkingReturnJson.cs\u0060 and \u0060src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/VehicleParking/Entities/ReturnJson/QueryParkingReturnJson.cs\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 307 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":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/VehicleParking/Entities/ReturnJson/PayParkingReturnJson.cs"},"region":{"startLine":413}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e4ad74cb56cf411ed6925ee73afe79f9875dff0f6885de260ef6413ec279bbf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 10): src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V2/ClientRequestHandler.cs:151-161 | src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V2/ClientResponseHandler.cs:144-154 | src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V2/RefundResponseHandler.cs:152-162 | src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V2/RequestHandler.cs:180-190 | src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V2/RequestHandler.cs:211-220 | src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V2/RequestHandler.cs:237-246 | src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V2/ResponseHandler.cs:251-261 | src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/RequestHandler.cs:200-210 | src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/RequestHandler.cs:270-280 | src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/ResponseHandler.cs:277-287 \u2014 before extracting anything, compare \u0060src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V2/ClientRequestHandler.cs\u0060 and \u0060src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V2/RequestHandler.cs\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 55 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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 \u0060src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V2/ClientRequestHandler.cs:151\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":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V2/ClientRequestHandler.cs"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"148729ea20fd59912a5dbad2e15ace01890a61db5bfd8e5288d3c166ecea4c37"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 4): src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/PayScore/Entities/NotifyJson/PayServiceOrderNotifyJson.cs:80-90 | src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/PayScore/Entities/ReturnJson/ModifyServiceOrderReturnJson.cs:77-87 | src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/PayScore/Entities/ReturnJson/QueryServiceOrderReturnJson.cs:78-88 | src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/PayScore/Entities/ReturnJson/SyncPayServiceOrderReturnJson.cs:79-89 \u2014 before extracting anything, compare \u0060src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/PayScore/Entities/NotifyJson/PayServiceOrderNotifyJson.cs\u0060 and \u0060src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/PayScore/Entities/ReturnJson/ModifyServiceOrderReturnJson.cs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 123 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Note what the matched lines are: every one of them assigns one field to another, so the block is a hand-written mapper between two data shapes rather than behaviour with a helper inside it. Extracting one shared function only works if both sites map the SAME pair of types in the same direction \u2014 check that first, because inverse or differently-typed mappers have no single function they can both call. Where they do not, the moves that exist are a generated or reflective mapper, a common embedded/base type the fields live on once, or accepting the run and covering it with a test that fails when a field is added to one side only."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/PayScore/Entities/NotifyJson/PayServiceOrderNotifyJson.cs"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"c66b94bb32534b5235960225543fdc1faddf211d8daa2acac11676a3d48fcc56"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): src/Senparc.Weixin.MP/Senparc.Weixin.MP/MessageHandlers/MessageHandler.cs:251-261 | src/Senparc.Weixin.Open/Senparc.Weixin.Open/MessageHandlers/ThirdPartyMessageHandler.cs:76-86 | src/Senparc.Weixin.WxOpen/src/Senparc.Weixin.WxOpen/Senparc.Weixin.WxOpen/MessageHandlers/WxOpenMessageHandler.cs:212-222 \u2014 before extracting anything, compare \u0060src/Senparc.Weixin.MP/Senparc.Weixin.MP/MessageHandlers/MessageHandler.cs\u0060 and \u0060src/Senparc.Weixin.WxOpen/src/Senparc.Weixin.WxOpen/Senparc.Weixin.WxOpen/MessageHandlers/WxOpenMessageHandler.cs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 71 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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 \u0060src/Senparc.Weixin.MP/Senparc.Weixin.MP/MessageHandlers/MessageHandler.cs:251\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.MP/Senparc.Weixin.MP/MessageHandlers/MessageHandler.cs"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7d0fb32e45dd96adb597c45565d813b0dfa93975005327e1eeddf5dde095da2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): src/Senparc.Weixin.Work/Senparc.Weixin.Work/AdvancedAPIs/Mass/MassApi.cs:1058-1068 | src/Senparc.Weixin.Work/Senparc.Weixin.Work/AdvancedAPIs/Mass/MassApi.cs:1098-1108 \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 \u0060src/Senparc.Weixin.Work/Senparc.Weixin.Work/AdvancedAPIs/Mass/MassApi.cs:1058\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.Work/Senparc.Weixin.Work/AdvancedAPIs/Mass/MassApi.cs"},"region":{"startLine":1058}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a5c12fed7e7330bee62654735612650cfbbeb55a90ddac4a996708b26e114a4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): src/Senparc.Weixin.MP/Senparc.Weixin.MP/AdvancedAPIs/Media/MediaApi.cs:195-205 | src/Senparc.Weixin.Work/Senparc.Weixin.Work/AdvancedAPIs/Media/MediaApi.cs:130-140 \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 \u0060src/Senparc.Weixin.MP/Senparc.Weixin.MP/AdvancedAPIs/Media/MediaApi.cs:195\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":"src/Senparc.Weixin.MP/Senparc.Weixin.MP/AdvancedAPIs/Media/MediaApi.cs"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"92d7ed839fc4cc3779ba0d62f5a19a1b29c6f281d1a95a3025d3b60a6b9a1380"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): src/Senparc.Weixin.MP/Senparc.Weixin.MP/AdvancedAPIs/Card/CardAPI.cs:3687-3697 | src/Senparc.Weixin.MP/Senparc.Weixin.MP/AdvancedAPIs/Card/CardAPI.cs:3768-3778 \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 \u0060src/Senparc.Weixin.MP/Senparc.Weixin.MP/AdvancedAPIs/Card/CardAPI.cs:3687\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.MP/Senparc.Weixin.MP/AdvancedAPIs/Card/CardAPI.cs"},"region":{"startLine":3687}}}],"partialFingerprints":{"codehealthFindingId/v1":"3866efb6eed04933cf3f1700516f911a102a05e09d002298970cafbcd5bf8418"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): src/Senparc.Weixin.MP/Senparc.Weixin.MP/AdvancedAPIs/MerChant/Order/OrderApi.cs:90-100 | src/Senparc.Weixin.MP/Senparc.Weixin.MP/AdvancedAPIs/MerChant/Order/OrderApi.cs:187-197 \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 \u0060src/Senparc.Weixin.MP/Senparc.Weixin.MP/AdvancedAPIs/MerChant/Order/OrderApi.cs:90\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":"src/Senparc.Weixin.MP/Senparc.Weixin.MP/AdvancedAPIs/MerChant/Order/OrderApi.cs"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"7830799ac856c9db9d11bcf9dfe78f80caefc1a77d28cbd9fec5ac5930faedc5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): src/Senparc.Weixin.MP/Senparc.Weixin.MP/AdvancedAPIs/NonTaxPay/NonTaxPayApi.cs:403-413 | src/Senparc.Weixin.WxOpen/src/Senparc.Weixin.WxOpen/Senparc.Weixin.WxOpen/AdvancedAPIs/Delivery/DeliveryProviderApi.cs:394-404 \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 \u0060src/Senparc.Weixin.MP/Senparc.Weixin.MP/AdvancedAPIs/NonTaxPay/NonTaxPayApi.cs:403\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 first that the copies are not typed on the same thing: the declarations holding them bind \u0060request\u0060 to \u0060NonTaxDownloadBillRequest\u0060 in one and \u0060DeliveryProviderGetBillRequest\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.MP/Senparc.Weixin.MP/AdvancedAPIs/NonTaxPay/NonTaxPayApi.cs"},"region":{"startLine":403}}}],"partialFingerprints":{"codehealthFindingId/v1":"02cfca65449421beac32d285e1e29bb837e2799a1913e17320e840d70b399541"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): src/Senparc.Weixin.MP/Senparc.Weixin.MP/AdvancedAPIs/NonTaxPay/NonTaxPayApi.cs:419-429 | src/Senparc.Weixin.WxOpen/src/Senparc.Weixin.WxOpen/Senparc.Weixin.WxOpen/AdvancedAPIs/Delivery/DeliveryProviderApi.cs:410-420 \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 \u0060src/Senparc.Weixin.MP/Senparc.Weixin.MP/AdvancedAPIs/NonTaxPay/NonTaxPayApi.cs:419\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 first that the copies are not typed on the same thing: the declarations holding them bind \u0060request\u0060 to \u0060NonTaxDownloadBillRequest\u0060 in one and \u0060DeliveryProviderGetBillRequest\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.MP/Senparc.Weixin.MP/AdvancedAPIs/NonTaxPay/NonTaxPayApi.cs"},"region":{"startLine":419}}}],"partialFingerprints":{"codehealthFindingId/v1":"893c26109191ee80d2c07eed15356d88c52931c00448a72f1173e462a2633885"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/RedPackApi/RedPackHttpUtility.cs:57-67 | src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/RedPackApi/RedPackHttpUtility.cs:100-110 \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 \u0060src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/RedPackApi/RedPackHttpUtility.cs:57\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":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/RedPackApi/RedPackHttpUtility.cs"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a840c7c7e5345e2147da84845632e69898623b7330d785192db946c20fa42cf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/HttpHandlers/TenPayApiRequest.cs:839-849 | src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/TenPayHttpClient/TenPayHttpClient.cs:307-317 \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":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/HttpHandlers/TenPayApiRequest.cs"},"region":{"startLine":839}}}],"partialFingerprints":{"codehealthFindingId/v1":"c964b9a30591cecd6159fe96d3cdb3c5ad4070fa9a306edf9ee2fa012bcacad9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/HttpHandlers/TenPayNotifyHandler.cs:269-279 | src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/HttpHandlers/TenPayNotifyHandler.cs:301-311 \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":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/HttpHandlers/TenPayNotifyHandler.cs"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"b14cd1d747e8f5bc7c44abe33456ce56625a3eb23ac93a82b4f487f847f9ab40"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 6): src/Senparc.Weixin.Work/Senparc.Weixin.Work/AdvancedAPIs/Mass/LinkerCorp/LinkerCorpApi.cs:218-226 | src/Senparc.Weixin.Work/Senparc.Weixin.Work/AdvancedAPIs/Mass/LinkerCorp/LinkerCorpApi.cs:236-245 | src/Senparc.Weixin.Work/Senparc.Weixin.Work/AdvancedAPIs/Mass/LinkerCorp/LinkerCorpApi.cs:255-264 | src/Senparc.Weixin.Work/Senparc.Weixin.Work/AdvancedAPIs/Mass/LinkerCorp/LinkerCorpApi.cs:274-283 | src/Senparc.Weixin.Work/Senparc.Weixin.Work/AdvancedAPIs/Mass/LinkerCorp/LinkerCorpApi.cs:293-302 | src/Senparc.Weixin.Work/Senparc.Weixin.Work/AdvancedAPIs/Mass/LinkerCorp/LinkerCorpApi.cs:312-321 \u2014 all 6 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060data\u0060 to \u0060SendTextData\u0060 in one and \u0060SendImageData\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.Work/Senparc.Weixin.Work/AdvancedAPIs/Mass/LinkerCorp/LinkerCorpApi.cs"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffe9e2eba54f6e5be03766d5ff65e2461a32d4536d91d357a74b3f9fb70e2265"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u201310 lines \u00D7 6): src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/TenPayV3.cs:291-300 | src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/TenPayV3.cs:332-340 | src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/TenPayV3.cs:582-589 | src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/TenPayV3.cs:606-613 | src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/TenPayV3.cs:631-638 | src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/TenPayV3.cs:1064-1073 \u2014 all 6 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. 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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060dataInfo\u0060 to \u0060TenPayV3GetSignKeyRequestData\u0060 in one and \u0060TenPayV3UnifiedorderRequestData\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/TenPayV3.cs"},"region":{"startLine":291}}}],"partialFingerprints":{"codehealthFindingId/v1":"956c0545abc6cd356160292de29a75bf591402705b4c2fe7061ea1b23b24f7d1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): src/Senparc.Weixin.Work/Senparc.Weixin.Work/Tencent/Cryptography.cs:258-267 | src/Senparc.Weixin.WxOpen/src/Senparc.Weixin.WxOpen/Senparc.Weixin.WxOpen/Helpers/EncryptHelper.cs:205-214 | src/Senparc.Weixin/Senparc.Weixin/Tencent/Cryptography.cs:278-287 \u2014 before extracting anything, compare \u0060src/Senparc.Weixin.Work/Senparc.Weixin.Work/Tencent/Cryptography.cs\u0060 and \u0060src/Senparc.Weixin/Senparc.Weixin/Tencent/Cryptography.cs\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 205 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"src/Senparc.Weixin.Work/Senparc.Weixin.Work/Tencent/Cryptography.cs"},"region":{"startLine":258}}}],"partialFingerprints":{"codehealthFindingId/v1":"227a4def8e1066fe64bd15d3e5fae94901811522c2553993a0fb36841c494e32"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): src/Senparc.Weixin.MP/Senparc.Weixin.MP/AdvancedAPIs/Invoice/InvoiceJson/MakeOutInvoiceData.cs:196-205 | src/Senparc.Weixin.Work/Senparc.Weixin.Work/AdvancedAPIs/Invoice/InvoiceJson/MakeOutInvoiceData.cs:195-204 \u2014 before extracting anything, compare \u0060src/Senparc.Weixin.MP/Senparc.Weixin.MP/AdvancedAPIs/Invoice/InvoiceJson/MakeOutInvoiceData.cs\u0060 and \u0060src/Senparc.Weixin.Work/Senparc.Weixin.Work/AdvancedAPIs/Invoice/InvoiceJson/MakeOutInvoiceData.cs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 146 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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 \u0060src/Senparc.Weixin.MP/Senparc.Weixin.MP/AdvancedAPIs/Invoice/InvoiceJson/MakeOutInvoiceData.cs:196\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.MP/Senparc.Weixin.MP/AdvancedAPIs/Invoice/InvoiceJson/MakeOutInvoiceData.cs"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa11bc190f156b19ed37480eec56948dc464384e183e3c81000c4527fac69c17"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): src/Senparc.Weixin.MP/Senparc.Weixin.MP/Helpers/JSSDK/JSSDKHelper.cs:107-116 | src/Senparc.Weixin.MP/Senparc.Weixin.MP/Helpers/JSSDK/JSSDKHelper.cs:136-145 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Senparc.Weixin.MP/Senparc.Weixin.MP/Helpers/JSSDK/JSSDKHelper.cs:107\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":"src/Senparc.Weixin.MP/Senparc.Weixin.MP/Helpers/JSSDK/JSSDKHelper.cs"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"97e40f97d9277d6f912a9c7249033ce9d7bad5df704384b013e830e4feda05f0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): src/Senparc.Weixin.WxOpen/src/Senparc.Weixin.WxOpen/Senparc.Weixin.WxOpen/AdvancedAPIs/XPay/XPayApi.cs:1293-1302 | src/Senparc.Weixin.WxOpen/src/Senparc.Weixin.WxOpen/Senparc.Weixin.WxOpen/AdvancedAPIs/XPay/XPayApi.cs:1323-1332 \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 \u0060src/Senparc.Weixin.WxOpen/src/Senparc.Weixin.WxOpen/Senparc.Weixin.WxOpen/AdvancedAPIs/XPay/XPayApi.cs:1293\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.WxOpen/src/Senparc.Weixin.WxOpen/Senparc.Weixin.WxOpen/AdvancedAPIs/XPay/XPayApi.cs"},"region":{"startLine":1293}}}],"partialFingerprints":{"codehealthFindingId/v1":"3631d06f143a38a7f4fc3264e04a9338eb059c84a51b8b3937cbe41d20096db2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/TenPayV3.cs:894-903 | src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/TenPayV3.cs:967-976 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/TenPayV3.cs"},"region":{"startLine":894}}}],"partialFingerprints":{"codehealthFindingId/v1":"956e61e2d747e7e6444af55f4701101be42063408c930e832dd864bc3bd5d69e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/TenPayV3.cs:1459-1468 | src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/TenPayV3.cs:1533-1542 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/TenPayV3.cs"},"region":{"startLine":1459}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9b1b16c30a05d5d1148a7d935d43a89ab0df5def1925cbe4c5fac4d934e4daa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/BasePay/BasePayApis.cs:402-411 | src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/BasePay/BasePayApis.cs:427-436 \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 \u0060src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/BasePay/BasePayApis.cs:402\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/BasePay/BasePayApis.cs"},"region":{"startLine":402}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d03df35816780079e904e1657a4566f63cb95aa92aa890c939cc8e7a1987f7f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/BasePay/BasePayApis.cs:449-458 | src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/BasePay/BasePayApis.cs:472-481 \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 \u0060src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/BasePay/BasePayApis.cs:449\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/BasePay/BasePayApis.cs"},"region":{"startLine":449}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e925b46c2c1999cb8132d50c0ea989f9863009ddd50508010d9d30f3efeca0b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20139 lines \u00D7 4): src/Senparc.Weixin.Open/Senparc.Weixin.Open/WxaAPIs/Domain/DomainJson/GetEffectiveDomainResultJson.cs:49-55 | src/Senparc.Weixin.Open/Senparc.Weixin.Open/WxaAPIs/Domain/DomainJson/ModifyDomainDirectlyResultJson.cs:41-49 | src/Senparc.Weixin.Open/Senparc.Weixin.Open/WxaAPIs/Domain/DomainJson/ModifyDomainResultJson.cs:41-49 | src/Senparc.Weixin.WxOpen/src/Senparc.Weixin.WxOpen/Senparc.Weixin.WxOpen/AdvancedAPIs/Operation/OperationJson/OperationModels.cs:24-30 \u2014 before extracting anything, compare \u0060src/Senparc.Weixin.Open/Senparc.Weixin.Open/WxaAPIs/Domain/DomainJson/ModifyDomainDirectlyResultJson.cs\u0060 and \u0060src/Senparc.Weixin.Open/Senparc.Weixin.Open/WxaAPIs/Domain/DomainJson/ModifyDomainResultJson.cs\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 \u0060src/Senparc.Weixin.Open/Senparc.Weixin.Open/WxaAPIs/Domain/DomainJson/GetEffectiveDomainResultJson.cs:49\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":"src/Senparc.Weixin.Open/Senparc.Weixin.Open/WxaAPIs/Domain/DomainJson/GetEffectiveDomainResultJson.cs"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"472c44e27c3facd23b17d0dff64d642d3c81ae97e9d60796b813fc6653073fb1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 4): src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V2/CheckRequestHandler.cs:78-87 | src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V2/ClientRequestHandler.cs:161-170 | src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V2/ResponseHandler.cs:261-269 | src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/ResponseHandler.cs:287-295 \u2014 before extracting anything, compare \u0060src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V2/CheckRequestHandler.cs\u0060 and \u0060src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V2/ClientRequestHandler.cs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 33 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V2/CheckRequestHandler.cs:78\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":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V2/CheckRequestHandler.cs"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5349b28fca141a88fa745bceff5e15eae4f9f9f7bea862865d1f43bdb33a887"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): src/Senparc.Weixin.MP/Senparc.Weixin.MP/AdvancedAPIs/MerChant/Picture/PictureApi.cs:56-64 | src/Senparc.Weixin.MP/Senparc.Weixin.MP/AdvancedAPIs/MerChant/Picture/PictureApi.cs:73-81 \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 \u0060src/Senparc.Weixin.MP/Senparc.Weixin.MP/AdvancedAPIs/MerChant/Picture/PictureApi.cs: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. 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":"src/Senparc.Weixin.MP/Senparc.Weixin.MP/AdvancedAPIs/MerChant/Picture/PictureApi.cs"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad8082a35b0b32ee0c701dbc1c786cb2892f8a28527a8fdc6bf40d9f10220212"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V2/ClientRequestHandler.cs:118-127 | src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V2/RequestHandler.cs:151-159 \u2014 before extracting anything, compare \u0060src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V2/ClientRequestHandler.cs\u0060 and \u0060src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V2/RequestHandler.cs\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 55 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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 \u0060src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V2/ClientRequestHandler.cs:118\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":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V2/ClientRequestHandler.cs"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1633e63f7d5919b03fcd9c0445265f21575d9e8cb76b93b0994c2e8d86355c1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/Entities/Request/TenpayV3ProfitShareingRequestData.cs:325-333 | src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/Entities/Request/TenpayV3ProfitShareingRequestData.cs:461-469 \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, \u0060src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/Entities/Request/TenpayV3ProfitShareingRequestData.cs:334\u0060 calls \u0060SetParameter\u0060 and \u0060src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/Entities/Request/TenpayV3ProfitShareingRequestData.cs:472\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":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/Entities/Request/TenpayV3ProfitShareingRequestData.cs"},"region":{"startLine":325}}}],"partialFingerprints":{"codehealthFindingId/v1":"42992a333389294ad65c2c5c36b56281da4650d59f9683a7737fd5076a13c3ac"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/Marketing/Entities/RequestData/QueryPartnershipsRequestData.cs:63-71 | src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/Marketing/Entities/RequestData/TerminatePartnershipsRequestData.cs:64-72 \u2014 before extracting anything, compare \u0060src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/Marketing/Entities/RequestData/QueryPartnershipsRequestData.cs\u0060 and \u0060src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/Marketing/Entities/RequestData/TerminatePartnershipsRequestData.cs\u0060 as WHOLE FILES: 86% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. 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":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/Marketing/Entities/RequestData/QueryPartnershipsRequestData.cs"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef9115f740ab51216833e07b65839f8966778aad3c97759edec2398444720569"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 8): src/Senparc.Weixin.Work/Senparc.Weixin.Work/AdvancedAPIs/Mass/LinkerCorp/LinkerCorpData.cs:22-29 | src/Senparc.Weixin.Work/Senparc.Weixin.Work/AdvancedAPIs/Mass/LinkerCorp/LinkerCorpData.cs:46-53 | src/Senparc.Weixin.Work/Senparc.Weixin.Work/AdvancedAPIs/Mass/LinkerCorp/LinkerCorpData.cs:71-78 | src/Senparc.Weixin.Work/Senparc.Weixin.Work/AdvancedAPIs/Mass/LinkerCorp/LinkerCorpData.cs:94-101 | src/Senparc.Weixin.Work/Senparc.Weixin.Work/AdvancedAPIs/Mass/LinkerCorp/LinkerCorpData.cs:121-128 | src/Senparc.Weixin.Work/Senparc.Weixin.Work/AdvancedAPIs/Mass/LinkerCorp/LinkerCorpData.cs:146-153 | src/Senparc.Weixin.Work/Senparc.Weixin.Work/AdvancedAPIs/Mass/LinkerCorp/LinkerCorpData.cs:173-180 | src/Senparc.Weixin.Work/Senparc.Weixin.Work/AdvancedAPIs/Mass/LinkerCorp/LinkerCorpData.cs:206-213 \u2014 all 8 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Senparc.Weixin.Work/Senparc.Weixin.Work/AdvancedAPIs/Mass/LinkerCorp/LinkerCorpData.cs:22\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":"src/Senparc.Weixin.Work/Senparc.Weixin.Work/AdvancedAPIs/Mass/LinkerCorp/LinkerCorpData.cs"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f88281133c07514f12380c4bc54fae6a1f8baf2e5560f5364764a3fa6146efe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20138 lines \u00D7 7): src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/TenPayV3.cs:416-422 | src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/TenPayV3.cs:451-458 | src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/TenPayV3.cs:651-658 | src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/TenPayV3.cs:765-772 | src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/TenPayV3.cs:801-808 | src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/TenPayV3.cs:840-847 | src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/TenPayV3.cs:875-882 \u2014 all 7 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/TenPayV3.cs"},"region":{"startLine":416}}}],"partialFingerprints":{"codehealthFindingId/v1":"5968f22f8ee35922ca867ad5c04230c618464c370aef010d0085bd92d5f870da"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20138 lines \u00D7 7): src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/TenPayV3.cs:1182-1189 | src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/TenPayV3.cs:1218-1225 | src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/TenPayV3.cs:1255-1261 | src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/TenPayV3.cs:1338-1345 | src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/TenPayV3.cs:1372-1379 | src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/TenPayV3.cs:1405-1412 | src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/TenPayV3.cs:1440-1447 \u2014 all 7 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/TenPayV3.cs"},"region":{"startLine":1182}}}],"partialFingerprints":{"codehealthFindingId/v1":"84b831b07941e4b6ab923757ad44bb58734d2b121eb23ebe0953179aeaf7ecbe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 5): src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V2/CheckRequestHandler.cs:78-85 | src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V2/ClientRequestHandler.cs:161-168 | src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V2/RequestHandler.cs:190-197 | src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V2/ResponseHandler.cs:261-268 | src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/ResponseHandler.cs:287-294 \u2014 before extracting anything, compare \u0060src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V2/CheckRequestHandler.cs\u0060 and \u0060src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V2/ClientRequestHandler.cs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 33 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V2/CheckRequestHandler.cs:78\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":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V2/CheckRequestHandler.cs"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"b59519466018c97dcb44a13c2f911bf4f00010a727cacff48064207ae28a393e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 5): src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/Entities/Request/TenpayV3ProfitShareingRequestData.cs:182-189 | src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/Entities/Request/TenpayV3ProfitShareingRequestData.cs:325-332 | src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/Entities/Request/TenpayV3ProfitShareingRequestData.cs:461-468 | src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/Entities/Request/TenpayV3ProfitShareingRequestData.cs:572-579 | src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/Entities/Request/TenpayV3ProfitShareingRequestData.cs:697-704 \u2014 all 5 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. 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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060receiver\u0060 to \u0060TenpayV3ProfitShareingAddReceiverRequestData_ReceiverInfo\u0060 in one and \u0060TenpayV3ProfitShareing_ReceiverInfo\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/Entities/Request/TenpayV3ProfitShareingRequestData.cs:696\u0060 calls \u0060SetParameterWhenNotNull\u0060 and \u0060src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/Entities/Request/TenpayV3ProfitShareingRequestData.cs:178\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":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/Entities/Request/TenpayV3ProfitShareingRequestData.cs"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"87b914a0c020e3ee20536487fd6abfbe7062457960c07f3ff420c0f24e89c78f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 4): src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/TenPayV3.cs:894-901 | src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/TenPayV3.cs:967-974 | src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/TenPayV3.cs:1459-1466 | src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/TenPayV3.cs:1533-1540 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/TenPayV3.cs:894\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":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/TenPayV3.cs"},"region":{"startLine":894}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc498eb0286817b76657db2b4e69db023e3f475536b46a6defb11d58a63f7333"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/Apply4Sub/Entities/RequestData/Apply4SubRequestData.cs:158-165 | src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/Apply4Subject/Entities/RequestData/Apply4SubjectRequestData.cs:81-88 | src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/Ecommerce/Entities/RequestData/EcommerceSubMerchantRequestData.cs:158-206 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/Apply4Sub/Entities/RequestData/Apply4SubRequestData.cs:158\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":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/Apply4Sub/Entities/RequestData/Apply4SubRequestData.cs"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1b171c95a94ea024af3eb4a81ed0051c0a6f583689f0deca6af26ec544f103f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/BasePay/BasePayApis.cs:790-797 | src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/BasePay/BasePayApis.cs:840-847 | src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/BasePay/BasePayApis.cs:923-930 \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 \u0060src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/BasePay/BasePayApis.cs:790\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":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/BasePay/BasePayApis.cs"},"region":{"startLine":790}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e5a8787da35f5bb6511e7d53e6618ba620a3395b6e17e69bae31b95ae3186b3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Helpers/SecurityHelper.cs:128-135 | src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Helpers/TenPaySignHelper.cs:181-188 | src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/TenPayHttpClient/Verifier/SHA256WithRSAVerifier.cs:34-41 \u2014 before extracting anything, compare \u0060src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Helpers/TenPaySignHelper.cs\u0060 and \u0060src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/TenPayHttpClient/Verifier/SHA256WithRSAVerifier.cs\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. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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 \u0060src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Helpers/SecurityHelper.cs:128\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Helpers/SecurityHelper.cs"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"c42cbf66a1a13799a496f03a2d569d55d8ac98c6b47a0c51436d0ae49c97bf8c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src/Senparc.Weixin.Work/Senparc.Weixin.Work/AdvancedAPIs/Mass/LinkerCorp/LinkerCorpApi.cs:348-355 | src/Senparc.Weixin.Work/Senparc.Weixin.Work/AdvancedAPIs/Mass/LinkerCorp/LinkerCorpApi.cs:365-372 \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 first that the copies are not typed on the same thing: the declarations holding them bind \u0060data\u0060 to \u0060SendTextCardData\u0060 in one and \u0060SendMiniNoticeData\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.Work/Senparc.Weixin.Work/AdvancedAPIs/Mass/LinkerCorp/LinkerCorpApi.cs"},"region":{"startLine":348}}}],"partialFingerprints":{"codehealthFindingId/v1":"eadbfb4aa854908d1dd4b80cd8affbf6cc208073e58bf9b86d223793909d00c8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src/Senparc.Weixin.Work/Senparc.Weixin.Work/AdvancedAPIs/WeChatCustomerService/WeChatCustomerServiceJson.cs:214-221 | src/Senparc.Weixin.Work/Senparc.Weixin.Work/AdvancedAPIs/WeChatCustomerService/WeChatCustomerServiceJson.cs:315-322 \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":"src/Senparc.Weixin.Work/Senparc.Weixin.Work/AdvancedAPIs/WeChatCustomerService/WeChatCustomerServiceJson.cs"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"de5cb66c208adbb312036e42e285d6d0ad90bf76b5be5ac28ad6398d4b605c74"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src/Senparc.Weixin.MP/Senparc.Weixin.MP/AdvancedAPIs/NonTaxPay/NonTaxPayApi.cs:402-409 | src/Senparc.Weixin.MP/Senparc.Weixin.MP/AdvancedAPIs/NonTaxPay/NonTaxPayApi.cs:418-425 \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 \u0060src/Senparc.Weixin.MP/Senparc.Weixin.MP/AdvancedAPIs/NonTaxPay/NonTaxPayApi.cs:402\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":"src/Senparc.Weixin.MP/Senparc.Weixin.MP/AdvancedAPIs/NonTaxPay/NonTaxPayApi.cs"},"region":{"startLine":402}}}],"partialFingerprints":{"codehealthFindingId/v1":"53dc1c50306de1dd0669d3b0af35ab827ce5e55b1a83d1aabb17928add045bee"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src/Senparc.Weixin.WxOpen/src/Senparc.Weixin.WxOpen/Senparc.Weixin.WxOpen/AdvancedAPIs/Delivery/DeliveryProviderApi.cs:393-400 | src/Senparc.Weixin.WxOpen/src/Senparc.Weixin.WxOpen/Senparc.Weixin.WxOpen/AdvancedAPIs/Delivery/DeliveryProviderApi.cs:409-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 \u0060src/Senparc.Weixin.WxOpen/src/Senparc.Weixin.WxOpen/Senparc.Weixin.WxOpen/AdvancedAPIs/Delivery/DeliveryProviderApi.cs:393\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":"src/Senparc.Weixin.WxOpen/src/Senparc.Weixin.WxOpen/Senparc.Weixin.WxOpen/AdvancedAPIs/Delivery/DeliveryProviderApi.cs"},"region":{"startLine":393}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9b2201df01c6318c53390ea722ba64cefbe7f2c6dd7969cfc07a18f40d8033a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/TenPayV3.cs:313-320 | src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/TenPayV3.cs:1086-1093 \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 \u0060src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/TenPayV3.cs:313\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":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/TenPayV3.cs"},"region":{"startLine":313}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7d387962061d91c22ebfe251b94540d9427faabdb1231bea9e7ee57e874cd6c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20138 lines \u00D7 2): src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/TenPayV3.cs:415-421 | src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/TenPayV3.cs:1181-1188 \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 \u0060src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/TenPayV3.cs:415\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":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/TenPayV3.cs"},"region":{"startLine":415}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e929485e2f438318c1569a7b64adad2ea25687087891efcb5ddbceee9d572eb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/TenPayV3.cs:450-457 | src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/TenPayV3.cs:1217-1224 \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 \u0060src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/TenPayV3.cs:450\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":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/TenPayV3.cs"},"region":{"startLine":450}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9046432065ad338e08738b22c0407d4630be1d7d2d701f0df227805d157e466"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20138 lines \u00D7 2): src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/TenPayV3.cs:466-473 | src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/TenPayV3.cs:1235-1241 \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 \u0060src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/TenPayV3.cs:466\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":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/TenPayV3.cs"},"region":{"startLine":466}}}],"partialFingerprints":{"codehealthFindingId/v1":"0795dd7cf2422fa39944ac2725f3e64c8eb92b474d765df2c9618b408c10e923"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20138 lines \u00D7 2): src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/TenPayV3.cs:650-657 | src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/TenPayV3.cs:1254-1260 \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 \u0060src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/TenPayV3.cs:650\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":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/TenPayV3.cs"},"region":{"startLine":650}}}],"partialFingerprints":{"codehealthFindingId/v1":"ade7722fba6c11f24d75d4023561f97be16cd410bb7587ee385bc4e5632eb9e2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/TenPayV3.cs:764-771 | src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/TenPayV3.cs:1337-1344 \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 \u0060src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/TenPayV3.cs:764\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":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/TenPayV3.cs"},"region":{"startLine":764}}}],"partialFingerprints":{"codehealthFindingId/v1":"48f4ea31d420e2c1b9199b4fcededac3c72f304268b025aa55d14366d775d874"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20138 lines \u00D7 2): src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/TenPayV3.cs:780-787 | src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/TenPayV3.cs:1353-1359 \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 \u0060src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/TenPayV3.cs:780\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":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/TenPayV3.cs"},"region":{"startLine":780}}}],"partialFingerprints":{"codehealthFindingId/v1":"a32b9474b09b421481823adf82cdae5905e23bce189666a3ef0f05d862f2bec6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/TenPayV3.cs:800-807 | src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/TenPayV3.cs:1371-1378 \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 \u0060src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/TenPayV3.cs:800\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":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/TenPayV3.cs"},"region":{"startLine":800}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd134c3d222bea3e8bc9528f6bab6110e25bc7aebd5c5d7d9f4152023ce511a1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/TenPayV3.cs:839-846 | src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/TenPayV3.cs:1404-1411 \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 \u0060src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/TenPayV3.cs:839\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":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/TenPayV3.cs"},"region":{"startLine":839}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfca038fe38b57cdc7c900e689dbf16a0baa0939c264c9884802032315ba73a7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/TenPayV3.cs:874-881 | src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/TenPayV3.cs:1439-1446 \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 \u0060src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/TenPayV3.cs:874\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":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/TenPayV3.cs"},"region":{"startLine":874}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5afbd5cedd589d30d3a44938a9fb9f536d72a65d0dc64c18bb022e6d179538c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20138 lines \u00D7 2): src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/TenPayV3.cs:1040-1047 | src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/TenPayV3.cs:1605-1611 \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 \u0060src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/TenPayV3.cs:1040\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":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/TenPayV3.cs"},"region":{"startLine":1040}}}],"partialFingerprints":{"codehealthFindingId/v1":"d620a7992f0306c5aeadc529590eadf3d4c693d5d94e74bcda24820cedd2ef67"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/Apply4Sub/Entities/RequestData/Apply4SubRequestData.cs:172-179 | src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/Ecommerce/Entities/RequestData/EcommerceSubMerchantRequestData.cs:213-261 \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 \u0060src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/Apply4Sub/Entities/RequestData/Apply4SubRequestData.cs:172\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":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/Apply4Sub/Entities/RequestData/Apply4SubRequestData.cs"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"947b1b7d07a3153b54a87f60249f3c745ea437201a27d388858f16978db7f6d6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 6): src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/TenPayV3.cs:433-439 | src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/TenPayV3.cs:469-475 | src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/TenPayV3.cs:670-676 | src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/TenPayV3.cs:783-789 | src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/TenPayV3.cs:857-863 | src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/TenPayV3.cs:1043-1049 \u2014 all 6 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060dataInfo\u0060 to \u0060TenPayV3OrderQueryRequestData\u0060 in one and \u0060TenPayV3CloseOrderRequestData\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/TenPayV3.cs"},"region":{"startLine":433}}}],"partialFingerprints":{"codehealthFindingId/v1":"9610eb2c9a47505962d2b4cbee4fb5a250853660f8c830d0ee94e7fdc68a1120"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 6): src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/TenPayV3.cs:1201-1207 | src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/TenPayV3.cs:1237-1243 | src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/TenPayV3.cs:1273-1279 | src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/TenPayV3.cs:1355-1361 | src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/TenPayV3.cs:1422-1428 | src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/TenPayV3.cs:1607-1613 \u2014 all 6 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060dataInfo\u0060 to \u0060TenPayV3OrderQueryRequestData\u0060 in one and \u0060TenPayV3CloseOrderRequestData\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/TenPayV3.cs"},"region":{"startLine":1201}}}],"partialFingerprints":{"codehealthFindingId/v1":"465e575727dd1095800239cc984213ddd2ec94bcb25589edf50d0328a3417cbb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 4): src/Senparc.Weixin.WxOpen/src/Senparc.Weixin.WxOpen/Senparc.Weixin.WxOpen/AdvancedAPIs/Delivery/DeliveryProviderApi.cs:384-390 | src/Senparc.Weixin.WxOpen/src/Senparc.Weixin.WxOpen/Senparc.Weixin.WxOpen/AdvancedAPIs/ImmediateDelivery/ImmediateDeliveryApi.cs:434-441 | src/Senparc.Weixin.WxOpen/src/Senparc.Weixin.WxOpen/Senparc.Weixin.WxOpen/AdvancedAPIs/WeixinExpress/WeixinExpressApi.cs:262-269 | src/Senparc.Weixin.WxOpen/src/Senparc.Weixin.WxOpen/Senparc.Weixin.WxOpen/AdvancedAPIs/WeixinExpress/WeixinExpressProviderApi.cs:118-125 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 4 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 4 times. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060request\u0060 to \u0060DeliveryProviderUpdateOrderStatusRequest\u0060 in one and \u0060ImmediateDeliveryAddOrderRequest\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.WxOpen/src/Senparc.Weixin.WxOpen/Senparc.Weixin.WxOpen/AdvancedAPIs/Delivery/DeliveryProviderApi.cs"},"region":{"startLine":384}}}],"partialFingerprints":{"codehealthFindingId/v1":"69526683c13e405b003a0d299ce96332721ec5b7454bf139c28d55e7d8312d4b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src/Senparc.Weixin.Work/Senparc.Weixin.Work/AdvancedAPIs/Mass/MassApi.cs:1117-1123 | src/Senparc.Weixin.Work/Senparc.Weixin.Work/AdvancedAPIs/Mass/MassApi.cs:1133-1139 \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 first that the copies are not typed on the same thing: the declarations holding them bind \u0060data\u0060 to \u0060SendMiniProgramNoticeData\u0060 in one and \u0060SendTaskCardNoticeData\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.Work/Senparc.Weixin.Work/AdvancedAPIs/Mass/MassApi.cs"},"region":{"startLine":1117}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bdc1e9451664aa4fb834201ad1c7dfa38ac17ea16484db05c84f7927f2488f6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src/Senparc.Weixin.MP/Senparc.Weixin.MP/AdvancedAPIs/Invoice/InvoiceJson/InvoiceResultJson.cs:108-114 | src/Senparc.Weixin.MP/Senparc.Weixin.MP/Entities/Request/Event/RequestMessageEvent_Submit_Invoice_Title.cs:48-72 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.MP/Senparc.Weixin.MP/AdvancedAPIs/Invoice/InvoiceJson/InvoiceResultJson.cs"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"98be107b2b31ee1edac7980257591405fa93479258abc57b39b817c552ca7c06"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/Entities/Request/TenPayV3PayToWorkerRequestData.cs:206-212 | src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/Entities/Request/TenPayV3TransfersRequestData.cs:174-180 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/Entities/Request/TenPayV3TransfersRequestData.cs:172\u0060 calls \u0060SetParameter\u0060 and \u0060src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/Entities/Request/TenPayV3PayToWorkerRequestData.cs:205\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":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/Entities/Request/TenPayV3PayToWorkerRequestData.cs"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8d58936d36910959e09437d8ad510ac6047a4b48f589446e0a391cf11bd4dce"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/TenPayV3.cs:431-437 | src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/TenPayV3.cs:1199-1205 \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 \u0060src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/TenPayV3.cs:431\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":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/TenPayV3.cs"},"region":{"startLine":431}}}],"partialFingerprints":{"codehealthFindingId/v1":"d318441cbf46ea4ae9e13e147845b130abba4353a7894a76b29d7d94b47293e9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/TenPayV3.cs:668-674 | src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/TenPayV3.cs:1271-1277 \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 \u0060src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/TenPayV3.cs:668\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":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/TenPayV3.cs"},"region":{"startLine":668}}}],"partialFingerprints":{"codehealthFindingId/v1":"8add9d2cd79dd7ebaf93660e6aea5c78cb84b39fc0bd6d52ae4300d79411bb8e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/TenPayV3.cs:817-823 | src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/TenPayV3.cs:1387-1393 \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 \u0060src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/TenPayV3.cs:817\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":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/TenPayV3.cs"},"region":{"startLine":817}}}],"partialFingerprints":{"codehealthFindingId/v1":"b98592bbca5cca17b91a8a2a843879c6ae67771272090251f956bc54bb5f83fe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/TenPayV3.cs:855-861 | src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/TenPayV3.cs:1420-1426 \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 \u0060src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/TenPayV3.cs:855\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":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/TenPayV3.cs"},"region":{"startLine":855}}}],"partialFingerprints":{"codehealthFindingId/v1":"21089360b1886d3100e8a6ffeb2cf9b44604cf64bbdb37d2739874bc1e257c16"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 14): src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/TenPayV3.cs:432-437 | src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/TenPayV3.cs:467-473 | src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/TenPayV3.cs:669-674 | src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/TenPayV3.cs:781-787 | src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/TenPayV3.cs:818-823 | src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/TenPayV3.cs:856-861 | src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/TenPayV3.cs:1041-1047 | src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/TenPayV3.cs:1200-1205 | src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/TenPayV3.cs:1236-1241 | src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/TenPayV3.cs:1272-1277 | src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/TenPayV3.cs:1354-1359 | src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/TenPayV3.cs:1388-1393 | src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/TenPayV3.cs:1421-1426 | src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/TenPayV3.cs:1606-1611 \u2014 all 14 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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060dataInfo\u0060 to \u0060TenPayV3OrderQueryRequestData\u0060 in one and \u0060TenPayV3CloseOrderRequestData\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/TenPayV3.cs"},"region":{"startLine":432}}}],"partialFingerprints":{"codehealthFindingId/v1":"cad3eea6ae26d19ad17484f5155c25e8fa2b0d4fa40d7f53354730c994e1566a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 9): src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/TenPayV3.cs:1087-1093 | src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/TenPayV3.cs:1182-1188 | src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/TenPayV3.cs:1218-1224 | src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/TenPayV3.cs:1255-1260 | src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/TenPayV3.cs:1338-1344 | src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/TenPayV3.cs:1372-1378 | src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/TenPayV3.cs:1389-1394 | src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/TenPayV3.cs:1405-1411 | src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/TenPayV3.cs:1440-1446 \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. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/TenPayV3.cs:1389\u0060 calls \u0060ParseXML\u0060 and \u0060src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/TenPayV3.cs:1087\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":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/TenPayV3.cs"},"region":{"startLine":1087}}}],"partialFingerprints":{"codehealthFindingId/v1":"86605d16849647984fe266e5680807814ac92e3eed3274b3b70bf155e82ceb5b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 8): src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/TenPayV3.cs:314-320 | src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/TenPayV3.cs:416-421 | src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/TenPayV3.cs:451-457 | src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/TenPayV3.cs:651-657 | src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/TenPayV3.cs:765-771 | src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/TenPayV3.cs:801-807 | src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/TenPayV3.cs:840-846 | src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/TenPayV3.cs:875-881 \u2014 all 8 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/TenPayV3.cs"},"region":{"startLine":314}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fc6240b6267de945c44c102598aef590b1446b1ef047ee914ee2d3c6b0ffc8e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/RedPackApi/RedPackHttpUtility.cs:79-84 | src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/RedPackApi/RedPackHttpUtility.cs:125-130 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/RedPackApi/RedPackHttpUtility.cs:79\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":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/RedPackApi/RedPackHttpUtility.cs"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a7102da4f6402c7a496b6b72c1c799afbce1da57ddf5b84f25a16002bcf91d7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): src/Senparc.Weixin.MP/Senparc.Weixin.MP/CommonAPIs/CommonApi.cs:444-453 | src/Senparc.Weixin.WxOpen/src/Senparc.Weixin.WxOpen/Senparc.Weixin.WxOpen/OpenAPIs/OpenApi.cs:212-216 \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 \u0060src/Senparc.Weixin.MP/Senparc.Weixin.MP/CommonAPIs/CommonApi.cs:444\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":"src/Senparc.Weixin.MP/Senparc.Weixin.MP/CommonAPIs/CommonApi.cs"},"region":{"startLine":444}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb30fb797ade56d0e14500eb73d002613a98f5f76cd0574595fd045b9d4ed7c8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): src/Senparc.Weixin.MP/Senparc.Weixin.MP/Entities/Response/ResponseMessageNews.cs:47-70 | src/Senparc.Weixin.Work/Senparc.Weixin.Work/Entities/Response/ResponseMessageNews.cs:24-46 \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 \u0060src/Senparc.Weixin.MP/Senparc.Weixin.MP/Entities/Response/ResponseMessageNews.cs:47\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.MP/Senparc.Weixin.MP/Entities/Response/ResponseMessageNews.cs"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"445537b2b8dbc86981e50011656ee27dcbd41f66fa4716f45bda9ba92e68c0c5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/PayScore/Entities/ReturnJson/CancelServiceOrderReturnJson.cs:56-69 | src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/PayScore/Entities/ReturnJson/PayServiceOrderReturnJson.cs:56-69 \u2014 before extracting anything, compare \u0060src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/PayScore/Entities/ReturnJson/CancelServiceOrderReturnJson.cs\u0060 and \u0060src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/PayScore/Entities/ReturnJson/PayServiceOrderReturnJson.cs\u0060 as WHOLE FILES: 82% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/PayScore/Entities/ReturnJson/CancelServiceOrderReturnJson.cs"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"36437f0a89c182b4d19fc4445a7ac38bf4db3a318a8582d3b9bdde32dc7e1cac"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): src/Senparc.Weixin.Work/Senparc.Weixin.Work/Containers/AccessTokenContainer.cs:397-415 | src/Senparc.Weixin.WxOpen/src/Senparc.Weixin.WxOpen/Senparc.Weixin.WxOpen/Containers/AccessTokenContainer.cs:212-230 \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":"src/Senparc.Weixin.Work/Senparc.Weixin.Work/Containers/AccessTokenContainer.cs"},"region":{"startLine":397}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cf5a6f2ecfdfe785ce093bb2cc43020c6203eacf363e201b9c3a087dc856783"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): src/Senparc.Weixin.Work/Senparc.Weixin.Work/Tencent/Cryptography.cs:30-35 | src/Senparc.Weixin/Senparc.Weixin/Tencent/Cryptography.cs:50-55 \u2014 before extracting anything, compare \u0060src/Senparc.Weixin.Work/Senparc.Weixin.Work/Tencent/Cryptography.cs\u0060 and \u0060src/Senparc.Weixin/Senparc.Weixin/Tencent/Cryptography.cs\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 205 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"src/Senparc.Weixin.Work/Senparc.Weixin.Work/Tencent/Cryptography.cs"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecfb9d9e8b18844cc251e19520c698362bb0828955255e2d4de01ef6fc3a55c5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): src/Senparc.Weixin.Work/Senparc.Weixin.Work/Tencent/Cryptography.cs:38-43 | src/Senparc.Weixin/Senparc.Weixin/Tencent/Cryptography.cs:58-63 \u2014 before extracting anything, compare \u0060src/Senparc.Weixin.Work/Senparc.Weixin.Work/Tencent/Cryptography.cs\u0060 and \u0060src/Senparc.Weixin/Senparc.Weixin/Tencent/Cryptography.cs\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 205 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"src/Senparc.Weixin.Work/Senparc.Weixin.Work/Tencent/Cryptography.cs"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"3288ea40f716d90760de28f24273aeade827fbf62a79be7ad7b544cc8bed3e76"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): src/Senparc.Weixin.Work/Senparc.Weixin.Work/Tencent/WXBizMsgCrypt.cs:319-331 | src/Senparc.Weixin/Senparc.Weixin/Tencent/WXBizMsgCrypt.cs:251-264 \u2014 before extracting anything, compare \u0060src/Senparc.Weixin.Work/Senparc.Weixin.Work/Tencent/WXBizMsgCrypt.cs\u0060 and \u0060src/Senparc.Weixin/Senparc.Weixin/Tencent/WXBizMsgCrypt.cs\u0060 as WHOLE FILES: this scan already matched 5 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. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"src/Senparc.Weixin.Work/Senparc.Weixin.Work/Tencent/WXBizMsgCrypt.cs"},"region":{"startLine":319}}}],"partialFingerprints":{"codehealthFindingId/v1":"38a51abc5d6f3f2fd0a1f7f958219381702680722137a90bc52c51b5ecc945b3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src/Senparc.Weixin.MP/Senparc.Weixin.MP/Containers/AccessTokenContainer.cs:343-349 | src/Senparc.Weixin.WxOpen/src/Senparc.Weixin.WxOpen/Senparc.Weixin.WxOpen/Containers/AccessTokenContainer.cs:248-254 \u2014 before extracting anything, compare \u0060src/Senparc.Weixin.MP/Senparc.Weixin.MP/Containers/AccessTokenContainer.cs\u0060 and \u0060src/Senparc.Weixin.WxOpen/src/Senparc.Weixin.WxOpen/Senparc.Weixin.WxOpen/Containers/AccessTokenContainer.cs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 51 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. 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":"src/Senparc.Weixin.MP/Senparc.Weixin.MP/Containers/AccessTokenContainer.cs"},"region":{"startLine":343}}}],"partialFingerprints":{"codehealthFindingId/v1":"d36b1db69b727767eeb84f3fd130f91b42b0ad9048263b62bf79b60b60b2a7b2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src/Senparc.Weixin.MP/Senparc.Weixin.MP/RequestMessageFactory.cs:124-130 | src/Senparc.Weixin.WxOpen/src/Senparc.Weixin.WxOpen/Senparc.Weixin.WxOpen/RequestMessageFactory.cs:117-123 \u2014 before extracting anything, compare \u0060src/Senparc.Weixin.MP/Senparc.Weixin.MP/RequestMessageFactory.cs\u0060 and \u0060src/Senparc.Weixin.WxOpen/src/Senparc.Weixin.WxOpen/Senparc.Weixin.WxOpen/RequestMessageFactory.cs\u0060 as WHOLE FILES: 90% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 2 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.MP/Senparc.Weixin.MP/RequestMessageFactory.cs"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d8deb83d0001ba307a5bc6604ec08dbb4dac41e60316a153de599210b7ce931"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): src/Senparc.Weixin.Open/Senparc.Weixin.Open/WxaAPIs/CloudBase/CloudBaseApi.cs:852-856 | src/Senparc.Weixin.Open/Senparc.Weixin.Open/WxaAPIs/CloudBaseBatch/CloudBaseBatchApi.cs:741-745 \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":"src/Senparc.Weixin.Open/Senparc.Weixin.Open/WxaAPIs/CloudBase/CloudBaseApi.cs"},"region":{"startLine":852}}}],"partialFingerprints":{"codehealthFindingId/v1":"bec24f4bc709e565fb01dbd8a5286d45fb3ab8f3db7095fcac150442f118b7ff"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 4): src/Senparc.Weixin.WxOpen/src/Senparc.Weixin.WxOpen/Senparc.Weixin.WxOpen/AdvancedAPIs/Delivery/DeliveryProviderApi.cs:374-380 | src/Senparc.Weixin.WxOpen/src/Senparc.Weixin.WxOpen/Senparc.Weixin.WxOpen/AdvancedAPIs/ImmediateDelivery/ImmediateDeliveryApi.cs:423-430 | src/Senparc.Weixin.WxOpen/src/Senparc.Weixin.WxOpen/Senparc.Weixin.WxOpen/AdvancedAPIs/WeixinExpress/WeixinExpressApi.cs:251-258 | src/Senparc.Weixin.WxOpen/src/Senparc.Weixin.WxOpen/Senparc.Weixin.WxOpen/AdvancedAPIs/WeixinExpress/WeixinExpressProviderApi.cs:107-114 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 4 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 4 times. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060request\u0060 to \u0060DeliveryProviderUpdateOrderStatusRequest\u0060 in one and \u0060ImmediateDeliveryAddOrderRequest\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.WxOpen/src/Senparc.Weixin.WxOpen/Senparc.Weixin.WxOpen/AdvancedAPIs/Delivery/DeliveryProviderApi.cs"},"region":{"startLine":374}}}],"partialFingerprints":{"codehealthFindingId/v1":"7908ba0c220d59952792be98cb1739c4a49a767aa03d8ded1cfc9ed5582a450d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): src/Senparc.Weixin.WxOpen/src/Senparc.Weixin.WxOpen/Senparc.Weixin.WxOpen/AdvancedAPIs/Face/FaceApi.cs:114-118 | src/Senparc.Weixin.WxOpen/src/Senparc.Weixin.WxOpen/Senparc.Weixin.WxOpen/AdvancedAPIs/Soter/SoterApi.cs:67-71 \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":"src/Senparc.Weixin.WxOpen/src/Senparc.Weixin.WxOpen/Senparc.Weixin.WxOpen/AdvancedAPIs/Face/FaceApi.cs"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"aadda0c7a2b3855056aba3f8b2093bd7897364e73460b79e42f004d2588564ab"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): src/Senparc.Weixin.WxOpen/src/Senparc.Weixin.WxOpen/Senparc.Weixin.WxOpen/AdvancedAPIs/Face/FaceApi.cs:122-126 | src/Senparc.Weixin.WxOpen/src/Senparc.Weixin.WxOpen/Senparc.Weixin.WxOpen/AdvancedAPIs/Soter/SoterApi.cs:75-79 \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":"src/Senparc.Weixin.WxOpen/src/Senparc.Weixin.WxOpen/Senparc.Weixin.WxOpen/AdvancedAPIs/Face/FaceApi.cs"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"285d95cc5dafb3e4fb447d09fcaf17223927d467635b14aef5aa55647407f794"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): src/Senparc.Weixin.WxOpen/src/Senparc.Weixin.WxOpen/Senparc.Weixin.WxOpen/AdvancedAPIs/LiveBroadcast/LiveBroadcastApi.cs:542-546 | src/Senparc.Weixin.WxOpen/src/Senparc.Weixin.WxOpen/Senparc.Weixin.WxOpen/AdvancedAPIs/TransactionGuarantee/TransactionGuaranteeApi.cs:499-505 \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":"src/Senparc.Weixin.WxOpen/src/Senparc.Weixin.WxOpen/Senparc.Weixin.WxOpen/AdvancedAPIs/LiveBroadcast/LiveBroadcastApi.cs"},"region":{"startLine":542}}}],"partialFingerprints":{"codehealthFindingId/v1":"80c3cd3279c3ba59fd7c140e7920f20df2afa8ebe012380e80e0ede43cc82d30"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): src/Senparc.Weixin.WxOpen/src/Senparc.Weixin.WxOpen/Senparc.Weixin.WxOpen/AdvancedAPIs/LiveBroadcast/LiveBroadcastApi.cs:550-554 | src/Senparc.Weixin.WxOpen/src/Senparc.Weixin.WxOpen/Senparc.Weixin.WxOpen/AdvancedAPIs/TransactionGuarantee/TransactionGuaranteeApi.cs:509-515 \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":"src/Senparc.Weixin.WxOpen/src/Senparc.Weixin.WxOpen/Senparc.Weixin.WxOpen/AdvancedAPIs/LiveBroadcast/LiveBroadcastApi.cs"},"region":{"startLine":550}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e4144273ddb6a23d3e20e39413b18c74537a9d8a0ff9dccaa4f1d21de72a35b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): src/Senparc.Weixin.WxOpen/src/Senparc.Weixin.WxOpen/Senparc.Weixin.WxOpen/AdvancedAPIs/MiniDrama/MiniDramaApi.cs:265-269 | src/Senparc.Weixin.WxOpen/src/Senparc.Weixin.WxOpen/Senparc.Weixin.WxOpen/AdvancedAPIs/Novel/NovelApi.cs:313-317 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060request\u0060 to \u0060MiniDramaMediaIdRequest\u0060 in one and \u0060NovelBookIdRequest\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.WxOpen/src/Senparc.Weixin.WxOpen/Senparc.Weixin.WxOpen/AdvancedAPIs/MiniDrama/MiniDramaApi.cs"},"region":{"startLine":265}}}],"partialFingerprints":{"codehealthFindingId/v1":"de266d0835f20f8e8c927a0328b12ebc6501d9b095100ea38e92574dea022a70"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): src/Senparc.Weixin.WxOpen/src/Senparc.Weixin.WxOpen/Senparc.Weixin.WxOpen/AdvancedAPIs/MiniDrama/MiniDramaApi.cs:273-277 | src/Senparc.Weixin.WxOpen/src/Senparc.Weixin.WxOpen/Senparc.Weixin.WxOpen/AdvancedAPIs/Novel/NovelApi.cs:321-325 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060request\u0060 to \u0060MiniDramaMediaIdRequest\u0060 in one and \u0060NovelBookIdRequest\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.WxOpen/src/Senparc.Weixin.WxOpen/Senparc.Weixin.WxOpen/AdvancedAPIs/MiniDrama/MiniDramaApi.cs"},"region":{"startLine":273}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5bd35d28aa4b9011e1a185c64df60858673fb339760ca5c4204935f9290f635"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 4): src/Senparc.Weixin.WxOpen/src/Senparc.Weixin.WxOpen/Senparc.Weixin.WxOpen/AdvancedAPIs/RedPacketCover/RedPacketCoverApi.cs:66-70 | src/Senparc.Weixin.WxOpen/src/Senparc.Weixin.WxOpen/Senparc.Weixin.WxOpen/AdvancedAPIs/ServiceMarket/ServiceMarketApi.cs:85-89 | src/Senparc.Weixin.WxOpen/src/Senparc.Weixin.WxOpen/Senparc.Weixin.WxOpen/AdvancedAPIs/Student/StudentApi.cs:66-70 | src/Senparc.Weixin.WxOpen/src/Senparc.Weixin.WxOpen/Senparc.Weixin.WxOpen/AdvancedAPIs/TransactionGuarantee/TransactionGuaranteeApi.cs:519-525 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 4 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 4 times. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060request\u0060 to \u0060RedPacketCoverUrlRequest\u0060 in one and \u0060ServiceMarketRetrieveRequest\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.WxOpen/src/Senparc.Weixin.WxOpen/Senparc.Weixin.WxOpen/AdvancedAPIs/RedPacketCover/RedPacketCoverApi.cs"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"9def9f3dcafd6673bd3b37cdb1fc339ff515b6d17c4cfc8d82d74c3f980306ac"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 4): src/Senparc.Weixin.WxOpen/src/Senparc.Weixin.WxOpen/Senparc.Weixin.WxOpen/AdvancedAPIs/RedPacketCover/RedPacketCoverApi.cs:74-78 | src/Senparc.Weixin.WxOpen/src/Senparc.Weixin.WxOpen/Senparc.Weixin.WxOpen/AdvancedAPIs/ServiceMarket/ServiceMarketApi.cs:93-97 | src/Senparc.Weixin.WxOpen/src/Senparc.Weixin.WxOpen/Senparc.Weixin.WxOpen/AdvancedAPIs/Student/StudentApi.cs:74-78 | src/Senparc.Weixin.WxOpen/src/Senparc.Weixin.WxOpen/Senparc.Weixin.WxOpen/AdvancedAPIs/TransactionGuarantee/TransactionGuaranteeApi.cs:529-535 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 4 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 4 times. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060request\u0060 to \u0060RedPacketCoverUrlRequest\u0060 in one and \u0060ServiceMarketRetrieveRequest\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.WxOpen/src/Senparc.Weixin.WxOpen/Senparc.Weixin.WxOpen/AdvancedAPIs/RedPacketCover/RedPacketCoverApi.cs"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc8589e29bf6fdbe869fa8f5059448e2c0e40f59493b692c72679718c9ba5440"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): src/Senparc.Weixin.WxOpen/src/Senparc.Weixin.WxOpen/Senparc.Weixin.WxOpen/AdvancedAPIs/WxApp/GenerateSchemeApi.cs:36-47 | src/Senparc.Weixin.WxOpen/src/Senparc.Weixin.WxOpen/Senparc.Weixin.WxOpen/AdvancedAPIs/WxApp/SearchApi.cs:36-47 \u2014 before extracting anything, compare \u0060src/Senparc.Weixin.WxOpen/src/Senparc.Weixin.WxOpen/Senparc.Weixin.WxOpen/AdvancedAPIs/WxApp/GenerateSchemeApi.cs\u0060 and \u0060src/Senparc.Weixin.WxOpen/src/Senparc.Weixin.WxOpen/Senparc.Weixin.WxOpen/AdvancedAPIs/WxApp/SearchApi.cs\u0060 as WHOLE FILES: 98% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 2 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. 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":"src/Senparc.Weixin.WxOpen/src/Senparc.Weixin.WxOpen/Senparc.Weixin.WxOpen/AdvancedAPIs/WxApp/GenerateSchemeApi.cs"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"f15e17c6f5cf4b8d2b63d9af5600399205c9af71b3f95c4d8cc56888ed3dfed2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 7): src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V2/ClientRequestHandler.cs:193-203 | src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V2/ClientResponseHandler.cs:127-137 | src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V2/RefundResponseHandler.cs:135-145 | src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V2/RequestHandler.cs:133-143 | src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V2/ResponseHandler.cs:234-244 | src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/RequestHandler.cs:165-175 | src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/ResponseHandler.cs:260-270 \u2014 before extracting anything, compare \u0060src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V2/ClientRequestHandler.cs\u0060 and \u0060src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V2/RequestHandler.cs\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 55 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V2/ClientRequestHandler.cs"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"2874aee7d5c0e8af25cbe796246c6c6f3e733ed25882a7266793fda972b94eb6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/TenPayV3Util.cs:221-235 | src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/TenPayV3Util.cs:207-221 \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":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/TenPayV3Util.cs"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"e58c11eaa25adac546879e47df2b6cfc43ca2a8bc5aeb03340e16bcb60c24cbe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/TenPayV3Util.cs:125-151 | src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/TenPayV3Util.cs:124-142 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/TenPayV3Util.cs"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d8e2057a8b8e33e1fb989f5cefbd9881742a7ab0a2322fe9e77d06db44ce4af"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/RedPackApi/RedPackApi.cs:102-115 | src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/RedPackApi/ShakeRedPackApi.cs:73-86 \u2014 before extracting anything, compare \u0060src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/RedPackApi/RedPackApi.cs\u0060 and \u0060src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/RedPackApi/ShakeRedPackApi.cs\u0060 as WHOLE FILES: 84% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 2 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. 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":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/RedPackApi/RedPackApi.cs"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5de13651358fe3ec09faf3129f03ac4b4619d834459d41b2029273b1b72ba0b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/BasePay/BasePayApis.cs:116-121 | src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/Profitsharing/ProfitsharingApis.cs:83-88 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. 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":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/BasePay/BasePayApis.cs"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"4febafb28be67f58dd52e664509b71fcbffe1833ab6b7fd1d93b712dc14491d4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/BasePay/Entities/RequestData/CombineTransactionsRequestData.cs:194-200 | src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/BasePay/Entities/RequestData/TransactionsRequestData.cs:617-623 \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":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/BasePay/Entities/RequestData/CombineTransactionsRequestData.cs"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ef30ccd0ded0d867187e05927a9a52fc274c4927dbc9381a4d5de1011ba5b08"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/BasePay/Entities/RequestData/RefundRequestData.cs:309-316 | src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/BasePay/Entities/RequestData/RefundRequsetData.cs:248-255 \u2014 before extracting anything, compare \u0060src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/BasePay/Entities/RequestData/RefundRequestData.cs\u0060 and \u0060src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/BasePay/Entities/RequestData/RefundRequsetData.cs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 100 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/BasePay/Entities/RequestData/RefundRequestData.cs"},"region":{"startLine":309}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ed000b097e5ace0fc4cd982db275b9acb68dfb497610212409f6d05981aa2cd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/ChainBrandProfitsharing/ChainBrandProfitsharingApis.cs:362-372 | src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/Security/SecurityEchoApis.cs:84-93 \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":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/ChainBrandProfitsharing/ChainBrandProfitsharingApis.cs"},"region":{"startLine":362}}}],"partialFingerprints":{"codehealthFindingId/v1":"5247c2cac434e19fe6f81f0cd4cfa7c3e3c77fe46e8db1fc5e971246d4955111"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 4): src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/Marketing/Entities/RequestData/CreateBusifavorStockRequestData.cs:818-824 | src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/Marketing/Entities/RequestData/ModifyBusifavorStockInformationRequestData.cs:279-285 | src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/Marketing/Entities/ReturnJson/QueryBusifavorCouponReturnJson.cs:218-224 | src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/Marketing/Entities/ReturnJson/QueryBusifavorStockReturnJson.cs:854-860 \u2014 before extracting anything, compare \u0060src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/Marketing/Entities/RequestData/CreateBusifavorStockRequestData.cs\u0060 and \u0060src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/Marketing/Entities/ReturnJson/QueryBusifavorStockReturnJson.cs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 114 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/Marketing/Entities/RequestData/CreateBusifavorStockRequestData.cs"},"region":{"startLine":818}}}],"partialFingerprints":{"codehealthFindingId/v1":"96d8afcf7898dca398c9caff2239243de2d8ab91bb0a96be5abe1c2dc1a375b6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/PayScore/Entities/NotifyJson/PayServiceOrderNotifyJson.cs:769-775 | src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/PayScore/Entities/ReturnJson/QueryServiceOrderReturnJson.cs:787-793 \u2014 before extracting anything, compare \u0060src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/PayScore/Entities/NotifyJson/PayServiceOrderNotifyJson.cs\u0060 and \u0060src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/PayScore/Entities/ReturnJson/QueryServiceOrderReturnJson.cs\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 198 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/PayScore/Entities/NotifyJson/PayServiceOrderNotifyJson.cs"},"region":{"startLine":769}}}],"partialFingerprints":{"codehealthFindingId/v1":"66e5260d54bbbdce00107bff8e400d14fcd051dd2cddde99dcb069d17d3aab63"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/PayScore/Entities/RequestData/CompleteServiceOrderRequestData.cs:294-299 | src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/PayScore/Entities/RequestData/CreateDirectCompleteServiceOrderRequestData.cs:297-302 | src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/PayScore/Entities/RequestData/CreateServiceOrderRequestData.cs:300-305 \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":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/PayScore/Entities/RequestData/CompleteServiceOrderRequestData.cs"},"region":{"startLine":294}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f239f2a14d423492b7f6823d26c093721697af94c5dcff04a2a9a14f8d805c1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/Profitsharing/Entities/ReturnJson/CreateProfitsharingReturnJson.cs:180-190 | src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/Profitsharing/Entities/ReturnJson/UnfreezeProfitsharingReturnJson.cs:125-135 \u2014 before extracting anything, compare \u0060src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/Profitsharing/Entities/ReturnJson/CreateProfitsharingReturnJson.cs\u0060 and \u0060src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/Profitsharing/Entities/ReturnJson/UnfreezeProfitsharingReturnJson.cs\u0060 as WHOLE FILES: this scan already matched 3 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/Profitsharing/Entities/ReturnJson/CreateProfitsharingReturnJson.cs"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a4691938958506127269af2ca65f5f513d0828a1801b6481fbcbb959b695ed1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 4): src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/VehicleParking/Entities/NotifyJson/PayNotifyJson.cs:236-245 | src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/VehicleParking/Entities/RequestData/PayParkingRequestData.cs:208-217 | src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/VehicleParking/Entities/ReturnJson/PayParkingReturnJson.cs:234-243 | src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/VehicleParking/Entities/ReturnJson/QueryParkingReturnJson.cs:234-243 \u2014 before extracting anything, compare \u0060src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/VehicleParking/Entities/ReturnJson/PayParkingReturnJson.cs\u0060 and \u0060src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/VehicleParking/Entities/ReturnJson/QueryParkingReturnJson.cs\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 307 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":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/VehicleParking/Entities/NotifyJson/PayNotifyJson.cs"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"471a824fc5ef391bfbf24e222f7bb4e664d82b958fc9086bea32d426429d4dbc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): src/Senparc.Weixin.MP/Senparc.Weixin.MP/CommonAPIs/CommonApi.cs:466-470 | src/Senparc.Weixin.WxOpen/src/Senparc.Weixin.WxOpen/Senparc.Weixin.WxOpen/OpenAPIs/OpenApi.cs:229-233 \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 \u0060src/Senparc.Weixin.MP/Senparc.Weixin.MP/CommonAPIs/CommonApi.cs:466\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.MP/Senparc.Weixin.MP/CommonAPIs/CommonApi.cs"},"region":{"startLine":466}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7c47b3c7d1cd6cb762c9a053e54f323af61641480fe67d8e3ced6f0c41a3f52"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/Work/WorkController.cs:173-195 | Samples/Work/Senparc.Weixin.Sample.Work/Controllers/JSSDKController.cs:33-59 \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":"Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/Work/WorkController.cs"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"411f57e00190495bb02d4a10a2eb734f2720be100d1de87483214bed7d9287b2"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (12 members, 50\u002B identical tokens): Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/TenPay/TenPayApiV3Controller.cs:264-326 | Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/TenPay/TenPayApiV3Controller.cs:427-483 | Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/TenPay/TenPayApiV3Controller.cs:486-514 | Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/TenPay/TenPayV3Controller.cs:168-233 | Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/TenPay/TenPayV3Controller.cs:1057-1143 | Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/TenPay/TenPayV3Controller.cs:1146-1174 | Samples/TenPayV2/Senparc.Weixin.Sample.TenPayV2/Controllers/TenPayV3Controller.cs:164-229 | Samples/TenPayV2/Senparc.Weixin.Sample.TenPayV2/Controllers/TenPayV3Controller.cs:1061-1147 | Samples/TenPayV2/Senparc.Weixin.Sample.TenPayV2/Controllers/TenPayV3Controller.cs:1150-1178 | Samples/TenPayV3/Senparc.Weixin.Sample.TenPayV3/Controllers/TenPayApiV3Controller.cs:255-315 | Samples/TenPayV3/Senparc.Weixin.Sample.TenPayV3/Controllers/TenPayApiV3Controller.cs:398-454 | Samples/TenPayV3/Senparc.Weixin.Sample.TenPayV3/Controllers/TenPayApiV3Controller.cs:457-485 \u2014 These 12 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 12 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 12 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/TenPay/TenPayApiV3Controller.cs"},"region":{"startLine":264}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e03c34bff64e332f0c1ab836562716031b833566b2867b274c9a3ccd4a19a50"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (9 members, 50\u002B identical tokens): Samples/All/Senparc.Weixin.Sample.CommonService/Utilities/QrCodeHelper.cs:22-47 | Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Tools/QrCodeController.cs:54-158 | Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/TenPay/TenPayV3Controller.cs:240-291 | Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/TenPay/TenPayV3Controller.cs:372-439 | Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/TenPay/TenPayV3Controller.cs:1006-1042 | Samples/TenPayV2/Senparc.Weixin.Sample.TenPayV2/Controllers/TenPayV3Controller.cs:321-371 | Samples/TenPayV2/Senparc.Weixin.Sample.TenPayV2/Controllers/TenPayV3Controller.cs:452-519 | Samples/TenPayV2/Senparc.Weixin.Sample.TenPayV2/Controllers/TenPayV3Controller.cs:1010-1046 | Samples/TenPayV3/Senparc.Weixin.Sample.TenPayV3/Utilities/QrCodeHelper.cs:22-47 \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":"Samples/All/Senparc.Weixin.Sample.CommonService/Utilities/QrCodeHelper.cs"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"0745006c7fb1b37661803b221b12bc3c87d408f6b2685d807914f8c39960f10e"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/MP/WeixinController.cs:87-162 | Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/Open/OpenController.cs:135-203 | Samples/MP/Senparc.Weixin.Sample.MP/Controllers/WeixinController.cs:79-152 | Samples/WxOpen/Senparc.Weixin.Sample.WxOpen/Controllers/WxOpenController.cs:75-136 \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":"Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/MP/WeixinController.cs"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdff9a3c8f8b6e2e48f8b8410978ada628dbd9d8826aa32cb60cd5236c2bcde7"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/TenPay/TenPayApiV3Controller.cs:134-153 | Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/TenPay/TenPayV3Controller.cs:977-996 | Samples/TenPayV2/Senparc.Weixin.Sample.TenPayV2/Controllers/TenPayV3Controller.cs:981-1000 | Samples/TenPayV3/Senparc.Weixin.Sample.TenPayV3/Controllers/TenPayApiV3Controller.cs:125-144 \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":"Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/TenPay/TenPayApiV3Controller.cs"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f8337716c81642a2f2a94ab842f606a617da46d4454945395e520fe1d3cbbd2"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/TenPay/TenPayApiV3Controller.cs:223-256 | Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/TenPay/TenPayV3Controller.cs:130-163 | Samples/TenPayV2/Senparc.Weixin.Sample.TenPayV2/Controllers/TenPayV3Controller.cs:126-159 | Samples/TenPayV3/Senparc.Weixin.Sample.TenPayV3/Controllers/TenPayApiV3Controller.cs:214-247 \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":"Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/TenPay/TenPayApiV3Controller.cs"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8dc33b2b69c1074d00f64b17f9daaea097d6c22aa552545d085e187adaf485a"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/TenPay/TenPayApiV3Controller.cs:334-416 | Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/TenPay/TenPayV3Controller.cs:477-550 | Samples/TenPayV2/Senparc.Weixin.Sample.TenPayV2/Controllers/TenPayV3Controller.cs:238-312 | Samples/TenPayV3/Senparc.Weixin.Sample.TenPayV3/Controllers/TenPayApiV3Controller.cs:323-387 \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":"Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/TenPay/TenPayApiV3Controller.cs"},"region":{"startLine":334}}}],"partialFingerprints":{"codehealthFindingId/v1":"d35912cb68baab334e68bc2faf268b62f5a3106f7ed08bb17d13a7032a24eff5"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/TenPay/TenPayController.cs:91-154 | Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/TenPay/TenPayController.cs:161-199 | Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/TenPay/TenPayController.cs:206-269 | Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/TenPay/TenPayController.cs:439-477 \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":"Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/TenPay/TenPayController.cs"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"03729715ff2cea37091b9a2a98c5828e169432c533b2df2d09f9091ff215bfaa"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/TenPay/TenPayV3Controller.cs:862-915 | Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/TenPay/TenPayV3Controller.cs:921-963 | Samples/TenPayV2/Senparc.Weixin.Sample.TenPayV2/Controllers/TenPayV3Controller.cs:866-919 | Samples/TenPayV2/Senparc.Weixin.Sample.TenPayV2/Controllers/TenPayV3Controller.cs:925-967 \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":"Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/TenPay/TenPayV3Controller.cs"},"region":{"startLine":862}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7aac9b4605cb23327360e9ffbfbc20542e61654b697d6804f8584f42628b628"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (79 lines \u00D7 2): Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/TenPay/TenPayV3Controller.cs:714-792 | Samples/TenPayV2/Senparc.Weixin.Sample.TenPayV2/Controllers/TenPayV3Controller.cs:718-796 \u2014 before extracting anything, compare \u0060Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/TenPay/TenPayV3Controller.cs\u0060 and \u0060Samples/TenPayV2/Senparc.Weixin.Sample.TenPayV2/Controllers/TenPayV3Controller.cs\u0060 as WHOLE FILES: this scan already matched 37 separate duplicated blocks between them, totalling at least 1014 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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 \u0060Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/TenPay/TenPayV3Controller.cs:714\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":"Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/TenPay/TenPayV3Controller.cs"},"region":{"startLine":714}}}],"partialFingerprints":{"codehealthFindingId/v1":"9eec415e06ef2802c5ce50776b502a730f74275ba9a00c8ce165aefd7c1e922e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (74 lines \u00D7 2): Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/WxOpen/WxOpenController.cs:493-566 | Samples/WxOpen/Senparc.Weixin.Sample.WxOpen/Controllers/WxOpenController.cs:406-479 \u2014 before extracting anything, compare \u0060Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/WxOpen/WxOpenController.cs\u0060 and \u0060Samples/WxOpen/Senparc.Weixin.Sample.WxOpen/Controllers/WxOpenController.cs\u0060 as WHOLE FILES: this scan already matched 16 separate duplicated blocks between them, totalling at least 357 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/WxOpen/WxOpenController.cs"},"region":{"startLine":493}}}],"partialFingerprints":{"codehealthFindingId/v1":"203b66eb26b2762ac9e235eba9b2a73b23989156ff09127ec3e5bec92f16177d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (69 lines \u00D7 2): Samples/All/Senparc.Weixin.Sample.CommonService/LocationService.cs:24-92 | Samples/MP/Senparc.Weixin.Sample.MP/Services/LocationService.cs:24-92 \u2014 before extracting anything, compare \u0060Samples/All/Senparc.Weixin.Sample.CommonService/LocationService.cs\u0060 and \u0060Samples/MP/Senparc.Weixin.Sample.MP/Services/LocationService.cs\u0060 as WHOLE FILES: 98% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Samples/All/Senparc.Weixin.Sample.CommonService/LocationService.cs"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5ae679883eee43dcc5381e9b13eec0c9e7adfe5ae63fac9a9dac7130368d1b2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (68 lines \u00D7 2): Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/TenPay/TenPayV3Controller.cs:372-439 | Samples/TenPayV2/Senparc.Weixin.Sample.TenPayV2/Controllers/TenPayV3Controller.cs:452-519 \u2014 before extracting anything, compare \u0060Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/TenPay/TenPayV3Controller.cs\u0060 and \u0060Samples/TenPayV2/Senparc.Weixin.Sample.TenPayV2/Controllers/TenPayV3Controller.cs\u0060 as WHOLE FILES: this scan already matched 37 separate duplicated blocks between them, totalling at least 1014 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/TenPay/TenPayV3Controller.cs"},"region":{"startLine":372}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb200959bad6e08871c1a244de03410bd893246276acc73700a973bd11f75014"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (64 lines \u00D7 2): Samples/All/Senparc.Weixin.Sample.CommonService/MessageHandlers/WxOpenMessageHandler/CustomWxOpenMessageHandler.cs:146-209 | Samples/WxOpen/Senparc.Weixin.Sample.WxOpen/MessageHandlers/CustomWxOpenMessageHandler.cs:130-193 \u2014 before extracting anything, compare \u0060Samples/All/Senparc.Weixin.Sample.CommonService/MessageHandlers/WxOpenMessageHandler/CustomWxOpenMessageHandler.cs\u0060 and \u0060Samples/WxOpen/Senparc.Weixin.Sample.WxOpen/MessageHandlers/CustomWxOpenMessageHandler.cs\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 169 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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 \u0060Samples/All/Senparc.Weixin.Sample.CommonService/MessageHandlers/WxOpenMessageHandler/CustomWxOpenMessageHandler.cs:146\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Samples/All/Senparc.Weixin.Sample.CommonService/MessageHandlers/WxOpenMessageHandler/CustomWxOpenMessageHandler.cs"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"a63f64fbf4dce37f4da4adab73dd4ce13f5935213c5c82ac0e20dd26b19b9b23"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (58\u201360 lines \u00D7 2): Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/MP/WeixinController.cs:87-146 | Samples/MP/Senparc.Weixin.Sample.MP/Controllers/WeixinController.cs:79-136 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/MP/WeixinController.cs:87\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":"Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/MP/WeixinController.cs"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fb1b52aa688492b9791601f2bfd4804a47edde6187d41fd8450ca4db69a38a5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (57 lines \u00D7 2): Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/TenPay/TenPayApiV3Controller.cs:427-483 | Samples/TenPayV3/Senparc.Weixin.Sample.TenPayV3/Controllers/TenPayApiV3Controller.cs:398-454 \u2014 before extracting anything, compare \u0060Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/TenPay/TenPayApiV3Controller.cs\u0060 and \u0060Samples/TenPayV3/Senparc.Weixin.Sample.TenPayV3/Controllers/TenPayApiV3Controller.cs\u0060 as WHOLE FILES: this scan already matched 18 separate duplicated blocks between them, totalling at least 426 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/TenPay/TenPayApiV3Controller.cs"},"region":{"startLine":427}}}],"partialFingerprints":{"codehealthFindingId/v1":"355bae1db752b97243bb5a16907749fef3994ab971781423fa677f28784f1a21"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (56 lines \u00D7 2): Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/WxOpen/WxOpenController.cs:219-274 | Samples/WxOpen/Senparc.Weixin.Sample.WxOpen/Controllers/WxOpenController.cs:211-266 \u2014 before extracting anything, compare \u0060Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/WxOpen/WxOpenController.cs\u0060 and \u0060Samples/WxOpen/Senparc.Weixin.Sample.WxOpen/Controllers/WxOpenController.cs\u0060 as WHOLE FILES: this scan already matched 16 separate duplicated blocks between them, totalling at least 357 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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 \u0060Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/WxOpen/WxOpenController.cs:219\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":"Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/WxOpen/WxOpenController.cs"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f93e2331af85509fbc1c35f3f7aa177099c2b45c436bfb8f2c9e93a2c4e1561"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (54 lines \u00D7 2): Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/TenPay/TenPayV3Controller.cs:862-915 | Samples/TenPayV2/Senparc.Weixin.Sample.TenPayV2/Controllers/TenPayV3Controller.cs:866-919 \u2014 before extracting anything, compare \u0060Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/TenPay/TenPayV3Controller.cs\u0060 and \u0060Samples/TenPayV2/Senparc.Weixin.Sample.TenPayV2/Controllers/TenPayV3Controller.cs\u0060 as WHOLE FILES: this scan already matched 37 separate duplicated blocks between them, totalling at least 1014 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/TenPay/TenPayV3Controller.cs"},"region":{"startLine":862}}}],"partialFingerprints":{"codehealthFindingId/v1":"b75ed185f0a5a5ac0e6cb194247f024bd2cd440f82073f60e5c17d97eb82766a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (51\u201352 lines \u00D7 2): Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/TenPay/TenPayV3Controller.cs:240-291 | Samples/TenPayV2/Senparc.Weixin.Sample.TenPayV2/Controllers/TenPayV3Controller.cs:321-371 \u2014 before extracting anything, compare \u0060Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/TenPay/TenPayV3Controller.cs\u0060 and \u0060Samples/TenPayV2/Senparc.Weixin.Sample.TenPayV2/Controllers/TenPayV3Controller.cs\u0060 as WHOLE FILES: this scan already matched 37 separate duplicated blocks between them, totalling at least 1014 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/TenPay/TenPayV3Controller.cs"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1648c77e7a0d7fb85a498ad0a9979a0b8a7bd67ab02acd445011380aa39e1f4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (50 lines \u00D7 2): Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/TenPay/TenPayV3Controller.cs:1086-1135 | Samples/TenPayV2/Senparc.Weixin.Sample.TenPayV2/Controllers/TenPayV3Controller.cs:1090-1139 \u2014 before extracting anything, compare \u0060Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/TenPay/TenPayV3Controller.cs\u0060 and \u0060Samples/TenPayV2/Senparc.Weixin.Sample.TenPayV2/Controllers/TenPayV3Controller.cs\u0060 as WHOLE FILES: this scan already matched 37 separate duplicated blocks between them, totalling at least 1014 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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 \u0060Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/TenPay/TenPayV3Controller.cs:1086\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":"Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/TenPay/TenPayV3Controller.cs"},"region":{"startLine":1086}}}],"partialFingerprints":{"codehealthFindingId/v1":"29ea99fdab60cbf2b19e3d483ac5fbe1eb44d08fc6ec629f50dcb25493732f9f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (44 lines \u00D7 2): Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/MP/OAuth2Controller.cs:162-205 | Samples/MP/Senparc.Weixin.Sample.MP/Controllers/OAuth2Controller.cs:111-154 \u2014 before extracting anything, compare \u0060Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/MP/OAuth2Controller.cs\u0060 and \u0060Samples/MP/Senparc.Weixin.Sample.MP/Controllers/OAuth2Controller.cs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 103 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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 \u0060Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/MP/OAuth2Controller.cs:162\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/MP/OAuth2Controller.cs"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce2b274879c18326b1ede8e009381c547fa120efba67c09001543b2c24a34936"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (43 lines \u00D7 2): Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/TenPay/TenPayV3Controller.cs:921-963 | Samples/TenPayV2/Senparc.Weixin.Sample.TenPayV2/Controllers/TenPayV3Controller.cs:925-967 \u2014 before extracting anything, compare \u0060Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/TenPay/TenPayV3Controller.cs\u0060 and \u0060Samples/TenPayV2/Senparc.Weixin.Sample.TenPayV2/Controllers/TenPayV3Controller.cs\u0060 as WHOLE FILES: this scan already matched 37 separate duplicated blocks between them, totalling at least 1014 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/TenPay/TenPayV3Controller.cs"},"region":{"startLine":921}}}],"partialFingerprints":{"codehealthFindingId/v1":"03b50e0dc6f78fc10d1700be0747dd47b64304e31305f58f4d54e3dc733c6016"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (41 lines \u00D7 2): Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/TenPay/TenPayApiV3Controller.cs:616-656 | Samples/TenPayV3/Senparc.Weixin.Sample.TenPayV3/Controllers/TenPayApiV3Controller.cs:556-596 \u2014 before extracting anything, compare \u0060Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/TenPay/TenPayApiV3Controller.cs\u0060 and \u0060Samples/TenPayV3/Senparc.Weixin.Sample.TenPayV3/Controllers/TenPayApiV3Controller.cs\u0060 as WHOLE FILES: this scan already matched 18 separate duplicated blocks between them, totalling at least 426 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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 \u0060Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/TenPay/TenPayApiV3Controller.cs:616\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The \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":"Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/TenPay/TenPayApiV3Controller.cs"},"region":{"startLine":616}}}],"partialFingerprints":{"codehealthFindingId/v1":"dee0e7be80288bd9016c097af7545af53ddb2b58464f76929ff2e0d067e460a4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (39\u201340 lines \u00D7 2): Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/MP/OAuth2Controller.cs:101-139 | Samples/MP/Senparc.Weixin.Sample.MP/Controllers/OAuth2Controller.cs:58-97 \u2014 before extracting anything, compare \u0060Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/MP/OAuth2Controller.cs\u0060 and \u0060Samples/MP/Senparc.Weixin.Sample.MP/Controllers/OAuth2Controller.cs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 103 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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 \u0060Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/MP/OAuth2Controller.cs:101\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/MP/OAuth2Controller.cs"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"da08722a8d4eb227cffba05c4115a48814daf3e66c35b3062286b6785b8e3b27"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (40 lines \u00D7 2): Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/TenPay/TenPayV3Controller.cs:294-333 | Samples/TenPayV2/Senparc.Weixin.Sample.TenPayV2/Controllers/TenPayV3Controller.cs:374-413 \u2014 before extracting anything, compare \u0060Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/TenPay/TenPayV3Controller.cs\u0060 and \u0060Samples/TenPayV2/Senparc.Weixin.Sample.TenPayV2/Controllers/TenPayV3Controller.cs\u0060 as WHOLE FILES: this scan already matched 37 separate duplicated blocks between them, totalling at least 1014 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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 \u0060Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/TenPay/TenPayV3Controller.cs:294\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":"Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/TenPay/TenPayV3Controller.cs"},"region":{"startLine":294}}}],"partialFingerprints":{"codehealthFindingId/v1":"559eacb205f40c33d6e30f0436bbccaaf899ff62445ab408a499b705d54e4f20"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (40 lines \u00D7 2): Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/TenPay/TenPayV3Controller.cs:615-654 | Samples/TenPayV2/Senparc.Weixin.Sample.TenPayV2/Controllers/TenPayV3Controller.cs:620-659 \u2014 before extracting anything, compare \u0060Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/TenPay/TenPayV3Controller.cs\u0060 and \u0060Samples/TenPayV2/Senparc.Weixin.Sample.TenPayV2/Controllers/TenPayV3Controller.cs\u0060 as WHOLE FILES: this scan already matched 37 separate duplicated blocks between them, totalling at least 1014 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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 \u0060Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/TenPay/TenPayV3Controller.cs:615\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":"Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/TenPay/TenPayV3Controller.cs"},"region":{"startLine":615}}}],"partialFingerprints":{"codehealthFindingId/v1":"83130e06fe3b2eef8978e0e9b3d787d7adf1af58d85be20712470088e629994b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (38\u201339 lines \u00D7 2): Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/TenPay/TenPayApiV3Controller.cs:264-302 | Samples/TenPayV3/Senparc.Weixin.Sample.TenPayV3/Controllers/TenPayApiV3Controller.cs:255-292 \u2014 before extracting anything, compare \u0060Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/TenPay/TenPayApiV3Controller.cs\u0060 and \u0060Samples/TenPayV3/Senparc.Weixin.Sample.TenPayV3/Controllers/TenPayApiV3Controller.cs\u0060 as WHOLE FILES: this scan already matched 18 separate duplicated blocks between them, totalling at least 426 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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 \u0060Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/TenPay/TenPayApiV3Controller.cs:264\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":"Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/TenPay/TenPayApiV3Controller.cs"},"region":{"startLine":264}}}],"partialFingerprints":{"codehealthFindingId/v1":"7df0ffb4dfecb1def21613fac03a3111073ba8e773095a09df84dcaec23907c3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (31\u201337 lines \u00D7 2): Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/TenPay/TenPayV3Controller.cs:514-550 | Samples/TenPayV2/Senparc.Weixin.Sample.TenPayV2/Controllers/TenPayV3Controller.cs:282-312 \u2014 before extracting anything, compare \u0060Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/TenPay/TenPayV3Controller.cs\u0060 and \u0060Samples/TenPayV2/Senparc.Weixin.Sample.TenPayV2/Controllers/TenPayV3Controller.cs\u0060 as WHOLE FILES: this scan already matched 37 separate duplicated blocks between them, totalling at least 1014 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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 \u0060Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/TenPay/TenPayV3Controller.cs:514\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/TenPay/TenPayV3Controller.cs"},"region":{"startLine":514}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd852a29f005c4ae499ddae5bcffc45a1174779417fa00da98aad420f642c65c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (37 lines \u00D7 2): Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/TenPay/TenPayV3Controller.cs:1006-1042 | Samples/TenPayV2/Senparc.Weixin.Sample.TenPayV2/Controllers/TenPayV3Controller.cs:1010-1046 \u2014 before extracting anything, compare \u0060Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/TenPay/TenPayV3Controller.cs\u0060 and \u0060Samples/TenPayV2/Senparc.Weixin.Sample.TenPayV2/Controllers/TenPayV3Controller.cs\u0060 as WHOLE FILES: this scan already matched 37 separate duplicated blocks between them, totalling at least 1014 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/TenPay/TenPayV3Controller.cs"},"region":{"startLine":1006}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c2ef74ee0afe868e069f83a6edf05d2d16e704d4e964e588da7cf6571e38b70"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (35 lines \u00D7 2): Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/WxOpen/WxOpenController.cs:451-485 | Samples/WxOpen/Senparc.Weixin.Sample.WxOpen/Controllers/WxOpenController.cs:364-398 \u2014 before extracting anything, compare \u0060Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/WxOpen/WxOpenController.cs\u0060 and \u0060Samples/WxOpen/Senparc.Weixin.Sample.WxOpen/Controllers/WxOpenController.cs\u0060 as WHOLE FILES: this scan already matched 16 separate duplicated blocks between them, totalling at least 357 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/WxOpen/WxOpenController.cs"},"region":{"startLine":451}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd09fb40216d1c632ecbfeaa97c9ce262e65917ad8010453b97533f8994a279e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (34 lines \u00D7 4): Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/TenPay/TenPayApiV3Controller.cs:223-256 | Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/TenPay/TenPayV3Controller.cs:130-163 | Samples/TenPayV2/Senparc.Weixin.Sample.TenPayV2/Controllers/TenPayV3Controller.cs:126-159 | Samples/TenPayV3/Senparc.Weixin.Sample.TenPayV3/Controllers/TenPayApiV3Controller.cs:214-247 \u2014 before extracting anything, compare \u0060Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/TenPay/TenPayApiV3Controller.cs\u0060 and \u0060Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/TenPay/TenPayV3Controller.cs\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 163 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":"Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/TenPay/TenPayApiV3Controller.cs"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"c62a3ff12340ebd2caae447aadf0124464bea71caf19a5b7284f9f8fac76e7e5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (33 lines \u00D7 2): Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/WxOpen/WxOpenController.cs:410-442 | Samples/WxOpen/Senparc.Weixin.Sample.WxOpen/Controllers/WxOpenController.cs:323-355 \u2014 before extracting anything, compare \u0060Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/WxOpen/WxOpenController.cs\u0060 and \u0060Samples/WxOpen/Senparc.Weixin.Sample.WxOpen/Controllers/WxOpenController.cs\u0060 as WHOLE FILES: this scan already matched 16 separate duplicated blocks between them, totalling at least 357 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/WxOpen/WxOpenController.cs"},"region":{"startLine":410}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a0d5d2044ea1e3d7d12395064f4d18fa5657a2e4bfa9b3100d22e879f770930"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (32 lines \u00D7 2): Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/TenPay/TenPayApiV3Controller.cs:162-193 | Samples/TenPayV3/Senparc.Weixin.Sample.TenPayV3/Controllers/TenPayApiV3Controller.cs:153-184 \u2014 before extracting anything, compare \u0060Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/TenPay/TenPayApiV3Controller.cs\u0060 and \u0060Samples/TenPayV3/Senparc.Weixin.Sample.TenPayV3/Controllers/TenPayApiV3Controller.cs\u0060 as WHOLE FILES: this scan already matched 18 separate duplicated blocks between them, totalling at least 426 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/TenPay/TenPayApiV3Controller.cs"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"41f1be2ed11f1adf510a731ae067f071f62bf13993b5a451910de97646c8c25c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (30\u201332 lines \u00D7 2): Samples/All/Senparc.Weixin.Sample.CommonService/MessageHandlers/CustomMessageHandler/CustomMessageHandler.cs:523-554 | Samples/MP/Senparc.Weixin.Sample.MP/MessageHandlers/CustomMessageHandler.cs:174-203 \u2014 before extracting anything, compare \u0060Samples/All/Senparc.Weixin.Sample.CommonService/MessageHandlers/CustomMessageHandler/CustomMessageHandler.cs\u0060 and \u0060Samples/MP/Senparc.Weixin.Sample.MP/MessageHandlers/CustomMessageHandler.cs\u0060 as WHOLE FILES: this scan already matched 8 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":"Samples/All/Senparc.Weixin.Sample.CommonService/MessageHandlers/CustomMessageHandler/CustomMessageHandler.cs"},"region":{"startLine":523}}}],"partialFingerprints":{"codehealthFindingId/v1":"892574b298746607493a0a5a53652d40b81c0969498a217c8545d9de1e385905"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (32 lines \u00D7 2): Samples/All/Senparc.Weixin.Sample.CommonService/MessageHandlers/CustomMessageHandler/CustomMessageHandler.cs:594-625 | Samples/MP/Senparc.Weixin.Sample.MP/MessageHandlers/CustomMessageHandler.cs:242-273 \u2014 before extracting anything, compare \u0060Samples/All/Senparc.Weixin.Sample.CommonService/MessageHandlers/CustomMessageHandler/CustomMessageHandler.cs\u0060 and \u0060Samples/MP/Senparc.Weixin.Sample.MP/MessageHandlers/CustomMessageHandler.cs\u0060 as WHOLE FILES: this scan already matched 8 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":"Samples/All/Senparc.Weixin.Sample.CommonService/MessageHandlers/CustomMessageHandler/CustomMessageHandler.cs"},"region":{"startLine":594}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3affa849f5f6665abc05bbc28281a582194ba736da6b699979b809b6cb5a6af"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (30 lines \u00D7 2): Samples/All/Senparc.Weixin.Sample.CommonService/MessageHandlers/WxOpenMessageHandler/CustomWxOpenMessageHandler.cs:110-139 | Samples/WxOpen/Senparc.Weixin.Sample.WxOpen/MessageHandlers/CustomWxOpenMessageHandler.cs:103-132 \u2014 before extracting anything, compare \u0060Samples/All/Senparc.Weixin.Sample.CommonService/MessageHandlers/WxOpenMessageHandler/CustomWxOpenMessageHandler.cs\u0060 and \u0060Samples/WxOpen/Senparc.Weixin.Sample.WxOpen/MessageHandlers/CustomWxOpenMessageHandler.cs\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 169 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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 \u0060Samples/All/Senparc.Weixin.Sample.CommonService/MessageHandlers/WxOpenMessageHandler/CustomWxOpenMessageHandler.cs:110\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. 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":"Samples/All/Senparc.Weixin.Sample.CommonService/MessageHandlers/WxOpenMessageHandler/CustomWxOpenMessageHandler.cs"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ff5e05db8d7c043d6fcc410a533de5807dff4e6e1db1283af7df67d13b6c6da"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28\u201329 lines \u00D7 4): Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/TenPay/TenPayV3Controller.cs:887-915 | Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/TenPay/TenPayV3Controller.cs:936-963 | Samples/TenPayV2/Senparc.Weixin.Sample.TenPayV2/Controllers/TenPayV3Controller.cs:891-919 | Samples/TenPayV2/Senparc.Weixin.Sample.TenPayV2/Controllers/TenPayV3Controller.cs:940-967 \u2014 before extracting anything, compare \u0060Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/TenPay/TenPayV3Controller.cs\u0060 and \u0060Samples/TenPayV2/Senparc.Weixin.Sample.TenPayV2/Controllers/TenPayV3Controller.cs\u0060 as WHOLE FILES: this scan already matched 37 separate duplicated blocks between them, totalling at least 1014 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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 \u0060Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/TenPay/TenPayV3Controller.cs:887\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The \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":"Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/TenPay/TenPayV3Controller.cs"},"region":{"startLine":887}}}],"partialFingerprints":{"codehealthFindingId/v1":"e674f8d66f630ecaf4b7b8f759d67e080ebf657a6800a810fb44adaa7e551c8f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 4): Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/TenPay/TenPayApiV3Controller.cs:486-512 | Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/TenPay/TenPayV3Controller.cs:1146-1172 | Samples/TenPayV2/Senparc.Weixin.Sample.TenPayV2/Controllers/TenPayV3Controller.cs:1150-1176 | Samples/TenPayV3/Senparc.Weixin.Sample.TenPayV3/Controllers/TenPayApiV3Controller.cs:457-483 \u2014 before extracting anything, compare \u0060Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/TenPay/TenPayApiV3Controller.cs\u0060 and \u0060Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/TenPay/TenPayV3Controller.cs\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 163 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 \u0060Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/TenPay/TenPayApiV3Controller.cs:486\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":"Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/TenPay/TenPayApiV3Controller.cs"},"region":{"startLine":486}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6e4b4c8b4339c84e850471eb2a1c098846fb8847a23560a4086401c1f4f232e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24\u201326 lines \u00D7 2): Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/TenPay/TenPayApiV3Controller.cs:578-601 | Samples/TenPayV3/Senparc.Weixin.Sample.TenPayV3/Controllers/TenPayApiV3Controller.cs:517-542 \u2014 before extracting anything, compare \u0060Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/TenPay/TenPayApiV3Controller.cs\u0060 and \u0060Samples/TenPayV3/Senparc.Weixin.Sample.TenPayV3/Controllers/TenPayApiV3Controller.cs\u0060 as WHOLE FILES: this scan already matched 18 separate duplicated blocks between them, totalling at least 426 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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 \u0060Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/TenPay/TenPayApiV3Controller.cs:578\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/TenPay/TenPayApiV3Controller.cs"},"region":{"startLine":578}}}],"partialFingerprints":{"codehealthFindingId/v1":"bec7484d546b15044720fabf8b44e7ac2b7eb66400ccbaf71ab678cb0c7e6263"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 2): Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/TenPay/TenPayV3Controller.cs:168-193 | Samples/TenPayV2/Senparc.Weixin.Sample.TenPayV2/Controllers/TenPayV3Controller.cs:164-189 \u2014 before extracting anything, compare \u0060Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/TenPay/TenPayV3Controller.cs\u0060 and \u0060Samples/TenPayV2/Senparc.Weixin.Sample.TenPayV2/Controllers/TenPayV3Controller.cs\u0060 as WHOLE FILES: this scan already matched 37 separate duplicated blocks between them, totalling at least 1014 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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 \u0060Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/TenPay/TenPayV3Controller.cs: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":"Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/TenPay/TenPayV3Controller.cs"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e10bdc3d8de9c886d6c4103814ab90af1567d5a777cd4db677a6f1813e396f8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 2): Samples/All/Senparc.Weixin.Sample.CommonService/Utilities/QrCodeHelper.cs:22-47 | Samples/TenPayV3/Senparc.Weixin.Sample.TenPayV3/Utilities/QrCodeHelper.cs:22-47 \u2014 before extracting anything, compare \u0060Samples/All/Senparc.Weixin.Sample.CommonService/Utilities/QrCodeHelper.cs\u0060 and \u0060Samples/TenPayV3/Senparc.Weixin.Sample.TenPayV3/Utilities/QrCodeHelper.cs\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 102 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"Samples/All/Senparc.Weixin.Sample.CommonService/Utilities/QrCodeHelper.cs"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"a97bf7bf9438c9a9c9c530c358b5e10a94dc04679b5b59795ccd1fd51d3b6b35"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2): Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/TenPay/TenPayV3Controller.cs:201-225 | Samples/TenPayV2/Senparc.Weixin.Sample.TenPayV2/Controllers/TenPayV3Controller.cs:197-221 \u2014 before extracting anything, compare \u0060Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/TenPay/TenPayV3Controller.cs\u0060 and \u0060Samples/TenPayV2/Senparc.Weixin.Sample.TenPayV2/Controllers/TenPayV3Controller.cs\u0060 as WHOLE FILES: this scan already matched 37 separate duplicated blocks between them, totalling at least 1014 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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 \u0060Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/TenPay/TenPayV3Controller.cs:201\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":"Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/TenPay/TenPayV3Controller.cs"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"0aea75e8d265c9a1d649a5b784373906c2ecb407892098da157616762410c813"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/TenPay/TenPayV3Controller.cs:447-470 | Samples/TenPayV2/Senparc.Weixin.Sample.TenPayV2/Controllers/TenPayV3Controller.cs:531-554 \u2014 before extracting anything, compare \u0060Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/TenPay/TenPayV3Controller.cs\u0060 and \u0060Samples/TenPayV2/Senparc.Weixin.Sample.TenPayV2/Controllers/TenPayV3Controller.cs\u0060 as WHOLE FILES: this scan already matched 37 separate duplicated blocks between them, totalling at least 1014 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/TenPay/TenPayV3Controller.cs"},"region":{"startLine":447}}}],"partialFingerprints":{"codehealthFindingId/v1":"82714a3cea595d4455c41b8e0737b11f7f3f90b1b18f0e614e0e81d74a2308c0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201324 lines \u00D7 2): Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/Work/WorkController.cs:173-188 | Samples/Work/Senparc.Weixin.Sample.Work/Controllers/JSSDKController.cs:33-56 \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 \u0060Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/Work/WorkController.cs:173\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":"Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/Work/WorkController.cs"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"80e4b2735f1ceddd3dbbf9ecce5cf6b2eadf6bc3feadc3f6c58438567ae9f91a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/WxOpen/WxOpenController.cs:163-186 | Samples/WxOpen/Senparc.Weixin.Sample.WxOpen/Controllers/WxOpenController.cs:155-178 \u2014 before extracting anything, compare \u0060Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/WxOpen/WxOpenController.cs\u0060 and \u0060Samples/WxOpen/Senparc.Weixin.Sample.WxOpen/Controllers/WxOpenController.cs\u0060 as WHOLE FILES: this scan already matched 16 separate duplicated blocks between them, totalling at least 357 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/WxOpen/WxOpenController.cs"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c2a5ab24a66a3d8274dd70e50ca978d129f9f1303bfb35195e597aa81ffe703"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 4): Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/TenPay/TenPayApiV3Controller.cs:427-449 | Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/TenPay/TenPayV3Controller.cs:1057-1079 | Samples/TenPayV2/Senparc.Weixin.Sample.TenPayV2/Controllers/TenPayV3Controller.cs:1061-1083 | Samples/TenPayV3/Senparc.Weixin.Sample.TenPayV3/Controllers/TenPayApiV3Controller.cs:398-420 \u2014 before extracting anything, compare \u0060Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/TenPay/TenPayApiV3Controller.cs\u0060 and \u0060Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/TenPay/TenPayV3Controller.cs\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 163 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 \u0060Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/TenPay/TenPayApiV3Controller.cs:427\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":"Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/TenPay/TenPayApiV3Controller.cs"},"region":{"startLine":427}}}],"partialFingerprints":{"codehealthFindingId/v1":"52c6e837f2818e2a02e59a7e495e17528d4094ff189b5d946046945a6f3c9bd0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/WxOpen/WxOpenController.cs:571-593 | Samples/WxOpen/Senparc.Weixin.Sample.WxOpen/Controllers/WxOpenController.cs:484-506 \u2014 before extracting anything, compare \u0060Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/WxOpen/WxOpenController.cs\u0060 and \u0060Samples/WxOpen/Senparc.Weixin.Sample.WxOpen/Controllers/WxOpenController.cs\u0060 as WHOLE FILES: this scan already matched 16 separate duplicated blocks between them, totalling at least 357 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/WxOpen/WxOpenController.cs"},"region":{"startLine":571}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f431880598da6a1211d18579fb09d1f8d1c0d3d8524cd68884fb6587dfa07d0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 4): Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/MP/WeixinController.cs:136-157 | Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/Open/OpenController.cs:178-199 | Samples/MP/Senparc.Weixin.Sample.MP/Controllers/WeixinController.cs:126-147 | Samples/WxOpen/Senparc.Weixin.Sample.WxOpen/Controllers/WxOpenController.cs:111-132 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 4 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 4 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/MP/WeixinController.cs:136\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/MP/WeixinController.cs:134\u0060 calls \u0060Log\u0060 and \u0060Samples/WxOpen/Senparc.Weixin.Sample.WxOpen/Controllers/WxOpenController.cs:110\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":"Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/MP/WeixinController.cs"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"08f469f7d0be1bacce5692ae5203ca46911a4ab3ea30da2781646ca5caaeb359"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21\u201322 lines \u00D7 4): Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/TenPay/TenPayV3Controller.cs:180-201 | Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/TenPay/TenPayV3Controller.cs:1068-1088 | Samples/TenPayV2/Senparc.Weixin.Sample.TenPayV2/Controllers/TenPayV3Controller.cs:176-197 | Samples/TenPayV2/Senparc.Weixin.Sample.TenPayV2/Controllers/TenPayV3Controller.cs:1072-1092 \u2014 before extracting anything, compare \u0060Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/TenPay/TenPayV3Controller.cs\u0060 and \u0060Samples/TenPayV2/Senparc.Weixin.Sample.TenPayV2/Controllers/TenPayV3Controller.cs\u0060 as WHOLE FILES: this scan already matched 37 separate duplicated blocks between them, totalling at least 1014 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/TenPay/TenPayV3Controller.cs"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"73cd6e56949aaa7fbc66ae7ec1f5395822db9064371850ff6a88a74737e107f7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20\u201322 lines \u00D7 2): Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/TenPay/TenPayController.cs:102-121 | Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/TenPay/TenPayController.cs:214-235 \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, \u0060Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/TenPay/TenPayController.cs:211\u0060 calls \u0060ToString\u0060, \u0060BuildRandomStr\u0060 and \u0060Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/TenPay/TenPayController.cs:99\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/TenPay/TenPayController.cs"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"0659ca6f6a9dfa7f7fe52ee4ee5b8ab480767884d4cdfb90ef7746d3ddebef61"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/TenPay/TenPayV3Controller.cs:828-849 | Samples/TenPayV2/Senparc.Weixin.Sample.TenPayV2/Controllers/TenPayV3Controller.cs:832-853 \u2014 before extracting anything, compare \u0060Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/TenPay/TenPayV3Controller.cs\u0060 and \u0060Samples/TenPayV2/Senparc.Weixin.Sample.TenPayV2/Controllers/TenPayV3Controller.cs\u0060 as WHOLE FILES: this scan already matched 37 separate duplicated blocks between them, totalling at least 1014 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/TenPay/TenPayV3Controller.cs"},"region":{"startLine":828}}}],"partialFingerprints":{"codehealthFindingId/v1":"80b05c62f7a10b82c0229ec63a9df9f2ed22aecdf88d6674b24faa2d3db5ac5d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21\u201322 lines \u00D7 2): Samples/All/Senparc.Weixin.Sample.CommonService/MessageHandlers/CustomMessageHandler/CustomMessageHandler.cs:566-587 | Samples/MP/Senparc.Weixin.Sample.MP/MessageHandlers/CustomMessageHandler.cs:215-235 \u2014 before extracting anything, compare \u0060Samples/All/Senparc.Weixin.Sample.CommonService/MessageHandlers/CustomMessageHandler/CustomMessageHandler.cs\u0060 and \u0060Samples/MP/Senparc.Weixin.Sample.MP/MessageHandlers/CustomMessageHandler.cs\u0060 as WHOLE FILES: this scan already matched 8 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Samples/All/Senparc.Weixin.Sample.CommonService/MessageHandlers/CustomMessageHandler/CustomMessageHandler.cs:566\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The \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":"Samples/All/Senparc.Weixin.Sample.CommonService/MessageHandlers/CustomMessageHandler/CustomMessageHandler.cs"},"region":{"startLine":566}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba8a7f728c1ebc2f16eb056c4d6997508592c38674514bcd38eb801a694fb8df"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): Samples/All/Senparc.Weixin.Sample.CommonService/Utilities/QrCodeHelper.cs:55-76 | Samples/TenPayV3/Senparc.Weixin.Sample.TenPayV3/Utilities/QrCodeHelper.cs:55-76 \u2014 before extracting anything, compare \u0060Samples/All/Senparc.Weixin.Sample.CommonService/Utilities/QrCodeHelper.cs\u0060 and \u0060Samples/TenPayV3/Senparc.Weixin.Sample.TenPayV3/Utilities/QrCodeHelper.cs\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 102 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"Samples/All/Senparc.Weixin.Sample.CommonService/Utilities/QrCodeHelper.cs"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bf051d42d29a558359706fd22ae76962a4b2928b41a5497c6efd9f50b62cbb8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/TenPay/TenPayV3Controller.cs:477-497 | Samples/TenPayV2/Senparc.Weixin.Sample.TenPayV2/Controllers/TenPayV3Controller.cs:238-258 \u2014 before extracting anything, compare \u0060Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/TenPay/TenPayV3Controller.cs\u0060 and \u0060Samples/TenPayV2/Senparc.Weixin.Sample.TenPayV2/Controllers/TenPayV3Controller.cs\u0060 as WHOLE FILES: this scan already matched 37 separate duplicated blocks between them, totalling at least 1014 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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 \u0060Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/TenPay/TenPayV3Controller.cs:477\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":"Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/TenPay/TenPayV3Controller.cs"},"region":{"startLine":477}}}],"partialFingerprints":{"codehealthFindingId/v1":"36007d117dc181dc8403c96711ee1b653b941670982ee982dca87aa81e893649"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/TenPay/TenPayV3Controller.cs:562-582 | Samples/TenPayV2/Senparc.Weixin.Sample.TenPayV2/Controllers/TenPayV3Controller.cs:567-587 \u2014 before extracting anything, compare \u0060Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/TenPay/TenPayV3Controller.cs\u0060 and \u0060Samples/TenPayV2/Senparc.Weixin.Sample.TenPayV2/Controllers/TenPayV3Controller.cs\u0060 as WHOLE FILES: this scan already matched 37 separate duplicated blocks between them, totalling at least 1014 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/TenPay/TenPayV3Controller.cs"},"region":{"startLine":562}}}],"partialFingerprints":{"codehealthFindingId/v1":"e617cd677620bbc00190b9fc9c35e093d42481e8918bc0e6b81639c3cbfcbde6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): Samples/All/Senparc.Weixin.Sample.CommonService/MessageHandlers/CustomMessageHandler/Async/CustomMessageHandlerAsync_Events.cs:95-115 | Samples/All/Senparc.Weixin.Sample.CommonService/MessageHandlers/CustomMessageHandler/CustomMessageHandler_Events.cs:484-504 \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 \u0060Samples/All/Senparc.Weixin.Sample.CommonService/MessageHandlers/CustomMessageHandler/Async/CustomMessageHandlerAsync_Events.cs:95\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":"Samples/All/Senparc.Weixin.Sample.CommonService/MessageHandlers/CustomMessageHandler/Async/CustomMessageHandlerAsync_Events.cs"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"8019bb493365f4df3dc6031bb50f2cf53fa0483508774d049dc0d0d583540bd9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): Samples/All/Senparc.Weixin.Sample.CommonService/MessageHandlers/WxOpenMessageHandler/CustomWxOpenMessageHandler.cs:56-76 | Samples/WxOpen/Senparc.Weixin.Sample.WxOpen/MessageHandlers/CustomWxOpenMessageHandler.cs:49-69 \u2014 before extracting anything, compare \u0060Samples/All/Senparc.Weixin.Sample.CommonService/MessageHandlers/WxOpenMessageHandler/CustomWxOpenMessageHandler.cs\u0060 and \u0060Samples/WxOpen/Senparc.Weixin.Sample.WxOpen/MessageHandlers/CustomWxOpenMessageHandler.cs\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 169 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"Samples/All/Senparc.Weixin.Sample.CommonService/MessageHandlers/WxOpenMessageHandler/CustomWxOpenMessageHandler.cs"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4270b83209e7ce5a9283fe239be1765fee86ad9de195a8b9afed95d97258022"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 4): Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/TenPay/TenPayApiV3Controller.cs:134-153 | Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/TenPay/TenPayV3Controller.cs:977-996 | Samples/TenPayV2/Senparc.Weixin.Sample.TenPayV2/Controllers/TenPayV3Controller.cs:981-1000 | Samples/TenPayV3/Senparc.Weixin.Sample.TenPayV3/Controllers/TenPayApiV3Controller.cs:125-144 \u2014 before extracting anything, compare \u0060Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/TenPay/TenPayApiV3Controller.cs\u0060 and \u0060Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/TenPay/TenPayV3Controller.cs\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 163 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":"Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/TenPay/TenPayApiV3Controller.cs"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"0caab7cb18d9cedf4576e0901013858c90221842f65ee5023c2db5dd534e1c88"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18\u201320 lines \u00D7 3): Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/TenPay/TenPayController.cs:99-116 | Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/TenPay/TenPayController.cs:164-181 | Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/TenPay/TenPayController.cs:211-230 \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, \u0060Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/TenPay/TenPayController.cs:211\u0060 calls \u0060ToString\u0060, \u0060BuildRandomStr\u0060 and \u0060Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/TenPay/TenPayController.cs:99\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/TenPay/TenPayController.cs"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bd38a59c49c635b2f5b17ccd95cce30cb4919d8a04284be6bec6e2d81fd11b6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/TenPay/TenPayApiV3Controller.cs:397-416 | Samples/TenPayV3/Senparc.Weixin.Sample.TenPayV3/Controllers/TenPayApiV3Controller.cs:368-387 \u2014 before extracting anything, compare \u0060Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/TenPay/TenPayApiV3Controller.cs\u0060 and \u0060Samples/TenPayV3/Senparc.Weixin.Sample.TenPayV3/Controllers/TenPayApiV3Controller.cs\u0060 as WHOLE FILES: this scan already matched 18 separate duplicated blocks between them, totalling at least 426 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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 \u0060Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/TenPay/TenPayApiV3Controller.cs:397\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/TenPay/TenPayApiV3Controller.cs"},"region":{"startLine":397}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c58ca6e389da446c709f74bae7153f5fe06b018a412aacea4f1f8da816c9f69"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/TenPay/TenPayV3Controller.cs:589-608 | Samples/TenPayV2/Senparc.Weixin.Sample.TenPayV2/Controllers/TenPayV3Controller.cs:594-613 \u2014 before extracting anything, compare \u0060Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/TenPay/TenPayV3Controller.cs\u0060 and \u0060Samples/TenPayV2/Senparc.Weixin.Sample.TenPayV2/Controllers/TenPayV3Controller.cs\u0060 as WHOLE FILES: this scan already matched 37 separate duplicated blocks between them, totalling at least 1014 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/TenPay/TenPayV3Controller.cs"},"region":{"startLine":589}}}],"partialFingerprints":{"codehealthFindingId/v1":"c55593173bcc289566a2717eccb7afa93f8aca4e91f033fad28763dea9278363"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201319 lines \u00D7 6): Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/TenPay/TenPayApiV3Controller.cs:440-456 | Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/TenPay/TenPayV3Controller.cs:182-200 | Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/TenPay/TenPayV3Controller.cs:1070-1086 | Samples/TenPayV2/Senparc.Weixin.Sample.TenPayV2/Controllers/TenPayV3Controller.cs:178-196 | Samples/TenPayV2/Senparc.Weixin.Sample.TenPayV2/Controllers/TenPayV3Controller.cs:1074-1090 | Samples/TenPayV3/Senparc.Weixin.Sample.TenPayV3/Controllers/TenPayApiV3Controller.cs:411-427 \u2014 before extracting anything, compare \u0060Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/TenPay/TenPayApiV3Controller.cs\u0060 and \u0060Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/TenPay/TenPayV3Controller.cs\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 163 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":"Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/TenPay/TenPayApiV3Controller.cs"},"region":{"startLine":440}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ff285c273ad476110cfaa0857ee3b8a6170fec751c313a4490360a2ca51cae0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 4): Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/TenPay/TenPayV3Controller.cs:213-231 | Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/TenPay/TenPayV3Controller.cs:1123-1141 | Samples/TenPayV2/Senparc.Weixin.Sample.TenPayV2/Controllers/TenPayV3Controller.cs:209-227 | Samples/TenPayV2/Senparc.Weixin.Sample.TenPayV2/Controllers/TenPayV3Controller.cs:1127-1145 \u2014 before extracting anything, compare \u0060Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/TenPay/TenPayV3Controller.cs\u0060 and \u0060Samples/TenPayV2/Senparc.Weixin.Sample.TenPayV2/Controllers/TenPayV3Controller.cs\u0060 as WHOLE FILES: this scan already matched 37 separate duplicated blocks between them, totalling at least 1014 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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 \u0060Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/TenPay/TenPayV3Controller.cs:213\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":"Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/TenPay/TenPayV3Controller.cs"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5f7d326b87e2a81a146cbd24ddf8e77735f355f7d94569db8b086909176be64"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18\u201319 lines \u00D7 3): Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/MP/OAuth2Controller.cs:109-126 | Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/Open/OpenOAuthController.cs:128-146 | Samples/MP/Senparc.Weixin.Sample.MP/Controllers/OAuth2Controller.cs:66-84 \u2014 before extracting anything, compare \u0060Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/MP/OAuth2Controller.cs\u0060 and \u0060Samples/MP/Senparc.Weixin.Sample.MP/Controllers/OAuth2Controller.cs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 103 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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 \u0060Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/MP/OAuth2Controller.cs:109\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":"Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/MP/OAuth2Controller.cs"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"70550009eea9ca059ee903b6d25217f7fceb39d453f4788a5309c2b78705bf64"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201318 lines \u00D7 8): Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/TenPay/TenPayApiV3Controller.cs:276-293 | Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/TenPay/TenPayApiV3Controller.cs:438-452 | Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/TenPay/TenPayV3Controller.cs:180-196 | Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/TenPay/TenPayV3Controller.cs:1068-1082 | Samples/TenPayV2/Senparc.Weixin.Sample.TenPayV2/Controllers/TenPayV3Controller.cs:176-192 | Samples/TenPayV2/Senparc.Weixin.Sample.TenPayV2/Controllers/TenPayV3Controller.cs:1072-1086 | Samples/TenPayV3/Senparc.Weixin.Sample.TenPayV3/Controllers/TenPayApiV3Controller.cs:267-284 | Samples/TenPayV3/Senparc.Weixin.Sample.TenPayV3/Controllers/TenPayApiV3Controller.cs:409-423 \u2014 before extracting anything, compare \u0060Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/TenPay/TenPayApiV3Controller.cs\u0060 and \u0060Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/TenPay/TenPayV3Controller.cs\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 163 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/TenPay/TenPayApiV3Controller.cs:452\u0060 calls \u0060GetTimestamp\u0060, \u0060GetNoncestr\u0060 and \u0060Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/TenPay/TenPayApiV3Controller.cs:293\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":"Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/TenPay/TenPayApiV3Controller.cs"},"region":{"startLine":276}}}],"partialFingerprints":{"codehealthFindingId/v1":"381bd7ab4c109d4cb9a816110407407c101d73badc091e58b379aea9945ad5c0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 4): Samples/All/Senparc.Weixin.Sample.CommonService/Utilities/QrCodeHelper.cs:29-46 | Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/TenPay/TenPayV3Controller.cs:1024-1041 | Samples/TenPayV2/Senparc.Weixin.Sample.TenPayV2/Controllers/TenPayV3Controller.cs:1028-1045 | Samples/TenPayV3/Senparc.Weixin.Sample.TenPayV3/Utilities/QrCodeHelper.cs:29-46 \u2014 before extracting anything, compare \u0060Samples/All/Senparc.Weixin.Sample.CommonService/Utilities/QrCodeHelper.cs\u0060 and \u0060Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/TenPay/TenPayV3Controller.cs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 54 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Samples/All/Senparc.Weixin.Sample.CommonService/Utilities/QrCodeHelper.cs"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"18e24ad2b3b137ac3e22b2e3630a311494a9a5b146daf43069e09bb37e3d91ee"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201318 lines \u00D7 3): Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/TenPay/TenPayV3Controller.cs:514-529 | Samples/TenPayV2/Senparc.Weixin.Sample.TenPayV2/Controllers/TenPayV3Controller.cs:282-292 | Samples/TenPayV3/Senparc.Weixin.Sample.TenPayV3/Controllers/TenPayApiV3Controller.cs:355-372 \u2014 before extracting anything, compare \u0060Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/TenPay/TenPayV3Controller.cs\u0060 and \u0060Samples/TenPayV2/Senparc.Weixin.Sample.TenPayV2/Controllers/TenPayV3Controller.cs\u0060 as WHOLE FILES: this scan already matched 37 separate duplicated blocks between them, totalling at least 1014 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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 \u0060Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/TenPay/TenPayV3Controller.cs:514\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":"Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/TenPay/TenPayV3Controller.cs"},"region":{"startLine":514}}}],"partialFingerprints":{"codehealthFindingId/v1":"788d479811573af6ec1ad539084482b35eda564efb81bdacfe15ca772965b32e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/TenPay/TenPayV3Controller.cs:102-119 | Samples/TenPayV2/Senparc.Weixin.Sample.TenPayV2/Controllers/TenPayV3Controller.cs:103-120 \u2014 before extracting anything, compare \u0060Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/TenPay/TenPayV3Controller.cs\u0060 and \u0060Samples/TenPayV2/Senparc.Weixin.Sample.TenPayV2/Controllers/TenPayV3Controller.cs\u0060 as WHOLE FILES: this scan already matched 37 separate duplicated blocks between them, totalling at least 1014 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/TenPay/TenPayV3Controller.cs"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0dd1e552c41c6268213c21852b57d4e5d43c061c1fa721a2692c3494fad9cd3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 8): Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/TenPay/TenPayApiV3Controller.cs:498-514 | Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/TenPay/TenPayV3Controller.cs:217-233 | Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/TenPay/TenPayV3Controller.cs:1127-1143 | Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/TenPay/TenPayV3Controller.cs:1158-1174 | Samples/TenPayV2/Senparc.Weixin.Sample.TenPayV2/Controllers/TenPayV3Controller.cs:213-229 | Samples/TenPayV2/Senparc.Weixin.Sample.TenPayV2/Controllers/TenPayV3Controller.cs:1131-1147 | Samples/TenPayV2/Senparc.Weixin.Sample.TenPayV2/Controllers/TenPayV3Controller.cs:1162-1178 | Samples/TenPayV3/Senparc.Weixin.Sample.TenPayV3/Controllers/TenPayApiV3Controller.cs:469-485 \u2014 before extracting anything, compare \u0060Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/TenPay/TenPayApiV3Controller.cs\u0060 and \u0060Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/TenPay/TenPayV3Controller.cs\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 163 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 \u0060Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/TenPay/TenPayApiV3Controller.cs:498\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, \u0060Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/TenPay/TenPayV3Controller.cs:1126\u0060 calls \u0060SetString\u0060, \u0060ToString\u0060 and \u0060Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/TenPay/TenPayApiV3Controller.cs:498\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":"Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/TenPay/TenPayApiV3Controller.cs"},"region":{"startLine":498}}}],"partialFingerprints":{"codehealthFindingId/v1":"44e48814945fe76edd78f714bc0057baa1e3415985d259f2e6db49c3637dede2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201316 lines \u00D7 2): Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/WxOpen/WxOpenController.cs:329-343 | Samples/WxOpen/Senparc.Weixin.Sample.WxOpen/Controllers/WxOpenController.cs:300-315 \u2014 before extracting anything, compare \u0060Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/WxOpen/WxOpenController.cs\u0060 and \u0060Samples/WxOpen/Senparc.Weixin.Sample.WxOpen/Controllers/WxOpenController.cs\u0060 as WHOLE FILES: this scan already matched 16 separate duplicated blocks between them, totalling at least 357 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/WxOpen/WxOpenController.cs"},"region":{"startLine":329}}}],"partialFingerprints":{"codehealthFindingId/v1":"a387c88726ff46780a3b623161501d62f7286e544ecdb0e191b7a37c89cc4b5b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 3): Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/TenPay/TenPayController.cs:97-111 | Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/TenPay/TenPayController.cs:162-176 | Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/TenPay/TenPayController.cs:443-457 \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":"Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/TenPay/TenPayController.cs"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a452d710f269de1569ef3cd5a1104c3a46c981f70333ebbd47845b577985841"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/TenPay/TenPayApiV3Controller.cs:312-326 | Samples/TenPayV3/Senparc.Weixin.Sample.TenPayV3/Controllers/TenPayApiV3Controller.cs:301-315 \u2014 before extracting anything, compare \u0060Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/TenPay/TenPayApiV3Controller.cs\u0060 and \u0060Samples/TenPayV3/Senparc.Weixin.Sample.TenPayV3/Controllers/TenPayApiV3Controller.cs\u0060 as WHOLE FILES: this scan already matched 18 separate duplicated blocks between them, totalling at least 426 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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 \u0060Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/TenPay/TenPayApiV3Controller.cs:312\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/TenPay/TenPayApiV3Controller.cs"},"region":{"startLine":312}}}],"partialFingerprints":{"codehealthFindingId/v1":"95a0fc3d0702e64553c47337d15734db3f642b18864055466c5acc4ea7abcfce"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/WxOpen/WxOpenController.cs:83-97 | Samples/WxOpen/Senparc.Weixin.Sample.WxOpen/Controllers/WxOpenController.cs:75-89 \u2014 before extracting anything, compare \u0060Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/WxOpen/WxOpenController.cs\u0060 and \u0060Samples/WxOpen/Senparc.Weixin.Sample.WxOpen/Controllers/WxOpenController.cs\u0060 as WHOLE FILES: this scan already matched 16 separate duplicated blocks between them, totalling at least 357 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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 \u0060Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/WxOpen/WxOpenController.cs:83\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. 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":"Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/WxOpen/WxOpenController.cs"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"df7f2a2ee84328d679e6c7ba4918f4861942082f46cc4971dab7e90b415078ea"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/WxOpen/WxOpenController.cs:305-319 | Samples/WxOpen/Senparc.Weixin.Sample.WxOpen/Controllers/WxOpenController.cs:276-290 \u2014 before extracting anything, compare \u0060Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/WxOpen/WxOpenController.cs\u0060 and \u0060Samples/WxOpen/Senparc.Weixin.Sample.WxOpen/Controllers/WxOpenController.cs\u0060 as WHOLE FILES: this scan already matched 16 separate duplicated blocks between them, totalling at least 357 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/WxOpen/WxOpenController.cs"},"region":{"startLine":305}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b3176d49c17093ea4e09c9d9d355baaf01626052c6ef7dadbf8a91d3bf2d24f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201314 lines \u00D7 2): Samples/All/Senparc.Weixin.Sample.CommonService/AI/MessageHandlers/CustomMessageHandler_AI.cs:471-484 | Samples/All/Senparc.Weixin.Sample.CommonService/AI/MessageHandlers/CustomMessageHandler_AI.cs:577-588 \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":"Samples/All/Senparc.Weixin.Sample.CommonService/AI/MessageHandlers/CustomMessageHandler_AI.cs"},"region":{"startLine":471}}}],"partialFingerprints":{"codehealthFindingId/v1":"286cbcee3262139e1f74be6256a509cbd4cb108dc0e205bb25e032578e7ad50f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201313 lines \u00D7 6): Samples/All/Senparc.Weixin.Sample.CommonService/Utilities/QrCodeHelper.cs:23-33 | Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/TenPay/TenPayV3Controller.cs:260-272 | Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/TenPay/TenPayV3Controller.cs:1018-1028 | Samples/TenPayV2/Senparc.Weixin.Sample.TenPayV2/Controllers/TenPayV3Controller.cs:341-353 | Samples/TenPayV2/Senparc.Weixin.Sample.TenPayV2/Controllers/TenPayV3Controller.cs:1022-1032 | Samples/TenPayV3/Senparc.Weixin.Sample.TenPayV3/Utilities/QrCodeHelper.cs:23-33 \u2014 before extracting anything, compare \u0060Samples/All/Senparc.Weixin.Sample.CommonService/Utilities/QrCodeHelper.cs\u0060 and \u0060Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/TenPay/TenPayV3Controller.cs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 54 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Samples/All/Senparc.Weixin.Sample.CommonService/Utilities/QrCodeHelper.cs: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":"Samples/All/Senparc.Weixin.Sample.CommonService/Utilities/QrCodeHelper.cs"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"86fc0c1599f08949f8b8631f1570121dae2b6c101c874d74113e8da10b7218a2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/MP/MenuController.cs:143-155 | Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/MP/MenuController.cs:174-186 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/MP/MenuController.cs:143\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/MP/MenuController.cs"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2bee6c42ded365dbd70bbab7fe619e1502ca0b72245503fdf09303d14bf94af"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/Work/WorkController.cs:121-133 | Samples/Work/Senparc.Weixin.Sample.Work/Controllers/WorkController.cs:107-119 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/Work/WorkController.cs:121\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/Work/WorkController.cs"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9469331f550f7f5d2bac44c24fc719a0e19ba7a9262453d1af178aa02776abb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 2): Samples/All/Senparc.Weixin.Sample.CommonService/AI/MessageHandlers/CustomMessageHandler_AI.cs:352-364 | Samples/All/Senparc.Weixin.Sample.CommonService/AI/MessageHandlers/CustomMessageHandler_AI.cs:534-545 \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":"Samples/All/Senparc.Weixin.Sample.CommonService/AI/MessageHandlers/CustomMessageHandler_AI.cs"},"region":{"startLine":352}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f4c6cfad766eb156706e4e96c1dfd7ab6f54f7de9b2061a078ef873ba51b928"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 8): Samples/All/Senparc.Weixin.Sample.CommonService/Utilities/QrCodeHelper.cs:29-40 | Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/TenPay/TenPayV3Controller.cs:268-278 | Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/TenPay/TenPayV3Controller.cs:424-434 | Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/TenPay/TenPayV3Controller.cs:1024-1035 | Samples/TenPayV2/Senparc.Weixin.Sample.TenPayV2/Controllers/TenPayV3Controller.cs:349-359 | Samples/TenPayV2/Senparc.Weixin.Sample.TenPayV2/Controllers/TenPayV3Controller.cs:504-514 | Samples/TenPayV2/Senparc.Weixin.Sample.TenPayV2/Controllers/TenPayV3Controller.cs:1028-1039 | Samples/TenPayV3/Senparc.Weixin.Sample.TenPayV3/Utilities/QrCodeHelper.cs:29-40 \u2014 before extracting anything, compare \u0060Samples/All/Senparc.Weixin.Sample.CommonService/Utilities/QrCodeHelper.cs\u0060 and \u0060Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/TenPay/TenPayV3Controller.cs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 54 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060Samples/All/Senparc.Weixin.Sample.CommonService/Utilities/QrCodeHelper.cs:40\u0060 calls \u0060Flush\u0060 and \u0060Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/TenPay/TenPayV3Controller.cs:278\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":"Samples/All/Senparc.Weixin.Sample.CommonService/Utilities/QrCodeHelper.cs"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd7dde9de5b2fcf78ceee97e63431067cacb8250941e0aac5625b0e651728b82"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/TenPay/TenPayApiV3Controller.cs:713-724 | Samples/TenPayV3/Senparc.Weixin.Sample.TenPayV3/Controllers/TenPayApiV3Controller.cs:662-673 \u2014 before extracting anything, compare \u0060Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/TenPay/TenPayApiV3Controller.cs\u0060 and \u0060Samples/TenPayV3/Senparc.Weixin.Sample.TenPayV3/Controllers/TenPayApiV3Controller.cs\u0060 as WHOLE FILES: this scan already matched 18 separate duplicated blocks between them, totalling at least 426 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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 \u0060Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/TenPay/TenPayApiV3Controller.cs:713\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":"Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/TenPay/TenPayApiV3Controller.cs"},"region":{"startLine":713}}}],"partialFingerprints":{"codehealthFindingId/v1":"eee7d9ccfb6d02a3f0058a36b1868da53db830a2c2be119cb6734df95d54f231"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/ThirdPartyAuth/ThirdPartyAuthController.cs:113-124 | Samples/Work/Senparc.Weixin.Sample.Work/Controllers/WorkController.cs:114-125 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/ThirdPartyAuth/ThirdPartyAuthController.cs:113\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":"Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/ThirdPartyAuth/ThirdPartyAuthController.cs"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c005f0de92f0f5cb5c203e3325ca3a19b97a34be5b859be0d3880d4eb37cb95"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 9): Samples/All/Senparc.Weixin.Sample.CommonService/Utilities/QrCodeHelper.cs:29-38 | Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Tools/QrCodeController.cs:104-114 | Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/TenPay/TenPayV3Controller.cs:268-277 | Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/TenPay/TenPayV3Controller.cs:424-433 | Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/TenPay/TenPayV3Controller.cs:1024-1033 | Samples/TenPayV2/Senparc.Weixin.Sample.TenPayV2/Controllers/TenPayV3Controller.cs:349-358 | Samples/TenPayV2/Senparc.Weixin.Sample.TenPayV2/Controllers/TenPayV3Controller.cs:504-513 | Samples/TenPayV2/Senparc.Weixin.Sample.TenPayV2/Controllers/TenPayV3Controller.cs:1028-1037 | Samples/TenPayV3/Senparc.Weixin.Sample.TenPayV3/Utilities/QrCodeHelper.cs:29-38 \u2014 before extracting anything, compare \u0060Samples/All/Senparc.Weixin.Sample.CommonService/Utilities/QrCodeHelper.cs\u0060 and \u0060Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/TenPay/TenPayV3Controller.cs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 54 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060Samples/All/Senparc.Weixin.Sample.CommonService/Utilities/QrCodeHelper.cs:40\u0060 calls \u0060Flush\u0060 and \u0060Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/TenPay/TenPayV3Controller.cs:278\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":"Samples/All/Senparc.Weixin.Sample.CommonService/Utilities/QrCodeHelper.cs"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"db07a67abdaab292f5c28cf741cfee6d95bbfc652b67a774487a8157b7e44557"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 4): Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/TenPay/TenPayV3Controller.cs:203-213 | Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/TenPay/TenPayV3Controller.cs:1100-1110 | Samples/TenPayV2/Senparc.Weixin.Sample.TenPayV2/Controllers/TenPayV3Controller.cs:199-209 | Samples/TenPayV2/Senparc.Weixin.Sample.TenPayV2/Controllers/TenPayV3Controller.cs:1104-1114 \u2014 before extracting anything, compare \u0060Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/TenPay/TenPayV3Controller.cs\u0060 and \u0060Samples/TenPayV2/Senparc.Weixin.Sample.TenPayV2/Controllers/TenPayV3Controller.cs\u0060 as WHOLE FILES: this scan already matched 37 separate duplicated blocks between them, totalling at least 1014 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/TenPay/TenPayV3Controller.cs"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"4815fdf024b5553628bd998b9007f29859becf605d7fa924909bd332b9890c77"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/TenPay/TenPayApiV3Controller.cs:740-750 | Samples/TenPayV3/Senparc.Weixin.Sample.TenPayV3/Controllers/TenPayApiV3Controller.cs:692-702 \u2014 before extracting anything, compare \u0060Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/TenPay/TenPayApiV3Controller.cs\u0060 and \u0060Samples/TenPayV3/Senparc.Weixin.Sample.TenPayV3/Controllers/TenPayApiV3Controller.cs\u0060 as WHOLE FILES: this scan already matched 18 separate duplicated blocks between them, totalling at least 426 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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 \u0060Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/TenPay/TenPayApiV3Controller.cs:740\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060Samples/TenPayV3/Senparc.Weixin.Sample.TenPayV3/Controllers/TenPayApiV3Controller.cs:706\u0060 calls \u0060FundflowBillQueryRequestData\u0060 and \u0060Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/TenPay/TenPayApiV3Controller.cs:752\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":"Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/TenPay/TenPayApiV3Controller.cs"},"region":{"startLine":740}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7b31d9d3244201a14460f953b1f698e11a6fbf3a00e32025b0a49feaf4cc3bd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/TenPay/TenPayV3Controller.cs:804-814 | Samples/TenPayV2/Senparc.Weixin.Sample.TenPayV2/Controllers/TenPayV3Controller.cs:808-818 \u2014 before extracting anything, compare \u0060Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/TenPay/TenPayV3Controller.cs\u0060 and \u0060Samples/TenPayV2/Senparc.Weixin.Sample.TenPayV2/Controllers/TenPayV3Controller.cs\u0060 as WHOLE FILES: this scan already matched 37 separate duplicated blocks between them, totalling at least 1014 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/TenPay/TenPayV3Controller.cs"},"region":{"startLine":804}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2d10d8dcba6ecb4ef99636aca0857a45448f3a4d8f824b4b50c052bb714ae6c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/WxOpen/WxOpenController.cs:65-75 | Samples/WxOpen/Senparc.Weixin.Sample.WxOpen/Controllers/WxOpenController.cs:57-67 \u2014 before extracting anything, compare \u0060Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/WxOpen/WxOpenController.cs\u0060 and \u0060Samples/WxOpen/Senparc.Weixin.Sample.WxOpen/Controllers/WxOpenController.cs\u0060 as WHOLE FILES: this scan already matched 16 separate duplicated blocks between them, totalling at least 357 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/WxOpen/WxOpenController.cs"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"d830a7ab4d3f51a01e529ac2a87cdad87f114b21cda8e496222a71766f0abe83"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/WxOpen/WxOpenController.cs:197-207 | Samples/WxOpen/Senparc.Weixin.Sample.WxOpen/Controllers/WxOpenController.cs:189-199 \u2014 before extracting anything, compare \u0060Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/WxOpen/WxOpenController.cs\u0060 and \u0060Samples/WxOpen/Senparc.Weixin.Sample.WxOpen/Controllers/WxOpenController.cs\u0060 as WHOLE FILES: this scan already matched 16 separate duplicated blocks between them, totalling at least 357 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/WxOpen/WxOpenController.cs"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1669b81f2e7059530c6535d05dc3fad181bc9b71e5b52067620920569a8c18f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): Samples/All/Senparc.Weixin.Sample.CommonService/MessageHandlers/WorkMessageHandler/WorkCustomMessageHandler.cs:43-53 | Samples/Work/Senparc.Weixin.Sample.Work/MessageHandlers/WorkCustomMessageHandler.cs:43-53 \u2014 before extracting anything, compare \u0060Samples/All/Senparc.Weixin.Sample.CommonService/MessageHandlers/WorkMessageHandler/WorkCustomMessageHandler.cs\u0060 and \u0060Samples/Work/Senparc.Weixin.Sample.Work/MessageHandlers/WorkCustomMessageHandler.cs\u0060 as WHOLE FILES: 83% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 3 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. 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":"Samples/All/Senparc.Weixin.Sample.CommonService/MessageHandlers/WorkMessageHandler/WorkCustomMessageHandler.cs"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0d771e629db1b5135a758726d090a8cebe3df53de300f5294a8a257d52561c4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): Samples/All/Senparc.Weixin.Sample.CommonService/MessageHandlers/WxOpenMessageHandler/CustomWxOpenMessageHandler.cs:42-51 | Samples/WxOpen/Senparc.Weixin.Sample.WxOpen/MessageHandlers/CustomWxOpenMessageHandler.cs:35-44 \u2014 before extracting anything, compare \u0060Samples/All/Senparc.Weixin.Sample.CommonService/MessageHandlers/WxOpenMessageHandler/CustomWxOpenMessageHandler.cs\u0060 and \u0060Samples/WxOpen/Senparc.Weixin.Sample.WxOpen/MessageHandlers/CustomWxOpenMessageHandler.cs\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 169 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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 \u0060Samples/All/Senparc.Weixin.Sample.CommonService/MessageHandlers/WxOpenMessageHandler/CustomWxOpenMessageHandler.cs:42\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Samples/All/Senparc.Weixin.Sample.CommonService/MessageHandlers/WxOpenMessageHandler/CustomWxOpenMessageHandler.cs"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"5abff779e6033aa1ac50c646524de36652fce4dd8578e00beb15c0a223fc003c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): Samples/All/Senparc.Weixin.Sample.CommonService/MessageHandlers/WxOpenMessageHandler/CustomWxOpenMessageHandler.cs:91-100 | Samples/WxOpen/Senparc.Weixin.Sample.WxOpen/MessageHandlers/CustomWxOpenMessageHandler.cs:84-93 \u2014 before extracting anything, compare \u0060Samples/All/Senparc.Weixin.Sample.CommonService/MessageHandlers/WxOpenMessageHandler/CustomWxOpenMessageHandler.cs\u0060 and \u0060Samples/WxOpen/Senparc.Weixin.Sample.WxOpen/MessageHandlers/CustomWxOpenMessageHandler.cs\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 169 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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 \u0060Samples/All/Senparc.Weixin.Sample.CommonService/MessageHandlers/WxOpenMessageHandler/CustomWxOpenMessageHandler.cs:91\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":"Samples/All/Senparc.Weixin.Sample.CommonService/MessageHandlers/WxOpenMessageHandler/CustomWxOpenMessageHandler.cs"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"f889b638b3a4a20411a276ee9c8bd28aa523df6eea60a7eab8819ff64b9a3e06"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Models/VD/HomeVD.cs:20-28 | Samples/TenPayV2/Senparc.Weixin.Sample.TenPayV2/Models/VD/HomeVD.cs:20-28 | Samples/TenPayV3/Senparc.Weixin.Sample.TenPayV3/Models/VD/HomeVD.cs:20-28 \u2014 before extracting anything, compare \u0060Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Models/VD/HomeVD.cs\u0060 and \u0060Samples/TenPayV2/Senparc.Weixin.Sample.TenPayV2/Models/VD/HomeVD.cs\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 3 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Models/VD/HomeVD.cs:20\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":"Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Models/VD/HomeVD.cs"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f46c68147a2e57a03b6ba7af2e4a612561957314d8d0561c8b81ab249955e12"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/WxOpen/WxOpenController.cs:47-55 | Samples/WxOpen/Senparc.Weixin.Sample.WxOpen/Controllers/WxOpenController.cs:39-47 \u2014 before extracting anything, compare \u0060Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/WxOpen/WxOpenController.cs\u0060 and \u0060Samples/WxOpen/Senparc.Weixin.Sample.WxOpen/Controllers/WxOpenController.cs\u0060 as WHOLE FILES: this scan already matched 16 separate duplicated blocks between them, totalling at least 357 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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 \u0060Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/WxOpen/WxOpenController.cs:47\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/WxOpen/WxOpenController.cs"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e8f6674e1300a9564df54cffacbc93ce335c24513c4b1f5313d8d794241b138"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Startup.cs:348-356 | Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Startup.cs:370-378 \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 \u0060Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Startup.cs:348\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":"Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Startup.cs"},"region":{"startLine":348}}}],"partialFingerprints":{"codehealthFindingId/v1":"c639bd879d8a06d8adf1e6c2057c073ac2c5054925e6c31d5bc657dbb6eea9c4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/MP/WeixinController.cs:67-74 | Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/WxOpen/WxOpenController.cs:65-72 | Samples/WxOpen/Senparc.Weixin.Sample.WxOpen/Controllers/WxOpenController.cs:57-64 \u2014 before extracting anything, compare \u0060Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/WxOpen/WxOpenController.cs\u0060 and \u0060Samples/WxOpen/Senparc.Weixin.Sample.WxOpen/Controllers/WxOpenController.cs\u0060 as WHOLE FILES: this scan already matched 16 separate duplicated blocks between them, totalling at least 357 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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 \u0060Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/MP/WeixinController.cs:67\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":"Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/MP/WeixinController.cs"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"53830130d3cfb33899fdc9a29d8b5dd0556a43da81d271d874e5a7d66bd35b85"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/TenPay/TenPayController.cs:135-143 | Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/TenPay/TenPayController.cs:184-191 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/TenPay/TenPayController.cs"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5a0cea69d81bd2489096a98c8dc5f9525a4a7774817b13ba4c775fd4c871d48"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): Samples/All/Senparc.Weixin.Sample.CommonService/MessageHandlers/CustomMessageHandler/CustomMessageHandler.cs:353-360 | Samples/MP/Senparc.Weixin.Sample.MP/MessageHandlers/CustomMessageHandler.cs:103-110 \u2014 before extracting anything, compare \u0060Samples/All/Senparc.Weixin.Sample.CommonService/MessageHandlers/CustomMessageHandler/CustomMessageHandler.cs\u0060 and \u0060Samples/MP/Senparc.Weixin.Sample.MP/MessageHandlers/CustomMessageHandler.cs\u0060 as WHOLE FILES: this scan already matched 8 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Samples/All/Senparc.Weixin.Sample.CommonService/MessageHandlers/CustomMessageHandler/CustomMessageHandler.cs:353\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":"Samples/All/Senparc.Weixin.Sample.CommonService/MessageHandlers/CustomMessageHandler/CustomMessageHandler.cs"},"region":{"startLine":353}}}],"partialFingerprints":{"codehealthFindingId/v1":"d69e5d1eb4bedba8fd0ef9e9faf0c594294a2acce7dc5bfc3b4125fb5167401b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Models/VD/HomeVD.cs:46-52 | Samples/TenPayV2/Senparc.Weixin.Sample.TenPayV2/Models/VD/HomeVD.cs:46-52 | Samples/TenPayV3/Senparc.Weixin.Sample.TenPayV3/Models/VD/HomeVD.cs:46-52 \u2014 before extracting anything, compare \u0060Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Models/VD/HomeVD.cs\u0060 and \u0060Samples/TenPayV2/Senparc.Weixin.Sample.TenPayV2/Models/VD/HomeVD.cs\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 3 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Models/VD/HomeVD.cs"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"2864fe4e3ca40bd57e777b20ca3be181121e0dc4b578024a49edfcfbd07c1446"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/MP/WeixinController.cs:249-254 | Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/MP/WeixinController.cs:255-260 \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":"Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/MP/WeixinController.cs"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d09a2d46a04c0107a39d616554a3850f2daad8d8c4a08f16c62f20b2ab4933c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 4): Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/TenPay/TenPayApiV3Controller.cs:397-401 | Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/TenPay/TenPayV3Controller.cs:525-529 | Samples/TenPayV2/Senparc.Weixin.Sample.TenPayV2/Controllers/TenPayV3Controller.cs:288-292 | Samples/TenPayV3/Senparc.Weixin.Sample.TenPayV3/Controllers/TenPayApiV3Controller.cs:368-372 \u2014 before extracting anything, compare \u0060Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/TenPay/TenPayApiV3Controller.cs\u0060 and \u0060Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/TenPay/TenPayV3Controller.cs\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 163 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 \u0060Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/TenPay/TenPayApiV3Controller.cs:397\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":"Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/TenPay/TenPayApiV3Controller.cs"},"region":{"startLine":397}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a4aebfc7a83182118b6702b050b8b656207607fa7571f4b9fb8d60a7126e199"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): Samples/All/Senparc.Weixin.Sample.CommonService/MessageHandlers/WxOpenMessageHandler/CustomWxOpenMessageHandler.cs:237-241 | Samples/WxOpen/Senparc.Weixin.Sample.WxOpen/MessageHandlers/CustomWxOpenMessageHandler.cs:221-225 \u2014 before extracting anything, compare \u0060Samples/All/Senparc.Weixin.Sample.CommonService/MessageHandlers/WxOpenMessageHandler/CustomWxOpenMessageHandler.cs\u0060 and \u0060Samples/WxOpen/Senparc.Weixin.Sample.WxOpen/MessageHandlers/CustomWxOpenMessageHandler.cs\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 169 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Samples/All/Senparc.Weixin.Sample.CommonService/MessageHandlers/WxOpenMessageHandler/CustomWxOpenMessageHandler.cs"},"region":{"startLine":237}}}],"partialFingerprints":{"codehealthFindingId/v1":"19260eab843954f7a7fe7a488c6940aa8a907605cb2a15ef1df8d4ef33818893"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 3): Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Filters/CustomOAuthAttribute.cs:14-34 | Samples/TenPayV2/Senparc.Weixin.Sample.TenPayV2/Filters/CustomOAuthAttribute.cs:15-35 | Samples/TenPayV3/Senparc.Weixin.Sample.TenPayV3/Filters/CustomOAuthAttribute.cs:15-35 \u2014 before extracting anything, compare \u0060Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Filters/CustomOAuthAttribute.cs\u0060 and \u0060Samples/TenPayV2/Senparc.Weixin.Sample.TenPayV2/Filters/CustomOAuthAttribute.cs\u0060 as WHOLE FILES: 85% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The 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":"Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Filters/CustomOAuthAttribute.cs"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"59acb811e15e9aeb1cabae2527b2ea46027479bcce421bf6f13ea7eea11bf7c6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/TenPay/TenPayApiV3Controller.cs:57-66 | Samples/TenPayV3/Senparc.Weixin.Sample.TenPayV3/Controllers/TenPayApiV3Controller.cs:47-56 \u2014 before extracting anything, compare \u0060Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/TenPay/TenPayApiV3Controller.cs\u0060 and \u0060Samples/TenPayV3/Senparc.Weixin.Sample.TenPayV3/Controllers/TenPayApiV3Controller.cs\u0060 as WHOLE FILES: this scan already matched 18 separate duplicated blocks between them, totalling at least 426 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/TenPay/TenPayApiV3Controller.cs"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"05d305f48b46e5d75f830eb7bc334051df193d11e6992218e627041c269f2b0b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/TenPay/TenPayV3Controller.cs:79-88 | Samples/TenPayV2/Senparc.Weixin.Sample.TenPayV2/Controllers/TenPayV3Controller.cs:80-89 \u2014 before extracting anything, compare \u0060Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/TenPay/TenPayV3Controller.cs\u0060 and \u0060Samples/TenPayV2/Senparc.Weixin.Sample.TenPayV2/Controllers/TenPayV3Controller.cs\u0060 as WHOLE FILES: this scan already matched 37 separate duplicated blocks between them, totalling at least 1014 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/TenPay/TenPayV3Controller.cs"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"4953d067975d5bbc80a30d7ef698aedec03ccb38a61a51e91918c3991ff8dc73"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/WxOpen/WxOpenController.cs:148-154 | Samples/WxOpen/Senparc.Weixin.Sample.WxOpen/Controllers/WxOpenController.cs:140-146 \u2014 before extracting anything, compare \u0060Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/WxOpen/WxOpenController.cs\u0060 and \u0060Samples/WxOpen/Senparc.Weixin.Sample.WxOpen/Controllers/WxOpenController.cs\u0060 as WHOLE FILES: this scan already matched 16 separate duplicated blocks between them, totalling at least 357 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/WxOpen/WxOpenController.cs"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"1431b9637b508ae805695a2d50476ec01d6be795a3b570e5741667bc80b90698"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/WxOpen/WxOpenController.cs:596-604 | Samples/WxOpen/Senparc.Weixin.Sample.WxOpen/Controllers/WxOpenController.cs:509-517 \u2014 before extracting anything, compare \u0060Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/WxOpen/WxOpenController.cs\u0060 and \u0060Samples/WxOpen/Senparc.Weixin.Sample.WxOpen/Controllers/WxOpenController.cs\u0060 as WHOLE FILES: this scan already matched 16 separate duplicated blocks between them, totalling at least 357 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/WxOpen/WxOpenController.cs"},"region":{"startLine":596}}}],"partialFingerprints":{"codehealthFindingId/v1":"4db7c2c88b7ed17bbd207f4f9056522398548edcc567dfa60d37941471a0758e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/WxOpen/WxOpenController.cs:615-625 | Samples/WxOpen/Senparc.Weixin.Sample.WxOpen/Controllers/WxOpenController.cs:528-538 \u2014 before extracting anything, compare \u0060Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/WxOpen/WxOpenController.cs\u0060 and \u0060Samples/WxOpen/Senparc.Weixin.Sample.WxOpen/Controllers/WxOpenController.cs\u0060 as WHOLE FILES: this scan already matched 16 separate duplicated blocks between them, totalling at least 357 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/WxOpen/WxOpenController.cs"},"region":{"startLine":615}}}],"partialFingerprints":{"codehealthFindingId/v1":"816b9243209eb7810efd945eb93ac03267178c3a7eb61c3d259911eceb17e2dd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Models/VD/HomeVD.cs:35-44 | Samples/TenPayV2/Senparc.Weixin.Sample.TenPayV2/Models/VD/HomeVD.cs:35-44 | Samples/TenPayV3/Senparc.Weixin.Sample.TenPayV3/Models/VD/HomeVD.cs:35-44 \u2014 before extracting anything, compare \u0060Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Models/VD/HomeVD.cs\u0060 and \u0060Samples/TenPayV2/Senparc.Weixin.Sample.TenPayV2/Models/VD/HomeVD.cs\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 3 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Models/VD/HomeVD.cs"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"060078a6a000a4f1e98d580be69c3ce064b4b39fc1ebb8c09a33abf469c350a2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): Samples/All/Senparc.Weixin.Sample.CommonService/MessageHandlers/CustomMessageHandler/CustomMessageHandler.cs:634-641 | Samples/MP/Senparc.Weixin.Sample.MP/MessageHandlers/CustomMessageHandler.cs:282-289 \u2014 before extracting anything, compare \u0060Samples/All/Senparc.Weixin.Sample.CommonService/MessageHandlers/CustomMessageHandler/CustomMessageHandler.cs\u0060 and \u0060Samples/MP/Senparc.Weixin.Sample.MP/MessageHandlers/CustomMessageHandler.cs\u0060 as WHOLE FILES: this scan already matched 8 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Samples/All/Senparc.Weixin.Sample.CommonService/MessageHandlers/CustomMessageHandler/CustomMessageHandler.cs:634\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":"Samples/All/Senparc.Weixin.Sample.CommonService/MessageHandlers/CustomMessageHandler/CustomMessageHandler.cs"},"region":{"startLine":634}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bae2bf3373e94b4613751772251b1f608c5a70afa67a119d39ae21d8b90b4c3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): Samples/All/Senparc.Weixin.Sample.CommonService/MessageHandlers/CustomMessageHandler/CustomMessageHandler.cs:644-652 | Samples/MP/Senparc.Weixin.Sample.MP/MessageHandlers/CustomMessageHandler.cs:292-300 \u2014 before extracting anything, compare \u0060Samples/All/Senparc.Weixin.Sample.CommonService/MessageHandlers/CustomMessageHandler/CustomMessageHandler.cs\u0060 and \u0060Samples/MP/Senparc.Weixin.Sample.MP/MessageHandlers/CustomMessageHandler.cs\u0060 as WHOLE FILES: this scan already matched 8 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Samples/All/Senparc.Weixin.Sample.CommonService/MessageHandlers/CustomMessageHandler/CustomMessageHandler.cs:644\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":"Samples/All/Senparc.Weixin.Sample.CommonService/MessageHandlers/CustomMessageHandler/CustomMessageHandler.cs"},"region":{"startLine":644}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f5db4cd8ce05ff1ab7853eb02bf0e5ed32b24ec9dbc159fcc7e7bf081302b5f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): Samples/All/Senparc.Weixin.Sample.CommonService/MessageHandlers/CustomMessageHandler/CustomMessageHandler.cs:667-678 | Samples/MP/Senparc.Weixin.Sample.MP/MessageHandlers/CustomMessageHandler.cs:320-331 \u2014 before extracting anything, compare \u0060Samples/All/Senparc.Weixin.Sample.CommonService/MessageHandlers/CustomMessageHandler/CustomMessageHandler.cs\u0060 and \u0060Samples/MP/Senparc.Weixin.Sample.MP/MessageHandlers/CustomMessageHandler.cs\u0060 as WHOLE FILES: this scan already matched 8 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":"Samples/All/Senparc.Weixin.Sample.CommonService/MessageHandlers/CustomMessageHandler/CustomMessageHandler.cs"},"region":{"startLine":667}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdf5b11e35b4e69ae2b088cb6d48a42ac10700a11b52b032d00a7392da2e0eb4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): Samples/All/Senparc.Weixin.Sample.CommonService/MessageHandlers/CustomMessageHandler/CustomMessageHandler.cs:682-695 | Samples/MP/Senparc.Weixin.Sample.MP/MessageHandlers/CustomMessageHandler.cs:335-348 \u2014 before extracting anything, compare \u0060Samples/All/Senparc.Weixin.Sample.CommonService/MessageHandlers/CustomMessageHandler/CustomMessageHandler.cs\u0060 and \u0060Samples/MP/Senparc.Weixin.Sample.MP/MessageHandlers/CustomMessageHandler.cs\u0060 as WHOLE FILES: this scan already matched 8 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":"Samples/All/Senparc.Weixin.Sample.CommonService/MessageHandlers/CustomMessageHandler/CustomMessageHandler.cs"},"region":{"startLine":682}}}],"partialFingerprints":{"codehealthFindingId/v1":"e46baab23b540ca62a9698231bb6fb3e23f6a30f06eea657574fd0da484aa0d7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): Samples/All/Senparc.Weixin.Sample.CommonService/MessageHandlers/WorkMessageHandler/WorkCustomMessageHandler.cs:70-74 | Samples/Work/Senparc.Weixin.Sample.Work/MessageHandlers/WorkCustomMessageHandler.cs:79-83 \u2014 before extracting anything, compare \u0060Samples/All/Senparc.Weixin.Sample.CommonService/MessageHandlers/WorkMessageHandler/WorkCustomMessageHandler.cs\u0060 and \u0060Samples/Work/Senparc.Weixin.Sample.Work/MessageHandlers/WorkCustomMessageHandler.cs\u0060 as WHOLE FILES: 83% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 3 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. 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":"Samples/All/Senparc.Weixin.Sample.CommonService/MessageHandlers/WorkMessageHandler/WorkCustomMessageHandler.cs"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb2acfe0153b66f7b4f7e7a68f32bbb8db3fafd697fb779a2124a44602aa4f27"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): Samples/All/Senparc.Weixin.Sample.CommonService/MessageHandlers/WorkMessageHandler/WorkCustomMessageHandler.cs:77-81 | Samples/Work/Senparc.Weixin.Sample.Work/MessageHandlers/WorkCustomMessageHandler.cs:86-90 \u2014 before extracting anything, compare \u0060Samples/All/Senparc.Weixin.Sample.CommonService/MessageHandlers/WorkMessageHandler/WorkCustomMessageHandler.cs\u0060 and \u0060Samples/Work/Senparc.Weixin.Sample.Work/MessageHandlers/WorkCustomMessageHandler.cs\u0060 as WHOLE FILES: 83% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 3 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. 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":"Samples/All/Senparc.Weixin.Sample.CommonService/MessageHandlers/WorkMessageHandler/WorkCustomMessageHandler.cs"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"bda3aff7b69cb82ebb84ea1623611bbaa83cc1424f67481f6c081fef2b43fb2c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): Samples/All/Senparc.Weixin.Sample.CommonService/MessageHandlers/WxOpenMessageHandler/CustomWxOpenMessageHandler.cs:80-88 | Samples/WxOpen/Senparc.Weixin.Sample.WxOpen/MessageHandlers/CustomWxOpenMessageHandler.cs:73-81 \u2014 before extracting anything, compare \u0060Samples/All/Senparc.Weixin.Sample.CommonService/MessageHandlers/WxOpenMessageHandler/CustomWxOpenMessageHandler.cs\u0060 and \u0060Samples/WxOpen/Senparc.Weixin.Sample.WxOpen/MessageHandlers/CustomWxOpenMessageHandler.cs\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 169 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"Samples/All/Senparc.Weixin.Sample.CommonService/MessageHandlers/WxOpenMessageHandler/CustomWxOpenMessageHandler.cs"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"e25cc53221ccfb44c55023fc245e8fee51270625dfa77f26380eb7ad76ac2a04"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): Samples/All/Senparc.Weixin.Sample.CommonService/MessageHandlers/WxOpenMessageHandler/CustomWxOpenMessageHandler.cs:212-217 | Samples/WxOpen/Senparc.Weixin.Sample.WxOpen/MessageHandlers/CustomWxOpenMessageHandler.cs:196-201 \u2014 before extracting anything, compare \u0060Samples/All/Senparc.Weixin.Sample.CommonService/MessageHandlers/WxOpenMessageHandler/CustomWxOpenMessageHandler.cs\u0060 and \u0060Samples/WxOpen/Senparc.Weixin.Sample.WxOpen/MessageHandlers/CustomWxOpenMessageHandler.cs\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 169 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"Samples/All/Senparc.Weixin.Sample.CommonService/MessageHandlers/WxOpenMessageHandler/CustomWxOpenMessageHandler.cs"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e490a213e8a2d0ddeead313adeffae79149dcf24a34a2dd5ab1eb03bc0e97f9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): Samples/All/Senparc.Weixin.Sample.CommonService/MessageHandlers/WxOpenMessageHandler/CustomWxOpenMessageHandler.cs:220-233 | Samples/WxOpen/Senparc.Weixin.Sample.WxOpen/MessageHandlers/CustomWxOpenMessageHandler.cs:204-217 \u2014 before extracting anything, compare \u0060Samples/All/Senparc.Weixin.Sample.CommonService/MessageHandlers/WxOpenMessageHandler/CustomWxOpenMessageHandler.cs\u0060 and \u0060Samples/WxOpen/Senparc.Weixin.Sample.WxOpen/MessageHandlers/CustomWxOpenMessageHandler.cs\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 169 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"Samples/All/Senparc.Weixin.Sample.CommonService/MessageHandlers/WxOpenMessageHandler/CustomWxOpenMessageHandler.cs"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"f15e762068e2d538aea9f55d3f382ae2168902dd67402ddb4555b5b00cde6910"}},{"ruleId":"D5","level":"warning","message":{"text":"Unstable project Senparc.Weixin.All.net10: Senparc.Weixin.All.net10 has instability 0.94 with 1 dependents."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"348fb0b4adc473cc8a9ef4fc19744f965b42fa72d65e73b860110583b7d4c491"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: Senparc.Weixin.net10(net462): Senparc.Weixin.net10(net462): abstractness 0.18, instability 0.00, distance 0.82 \u2014 zone of pain \u2014 concrete and depended on by 13 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"fc43ed4149c5ff20f9ff7e6e5a057261bb23d7440518092cda830247ba533129"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: Senparc.Weixin.MP.net10(net462): Senparc.Weixin.MP.net10(net462): abstractness 0.01, instability 0.20, distance 0.79 \u2014 zone of pain \u2014 concrete and depended on by 4 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"1c95acd726f92846dc573d8a611a21357a08e730e30d2fd13e8420a0d914284c"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: TenPayHttpClient (LCOM4 6): TenPayHttpClient\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":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V2/TenPayHttpClient.cs"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f1cc423ca2c11249a2e3820dd3fa7b9ea4231c47f1e629f7a92899beee798e2"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: MsgAuditFinanceNativeApi (LCOM4 6): MsgAuditFinanceNativeApi\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":"src/Senparc.Weixin.Work/Senparc.Weixin.Work/AdvancedAPIs/MsgAudit/MsgAuditFinanceNativeApi.cs"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb96446944c898e0584acc4aae32256f1c45425b662ddcf340df5d2da29a7720"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/Senparc.Weixin.MCP.Server/Tools/RandomNumberTools.cs: 0.0% line coverage (0/13)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.MCP.Server/Tools/RandomNumberTools.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"60dd9c40d049c90d51f29267bd0b206ab38beabbad242456c7a1a068d0febf7e"}},{"ruleId":"D8","level":"warning","message":{"text":"No test project references Senparc.Weixin.MP.src: No test project in this repository references Senparc.Weixin.MP.src (393 production source file(s)), so \u0060dotnet test\u0060 never loads it and no coverage tool can measure it \u2014 its code is absent from the 77.2% above rather than counted at zero. This is the whole assembly, not a gap within one: add a test project that references it (or a ProjectReference from an existing suite) and its coverage starts being measured."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.MP/Senparc.Weixin.MP/Senparc.Weixin.MP.src.csproj"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1e8df86daaff35ef24741181961e9cf884bcdee62efa55a09191695276d8682"}},{"ruleId":"D8","level":"warning","message":{"text":"No test project references Senparc.Weixin.WxOpen.Packages: No test project in this repository references Senparc.Weixin.WxOpen.Packages (312 production source file(s)), so \u0060dotnet test\u0060 never loads it and no coverage tool can measure it \u2014 its code is absent from the 77.2% above rather than counted at zero. This is the whole assembly, not a gap within one: add a test project that references it (or a ProjectReference from an existing suite) and its coverage starts being measured."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.WxOpen/src/Senparc.Weixin.WxOpen/Senparc.Weixin.WxOpen/Senparc.Weixin.WxOpen.Packages.csproj"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a105fc89c8dfbe9f3696045e6beb3eb83c6e64ae53ce4c8514ad66ca1e099622"}},{"ruleId":"D8","level":"warning","message":{"text":"No test project references Senparc.Weixin.TenPay: No test project in this repository references Senparc.Weixin.TenPay (63 production source file(s)), so \u0060dotnet test\u0060 never loads it and no coverage tool can measure it \u2014 its code is absent from the 77.2% above rather than counted at zero. This is the whole assembly, not a gap within one: add a test project that references it (or a ProjectReference from an existing suite) and its coverage starts being measured."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay.csproj"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa7a53b0aa15e7ecd33038ac0ba57636df21a76912c0d718bfe59769cffb4377"}},{"ruleId":"D8","level":"warning","message":{"text":"No test project references Senparc.WebSocket.packages: No test project in this repository references Senparc.WebSocket.packages (12 production source file(s)), so \u0060dotnet test\u0060 never loads it and no coverage tool can measure it \u2014 its code is absent from the 77.2% above rather than counted at zero. This is the whole assembly, not a gap within one: add a test project that references it (or a ProjectReference from an existing suite) and its coverage starts being measured."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.WebSocket/src/Senparc.WebSocket/Senparc.WebSocket/Senparc.WebSocket.packages.csproj"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"698757b49a4fb213f872fa200a7dd9f11085e72b84e3af6d4fc9cd515541509e"}},{"ruleId":"D8","level":"warning","message":{"text":"No test project references Senparc.Weixin.Cache.Redis.src: No test project in this repository references Senparc.Weixin.Cache.Redis.src (7 production source file(s)), so \u0060dotnet test\u0060 never loads it and no coverage tool can measure it \u2014 its code is absent from the 77.2% above rather than counted at zero. This is the whole assembly, not a gap within one: add a test project that references it (or a ProjectReference from an existing suite) and its coverage starts being measured."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.Cache/Senparc.Weixin.Cache.Redis/Senparc.Weixin.Cache.Redis.src.csproj"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce1a7953f471fdc076c8a07bc9cb8bd6bfa67b1ea6fafeb51e77326018688cf8"}},{"ruleId":"D8","level":"warning","message":{"text":"No test project references Senparc.Weixin.CLI: No test project in this repository references Senparc.Weixin.CLI (6 production source file(s)), so \u0060dotnet test\u0060 never loads it and no coverage tool can measure it \u2014 its code is absent from the 77.2% above rather than counted at zero. This is the whole assembly, not a gap within one: add a test project that references it (or a ProjectReference from an existing suite) and its coverage starts being measured."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/Senparc.Weixin.CLI/Senparc.Weixin.CLI.csproj"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"572cd2843aa826e1021546ba86c5bb4488c56f8151777750682349ee4010b0dc"}},{"ruleId":"D8","level":"warning","message":{"text":"No test project references Senparc.Weixin.Cache.Memcached: No test project in this repository references Senparc.Weixin.Cache.Memcached (4 production source file(s)), so \u0060dotnet test\u0060 never loads it and no coverage tool can measure it \u2014 its code is absent from the 77.2% above rather than counted at zero. This is the whole assembly, not a gap within one: add a test project that references it (or a ProjectReference from an existing suite) and its coverage starts being measured."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.Cache/Senparc.Weixin.Cache.Memcached/Senparc.Weixin.Cache.Memcached.csproj"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"eaeb4de4b91245fbf472dcc80b02eeb2235bad9bac7bd20088f433d1da3582b8"}},{"ruleId":"D8","level":"warning","message":{"text":"No test project references Senparc.Weixin.Cache.Memcached.src: No test project in this repository references Senparc.Weixin.Cache.Memcached.src (4 production source file(s)), so \u0060dotnet test\u0060 never loads it and no coverage tool can measure it \u2014 its code is absent from the 77.2% above rather than counted at zero. This is the whole assembly, not a gap within one: add a test project that references it (or a ProjectReference from an existing suite) and its coverage starts being measured."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.Cache/Senparc.Weixin.Cache.Memcached/Senparc.Weixin.Cache.Memcached.src.csproj"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"118d56b0c166632469152f22f630783b7161df79cae2ce6cf5e0381ba9644521"}},{"ruleId":"D8","level":"warning","message":{"text":"No test project references Senparc.Weixin.Benchmarks: No test project in this repository references Senparc.Weixin.Benchmarks (1 production source file(s)), so \u0060dotnet test\u0060 never loads it and no coverage tool can measure it \u2014 its code is absent from the 77.2% above rather than counted at zero. This is the whole assembly, not a gap within one: add a test project that references it (or a ProjectReference from an existing suite) and its coverage starts being measured."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"benchmarks/Senparc.Weixin.Benchmarks/Senparc.Weixin.Benchmarks.csproj"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"61bb03187b44c988faa4e30e939d3b940762ea66c0112342cdf5668b71158d15"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: CreateWxaQrCodeTest2: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.WxOpen/src/Senparc.Weixin.WxOpen.Tests/AdvancedAPIs/WxApp/WxAppApiTests.cs"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f70a6cdc13cd6d551803785d350e0ea2882af20ac8783ef93f241e78005dcde"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: MediaCheckAsyncTest: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.WxOpen/src/Senparc.Weixin.WxOpen.Tests/AdvancedAPIs/WxApp/WxAppApiTests.cs"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"4adfb80fa8cf160a7b50a30596dca591f30d7e6ffc4ee55e7ea3df4d860591ac"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: SerializeDataTest: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.WxOpen/src/Senparc.Weixin.WxOpen.Tests/SerializeTest.cs"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"38cde3b0cc8272f3e46ade4cfd4575e519418fd784ed5f7a3dd37aab82157c73"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: SerializeCompareTest: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.WxOpen/src/Senparc.Weixin.WxOpen.Tests/SerializeTest.cs"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"479dbc7f3e92136d821822ef8bc6fcd7320ed362227afa11c592a28ce9c86eb2"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: MyTestMethod: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.WxOpen/src/Senparc.Weixin.WxOpen.Tests/WeixinRegisterTests.cs"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"edce1416596e154560b7732e8a6cb9577db1fa9872150214614b60bc26e4b559"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: TestRegisterMpAccount: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.WxOpen/src/Senparc.Weixin.WxOpen.Tests/WeixinRegisterTests.cs"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"821542d507e6629722c77b2d8da9a0d7a4f5361306e334d6a91ab4188576a0aa"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: GetAuthorizerInfoTest: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.Open/Senparc.Weixin.Open.Test/ComponentAPIs/ComponentApi.cs"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"26c2ce05213e42ea3900a8c4df7710e1171d7bbe99070f5184508c46ee974497"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: GetXmlValuesTest: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay.Test/V3/TenPayV3ResultTest.cs"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"7eb17eb05ba5fbdfa43f989516f957f0125cf0bbb6042263a389f557cf909916"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: GetXmlValuesTest1: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay.Test/V3/TenPayV3ResultTest.cs"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"114d738480fbab1c00bc3371ad66c16328907e5f522ae632b65bf9c91ed3e7de"}},{"ruleId":"D10","level":"warning","message":{"text":"Test cannot fail: GetConversationRecordsTest: This test\u0027s act runs inside \u0060catch (Exception)\u0060 at line 62 of this file, which catches every exception and neither rethrows nor verifies \u2014 so the method passes whether or not the behaviour it names actually happens. Adding an assertion inside that region does not fix it: the assertion throws, and the same catch swallows it exactly like the exception it replaced. Assert the outcome instead of catching it: \u0060Assert.Throws\u003CT\u003E(() =\u003E \u2026)\u0060 (or the framework equivalent) when a throw is the expected result, or narrow the catch to the one exception type and assert on it. A catch-all that only logs belongs in production code, not between a test and its verdict."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.Work/Senparc.Weixin.Work.Test/AdvancedAPIs/DataIntelligence/DataIntelligenceTest.cs"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffd9f31200185b2b2b59a147772dfb06e17f2c8d24ada543fc98be6d13df1ad4"}},{"ruleId":"D10","level":"warning","message":{"text":"Test cannot fail: GetConversationRecordsAsyncTest: This test\u0027s act runs inside \u0060catch (Exception)\u0060 at line 84 of this file, which catches every exception and neither rethrows nor verifies \u2014 so the method passes whether or not the behaviour it names actually happens. Adding an assertion inside that region does not fix it: the assertion throws, and the same catch swallows it exactly like the exception it replaced. Assert the outcome instead of catching it: \u0060Assert.Throws\u003CT\u003E(() =\u003E \u2026)\u0060 (or the framework equivalent) when a throw is the expected result, or narrow the catch to the one exception type and assert on it. A catch-all that only logs belongs in production code, not between a test and its verdict."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.Work/Senparc.Weixin.Work.Test/AdvancedAPIs/DataIntelligence/DataIntelligenceTest.cs"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d97e4d7cd19971e5dff4d2022ef539473ec1de8d7ddacf5d283b53d55e238d4"}},{"ruleId":"D10","level":"warning","message":{"text":"Test cannot fail: GetConversationRecordsWithRequestObjectTest: This test\u0027s act runs inside \u0060catch (Exception)\u0060 at line 110 of this file, which catches every exception and neither rethrows nor verifies \u2014 so the method passes whether or not the behaviour it names actually happens. Adding an assertion inside that region does not fix it: the assertion throws, and the same catch swallows it exactly like the exception it replaced. Assert the outcome instead of catching it: \u0060Assert.Throws\u003CT\u003E(() =\u003E \u2026)\u0060 (or the framework equivalent) when a throw is the expected result, or narrow the catch to the one exception type and assert on it. A catch-all that only logs belongs in production code, not between a test and its verdict."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.Work/Senparc.Weixin.Work.Test/AdvancedAPIs/DataIntelligence/DataIntelligenceTest.cs"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"6af67d9c54cde8627bed9d1cb11107d219dfd0c5fa2cc9cbdc590b7b60c7622c"}},{"ruleId":"D10","level":"warning","message":{"text":"Test cannot fail: LimitValidationTest: This test\u0027s act runs inside \u0060catch (Exception)\u0060 at line 132 of this file, which catches every exception and neither rethrows nor verifies \u2014 so the method passes whether or not the behaviour it names actually happens. Adding an assertion inside that region does not fix it: the assertion throws, and the same catch swallows it exactly like the exception it replaced. Assert the outcome instead of catching it: \u0060Assert.Throws\u003CT\u003E(() =\u003E \u2026)\u0060 (or the framework equivalent) when a throw is the expected result, or narrow the catch to the one exception type and assert on it. A catch-all that only logs belongs in production code, not between a test and its verdict."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.Work/Senparc.Weixin.Work.Test/AdvancedAPIs/DataIntelligence/DataIntelligenceTest.cs"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"c010a38966ec73790d3693da8955440f5d995b9a5c38f38d539cd2c48f38aef1"}},{"ruleId":"D10","level":"warning","message":{"text":"Test cannot fail: GetMessageStatisticsTest: This test\u0027s act runs inside \u0060catch (Exception)\u0060 at line 152 of this file, which catches every exception and neither rethrows nor verifies \u2014 so the method passes whether or not the behaviour it names actually happens. Adding an assertion inside that region does not fix it: the assertion throws, and the same catch swallows it exactly like the exception it replaced. Assert the outcome instead of catching it: \u0060Assert.Throws\u003CT\u003E(() =\u003E \u2026)\u0060 (or the framework equivalent) when a throw is the expected result, or narrow the catch to the one exception type and assert on it. A catch-all that only logs belongs in production code, not between a test and its verdict."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.Work/Senparc.Weixin.Work.Test/AdvancedAPIs/DataIntelligence/DataIntelligenceTest.cs"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"484e90cdfdd783afb5186eaa5f5a214d82e64b2883dbb903e51adb6d63465a35"}},{"ruleId":"D10","level":"warning","message":{"text":"Test cannot fail: GetMessageStatisticsAsyncTest: This test\u0027s act runs inside \u0060catch (Exception)\u0060 at line 178 of this file, which catches every exception and neither rethrows nor verifies \u2014 so the method passes whether or not the behaviour it names actually happens. Adding an assertion inside that region does not fix it: the assertion throws, and the same catch swallows it exactly like the exception it replaced. Assert the outcome instead of catching it: \u0060Assert.Throws\u003CT\u003E(() =\u003E \u2026)\u0060 (or the framework equivalent) when a throw is the expected result, or narrow the catch to the one exception type and assert on it. A catch-all that only logs belongs in production code, not between a test and its verdict."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.Work/Senparc.Weixin.Work.Test/AdvancedAPIs/DataIntelligence/DataIntelligenceTest.cs"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"44e170cf21705fe1293d60ae08b8a3118176f3ca13a1bf342636dbf51b836bb9"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: Markdown2Test: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.Work/Senparc.Weixin.Work.Test/AdvancedAPIs/Webhook/WebhookApiTests.cs"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9057b60d082ed0510688932394910b7ce035f9072953c6110c4691b6d152090"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: FileTest: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.Work/Senparc.Weixin.Work.Test/MessageHandlers/WorkMessageHandlerTest.cs"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"2459e4d5e03543d3ff2d003481ce3507c8cccbb8c6c31b3854625606bee45326"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: TestMethod1: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.MP/Senparc.Weixin.MP.Test/AdvancedAPIs/AsyncTest.cs"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"1979cbb080873dc173594bddfeb485b00d4b9dc48569d677afd359534191a64c"}},{"ruleId":"D10","level":"warning","message":{"text":"Test cannot fail: ConcurrentTesting: This test\u0027s act runs inside \u0060catch (Exception)\u0060 at line 103 of this file, which catches every exception and neither rethrows nor verifies \u2014 so the method passes whether or not the behaviour it names actually happens. Adding an assertion inside that region does not fix it: the assertion throws, and the same catch swallows it exactly like the exception it replaced. Assert the outcome instead of catching it: \u0060Assert.Throws\u003CT\u003E(() =\u003E \u2026)\u0060 (or the framework equivalent) when a throw is the expected result, or narrow the catch to the one exception type and assert on it. A catch-all that only logs belongs in production code, not between a test and its verdict."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.MP/Senparc.Weixin.MP.Test/AdvancedAPIs/AsyncTest.cs"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"f28c413a83f3c96a0bd16127f7d87b50f909b6d9d7c41340e1b173833e212314"}},{"ruleId":"D10","level":"error","message":{"text":"No assertions (empty test): GetAuthorizeUrlTest: Test method has an empty body \u2014 it asserts nothing and exercises no code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.MP/Senparc.Weixin.MP.Test/AdvancedAPIs/OAuth/OAuthTest.cs"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"117947f48aeba15abf02dbe17cb31d5cd5b32135b9fcec368a200b411530d02a"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: GetFullUserTest: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.MP/Senparc.Weixin.MP.Test/AdvancedAPIs/User/CustomTest.cs"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"733c2a4db28f3fc94bda3c6afd7a0cd3ca8cba37893a60bdd4ba36b14c96aadf"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: LocalCacheDeadLockTest: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.MP/Senparc.Weixin.MP.Test/CacheTests/CacheTests.cs"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"3446fa64fd20bc8fa7fc09835890a25d5a53af31e787a6ab6500e1498395d83c"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: LocalCacheDeadLockInGetTest: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.MP/Senparc.Weixin.MP.Test/CacheTests/CacheTests.cs"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd385a794941b57b98e3dcea05cb676ebe585491fd7f717e6b4dbf239a686320"}},{"ruleId":"D10","level":"error","message":{"text":"No assertions (empty test): LockTest: Test method has an empty body \u2014 it asserts nothing and exercises no code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.MP/Senparc.Weixin.MP.Test/Containers/AccessTokenContainerLockTest.cs"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"e097368b98bc310cabdea37053ebff47514e7503f4ba632ea6b4b8697b3a2e4e"}},{"ruleId":"D10","level":"error","message":{"text":"Assertions commented out: ContextTest: The test body contains commented-out assertion calls and no live one \u2014 it runs, verifies nothing, and still passes. Restore the assertions or delete the test; a green test that checks nothing is worse than an absent one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.MP/Senparc.Weixin.MP.Test/MessageHandlers/MessageHandlersTest.cs"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9af87e2f43580dcb9cbe3413096686ca8278ba6b665924a4465be828883bca9"}},{"ruleId":"D10","level":"error","message":{"text":"Assertions commented out: RestoreTest: The test body contains commented-out assertion calls and no live one \u2014 it runs, verifies nothing, and still passes. Restore the assertions or delete the test; a green test that checks nothing is worse than an absent one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.MP/Senparc.Weixin.MP.Test/MessageHandlers/MessageHandlersTest.cs"},"region":{"startLine":318}}}],"partialFingerprints":{"codehealthFindingId/v1":"cba70bd5d3594c59b45121d7b317b2d7a4aff0ff4d914483952751b376e814db"}},{"ruleId":"D10","level":"error","message":{"text":"Assertions commented out: MutipleThreadsTest: The test body contains commented-out assertion calls and no live one \u2014 it runs, verifies nothing, and still passes. Restore the assertions or delete the test; a green test that checks nothing is worse than an absent one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.MP/Senparc.Weixin.MP.Test/MessageHandlers/MessageHandlersTest.cs"},"region":{"startLine":328}}}],"partialFingerprints":{"codehealthFindingId/v1":"23ad2e8a516831e0e43ed247116be548d5cc20be5a81443faa1973156a42bbc0"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: MessageHandlerMiddlewareInvokeTest: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.MP/Senparc.Weixin.MP.Test/MessageHandlers/Middleware/MessageHandlerMiddlewareTests.cs"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"0110317873911795b9ba99fe921d97d9f0cee4b314597af53fbcfd4443773726"}},{"ruleId":"D10","level":"error","message":{"text":"No assertions (empty test): OrderQueryTest: Test method has an empty body \u2014 it asserts nothing and exercises no code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.MP/Senparc.Weixin.MP.Test/TenPayLibV3/TenPayV3/TenPayTest.cs"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac2a401f8a269938da226ae65590e1b2c6ad8c381d30b24f2f71776ba9af7243"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: LocalCacheLockTest: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin/Senparc.WeixinTests/Cache.Local/Lock/LocalCacheLockTests.cs"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"832b5ab1ba3cc82d23c6b1c49748454dbc8ea24d08fac51687258e1eab70d813"}},{"ruleId":"D10","level":"error","message":{"text":"Assertions commented out: RegisterContainerCacheStrategyTest: The test body contains commented-out assertion calls and no live one \u2014 it runs, verifies nothing, and still passes. Restore the assertions or delete the test; a green test that checks nothing is worse than an absent one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin/Senparc.WeixinTests/Cache/CacheStrategyFactoryTests.cs"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fc714a79ae4e1b254eebad897eed27b919828e1234f1a0b2066e46faa16de47"}},{"ruleId":"D10","level":"error","message":{"text":"Assertions commented out: GetCollectionListTest: The test body contains commented-out assertion calls and no live one \u2014 it runs, verifies nothing, and still passes. Restore the assertions or delete the test; a green test that checks nothing is worse than an absent one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin/Senparc.WeixinTests/Containers/BaseContainerTests.cs"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3e0dafa6ba92ecb654ad375505293ca4772a2358bb5a5a4a3e3247aa9008c32"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: DownloadTest: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin/Senparc.WeixinTests/Utilities/HttpUtility/GetTests.cs"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"419b459c310fb95678d3e92170cef383ffd4263624e332c672346b80058b6564"}},{"ruleId":"D10","level":"error","message":{"text":"No assertions (empty test): DownLoadTest: Test method has an empty body \u2014 it asserts nothing and exercises no code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin/Senparc.WeixinTests/Utilities/HttpUtility/PostTests.cs"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"32ef252aefbb4cb4ef6a8b87c60459d2c8a147d5ca6ccd6af86309507ebd3230"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: SetHttpProxyTest: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin/Senparc.WeixinTests/Utilities/HttpUtility/RequestUtilityTests.cs"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7231205b3158da5637f7fc9565d733fca9cd0a5061ce84c654f1944865e8a25"}},{"ruleId":"D10","level":"warning","message":{"text":"Test cannot fail: TestMaxLegth: This test\u0027s act runs inside \u0060catch (Exception)\u0060 at line 138 of this file, which catches every exception and neither rethrows nor verifies \u2014 so the method passes whether or not the behaviour it names actually happens. The 1 assertion(s) this test does make are inside that region, and an xUnit/NUnit assertion reports by THROWING \u2014 so they are caught and discarded too, which is why nothing else here flags this test. Assert the outcome instead of catching it: \u0060Assert.Throws\u003CT\u003E(() =\u003E \u2026)\u0060 (or the framework equivalent) when a throw is the expected result, or narrow the catch to the one exception type and assert on it. A catch-all that only logs belongs in production code, not between a test and its verdict."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.MP/Senparc.Weixin.MP.Test/AdvancedAPIs/Custom/CustomTest.cs"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"636047359f82a62c1973320b51f45b6fe05811b1d2a87dced622d863126c8240"}},{"ruleId":"D10","level":"warning","message":{"text":"Test cannot fail: GetUserInfoTest: This test\u0027s act runs inside \u0060catch (Exception)\u0060 at line 274 of this file, which catches every exception and neither rethrows nor verifies \u2014 so the method passes whether or not the behaviour it names actually happens. The 1 assertion(s) this test does make are inside that region, and an xUnit/NUnit assertion reports by THROWING \u2014 so they are caught and discarded too, which is why nothing else here flags this test. Assert the outcome instead of catching it: \u0060Assert.Throws\u003CT\u003E(() =\u003E \u2026)\u0060 (or the framework equivalent) when a throw is the expected result, or narrow the catch to the one exception type and assert on it. A catch-all that only logs belongs in production code, not between a test and its verdict."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.MP/Senparc.Weixin.MP.Test/CommonAPIs/CommonApiTest.cs"},"region":{"startLine":265}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5e5aae75485f150dd822222c7db3f16e0f56b5799bea3dea479c344ea22b6a0"}},{"ruleId":"D10","level":"warning","message":{"text":"Test cannot fail: ContainerTest: This test\u0027s act runs inside \u0060RunMutipleCache\u0060 at src/Senparc.Weixin/Senparc.WeixinTests/MutipleCacheTestWapper.cs:65, which catches every exception and neither rethrows nor verifies \u2014 so the method passes whether or not the behaviour it names actually happens. The 7 assertion(s) this test does make are inside that region, and an xUnit/NUnit assertion reports by THROWING \u2014 so they are caught and discarded too, which is why nothing else here flags this test. Assert the outcome instead of catching it: \u0060Assert.Throws\u003CT\u003E(() =\u003E \u2026)\u0060 (or the framework equivalent) when a throw is the expected result, or narrow the catch to the one exception type and assert on it. A catch-all that only logs belongs in production code, not between a test and its verdict."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.MP/Senparc.Weixin.MP.Test/Containers/AccessTokenContainerTest.cs"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"38dd9e3ca7ad5c2836ea4703313dcf00cad3c8a2916d448e90de1228e79cc671"}},{"ruleId":"D10","level":"warning","message":{"text":"Test cannot fail: NonPostRequestDoesNotReadBodyTest: This test\u0027s act runs inside \u0060catch (Exception)\u0060 at line 215 of this file, which catches every exception and neither rethrows nor verifies \u2014 so the method passes whether or not the behaviour it names actually happens. The 1 assertion(s) this test does make are inside that region, and an xUnit/NUnit assertion reports by THROWING \u2014 so they are caught and discarded too, which is why nothing else here flags this test. Assert the outcome instead of catching it: \u0060Assert.Throws\u003CT\u003E(() =\u003E \u2026)\u0060 (or the framework equivalent) when a throw is the expected result, or narrow the catch to the one exception type and assert on it. A catch-all that only logs belongs in production code, not between a test and its verdict."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3.Test/HttpHandlers/TenPayNotifyHandlerTests.cs"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"8da805606586dee50c8c7c53e61dd04bb022b132efd24150ab1e2326185317f1"}},{"ruleId":"D10","level":"warning","message":{"text":"Test cannot fail: SendThrowTest: This test\u0027s act runs inside \u0060catch (Exception)\u0060 at line 22 of this file, which catches every exception and neither rethrows nor verifies \u2014 so the method passes whether or not the behaviour it names actually happens. The 1 assertion(s) this test does make are inside that region, and an xUnit/NUnit assertion reports by THROWING \u2014 so they are caught and discarded too, which is why nothing else here flags this test. Assert the outcome instead of catching it: \u0060Assert.Throws\u003CT\u003E(() =\u003E \u2026)\u0060 (or the framework equivalent) when a throw is the expected result, or narrow the catch to the one exception type and assert on it. A catch-all that only logs belongs in production code, not between a test and its verdict."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin/Senparc.WeixinTests/CommonApis/CommonJsonSendTests.cs"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc30280f49efd4e16dd0dc55673524797f6227cbd0d9b95ce748021bed1c4c9a"}},{"ruleId":"D10","level":"warning","message":{"text":"Fixed-sleep synchronisation: TestMethod1: This test starts a thread it started and then orders itself against it with \u0060Thread.Sleep(5)\u0060 \u2014 a fixed wait, not a signal that the work is done. Whether it passes depends on how loaded the machine is, which is why a test written this way is green on a developer\u0027s box and random in CI. Wait for the event itself instead: the process\u0027s own exit or output, a completion handle, or a condition polled to a timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.MP/Senparc.Weixin.MP.Test/AdvancedAPIs/AsyncTest.cs"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4354686e153efcd0bd04e569a7ecbfa4a1bd1d396af335623942afeeb825553"}},{"ruleId":"D10","level":"warning","message":{"text":"Fixed-sleep synchronisation: CreateAsyncTest: This test starts a thread it started and then orders itself against it with \u0060Thread.Sleep(100)\u0060 \u2014 a fixed wait, not a signal that the work is done. Whether it passes depends on how loaded the machine is, which is why a test written this way is green on a developer\u0027s box and random in CI. Wait for the event itself instead: the process\u0027s own exit or output, a completion handle, or a condition polled to a timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.MP/Senparc.Weixin.MP.Test/AdvancedAPIs/QrCode/QrCodeApiTests.cs"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"114b52a77e73ac054a96fdbccca6f6d1e878ff24f45cfbb2f9e50c89615974c6"}},{"ruleId":"D10","level":"warning","message":{"text":"Fixed-sleep synchronisation: SendTemplateMessageAsyncTest: This test starts a thread it started and then orders itself against it with \u0060Thread.Sleep(100)\u0060 \u2014 a fixed wait, not a signal that the work is done. Whether it passes depends on how loaded the machine is, which is why a test written this way is green on a developer\u0027s box and random in CI. Wait for the event itself instead: the process\u0027s own exit or output, a completion handle, or a condition polled to a timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.MP/Senparc.Weixin.MP.Test/AdvancedAPIs/Template/TemplateTest.cs"},"region":{"startLine":267}}}],"partialFingerprints":{"codehealthFindingId/v1":"a689a2763e0402c8d8fdce37fb6e201e119610589c614284acd783e56bcf6150"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/Senparc.Weixin.Work/Senparc.Weixin.Work/MessageHandlers/Async/WorkMessageHandler.Async.cs: src/Senparc.Weixin.Work/Senparc.Weixin.Work/MessageHandlers/Async/WorkMessageHandler.Async.cs changed 5 times in last 90 days, max cyclomatic complexity 68 in WorkMessageHandler.OnEventRequestAsync at line 198. 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-05-08..2026-08-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-05-08 02:03:42 \u002B08:00\u0027 --until=\u00272026-08-06 02:03:42 \u002B08:00\u0027 --full-history --no-merges -- src/Senparc.Weixin.Work/Senparc.Weixin.Work/MessageHandlers/Async/WorkMessageHandler.Async.cs\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":"src/Senparc.Weixin.Work/Senparc.Weixin.Work/MessageHandlers/Async/WorkMessageHandler.Async.cs"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"624c01d0971db184749411b4446f308adfaeddf2296f6299374d81172039097d"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/Senparc.Weixin.Work/Senparc.Weixin.Work/MessageContext/DefaultWorkMessageContext.cs: src/Senparc.Weixin.Work/Senparc.Weixin.Work/MessageContext/DefaultWorkMessageContext.cs changed 4 times in last 90 days, max cyclomatic complexity 74 in DefaultWorkMessageContext.GetRequestEntityMappingResult at line 76. 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-05-08..2026-08-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-05-08 02:03:42 \u002B08:00\u0027 --until=\u00272026-08-06 02:03:42 \u002B08:00\u0027 --full-history --no-merges -- src/Senparc.Weixin.Work/Senparc.Weixin.Work/MessageContext/DefaultWorkMessageContext.cs\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":"src/Senparc.Weixin.Work/Senparc.Weixin.Work/MessageContext/DefaultWorkMessageContext.cs"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"f62f56491b36e8b18ddd5b0dc52ef869825bbda689f89a7116bc5ef1750333c3"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/Senparc.Weixin.WxOpen/src/Senparc.Weixin.WxOpen/Senparc.Weixin.WxOpen/MessageContexts/DefaultWxOpenMessageContext.cs: src/Senparc.Weixin.WxOpen/src/Senparc.Weixin.WxOpen/Senparc.Weixin.WxOpen/MessageContexts/DefaultWxOpenMessageContext.cs changed 4 times in last 90 days, max cyclomatic complexity 36 in DefaultWxOpenMessageContext.GetRequestEntityMappingResult at line 39. 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-05-08..2026-08-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-05-08 02:03:42 \u002B08:00\u0027 --until=\u00272026-08-06 02:03:42 \u002B08:00\u0027 --full-history --no-merges -- src/Senparc.Weixin.WxOpen/src/Senparc.Weixin.WxOpen/Senparc.Weixin.WxOpen/MessageContexts/DefaultWxOpenMessageContext.cs\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":"src/Senparc.Weixin.WxOpen/src/Senparc.Weixin.WxOpen/Senparc.Weixin.WxOpen/MessageContexts/DefaultWxOpenMessageContext.cs"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1e031fb6e0773c447749c88982ec6a0e0362ad6e896dd4c3622c96f9dbcb8ce"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/HttpHandlers/TenPayApiRequest.cs: src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/HttpHandlers/TenPayApiRequest.cs changed 5 times in last 90 days, max cyclomatic complexity 22 in TenPayApiRequest.RequestMultipartCoreAsync at line 370. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-05-08..2026-08-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-05-08 02:03:42 \u002B08:00\u0027 --until=\u00272026-08-06 02:03:42 \u002B08:00\u0027 --full-history --no-merges -- src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/HttpHandlers/TenPayApiRequest.cs\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":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/HttpHandlers/TenPayApiRequest.cs"},"region":{"startLine":370}}}],"partialFingerprints":{"codehealthFindingId/v1":"61f8e3547d4ffe1939717cb997762141b0eb6c482ebb05bcf0fa1b2111b9d2e0"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/Senparc.Weixin.WxOpen/src/Senparc.Weixin.WxOpen/Senparc.Weixin.WxOpen/MessageHandlers/WxOpenMessageHandler.Event.cs: src/Senparc.Weixin.WxOpen/src/Senparc.Weixin.WxOpen/Senparc.Weixin.WxOpen/MessageHandlers/WxOpenMessageHandler.Event.cs changed 3 times in last 90 days, max cyclomatic complexity 34 in WxOpenMessageHandler.OnEventRequest at line 81. 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-05-08..2026-08-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-05-08 02:03:42 \u002B08:00\u0027 --until=\u00272026-08-06 02:03:42 \u002B08:00\u0027 --full-history --no-merges -- src/Senparc.Weixin.WxOpen/src/Senparc.Weixin.WxOpen/Senparc.Weixin.WxOpen/MessageHandlers/WxOpenMessageHandler.Event.cs\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":"src/Senparc.Weixin.WxOpen/src/Senparc.Weixin.WxOpen/Senparc.Weixin.WxOpen/MessageHandlers/WxOpenMessageHandler.Event.cs"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0536ad376a7c9e0dc6f0f0214cee400ee585b359993e27d201584478d57916f"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/Senparc.Weixin.Work/Senparc.Weixin.Work/RequestMessageFactory.cs: src/Senparc.Weixin.Work/Senparc.Weixin.Work/RequestMessageFactory.cs changed 3 times in last 90 days, max cyclomatic complexity 30 in RequestMessageFactory.GetRequestEntity at line 59. 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-05-08..2026-08-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-05-08 02:03:42 \u002B08:00\u0027 --until=\u00272026-08-06 02:03:42 \u002B08:00\u0027 --full-history --no-merges -- src/Senparc.Weixin.Work/Senparc.Weixin.Work/RequestMessageFactory.cs\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":"src/Senparc.Weixin.Work/Senparc.Weixin.Work/RequestMessageFactory.cs"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b98a6e9e76176822053cd69feeea623d6bd387cb984550737b14874e7edd8da"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Helpers/SecurityHelper.cs: src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Helpers/SecurityHelper.cs changed 3 times in last 90 days, max cyclomatic complexity 19 in SecurityHelper.RSAFromXmlString at line 270. 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-05-08..2026-08-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-05-08 02:03:42 \u002B08:00\u0027 --until=\u00272026-08-06 02:03:42 \u002B08:00\u0027 --full-history --no-merges -- src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Helpers/SecurityHelper.cs\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":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Helpers/SecurityHelper.cs"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"3574960b73e6cfc8ea5bfb2f94c06d7eeb9c239e1a0a2c3f967d81fbd51d2e90"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/RedPackApi/RedPackApi.cs: src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/RedPackApi/RedPackApi.cs changed 2 times in last 90 days, max cyclomatic complexity 25 in RedPackApi.SearchRedPack at line 544. 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-05-08..2026-08-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-05-08 02:03:42 \u002B08:00\u0027 --until=\u00272026-08-06 02:03:42 \u002B08:00\u0027 --full-history --no-merges -- src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/RedPackApi/RedPackApi.cs\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":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/RedPackApi/RedPackApi.cs"},"region":{"startLine":544}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f23a6df287b3ebbd67743b7a2a4a6189aad4a0f2066cdceb51a6b56d488b97f"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/RedPackApi/RedPackApi.Via.cs: src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/RedPackApi/RedPackApi.Via.cs changed 2 times in last 90 days, max cyclomatic complexity 24 in RedPackApi.SendNormalRedPackViaProvider at line 94. 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-05-08..2026-08-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-05-08 02:03:42 \u002B08:00\u0027 --until=\u00272026-08-06 02:03:42 \u002B08:00\u0027 --full-history --no-merges -- src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/RedPackApi/RedPackApi.Via.cs\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":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/RedPackApi/RedPackApi.Via.cs"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"783f13e5d2ec76f7d53b5ea5be65c467f1faef47a04537cb227b9f1a891f666e"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/Senparc.Weixin.Work/Senparc.Weixin.Work/AdvancedAPIs/OpenHardware/OpenHardwareCallbackHandler.cs: src/Senparc.Weixin.Work/Senparc.Weixin.Work/AdvancedAPIs/OpenHardware/OpenHardwareCallbackHandler.cs changed 2 times in last 90 days, max cyclomatic complexity 18 in OpenHardwareCallbackHandler.ParsePlaintext at line 88. 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-05-08..2026-08-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-05-08 02:03:42 \u002B08:00\u0027 --until=\u00272026-08-06 02:03:42 \u002B08:00\u0027 --full-history --no-merges -- src/Senparc.Weixin.Work/Senparc.Weixin.Work/AdvancedAPIs/OpenHardware/OpenHardwareCallbackHandler.cs\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":"src/Senparc.Weixin.Work/Senparc.Weixin.Work/AdvancedAPIs/OpenHardware/OpenHardwareCallbackHandler.cs"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb7c41fe633d6888cb722956d8aaa6b2c50571d68aa5dbf0731ab7f182045e64"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/Senparc.Weixin.MP/Senparc.Weixin.MP/MessageHandlers/MessageHandler.cs: src/Senparc.Weixin.MP/Senparc.Weixin.MP/MessageHandlers/MessageHandler.cs changed 2 times in last 90 days, max cyclomatic complexity 18 in MessageHandler.Init at line 238. 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-05-08..2026-08-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-05-08 02:03:42 \u002B08:00\u0027 --until=\u00272026-08-06 02:03:42 \u002B08:00\u0027 --full-history --no-merges -- src/Senparc.Weixin.MP/Senparc.Weixin.MP/MessageHandlers/MessageHandler.cs\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":"src/Senparc.Weixin.MP/Senparc.Weixin.MP/MessageHandlers/MessageHandler.cs"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0a3ef7100bd0da7f93ca3f13d6fcc10bddaa4d9df2447aeb4ba4afb9d7dd89a"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/RedPackApi/ShakeRedPackApi.cs: src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/RedPackApi/ShakeRedPackApi.cs changed 2 times in last 90 days, max cyclomatic complexity 16 in ShakeRedPackApi.HbPreOrder at line 138. 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-05-08..2026-08-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-05-08 02:03:42 \u002B08:00\u0027 --until=\u00272026-08-06 02:03:42 \u002B08:00\u0027 --full-history --no-merges -- src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/RedPackApi/ShakeRedPackApi.cs\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":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/RedPackApi/ShakeRedPackApi.cs"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3fccf9c68f07e59b3799d1abb49ca01c2e024865172db0870e8d7034812ae7d"}},{"ruleId":"D17","level":"warning","message":{"text":"Whole file has no live code \u2014 5 debt markers inside it: Every line in this file is a comment or blank \u2014 it declares no type, member, using or attribute, so nothing in it reaches the build. Its 5 debt markers (5 CommentedOutCode) all sit inside that dead text: one decision to leave the whole file switched off, not 5 independent debts. It records no note anywhere: the file is switched off with nothing in it saying why, so a reader cannot tell whether it is waiting on something or was simply abandoned \u2014 which is the harder of the two to bring back. Decide the FILE rather than its lines \u2014 restore it, or delete it and let version control hold the history. (Every occurrence still counts toward the score and metrics.)"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/MP/WeixinAsyncController.cs"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"77f9985341672b2b57b2c88ba793d4868ecfa91d9e504d061ea1039bcddb6978"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO:\u9632\u6B62\u66F4\u591A\u7684\u63A5\u53E3\u81EA\u8EAB\u9519\u8BEF\u5BFC\u81F4\u7684\u65E0\u9650\u9012\u5F52\u3002 \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":"Samples/All/Senparc.Weixin.Sample.CommonService/EventService.cs"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"037f783dbaa17f5241ea7a667a5f4d50b5d7476be136c45f2c6c546781a88b2f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO:\u8FD9\u91CC\u6839\u636E\u9700\u8981\u6267\u884C\u6D88\u606F\u8FC7\u671F\u65F6\u5019\u7684\u903B\u8F91\uFF0C\u4E0B\u9762\u7684\u4EE3\u7801\u4EC5\u4F9B\u53C2\u8003 \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":"Samples/All/Senparc.Weixin.Sample.CommonService/MessageHandlers/CustomMessageHandler/CustomMessageContext.cs"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f788f98e63d5cb2e92e9c2ffa09fffc83cf54eb4a33f01ec67bc18f67fe7d8f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO:\u8FD9\u91CC\u6839\u636E\u9700\u8981\u6267\u884C\u6D88\u606F\u8FC7\u671F\u65F6\u5019\u7684\u903B\u8F91\uFF0C\u4E0B\u9762\u7684\u4EE3\u7801\u4EC5\u4F9B\u53C2\u8003 \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":"Samples/All/Senparc.Weixin.Sample.CommonService/MessageHandlers/WorkMessageHandler/WorkCustomMessageContext.cs"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"951b49dfdf04a8270db3b72cbcfa1eed6cd57b685cf3e0e455e572215104fe50"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO:\u8FD9\u91CC\u6839\u636E\u9700\u8981\u6267\u884C\u6D88\u606F\u8FC7\u671F\u65F6\u5019\u7684\u903B\u8F91\uFF0C\u4E0B\u9762\u7684\u4EE3\u7801\u4EC5\u4F9B\u53C2\u8003 \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":"Samples/All/Senparc.Weixin.Sample.CommonService/MessageHandlers/WxOpenMessageHandler/CustomWxOpenMessageContext.cs"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"b225e4adfe2a488b54703040a304aabd46c2e15f802bb99b6c6db4d4ed39fdcc"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO:\u8FD9\u91CC\u6839\u636E\u9700\u8981\u6267\u884C\u6D88\u606F\u8FC7\u671F\u65F6\u5019\u7684\u903B\u8F91\uFF0C\u4E0B\u9762\u7684\u4EE3\u7801\u4EC5\u4F9B\u53C2\u8003 \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":"Samples/MP/Senparc.Weixin.Sample.MP/MessageHandlers/CustomMessageContext.cs"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"ede17c1282bf1c0709f5c3f8ce6e004950dae57d7e680d89d1941ef24fb55c2a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO:\u8FD9\u91CC\u6839\u636E\u9700\u8981\u6267\u884C\u6D88\u606F\u8FC7\u671F\u65F6\u5019\u7684\u903B\u8F91\uFF0C\u4E0B\u9762\u7684\u4EE3\u7801\u4EC5\u4F9B\u53C2\u8003 \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":"Samples/Work/Senparc.Weixin.Sample.Work/MessageHandlers/WorkCustomMessageContext.cs"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"97c52227ed6460865bffcb8e962dae235f4c9b517e92ec8a46624e7478a4525d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO:\u8FD9\u91CC\u6839\u636E\u9700\u8981\u6267\u884C\u6D88\u606F\u8FC7\u671F\u65F6\u5019\u7684\u903B\u8F91\uFF0C\u4E0B\u9762\u7684\u4EE3\u7801\u4EC5\u4F9B\u53C2\u8003 \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":"Samples/WxOpen/Senparc.Weixin.Sample.WxOpen/MessageHandlers/CustomWxOpenMessageContext.cs"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5c734fb59386f9cc2f685e7c46786fa58b9928839143058b9446ee33e3f5bb6"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO: \u5BF9Event\u4FE1\u606F\u8FDB\u884C\u7EDF\u4E00\u64CD\u4F5C \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":"Samples/All/Senparc.Weixin.Sample.CommonService/MessageHandlers/CustomMessageHandler/CustomMessageHandler.cs"},"region":{"startLine":662}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bd090d682c4f14ebe354e824a024d507f58af45782c6b5dbfa3091127625664"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO: \u5BF9Event\u4FE1\u606F\u8FDB\u884C\u7EDF\u4E00\u64CD\u4F5C \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":"Samples/MP/Senparc.Weixin.Sample.MP/MessageHandlers/CustomMessageHandler.cs"},"region":{"startLine":310}}}],"partialFingerprints":{"codehealthFindingId/v1":"aafacbfba72606ce566b877533f6debacaeeca64d50b390a7d0380d3f52ee25f"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 3 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Samples/All/Senparc.Weixin.Sample.CommonService/MessageHandlers/CustomMessageHandler/CustomMessageHandler.cs"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c8eb3ac296242d1e1a554096df2fb794929c6ddd52a912100c2dbb05e88c78e"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 3 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Samples/All/Senparc.Weixin.Sample.CommonService/MessageHandlers/WebSocket/CustomNetCoreWebSocketMessageHandler.cs"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3080e3f4f6249a60b3632e9c1ccd9ea3e4e1ffe65697f6d409703958202121e"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 3 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Samples/All/Senparc.Weixin.Sample.CommonService/TemplateMessageService.cs"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"b60110c62bd83a3e83ac05582789da30204530427d667163d60f390d70090467"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 3 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Tools/CacheController.cs"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"f06681ee3e6b190a1ee195dab7eaf5a25845c707e211fda5d20a8d3e957cd10e"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 3 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Tools/CacheController.cs"},"region":{"startLine":291}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a7cd8994d82f34369420dbf623b91e3880c910696640e9c96107fef40058086"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 3 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/MP/AnalysisController.cs"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"5298276fbb42bc3b1b35625493000e862045aa8ce239bdba1274bcde0758dfe4"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 3 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/MP/AnalysisController.cs"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"90bac5b9491b0c00184fe87d34903c0bf7717a18376f4bb010a84d71b008c2bd"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 3 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/MP/AnalysisController.cs"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"16032921bd6a58f9880b3290a8349f2fa3dd1ec480927d937f8d4365f429678b"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 3 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/MP/AnalysisController.cs"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"adadd54fb2171102d6296dbfaca543a8d4facf8025d5649cbc0b0309128e904e"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 3 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/MP/AnalysisController.cs"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"78f57ed313c359e16d3236bf4e0c64e0aead501ed0b2844cdc4a0a2cceb40bfb"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 3 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/MP/AnalysisController.cs"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"42bf56298e098c276304701909a3bca5a0055d8d4fb114ba35a4f7ae0cb0720c"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 3 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/MP/AnalysisController.cs"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e79f2b19aecdd43ea794e6cd5672506bab52b996dd00c32cf04db68c64a9889"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 3 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/MP/AnalysisController.cs"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"db7b10d2db7f0731929a2b137d6865c5dd475438365bcde727921f7c7f3681fe"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 3 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/MP/AnalysisController.cs"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"802f9f845007638c92874c0c0406303e35e99c3764879ae0d04e6a19744470a9"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 3 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/MP/AnalysisController.cs"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f63b2f99aad08fd743903d02a676402f089ecac9988ffd5b66460ea600ac46b"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 3 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/MP/AnalysisController.cs"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b1b2fa11dcd49a613fa0e7c8af33f7f0645f92dcf997d67ade16a6f7a8e3c4f"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 3 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/MP/AnalysisController.cs"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"c117219c0aaff0997b6a68ecb5c9144ca0418ecaf302d36a1ec7a5b06fe24a1c"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 3 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/MP/AnalysisController.cs"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6597fc2346c4dcbe6994a681fe022f37a17b21285df85b390dc1410d8b58227"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 3 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/MP/AnalysisController.cs"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c98838892c80906aeb637ef46003aa6fe15c79ce0ab7e05c32cbf8a578edc71"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 3 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/MP/AnalysisController.cs"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ce0c074f8d338255c29fc3ffd6f824f4caafd5892f377743ae8775d9037b792"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 3 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/MP/AnalysisController.cs"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"744fa7143a144520d627e044ed70485e1ac743e43f5c09d023bf18d5673da784"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 3 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/TenPay/TenPayV3Controller.cs"},"region":{"startLine":635}}}],"partialFingerprints":{"codehealthFindingId/v1":"172a72a3a33bbb9967521388ee7687168fde7f2ae4fe6fe9c77f186463c3cc6a"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 3 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/TenPay/TenPayV3Controller.cs"},"region":{"startLine":685}}}],"partialFingerprints":{"codehealthFindingId/v1":"81ccc68e528f523c1ccf90bc732ce763310642cfe0d53ab2e5a5c729a94f741b"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 3 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/TenPay/TenPayV3Controller.cs"},"region":{"startLine":696}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5d3a0c25257cc4489043f439cf071eae2e3daa879ce482ebe858896d290705d"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 3 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/TenPay/TenPayV3Controller.cs"},"region":{"startLine":701}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cd5439253b70df31aeea2de5e311fe1370df3a25e0b38d8032d663c44caf890"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 3 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/Work/WorkController.cs"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbc6c85a9730fdb27925e6c8e8673df166e64db6002d02914efc3714adc7a8d9"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 3 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Samples/TenPayV2/Senparc.Weixin.Sample.TenPayV2/Controllers/TenPayV3Controller.cs"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"30a439b1788c0e87b390dda78330f2577a06fbe46f1c9843320c8fe51f452ef1"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 3 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Samples/TenPayV2/Senparc.Weixin.Sample.TenPayV2/Controllers/TenPayV3Controller.cs"},"region":{"startLine":640}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e640a26ce31f079fee68ccd0ec386bab0546cb79944fada1474d84b8162ac91"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 3 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Samples/TenPayV2/Senparc.Weixin.Sample.TenPayV2/Controllers/TenPayV3Controller.cs"},"region":{"startLine":690}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c586d2a44a7ecb43f58a3a196bced90aa431a370899f289495215ed22c3074d"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 3 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Samples/TenPayV2/Senparc.Weixin.Sample.TenPayV2/Controllers/TenPayV3Controller.cs"},"region":{"startLine":701}}}],"partialFingerprints":{"codehealthFindingId/v1":"47ab30f9b5723ca3fda657a0cc615c1614f8dde72e6a8dd415183249726f3bdb"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 3 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Samples/TenPayV2/Senparc.Weixin.Sample.TenPayV2/Controllers/TenPayV3Controller.cs"},"region":{"startLine":706}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9b3401c2a571cf9dcff13b80da800554de96c38ff95c08d10e8485d8cf08963"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 3 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Samples/Work/Senparc.Weixin.Sample.Work/Controllers/WorkController.cs"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"6941c1499a9bc435938b42518e4b197afc2502950c326b4946d46b0d2931dd2f"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 3 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.WebSocket/src/Senparc.WebSocket/Senparc.WebSocket/Routes/WebSocketHandler/WebSocketHandler_Common.cs"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"61f9a6709831c0c9f8f89c8ed63fe0d7d69c8d3efba2a07fbc4b456fa703fa18"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 3 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.WebSocket/src/Senparc.WebSocket/Senparc.WebSocket/Routes/WebSocketHandler/WebSocketHandler_NET45.cs"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d6a0e499925079a42050a5e7df83195bfdc4cc757e8231aca6ddbbc67730454"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 3 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.Cache/Senparc.Weixin.Cache.CsRedis/ContainerCacheStrategy/RedisContainerCacheStrategy.cs"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6a93e6b8295449780ee9d15d738f6d2acd3fdf2881395f26ddfd4cde003a574"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 3 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.Cache/Senparc.Weixin.Cache.CsRedis/ContainerCacheStrategy/RedisHashSetContainerCacheStrategy.cs"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"51397272a9d2180db5a9646cbcbcc6a3a888d4f187506b00dcd0bb2131c0e837"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 3 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.Cache/Senparc.Weixin.Cache.Dapr/ContainerCacheStrategy/DaprContainerCacheStrategy.cs"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a79a765a3be05ade84c59fcba8506505306337a66f5f6e1a6346413ba722a1d"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 3 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.Cache/Senparc.Weixin.Cache.Memcached/Inject/MemcachedServiceCollectionExtensions.cs"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"edb5298e747e092d8de3231d77e6160cee5ae107421d7b34bd0fa59ace78058c"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 3 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.Cache/Senparc.Weixin.Cache.Redis/ContainerCacheStrategy/RedisContainerCacheStrategy.cs"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9c7f578c5de376dd55c1c057205ce29c0dd78a57388f8d4d0d240813c2e55b0"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 3 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.Cache/Senparc.Weixin.Cache.Redis/ContainerCacheStrategy/RedisHashSetContainerCacheStrategy.cs"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"92cc37bb259c087ddce2d8f342f8ecbb7f1d44962441f079dddcad2afc907291"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 3 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.MP/Senparc.Weixin.MP.Test/AdvancedAPIs/Media/MediaTest.cs"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a4e9610e1e7301c31df800495d58bb3ec42f9456895cc3b34915a52e55364e7"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 3 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.MP/Senparc.Weixin.MP.Test/Helpers/EntityHelperTest.cs"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"d60791710c395b0e38497cc6bc44e6a8f1d762d6821a04265d4fb0ab4669fdbd"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 3 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.MP/Senparc.Weixin.MP.Test/MessageHandlers/MessageHandlersTest.cs"},"region":{"startLine":347}}}],"partialFingerprints":{"codehealthFindingId/v1":"75b4c33ba0050c6aa52e7294cd5deddca16b2eec3d41f262554ffa1c0d6b8963"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 3 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.MP/Senparc.Weixin.MP/AdvancedAPIs/OAuth/OAuthJson/RefreshTokenResult.cs"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddeb269d6ee0c77c8b80dfabacef49edba7622f969b22181f898ec5031690ead"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 3 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.MP/Senparc.Weixin.MP/CommonAPIs/ApiHandlerWapper.cs"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"76c0de13c5bd74526122970eda586b8f7138c529fd9b9ed3868bf8dc48154f14"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 3 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/RedPackApi/RedPackApi.Via.cs"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"3128422aedbf01e8f9c3399933cfbc55436fb9b69c144f99c2b218477c63688a"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 3 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/RedPackApi/RedPackApi.cs"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfa6a838aacef16e896a44746cda6ec39c18fa7227a14e568b6271ba553d75d9"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 3 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/RedPackApi/RedPackApi.cs"},"region":{"startLine":411}}}],"partialFingerprints":{"codehealthFindingId/v1":"2235f8bb81a897e3a702cb3b13feede9fe195f196d91197a5132bf0e11b681fa"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 3 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/RedPackApi/ShakeRedPackApi.cs"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"d852c79bd83943abf3e624f562af909598e1b8bd44ec8c751c65ab1c74365a4c"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 3 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/Marketing/MarketingApis.Video.cs"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"978339dd45b56fcd0ed66c1a563538aaa486f006f6903f6a64a2e54421d036e2"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 3 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/Profitsharing/ProfitsharingApis.cs"},"region":{"startLine":329}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfe360ebbe93f715f3f3eb78a3123d29fdf7138dfdba263a348aadadb25acfa1"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 3 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.Work/Senparc.Weixin.Work/Entities/Response/WorkResponseMessageBase.cs"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebe20d83af40ae27b93ec7452b1ac58de43fb8ae1caeb8655eb3144616f00bcd"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 3 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.Work/Senparc.Weixin.Work/MessageHandlers/WorkMessageHandler.cs"},"region":{"startLine":498}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb3b737cdfa9a0f5e028c60428aae3cbacb4ef86941012f7f3e4d0b408dac10e"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 3 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.WxOpen/src/Senparc.Weixin.WxOpen.Tests/Helpers/EncryptHelperTests.cs"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab7d22354b8814f633ee7d7c56e67e74e7f5495c064186c9632addd9bad7e649"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 3 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.WxOpen/src/Senparc.Weixin.WxOpen/Senparc.Weixin.WxOpen/CommonAPIs/WxOpenApiHandlerWapper.cs"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"888785d37fa687ff0c9220988eb99a93d9af9d8125da6b98f0ec6df5a69107d9"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 3 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.WxOpen/src/Senparc.Weixin.WxOpen/Senparc.Weixin.WxOpen/Helpers/EncryptHelper.cs"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"895b683632e73c974663315f1f47cd32bb4383bd7d4ef1fde86fcbc1864e6abe"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 3 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.WxOpen/src/Senparc.Weixin.WxOpen/Senparc.Weixin.WxOpen/Helpers/EncryptHelper.cs"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a04da4e31453276d4f788185008cb09702d3df817ecd18e6ae9ca5629e40f31"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 3 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.WxOpen/src/Senparc.Weixin.WxOpen/Senparc.Weixin.WxOpen/Helpers/EncryptHelper.cs"},"region":{"startLine":294}}}],"partialFingerprints":{"codehealthFindingId/v1":"3939fdcc53dfbd4b8a276fa9ee4ed86e0fbe16911720b70b9d1f88abd951209e"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 3 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.WxOpen/src/Senparc.Weixin.WxOpen/Senparc.Weixin.WxOpen/Helpers/EncryptHelper.cs"},"region":{"startLine":314}}}],"partialFingerprints":{"codehealthFindingId/v1":"106d0df1dfef22ebba111300abf3356f9eff1dae8ec3aad46b6ecc62424e8236"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 3 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin/Senparc.Weixin/Containers/BaseContainer.cs"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ba6f3fc549a32015c2b79a8e7110bc8b6dccb90d0cbc7fbdc072f1360d0e4f0"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 3 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin/Senparc.Weixin/Containers/BaseContainer.cs"},"region":{"startLine":447}}}],"partialFingerprints":{"codehealthFindingId/v1":"04267e1bc16eff5078faaef08d016da4dfef5f2d6ca1e4d8069b77319405b21f"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 3 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin/Senparc.Weixin/Containers/BaseContainer.cs"},"region":{"startLine":456}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0a3ac5171fd174547e5110b8f8d9e69bc19b4845d4946ddab4c32c9867ad3a7"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 3 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin/Senparc.Weixin/Containers/BaseContainer.cs"},"region":{"startLine":658}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf6ddf2e13bdc58cc5b7f872a28754631908ce0f389ac6c6dcd0f2e6f68c9a44"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 3 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin/Senparc.Weixin/Containers/BaseContainer.cs"},"region":{"startLine":667}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea9d1b6dffc6eb9a90d9af0aea4e6b08599f073edb66eb003b40683bd8b06d41"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 3 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin/Senparc.Weixin/Entities/IApiData.cs"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"29fd49fa946df0b668f5a0c8e8fd9fc6e055f5074047eb86e1465ac5566b483e"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 3 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin/Senparc.WeixinTests/Cache/CacheStrategyFactoryTests.cs"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2fcb4f9f111a8259a32d932c7becaaa75ff42f7439b63266ca785efa44ad135"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Narrow the catch to the exception you actually expect, record it through whatever this codebase already uses to report problems, or \u2014 where swallowing really is correct, as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 write down WHY in a comment on the catch. The comment has to give the reason: a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all and leaves this row in place. Any of the three makes the decision reviewable; all three clear this row."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Samples/All/Senparc.Weixin.Sample.CommonService/MessageHandlers/CustomMessageHandler/CustomMessageHandler.cs"},"region":{"startLine":582}}}],"partialFingerprints":{"codehealthFindingId/v1":"f06772043cc5f0ef479c8fce34c3882f336f0c81d8332ae37db710ab28c0e944"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Narrow the catch to the exception you actually expect, record it through whatever this codebase already uses to report problems, or \u2014 where swallowing really is correct, as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 write down WHY in a comment on the catch. The comment has to give the reason: a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all and leaves this row in place. Any of the three makes the decision reviewable; all three clear this row."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Samples/MP/Senparc.Weixin.Sample.MP/MessageHandlers/CustomMessageHandler.cs"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"f613ae2f2f87c0dc16cc3c332077dbb5c1d911ff44586a4e306cf5c1ccdb6d7e"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Narrow the catch to the exception you actually expect, record it through whatever this codebase already uses to report problems, or \u2014 where swallowing really is correct, as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 write down WHY in a comment on the catch. The comment has to give the reason: a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all and leaves this row in place. Any of the three makes the decision reviewable; all three clear this row."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.WebSocket/src/Senparc.WebSocket/Senparc.WebSocket/Routes/WebSocketHandler/WebSocketHandler_Common.cs"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bc2dbf26786fbac031c8dabbc3d304cd2f2fafb26ec9e32ba7401421780dc14"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Narrow the catch to the exception you actually expect, record it through whatever this codebase already uses to report problems, or \u2014 where swallowing really is correct, as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 write down WHY in a comment on the catch. The comment has to give the reason: a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all and leaves this row in place. Any of the three makes the decision reviewable; all three clear this row."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin/Senparc.Weixin/Trace/WeixinTrace.cs"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bac59990840bd066f5117832c8b65f875b1c35ad9c578bddc2723921db57b5d"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Narrow the catch to the exception you actually expect, record it through whatever this codebase already uses to report problems, or \u2014 where swallowing really is correct, as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 write down WHY in a comment on the catch. The comment has to give the reason: a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all and leaves this row in place. Any of the three makes the decision reviewable; all three clear this row."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin/Senparc.Weixin/Trace/WeixinTrace.cs"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c64722fec8697d855ffa9ab42ac984302e380c54ac0eaf24722da57a5d6df82"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO:\u5904\u7406\u8FDE\u63A5\u65F6\u7684\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":"Samples/All/Senparc.Weixin.Sample.CommonService/MessageHandlers/WebSocket/CustomNetCoreWebSocketMessageHandler.cs"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"0441fd34d7148cfa3ea8dd1d19f0d760a6a2d7fb5cb9459b3dafabc9e0969b8e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO:\u5904\u7406\u65AD\u5F00\u8FDE\u63A5\u65F6\u7684\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":"Samples/All/Senparc.Weixin.Sample.CommonService/MessageHandlers/WebSocket/CustomNetCoreWebSocketMessageHandler.cs"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b403d8afb19d1e40f626a6410ae6205da4ebbac557ebb5b62e892008f84f2f1"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 9 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Samples/All/Senparc.Weixin.Sample.CommonService/MessageHandlers/WebSocket/CustomNetCoreWebSocketMessageHandler.cs"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"794db2c8ce7577531e9e24ded381ea6d9d8a4da2f920ab80d137422ac374dca8"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 9 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.Open/Senparc.Weixin.Open/WxaAPIs/NewTmpl/NewTmplApi.cs"},"region":{"startLine":323}}}],"partialFingerprints":{"codehealthFindingId/v1":"78db8d0276040e292477b6b40102bfe5f2e5ea36a163d702f38ccc1965296b48"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 9 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.Open/Senparc.Weixin.Open/WxaAPIs/NewTmpl/NewTmplApi.cs"},"region":{"startLine":348}}}],"partialFingerprints":{"codehealthFindingId/v1":"75f40a1015778cedc074bd70205d643c656c8d7e1d1ef4ab2523458a339f9042"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 9 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/Ecommerce/EcommerceApis.cs"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a7af0ffc90e683daf059905a3fbb779035663c023ac7f46a3705eab44ee59e8"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 9 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/Ecommerce/EcommerceApis.cs"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f3caaa6b3dd7fb4263f464870146cf2cd21863af1d12df54b1106ecc475ddae"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 9 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/Ecommerce/EcommerceApis.cs"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"93f2863b721633574d6b563fbad5e19d6c29b6abe719a65d84bfcc0f01692c57"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 9 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/Ecommerce/EcommerceApis.cs"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"aefb1eb26f8addb734817c615b6d272bc62b083aa824963e2616cd10b2d6190d"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 9 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/Ecommerce/EcommerceApis.cs"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b04ded293caca9817e3ea53916cc6125fe9fb87e0ebddcae5a0e29010dab61f"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 9 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/Ecommerce/EcommerceApis.cs"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"44f1c291e7e22c2ff645a6f29081fd614e31ffb97e13422009d4be887d826453"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 9 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/Ecommerce/EcommerceApis.cs"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"40c12efebd967da9f1e8fc5af08db471ce18dfe3328644d330f5a480b575c598"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 9 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/Ecommerce/EcommerceApis.cs"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"598e16fd9574f136fa2246113583ec94aa99c507ef14e300ccaf67b0c2291ad6"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 9 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.WxOpen/src/Senparc.Weixin.WxOpen/Senparc.Weixin.WxOpen/Helpers/EncryptHelper.cs"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"501162a26ab520a9cadc833f2153d096180a049b8441e32ef77a76d765a24691"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 9 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin/Senparc.WeixinTests/BaseTest.cs"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d4736f0232661651ea6f104b5bd8602faca79c0935747e051cdd7ff6bb5a98a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO:\u8FD9\u91CC\u7684\u903B\u8F91\u53EF\u4EE5\u4EA4\u7ED9Service\u5904\u7406\u5177\u4F53\u4FE1\u606F\uFF0C\u53C2\u8003OnLocationRequest\u65B9\u6CD5\u6216/Service/LocationSercice.cs \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":"Samples/All/Senparc.Weixin.Sample.CommonService/MessageHandlers/WxOpenMessageHandler/CustomWxOpenMessageHandler.cs"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7b44b7a0a34eb9d44540b5eb81e2525b61a983778225bcef28b96be3fce3525"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO:\u8FD9\u91CC\u7684\u903B\u8F91\u53EF\u4EE5\u4EA4\u7ED9Service\u5904\u7406\u5177\u4F53\u4FE1\u606F\uFF0C\u53C2\u8003OnLocationRequest\u65B9\u6CD5\u6216/Service/LocationSercice.cs \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":"Samples/WxOpen/Senparc.Weixin.Sample.WxOpen/MessageHandlers/CustomWxOpenMessageHandler.cs"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"6beb9f95aee68ebeb8975ef244d483642ebfd537650be94aef05a359e9afe5d5"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 11 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Samples/All/Senparc.Weixin.Sample.CommonService/MessageHandlers/WxOpenMessageHandler/CustomWxOpenMessageHandler.cs"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fe82f47f64b539ead81e6f961b3a68cda6f4c7cb00940bf3a6266ac0285e6c6"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 11 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/TenPay/TenPayV3Controller.cs"},"region":{"startLine":316}}}],"partialFingerprints":{"codehealthFindingId/v1":"af29545e2fac6a812315b891b174298f77a04da2152a417e91772b2b1299b24e"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 11 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Samples/TenPayV2/Senparc.Weixin.Sample.TenPayV2/Controllers/TenPayV3Controller.cs"},"region":{"startLine":396}}}],"partialFingerprints":{"codehealthFindingId/v1":"8345d5e8388ac1a76f3addf56ff42c30ce79c2cf63e4ff198ab299a3007ed3b3"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 11 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Samples/WxOpen/Senparc.Weixin.Sample.WxOpen/MessageHandlers/CustomWxOpenMessageHandler.cs"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"b450f836c6582581dade30080ec203512cb1ac44c46443f1b63b545fc2c9ced1"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 11 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/Marketing/MarketingApis.Video.cs"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"87e43af4710128ea595827e1386d346282d8082144b59b1d65b41f5e604de6d0"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 11 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin/Senparc.Weixin/CommonAPIs/ApiHandlerWapper/ApiHandlerWapperFactory.cs"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3a724fb4ff7daa0fabbca7335cf977eac4fdaebaf3b9c9c740b4e88a7dc53f7"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 4 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Samples/All/Senparc.Weixin.Sample.CommonService/TemplateMessageService.cs"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7a2fc9b8cc56240a3b8dd772d1aad52c8769a272299810660d338d55c102350"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 4 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Tools/CacheController.cs"},"region":{"startLine":286}}}],"partialFingerprints":{"codehealthFindingId/v1":"27894d1858404a245d5d26a5144ba7655f72c2ab3ccbe28febd481bb789abe0e"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 4 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/MP/MenuController.cs"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a711fa9fd7fc84faa2944da4054bfdbe9f5a96b0e7a0b9614776130e04fef8e"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 4 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/MP/WeixinJSSDKController.cs"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7b85a6c426266ad9d9b0790bf0eccaed938bede82bdb9ec6b31e7e9c266cc83"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 4 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/Open/OpenOAuthController.cs"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b6226e168bca9f9d3c68898d783059548df950c15abde804220a293a7bfa886"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 4 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Startup.cs"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"80203e17b8071026e99c03355fa47e0ea3be943ed137160ab1f4174c8e1e34c8"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 4 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.Cache/Senparc.Weixin.Cache.CsRedis/ContainerCacheStrategy/RedisContainerCacheStrategy.cs"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2ab30b65e855fd4ac8178e751f4ef528209fc40b5f576543fba25f06e9b64ae"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 4 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.Cache/Senparc.Weixin.Cache.CsRedis/ContainerCacheStrategy/RedisHashSetContainerCacheStrategy.cs"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c567b40f26564d0e89dd974d78e7c55af568d225305c0cb7905083643aa0523"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 4 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.Cache/Senparc.Weixin.Cache.Dapr/ContainerCacheStrategy/DaprContainerCacheStrategy.cs"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"a720e7ddbe1332f86ed9a71d6399d15172fc8c3725523b32f943351bc0cb6be9"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 4 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.Cache/Senparc.Weixin.Cache.Redis/ContainerCacheStrategy/RedisContainerCacheStrategy.cs"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b76b444b19e1ec7a31685c1076d73fd1afe0c065486eee7b0ac9f4c5093a42b"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 4 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.Cache/Senparc.Weixin.Cache.Redis/ContainerCacheStrategy/RedisHashSetContainerCacheStrategy.cs"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"8683cf2dbb8cffb8bf9c7409f1c158ac1bcbce7a6d18b69d77bbc2209073db9d"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 4 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.MP.Middleware/MessageHandlers/Middleware/MpMessageHandlerMiddleware.cs"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"661ca0062ea588d912d6cd5c7eccf2ce098e1df0a9f92c58e8095e605eb60e36"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 4 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.MP/Senparc.Weixin.MP.Test/CommonAPIs/CommonApiTest.cs"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"24f3ee33c4aed39a204195ac3af73f30864c34fc5fd079aa7da3edb003b19349"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 4 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.MP/Senparc.Weixin.MP.Test/CommonAPIs/CommonApiTest.cs"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"388c146380aa539e26cb978549175704ad72e566fba99d1288d48b7685c8d89d"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 4 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.MP/Senparc.Weixin.MP.Test/CommonAPIs/CommonApiTest.cs"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"aaf661d2e8ce68cdbe1377b8ca8bd161f4231a8678e69c38c0f07d2176deee99"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 4 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.MP/Senparc.Weixin.MP.Test/Helpers/EntityHelperTest.cs"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ac0a583e876651e48a1378ac6d5f429f0451c367e1f8b9f798d726d06d3393f"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 4 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.MP/Senparc.Weixin.MP.Test/MessageHandlers/MessageHandlersTest.cs"},"region":{"startLine":279}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ba45db2b54ed4a1a11a5f66a45ec3c07c6d5b0f2915cc13a9320f7f25890970"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 4 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.MP/Senparc.Weixin.MP.Test/MessageHandlers/TestEntities/CustomMessageHandlers.cs"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c1a8919a8be27974dc76d956a5237737a4725f69616906f13e61d995cf85add"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 4 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.MP/Senparc.Weixin.MP.Test/MessageHandlers/TestEntities/CustomMessageHandlers.cs"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"4523bebea7d14102ad459e3e581681192e7ca2c89637995185b4dea7732e8e7c"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 4 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.MP/Senparc.Weixin.MP.Test/MessageHandlers/TestEntities/CustomMessageHandlers.cs"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa95872db9d4359fd0818d5ed4bcc0936b42e74d1744c016610a44f02ea1a59c"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 4 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.MP/Senparc.Weixin.MP.Test/MessageHandlers/TestEntities/CustomMessageHandlers.cs"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e836bf0d7dd37143a9f7b6b246c1af12418e83c45d49eafb46f611159adcb8e"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 4 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.MP/Senparc.Weixin.MP.Test/MessageHandlers/TestEntities/CustomMessageHandlers.cs"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"10daf0233dbe969767a6b1088e8dd33235f7c09f24392f55dad942b12f59ea11"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 4 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.MP/Senparc.Weixin.MP.Test/MessageHandlers/TestEntities/CustomMessageHandlers.cs"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"d441dfcf8f5549d988f1f1725b412a792396633011f4b83f7c9cba90454411ef"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 4 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.MP/Senparc.Weixin.MP.Test/MessageHandlers/TestEntities/CustomMessageHandlers.cs"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab00f19e918deec600aa1be26dd55d32799e86ee8e1e1c0c1dda85ed20bdd420"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 4 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.MP/Senparc.Weixin.MP.Test/MessageHandlers/TestEntities/CustomMessageHandlers.cs"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0b60e1f96adafb9cb96ae56cadae463a72c4395ab3bcba37ab7c1a7092c8813"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 4 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.MP/Senparc.Weixin.MP.Test/MessageHandlers/TestEntities/CustomMessageHandlers.cs"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdde86c3324c45de5a7ccabb47caa71daaf94aacad1e2d484a34da8a8e989c24"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 4 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.MP/Senparc.Weixin.MP/AdvancedAPIs/Analysis/AnalysisResultJson/BaseAnalysisResult.cs"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"5998d83a06c42931433d256badb2225c7ad6ab9882cf49ce12a575d02c22dbea"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 4 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.MP/Senparc.Weixin.MP/AdvancedAPIs/Card/Common/Card_BaseInfo/Card_BaseInfoBase.cs"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c5cec4bf8ed31472d6870144c8f9463243ade0edf02dd09416d817a831c33d1"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 4 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.MP/Senparc.Weixin.MP/CommonAPIs/ApiHandlerWapper.cs"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"366c3eadc2e2ff4ce513ba82b1e7783b260b2afa0ecd9a076894fba25793ec07"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 4 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.MP/Senparc.Weixin.MP/CommonAPIs/ApiHandlerWapper.cs"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"b452e8140348f7c0f17e5b4a6aec3ff95a21194cce88318ccdd7a89351603785"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 4 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.MP/Senparc.Weixin.MP/CommonAPIs/ApiHandlerWapper.cs"},"region":{"startLine":266}}}],"partialFingerprints":{"codehealthFindingId/v1":"db5a5c2b390968f9885ae3395cd1ddf69b78fb30885e168a0dd246594047e0b8"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 4 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.MP/Senparc.Weixin.MP/CommonAPIs/Menu/CommonApi.Menu.Common.cs"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2d8012ea5d705acd98da438aec5b20d50e562759fa2435e18f4c43e3c10474e"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 4 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.MP/Senparc.Weixin.MP/Entities/Response/ResponseMessagetTransfer_Customer_Service.cs"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4e6b1c98bea12d9eb032060e72994d72ac91eaae9a4a454f06065a272575265"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 4 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.Open/Senparc.Weixin.Open/ComponentAPIs/ComponentJson/GetAuthorizerInfoResult.cs"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"414cff4de6fc1673ac442f65b4f4f97d68709d8acc441af368894cc39821e440"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 4 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.Open/Senparc.Weixin.Open/ComponentAPIs/ComponentJson/GetAuthorizerInfoResult.cs"},"region":{"startLine":252}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecc75cfe055be553a3cb10cf5bce8feef7a03e67d906d43096065c701a3f8a5e"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 4 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/ResponseHandler.cs"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d4ad4981b02037ded6994e3a3b1427d0d167ff9a7d80567093e9831466b8fe9"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 4 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/Entities/Request/TenPayV3UnifiedorderRequestData_SceneInfo.cs"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"55a175f0b7d58683bd294f2495c1f91a65c992645128ec1db036dd83c56540b5"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 4 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/Entities/Result/TenPayV3Results.cs"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"44b24abddd35a90028d96b508ab04a3c9548c936e0b2efb3f8066126e570b5ff"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 4 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/RedPackApi/RedPackApi.cs"},"region":{"startLine":435}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bd7c30805c8d59a9edc37d3e3b003c2f49d998f4087d9253b4a85a2b0b1786c"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 4 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3.Test/Apis/Marketing/MarketingFavorApisTests.cs"},"region":{"startLine":387}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d81db95b519f377d9a9714279f45670c47163f91c7c24e239c2889f5155fd33"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 4 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/BasePay/BasePayApis.cs"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b9459bd44bf13cdfc95437b33cd00cc86b8174fca78c3991f06d5b6cd148d7c"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 4 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.Work.Middleware/MessageHandlers/Middleware/WorkMessageHandlerMiddleware.cs"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"6424ba278e71f2788822f00cf35befbde0983719f0fec02fb479b577a8d9edd0"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 4 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.Work/Senparc.Weixin.Work.Test/MessageHandlers/CustomMessageHandlers.cs"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"8486664d8ada42add60c2474ba11b29c692600f26bb4e845dddd03711ac5eeba"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 4 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.Work/Senparc.Weixin.Work/Containers/AccessTokenContainer.cs"},"region":{"startLine":319}}}],"partialFingerprints":{"codehealthFindingId/v1":"c414a674e802993bbebbde835c0de42967b2d652a09a298bf258e36e1c8a6016"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 4 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.Work/Senparc.Weixin.Work/Containers/JsApiTicketContainer.cs"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5c3134355ae053d6c3549b50309cba717a4325e93e2b229085eccf9d121d359"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 4 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.Work/Senparc.Weixin.Work/Containers/ProviderTokenContainer.cs"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a598224d14704a3c123b8505324bb93effa744d1aeb49dfe553df18f60da865"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 4 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.Work/Senparc.Weixin.Work/Entities/Request/ThirdPartyInfo/RequestMessager_Register_Corp.cs"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"d598104bd11b9535e9a813e07765e85d5c02622fafe2498772aa0560d0ea3bdb"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 4 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.WxOpen.Middleware/MessageHandlers/Middleware/WxOpenMessageHandlerMiddleware.cs"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e138548438374f3bbc47de60ed0946ea40b64d8c7fc152cbadd635b4069df14"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 4 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.WxOpen/src/Senparc.Weixin.WxOpen.Tests/Helpers/EncryptHelperTests.cs"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"a083df2d33aed2a25424162588ea68d2240b120eb775a26ee88d7c3b96286d07"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 4 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.WxOpen/src/Senparc.Weixin.WxOpen/Senparc.Weixin.WxOpen/AdvancedAPIs/WxApp/WxAppJson/GetNearbyPoiListJsonResult.cs"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"88ff0dce0b378aaa033cf0e9ab10b144dcd134efc01b7bed0f1792276557bb2d"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 4 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.WxOpen/src/Senparc.Weixin.WxOpen/Senparc.Weixin.WxOpen/CommonAPIs/WxOpenApiHandlerWapper.cs"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"a89f7c09fc759d9113b3f52eb4c0fc1c3977a67199e18da46d6ac793a4689d91"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 4 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.WxOpen/src/Senparc.Weixin.WxOpen/Senparc.Weixin.WxOpen/CommonAPIs/WxOpenApiHandlerWapper.cs"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb2263e3e5cb375f40c7e1f3ab8d4ec83c9a114ae3a9e5e821d328efc902f454"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 4 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.WxOpen/src/Senparc.Weixin.WxOpen/Senparc.Weixin.WxOpen/CommonAPIs/WxOpenApiHandlerWapper.cs"},"region":{"startLine":258}}}],"partialFingerprints":{"codehealthFindingId/v1":"c77e4816aa91d1a1ea269da74a27f31d68c0f8cf1767a8cf7b3c9c3868a243e8"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 4 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.WxOpen/src/Senparc.Weixin.WxOpen/Senparc.Weixin.WxOpen/MessageHandlers/WxOpenMessageHandler.cs"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"23b8ba256e97cbc96ad29751f5d2ac9903844320e1a4962224318f7ee7121060"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 4 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin/Senparc.Weixin/Containers/BaseContainer.cs"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c4be527571807e9f193027ba845070c1ca6605beab53df3ba676b78695c3980"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 4 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin/Senparc.Weixin/Containers/BaseContainer.cs"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"70d3ff6d4f0987daf244a04cf75f4f0506d7e87179ce7e50a8e5fe0dc6dc5a33"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 4 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin/Senparc.Weixin/Containers/BaseContainer.cs"},"region":{"startLine":370}}}],"partialFingerprints":{"codehealthFindingId/v1":"8166de347b306ed86382994a62721951e456a689ae2d8731796bd9e6499748b0"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 4 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin/Senparc.Weixin/Containers/BaseContainer.cs"},"region":{"startLine":451}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccdd94e901c9e3eb58f8a79bf59d42734d6af85c86aba2504959ae6960bd2b08"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 4 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin/Senparc.Weixin/Containers/BaseContainer.cs"},"region":{"startLine":583}}}],"partialFingerprints":{"codehealthFindingId/v1":"67f4a59c55e796a60d511d4de7d66b850f5596aae7ad4ae9894374c2564e30b5"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 4 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin/Senparc.Weixin/Containers/BaseContainer.cs"},"region":{"startLine":662}}}],"partialFingerprints":{"codehealthFindingId/v1":"513c4a66786e7d5b9c394173fd2b8f2d8a65645d5f2264a4c4e8a22427a442d9"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 4 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin/Senparc.Weixin/Containers/BaseContainerBag.cs"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ddc8856c62e28fb4246220bb0b52a0da8499efe26733eb65abbf72f309b3430"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 4 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin/Senparc.Weixin/Entities/JsonResult/WxJsonResult.cs"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"94f26cd4013da9154bd8150bb806ef28fc2f99a63c4d6659714e16158440983f"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 4 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin/Senparc.Weixin/Entities/JsonResult/WxJsonResult.cs"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1126b3334d23e7a1cafe4e9818b5e45a31a7d0b11fc47efed09ad74a5320ffe"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 4 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin/Senparc.Weixin/Entities/JsonResult/WxJsonResult.cs"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"30ee3a326f5aaf51c50fd1f7b9887c3d2029b4b0060a73b4c09141795fe8f3af"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 4 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin/Senparc.Weixin/Entities/JsonResult/WxJsonResult.cs"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"32346a04c4bb3376cde71f0ae0092a8626a643bd6ec5e17b64f25a66a6c7a73c"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 4 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin/Senparc.WeixinTests/Cache.Local/Lock/LocalCacheLockTests.cs"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"15e34ff387a2b13195b2336b0f055ed6435bb2f8c7537405e075c2f0bfc83a48"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 4 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin/Senparc.WeixinTests/Cache.Local/Lock/LocalCacheLockTests.cs"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"8dc35109260b75cc12f4cefea0e1c1965a95a84b6a67f4d6203defbb7f0fb549"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 4 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin/Senparc.WeixinTests/Cache.Local/Lock/LocalCacheLockTests.cs"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a0acf13542018d281239a378d774bcce3baa51b7b1043eda250a4801f28be39"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 4 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin/Senparc.WeixinTests/Cache.Local/Lock/LocalCacheLockTests.cs"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b98a00fa252e76736863cc392fe9592414d910ad20dfd0e369b3cf7ae28b3d0"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 4 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin/Senparc.WeixinTests/Cache/CacheStrategyFactoryTests.cs"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"e16519c667a0b936d258dc5c60dba14b6980547e5ea8c2b84fe05f762384a2f4"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 4 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin/Senparc.WeixinTests/Cache/CacheStrategyFactoryTests.cs"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"a356ad1420cf4e6f4a3b16bf0ff4514fc62f5031b094ce2ba4ccdc3c9e9f66a5"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 4 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin/Senparc.WeixinTests/Cache/CacheStrategyFactoryTests.cs"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"547b2c941512893b7a497903597c36ec4c1ea4118d14d332999afc5997ec0987"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 6 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Samples/All/Senparc.Weixin.Sample.CommonService/TemplateMessageService.cs"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"013402597d858bc1d52026332d341e2a1038c70e3e8861dd6dabed6710194188"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 6 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Tools/CacheController.cs"},"region":{"startLine":265}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf36fdcca72410e1490a2d5f25f5a557ec7c91d32b4bf6b59a67a7f569a848d5"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 6 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Tools/CacheController.cs"},"region":{"startLine":297}}}],"partialFingerprints":{"codehealthFindingId/v1":"77721e6ed1f347237a23fd901c1ea8b427dfcdbf2ac38486507d30884f42c1cb"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 6 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/TenPay/TenPayV3Controller.cs"},"region":{"startLine":689}}}],"partialFingerprints":{"codehealthFindingId/v1":"a168c80a8c781e620c39614c6244d113d050dd3197fe8f6a14d0b8302c37255e"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 6 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Samples/TenPayV2/Senparc.Weixin.Sample.TenPayV2/Controllers/TenPayV3Controller.cs"},"region":{"startLine":694}}}],"partialFingerprints":{"codehealthFindingId/v1":"878ecaf16dace906bd7fddab550d7221332092b6d941706ac4a322182cec8d4e"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 6 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.Cache/Senparc.Weixin.Cache.Dapr/ContainerCacheStrategy/DaprContainerCacheStrategy.cs"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0b396a64f33b3dc8c4a3c430eb4de5036eca6126ce63c7bfd7ba5561a9df01c"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 6 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.Cache/Senparc.Weixin.Cache.Dapr/ContainerCacheStrategy/DaprContainerCacheStrategy.cs"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"e17c6b08b4514ec633b61bbbe8660697c8cd0c6e03181f3bac2af8c797b76c18"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 6 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.MP/Senparc.Weixin.MP.Test/MessageHandlers/MessageHandlersTest.cs"},"region":{"startLine":272}}}],"partialFingerprints":{"codehealthFindingId/v1":"9dd67ccb6e9d8405fc5e3e2099851293d288f9644e21cb3741f4a688c29cd9b7"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 6 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.MP/Senparc.Weixin.MP.Test/MessageHandlers/MessageHandlersTest.cs"},"region":{"startLine":365}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f317262fdfbd11c6c1ba8959c3f8998d578087f65657b282f497fd9fd3718fd"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 6 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.MP/Senparc.Weixin.MP.Test/Utilities/Senparc.Weixin.Utilities.HttpUtility/GetTests.cs"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"05e113f7904da2b91e8b8e6a4fd82905097a50b6b8c086fdc0958f574125cd97"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 6 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.MP/Senparc.Weixin.MP/AdvancedAPIs/CustomService/CustomServiceApi.cs"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d569a1aa3b72a495cbbd7a2b3f24ddcc8957eb33abfb390f3de7dc1a02bcf84"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 6 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.MP/Senparc.Weixin.MP/AdvancedAPIs/CustomService/CustomServiceApi.cs"},"region":{"startLine":493}}}],"partialFingerprints":{"codehealthFindingId/v1":"d03af1de94ecf781c93e0e71b05a45a2d0994c5b46150546d5a68e974445216e"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 6 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/TenPayV3.cs"},"region":{"startLine":357}}}],"partialFingerprints":{"codehealthFindingId/v1":"b54a97af3dd2baab0f632b7c0e0e2a762510afe4c11dc298e57ce87c7e99a9c8"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 6 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/TenPayV3.cs"},"region":{"startLine":1129}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5a701f48d6f9efebae13b94ba3d4ef9a651b5156bf830b95b88bd410cf7a419"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 6 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/Profitsharing/ProfitsharingApis.cs"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cdc405afcba288fea16b4a9ce1e6e52690637c4552323baa51af34a79655338"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 6 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Helpers/TenPaySignHelper.cs"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"744f4b5aced60b634a6ab90fafbb3fb17f0aad35804c41bef49ed1ddcfa860c2"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 6 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/TenPayHttpClient/Signer/SHA256WithRSASigner.cs"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f52785a419ea17c802117a3e51a6c4fafce4a8d24ff725e67bb9c238ff77718"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 6 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.Work/Senparc.Weixin.Work.Test/AdvancedAPIs/MailList/Tag/TagTest.cs"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"805c4ce8ad9f1a2f7b830d9e83a7b518ea0795721f3561e9163d3290760386d4"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 6 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.Work/Senparc.Weixin.Work/AdvancedAPIs/Corpgroup/Base/UnionIdToExternalUserIdResult.cs"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a07a56b32a352d6466e5ee2b1d6505b685fc89b046e42c12811906561fd39c4"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 6 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.WxOpen/src/Senparc.Weixin.WxOpen/Senparc.Weixin.WxOpen/Enums.cs"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6db422a7236a934d08e243fed53f7102b8cf9f9c8f21e85ce1577bd4eca3a98"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 6 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin/Senparc.WeixinTests/Cache/CacheStrategyFactoryTests.cs"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e2af05bbb0ea75d8549f98ca38643fbea77c5b393db37386e83884b13b45b14"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 6 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin/Senparc.WeixinTests/Cache/CacheStrategyFactoryTests.cs"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"56c10ad47282f7d52e24c21d1e8d83065631f5d2102551a84cc98626302821bf"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 6 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin/Senparc.WeixinTests/Containers/BaseContainerTests.cs"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"a03cd82b004852359886d33dc014852a70139e98d70521fc64731a2d96da2be3"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 5 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Samples/All/Senparc.Weixin.Sample.CommonService/TemplateMessageService.cs"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae577d6babdc313bb6f245e0b63820ac40bf2b1d8e230f94c0122eed7ebb240a"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 5 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Tools/CacheController.cs"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd89ec7ecfeebdf9c2aeaeadf09517b8a2cc39e1a8c5d9bd7de7c520a4c604e4"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 5 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/MP/WeixinJSSDKController.cs"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"0671342900d56ec315a25df5440b0c910840ad2a73099be6b9c268920bb40898"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 5 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/Work/WorkController.cs"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d99c9b3c2a4ac1108aabc76826a2aeb5c214525da60e6e7fd1830cb3b702d27"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 5 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Samples/MP/Senparc.Weixin.Sample.MP.Simple/Program.cs"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f1e40b8c0b4e0e49e51cc2112c19406c1edd978897b3e07b02563721e0ab718"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 5 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Samples/MP/Senparc.Weixin.Sample.MP/Program.cs"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d93dc6da17e0fbdfc15de9ffe72a7802fb87ca2e92d0aa3cc72416e0baca1ec"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 5 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Samples/TenPayV2/Senparc.Weixin.Sample.TenPayV2/Program.cs"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ec2d2f470961871551e9bd49bed8a80dbdc55b2979e1b7b285e02e93dfc40f1"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 5 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Samples/TenPayV3/Senparc.Weixin.Sample.TenPayV3/Program.cs"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"1511ae3f3ebdaa86264b30b8b9c916374ff8e51e65fa576afc2e991e05ff2ebe"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 5 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Samples/Work/Senparc.Weixin.Sample.Work/Controllers/WorkController.cs"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"06c4d5ee6184adc0659c9cc7dfe3f4843590240216ff24e4d74482b555839835"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 5 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Samples/Work/Senparc.Weixin.Sample.Work/Program.cs"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"857f54e4e5e05098361a13c469677cc86eb1e083faa3adb90f1c396961de8b68"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 5 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Samples/WxOpen/Senparc.Weixin.Sample.WxOpen/Program.cs"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"c40d7f221fa863c07fe08c8ad6fb0b30aefbd8919e6cb54287bd6d188d4eae1e"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 5 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.WebSocket/src/Senparc.WebSocket/Senparc.WebSocket/Routes/WebSocketRouteHandler.cs"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f7818aec1a4eda61862418474307f4793c946608baf5696795197aa73be8895"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 5 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.Cache/Senparc.Weixin.Cache.Dapr/ContainerCacheStrategy/DaprContainerCacheStrategy.cs"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"58bbdb6cb888811725d26da0748985cdd94cb993faa7423fb753ddf0a01512b6"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 5 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.Cache/Senparc.Weixin.Cache.Dapr/ContainerCacheStrategy/DaprContainerCacheStrategy.cs"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"f65d3aa1d7fbcf71a29b981a9884549793fc2fde30e7ad74a5b3255bf30ae470"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 5 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.MP.Middleware/MessageHandlers/Middleware/MpMessageHandlerMiddleware.cs"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"6711be60977181f464d5af4322889026438af7f9b22081f7cbc6e5c1f7ffd54b"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 5 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.MP/Senparc.Weixin.MP.Test/CommonAPIs/ApiHandlerWapperTest.cs"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cec99e93a6d239fa26435dec6ce35f65386f3254ff6df574a141b3b03bd2bd8"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 5 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.MP/Senparc.Weixin.MP.Test/CommonAPIs/ApiHandlerWapperTest.cs"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"28a63b44b429bcba274aed9a5465bca15804a6eaa60637539744661001c4f941"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 5 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.MP/Senparc.Weixin.MP.Test/Containers/AccessTokenContainerAsyncTest.cs"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2f2247c86965675401143f1192c5b73bbf7a34004a7b7f8142b8c5b0ae03604"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 5 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.MP/Senparc.Weixin.MP.Test/Containers/AccessTokenContainerTest.cs"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a70d4d91105226882050967be424629b6abb26792fdd4407d64e0df3caa4a8f"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 5 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.MP/Senparc.Weixin.MP.Test/MessageHandlers/MessageHandlersTest.cs"},"region":{"startLine":321}}}],"partialFingerprints":{"codehealthFindingId/v1":"a83a34206c5d0528298424964f8ef7c75d82559b1efc6f9f1080f0da18776cd3"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 5 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.MP/Senparc.Weixin.MP/AdvancedAPIs/Card/CardAPI.cs"},"region":{"startLine":4529}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb6f3c032c89ad1376cbd2d5174a91e61627c4fdde4015a94dd6277a6bd43380"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 5 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.Open/Senparc.Weixin.Open/CommonAPIs/CommonJsonSend.cs"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"1085f6af282f6f5853d4798691acac2fe13fd84f3cfee5f5a0ae4ea50974959f"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 5 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.Open/Senparc.Weixin.Open/OAuthAPIs/OAuthAPI.cs"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd2398518d5ee9faa2cea1975efc75ccc93707933c5aa6910831bd17b2e3e32a"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 5 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.Open/Senparc.Weixin.Open/OAuthAPIs/OAuthAPI.cs"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa7f10892785320f226c182e406d08ddacef95848a8b27db57bb4e90f625923a"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 5 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/TenpayV3.PayBank.cs"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"86effd1fdfb2768c9c39c517d91320e3029c450160341d050d80ffa844340c1b"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 5 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/TenpayV3.PayBank.cs"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c1fd2e16b014f13d4d78c596d9d93177527a2bff2b41e04ada94fbca03199b7"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 5 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/TenpayV3.PayBank.cs"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"00e82a2172899d34e28315eb6c18b012d0eda6115536be6012a80f66b4e8c780"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 5 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/TenpayV3.PayBank.cs"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff24ff059ee64bd8785d563088e691025cecc9401a0f3f54b55801000b24cc53"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 5 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/TenpayV3.PayBank.cs"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cf686694c465334d1d419fb8d6f681a847442e4f68d92b50b913ee49c969bef"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 5 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/TenpayV3.PayBank.cs"},"region":{"startLine":261}}}],"partialFingerprints":{"codehealthFindingId/v1":"f75016cb992fbf5b059fd9e599924190134a3f7755f6c7f8b761f928bc6358b2"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 5 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/Marketing/MarketingApis.Video.cs"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"81cfc86ca269caf93b37d06390295f80678c23bda6c75db24a53b3898096ea48"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 5 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Entities/TenpayDateTime.cs"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f24b74787e3c84cec75b7b24be4825650ed38dbd66c569e04aef99d9d3be678"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 5 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.Work.Middleware/MessageHandlers/Middleware/WorkMessageHandlerMiddleware.cs"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"3137ae401872b4a3bf7d29495a361e03a37c155009a13d5af892a3f4a2a4982e"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 5 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.Work/Senparc.Weixin.Work/AdvancedAPIs/ThirdPartyAuth/ThirdPartyAuthApi.cs"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c30645de43f8e8e1e24f707b6081cc4b988ebeed4c46c94937263a9354cfb90"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 5 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.Work/Senparc.Weixin.Work/AdvancedAPIs/ThirdPartyAuth/ThirdPartyAuthApi.cs"},"region":{"startLine":494}}}],"partialFingerprints":{"codehealthFindingId/v1":"e43e5ed06e6d3140fd15e7f42f611c96154a26694c6ebdbac069f6ca59c8e883"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 5 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.Work/Senparc.Weixin.Work/RequestMessageFactory.cs"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bb11d6c6a31488fbc331dbf0c154184ac65b62c4787c0761ea1b33c20bc5d3e"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 5 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.WxOpen.Middleware/MessageHandlers/Middleware/WxOpenMessageHandlerMiddleware.cs"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"903adb5b287659a3ecb750bd0259354b885084118c4dafceb38ed63a9325f98e"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 5 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.WxOpen/src/Senparc.Weixin.WxOpen.Tests/Helpers/EncryptHelperTests.cs"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"de4c9833c07c591381cdaf80d893259cb8bd1f0ecabe34f74c431c32cb60c3bc"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 5 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin/Senparc.Weixin/Cache.Local/ContainerCacheStrategy/LocalContainerCacheStrategy.cs"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"469f16c75ba2cdb139c23962e3dfc6d96696356b99c1b3ac86bd8fe5f7e0a070"}},{"ruleId":"D17","level":"note","message":{"text":"ObsoleteWithoutCallers: [Obsolete] RunTemplateTest"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Samples/All/Senparc.Weixin.Sample.CommonService/TemplateMessageService.cs"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"03e60d84b8150a72de8cf18c98ace1f8abc15413dbcbfc48a6edb29260509904"}},{"ruleId":"D17","level":"error","message":{"text":"WriteOnlyPrivateField: private Microsoft.AspNetCore.Hosting.IHostingEnvironment _env \u2014 assigned 1 time(s), read never \u2014 this field is written and never read anywhere its type can be reached from, so the state it keeps answers no question: every assignment to it computes a value that nothing observes, on every instance, for the lifetime of each one. It reads as a flag the code branches on, and nothing branches on it. Delete the field and its assignments \u2014 or, if the value was MEANT to be consulted, the missing read is the defect this row is pointing at, and the branch that should have depended on it is not there."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/CaseCollectionController.cs"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"4394323c094adce592a9a3ffc1c8fd646055f38ace21c9533c6dab6eabe7fec9"}},{"ruleId":"D17","level":"error","message":{"text":"WriteOnlyPrivateField: private ILogger\u003CHomeController\u003E _logger \u2014 assigned 1 time(s), read never \u2014 this field is written and never read anywhere its type can be reached from, so the state it keeps answers no question: every assignment to it computes a value that nothing observes, on every instance, for the lifetime of each one. It reads as a flag the code branches on, and nothing branches on it. Delete the field and its assignments \u2014 or, if the value was MEANT to be consulted, the missing read is the defect this row is pointing at, and the branch that should have depended on it is not there."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/HomeController.cs"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"43690fe4b4ba3d492a8ff3c9edcdaa861358bfed91b0c261359ab4d2eac50e7b"}},{"ruleId":"D17","level":"error","message":{"text":"WriteOnlyPrivateField: private ILogger\u003CHomeController\u003E _logger \u2014 assigned 1 time(s), read never \u2014 this field is written and never read anywhere its type can be reached from, so the state it keeps answers no question: every assignment to it computes a value that nothing observes, on every instance, for the lifetime of each one. It reads as a flag the code branches on, and nothing branches on it. Delete the field and its assignments \u2014 or, if the value was MEANT to be consulted, the missing read is the defect this row is pointing at, and the branch that should have depended on it is not there."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Samples/MP/Senparc.Weixin.Sample.MP.Simple/Controllers/HomeController.cs"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"1eee4e1bb00e02524699316ebd2fd3f4e9dacd7d61805e56a1e7b05ff80a3df2"}},{"ruleId":"D17","level":"error","message":{"text":"WriteOnlyPrivateField: private ILogger\u003CHomeController\u003E _logger \u2014 assigned 1 time(s), read never \u2014 this field is written and never read anywhere its type can be reached from, so the state it keeps answers no question: every assignment to it computes a value that nothing observes, on every instance, for the lifetime of each one. It reads as a flag the code branches on, and nothing branches on it. Delete the field and its assignments \u2014 or, if the value was MEANT to be consulted, the missing read is the defect this row is pointing at, and the branch that should have depended on it is not there."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Samples/MP/Senparc.Weixin.Sample.MP/Controllers/HomeController.cs"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"73abe70d12f6ffb4fe3879a9ef044a0a319292d598fde9b5b1d71060444fcb54"}},{"ruleId":"D17","level":"error","message":{"text":"WriteOnlyPrivateField: private ILogger\u003CHomeController\u003E _logger \u2014 assigned 1 time(s), read never \u2014 this field is written and never read anywhere its type can be reached from, so the state it keeps answers no question: every assignment to it computes a value that nothing observes, on every instance, for the lifetime of each one. It reads as a flag the code branches on, and nothing branches on it. Delete the field and its assignments \u2014 or, if the value was MEANT to be consulted, the missing read is the defect this row is pointing at, and the branch that should have depended on it is not there."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Samples/TenPayV2/Senparc.Weixin.Sample.TenPayV2/Controllers/HomeController.cs"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ab6597c49a2472f2e19bb9886d497b49fd2f4a1c09e06492212a024bb36c45d"}},{"ruleId":"D17","level":"error","message":{"text":"WriteOnlyPrivateField: private ILogger\u003CHomeController\u003E _logger \u2014 assigned 1 time(s), read never \u2014 this field is written and never read anywhere its type can be reached from, so the state it keeps answers no question: every assignment to it computes a value that nothing observes, on every instance, for the lifetime of each one. It reads as a flag the code branches on, and nothing branches on it. Delete the field and its assignments \u2014 or, if the value was MEANT to be consulted, the missing read is the defect this row is pointing at, and the branch that should have depended on it is not there."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Samples/TenPayV3/Senparc.Weixin.Sample.TenPayV3/Controllers/HomeController.cs"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"addd711d10393610aab1ce7ed2223d34af9e7e1b69416c5441b45e35ff97c63d"}},{"ruleId":"D17","level":"error","message":{"text":"WriteOnlyPrivateField: private ILogger\u003CHomeController\u003E _logger \u2014 assigned 1 time(s), read never \u2014 this field is written and never read anywhere its type can be reached from, so the state it keeps answers no question: every assignment to it computes a value that nothing observes, on every instance, for the lifetime of each one. It reads as a flag the code branches on, and nothing branches on it. Delete the field and its assignments \u2014 or, if the value was MEANT to be consulted, the missing read is the defect this row is pointing at, and the branch that should have depended on it is not there."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Samples/Work/Senparc.Weixin.Sample.Work/Controllers/HomeController.cs"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a2d62da93dd9e72ef4f9a9c9615e2d92e9a0b87c7ad16cec0a0067a30a7066d"}},{"ruleId":"D17","level":"error","message":{"text":"WriteOnlyPrivateField: private ILogger\u003CHomeController\u003E _logger \u2014 assigned 1 time(s), read never \u2014 this field is written and never read anywhere its type can be reached from, so the state it keeps answers no question: every assignment to it computes a value that nothing observes, on every instance, for the lifetime of each one. It reads as a flag the code branches on, and nothing branches on it. Delete the field and its assignments \u2014 or, if the value was MEANT to be consulted, the missing read is the defect this row is pointing at, and the branch that should have depended on it is not there."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Samples/WxOpen/Senparc.Weixin.Sample.WxOpen/Controllers/HomeController.cs"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"71d1d54957d5b5f9b9fc5858a07a5a7124dc47d291c7947c8b57eef94d58534d"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 10 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Tools/CacheController.cs"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"aca02fd1e00b1c40c72a07cca6c1881e0166a695299c27b1616d9424acc2dc4f"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 10 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/TenPay/TenPayV3Controller.cs"},"region":{"startLine":383}}}],"partialFingerprints":{"codehealthFindingId/v1":"bad207af0fb881ec2fdfb7c8f9fa8132fd1e351aca30876e849029e8ac22267a"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 10 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/TenPay/TenPayV3Controller.cs"},"region":{"startLine":661}}}],"partialFingerprints":{"codehealthFindingId/v1":"24649137861c7085044b1629a96e586a0735ab568b456b23849c7b50e0ad5f2d"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 10 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Samples/TenPayV2/Senparc.Weixin.Sample.TenPayV2/Controllers/TenPayV3Controller.cs"},"region":{"startLine":463}}}],"partialFingerprints":{"codehealthFindingId/v1":"8145ce9c0c2bf63a40a6f0874bfd30ff1481a75e282e5b75edbfacb65a6f2dee"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 10 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Samples/TenPayV2/Senparc.Weixin.Sample.TenPayV2/Controllers/TenPayV3Controller.cs"},"region":{"startLine":666}}}],"partialFingerprints":{"codehealthFindingId/v1":"2aaaf92fde6958b7d44a343e7d69820a70bd2764e95058ffc9b4b9807a56c55c"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 10 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.MP/Senparc.Weixin.MP/Register.cs"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"de1faca129e8a0a21f389c35756b0404896e62c33c2386b7a928d1116d68dd39"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 10 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.MP/Senparc.Weixin.MP/Register.cs"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"45ff43971864ca71b08dee505a96f3cf02af4a4463746be750c295c816d6cfae"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 10 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.MP/Senparc.Weixin.MP/Register.cs"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9bf114f7d00d53bbbd77d27dcd504838b1bbc8306452df5a171d691c6e10abd"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 10 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.MP/Senparc.Weixin.MP/Register.cs"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"197020dc45620238b4657313feb8879621f708039e34e092f33ea3f7d5fc0c0e"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 10 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.Open/Senparc.Weixin.Open/WxaAPIs/NewTmpl/NewTmplApi.cs"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"255e3f91e4246914c623ecc0766ae463d32968b7467307d7b1a11092b49d8e26"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO:\u5220\u9664\u4E34\u65F6\u6587\u4EF6 \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":"Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Tools/QrCodeController.cs"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e22a989f8dbc62b05a56555c90e9122c55f2c7e1861f70e9f34eba1d09a6e3d"}},{"ruleId":"D17","level":"error","message":{"text":"WriteOnlyPrivateField: private string appSecret \u2014 assigned 1 time(s), read never \u2014 this field is written and never read anywhere its type can be reached from, so the state it keeps answers no question: every assignment to it computes a value that nothing observes, on every instance, for the lifetime of each one. It reads as a flag the code branches on, and nothing branches on it. Delete the field and its assignments \u2014 or, if the value was MEANT to be consulted, the missing read is the defect this row is pointing at, and the branch that should have depended on it is not there."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/MP/AsyncMethodsController.cs"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"0755a630e309b41c4150825b432badb3559ba101265587ad06351e0a3460b983"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO:\u6839\u636E\u0022conditionalmenu\u0022\u5224\u65AD\u81EA\u5B9A\u4E49\u83DC\u5355 \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":"Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/MP/MenuController.cs"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"db133275d73b93937d0e3f3a00bedcc97e90879e2fdb08b15348f8c8f38c7160"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 14 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/MP/SubscribeMsgController.cs"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e9e930d69494ded05f4ccf1763ae69da90d7db926f06e2d77771a960e0be573"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 14 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.AspNet/WeixinRegister.cs"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"d756bb7512bc9c6b0f727c67721467a3855f4d0efb96a19a700a6a5281b653db"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO:\u4EA4\u7ED9Service\u5904\u7406\u5177\u4F53\u4FE1\u606F\uFF0C\u53C2\u8003/Service/EventSercice.cs \u53CA /Service/LocationSercice.cs \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":"Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/MP/WeixinController_OldPost.cs"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"969de186e410443c2356957ed3363be5fd9d42da85d56ae59835be68ab60fdfa"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO:\u4EA4\u7ED9Service\u5904\u7406\u5177\u4F53\u4FE1\u606F \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":"Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/MP/WeixinController_OldPost.cs"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc64c527ba2cce038995b25243df93787d59e28f8de384ce5b0f5e210cffdfb1"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO:\u4EA4\u7ED9Service\u5904\u7406\u5177\u4F53\u4FE1\u606F \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":"Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/MP/WeixinController_OldPost.cs"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ea82f6a4d25155a6e26046c2d603c11c8ed1e6ee096521fccc1a3f2e23ca38c"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 8 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/Open/OpenController.cs"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"5422c4a261399236838d645a602c401fd8c8d5050aca9f3214e2ee3ae54be793"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 8 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.MP/Senparc.Weixin.MP.Test/Helpers/EntityHelperTest.cs"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ddfafff702b66ff38e8fc14450203e13bd89d789c7c8b4e4449586afe87d358"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 8 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.MP/Senparc.Weixin.MP.Test/MessageHandlers/MessageHandlersTest.cs"},"region":{"startLine":336}}}],"partialFingerprints":{"codehealthFindingId/v1":"469e04608b9e48e74ab85813aab2de41ec2bda613efa3f92785c8155f0037221"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 8 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.MP/Senparc.Weixin.MP/CommonAPIs/ApiHandlerWapper.cs"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"56a373a90e3d93fe5d9efdfc05982733ab687d710fa541fde41a455f72ed0a8d"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 8 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.WxOpen/src/Senparc.Weixin.WxOpen/Senparc.Weixin.WxOpen/CommonAPIs/WxOpenApiHandlerWapper.cs"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"78e1e5915032f2f93e05947c95cd87b70b18f8e67c7b8edc31e6078271a4c22e"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 8 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin/Senparc.Weixin/CommonAPIs/ApiHandlerWapper/ApiHandlerWapperFactory.cs"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"3da180a816844bc0afb64250f6bf8c318438899a2649ebcad56db25e9351558f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: ////TODO:\u50A8\u5B58oauthResult.authorization_info \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":"Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/Open/OpenOAuthController.cs"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"4897d8f03df797bf7c0c8f849647a3fb1c9b13911beea5ce3b799877d57cddd3"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO:\u4F7F\u7528Container \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":"Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/Open/OpenOAuthController.cs"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d8df7804b42d6e0b9454fdb47cc1d7b6ed0b4c224c81fde9f9625dce3bca6e9"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO\uFF1A\u8FD9\u91CC\u53EF\u4EE5\u6821\u9A8C\u652F\u4ED8\u662F\u5426\u771F\u7684\u5DF2\u7ECF\u6210\u529F \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":"Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/TenPay/TenPayApiV3Controller.cs"},"region":{"startLine":489}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecd3a415cc3d1fb9471251249f911426dbb4d7aa8e183f7c403af566d496d512"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO\uFF1A\u8FD9\u91CC\u53EF\u4EE5\u6821\u9A8C\u652F\u4ED8\u662F\u5426\u771F\u7684\u5DF2\u7ECF\u6210\u529F \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":"Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/TenPay/TenPayV3Controller.cs"},"region":{"startLine":1149}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7341c88a6ddd5a2e5450acc0297d55600fb8f3f3f4e43f92afe0f69b782be27"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO\uFF1A\u8FD9\u91CC\u53EF\u4EE5\u6821\u9A8C\u652F\u4ED8\u662F\u5426\u771F\u7684\u5DF2\u7ECF\u6210\u529F \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":"Samples/TenPayV2/Senparc.Weixin.Sample.TenPayV2/Controllers/TenPayV3Controller.cs"},"region":{"startLine":1153}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1066098c2ee72331bf00cc991396811db819c80200d69d76ad18bc25e1a0478"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO\uFF1A\u8FD9\u91CC\u53EF\u4EE5\u6821\u9A8C\u652F\u4ED8\u662F\u5426\u771F\u7684\u5DF2\u7ECF\u6210\u529F \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":"Samples/TenPayV3/Senparc.Weixin.Sample.TenPayV3/Controllers/TenPayApiV3Controller.cs"},"region":{"startLine":460}}}],"partialFingerprints":{"codehealthFindingId/v1":"82de25c950cc053435d0db9b610e5b27b017e01c4c6e1dc225b8a59fffc30100"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO:\u8BE5\u63A5\u53E3\u53C2\u6570\u4E8C\u9009\u4E00\u4F20\u5165 \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":"Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/TenPay/TenPayApiV3Controller.cs"},"region":{"startLine":581}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae4af1ee1c32fb994f96274d1677a2488c84d30ec20a2344bf042b75d63678ed"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO:\u8BE5\u63A5\u53E3\u53C2\u6570\u4E8C\u9009\u4E00\u4F20\u5165 \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":"Samples/TenPayV3/Senparc.Weixin.Sample.TenPayV3/Controllers/TenPayApiV3Controller.cs"},"region":{"startLine":520}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e9e5f960812f650e64e5bbbd23872cfb45d1ed27438338289004e215c40d642"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO\uFF1A\u548CJSSDK\u4E00\u6837\u6574\u5408\u4FE1\u606F\u5305 \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":"Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/TenPay/TenPayController.cs"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b97478be338a088e529909107fae2fc0561d39f45d2645e412685999d3c0077"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO\uFF1A\u5B8C\u5584 \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":"Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/TenPay/TenPayV3Controller.cs"},"region":{"startLine":1182}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4e839745426483e0fe7d2caed23f5b549f531bafc95432a7dea397dc65e8402"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO\uFF1A\u9700\u8981\u5220\u9664\uFF1A \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":"Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/Work/WorkController.cs"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdc9c89fc8a02493d947d05d016d2daf01579a1f220cccaf15eb457688bbf3d4"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO\uFF1A\u5BB9\u9519 \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":"src/Senparc.WebSocket/src/Senparc.WebSocket/Senparc.WebSocket/SignalR/SenparcWebSocketHubBase.cs"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"6daee2ad64b026abdad00f9fc2cee68f04ea11e3827903b4b5ec84e840420f43"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO: \u6DFB\u52A0\u6BCF\u4E2A API \u6A21\u5757\u7684\u8BF4\u660E \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":"src/Senparc.Weixin.AspNet/MCP/WeChatMcpRouter.cs"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9f5c6e72c6cb7aa97fd66da4f4970c54857ba753343abf490cb198f47c7c8b0"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO: \u6DFB\u52A0\u6BCF\u4E2A API \u6A21\u5757\u7684\u8BF4\u660E \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":"src/Senparc.Weixin.AspNet/MCP/WeChatMcpRouter.cs"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"215ceb6348bf4717dadb6cb807199aa728b13b765c0bddd3c4e37a7c5be055df"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO:\u5224\u65AD\u7F51\u9875\u7248\u767B\u9646\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":"src/Senparc.Weixin.MP.MvcExtension/Senparc.Weixin.MP.MvcExtension/Filters/WeixinInternalRequestAttribute.cs"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"135217bb0311fb5365bb8156ff7e5831a6332cb561a6eadca9e203d9013da46e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO\uFF1A\u7EE7\u7EED\u64CD\u4F5CtagJsonResult \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":"src/Senparc.Weixin.MP/Senparc.Weixin.MP.Test/AdvancedAPIs/AsyncTest.cs"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"aea3cdb697e813a6770e2cd8d34dd708c1c0987bc53fdeadaca0bdd413d191d0"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //Thread.Sleep(500);//TODO\uFF1A\u5982\u679CSleep\uFF0C\u5219\u53EF\u4EE5\u5FEB\u901F\u5B8C\u6210\uFF08\u6CA1\u6709\u963B\u585E\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":"src/Senparc.Weixin.MP/Senparc.Weixin.MP.Test/AdvancedAPIs/AsyncTest.cs"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"e081d60b1f6ed2cdd5f4e1b8d6aae05afb65eb2e98e2d6d9ffd46e28a0245ac3"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 12 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.MP/Senparc.Weixin.MP.Test/AdvancedAPIs/Card/CardAPITest.cs"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"c56300ff5e5f74e646e8038d19610aaf3e92a123f6f9bed08ab85d9fd80841c1"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 12 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.MP/Senparc.Weixin.MP.Test/Helpers/EntityHelperTest.cs"},"region":{"startLine":262}}}],"partialFingerprints":{"codehealthFindingId/v1":"e57a1539224bc5dbfa9ab7bd81445707860031ddc85048459547fc589a133a97"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 12 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.MP/Senparc.Weixin.MP/CommonAPIs/Menu/CommonApi.Menu.Custom.cs"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bc9c968ef4829a8edee340b04d5e2e33fddf3ee5929f4d781cb4d7248ccd26c"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 12 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.Work/Senparc.Weixin.Work/CommonAPIs/CommonApi.Menu.cs"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"856617b3a274ab8c0b7c3c7730c34caa07c81826967bf03c360789749fd9ebf1"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 12 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin/Senparc.Weixin/Cache.Local/ContainerCacheStrategy/LocalContainerCacheStrategy.cs"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f59e94160423daa3763595f29b60078d197964ef7fe2c91cf22a622673dd807"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO:\u540E\u7EED\u95E8\u5E97\u7BA1\u7406\u63A5\u53E3\u6D4B\u8BD5 \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":"src/Senparc.Weixin.MP/Senparc.Weixin.MP.Test/AdvancedAPIs/Wxa/WxaTests.cs"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"6759f6b22ca034196998d1e4c5f60cd178f5af6e48717ef6c06ed6421fd3e5ce"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO:\u5206\u5E03\u5F0F\u5411\u4E0B\u6587\u5347\u7EA7\uFF0C\u90E8\u5206\u65B9\u6CD5\u9700\u8981\u4FEE\u6539\u540E\u91CD\u542F\u6D4B\u8BD5  \u2014\u2014 Jeffrey 2019.9.15 \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":"src/Senparc.Weixin.MP/Senparc.Weixin.MP.Test/MessageHandlers/MessageHandlersTest.cs"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"3eb68d67a85db2f75bb71c7106118798e5e8a9681af820865d4582f66d7ab288"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO\uFF1A\u6B64\u5904\u5E76\u6CA1\u6709\u5B8C\u5168\u6A21\u62DF\u6210\u529F Post\uFF0C\u81F4\u4F7F context.Request.GetRequestMemoryStream() \u65E0\u6CD5\u6B63\u786E\u83B7\u53D6\u5230\u6570\u636E \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":"src/Senparc.Weixin.MP/Senparc.Weixin.MP.Test/MessageHandlers/Middleware/MessageHandlerMiddlewareTests.cs"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b7020ae747695e83d12f4550ca20077b125e3ff2f7aa1a2501af03ca0df8231"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO\uFF1A\u6D4B\u8BD5\u8BED\u97F3\u548C\u89C6\u9891\u7C7B\u578B \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":"src/Senparc.Weixin.MP/Senparc.Weixin.MP.Test/ResponseMessageFactoryTest.cs"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"e262d4fd5b32d0df52e07fee08ea346dc47191f10014cfe41db33c35e3c1d8ce"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 7 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.MP/Senparc.Weixin.MP/AdvancedAPIs/Card/CardAPI.cs"},"region":{"startLine":4546}}}],"partialFingerprints":{"codehealthFindingId/v1":"c663a4223a9fb2b78b6b28afe999f00b1a3dd639f638b9a57a9542a82480e648"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 7 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.WxOpen/src/Senparc.Weixin.WxOpen/Senparc.Weixin.WxOpen/Helpers/EncryptHelper.cs"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"d24e688259c4ebc89465f93243e1b82b8b92b308c2043f6962e9cd40eecf518e"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 7 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin/Senparc.Weixin/Cache/ContainerCacheStrategyFactory.cs"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"27087f07e9c37d8dcd041e6ce7600fff57df47e9b05de4bf7f35f05174c99c71"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 18 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.MP/Senparc.Weixin.MP/AdvancedAPIs/QrCode/QrCodeApi.cs"},"region":{"startLine":310}}}],"partialFingerprints":{"codehealthFindingId/v1":"05a6419243a26d293fb13a60c2ba92e505ece9030d25b21994a60361360894c5"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 19 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.MP/Senparc.Weixin.MP/AdvancedAPIs/Scan/ScanApi.cs"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"22cc4a281b08451e1155eb4950385801b08a9b7123c7a7206c3ed2475ff725ea"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 19 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.MP/Senparc.Weixin.MP/AdvancedAPIs/Scan/ScanApi.cs"},"region":{"startLine":383}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6e2d8e07ee8fa7d19a29f2273989e140e34b44ef037d66d5d9aadb6e57d5d9f"}},{"ruleId":"D17","level":"warning","message":{"text":"ObsoleteWithCallers: [Obsolete] nickname"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.MP/Senparc.Weixin.MP/AdvancedAPIs/User/UserJson/UserInfoJson.cs"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a9e372064ed8bc9aad42befee98ce637128992023dd8f5ecce79ffa1fc2d22a"}},{"ruleId":"D17","level":"warning","message":{"text":"ObsoleteWithCallers: [Obsolete] sex"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.MP/Senparc.Weixin.MP/AdvancedAPIs/User/UserJson/UserInfoJson.cs"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0a590b1334fbf1393725f61a8ec32f79021d9892e44d1c0405ea35871ba119f"}},{"ruleId":"D17","level":"warning","message":{"text":"ObsoleteWithCallers: [Obsolete] city"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.MP/Senparc.Weixin.MP/AdvancedAPIs/User/UserJson/UserInfoJson.cs"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"662ebe6679554291c7f4de49e02066fcd8b38513ed7afab95f13ced73f7b588a"}},{"ruleId":"D17","level":"warning","message":{"text":"ObsoleteWithCallers: [Obsolete] province"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.MP/Senparc.Weixin.MP/AdvancedAPIs/User/UserJson/UserInfoJson.cs"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef9ecbc1f9f95e64e625741fdcb059a651fb2f498accd42d14604972c43e6a53"}},{"ruleId":"D17","level":"warning","message":{"text":"ObsoleteWithCallers: [Obsolete] country"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.MP/Senparc.Weixin.MP/AdvancedAPIs/User/UserJson/UserInfoJson.cs"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1f4d15c295d26e0f4faabe006587a8560b72ce55d7bb5b1135071c85f72e180"}},{"ruleId":"D17","level":"warning","message":{"text":"ObsoleteWithCallers: [Obsolete] headimgurl"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.MP/Senparc.Weixin.MP/AdvancedAPIs/User/UserJson/UserInfoJson.cs"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"362454cbb32670fccb57786db5d713c09bd325fa67a3e12ec227b93cbf20f26a"}},{"ruleId":"D17","level":"warning","message":{"text":"ObsoleteWithCallers: [Obsolete] Register"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.MP/Senparc.Weixin.MP/Containers/AccessTokenContainer.cs"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac38780aa5acfad9842d05212b50fffb41eedc98c6d1d6ecfbf93609e2bdf2dc"}},{"ruleId":"D17","level":"warning","message":{"text":"ObsoleteWithCallers: [Obsolete] Register"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.MP/Senparc.Weixin.MP/Containers/JsApiTicketContainer.cs"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"6939c8f29bfeccf1cce9ef609e728d8e2920f1208ceb98dc9231c478c3a8742a"}},{"ruleId":"D17","level":"warning","message":{"text":"ObsoleteWithCallers: [Obsolete] Register"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.MP/Senparc.Weixin.MP/Containers/OAuthAccessTokenContainer.cs"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"4aaa98073a18921f3f068dcac7b2770b804f6177bfde8901576dcc5a8ae533a7"}},{"ruleId":"D17","level":"warning","message":{"text":"ObsoleteWithCallers: [Obsolete] Register"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.MP/Senparc.Weixin.MP/Containers/WxCardApiTicketContainer.cs"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"36b51d9d25a31330cfae80398e78a2addf011c1937f3689c1e72662aea7ef29a"}},{"ruleId":"D17","level":"warning","message":{"text":"ObsoleteWithCallers: [Obsolete] Register"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.Open/Senparc.Weixin.Open/Containers/ComponentContainer.cs"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"41379481da3b482aaf77b2627ba22e05893de425ade8c671bf77016eb92c4ed2"}},{"ruleId":"D17","level":"warning","message":{"text":"ObsoleteWithCallers: [Obsolete] Register"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.Work/Senparc.Weixin.Work/Containers/AccessTokenContainer.cs"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"962e8c16056c29d5ace51fa869111164fc423ef0046e0a82cf2010a4ad3e323c"}},{"ruleId":"D17","level":"warning","message":{"text":"ObsoleteWithCallers: [Obsolete] Register"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.Work/Senparc.Weixin.Work/Containers/JsApiTicketContainer.cs"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"4814e847df25006920b54a1c838d176160e4b3ee6b0154412499b4d8eed9c30e"}},{"ruleId":"D17","level":"warning","message":{"text":"ObsoleteWithCallers: [Obsolete] Register"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.Work/Senparc.Weixin.Work/Containers/ProviderTokenContainer.cs"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"45f84b15b30380d0c30c6cc440a16f1b79821a594400f138955886fb804ec6e0"}},{"ruleId":"D17","level":"warning","message":{"text":"ObsoleteWithCallers: [Obsolete] Register"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.WxOpen/src/Senparc.Weixin.WxOpen/Senparc.Weixin.WxOpen/Containers/AccessTokenContainer.cs"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba1de932443831f485f18d2da5bd39420e35b7c7275e9cef0794deab75168d1d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO\uFF1A\u8FD9\u91CC\u5982\u679C\u6709\u66F4\u52A0\u590D\u6742\u7684\u60C5\u51B5\uFF0C\u53EF\u4EE5\u6362\u6210ButtonGroupBase\u7C7B\u578B\uFF0C\u5E76\u63D0\u4F9B\u6CDB\u578B \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":"src/Senparc.Weixin.MP/Senparc.Weixin.MP/Entities/JsonResult/Menu/GetMenuResult.cs"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed2e64cdf6dde6152ab2dc59de840f5c1d75be873350e4f1864f7255599f0015"}},{"ruleId":"D17","level":"warning","message":{"text":"ObsoleteWithCallers: [Obsolete] SingleMediaIdButton"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.MP/Senparc.Weixin.MP/Entities/Menu/Buttons/SingleMediaIdButton.cs"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5ba5ed169e7fa852351f09d8ec860ab42a9f024ab8c3b5e0c53ab9baa585661"}},{"ruleId":"D17","level":"warning","message":{"text":"ObsoleteWithCallers: [Obsolete] SingleViewLimitedButton"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.MP/Senparc.Weixin.MP/Entities/Menu/Buttons/SingleViewLimitedButton.cs"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0ad101f9fa031c0977d5fcdf42620bc624982c8a3cc0790dff96caec04fddcb"}},{"ruleId":"D17","level":"warning","message":{"text":"ObsoleteWithCallers: [Obsolete] RequestMessageEvent_WeAppAuditFail"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.MP/Senparc.Weixin.MP/Entities/Request/Event/WeApp/RequestMessageEvent_WeAppAuditFail.cs"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfcc0a1d1f5adcc115541607368cae13c16c226880395d6e56464fd9e03a5b75"}},{"ruleId":"D17","level":"warning","message":{"text":"ObsoleteWithCallers: [Obsolete] RequestMessageEvent_WeAppAuditSuccess"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.MP/Senparc.Weixin.MP/Entities/Request/Event/WeApp/RequestMessageEvent_WeAppAuditSuccess.cs"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"a13a0af48b90ec30d7eaa8d2779152e7feb2c06f1fea6180bb3167e0a0525807"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO:\u6B64\u5904\u7684accessToken\u5E94\u8BE5\u4E3AOAuth\u7684AccessToken \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":"src/Senparc.Weixin.MP/Senparc.Weixin.MP/Helpers/JSSDK/JSSDKHelper.cs"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"ace668f710cc7a2253f5d9f750cc739e60ed7853a5ac362a2928fdbbfa30387d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO:\u8FD9\u91CC\u5B98\u65B9\u7684\u65B9\u6CD5\u5DF2\u7ECF\u628AEncryptResponseMessage\u5BF9\u5E94\u7684XML\u8F93\u51FA\u51FA\u6765\u4E86 \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":"src/Senparc.Weixin.MP/Senparc.Weixin.MP/MessageHandlers/MessageHandler.cs"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"d28be6eb7539f88350a7fd75ec1bef0c1154f5e837a6e57a5ece70f48f0a3eb4"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO:\u8FD9\u91CC\u5B98\u65B9\u7684\u65B9\u6CD5\u5DF2\u7ECF\u628AEncryptResponseMessage\u5BF9\u5E94\u7684XML\u8F93\u51FA\u51FA\u6765\u4E86 \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":"src/Senparc.Weixin.Work/Senparc.Weixin.Work/MessageHandlers/WorkMessageHandler.cs"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"da6d8285a943c4c497cee7f680ddd4b787f43e1ccabb622978b032f2b99bd5d3"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO:\u8FD9\u91CC\u5B98\u65B9\u7684\u65B9\u6CD5\u5DF2\u7ECF\u628AEncryptResponseMessage\u5BF9\u5E94\u7684XML\u8F93\u51FA\u51FA\u6765\u4E86 \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":"src/Senparc.Weixin.WxOpen/src/Senparc.Weixin.WxOpen/Senparc.Weixin.WxOpen/MessageHandlers/WxOpenMessageHandler.cs"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"606a3ff75a39f88d783c231004a432626ad4f5f07f285614315bed226ee68a28"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO\uFF1A\u4F7F\u7528\u4E86\u517C\u5BB9\u6A21\u5F0F\uFF0C\u8FDB\u884C\u9A8C\u8BC1\u5373\u53EF \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":"src/Senparc.Weixin.MP/Senparc.Weixin.MP/MessageHandlers/MessageHandler.cs"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d97e03d8f71bcd101d986e113eeaaf39e57b9248547ff0bcf0d7b7ff1ce3f93"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO\uFF1A\u4F7F\u7528\u4E86\u517C\u5BB9\u6A21\u5F0F\uFF0C\u8FDB\u884C\u9A8C\u8BC1\u5373\u53EF \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":"src/Senparc.Weixin.WxOpen/src/Senparc.Weixin.WxOpen/Senparc.Weixin.WxOpen/MessageHandlers/WxOpenMessageHandler.cs"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c80e2e069f8d677fccc720630a57873d7af2e04fd1c36190a6e8da175542011"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO:\u4EE5\u4E0BXML\u4E0D\u6B63\u786E \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":"src/Senparc.Weixin.Open/Senparc.Weixin.Open.Test/ThirdPartyMessageHandlers/ThirdPartyMessageHandlerAsyncTest.cs"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a44d8670aef29d3e0d49340034d750750a5c1031eeda1c07c707cfcf0627b77"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO:\u4EE5\u4E0BXML\u4E0D\u6B63\u786E \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":"src/Senparc.Weixin.Open/Senparc.Weixin.Open.Test/ThirdPartyMessageHandlers/ThirdPartyMessageHandlerTest.cs"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"28afde47f1f8296e39844bf6ba91517b368f31aecd2e1133ec69a4a60dfba62c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO:\u5982\u679C\u662F\u8FC7\u671F\uFF0C\u53EF\u4EE5\u901A\u8FC7\u5237\u65B0\u7684\u65B9\u5F0F\u91CD\u65B0\u83B7\u53D6 \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":"src/Senparc.Weixin.Open/Senparc.Weixin.Open/Containers/AuthorizerContainer.cs"},"region":{"startLine":298}}}],"partialFingerprints":{"codehealthFindingId/v1":"c637347e9db79e8e4d3cb754f073d5177b522537c2eb31d8a31e0fc17de15bcd"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO:\u5982\u679C\u662F\u8FC7\u671F\uFF0C\u53EF\u4EE5\u901A\u8FC7\u5237\u65B0\u7684\u65B9\u5F0F\u91CD\u65B0\u83B7\u53D6 \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":"src/Senparc.Weixin.Open/Senparc.Weixin.Open/Containers/AuthorizerContainer.cs"},"region":{"startLine":631}}}],"partialFingerprints":{"codehealthFindingId/v1":"77a0f4055e37b3154ad4848c49840d8340e4ff451486d9fa6966e1659f0a5b12"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO\uFF1A\u8FD9\u91CC\u4E5F\u53EF\u4EE5\u8003\u8651\u5C1D\u8BD5\u8FDB\u884C\u6388\u6743\uFF08\u4F1A\u5F71\u54CD\u901F\u5EA6\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":"src/Senparc.Weixin.Open/Senparc.Weixin.Open/Containers/AuthorizerContainer.cs"},"region":{"startLine":523}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5d6cfd2bc4f116f52000a78a72fe02400f25f9eaaa936c4e61473f3d04bc69e"}},{"ruleId":"D17","level":"warning","message":{"text":"ObsoleteWithCallers: [Obsolete] TryRegister"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.Open/Senparc.Weixin.Open/Containers/AuthorizerContainer.cs"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"60518c79a2e901d0313de8c45021118dd14bd66f9b341748d60eede9fe594e77"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: ////TODO:\u8FD9\u91CC\u6709\u51FA\u73B0expires_in=0\u7684\u60C5\u51B5\uFF0C\u5BFC\u81F4\u59CB\u7EC8\u5904\u4E8E\u8FC7\u671F\u72B6\u6001\uFF08\u4E5F\u53EF\u80FD\u662F\u56E0\u4E3A\u53C2\u6570\u8FC7\u671F\u7B49\u539F\u56E0\u6CA1\u6709\u8FD4\u56DE\u6B63\u786E\u7684\u6570\u636E\uFF0C\u5F85\u89C2\u5BDF\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":"src/Senparc.Weixin.Open/Senparc.Weixin.Open/Containers/ComponentContainer.cs"},"region":{"startLine":421}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc0692e02f25846ccafbcff07ebc4d087c69b257c9fd3938798b8bac4f2230d7"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: ////TODO:\u8FD9\u91CC\u6709\u51FA\u73B0expires_in=0\u7684\u60C5\u51B5\uFF0C\u5BFC\u81F4\u59CB\u7EC8\u5904\u4E8E\u8FC7\u671F\u72B6\u6001\uFF08\u4E5F\u53EF\u80FD\u662F\u56E0\u4E3A\u53C2\u6570\u8FC7\u671F\u7B49\u539F\u56E0\u6CA1\u6709\u8FD4\u56DE\u6B63\u786E\u7684\u6570\u636E\uFF0C\u5F85\u89C2\u5BDF\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":"src/Senparc.Weixin.Open/Senparc.Weixin.Open/Containers/ComponentContainer.cs"},"region":{"startLine":707}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a3be7c46b72700b6ffaef7d754e2b16700fbd797a6c2017668c708af533eb08"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO:\u8BA1\u5212\u4E8E3.x\u4E2D\u53D1\u5E03 \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":"src/Senparc.Weixin.Open/Senparc.Weixin.Open/Containers/OAuthContainer.cs"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa56ad138e746a326096bfbfc2024c4bef7e18afcc94d3f9b86a96f0d26799bb"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO\uFF1A\u5DF2\u7ECF\u5FD8\u4E86\u4E3A\u4EC0\u4E48\u8981\u652F\u6301\u4E86:P - Jeffrey 2018.10.21 \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":"src/Senparc.Weixin.Open/Senparc.Weixin.Open/Containers/OAuthContainer.cs"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"0407c2518e6b81037c11108d31d8ff2351a9fed692d1aff790fb086a9e958203"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: /* Open \u7684\u4E0A\u4E0B\u6587\u6682\u65F6\u4E0D\u9700\u8981\u652F\u6301\uFF0C\u548C\u5E38\u89C4\u7684\u4E0D\u4E00\u81F4\u3002 TODO\uFF1A\u53EF\u4EE5\u8FDB\u884C\u878D\u5408    \u2014\u2014 Jeffrey 20190915 */ \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":"src/Senparc.Weixin.Open/Senparc.Weixin.Open/MessageContexts/DefaultOpenMessageContext.cs"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cae50f3ce2ae7c7d1e57e46d3f448e74229062ec30270bfd3c0bee1e6d8e88e"}},{"ruleId":"D17","level":"warning","message":{"text":"ObsoleteWithCallers: [Obsolete] Execute"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.Open/Senparc.Weixin.Open/MessageHandlers/ThirdPartyMessageHandler.cs"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"b87698f3c7ee0a29a02bbd965268466e3975cbffbd105ae843449a48d772fdb4"}},{"ruleId":"D17","level":"warning","message":{"text":"ObsoleteWithCallers: [Obsolete] OnExecuting"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.Open/Senparc.Weixin.Open/MessageHandlers/ThirdPartyMessageHandler.cs"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8d34cd37a41e584ea75170ae694b8b9f9d4b2c95de141052a5198f2435db5be"}},{"ruleId":"D17","level":"warning","message":{"text":"ObsoleteWithCallers: [Obsolete] OnExecuted"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.Open/Senparc.Weixin.Open/MessageHandlers/ThirdPartyMessageHandler.cs"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"56fc31cdbd9f5871a468599a48ca8424d3fbe2a765fa4fd40478af16d22bf0b6"}},{"ruleId":"D17","level":"error","message":{"text":"WriteOnlyPrivateField: private string CaFile \u2014 assigned 2 time(s), read never \u2014 this field is written and never read anywhere its type can be reached from, so the state it keeps answers no question: every assignment to it computes a value that nothing observes, on every instance, for the lifetime of each one. It reads as a flag the code branches on, and nothing branches on it. Delete the field and its assignments \u2014 or, if the value was MEANT to be consulted, the missing read is the defect this row is pointing at, and the branch that should have depended on it is not there."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V2/TenPayHttpClient.cs"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"18ca154e7843692056fef4b4b26a2d4d40f6e5580e3109d41ad614f8fb3df14e"}},{"ruleId":"D17","level":"error","message":{"text":"WriteOnlyPrivateField: private string Charset \u2014 assigned 1 time(s), read never \u2014 this field is written and never read anywhere its type can be reached from, so the state it keeps answers no question: every assignment to it computes a value that nothing observes, on every instance, for the lifetime of each one. It reads as a flag the code branches on, and nothing branches on it. Delete the field and its assignments \u2014 or, if the value was MEANT to be consulted, the missing read is the defect this row is pointing at, and the branch that should have depended on it is not there."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/ResponseHandler.cs"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"3038874332ce5cf143174ff400bea13c52bad72bbfff4289ea92aa454fd3c8ca"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: TODO\uFF1A\u5347\u7EA7\u4E3AContainer \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":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/TenPayV3InfoCollection.cs"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdd6e500a2d63a9eee6a2763f002eabfdf65dda5556c92395d0ea3c5f023e8ea"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: TODO\uFF1A\u5347\u7EA7\u4E3AContainer \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":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/TenPayV3InfoCollection.cs"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"77e50cc7a255b116f06acacff34ee9da76f1a003e51aaeafc8fcea91ba9b5036"}},{"ruleId":"D17","level":"warning","message":{"text":"BarePragmaDisable: #pragma warning disable IL2026 \u2014 the disable is closed again below, so its scope is not the problem; what it records is no reason: there is nothing on the directive line, and no ordinary comment attached to it either side. A suppression is a decision somebody made, and without the reason the next reader cannot tell a considered exception from an unexamined one, so it is never revisited and it outlives the code it was written for. Put the reason on the directive line \u2014 what makes this site legitimately different \u2014 or fix what the rule is pointing at and delete the pair. A rationale in the member\u0027s documentation comment does not clear this row and is not meant to: it explains the member to its callers, and the next person to touch the suppression is not reading it for that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/Entities/Request/TenPayJsonSerializer.cs"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"93f47b1669a14fc221dfc2984d2d061ea0c6a1c5597bba875089341a4a36d359"}},{"ruleId":"D17","level":"warning","message":{"text":"BarePragmaDisable: #pragma warning disable IL3050 \u2014 the disable is closed again below, so its scope is not the problem; what it records is no reason: there is nothing on the directive line, and no ordinary comment attached to it either side. A suppression is a decision somebody made, and without the reason the next reader cannot tell a considered exception from an unexamined one, so it is never revisited and it outlives the code it was written for. Put the reason on the directive line \u2014 what makes this site legitimately different \u2014 or fix what the rule is pointing at and delete the pair. A rationale in the member\u0027s documentation comment does not clear this row and is not meant to: it explains the member to its callers, and the next person to touch the suppression is not reading it for that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/Entities/Request/TenPayJsonSerializer.cs"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf1cbb93164276ba01192eb057518106ee5d6238f415722df9c19166518279af"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO:\u2605554393109 \u4FEE\u6539 \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":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/Entities/Request/TenPayV3MicroPayRequestData.cs"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"f85faae52fcd9915f52a45d8a683d5e9889689b7645aba71fd9314fa362b820b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO:\u6839\u636EGZIP\u53C2\u6570\u5224\u65AD\u662F\u5426\u538B\u7F29\uFF1Ahttps://github.com/JeffreySu/WeiXinMPSDK/issues/670"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/TenPayV3.cs"},"region":{"startLine":826}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5172bf81b93c7d10caf41fd4f8c7ad231d10982234e9a1c1080e396eb1bcfdd"}},{"ruleId":"D17","level":"warning","message":{"text":"ObsoleteWithCallers: [Obsolete] Unifiedorder"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/TenPayV3.cs"},"region":{"startLine":311}}}],"partialFingerprints":{"codehealthFindingId/v1":"336c627c349d2fe9a290365eea00a2b50a932b2af70a8c959b830d2b820101e4"}},{"ruleId":"D17","level":"warning","message":{"text":"ObsoleteWithCallers: [Obsolete] OrderQuery"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/TenPayV3.cs"},"region":{"startLine":413}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2d7139e5340d19d3d1a20834c629cfb887322932e26f9d35f39fe5e0e430a7b"}},{"ruleId":"D17","level":"warning","message":{"text":"ObsoleteWithCallers: [Obsolete] CloseOrder"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/TenPayV3.cs"},"region":{"startLine":448}}}],"partialFingerprints":{"codehealthFindingId/v1":"930249d6a1715f34f7b9c809ec315ad00db2c7690e135c5a15a2706596d6d812"}},{"ruleId":"D17","level":"warning","message":{"text":"ObsoleteWithCallers: [Obsolete] MicroPay"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/TenPayV3.cs"},"region":{"startLine":872}}}],"partialFingerprints":{"codehealthFindingId/v1":"a43332dad0d2de272cabc5885cac30e91b1e3eb279c526e448b316b3fa6630f1"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO\uFF1A\u5B98\u65B9\u6587\u6863\u6CA1\u6709\u660E\u786E\u6B64\u63A5\u53E3\u662F\u5426\u652F\u6301\u6C99\u7BB1 \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":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/TenpayV3.PayBank.cs"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"7aa5440c43a47818593eb9122cc4f139da2c86a06f7a25e39ab60d8e0a5c66b3"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO\uFF1A\u5B98\u65B9\u6587\u6863\u6CA1\u6709\u660E\u786E\u6B64\u63A5\u53E3\u662F\u5426\u652F\u6301\u6C99\u7BB1 \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":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/TenpayV3.PayBank.cs"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"02910c11a5a24ca21234ca5481af3dc01e49611883e1780646f9aed5682294bb"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO: JsApiRequestData\u4FEE\u6539\u6784\u9020\u51FD\u6570\u53C2\u6570\u987A\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":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3.Test/Apis/BasePay/BasePayApisTests.cs"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7a2b1b19c76b89be3240121ef28a05012c2e2963918d60c0c256e1d717ad9e8"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO: \u8FD9\u91CC\u5E94\u8BE5\u586B\u4E0A\u5DF2\u6709\u8BA2\u5355\u7684transaction_id \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":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3.Test/Apis/BasePay/BasePayApisTests.cs"},"region":{"startLine":336}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fb50b03e0a8440546c1226599fd40486fbc3dc9bbf62e7063c040df21b91415"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO: \u8FD9\u91CC\u5E94\u8BE5\u586B\u4E0A\u5DF2\u6709\u8BA2\u5355\u7684out_trade_no \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":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3.Test/Apis/BasePay/BasePayApisTests.cs"},"region":{"startLine":382}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb28e56e1832837fb07174c37d15601c7bcd8131a7b4f1fa7739b23b16c74489"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO: \u8FD9\u91CC\u5E94\u8BE5\u586B\u4E0A\u5DF2\u6709\u8BA2\u5355\u7684combine_out_trade_no \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":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3.Test/Apis/BasePay/BasePayApisTests.cs"},"region":{"startLine":401}}}],"partialFingerprints":{"codehealthFindingId/v1":"c19d35c0678ae89adb4d014d0385192f2fd94e370c99db6b7e5086b7d6f71369"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO: \u8FD9\u91CC\u5E94\u8BE5\u586B\u4E0A\u5DF2\u6709\u5408\u5355\u7684combine_out_trade_no \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":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3.Test/Apis/BasePay/BasePayApisTests.cs"},"region":{"startLine":420}}}],"partialFingerprints":{"codehealthFindingId/v1":"af523d20160246d4f786540a54161ab920dee90c4cef918c15df4c29bb36ce69"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO: \u5E94\u8BE5\u586B\u5165\u8BA2\u5355\u7684transaction_id \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":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3.Test/Apis/BasePay/BasePayApisTests.cs"},"region":{"startLine":456}}}],"partialFingerprints":{"codehealthFindingId/v1":"62af67db1b8009159b5da66399803255d7151343ad9aaae782e48e0a40a4c61d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO: out_refund_no \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":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3.Test/Apis/BasePay/BasePayApisTests.cs"},"region":{"startLine":457}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd648b8e2decb9c2f2b181a228640cac5174355b0a76182219901ff785dcbf8b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO: \u8FD9\u91CC\u5E94\u8BE5\u586B\u4E0A\u5DF2\u6709\u8BA2\u5355\u7684out_refund_no \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":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3.Test/Apis/BasePay/BasePayApisTests.cs"},"region":{"startLine":478}}}],"partialFingerprints":{"codehealthFindingId/v1":"86a88074d761577c8e90c4af4279d0bd1fb98fbe83910e1a120ef6b289547eb2"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO: \u6D4B\u8BD5\u524D\u8BF7\u53C2\u8003 https://pay.weixin.qq.com/wiki/doc/apiv3/open/pay/chapter6_2_2.shtml"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3.Test/Apis/BusinessCircle/BusinessCircleApisTests.cs"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"28c5a6cda9b797d6e6d997d9fee96546bb3faedc39d38e6c1834cabb4919e7f0"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO: \u6D4B\u8BD5\u524D\u8BF7\u53C2\u8003 https://pay.weixin.qq.com/wiki/doc/apiv3/open/pay/chapter6_2_2.shtml"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3.Test/Apis/Complaint/ComplaintApisTests.cs"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"17e8d46f01078d663206c52027558d428850276ca6bb9a0b658dcb3b18bf771d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: \u6B64\u5904\u552F\u4E00\u4F7F\u7528\u4E86DELETE\u52A8\u8BCD \u9700\u8981\u91CD\u70B9\u6D4B\u8BD5 \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":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3.Test/Apis/Complaint/ComplaintApisTests.cs"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b799ccd68d02124ed255cb83aa93ae4d3fdc40cf1da3a14d2b92f94f320b16e"}},{"ruleId":"D17","level":"error","message":{"text":"WriteOnlyPrivateField: private string openId \u2014 assigned 1 time(s), read never \u2014 this field is written and never read anywhere its type can be reached from, so the state it keeps answers no question: every assignment to it computes a value that nothing observes, on every instance, for the lifetime of each one. It reads as a flag the code branches on, and nothing branches on it. Delete the field and its assignments \u2014 or, if the value was MEANT to be consulted, the missing read is the defect this row is pointing at, and the branch that should have depended on it is not there."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3.Test/Apis/Complaint/ComplaintApisTests.cs"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c035c2c3c21fe5077cc9dfb46504cc4e68b964a822627362fa1e63410b5369d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO:\u6D41\u6C34\u53F7?\u8FD9\u6837\u662F\u5426\u6709\u6548? \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":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3.Test/Apis/Marketing/MarketingBusifavorApisTests.cs"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f89e7a9e154f4450e7fe91fd39d9372947a08efa101e19aa93148e92223034c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO:\u6D41\u6C34\u53F7?\u8FD9\u6837\u662F\u5426\u6709\u6548? \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":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3.Test/Apis/Marketing/MarketingBusifavorApisTests.cs"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"34496037e978abfced747ce2fb2b12b632933ecced177d6dc425ec669285e39f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO:\u6D41\u6C34\u53F7?\u8FD9\u6837\u662F\u5426\u6709\u6548? \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":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3.Test/Apis/Marketing/MarketingBusifavorApisTests.cs"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"a387b552569fb6dc008ded5cf232a0a698fbef55da1381a0db2b801748e7e060"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO:\u6D41\u6C34\u53F7?\u8FD9\u6837\u662F\u5426\u6709\u6548?"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3.Test/Apis/Marketing/MarketingBusifavorApisTests.cs"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a1f09f0b342872ee60ad2467aa3446fad5f7fb6898d24d5cc7d4517e74713db"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO:\u6D41\u6C34\u53F7?\u8FD9\u6837\u662F\u5426\u6709\u6548?"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3.Test/Apis/Marketing/MarketingBusifavorApisTests.cs"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"3eea89ed0e7dbbb2e983cd4d2af80590bdc1c023c7c775eaae06d89e6cffc48f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO:\u6D41\u6C34\u53F7?\u8FD9\u6837\u662F\u5426\u6709\u6548? \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":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3.Test/Apis/Marketing/MarketingBusifavorApisTests.cs"},"region":{"startLine":309}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee5bc3f7862fa5a9fe115af1a227cd637d23aca710cc60306e4fda995bbe3723"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO:\u6D41\u6C34\u53F7?\u8FD9\u6837\u662F\u5426\u6709\u6548? \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":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3.Test/Apis/Marketing/MarketingBusifavorApisTests.cs"},"region":{"startLine":338}}}],"partialFingerprints":{"codehealthFindingId/v1":"36af5f02d25511666588f03fe15bcbbf2ce41f818e4d665b969ac1f05ea1c108"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO:\u6D41\u6C34\u53F7?\u8FD9\u6837\u662F\u5426\u6709\u6548? \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":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3.Test/Apis/Marketing/MarketingBusifavorApisTests.cs"},"region":{"startLine":370}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe7f12da39874281cf804caf049e1d8f88bd4917ec8e3e3e32cfd847569530cb"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO:\u6D41\u6C34\u53F7?\u8FD9\u6837\u662F\u5426\u6709\u6548? \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":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3.Test/Apis/Marketing/MarketingBusifavorApisTests.cs"},"region":{"startLine":401}}}],"partialFingerprints":{"codehealthFindingId/v1":"1190ceb16f370eea770844f4ac1bcae74446dbb853c662bcd775ab686390de16"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO:\u6D41\u6C34\u53F7?\u8FD9\u6837\u662F\u5426\u6709\u6548? \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":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3.Test/Apis/Marketing/MarketingBusifavorApisTests.cs"},"region":{"startLine":435}}}],"partialFingerprints":{"codehealthFindingId/v1":"84309599d1e71beff4fedc78bcdb8a83377569f25124e20428a63b9f93e39856"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO:\u6D41\u6C34\u53F7?\u8FD9\u6837\u662F\u5426\u6709\u6548? \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":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3.Test/Apis/Marketing/MarketingCardApisTests.cs"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"486b6816d086e4eb0fe192b899729a3714ae75a069523b13a3e5c710a765f233"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO:\u6D41\u6C34\u53F7?\u8FD9\u6837\u662F\u5426\u6709\u6548? \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":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3.Test/Apis/Marketing/MarketingFavorApisTests.cs"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fa5714d9b66084d53904442f9b17097e960cbc73968c27c16d651bf6660f242"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO:\u6D41\u6C34\u53F7?\u8FD9\u6837\u662F\u5426\u6709\u6548? \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":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3.Test/Apis/Marketing/MarketingPaygiftApisTests.cs"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"917ad301d6d20fec531e649807d8929293d25d53fb30e0d56fd5b19e5f33852a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO:\u6D41\u6C34\u53F7?\u8FD9\u6837\u662F\u5426\u6709\u6548? \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":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3.Test/Apis/Marketing/MarketingPaygiftApisTests.cs"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"813a77d548a3f5d8027d96c29fb844d3510d2648762a6ea5a7d00a2bc7ebfd76"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO:\u6D41\u6C34\u53F7?\u8FD9\u6837\u662F\u5426\u6709\u6548? \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":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3.Test/Apis/Marketing/MarketingPaygiftApisTests.cs"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b2ed044d67054c846c1f892e6a6f6146a7e2ba21b86ca314a2df2a6f35d96ad"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO:\u6D41\u6C34\u53F7?\u8FD9\u6837\u662F\u5426\u6709\u6548? \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":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3.Test/Apis/Profitsharing/ProfitsharingApisTest.cs"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"517fe6b07e62cd1193415be6b95d6e6407a04f507d5e5f5c948d099d649c97d6"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO:\u6D41\u6C34\u53F7?\u8FD9\u6837\u662F\u5426\u6709\u6548? \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":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3.Test/Apis/Profitsharing/ProfitsharingApisTest.cs"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd7fccb68a36e22fd7f9325d3f205ab3c2f1c6c05d1451a731ae7a4663686ad7"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: \u53D1\u5238\u4F3C\u4E4E\u8FD8\u662FV2\u63A5\u53E3 \u6216\u8005 \u5FAE\u4FE1\u652F\u4ED8\u5E73\u53F0\u6D41\u91CF\u573A\u666F\u53D1\u653E https://pay.weixin.qq.com/wiki/doc/apiv3/open/pay/chapter5_2_1.shtml"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3.Test/Apis/Marketing/MarketingBusifavorApisTests.cs"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"028dc6b6ff81c72944d893c5e0a0c2b21659481411e2d00486e1ee117133ec4d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: \u53D1\u5238\u4F3C\u4E4E\u8FD8\u662FV2\u63A5\u53E3 \u6216\u8005 \u5FAE\u4FE1\u652F\u4ED8\u5E73\u53F0\u6D41\u91CF\u573A\u666F\u53D1\u653E https://pay.weixin.qq.com/wiki/doc/apiv3/open/pay/chapter5_2_1.shtml"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3.Test/Apis/Marketing/MarketingBusifavorApisTests.cs"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4c3a86dec565d79ce937c6053d3dce5ae99885f1e254a4481c04d20ba214480"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: \u53D1\u5238\u4F3C\u4E4E\u8FD8\u662FV2\u63A5\u53E3 \u6216\u8005 \u5FAE\u4FE1\u652F\u4ED8\u5E73\u53F0\u6D41\u91CF\u573A\u666F\u53D1\u653E https://pay.weixin.qq.com/wiki/doc/apiv3/open/pay/chapter5_2_1.shtml"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3.Test/Apis/Marketing/MarketingBusifavorApisTests.cs"},"region":{"startLine":245}}}],"partialFingerprints":{"codehealthFindingId/v1":"df8440d192abba629d6f938295e0664b06271f75429629049338d37ca881c23d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: \u53D1\u5238\u4F3C\u4E4E\u8FD8\u662FV2\u63A5\u53E3 \u6216\u8005 \u5FAE\u4FE1\u652F\u4ED8\u5E73\u53F0\u6D41\u91CF\u573A\u666F\u53D1\u653E https://pay.weixin.qq.com/wiki/doc/apiv3/open/pay/chapter5_2_1.shtml"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3.Test/Apis/Marketing/MarketingBusifavorApisTests.cs"},"region":{"startLine":277}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9fd631ac5dd4f890db3ce5dfed374605b75952fc774b060855ed8755076628c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: \u53D1\u5238\u4F3C\u4E4E\u8FD8\u662FV2\u63A5\u53E3 \u6216\u8005 \u5FAE\u4FE1\u652F\u4ED8\u5E73\u53F0\u6D41\u91CF\u573A\u666F\u53D1\u653E https://pay.weixin.qq.com/wiki/doc/apiv3/open/pay/chapter5_2_1.shtml"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3.Test/Apis/Marketing/MarketingBusifavorApisTests.cs"},"region":{"startLine":368}}}],"partialFingerprints":{"codehealthFindingId/v1":"67b3a95dbe1dfed227fe7aec66f632a2b453b9368ac23e33811c151ecda8fa5e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: \u53D1\u5238\u4F3C\u4E4E\u8FD8\u662FV2\u63A5\u53E3 \u6216\u8005 \u5FAE\u4FE1\u652F\u4ED8\u5E73\u53F0\u6D41\u91CF\u573A\u666F\u53D1\u653E https://pay.weixin.qq.com/wiki/doc/apiv3/open/pay/chapter5_2_1.shtml"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3.Test/Apis/Marketing/MarketingBusifavorApisTests.cs"},"region":{"startLine":399}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bc1efc82263b29fbd3491f589e00191103c6f2f0fa0c857db382396b3d9b389"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: \u53D1\u5238\u4F3C\u4E4E\u8FD8\u662FV2\u63A5\u53E3 \u6216\u8005 \u5FAE\u4FE1\u652F\u4ED8\u5E73\u53F0\u6D41\u91CF\u573A\u666F\u53D1\u653E https://pay.weixin.qq.com/wiki/doc/apiv3/open/pay/chapter5_2_1.shtml"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3.Test/Apis/Marketing/MarketingBusifavorApisTests.cs"},"region":{"startLine":430}}}],"partialFingerprints":{"codehealthFindingId/v1":"69e273e76227e5d4855580f982bfbe01a9bba7fa75d55eb311801a41f264ca4a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO: \u6B64\u5904\u9700\u8981\u5546\u5BB6\u5DF2\u6709\u81EA\u5DF1\u7684\u4F18\u60E0\u5238\u7CFB\u7EDF\u751F\u6210code_list \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":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3.Test/Apis/Marketing/MarketingBusifavorApisTests.cs"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"36bd98b8fd0a0a5138920cf83711e1bdf224f6183ef73ff7d66d75b75df0eb88"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO:\u8FD9\u4E2Aurl\u6211\u968F\u4FBF\u8BBE\u7F6E\u7684 \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":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3.Test/Apis/Marketing/MarketingBusifavorApisTests.cs"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b7eaa8876ada195c11d4fb54712deeb0e4c7b58b84656b22ca35eb13d985860"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO:  \u8FD9\u91CC\u5E94\u8BE5\u586B\u4E0A\u5DF2\u6709\u8BA2\u5355\u7684out_trade_no"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3.Test/Apis/Marketing/MarketingBusifavorApisTests.cs"},"region":{"startLine":248}}}],"partialFingerprints":{"codehealthFindingId/v1":"b740e4e7df78a44e88e1d795730d440012f1475298b73dc7ada0b2f542d0ea0d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO:  \u8FD9\u91CC\u5E94\u8BE5\u586B\u4E0A\u5DF2\u6709\u8BA2\u5355\u7684out_trade_no"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3.Test/Apis/Marketing/MarketingBusifavorApisTests.cs"},"region":{"startLine":280}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d158796ddb02871732d4a68d84b903436637591011e3c291a10cff65d76da1a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: \u586B\u5165\u73B0\u6709\u8BA2\u5355\u7684transaction_id \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":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3.Test/Apis/Marketing/MarketingBusifavorApisTests.cs"},"region":{"startLine":432}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb395d783c915be489fa6b05913b2228ad55bdf8cefefffb0cf78b3baacfb4a5"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: \u6536\u6B3E\u5546\u6237\u53F7 \u9700\u8981\u53E6\u4E00\u4E2A\u6536\u6B3E\u7684\u5546\u6237\u53F7 \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":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3.Test/Apis/Marketing/MarketingBusifavorApisTests.cs"},"region":{"startLine":434}}}],"partialFingerprints":{"codehealthFindingId/v1":"37bc359b63fb9a4ca47cf5b4bfbea84923c0691bd207cd800972ec52f6ac0b37"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO: \u6D88\u8D39\u5361ID\uFF0C\u5373card_id\u3002card_id\u83B7\u53D6\u65B9\u6CD5\u8BF7\u53C2\u89C1\u300A\u63A5\u5165\u524D\u51C6\u5907\u300B\u914D\u7F6E\u5E94\u7528\u4E2D\u7684\u521B\u5EFA\u6D88\u8D39\u5361\u3002https://pay.weixin.qq.com/wiki/doc/apiv3/open/pay/chapter5_6_2.shtml#part-6"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3.Test/Apis/Marketing/MarketingCardApisTests.cs"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f2afeb91fe4d43159a36c52ffc59ec275f80dae257f0efe9885642f8e4a1065"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: \u6B64\u5904\u4FE1\u606F\u9700\u8981\u5B8C\u5584 \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":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3.Test/Apis/Marketing/MarketingPartnershipsApisTests.cs"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"28e96a9058633532dfe3ce435101857adde4d96737f35ff8c48e7a0b156196c2"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO: \u6B64\u63A5\u53E3\u6D4B\u8BD5\u4F9D\u8D56\u5546\u6237\u5238\u63A5\u53E3\u548C\u56FE\u7247\u4E0A\u4F20\u63A5\u53E3 \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":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3.Test/Apis/Marketing/MarketingPaygiftApisTests.cs"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6f07c7df23dc96f8a3505faf78dce77ede9b25ff6ad0446239c09664a885d1e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO: \u6B64\u5904\u9700\u8981\u586B\u5165\u65B0\u589E\u52A0\u7684mchid \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":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3.Test/Apis/Marketing/MarketingPaygiftApisTests.cs"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"953eb6b01ed2caa26f72f5564bd3341dea41556a8ae4d592fdeca1e1eba779b8"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO: \u6B64\u5904\u9700\u8981\u586B\u5165\u8981\u5220\u9664\u7684mchid \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":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3.Test/Apis/Marketing/MarketingPaygiftApisTests.cs"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"91e412648ddd01004264acd8a3a5c2befe68378ace73a9b739ca1bce2576ae77"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: \u6D4B\u8BD5\u524D\u8BF7\u9605\u8BFB"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3.Test/Apis/PayScore/PayScoreApisTests.cs"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"4448f203cce9346e2192c95dac46a0c3c89c34e150bc7232bac8c88a7c864910"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO:\u670D\u52A1id\u83B7\u53D6 \u8BF7\u9605\u8BFB https://pay.weixin.qq.com/wiki/doc/apiv3/open/pay/chapter3_1_1.shtml"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3.Test/Apis/PayScore/PayScoreApisTests.cs"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"9004307413ec66d0013527f748a7128b504fa50c4852df834c2917aa9f6762c1"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO:\u670D\u52A1id\u83B7\u53D6 \u8BF7\u9605\u8BFB https://pay.weixin.qq.com/wiki/doc/apiv3/open/pay/chapter3_1_1.shtml"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3.Test/Apis/PayScore/PayScoreApisTests.cs"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"f50a74264e924126461815c5002bc70bad31f11f4177eba9360b243c41e24539"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO:\u670D\u52A1id\u83B7\u53D6 \u8BF7\u9605\u8BFB https://pay.weixin.qq.com/wiki/doc/apiv3/open/pay/chapter3_1_1.shtml"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3.Test/Apis/PayScore/PayScoreApisTests.cs"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc65d41828c51658f8d2171331491af85f938f1e2822a4fe1f815e054ad93337"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO:\u670D\u52A1id\u83B7\u53D6 \u8BF7\u9605\u8BFB https://pay.weixin.qq.com/wiki/doc/apiv3/open/pay/chapter3_1_1.shtml"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3.Test/Apis/PayScore/PayScoreApisTests.cs"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5770c148b622508c3061e82377d8c47556d945a134d40bb44ac74842197b4af"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO:\u670D\u52A1id\u83B7\u53D6 \u8BF7\u9605\u8BFB https://pay.weixin.qq.com/wiki/doc/apiv3/open/pay/chapter3_1_1.shtml"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3.Test/Apis/PayScore/PayScoreApisTests.cs"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d3fdd67ca5aa5ee3c4bf4e0c162c1d2891277562d98d6eeb5d543106a50aaff"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO:\u670D\u52A1id\u83B7\u53D6 \u8BF7\u9605\u8BFB https://pay.weixin.qq.com/wiki/doc/apiv3/open/pay/chapter3_1_1.shtml"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3.Test/Apis/PayScore/PayScoreApisTests.cs"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7471fcb70e3c75972e2b1c8095e790fc6e692c5a7e548210adb64bd0d55e551"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO:\u670D\u52A1id\u83B7\u53D6 \u8BF7\u9605\u8BFB https://pay.weixin.qq.com/wiki/doc/apiv3/open/pay/chapter3_1_1.shtml"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3.Test/Apis/PayScore/PayScoreApisTests.cs"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6a96177bcb852f7c90f57f5a503d97d93392b498c4192268feba4eb85725403"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO:\u8F93\u5165\u5DF2\u7ECF\u6388\u6743\u7684authorization_code \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":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3.Test/Apis/PayScore/PayScoreApisTests.cs"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"04d33a4f5c0fb2ae7077a1df576891dd4338986e963836e3498710152b5a3580"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO:\u8F93\u5165\u5DF2\u7ECF\u6388\u6743\u7684authorization_code \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":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3.Test/Apis/PayScore/PayScoreApisTests.cs"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5a60a33425774744e75d4bf02722add09698e253a5db76350b05ececa144492"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO: \u6D4B\u8BD5\u524D\u53C2\u8003 https://pay.weixin.qq.com/index.php/public/product/detail?pid=109"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3.Test/Apis/PayScore/PayScoreApisTests.cs"},"region":{"startLine":433}}}],"partialFingerprints":{"codehealthFindingId/v1":"444ded8ddf9fc3dad5080535db00c524a3e36976d70e8ad516a0941c36d70b38"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO: \u5B8C\u5584\u4FE1\u606F \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":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3.Test/Apis/PayScore/PayScoreApisTests.cs"},"region":{"startLine":441}}}],"partialFingerprints":{"codehealthFindingId/v1":"61e1de3cf3de23d616e2755fbea337a2c26553945ebaeb47762ea1a0957b611e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO:\u6B64\u5904\u8F93\u5165\u5F85\u5206\u8D26\u7684\u8BA2\u5355\u53F7 \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":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3.Test/Apis/Profitsharing/ProfitsharingApisTest.cs"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"723327c800da34e32999383b29c2c659a6a7021f05343c39e1f7da41064d0be7"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO: \u63A5\u6536\u65B9receivers_merchant_id \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":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3.Test/Apis/Profitsharing/ProfitsharingApisTest.cs"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"192d100e75a6b3423f7f58cbf73fd5b95a3d79cc4c026f1244ace06a7363d7d9"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: \u6B64\u5904\u586B\u5165\u63A5\u53D7\u5546\u6237\u7684\u540D\u79F0 \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":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3.Test/Apis/Profitsharing/ProfitsharingApisTest.cs"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9ded6eee80f76f795b60de37a7e165aa867dbaef3d1bd18fb48af47caae78e2"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO: \u6B64\u5904\u586B\u5165\u5206\u8D26\u63A5\u53D7\u4E2A\u4EBA\u7684openid \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":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3.Test/Apis/Profitsharing/ProfitsharingApisTest.cs"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"65fc87958270dcd510cb52ee4d7365e38ec48432cefc8cc71dc9e4135f9c2ce1"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO: \u6B64\u5904\u586B\u5165\u5206\u8D26\u63A5\u53D7\u4E2A\u4EBA\u7684openid \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":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3.Test/Apis/Profitsharing/ProfitsharingApisTest.cs"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd6a2da7080cce31235da692499561a1af3196ffe6de7e1c63087601daa48645"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO:\u9700\u586B\u5165\u6570\u636E \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":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3.Test/Apis/VehicleParking/VehicleParkingApisTest.cs"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0ba9d1d061a46117e048df51ce0a3d21a48cf6bdf382a645f80efcabcc28397"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO\uFF1A\u6D4B\u8BD5 Verify() \u65B9\u6CD5 \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":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3.Test/TenPayHttpClient/TenPayCertFactoryTests.cs"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"397c610af5f489f9c265db42a212287c969593f09a7470ebc377dc6350243bb1"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO\uFF1A\u6D4B\u8BD5 Verify() \u65B9\u6CD5 \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":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3.Test/TenPayHttpClient/TenPayCertFactoryTests.cs"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7d59909c8ea4b82a229d7e5709a5009bcac3f6df7ceb3f0482ad8f14410e726"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //var tenpayV3Setting = Senparc.Weixin.Config.SenparcWeixinSetting.TenpayV3Setting;//TODO:\u6539\u6210\u4ECE\u6784\u9020\u51FD\u6570\u914D\u7F6E \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":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/BasePay/BasePayApis.cs"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"97ad79d439b2d15cdbb5aa8dbdfd261cc8dd5fb2ff7eb3a8a07d47a42f4f732f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: \u5F85\u6D4B\u8BD5 \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":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/BasePay/BasePayApis.cs"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"38b4dbcb08dafff4c46da40c863475e5914ed03a906479fd9ee59aa65f98647a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: \u5F85\u6D4B\u8BD5 \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":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/BasePay/BasePayApis.cs"},"region":{"startLine":272}}}],"partialFingerprints":{"codehealthFindingId/v1":"d45eb8efbeb17d1c9e5acf11a6d3ca597468c07cd89e406258c0154eb296acca"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: \u5F85\u6D4B\u8BD5 \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":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/BasePay/BasePayApis.cs"},"region":{"startLine":317}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c192cc762f066cff6ed3529ab9881766accb464a640112a0fd220e4b080df8e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: \u5F85\u6D4B\u8BD5 \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":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/BasePay/BasePayApis.cs"},"region":{"startLine":340}}}],"partialFingerprints":{"codehealthFindingId/v1":"a490a51d6a8163dc48e0dce1ac8f8908e06e33f4791a539ad40241d8523417fb"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: \u5F85\u6D4B\u8BD5 \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":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/BasePay/BasePayApis.cs"},"region":{"startLine":363}}}],"partialFingerprints":{"codehealthFindingId/v1":"d09f8d4661e0fe038f83c5f615712cb1c4dfd5188f9865aa7b081b629dfb4d67"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: \u5F85\u6D4B\u8BD5 \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":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/BasePay/BasePayApis.cs"},"region":{"startLine":389}}}],"partialFingerprints":{"codehealthFindingId/v1":"efb5a839b957277148765868a3feb801192d92f7316549d072d70b5971a2f6af"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: \u5F85\u6D4B\u8BD5 \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":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/BasePay/BasePayApis.cs"},"region":{"startLine":413}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6b44ab4f7127eef4b71e941ea8a32be82649e78de779034a25b9111a632fd7f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: \u5F85\u6D4B\u8BD5 \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":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/BasePay/BasePayApis.cs"},"region":{"startLine":438}}}],"partialFingerprints":{"codehealthFindingId/v1":"71d709a71aea10c105ddeded3f0d5c9f35399e15dc737af6810e6796200b7fc7"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: \u5F85\u6D4B\u8BD5 \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":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/BasePay/BasePayApis.cs"},"region":{"startLine":460}}}],"partialFingerprints":{"codehealthFindingId/v1":"d124852a76f0f363a3d97dc3134e345707bde776e81c11fd75314cb3a0778e78"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: \u5F85\u6D4B\u8BD5 \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":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/BasePay/BasePayApis.cs"},"region":{"startLine":483}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fcc8ba2500c37fded5d7b6912d4d8163efdece5a9688e92086b5bff08b485c3"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: \u5F85\u6D4B\u8BD5 \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":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/BasePay/BasePayApis.cs"},"region":{"startLine":505}}}],"partialFingerprints":{"codehealthFindingId/v1":"bad07ec358b09f26b312eeba4165e3da7a19ae77e74e79b08922b12e43a1fbe8"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: \u5F85\u6D4B\u8BD5 \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":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/BasePay/BasePayApis.cs"},"region":{"startLine":533}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8ae733b29d28f52cf4af807600a198dd924419c3b7eb387d1e9b309789947fb"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: \u5F85\u6D4B\u8BD5 \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":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/BasePay/BasePayApis.cs"},"region":{"startLine":555}}}],"partialFingerprints":{"codehealthFindingId/v1":"850fcccfaba10cbe800168724b22cb7f6605190b3680875bbdceb51a66bfda2e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: \u5F85\u6D4B\u8BD5 \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":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/BasePay/BasePayApis.cs"},"region":{"startLine":581}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9b56d42c130902f2f845349613628e7c63635960232e9a78433aea00ad0c758"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: \u5F85\u6D4B\u8BD5 \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":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/BasePay/BasePayApis.cs"},"region":{"startLine":604}}}],"partialFingerprints":{"codehealthFindingId/v1":"4edb1e142d818a4e1f15ed0a98fee74452587cee6b05c21e77ef99c4c4175169"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: \u5F85\u6D4B\u8BD5 \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":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/BasePay/BasePayApis.cs"},"region":{"startLine":627}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc1e70d10b1ab61ad98662fb359016b81bcc838aacc9aed5629fe075234f9dd8"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: \u5F85\u6D4B\u8BD5 \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":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/BasePay/BasePayApis.cs"},"region":{"startLine":649}}}],"partialFingerprints":{"codehealthFindingId/v1":"706548c0cc64cbca0e18520c3c32e6f3eba1e22c4c8990d2a5a2e8cb681487e0"}},{"ruleId":"D17","level":"warning","message":{"text":"ObsoleteWithCallers: [Obsolete] OrderQueryByTransactionIdAsync"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/BasePay/BasePayApis.cs"},"region":{"startLine":397}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ab8c0886f8400a8309f9999d188b1e0cb0ff7f8b7b656ecdd2baa55c1242c6a"}},{"ruleId":"D17","level":"warning","message":{"text":"ObsoleteWithCallers: [Obsolete] OrderQueryByOutTradeNoAsync"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/BasePay/BasePayApis.cs"},"region":{"startLine":422}}}],"partialFingerprints":{"codehealthFindingId/v1":"fab7de872a8e67e8f0b009644eb5869e6720942a03c8e565808f1cc16c6d338a"}},{"ruleId":"D17","level":"warning","message":{"text":"ObsoleteWithCallers: [Obsolete] CloseOrderAsync"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/BasePay/BasePayApis.cs"},"region":{"startLine":513}}}],"partialFingerprints":{"codehealthFindingId/v1":"07a89ed78eb9972de564f5c0bdfd10c275f4ad98e4d8e5097abb9bf8ee264f36"}},{"ruleId":"D17","level":"warning","message":{"text":"ObsoleteWithCallers: [Obsolete] RefundQueryAsync"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/BasePay/BasePayApis.cs"},"region":{"startLine":611}}}],"partialFingerprints":{"codehealthFindingId/v1":"dae95d0643a027f91f104b97f2b9cc71b12ae1ba7993efcb137e600e3dfe9da9"}},{"ruleId":"D17","level":"warning","message":{"text":"ObsoleteWithCallers: [Obsolete] TradeBillQueryAsync"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/BasePay/BasePayApis.cs"},"region":{"startLine":683}}}],"partialFingerprints":{"codehealthFindingId/v1":"f39f6b961abceba8e482fbd225d90d2aba94955986e848a5d0dd9d9b63c66895"}},{"ruleId":"D17","level":"warning","message":{"text":"ObsoleteWithCallers: [Obsolete] FundflowBillQueryAsync"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/BasePay/BasePayApis.cs"},"region":{"startLine":726}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c362877e8163fab110d6e67aad6564b6fa31038aee9f8e032a011f6fb3d62de"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO: \u56FE\u7247\u4E0A\u4F20\u63A5\u53E3 \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":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/Complaint/ComplaintApis.cs"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"64a6ee3aa4890de53bdba5350b432f389712879c10efd31b9775eb1c07217f7a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: \u6B64\u5904\u5E8F\u5217\u5316Json\u9700\u6D4B\u8BD5\u65F6\u5019\u53EF\u4EE5\u6362\u884C\u95EE\u9898 \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":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/Marketing/MarketingApis.Partnerships.cs"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8f2d2c82174cd13bb4deb2743135728a6acfb100d4b9f1209a3c21b7703210b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: \u6B64\u5904\u5E94\u8BE5\u6CE8\u610F\u68C0\u67E5post\u65B9\u6CD5body\u4E3Anull\u65F6\u5019\u6709\u95EE\u9898 \u6587\u6863\u786E\u5B9Ebody\u6CA1\u6709\u4F20\u4EFB\u4F55\u6570\u636E \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":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/Marketing/MarketingApis.Paygift.cs"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"f587e219ef99959bd9a6b853940e93cfad2a7e56835934033aa4fcfa5f5c9abe"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: \u91CD\u590D\u4F7F\u7528 \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":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/PayScore/PayScoreApis.cs"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"38ebf86b471fb1e6348ee5b78731cba2ba68a7b0555c6c485f3976bb446c01f7"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: \u91CD\u590D\u4F7F\u7528 \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":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/Profitsharing/ProfitsharingApis.cs"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"21aa96308a3ee050e5c38e06f03503035f2dee4ca1825df375a06dd477632152"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: \u91CD\u590D\u4F7F\u7528 \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":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/VehicleParking/VehicleParkingApis.cs"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4434ab72f68c3e6c4e3bde10f5f88d881437912adb7dbef911ad2e68f4d49a9"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO: \u65B9\u6CD5\u547D\u540D\u662F\u5426\u5408\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":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/PayScore/PayScoreApis.cs"},"region":{"startLine":283}}}],"partialFingerprints":{"codehealthFindingId/v1":"16fa7ee3923093917069f4e3460006760dccc96590012047ec0a2adad0b16fd7"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO: \u654F\u611F\u4FE1\u606F\u52A0\u5BC6\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":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/PayScore/PayScoreApis.cs"},"region":{"startLine":365}}}],"partialFingerprints":{"codehealthFindingId/v1":"9dc10334a3b5ea81fb5342977af6ddc32a1b3e2f915fc6be9d647f9fb2880be5"}},{"ruleId":"D17","level":"warning","message":{"text":"ObsoleteWithCallers: [Obsolete] QueryProfitsharingAsync"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/Profitsharing/ProfitsharingApis.cs"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2bc425a969bed87e07b452b33f24f9ff0794847eae47c435428c68b67470044"}},{"ruleId":"D17","level":"warning","message":{"text":"ObsoleteWithCallers: [Obsolete] QueryReturnProfitsharingAsync"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/Profitsharing/ProfitsharingApis.cs"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b68ee89a311f89531ce7ac4f6b9015c1c90edee14a3fb83126e729bd7cd1eae"}},{"ruleId":"D17","level":"warning","message":{"text":"ObsoleteWithCallers: [Obsolete] QueryProfitsharingAmountsAsync"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/Profitsharing/ProfitsharingApis.cs"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"16b5aa2c29eb34f89569f441a107674da2e7001deb8e73b0d2d416483a6d7e21"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO: \u65B9\u6CD5\u540D\u662F\u5426\u6070\u5F53? \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":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/VehicleParking/VehicleParkingApis.cs"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"cacd115a5401fa7aae13e03c19aba644fd95bd31103fefc3588eaf727dbeaaa3"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO:\u65B0\u52A0\u5165\u65B9\u6CD5 \u5F85\u6D4B\u8BD5\u53EF\u9760\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":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Helpers/TenPayDateTimeHelper.cs"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"781870f9809675d0cbcfdf51a5b0ef7556a55fbfd220eede1707aa0fa67aa120"}},{"ruleId":"D17","level":"warning","message":{"text":"ObsoleteWithCallers: [Obsolete] GetJsApiUiPackage"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Helpers/TenPaySignHelper.cs"},"region":{"startLine":300}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2548b001576d8c11a16f53f55b4e4cf419af72098eb4a16040e50edb887be75"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO:\u5982\u679C\u4E0D\u6B63\u786E\u4E5F\u8981\u8FD4\u56DE\u8BE6\u60C5 \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":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/HttpHandlers/TenPayApiRequest.cs"},"region":{"startLine":706}}}],"partialFingerprints":{"codehealthFindingId/v1":"19efceb8baf5cc2902c6c4b6d3da3699e639674a1b697e0092a0b88cf6f93be5"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO:\u5982\u679C\u4E0D\u6B63\u786E\u4E5F\u8981\u8FD4\u56DE\u8BE6\u60C5 \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":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/TenPayHttpClient/TenPayHttpClient.cs"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"491e5db417af70b4df969abc7fc2ee306c6cd629fa5c32a4eb1c2922cf8fe384"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO: \u6B64\u5904\u91CD\u6784\u4F7F\u7528ISenparcWeixinSettingForTenpayV3\u521D\u59CB\u5316\u5B9E\u4F8B \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":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/HttpHandlers/TenPayHttpHandler.cs"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"f740e0760edf3e78086698339e23deb34af13b3169cc17ceea6f8b5288285b2b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO:\u6B64\u5904\u91CD\u6784\u4F7F\u7528ISenparcWeixinSettingForTenpayV3 \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":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/HttpHandlers/TenPayHttpHandler.cs"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b7efb1e0c444ed673c291d80b6702c98c617af5d89357de3460cd19df0580c9"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: \u672C\u65B9\u6CD5\u6301\u7EED\u6D4B\u8BD5 \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":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/HttpHandlers/TenPayNotifyHandler.cs"},"region":{"startLine":248}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bab9adb14f4d4748db54b585890690c4db02a01daddd1615f21534ddd000979"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: \u672C\u65B9\u6CD5\u6301\u7EED\u6D4B\u8BD5 \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":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/HttpHandlers/TenPayNotifyHandler.cs"},"region":{"startLine":294}}}],"partialFingerprints":{"codehealthFindingId/v1":"5041a16680a89d3c6334b6910ac8338fce44057bc43fc5bca18d11aa5eed5ede"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: \u672C\u65B9\u6CD5\u6301\u7EED\u6D4B\u8BD5 \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":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/HttpHandlers/TenPayNotifyHandler.cs"},"region":{"startLine":325}}}],"partialFingerprints":{"codehealthFindingId/v1":"b481b733807ebd140ee191922df984f9d68d0fb1446591c9e3734e73588e04fe"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO:\u9700\u8981\u5BF9SetAppPostData\u4E2D\u7684null\u503C\u8FC7\u6EE4 \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":"src/Senparc.Weixin.Work/Senparc.Weixin.Work/AdvancedAPIs/App/AppApi.cs"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e698a71971001e4855c9e43803479168b5d643f530d6d6ff5053720d6c11de2"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //todo \u5F02\u5E38\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":"src/Senparc.Weixin.Work/Senparc.Weixin.Work/AdvancedAPIs/Media/MediaApi.cs"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"11da907137ea22941e009cadde8d632cbb1bb0c5a74b1bef22924c80ccd76017"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //todo \u5F02\u5E38\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":"src/Senparc.Weixin.Work/Senparc.Weixin.Work/AdvancedAPIs/Media/MediaApi.cs"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"918f53b922830cb923761c8ea121598306f835ebccc3f154927693e46bb8f9a6"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //todo \u5F02\u5E38\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":"src/Senparc.Weixin.Work/Senparc.Weixin.Work/AdvancedAPIs/Media/MediaApi.cs"},"region":{"startLine":394}}}],"partialFingerprints":{"codehealthFindingId/v1":"08bb1144404f730c9a18eafa532b823387a6c7a1b510f69a266dc4721b6d3d9d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //todo \u5F02\u5E38\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":"src/Senparc.Weixin.Work/Senparc.Weixin.Work/AdvancedAPIs/Media/MediaApi.cs"},"region":{"startLine":485}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f8de8af31bda56fc83ee3525d9b9238065105f4280382954cb794e9b42bb35e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO\uFF1A\u8FD9\u91CC\u4F7F\u7528 CorpId \u5E76\u4E0D\u5408\u7406\uFF0C\u53EF\u80FD\u4F1A\u9020\u6210\u91CD\u590D\uFF0CCorpId \u662F\u5168\u5C40\u7684\uFF0C\u6BCF\u4E2A App \u4F1A\u6709\u4E0D\u540C\u7684 AgentId \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":"src/Senparc.Weixin.Work/Senparc.Weixin.Work/Entities/Request/PostModel.cs"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"37b3de2f17ebbd66a3dd40892ac75b4f786443d61c9b716c2bec4e0bd832b0fe"}},{"ruleId":"D17","level":"warning","message":{"text":"ObsoleteWithCallers: [Obsolete] CreateFromRequestMessage"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.Work/Senparc.Weixin.Work/Entities/Response/WorkResponseMessageBase.cs"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb99e72dc9b337ccf49cbdec67986bfbfe1acdfe55670e137c6c55071a6fbea3"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 13 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.Work/Senparc.Weixin.Work/Enums.cs"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcff8fd8bf1902c4ed9eeab145e51e475a3c45f84ba6a43a5d70fef36f72033c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO:\u6DF1\u62F7\u8D1D \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":"src/Senparc.Weixin.Work/Senparc.Weixin.Work/MessageHandlers/WorkMessageHandler.cs"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"32d5c826e68a407c58d1c1eb37a5b6cda183f55da471133c4dec2a6132ba43ba"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 47 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.Work/Senparc.Weixin.Work/MessageHandlers/WorkMessageHandler.cs"},"region":{"startLine":1150}}}],"partialFingerprints":{"codehealthFindingId/v1":"25f0144d115f9d6107a12e39a301bef80c02f530b67958cc5d2c7ab0943c56ff"}},{"ruleId":"D17","level":"warning","message":{"text":"ObsoleteWithCallers: [Obsolete] UniformSendAsync"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.WxOpen/src/Senparc.Weixin.WxOpen/Senparc.Weixin.WxOpen/AdvancedAPIs/Template/TemplateApi.cs"},"region":{"startLine":305}}}],"partialFingerprints":{"codehealthFindingId/v1":"84d02588d828cc421c07435e0e12a0cbcad2eda43cb99b4c97bc74dfa533b5fa"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO:\u52A0\u5165 MiniProgramPage\u7C7B\u578B \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":"src/Senparc.Weixin.WxOpen/src/Senparc.Weixin.WxOpen/Senparc.Weixin.WxOpen/MessageHandlers/WxOpenMessageEntityEnlightener.cs"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"57549aead743dff1b296601e0c86aa7deb35e5afda2d05ce7a76a6efe5f83e37"}},{"ruleId":"D17","level":"warning","message":{"text":"ObsoleteWithCallers: [Obsolete] OnTextRequest"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.WxOpen/src/Senparc.Weixin.WxOpen/Senparc.Weixin.WxOpen/MessageHandlers/WxOpenMessageHandler.Message.cs"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"209fed78463c6d356873dc0fcffc69717ad67ca2f9cfefe151b04cf5e118d912"}},{"ruleId":"D17","level":"warning","message":{"text":"ObsoleteWithCallers: [Obsolete] OnImageRequest"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.WxOpen/src/Senparc.Weixin.WxOpen/Senparc.Weixin.WxOpen/MessageHandlers/WxOpenMessageHandler.Message.cs"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bc0f63b8e10fd895703d26b80388f4221c799549af96fe0f574fa2c52db5acd"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //    //TODO:\u5982\u679C\u4E0D\u8003\u8651\u6548\u7387\uFF0C\u6B64\u65B9\u6CD5\u53EF\u4EE5\u4F7F\u7528\u53CD\u5C04\uFF0C\u81EA\u52A8\u6CE8\u518C\u6240\u6709\u7684\u6269\u5C55\u7F13\u5B58 \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":"src/Senparc.Weixin/Senparc.Weixin/Cache/ContainerCacheStrategyFactory.cs"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"b63f24b7884e92b0bea5b4633c5f9d62e0ccae3c08ed787e5694f87e9b48588b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO:\u6B64\u65B9\u6CD5\u53EF\u4EE5\u8BBE\u5B9A\u4E00\u4E2A\u65E5\u5FD7\u8BB0\u5F55\u5F00\u5173 \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":"src/Senparc.Weixin/Senparc.Weixin/CommonAPIs/CommonJsonSend.cs"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa89efe96f8bafdf037c31e0b99fd774c6dbb3e2abebd5e1bf4110b822f669f6"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO:\u5BF9\u4E8E\u7279\u5B9A\u7684\u9519\u8BEF\u7C7B\u578B\u81EA\u52A8\u8FDB\u884C\u4E00\u6B21\u91CD\u8BD5\uFF0C\u598240001\uFF08\u76EE\u524D\u7684\u95EE\u9898\u662F\u540C\u683740001\u4F1A\u51FA\u73B0\u5728\u4E0D\u540C\u7684\u60C5\u51B5\u4E0B\u9762\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":"src/Senparc.Weixin/Senparc.Weixin/CommonAPIs/CommonJsonSend.cs"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"607c93e3c209495502800aa9148fc30efdc6221af934229c54ed58036208d48d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO:\u540C\u4E00\u4E2A appId \u53EF\u80FD\u4F1A\u5BF9\u5E94 AccessToken\u3001JsTicket \u7B49\u591A\u79CD Container \u60C5\u51B5\u3002 \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":"src/Senparc.Weixin/Senparc.Weixin/Containers/BaseContainer.cs"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9c59e107d17d2eef4407d994b04b67844a40fa09c66cc1bc1ee4070555d4b5f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO:\u5982\u679C\u9700\u8981\u6821\u9A8CContainerBag\u7684\u6B63\u786E\u6027\uFF0C\u53EF\u4EE5\u4ECE\u8FD4\u56DE\u503C\u8FDB\u884C\u5224\u65AD \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":"src/Senparc.Weixin/Senparc.Weixin/Containers/BaseContainer.cs"},"region":{"startLine":315}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fbcb1e6c88d6fb141fe0fa2decba9a2a4a889c80104845d60031f9504df0336"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //\u66F4\u65B0\u5230\u7F13\u5B58\uFF0CTODO\uFF1A\u6709\u7684\u7F13\u5B58\u6846\u67B6\u53EF\u4E00\u76F4\u66F4\u65B0Hash\u4E2D\u7684\u67D0\u4E2A\u952E\u503C\u5BF9 \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":"src/Senparc.Weixin/Senparc.Weixin/Containers/BaseContainer.cs"},"region":{"startLine":464}}}],"partialFingerprints":{"codehealthFindingId/v1":"d13488c3071d1230d96671e6b4135f40027e84fcf6c417de368ec97c3984e425"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //\u66F4\u65B0\u5230\u7F13\u5B58\uFF0CTODO\uFF1A\u6709\u7684\u7F13\u5B58\u6846\u67B6\u53EF\u4E00\u76F4\u66F4\u65B0Hash\u4E2D\u7684\u67D0\u4E2A\u952E\u503C\u5BF9 \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":"src/Senparc.Weixin/Senparc.Weixin/Containers/BaseContainer.cs"},"region":{"startLine":675}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3c67426dbe28395846eeeffd268899e6b64b1140a12b412a7290d550a34869f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO\uFF1A\u4F7F\u7528\u5F02\u6B65\u5F02\u5E38\u629B\u51FA\u65B9\u5F0F \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":"src/Senparc.Weixin/Senparc.Weixin/Containers/BaseContainer.cs"},"region":{"startLine":687}}}],"partialFingerprints":{"codehealthFindingId/v1":"72b0007b0614724297a081bbd1e11bc6409a74cfe121b3ce474983c632adf69c"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 17 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin/Senparc.Weixin/Entities/JsonResult/WxJsonResult.cs"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e2394650c3e57694114d2a005163f131657bdcfb8c3b709c4cb8d4dcd5406f5"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO\uFF1A\u5C06WeixinTrace\u548CSenparcTrace\u901A\u8FC7\u67D0\u79CD\u6807\u8BB0\u660E\u663E\u533A\u5206\u5F00\u6765 \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":"src/Senparc.Weixin/Senparc.Weixin/Trace/WeixinTrace.cs"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"800dbbb983b0632941706d76c7378c1c52d67d189194af097f4a4b183831c6f7"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //    //TODO\uFF1A\u5DF2\u7ECF\u5728 CommonJsonSend \u4E2D\u5355\u72EC\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":"src/Senparc.Weixin/Senparc.Weixin/Utilities/HttpUtility/Get.cs"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"99e142241d0840a31e0427fbbf3d9ea2cab7f8be344d45918b560fb187676bf5"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO:\u52A0\u5165\u7279\u6B8A\u60C5\u51B5\u4E0B\u7684\u56DE\u8C03\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":"src/Senparc.Weixin/Senparc.Weixin/Utilities/HttpUtility/Post.cs"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fd1e772a0dc37a591734a1db24d17552227cffe3a0990ef80167b3821cf58f9"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //\u5DF2\u7ECF\u901A\u8FC7\uFF0C\u4F46\u9700\u8981\u8FDE\u63A5\u8FDC\u7A0B\u6D4B\u8BD5\uFF0C\u592A\u8017\u65F6\uFF0C\u5E38\u89C4\u6D4B\u8BD5\u65F6\u6682\u65F6\u5FFD\u7565\u3002 TODO\uFF1A\u8FC1\u79FB\u5230 CO2NET \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":"src/Senparc.Weixin/Senparc.WeixinTests/Utilities/HttpUtility/GetTests.cs"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"21f591b844632bb1b94326feaa13be7a05df69e4e5d5886616fd0ddd02cc5772"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //\u5DF2\u7ECF\u901A\u8FC7\uFF0C\u4F46\u9700\u8981\u8FDE\u63A5\u8FDC\u7A0B\u6D4B\u8BD5\uFF0C\u592A\u8017\u65F6\uFF0C\u5E38\u89C4\u6D4B\u8BD5\u65F6\u6682\u65F6\u5FFD\u7565\u3002  //TODO\uFF1A\u8FC1\u79FB\u5230 CO2NET \u4E2D\u6D4B\u8BD5 \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":"src/Senparc.Weixin/Senparc.WeixinTests/Utilities/HttpUtility/PostTests.cs"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"a254beb9892a248944e52c5afd7937f76b72858e052e292b7c43ca5b6e254928"}},{"ruleId":"D17","level":"error","message":{"text":"BlanketAnalyzerSeverityNone: dotnet_analyzer_diagnostic.severity = none \u2014 every analyzer rule \u2014 this is not one rule switched off, it is a whole set the file never lists: every rule the entry covers is silenced for every file the section matches, in every project under this directory, and any rule added to that set by a future analyzer upgrade is silenced too, without anybody deciding so. It reads as narrower than it is \u2014 the analyzers still run and the build still looks configured \u2014 and because no rule is named there is nothing for a reader to look up and no list that will ever disclose what is covered. Replace it with the rules you actually mean to switch off, each on its own line, so the set is finite, visible and reviewable, and the ones nobody chose keep protecting the tree. If the blanket entry is genuinely right, link the decision from a comment above it: a comment that only restates the entry is what the editor generates when it writes this line, so it is a reference to the decision \u2014 an issue or a ticket \u2014 that clears this row."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"eng/Quality/quality.globalconfig"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5156565ddc5123ea840d87540e33a871f868864e98b5cc3bafb428962c2e41a"}},{"ruleId":"D19","level":"note","message":{"text":"Documentation: no installation or build instructions: \u6587\u6863\u4E2D\u6CA1\u6709\u5B89\u88C5/\u6784\u5EFA\u6216\u4F9D\u8D56\u914D\u7F6E\u8BF4\u660E\uFF0C\u4EC5\u5C55\u793A\u4E86\u4E00\u4E2A\u5FEB\u901F\u4E0A\u624B\u7684\u547D\u4EE4\u884C\u5165\u53E3\u4F46\u672A\u6307\u5BFC\u5982\u4F55\u4ECE\u6E90\u7801\u83B7\u53D6\u548C\u7F16\u8BD1\u3002 \u8865\u5145\u5B89\u88C5\u6B65\u9AA4\uFF1A\u901A\u8FC7NuGet\u5B89\u88C5\u6240\u6709\u7248\u672C\u5305\uFF08.NET Framework\u3001.NET Standard 2.x\u3001.NET 6.0\u002B\uFF09\uFF0C\u4EE5\u53CA\u672C\u5730\u6784\u5EFA/\u6253\u5305\u4E3Avsix\u7684\u5B8C\u6574\u6307\u4EE4\u3002"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"README.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fa6bfcd5c6ae231d1b8ee99bced50b832d1f61cde9da6cbb533467b879a57db"}},{"ruleId":"D19","level":"note","message":{"text":"Documentation: no usage examples: \u6587\u6863\u4E2D\u6CA1\u6709\u5B9E\u9645\u7684\u4F7F\u7528\u793A\u4F8B\uFF0C\u4EC5\u6709\u4E00\u4E2A\u5FEB\u901F\u4E0A\u624B\u7684\u547D\u4EE4\u884C\u5165\u53E3\u548C\u4E00\u4E2AAI\u52A9\u624B\u4FA7\u680F\u67E5\u8BE2\u6307\u5F15\uFF0C\u65E0\u6CD5\u9A8C\u8BC1\u4EE3\u7801\u662F\u5426\u6B63\u786E\u8C03\u7528\u63A5\u53E3\u3002 \u6DFB\u52A0\u81F3\u5C11\u4E24\u4E2A\u5B8C\u6574\u4EE3\u7801\u7247\u6BB5\uFF1A\u516C\u4F17\u53F7\u6A21\u677F\u6D88\u606F\u53D1\u9001\u3001\u5C0F\u7A0B\u5E8F\u7528\u6237\u4FE1\u606F\u83B7\u53D6\uFF0C\u5E76\u8BF4\u660E\u5982\u4F55\u4ECEAI\u52A9\u624B\u8DF3\u8F6C\u5230\u6587\u6863\u4E2D\u3002"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"README.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1355eb4e127a4bc9236772ce1c46f09510aa9286e7a06d1e47f308229df19049"}},{"ruleId":"D19","level":"note","message":{"text":"Documentation: no architecture or design documentation: \u6CA1\u6709\u67B6\u6784/\u8BBE\u8BA1\u6587\u6863\uFF0C\u4EC5\u5728\u9879\u76EE\u6587\u4EF6\u5939\u8BF4\u660E\u548C\u6A21\u5757\u5217\u8868\u4E2D\u5217\u51FASenparc.Weixin.Work.Middleware\u7B49\u5B50\u5E93\uFF0C\u4F46\u7F3A\u5C11\u6574\u4F53\u67B6\u6784\u56FE\u6216\u7EC4\u4EF6\u4EA4\u4E92\u63CF\u8FF0\u3002 \u8865\u5145\u67B6\u6784\u6982\u8FF0\uFF1A\u5404\u5E73\u53F0SDK\u7684\u4F9D\u8D56\u5173\u7CFB\u3001\u6D88\u606F\u5904\u7406\u6D41\u7A0B\u3001\u7F13\u5B58\u6269\u5C55\u65B9\u6848\uFF08Memcached/Redis\uFF09\u7684\u96C6\u6210\u65B9\u5F0F\u3002"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"README.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"086460f2da112d94904fac5439f54a7780bc7778ff9375a067e428a1cc9a8a4c"}},{"ruleId":"D20","level":"note","message":{"text":"No ADRs found: No ADRs found. No recognised ADR directory (\u0060docs/adr/\u0060, \u0060docs/decisions/\u0060, \u0060adr/\u0060, \u0060docs/rfcs/\u0060, an \u0060ADR0001/\u0060 folder, or their siblings) exists anywhere in this tree. What was searched, so you can tell an empty log from a search that missed one: every directory under the tree (build output, dependencies and VCS metadata excepted), for a document that is either any non-index page inside a recognised ADR directory, whatever its name and however deeply nested (\u0060docs/adr/use-postgres.md\u0060, \u0060docs/adr/2024/0001-x.md\u0060); or a file anywhere whose name is ADR-shaped (\u00600001-use-postgres.md\u0060, \u0060adr-012-caching.md\u0060); or, when neither turned anything up, a document carrying the decision-record signature (an \u0022Architecture Decision Record\u0022 heading, or Status / Context / Decision / Consequences as section headings). A decision log that clears none of these \u2014 unnumbered files outside any recognised directory, without those headings \u2014 is not seen by this check and this row is then wrong. If that is your case, say so rather than renaming anything; otherwise, consider recording architectural decisions in \u0060docs/adr/\u0060."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"d2bea044ff79d7d275f5a91a6e2f548586178eaf480274c33960ad020c854631"}},{"ruleId":"D21","level":"note","message":{"text":"Inconsistent casing and versioning in the TenPay namespace: \u0027TenPay\u0027 (PascalCase) vs \u0027Tenpay\u0027 (camelCase) and \u0027V2\u0027/\u0027V3\u0027 vs \u0027V3\u0027 embedded in names. Specifically, \u0060TenpayV3ProfitShareingAddReceiverRequestData\u0060 uses lowercase \u0027p\u0027 in \u0027Tenpay\u0027 and misspells \u0027Sharing\u0027 as \u0027Shareing\u0027, while other types use \u0027TenPay\u0027 or \u0027TenPayV3\u0027.: Standardize to \u0027TenPay\u0027 (PascalCase) and correct \u0027Shareing\u0027 to \u0027Sharing\u0027. Use consistent versioning suffixes (e.g., always \u0027TenPayV3\u0027 or always \u0027TenPay.V3\u0027). (symbols: Type: public Senparc.Weixin.TenPay.V2.TenPay, Type: public Senparc.Weixin.TenPay.V3.TenPayV3UnifiedorderRequestData.SignType, Type: public Senparc.Weixin.TenPay.V3.TenpayV3ProfitShareingAddReceiverRequestData.Key, Method: private Senparc.Weixin.TenPay.V3.TenPayV3.CheckValidationResult(object, System.Security.Cryptography.X509Certificates.X509Certificate, System.Security.Cryptography.X509Certificates.X509Chain, System.Net.Security.SslPolicyErrors))"},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"ad6023052fbbad09896729aa41203afc8c4e9eb0d3d26af8670afeb468d2af23"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022\u5F39\u51FA\u7CFB\u7EDF\u62CD\u7167\u53D1\u56FE\u0022 \u2014 "},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.Work/Senparc.Weixin.Work/CommonAPIs/CommonApi.Menu.cs"},"region":{"startLine":289}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0a185268438c2dcde0d3f3ce5955e4b06730a45df714ddb2889ac9aa6919b2e"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022\u5F39\u51FA\u62CD\u7167\u6216\u8005\u76F8\u518C\u53D1\u56FE\u0022 \u2014 "},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.Work/Senparc.Weixin.Work/MessageHandlers/Async/WorkMessageHandler.Async.cs"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"2616be4f78e3cf330b2475d0dec71517a33ab8a3adb23ade470d4c4a80603aec"}},{"ruleId":"D26","level":"note","message":{"text":"Projects may be oversized for their cohesion: 6 of 35 project(s) overshoot their size bounds, lowering Project Cohesion to 6.7/10. The most over is \u0060Senparc.Weixin.Work.net10(net462)\u0060 (72505 LoC, 2535 public types across 81 namespaces). Review these for cohesion \u2014 split a project that spans unrelated responsibilities."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"d5a94650dc74886a0f1f08eb9fb6775f1fc395279ef7e901c970c9d26f767a72"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e7746be2beecb8da750a34cb9f440701d49d6d52528ade217b124ba6dc6e2932"},"properties":{"commitSha":"86bfa6a9943cce902f50fc121fe16dfcfcd5db0e"}},{"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":"e239a5aadc4e803f477424823f303a338a36c5e386a1016f23a1da341266ee91"},"properties":{"commitSha":"74796864ef4c55a3eb77efa7f774783858bd97b5"}},{"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":"18fb270528681c84fb2b46b50975f8b1200d9eb14798cf820c92fdf2c43188a5"},"properties":{"commitSha":"74796864ef4c55a3eb77efa7f774783858bd97b5"}},{"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":"660cf48c77313287f615450da358ede1ce448714bc2e980b647c80d4a86c2497"},"properties":{"commitSha":"74796864ef4c55a3eb77efa7f774783858bd97b5"}},{"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":"d3ae966bc364e857147955c611f46c645d3f008a0b2840ff299b7bc4cc7fc182"},"properties":{"commitSha":"74796864ef4c55a3eb77efa7f774783858bd97b5"}},{"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":"0ad0b92996519cbd465e1bcc05809f75031904f039b1f2d151c2539ca39fe72c"}},{"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":"0564883280e237e7952ed6def5ddfa0d3813c619229719deb94dfe23bbfd429a"}},{"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":"8f8bfe3b68ca186339d5bc44761a6c1789d9490e1db8427ccdfafac454a6fa54"},"properties":{"commitSha":"dfe9f77c71ad3d18c17a10de8a992e6604ece3f9"}},{"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":"b4f0ea3c31b6c3dda40aacf589d49be0eb33e7c8173b473f81a8e956cf953e14"},"properties":{"commitSha":"dfe9f77c71ad3d18c17a10de8a992e6604ece3f9"}},{"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":"54cfaf687a10fe4886c342f86c83bf5389da880182f7a4f11bb7678ef7dd5e7e"},"properties":{"commitSha":"dfe9f77c71ad3d18c17a10de8a992e6604ece3f9"}},{"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":"da5f3bf5e0a67602fa83231981a1dfcf50eb1147b3fc81fd17ae8c7406a1569d"},"properties":{"commitSha":"fe162cbe050e20d8a26a05fac5ec3ab8784a5d56"}},{"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":"22a7ed223926990119a7adf6e3b9aa58bc64d58d67e945621d73c432b588028e"},"properties":{"commitSha":"fe162cbe050e20d8a26a05fac5ec3ab8784a5d56"}},{"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":"9fd5d719e015d027a05f013d45bfb631c070d14360cf2caa9a09f9872dcfaa8d"},"properties":{"commitSha":"fe162cbe050e20d8a26a05fac5ec3ab8784a5d56"}},{"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":"36f8f1537f05eb7fc4be2ada07d048307fe26c10606775b1350c7d162aacf79c"},"properties":{"commitSha":"fe162cbe050e20d8a26a05fac5ec3ab8784a5d56"}},{"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":"8343b6a174340a0f80a34e2e57694862d89a4680b53c4064f0051c3655cebedf"},"properties":{"commitSha":"dfe9f77c71ad3d18c17a10de8a992e6604ece3f9"}},{"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":"d108f29b1e3847c614d34618e8d99ccd308fad11d2d0c88f99ecfced6884e598"},"properties":{"commitSha":"dfe9f77c71ad3d18c17a10de8a992e6604ece3f9"}},{"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":"6a7d4e5557d3546bc85e58be86dbd31a5db8965ada1a5ed7331b9f82989188f4"},"properties":{"commitSha":"9cc7af454b924094ba783a6d37b6b11fab1c82eb"}},{"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":"12a341bbc1ae644da125d3c7fbc02fff36cf5324c60fda1948181add00ff48f5"},"properties":{"commitSha":"dfe9f77c71ad3d18c17a10de8a992e6604ece3f9"}},{"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":"6e868eb108ec11117d55aa1bc44dd5738fa8b5078c56a9f77721d647ac7ef484"},"properties":{"commitSha":"dfe9f77c71ad3d18c17a10de8a992e6604ece3f9"}},{"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":"9dd38ecc7ae22fc60949b72c554c7a7a9d8c1a5db71cd44d7f5f95b5672992b3"},"properties":{"commitSha":"dfe9f77c71ad3d18c17a10de8a992e6604ece3f9"}},{"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":"a1a22ed63fa97453e460daab62c69ba4b4ab94d1d2f6e71ad0ddeef2a88c6a52"},"properties":{"commitSha":"dfe9f77c71ad3d18c17a10de8a992e6604ece3f9"}},{"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":"d91bd57ab435456a216e0dd72e1c4045e00061dcc8e8a45cc913d4d7368dfacf"},"properties":{"commitSha":"0265b86cc1735beda79c8f1d305f8228fc07526f"}},{"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":"831965f524038a62348e6a2c7712f285bac3fb8f234f1e7d7dc6c00216007a4b"},"properties":{"commitSha":"05de662a48322e880c780ee4ff7682f0979ae7ad"}},{"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":"e2eb87c0c3787a00b3e5f6dbcdf1d12c15b5f5773e8577aac15d88647da6c8c8"},"properties":{"commitSha":"05de662a48322e880c780ee4ff7682f0979ae7ad"}},{"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":"807b1bc132d3068d8bbab9b65becff8f5724ea1b51375f7bc08793cc388989bb"},"properties":{"commitSha":"8f4578f907a71a1ea6704c56389b6508e1fb51fe"}},{"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":"71432f16b6b431074bd9019356d3cb8f3cbfc47106ee4318a053eb2b45b78c6f"},"properties":{"commitSha":"8f4578f907a71a1ea6704c56389b6508e1fb51fe"}},{"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":"102ddd96cb243c46ab83cacdb29acb04ac0c8c9dad71cac5bf9408eb432fc284"},"properties":{"commitSha":"8f4578f907a71a1ea6704c56389b6508e1fb51fe"}},{"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":"c1e834b1cb7fbe7312f8710474ccd1f3823001ed4afaa14874788d00f2ac7a27"},"properties":{"commitSha":"2ff9cd01170078f0c4fce911fe21873df68d276f"}},{"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":"22d3b84a11d5267fddf4694ad6774527320af0017735b6154f92b842fb0d9b5f"},"properties":{"commitSha":"2ff9cd01170078f0c4fce911fe21873df68d276f"}},{"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":"50072bfc442c6b764e51317f1ac470cd4662d7e1b60b0f9c1c72e22e2aebfbca"},"properties":{"commitSha":"1a5ecd5e8a62b8aa108a579da35e93a605568f3c"}},{"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":"ccd21f8f836dbfbd7b4fbc438698ea2046c2445799bc66052e45cb4a62e297ef"},"properties":{"commitSha":"1a5ecd5e8a62b8aa108a579da35e93a605568f3c"}},{"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":"fa97897472b35cb7f29193eb4f4c328bade27f459119593460e06363aeb11186"},"properties":{"commitSha":"43c829bc8dd6e5ef72d7aa6ec8b61a1c83a29a80"}},{"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":"b84c1263e55ab9f96c684c3fd89778f401026970b8f478181c3b9a6e6ddac284"},"properties":{"commitSha":"c2435ddf76b3d2b935f96292ecd20850d91340f6"}},{"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":"41247dabe2d8243348c2548ee49c0dcbb5e109dab872087753c960b0dd2beaa9"},"properties":{"commitSha":"c2435ddf76b3d2b935f96292ecd20850d91340f6"}},{"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":"496bcf556e6dc56d74763a1c4070d1df6edb2e3b86c903e1ed49d923972a884f"},"properties":{"commitSha":"991f724992c8b1ec555c8aa8f368d8bad2bae083"}},{"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":"aa53a853aeabbc2b6fbd96176ea8a6416c700bfdfb4d9649c23f2be58794954d"},"properties":{"commitSha":"991f724992c8b1ec555c8aa8f368d8bad2bae083"}},{"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":"ec66fb36ff80abc07327ccc549de9e0ea17ef984a152b52239e35761fedfd986"},"properties":{"commitSha":"3d608b072383cf0a68abe9638135afcddd4ab0b9"}},{"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":"b443dc5186e8e8623cc577bef8debab9456f6fcc8bc4a3ebd1574163f79e5d47"},"properties":{"commitSha":"2618fc951ae594ec3117cf1b396697a7906ce0ad"}},{"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":"efa87090d21d15925438eae8ebfccd9dd633f7fc23494e5448732d60b2198ffb"},"properties":{"commitSha":"74d9cd2b41e82401b23a5c68e6e1a527b61da9fd"}},{"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":"2e036e65ab7477fb8ff2d98d1b8bcb4eb7c981a172cfb3b80abe28f0e6aee87b"},"properties":{"commitSha":"187086fd7ad13876cba56a619fb0d22337e48358"}},{"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":"f9952579e28ef18c503ef27f44db9c2d3adf2f8019adcecd06a8ba45e3728d45"},"properties":{"commitSha":"2b00b782708d137e9fdf7ea952d25f93ce032366"}},{"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":"1de5b1198a0ee4feafdce04fe43cf77c60443a5f277dec891e85efb61dd17679"},"properties":{"commitSha":"5eb26b378ba9e0a3b5add796231a0927ce154c09"}},{"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":"a274b39945ed923ba594339bfd3848a538e0c46a22e166c11c6872f15923ba6a"},"properties":{"commitSha":"e737e2e801a42164877a6da829a9bbaa92805fc5"}},{"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":"954f9c76b33c6314e33aa372baba9dd186f173dcf43d14d233a98538d6d884c4"},"properties":{"commitSha":"e737e2e801a42164877a6da829a9bbaa92805fc5"}},{"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":"f0cba6c86f643697f2d3fc0cbc2d97f3399c96382718c9bc1921d2aef838811f"},"properties":{"commitSha":"5c3358b971240d82a24ea1fc3bd0befb3a120e58"}},{"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":"5468221435c7a748e97e4b0ec935174476e06ae225736fe4cb6a842e8bd53f76"},"properties":{"commitSha":"5c3358b971240d82a24ea1fc3bd0befb3a120e58"}},{"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":"f31607e4eb7ba123f310215b18546e81d5d36b9d72b287035656821dc517d576"},"properties":{"commitSha":"085f9d01a9d46ec87934224b975499883349acc4"}},{"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":"d33ee58716a91df1b9ffa2c4da1683610c26fbf4212aea568b7e5c03f12857d6"},"properties":{"commitSha":"085f9d01a9d46ec87934224b975499883349acc4"}},{"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":"a1e03ac5dadd681781af11a9fb932e250f0edfa2a3a0d7974bb411cb4652ed5a"},"properties":{"commitSha":"5b97e1419f9d21c43baf4947d3f30fe64d715c06"}},{"ruleId":"D28","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3cdfd7beb31b791ae18dcb425e21eb157c842e7bbcd522cc330573c1a6538db1"}},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"9eecbaab517960ce96620b8e3ae68326eb3820b4bb64dcd9facc9fdc61350821"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1790b47b36d3378d1a75c51f8e0883262ad5f804edba3484f0468f7e8da9dac0"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3e3508915d6d2fc164ae11238d57e4a94918880e68f2c3bdc43add31ad239314"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"72ad7b5caaa8154fbacdd56dda89f4b066a945df6192507580108991050f9c55"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"73dfd6fe4b0b135a274d6db3e7bcb9710650272fae7d77649f7e3955def61310"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"09b0fb18065848ecbf08b2a9de3c1cec77c420a81618f182e760e2f1f5bb7652"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"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":"c015b8e19fd48e8ae944902d152a275d65523f6875d0a585f6af063d9e51d78b"},"taxa":[{"id":"CWE-1104","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-1329","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"6388f81d211c3859eeb1e43090bfffcadefe50a6b01a9204e9865d0c3a063095"},"taxa":[{"id":"CWE-1104","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-1352","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"54e9aa09a611c2bb2c0ec343a0f7aae6e5f6748a3c486eea69516b354fe0399e"},"taxa":[{"id":"CWE-1104","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-1352","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"39d21a9e51e158b6165fbb8a09450951654b737957310e9377151d8c3fb5375b"},"taxa":[{"id":"CWE-1104","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-1352","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"2531eb18705ceaa890ae2778bbf51296d3c82d8c8064aa361a2968d9544ba092"},"taxa":[{"id":"CWE-862","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e2ce96f677ad7c8cf521f8de23ec0b7500b8759f958430be7a1a2c0f4032f182"},"taxa":[{"id":"CWE-862","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"bcd5c8989a6e4fef1088754e8fe3a78007d9160e375213117c0c91937a433858"},"taxa":[{"id":"CWE-862","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"5fbcee6825ce2c4259d0fca256a71d9df5082018e5b6a74d59746172950e928e"},"taxa":[{"id":"CWE-862","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3995bdba2da8eaf117e4ee09330c88f657d95134346c685017af6d4d0b716e98"},"taxa":[{"id":"CWE-915","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a97e7a34b7e5c4aa20dff368b5a7cd37c11f791073144250cc2280bad1c75d81"},"taxa":[{"id":"CWE-862","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a0164985930aebc23a66821df9f9c6ac3b67340e55d22aaff3624e51d7b0fd5a"},"taxa":[{"id":"CWE-862","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ab417ab72c2444c550fce06203e3a4f04c2a8d3e120296b3fd34e33a3895a212"},"taxa":[{"id":"CWE-862","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1ca5015024f763fbbc7821b7458ce6fb38d42d4198901bfd485882539f59122b"},"taxa":[{"id":"CWE-862","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a1176926212d0be90a1093b34b6b98049627cad3f4354713239725e2d82ef42d"},"taxa":[{"id":"CWE-862","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"16a2beb0a567251edee6aaee52f9c16ca7cbad67cc7b96548debfe62a0d88330"},"taxa":[{"id":"CWE-862","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"089230d4f44ed7b865a923c5f8a31dbc0bee38e3fdd19ffcd80b63a451928ac2"},"taxa":[{"id":"CWE-862","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"8dc6179711d8173bfdd97209100a01c5f9a891b530e1931f2205bf6f9ed8e5e7"},"taxa":[{"id":"CWE-862","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"833629847f092ea299c6d9e5e852c83fff0b963e24c3953fce037a7e9332d2f0"},"taxa":[{"id":"CWE-915","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"01f231364cbd6512445d564badb557c682ccd413d22813290ac8deaf4136286f"},"taxa":[{"id":"CWE-862","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"9b3b1eeae82c1cef8057e41e027a39e2dca7572a897155a94b7ea031894615de"},"taxa":[{"id":"CWE-862","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"202ed50b6c8fbc88a1a08c4baf85417064998ba011a6418e16bee2d65a515dcf"},"taxa":[{"id":"CWE-862","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"419887dca0ac8a3b167f75e5949acb06ca1f84299971377bc8b6956dbe2abb1e"},"taxa":[{"id":"CWE-862","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e3e4b99e4de584bedca36144d257a98d0f15baf53277b34ad3016be03679c6e0"},"taxa":[{"id":"CWE-862","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"aa900f023ba6431164ffd4d19d99dd45b40b9cf2645f7fa2f400009ae0b68a65"},"taxa":[{"id":"CWE-862","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"469a9bb5f6338f73d42f822db95e10058111a9d9c7bf35a4454aa598b615de3e"},"taxa":[{"id":"CWE-862","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"cce60d277799485e3740a4826c65362ba8a8dc86e9eabb809de4c1061782ca77"},"taxa":[{"id":"CWE-862","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"82f082bc722b75fe9150d5d8786c7155654dee9c1196355223bc78c36f1d60de"},"taxa":[{"id":"CWE-862","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0ba59fa163a03a35e985c2502812ec3d630c7e38025f62b42503aab71d0294cb"},"taxa":[{"id":"CWE-862","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"5fb2e6b3c9a620f06d07bd4d8298125e8ae97913fd98f8a9580dc878df7c9e8b"},"taxa":[{"id":"CWE-776","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b2f10e9df3d8583eaa52da58702156a0f90546b71d7009ea11e5be6db32bfad3"},"taxa":[{"id":"CWE-776","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e83ad1dcb8e0ce83fc3f5ba72e56e7c92e25eabee22dfd0eb0b86378ddf8defc"},"taxa":[{"id":"CWE-776","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"943212250bd29805dcf848decf8a768a3ddb5f165fbe7366f0b212d2ce201410"},"taxa":[{"id":"CWE-776","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"4a84bb8f736185dff235fde464e29859e876cf235e0ae4718ee27b6a79f0614d"},"taxa":[{"id":"CWE-776","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"859c8922d1f8e58c2d7e92729a9a4160e0483a32a0925980c8b80c3dc8cf69e8"},"taxa":[{"id":"CWE-776","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"2b3a324047b75b15ed4eaf5a64a78a335d3e825fca228cd988219961b52be577"},"taxa":[{"id":"CWE-776","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"93c97e26688b8df44cdeb965ff22649dbd893cd8bc0aa75ed5c91b6084eddab3"},"taxa":[{"id":"CWE-776","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"56b2ec1eb049071e9b050c6d75979962b894c62bcda1a3bcc8e5726bb685aa6a"}},{"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":"f98d02963fd6912677d22d43222c73398c47d2e41e7416538c01c055de66bd29"}},{"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":"485cfb696047937e4b1b33709e9f62b5518888e557d6881039289d798a334ef6"}},{"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":"815ef8fcad613a1433ae3f3e5b49f4a1c8298ad8bdbd21bd04a10c27a8430188"}},{"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":"ed5125a036a758cd317f6013c91af074753d978e7b26595b88b05fb61ec29b1d"}},{"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":"c8fa06b6a0aa184b522192dd1555d2a47a5aec0b1b7e0bf5e0686f06eb0a2da6"}},{"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":"c2ffce74d0b7dd957daff6195a767a9105eca4051b9aad26f8858e40bf41ae3a"}},{"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":"57811de37caee36c9751976e80d8e47ef2e39f6e08753085deac64283b4724d3"}},{"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":"9103db996da7e2695bb2a0bf220d2899b3f8198f19506a572385ebd47da63054"}},{"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":"d42ee999c624ba7d15040af44e7534b2a7402f09f06630c731b50c1d5bbacacf"}},{"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":"8be40f7f1ae091b042559a89762f3ebe45f3e521e33d8b012e5f991a7505081f"}},{"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":"5d0a136d32d08b5a76f72bad6e2be5d8c8ebbbe024cb760507110180fa5618e4"}},{"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":"9c4666b5c2f8f4ca0b88608b5a4d7a7bba4b22544e80d019f1a6b066be7f07a4"}},{"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":"3087d585f29758e9f925671f380e7ca949be715b9170f3909fd5bd25532623bf"}},{"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":"fc8e16b29854ecb7284305e4679d237df54208db9109258405fc2bfe2ab09af5"}},{"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":"3224f9423d45f79ba7817fca4fdb8bac3f45ce331c1c634ff67442c882602f57"}},{"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":"75c6557e8cdc51783cccf407ec82bc52ae166e266ffd3d5d3fa7f9555ea9423b"}},{"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":"a7367ccbb5bf3337f4a8c06b14d112c44cd114ea93d6f5bbcd87bc556f24b318"}},{"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":"2a1f24c074624fe7ff8afcb12bf5539336bdc1753e4a5dca0f83479eecfb2de6"}},{"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":"5540a0746e0f6e7948a5b6c28ec7d7b9df043c4837bc2f36bcb0cde727101472"}},{"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":"1a71195f7bef49602a5ceda52c3639336d254a81c99d91e50bcba62e544a040f"}},{"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":"d90231918cbe911ae3358155ba31d594c9569d8cee7146bf791bdf046d1c020b"}},{"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":"3259eb8a4ed5400f691faec9cd464b5db77f0374d36831eb33ff7049525eb819"}},{"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":"a8606b8d0e13bb65eecc713d581777fce34dced9047064b4b56b42082ffe9c79"}},{"ruleId":"D32","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"fd12b30825a923fd31c92fb8dfc140d63656a4c2a05622a11d176c7ae24604ee"}},{"ruleId":"D34","level":"error","message":{"text":"Orphaned knowledge: No living knowledge remains for this large file \u2014 its last meaningful change has decayed away; if it breaks, no one currently understands it. Schedule a read-through / add characterisation tests before it bites."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.MP/Senparc.Weixin.MP/AdvancedAPIs/ShakeAround/ShakeAroundApi.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"107324c0b301900b4e2dacb653039864ea008045adeb54c212a16399f2283492"}},{"ruleId":"D34","level":"error","message":{"text":"Orphaned knowledge: No living knowledge remains for this large file \u2014 its last meaningful change has decayed away; if it breaks, no one currently understands it. Schedule a read-through / add characterisation tests before it bites."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/Marketing/Entities/ReturnJson/QueryBusifavorStockReturnJson.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dce5aabf5d5828de90d7d6e2978e45c97eb8d4aba61deb97984ab139b4d49d0c"}},{"ruleId":"D34","level":"error","message":{"text":"Orphaned knowledge: No living knowledge remains for this large file \u2014 its last meaningful change has decayed away; if it breaks, no one currently understands it. Schedule a read-through / add characterisation tests before it bites."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.MP/Senparc.Weixin.MP/AdvancedAPIs/Invoice/InvoiceApi.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f3a2bf7fdaf246965dfd865b28b72f252df75fddd2081b3d9bc46cbcf611f32"}},{"ruleId":"D34","level":"error","message":{"text":"Orphaned knowledge: No living knowledge remains for this large file \u2014 its last meaningful change has decayed away; if it breaks, no one currently understands it. Schedule a read-through / add characterisation tests before it bites."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/Entities/Result/TenPayV3Results.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f184e7d0261a567d14957d1e7788c7a6afa5aeef0424d45cf1c0f00bf6c24163"}},{"ruleId":"D34","level":"error","message":{"text":"Orphaned knowledge: No living knowledge remains for this large file \u2014 its last meaningful change has decayed away; if it breaks, no one currently understands it. Schedule a read-through / add characterisation tests before it bites."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/Marketing/Entities/ReturnJson/QueryBusifavorCouponsReturnJson.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b48e1abfca114d0dd52fb1b4f55f736125a9da8f8c6a9b0a237c8a8014630bb"}},{"ruleId":"D34","level":"error","message":{"text":"Orphaned knowledge: No living knowledge remains for this large file \u2014 its last meaningful change has decayed away; if it breaks, no one currently understands it. Schedule a read-through / add characterisation tests before it bites."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/Marketing/Entities/RequestData/CreateBusifavorStockRequestData.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d126733d194f74e9337c4afc56aff42e9bb1c1b709e6e46848dbee36244251d7"}},{"ruleId":"D34","level":"error","message":{"text":"Orphaned knowledge: No living knowledge remains for this large file \u2014 its last meaningful change has decayed away; if it breaks, no one currently understands it. Schedule a read-through / add characterisation tests before it bites."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.MP/Senparc.Weixin.MP/AdvancedAPIs/WiFi/WiFiApi.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f48a0e307abedde8c73ba86732e57bc8c661c9bf8947ed02fd6527c64542e1e"}},{"ruleId":"D34","level":"error","message":{"text":"Orphaned knowledge: No living knowledge remains for this large file \u2014 its last meaningful change has decayed away; if it breaks, no one currently understands it. Schedule a read-through / add characterisation tests before it bites."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/Marketing/Entities/ReturnJson/QueryBusifavorCouponReturnJson.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"274127f7cc40eec24e649bfc1e02b7cee4c85fd6dd10cf5b3c51e7513b769e8e"}},{"ruleId":"D34","level":"error","message":{"text":"Orphaned knowledge: No living knowledge remains for this large file \u2014 its last meaningful change has decayed away; if it breaks, no one currently understands it. Schedule a read-through / add characterisation tests before it bites."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/PayScore/Entities/ReturnJson/QueryServiceOrderReturnJson.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"202d102632fa550a3ce8810fa3fe44474ec904214ae20f37e980f2d4d611caf1"}},{"ruleId":"D34","level":"error","message":{"text":"Orphaned knowledge: No living knowledge remains for this large file \u2014 its last meaningful change has decayed away; if it breaks, no one currently understands it. Schedule a read-through / add characterisation tests before it bites."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/PayScore/Entities/NotifyJson/PayServiceOrderNotifyJson.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"583c6cede64d74054aba10f4c97f6ea7953f8a3b1e856d25b6c76c173fcf1641"}},{"ruleId":"D34","level":"error","message":{"text":"Orphaned knowledge: No living knowledge remains for this large file \u2014 its last meaningful change has decayed away; if it breaks, no one currently understands it. Schedule a read-through / add characterisation tests before it bites."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.WxOpen/src/Senparc.Weixin.WxOpen/Senparc.Weixin.WxOpen/AdvancedAPIs/Tcb/TcbApi.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5c3e31730f0ab509bb9759cfa353f32df5a4fec4efe3780975eabc859ac33e3"}},{"ruleId":"D34","level":"error","message":{"text":"Orphaned knowledge: No living knowledge remains for this large file \u2014 its last meaningful change has decayed away; if it breaks, no one currently understands it. Schedule a read-through / add characterisation tests before it bites."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/Marketing/Entities/ReturnJson/QueryPaygiftActivitiesReturnJson.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"87336a0273b615287a1bc1755c4d15a7ed34ad138a132628186c214f8f4397c4"}},{"ruleId":"D34","level":"error","message":{"text":"Orphaned knowledge: No living knowledge remains for this large file \u2014 its last meaningful change has decayed away; if it breaks, no one currently understands it. Schedule a read-through / add characterisation tests before it bites."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/Marketing/Entities/ReturnJson/QueryPaygiftActivityReturnJson.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f098128f5fdcbc54597a13664d84256760cc005f9780ec88a77fb4b881264fba"}},{"ruleId":"D34","level":"error","message":{"text":"Orphaned knowledge: No living knowledge remains for this large file \u2014 its last meaningful change has decayed away; if it breaks, no one currently understands it. Schedule a read-through / add characterisation tests before it bites."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/PayScore/Entities/ReturnJson/ModifyServiceOrderReturnJson.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcdda166b309d8a60e1bd8e996fa60a4abdc6516510d0e844d1de002a94c8e71"}},{"ruleId":"D34","level":"error","message":{"text":"Orphaned knowledge: No living knowledge remains for this large file \u2014 its last meaningful change has decayed away; if it breaks, no one currently understands it. Schedule a read-through / add characterisation tests before it bites."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/PayScore/Entities/ReturnJson/SyncPayServiceOrderReturnJson.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec757f2faaf2c9f90775f75a8eada404a031e6c596d33da2968335c00f6d286d"}},{"ruleId":"D34","level":"error","message":{"text":"Orphaned knowledge: No living knowledge remains for this large file \u2014 its last meaningful change has decayed away; if it breaks, no one currently understands it. Schedule a read-through / add characterisation tests before it bites."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.MP/Senparc.Weixin.MP/Enums.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e89e131e96a536641fd16f3affb7fc9af651d8b81211a9ff614c4c6e42b6c3db"}},{"ruleId":"D34","level":"error","message":{"text":"Orphaned knowledge: No living knowledge remains for this large file \u2014 its last meaningful change has decayed away; if it breaks, no one currently understands it. Schedule a read-through / add characterisation tests before it bites."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/PayScore/PayScoreApis.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"19d655fbd1d98bc8b2b506d34cb4efa533dd5d9b682ad49b5accd43c1beddd0a"}},{"ruleId":"D34","level":"error","message":{"text":"Orphaned knowledge: No living knowledge remains for this large file \u2014 its last meaningful change has decayed away; if it breaks, no one currently understands it. Schedule a read-through / add characterisation tests before it bites."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/Marketing/Entities/RequestData/CreateUniqueThresholdActivityRequestData.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f817e5aad6cbe80922ac2d21845140d4992442b621e041f3ba95a033d16ae599"}},{"ruleId":"D34","level":"error","message":{"text":"Orphaned knowledge: No living knowledge remains for this large file \u2014 its last meaningful change has decayed away; if it breaks, no one currently understands it. Schedule a read-through / add characterisation tests before it bites."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/Entities/Request/TenpayV3ProfitShareingRequestData.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e594d6b8868eb8b916d81636d09b11782b16db76f9cad79a6e108e25ce6efb6b"}},{"ruleId":"D34","level":"error","message":{"text":"Orphaned knowledge: No living knowledge remains for this large file \u2014 its last meaningful change has decayed away; if it breaks, no one currently understands it. Schedule a read-through / add characterisation tests before it bites."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.WxOpen/src/Senparc.Weixin.WxOpen/Senparc.Weixin.WxOpen/AdvancedAPIs/Delivery/DeliveryApi.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfe6bd03e8bb163f5917c400207c8b30e585a5bfb5f0ab7a13eecce8deed6f7e"}},{"ruleId":"D34","level":"error","message":{"text":"Orphaned knowledge: No living knowledge remains for this large file \u2014 its last meaningful change has decayed away; if it breaks, no one currently understands it. Schedule a read-through / add characterisation tests before it bites."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/PayScore/Entities/ReturnJson/CreateServiceOrderReturnJson.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a76170e598d4bcb578235d14fbaeb93bc0713bf47c3f80e8d07766463868156"}},{"ruleId":"D34","level":"error","message":{"text":"Orphaned knowledge: No living knowledge remains for this large file \u2014 its last meaningful change has decayed away; if it breaks, no one currently understands it. Schedule a read-through / add characterisation tests before it bites."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/VehicleParking/Entities/NotifyJson/PayNotifyJson.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3a90f3041d80b6485907b2efda30647f05d42cb3f02fa7a8e9e9cd96de35707"}},{"ruleId":"D34","level":"error","message":{"text":"Orphaned knowledge: No living knowledge remains for this large file \u2014 its last meaningful change has decayed away; if it breaks, no one currently understands it. Schedule a read-through / add characterisation tests before it bites."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/PayScore/Entities/RequestData/CreateServiceOrderRequestData.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e3f0126009b614e9accf317554ecbf801713c2d13eb19e560b5cf9f1e081580"}},{"ruleId":"D34","level":"error","message":{"text":"Orphaned knowledge: No living knowledge remains for this large file \u2014 its last meaningful change has decayed away; if it breaks, no one currently understands it. Schedule a read-through / add characterisation tests before it bites."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/PayScore/Entities/ReturnJson/CompleteServiceOrderReturnJson.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f0631645779aa28b41dde214f1c85a44d8f7d17e79288054df17a0661e6bb67"}},{"ruleId":"D34","level":"error","message":{"text":"Orphaned knowledge: No living knowledge remains for this large file \u2014 its last meaningful change has decayed away; if it breaks, no one currently understands it. Schedule a read-through / add characterisation tests before it bites."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.MP/Senparc.Weixin.MP/AdvancedAPIs/Wxa/WxaApi.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f45eca6da43e6bbcb12803444fdcbdf816c844d99180ca2267af821d1551ad7"}},{"ruleId":"D34","level":"error","message":{"text":"Orphaned knowledge: No living knowledge remains for this large file \u2014 its last meaningful change has decayed away; if it breaks, no one currently understands it. Schedule a read-through / add characterisation tests before it bites."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/BasePay/Entities/RequestData/TransactionsRequestData.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1146e5240e4a9e0d5a27442e1cb696d68feb2dc7bb653ae0069dd85258390fb0"}},{"ruleId":"D34","level":"error","message":{"text":"Orphaned knowledge: No living knowledge remains for this large file \u2014 its last meaningful change has decayed away; if it breaks, no one currently understands it. Schedule a read-through / add characterisation tests before it bites."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/PayScore/Entities/NotifyJson/ConfirmServiceOrderNotifyJson.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6f4c3938ddf0f2e7e9a6792724db915e00c2e625c3b90fdd8f855f67f08f140"}},{"ruleId":"D34","level":"error","message":{"text":"Orphaned knowledge: No living knowledge remains for this large file \u2014 its last meaningful change has decayed away; if it breaks, no one currently understands it. Schedule a read-through / add characterisation tests before it bites."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/Marketing/Entities/RequestData/CreateStockRequsetData.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"92d3d832695babd426987811198b2c990aba434643c2511d7c52cf118218cc2d"}},{"ruleId":"D34","level":"error","message":{"text":"Orphaned knowledge: No living knowledge remains for this large file \u2014 its last meaningful change has decayed away; if it breaks, no one currently understands it. Schedule a read-through / add characterisation tests before it bites."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/PayScore/Entities/RequestData/CompleteServiceOrderRequestData.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e805bf68d07fac6063cba53363dc4321f14b1b680c4f079eb2dac91453a063f1"}},{"ruleId":"D34","level":"error","message":{"text":"Orphaned knowledge: No living knowledge remains for this large file \u2014 its last meaningful change has decayed away; if it breaks, no one currently understands it. Schedule a read-through / add characterisation tests before it bites."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/Marketing/Entities/RequestData/ModifyBusifavorStockInformationRequestData.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d600efbc477772db75f721527cf6f33e2cee298232be41fd77a189ebb3ea0ab4"}},{"ruleId":"D34","level":"error","message":{"text":"Orphaned knowledge: No living knowledge remains for this large file \u2014 its last meaningful change has decayed away; if it breaks, no one currently understands it. Schedule a read-through / add characterisation tests before it bites."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/PayScore/Entities/ReturnJson/CreateDirectCompleteServiceOrderReturnJson.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf4af99037108abd9e576a226f8a3306ffeb7f5b238159f8c84a96bfc2c1e012"}},{"ruleId":"D34","level":"error","message":{"text":"Orphaned knowledge: No living knowledge remains for this large file \u2014 its last meaningful change has decayed away; if it breaks, no one currently understands it. Schedule a read-through / add characterisation tests before it bites."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/PayScore/Entities/RequestData/CreateDirectCompleteServiceOrderRequestData.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"67c1d6a48d1619a5b80448fac8b27274ef06824484d91ca13e3d9881642e5d52"}},{"ruleId":"D34","level":"error","message":{"text":"Orphaned knowledge: No living knowledge remains for this large file \u2014 its last meaningful change has decayed away; if it breaks, no one currently understands it. Schedule a read-through / add characterisation tests before it bites."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.WxOpen/src/Senparc.Weixin.WxOpen/Senparc.Weixin.WxOpen/AdvancedAPIs/Sec/Order.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb6bbeae141616b68344aa5454a201adce54a41f6951c60cc4ef805f3d7d673f"}},{"ruleId":"D34","level":"note","message":{"text":"Further orphaned files (smaller): 216 smaller file(s) also have no living knowledge \u2014 folded into the freshness score and metrics rather than raised one row each \u2014 most significant first: src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/Profitsharing/Entities/ReturnJson/CreateProfitsharingReturnJson.cs, src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/Complaint/Entities/ReturnJson/QueryComplaintsReturnJson.cs, src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/BasePay/Entities/RequestData/CombineTransactionsRequestData.cs, src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/VehicleParking/Entities/RequestData/PayParkingRequestData.cs, src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/Marketing/Entities/NotifyJson/BusifavorNotifyJson.cs, src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/Profitsharing/Entities/ReturnJson/ReturnProfitsharingReturnJson.cs, src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/Profitsharing/Entities/RequestData/CreateProfitsharingRequestData.cs, src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/Profitsharing/Entities/ReturnJson/QueryReturnProfitsharingReturnJson.cs (and 208 more) (249 orphaned of 1098 analysed files in total, counted over production source files of roughly 2,400 bytes or more, excluding vendored, generated and example/demo trees and test files identified by path convention, largest first; 1098 of the 1905 production source files in this repository met that bar). Attach the read to the next change that touches one of them: have a second person review that change, and leave behind a short comment or test recording what the file is for, so the knowledge comes back at the cost of a change you were making anyway."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"ce861fd78f6935114d3a342cb90ad25870f984e1042954fcbbe27c0e23be3658"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: DefaultWorkMessageContext.cs \u2194 WorkMessageHandler.cs: \u0060src/Senparc.Weixin.Work/Senparc.Weixin.Work/MessageContext/DefaultWorkMessageContext.cs\u0060 and \u0060src/Senparc.Weixin.Work/Senparc.Weixin.Work/MessageHandlers/WorkMessageHandler.cs\u0060 change together 57% of the time (13 of the 23 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well, and counted over this repository\u0027s 10,000 most recent commits rather than its whole history \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets). They sit in different directories, but in this ecosystem the namespace is declared in the FILE, not by the folder \u2014 so the two may well share one namespace and reference each other with no import for this pass to see. Read the pair before acting: if one derives from or overrides the other, the dependency is explicit in the type declaration and the co-change is definitional; if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE and the thing to add is a comment saying so; if they simply belong together, co-locate them; if none of these holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 13 shared commits counted here, the most recent 3 are \u0060a682db6c\u0060 \u6DFB\u52A0\u901A\u7528\u6A21\u677F\u5361\u7247\u53F3\u4E0A\u89D2\u83DC\u5355\u4E8B\u4EF6\u63A8\u9001; \u4FEE\u590D\u4E0D\u6B63\u786E\u7684\u901A\u7528\u6A21\u677F\u5361\u7247\u4E8B\u4EF6\u63A8\u9001\u7C7B\u578B;; \u00600fb36137\u0060 \u4F01\u4E1A\u5FAE\u4FE1\u589E\u52A0\uFF1A\u6A21\u677F\u5361\u7247\u70B9\u51FB\u56DE\u8C03\u4E8B\u4EF6; \u006043dfc359\u0060 \u4F01\u4E1A\u5FAE\u4FE1\u4E2D\u95F4\u4EF6\u589E\u52A0:\u4F1A\u8BDD\u5B58\u6863-\u4EA7\u751F\u4F1A\u8BDD\u56DE\u8C03\u4E8B\u4EF6\u56DE\u8C03; \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.Work/Senparc.Weixin.Work/MessageContext/DefaultWorkMessageContext.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e4bd0088465704efb5221af5ec694b2b8d4bbd792b2285fc19d24c7574c9956"}},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1b213f6eedd4b140d0bc37bdf1496f72811a643f34064f12518b32e9e83bcfc7"}},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0e17f71490e4d120a48b2b2881ab866c93b272bef2febb673a3e8e42b2c288ab"}},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"eb00976a698a5d68999b7ee6d27206fd374e916853e7ff1ead5eed42386f043f"}},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"90f83b4fa27db32740afe9540c905f3c0499caed87f61049a8a903ecc95b41c3"}},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"9658270ba49f37ed04e99ab1263b6393cd42aed8bdfb7aafd9fa1070f5491895"}},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ace515990e7ee0f17b5c17e44dd168a5bdecf90804a3a3dd845cf05540978013"}},{"ruleId":"D44","level":"warning","message":{"text":"End-of-life runtime: .NET net6.0: src/Senparc.Weixin.Cache/Senparc.Weixin.Cache.CsRedis.Tests/Senparc.Weixin.Cache.CsRedis.Tests.net8.csproj declares .NET net6.0 as this project\u0027s target framework, and .NET 6 LTS, support ended 2024-11-12. An unsupported runtime receives no security patches, so every vulnerability disclosed in it since 2024-11-12 is present and unfixable without moving off it. This is a migration rather than an upgrade: there is no newer release of a runtime that has ended."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"833052aef8fed8fff4f2fedf55a392e3e58dc048b7b988c82a469d1d41453aa6"}},{"ruleId":"D44","level":"warning","message":{"text":"End-of-life runtime: .NET netcoreapp3.1: Samples/All/Senparc.Weixin.Sample.CommonService/Senparc.Weixin.NetCore3Sample.CommonService.csproj declares .NET netcoreapp3.1 as this project\u0027s target framework, and .NET Core 3.1 LTS, support ended 2022-12-13. An unsupported runtime receives no security patches, so every vulnerability disclosed in it since 2022-12-13 is present and unfixable without moving off it. This is a migration rather than an upgrade: there is no newer release of a runtime that has ended."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"954e3ef0b236901ef73486ed451edc515fce53e536b15d7027913f44f7ea1848"}},{"ruleId":"AC3","level":"warning","message":{"text":"Page without a main landmark: No \u003Cmain\u003E (or role=\u0022main\u0022) means no \u0022skip to content\u0022 target and a weaker landmark map. Wrap the primary content in \u003Cmain\u003E."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/WeixinBrowserPlugin/src/demo-url-change-feature.html"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"48c7d0aacccb85c57105b34f9ae5a1b3e09e70f590a316ee21d43ed939fcbd2a"}},{"ruleId":"AC3","level":"warning","message":{"text":"Heading level jumps from h1 to h3: Skipping heading levels breaks the document outline assistive tech relies on. Don\u0027t jump levels \u2014 increase by at most one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/WeixinBrowserPlugin/src/demo-url-change-feature.html"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"47e9259d704ec0cd124ca8b3ac884a91b652237a56e883f8b8ac22080c434b42"}},{"ruleId":"AC3","level":"warning","message":{"text":"Page without a main landmark: No \u003Cmain\u003E (or role=\u0022main\u0022) means no \u0022skip to content\u0022 target and a weaker landmark map. Wrap the primary content in \u003Cmain\u003E."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/WeixinBrowserPlugin/src/popup.html"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"cee2fae13bab8fa7ac48c9fd49f7d6a026c2cfe5d461ecb569f52d3135d869f0"}},{"ruleId":"AC3","level":"warning","message":{"text":"Page without a main landmark: No \u003Cmain\u003E (or role=\u0022main\u0022) means no \u0022skip to content\u0022 target and a weaker landmark map. Wrap the primary content in \u003Cmain\u003E."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/WeixinBrowserPlugin/src/test.html"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"03ac2a8bee648cf48d742ee79e2daba4eb9cabc2c9927af8610d46c22b617ea1"}},{"ruleId":"AC7","level":"warning","message":{"text":"Accessibility enforcement below the top rung: No accessibility enforcement found \u2014 no a11y linter (an accessibility check that can read your UI \u2014 no component framework was detected and your pages are rendered by server-side templates, which neither the JSX/Vue ESLint plugins nor the HTML-template linters can parse; run axe/pa11y over the rendered pages, or assert the accessibility invariants over that rendered HTML in the test suite you already have) and no axe/pa11y/Lighthouse in tests or CI. Start by running that check over your rendered pages in CI. What was searched, so you can tell an absence from a miss: the 4 markup file(s) this pass actually assessed, the linter configuration checked in beside them, and this repository\u0027s test and CI files \u2014 matched by name against the accessibility checkers this dimension carries. An audit run outside the repository, a hosted scanner, or a check whose name is not one of those, is not seen here."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"d46019b86eff5ddad9db289e6802ac158899e980df54c34f67722442787ead62"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: ISenparcWeixinSettingForTenpayV3 (18 members): \u0060ISenparcWeixinSettingForTenpayV3\u0060 declares 18 members: \u0060TenPayV3_MchId\u0060, \u0060TenPayV3_SubMchId\u0060, \u0060TenPayV3_Key\u0060, \u0060TenPayV3_CertPath\u0060, \u0060TenPayV3_CertSecret\u0060, \u0060TenPayV3_AppId\u0060, \u0060TenPayV3_AppSecret\u0060, \u0060TenPayV3_SubAppId\u0060, \u0060TenPayV3_SubAppSecret\u0060, \u0060TenPayV3_TenpayNotify\u0060, \u0060TenPayV3_PrivateKey\u0060, \u0060TenPayV3_SerialNumber\u0060, \u0060TenPayV3_APIv3Key\u0060, \u0060TenPayV3_TenPayPubKey\u0060, \u0060TenPayV3_TenPayPubKeyID\u0060, \u0060TenPayV3_TenPayPubKeyEnable\u0060, \u0060TenPayV3_WxOpenTenpayNotify\u0060, \u0060EncryptionType\u0060. Counted as the author wrote them \u2014 a property is ONE member and its get/set accessors are not counted separately, and an event counts once. 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":"src/Senparc.Weixin/Senparc.Weixin/Entities/SenparcWeixinSettings/SenparcWeixinSettingItem.Interfaces.cs"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1ccb5d77f8a14d9b82bb3bc7c67b83fcc9c979f4a6697b134f76ac881298074"}},{"ruleId":"C2","level":"note","message":{"text":"No named authorization policies: Authorization IS enforced here (via [Authorize]/guards) \u2014 this is NOT a claim that endpoints are unprotected. What\u0027s missing is NAMED policies (AddAuthorization/AddPolicy, RequireRole/RequireClaim, RequireAuthorization): the access rules are implicit rather than named and testable. Recommendation, not a defect \u2014 name the rules so they\u0027re reviewable."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"b048fdf3fa524ac68c7874fdfcdb4c49d5f010013f2cb22a0bd84cb12ceb951f"}},{"ruleId":"C5","level":"note","message":{"text":"Partial data-subject-rights support: Corroborated rights: erasure \u2717 \u00B7 export \u2713 \u00B7 consent \u2717. Each tick means this scan found code in the repository implementing that right \u2014 a deletion/anonymisation path for erasure, a data-export or portability path for export, and consent state recorded alongside the personal data it authorises. A \u2717 therefore means no such code was recognised HERE, not that the right is unsupported: a capability provided by a platform, a manual runbook, or code spelled in a way this scan does not match is not visible to it. Confirm before treating a cross as a gap; where it is one, the right has to be fulfilled manually."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"4f30fc8e725e23f01c9d247a7d5d9dbfb00ef6c5536867cbc625b447fb7951f2"}},{"ruleId":"ED5","level":"note","message":{"text":"Possible non-idempotent mutation (review): WebSocket.CustomNetCoreWebSocketMessageHandler.OnMessageReceiced: \u0060WebSocket.CustomNetCoreWebSocketMessageHandler.OnMessageReceiced\u0060 mutates persistent state (a repository write one hop away, in SessionContainer.GetSession) with no visible idempotency guard. Under a client retry or at-least-once redelivery a re-run could double-apply it \u2014 confirm it\u0027s safe to re-run, or add an exists/dedup check, an upsert, an idempotency-key/inbox, or a versioned write."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Samples/All/Senparc.Weixin.Sample.CommonService/MessageHandlers/WebSocket/CustomNetCoreWebSocketMessageHandler.cs"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"872d8d9b709a0051149360b0d89d1f237e7056159116cd5466108b107043866a"}},{"ruleId":"GD1","level":"warning","message":{"text":"Unfinished stub \u2014 throws NotImplementedException: A shipped member still throws NotImplementedException \u2014 generated scaffolding that was never completed. Implement it or remove the dead surface."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.Cache/Senparc.Weixin.Cache.Memcached/ContainerCacheStrategy/MemcachedContainerCacheStrategy.cs"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"830d53233c5ef95b84ae8c59bb5c8b352c7fc781b55760958d77b43afe6d24b7"}},{"ruleId":"GD1","level":"warning","message":{"text":"Unfinished stub \u2014 throws NotImplementedException: A shipped member still throws NotImplementedException \u2014 generated scaffolding that was never completed. Implement it or remove the dead surface."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V2/RefundRequestHandler.cs"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1f35217ddb72604c5001f21864b4bb253837ac7a9722c3b574bb287ec01ae7f"}},{"ruleId":"GD1","level":"warning","message":{"text":"Unfinished stub \u2014 throws NotImplementedException: A shipped member still throws NotImplementedException \u2014 generated scaffolding that was never completed. Implement it or remove the dead surface."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.Cache/Senparc.Weixin.Cache.Dapr/ContainerCacheStrategy/DaprContainerCacheStrategy.cs"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1ba9c05eae757b758e5c6348f7b7aab482dd54899154cf9aa70c76fc4b4061a"}},{"ruleId":"IC1","level":"warning","message":{"text":"Unfinished stub \u2014 throws NotImplementedException: \u0060GetAll\u0060 is a shipped member whose whole body throws NotImplementedException \u2014 scaffolding that was never completed. Implement it or remove the dead surface."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.Cache/Senparc.Weixin.Cache.Dapr/ContainerCacheStrategy/DaprContainerCacheStrategy.cs"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"0dc9827c7ff5058ac1731a276a4fd2d84925b27b3a8f41e2cdb502d9d1b160ea"}},{"ruleId":"IC1","level":"warning","message":{"text":"Unfinished stub \u2014 throws NotImplementedException: \u0060GetAll\u0060 is a shipped member whose whole body throws NotImplementedException \u2014 scaffolding that was never completed. Implement it or remove the dead surface."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.Cache/Senparc.Weixin.Cache.Memcached/ContainerCacheStrategy/MemcachedContainerCacheStrategy.cs"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"60f303db57c34853f1832e278709707dfbb5e42195bb866dda86d9da124d0512"}},{"ruleId":"IC1","level":"warning","message":{"text":"Fake-async \u2014 async method never awaits: \u0060OnEvent_ShakearoundUserShakeRequestAsync\u0060 is declared \u0060async\u0060 but never awaits anything, so it runs synchronously while pretending to be asynchronous. Drop \u0060async\u0060 or do the real async work."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.MP/Senparc.Weixin.MP/MessageHandlers/Async/MessageHandlerAsync.Event.cs"},"region":{"startLine":558}}}],"partialFingerprints":{"codehealthFindingId/v1":"65f60a466c2a0c4156283dcabc2ef6183e1be4540a797a5a14948c01c6d240a3"}},{"ruleId":"IC1","level":"warning","message":{"text":"Fake-async \u2014 async method never awaits: \u0060ListAsync\u0060 is declared \u0060async\u0060 but never awaits anything, so it runs synchronously while pretending to be asynchronous. Drop \u0060async\u0060 or do the real async work."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.Open/Senparc.Weixin.Open/WxaAPIs/Template/TemplateApi.cs"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"75a43727972c4ea52116780c374a721b26d03ba43af2f28fb352b71aeb437ffb"}},{"ruleId":"IC1","level":"warning","message":{"text":"Fake-async \u2014 async method never awaits: \u0060DelAsync\u0060 is declared \u0060async\u0060 but never awaits anything, so it runs synchronously while pretending to be asynchronous. Drop \u0060async\u0060 or do the real async work."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.Open/Senparc.Weixin.Open/WxaAPIs/Template/TemplateApi.cs"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"3efc746ee86a1744c05a7bc8992d1ef19dcb7f5fc12840c39f4b11106725300c"}},{"ruleId":"IC1","level":"warning","message":{"text":"Unfinished stub \u2014 throws NotImplementedException: \u0060SetParameter\u0060 is a shipped member whose whole body throws NotImplementedException \u2014 scaffolding that was never completed. Implement it or remove the dead surface."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V2/RefundRequestHandler.cs"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0b90e7985c46b5323b0e00411076b32b5cbb77765981092cb8afa0a2421256b"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.WebSocket/src/Senparc.WebSocket/Senparc.WebSocket/Helpers/WebSocketHelper.cs"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"03b8dbd9dea812ea86deb648c1da7595a0efe3758ae3110bd6655094a9d219a8"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.WebSocket/src/Senparc.WebSocket/Senparc.WebSocket/Routes/WebSocketHandler/WebSocketHandler_Common.cs"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee30c5b122743ea012fbcc8e17b299906f5b811ceb5572621e28ea7e90799e6f"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.WebSocket/src/Senparc.WebSocket/Senparc.WebSocket/Routes/WebSocketHandler/WebSocketHandler_Common.cs"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"43b97d6e46cd6911338426cc893d8b2092397a756ce6cb2381a635d95186acc7"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.WebSocket/src/Senparc.WebSocket/Senparc.WebSocket/Routes/WebSocketHandler/WebSocketHandler_Common.cs"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c759085b021dda1013428e955d00f5911de0485fbf094b0a27c782f707c7064"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.WebSocket/src/Senparc.WebSocket/Senparc.WebSocket/Routes/WebSocketHandler/WebSocketHandler_Common.cs"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"5dd23a99a1f70cba7672dceaf6cd89d5a1c472486e4da239711dbfd7eca8a156"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.WebSocket/src/Senparc.WebSocket/Senparc.WebSocket/Routes/WebSocketHandler/WebSocketHandler_Common.cs"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"b004c0878eaf52859678d089970526a557aa99f6a8f6af550689001cf30e0e3b"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.WebSocket/src/Senparc.WebSocket/Senparc.WebSocket/Routes/WebSocketHandler/WebSocketHandler_Common.cs"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae6546bbb9501614c1b7d1a39c7df848e26277ef76972be72381a88fbb9cbf6b"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.WebSocket/src/Senparc.WebSocket/Senparc.WebSocket/Routes/WebSocketHandler/WebSocketHandler_Common.cs"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"e39e1dbce405c3cd32ea8f7ea799babdb8cf95b725c81ee531a8a47d16c1f037"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.WebSocket/src/Senparc.WebSocket/Senparc.WebSocket/Routes/WebSocketHandler/WebSocketHandler_Common.cs"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4df1148daf8532aaee00a676ba5ae406c16e437be150429b08c73f9427a2256"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.WebSocket/src/Senparc.WebSocket/Senparc.WebSocket/Routes/WebSocketHandler/WebSocketHandler_Core.cs"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"908e9dda93e45e71dbf2874a52e1c7c00ee374ca65d9edcc8ebb661f952cbb9f"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.WebSocket/src/Senparc.WebSocket/Senparc.WebSocket/Routes/WebSocketHandler/WebSocketHandler_NET45.cs"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"144ce446dc8f8e4074848e17cf8160f7fe06ca131d095d502561403a3c909c5f"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.WebSocket/src/Senparc.WebSocket/Senparc.WebSocket/Routes/WebSocketHandler/WebSocketHandler_NET45.cs"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"05ff4cd2152150a48c87e6842aaa61fbb703fa4e19226e99068941ca58e9dc6d"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.All/WeixinEntensions.cs"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1384903f8f555f8730b9128a70cb45641b51fdd84cc4e667a6c5a3ea7b72ee3"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.AspNet/RegisterServices/SenparcWeixinRegisterServiceExtension.cs"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa1e44de365e78fa43fce86785fe005a342724fe3c76e9840c86166820b17f2c"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.AspNet/RegisterServices/SenparcWeixinRegisterServiceExtension.cs"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"400d664f4a46b17d121d709be3b62286b4839431e52c5ee8a0fb52080c49c4bd"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.AspNet/Results/FixWeixinBugWeixinResult.cs"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"0093ba995d798ed1d1f8986162946a58f3c724d6ea13ba4b4c01dd1a2c17f796"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.AspNet/Results/FixWeixinBugWeixinResult.cs"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f8592e3e3a05c0ad343e84f8da6a494f3e616ec9ef7786a7cd12f836b7745a1"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.AspNet/Results/FixWeixinBugWeixinResult.cs"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b0e89b3e847118ab88303773359cd3bb555025533424a4c215854d9edc2bc96"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.AspNet/Results/FixWeixinBugWeixinResult.cs"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"8eb8ada0b3fc9f35099e75491c5e44f6de37fdd3584cff4eac270fc468013d41"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.AspNet/Results/FixWeixinBugWeixinResult.cs"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1f16ea9753ff298a14666bca54287cf787713c5591b396e5e83864922158acd"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.AspNet/Results/FixWeixinBugWeixinResult.cs"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"e727d90a3ecdda3a8c258b4cda8bc813e22fc697db8aa9cd5c1465c83cce2bbd"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.AspNet/Results/FixWeixinBugWeixinResult.cs"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"3605c544d45c03b336115bfea4351232c086eb08ecc16d1b474579573ed77a5e"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.AspNet/Results/FixWeixinBugWeixinResult.cs"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"340c49e2a16fb7a542b941b3f3b5b57df1bd0082ec7ac6d2fad11bcb8c8b5ff8"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.AspNet/Results/WeixinResult.cs"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"39b49b00e2515305698e0d41f4e0af08824e7d334eaaa7697c637a084c21f311"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.AspNet/Results/WeixinResult.cs"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"25955ebcfe6dca5bf67fb9b9a321e95d0ad406cfa70de1a5c00e9fe3637c6688"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.AspNet/Utilities/HttpUtility/UrlUtility.cs"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"a01739e0e6f5206687a92d05d3fe5acc76e7c5a293643004d7a30e95e8568945"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.AspNet/WeixinRegister.cs"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca82bc6b15f713d3d8005e8a7a2d03d33b66a65ff16728316ad10bbe6cd0f824"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.AspNet/WeixinRegister.cs"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"db8bc439bfc02d06a2d07e179209cbcfc3d9862aee02b393d1744163dcbdf6b1"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.Cache/Senparc.Weixin.Cache.CsRedis/ContainerCacheStrategy/RedisContainerCacheStrategy.cs"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"f79b3915e825671a23ac70b9b0aea9cfc318e435442e22f403be662907d855e5"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.Cache/Senparc.Weixin.Cache.CsRedis/ContainerCacheStrategy/RedisContainerCacheStrategy.cs"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"307bbef7f6ee077d29999ad26932bbb927c63efd56f80081c1abbd680fbfcb2e"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.Cache/Senparc.Weixin.Cache.CsRedis/ContainerCacheStrategy/RedisContainerCacheStrategy.cs"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"557045bbe2c4e37d2d4d9c514792eabf53039c59f2d39999f9c67d915457d079"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.Cache/Senparc.Weixin.Cache.CsRedis/ContainerCacheStrategy/RedisContainerCacheStrategy.cs"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"030acb22358f9524c4eccf555c02a3226d9696cf3dba21fdc657e601003fbcd4"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.Cache/Senparc.Weixin.Cache.CsRedis/ContainerCacheStrategy/RedisContainerCacheStrategy.cs"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c0f9119a3e9d4b963dda7fcba617fc1f2ba6c8b5d7e2787b871fcad26b06607"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.Cache/Senparc.Weixin.Cache.CsRedis/ContainerCacheStrategy/RedisContainerCacheStrategy.cs"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0d6d322506298318f30dabd1ec8b2eb0176f57e980d6d1715cb1af4ea8a8772"}},{"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":"P10","level":"note","message":{"text":"Large public API surface: 27531/27782 types (99%) are public. For a library, every public type is a stability contract \u2014 make internal-by-default and expose only the intended API."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"ed2ba843444ae377c17142f58f714e281e4bd3f183ab100ee1fbef389875d3e6"}},{"ruleId":"P2","level":"note","message":{"text":"Logging is not universal: Only 8/27 service-like projects use logging (pure contract/DTO projects are excluded \u2014 they have nothing to log). Of those 27, 8 ship a process this repository operates; the rest are libraries their consumer hosts, where the logging decision belongs to the host."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"91a94e21d6d4d0e6a2003f94505b0b02b157176f0b24c4820f3f82b4447a97fe"}},{"ruleId":"P3","level":"note","message":{"text":"No SAST: No static application security testing detected. For this repository\u0027s stack, add CodeQL\u0027s csharp pack, or a .NET security analyzer package (or \u0060semgrep --config=auto\u0060, which runs on any language) as a CI step. What was searched, so you can tell an absence from a miss: the 13936 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 release approval gate: The release is automated and no gate that pauses it for a human is DECLARED IN THIS REPOSITORY\u0027S PIPELINE FILES. What was read: every file under \u0060.github/workflows/\u0060, \u0060.forgejo/workflows/\u0060, \u0060.gitea/workflows/\u0060, \u0060.azuredevops/\u0060 and \u0060.azure-pipelines/\u0060, plus \u0060.gitlab-ci*\u0060 and \u0060azure-pipelines*\u0060 \u2014 with comment text stripped, so documenting a gate is not declaring one. What would have counted: GitLab\u0027s \u0060when: manual\u0060, CircleCI\u0027s \u0060type: approval\u0060, an Azure \u0060ManualValidation@\u0060 task or an \u0060approvals:\u0060 block, a Jenkins \u0060input\u0060 step, a \u0060uses:\u0060 step naming an approval action, an \u0060environment:\u0060 paired with \u0060reviewers\u0060 / \u0060required_reviewers\u0060 / \u0060protection\u0060 / \u0060wait-timer\u0060 / \u0060deployment_branch_policy\u0060, a draft-release step, a \u0060workflow_dispatch\u0060 promotion, or a release-event gate. \u2605 What this cannot see, because none of it is a file: a GitHub environment whose required reviewers are configured in repo SETTINGS, a branch protection rule, or an organisation deployment policy \u2014 all of them real, enforced gates that live outside the repository. If yours is one of those, this row is wrong and nothing in the tree could have told us. Otherwise: whatever the release trigger points at is published to users unreviewed, so a mistagged or unverified commit ships and the only remedy is a follow-up release."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"6c11e2dbd483b4b423b95ac61bfcc7af1d55351b28a20d2b1105b31cfe38cc60"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: Outbound HTTP calls were found with no timeout or retry policy around them. This codebase ships libraries/tools rather than a service it operates, so the failure lands differently: an unbounded call hangs the caller\u0027s process \u2014 a build step, a CLI run, a UI thread \u2014 with no way out."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"ade5e84aadd8f28a7d64d01fa0cdf67f4f716f0df3ba2641e60599b08325bd5f"}},{"ruleId":"PF1","level":"note","message":{"text":"No performance benchmarks: No benchmark suite was found by the two searches this check runs. FIRST, a BenchmarkDotNet package reference in any project file \u2014 every project the workspace loaded, plus a walk of project files on disk that never loaded, because a benchmark suite is exactly the project a partial load drops. SECOND, a script harness: a file whose name contains \u0060benchmark\u0060 and ends \u0060.py\u0060, \u0060.sh\u0060, \u0060.ps1\u0060, \u0060.bash\u0060, \u0060.rb\u0060, \u0060.js\u0060 or \u0060.mjs\u0060, credited ONLY when this repository\u0027s CI text also mentions benchmarks \u2014 a harness no pipeline runs is read as a fixture, deliberately. Neither search can see a benchmark suite in another ecosystem\u0027s idiom (a Go \u0060testing.B\u0060 file, a JMH or criterion project, a pytest-benchmark run), so this is \u0027no benchmark found by those two searches\u0027, not a verdict that the repository has none. Where code is performance-sensitive, a benchmark guards against silent regressions \u2014 but it\u0027s a bonus here, not a deduction."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"fd90d18ee3bb127e8033d41e8efe4e131487a6d794a5730a72c56105ef7485ea"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: 22 blocking call(s) on async work (.Wait()/.GetAwaiter().GetResult()) \u2014 these waste a thread and can deadlock wherever a synchronization context is in play (a UI thread, or a caller that has one)."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"2dedb76432d7d4f359386b5c37564c0f3de368182a77e31aa8af9ba73f9a4def"}},{"ruleId":"PF3","level":"warning","message":{"text":"Awaits without ConfigureAwait(false): Only 2023/2942 awaits use ConfigureAwait(false). A library that captures the caller\u0027s context can stall or deadlock its host \u2014 the classic way a dependency drags an app down."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"9409e0163ea155fbf96ac6090b9aebd32c62808d0aee4aa2a31f3d049418befc"}},{"ruleId":"R1","level":"warning","message":{"text":"Type Safety: 4 typed \u00B7 24 plain JS \u2014 the untyped files are src/Senparc.Weixin.WxOpen/src/Senparc.Weixin.WxOpen.AppDemo/app.js, src/Senparc.Weixin.WxOpen/src/Senparc.Weixin.WxOpen.AppDemo/pages/LivePusher/LivePusher.js, src/Senparc.Weixin.WxOpen/src/Senparc.Weixin.WxOpen.AppDemo/pages/Login/Login.js, src/Senparc.Weixin.WxOpen/src/Senparc.Weixin.WxOpen.AppDemo/pages/QrCode/QrCode.js, src/Senparc.Weixin.WxOpen/src/Senparc.Weixin.WxOpen.AppDemo/pages/index/index.js, src/Senparc.Weixin.WxOpen/src/Senparc.Weixin.WxOpen.AppDemo/pages/logs/logs.js (\u002B18 more)."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"d00ee7953f55325a823d27e5db9657c80ca9b9861c0c0abf8fe487cd3fa586d3"}},{"ruleId":"R10","level":"warning","message":{"text":"Forked directory tree (36 identical files, ~9924 lines \u00D7 2 trees): Samples/WxOpen/Senparc.Weixin.WxOpen.AppDemo/ and src/Senparc.Weixin.WxOpen/src/Senparc.Weixin.WxOpen.AppDemo/ are near-verbatim copies of each other: 36 files are byte-identical under the same relative paths (~9924 lines; the trees hold 43 and 70 files). That is one structural fact, not 36 local ones: every edit made to one tree and not the other drifts silently, which is the failure whole-tree forks guarantee. Pick one tree as the single source and produce the other from it (generated, copied at build or release time, or re-exported) \u2014 or, if the copy is a stale snapshot nothing produces any more, delete it. Check first whether the copy is a deliberately published deliverable (a template consumers copy verbatim, a released sample frozen at a version); where it is, keep it produced from the source tree rather than edited in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.WxOpen/src/Senparc.Weixin.WxOpen.AppDemo/utils/signalr.test.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"13c1f749ebebb08f650164ab164c18b71ef7f30eb3122df5640ca89d4f6af16c"}},{"ruleId":"R10","level":"warning","message":{"text":"Wholesale file copy (392 identical lines \u00D7 2 files): src/Senparc.Weixin.WxOpen/\u5C0F\u7A0B\u5E8F\u8D44\u6599/crack/mac/Resources/app.nw/app/dist/weapp/appservice/asdebug.js:2 \u00B7 src/Senparc.Weixin.WxOpen/\u5C0F\u7A0B\u5E8F\u8D44\u6599/crack/win/package.nw/app/dist/weapp/appservice/asdebug.js:2 \u2014 these 2 files are line-for-line copies of one another \u2014 392 lines are identical, in the same order, in every one of them \u2014 so this is one fact about the file set, not a block to extract. An edit made to one file and not the others changes behaviour silently, which is the failure a wholesale copy guarantees. Pick one file as the single source and derive the others from it (re-export it, spread it into the local overrides each variant genuinely needs, or generate the copies at build time) \u2014 the few lines that differ between the files are exactly the part each variant should still own. Check first whether the copies are deliberately standalone deliverables (a translation file seeded from its sibling and waiting to be translated); where they are, the duplication is the design, and the honest move is to mark the seeded file as untranslated rather than to let it pass as done."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.WxOpen/\u5C0F\u7A0B\u5E8F\u8D44\u6599/crack/mac/Resources/app.nw/app/dist/weapp/appservice/asdebug.js"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"a78e021d9847712ddd0445aa5c8eb5d45bc714b3996e6071bcde4c8c1297410d"}},{"ruleId":"R10","level":"warning","message":{"text":"Wholesale file copy (201 identical lines \u00D7 2 files): src/Senparc.Weixin.WxOpen/\u5C0F\u7A0B\u5E8F\u8D44\u6599/crack/mac/Resources/app.nw/app/dist/components/create/createstep.js:3 \u00B7 src/Senparc.Weixin.WxOpen/\u5C0F\u7A0B\u5E8F\u8D44\u6599/crack/win/package.nw/app/dist/components/create/createstep.js:3 \u2014 these 2 files are line-for-line copies of one another \u2014 201 lines are identical, in the same order, in every one of them \u2014 so this is one fact about the file set, not a block to extract. An edit made to one file and not the others changes behaviour silently, which is the failure a wholesale copy guarantees. Pick one file as the single source and derive the others from it (re-export it, spread it into the local overrides each variant genuinely needs, or generate the copies at build time) \u2014 the few lines that differ between the files are exactly the part each variant should still own. Check first whether the copies are deliberately standalone deliverables (a translation file seeded from its sibling and waiting to be translated); where they are, the duplication is the design, and the honest move is to mark the seeded file as untranslated rather than to let it pass as done."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.WxOpen/\u5C0F\u7A0B\u5E8F\u8D44\u6599/crack/mac/Resources/app.nw/app/dist/components/create/createstep.js"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"b494fff1e8b534d6dc2a5f7fa0ba3fbc96cad2c8dad09c34e2d600e296b71422"}},{"ruleId":"R10","level":"warning","message":{"text":"Wholesale file copy (101 identical lines \u00D7 2 files): src/Senparc.Weixin.WxOpen/\u5C0F\u7A0B\u5E8F\u8D44\u6599/crack/mac/Resources/app.nw/app/dist/stores/projectStores.js:3 \u00B7 src/Senparc.Weixin.WxOpen/\u5C0F\u7A0B\u5E8F\u8D44\u6599/crack/win/package.nw/app/dist/stroes/projectStores.js:3 \u2014 these 2 files are line-for-line copies of one another \u2014 101 lines are identical, in the same order, in every one of them \u2014 so this is one fact about the file set, not a block to extract. An edit made to one file and not the others changes behaviour silently, which is the failure a wholesale copy guarantees. Pick one file as the single source and derive the others from it (re-export it, spread it into the local overrides each variant genuinely needs, or generate the copies at build time) \u2014 the few lines that differ between the files are exactly the part each variant should still own. Check first whether the copies are deliberately standalone deliverables (a translation file seeded from its sibling and waiting to be translated); where they are, the duplication is the design, and the honest move is to mark the seeded file as untranslated rather than to let it pass as done."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.WxOpen/\u5C0F\u7A0B\u5E8F\u8D44\u6599/crack/mac/Resources/app.nw/app/dist/stores/projectStores.js"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"73e3cd1b912f776fb822de4098ae5278e438392a6742be9b98cf187947bfc46f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (44 matched lines \u00D7 2 locations): src/Senparc.Weixin.WxOpen/src/Senparc.Weixin.WxOpen.AppDemo/pages/websocket/websocket.js:3 \u00B7 src/Senparc.Weixin.WxOpen/src/Senparc.Weixin.WxOpen.AppDemo/pages/websocket_signalr/websocket_signalr.js:4 \u2014 the two spans are one implementation copied and then locally edited \u2014 204 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.WxOpen/src/Senparc.Weixin.WxOpen.AppDemo/pages/websocket/websocket.js"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4920d06f86def545f32ce99377dcfafb7723ce0754aeec23a49170fe66d701f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (29 lines \u00D7 3 locations): src/Senparc.Weixin.WxOpen/src/Senparc.Weixin.WxOpen.AppDemo/skills/senparc-login-ws/components/connection-status-card/index.js:6 \u00B7 src/Senparc.Weixin.WxOpen/src/Senparc.Weixin.WxOpen.AppDemo/skills/senparc-login-ws/components/login-status-card/index.js:6 \u00B7 src/Senparc.Weixin.WxOpen/src/Senparc.Weixin.WxOpen.AppDemo/skills/senparc-login-ws/components/send-result-card/index.js:7 \u2014 the 3 copies are spread across 3 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another. There is one copy in each of 3 separate files rather than several in one place, so check first whether these are sibling modules that each declare their own version of one shape \u2014 one per entity, per provider, per language. Where they are, no single extracted module collapses them: each module still has to be written, and what recurs is the TEMPLATE. The moves that do collapse a template are to generate these modules from the set they enumerate, or to replace the repeated construction with one factory each site calls with its own values \u2014 and where the set is the point, each module pinning one distinct thing, the repetition IS the enumeration and there is nothing to delete."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.WxOpen/src/Senparc.Weixin.WxOpen.AppDemo/skills/senparc-login-ws/components/connection-status-card/index.js"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd3f2479574b3203895200ab4c2837030beb8af394c2e1f2f434f3ee293dad1a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (28 lines \u00D7 2 locations): src/Senparc.Weixin.WxOpen/src/Senparc.Weixin.WxOpen.AppDemo/utils/senparc.websocket.1.0.js:4 \u00B7 src/Senparc.Weixin.WxOpen/src/Senparc.Weixin.WxOpen.AppDemo/utils/senparc.websocket.2.0.js:4 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.WxOpen/src/Senparc.Weixin.WxOpen.AppDemo/utils/senparc.websocket.1.0.js"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"a75979746064372a36ac174461f3008f9931e34b0f9da922c8479ba1f75e35a7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 2 locations): src/Senparc.Weixin.WxOpen/src/Senparc.Weixin.WxOpen.AppDemo/pages/index/index.js:136 \u00B7 src/Senparc.Weixin.WxOpen/src/Senparc.Weixin.WxOpen.AppDemo/pages/index/index.js:172 \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":"src/Senparc.Weixin.WxOpen/src/Senparc.Weixin.WxOpen.AppDemo/pages/index/index.js"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"d34e7bfdca944d3020f6f4fa40958caa9632c166ac35ecdf1943c81fc3481938"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 4 locations): src/Senparc.Weixin.WxOpen/src/Senparc.Weixin.WxOpen.AppDemo/skills/senparc-login-ws/components/connection-status-card/index.js:6 \u00B7 src/Senparc.Weixin.WxOpen/src/Senparc.Weixin.WxOpen.AppDemo/skills/senparc-login-ws/components/login-status-card/index.js:6 \u00B7 src/Senparc.Weixin.WxOpen/src/Senparc.Weixin.WxOpen.AppDemo/skills/senparc-login-ws/components/message-list-card/index.js:8 \u00B7 src/Senparc.Weixin.WxOpen/src/Senparc.Weixin.WxOpen.AppDemo/skills/senparc-login-ws/components/send-result-card/index.js:7 \u2014 the 4 copies are spread across 4 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.WxOpen/src/Senparc.Weixin.WxOpen.AppDemo/skills/senparc-login-ws/components/connection-status-card/index.js"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"80ab97346ac97c31e080c4f706ecd3527440d71e719ba6d9aac6dfdcb811b1b4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): src/Senparc.Weixin.WxOpen/src/Senparc.Weixin.WxOpen.AppDemo/pages/Login/Login.js:20 \u00B7 src/Senparc.Weixin.WxOpen/src/Senparc.Weixin.WxOpen.AppDemo/pages/index/index.js:389 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.WxOpen/src/Senparc.Weixin.WxOpen.AppDemo/pages/Login/Login.js"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"9777c95f8adbf83e5ea2a693a9461a6186f86401d8c915d00d99547da2bb98c5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): tools/WeixinDev/src/interfaceInserter.ts:33 \u00B7 tools/WeixinDev/src/sidebarProvider.ts:60 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/WeixinDev/src/interfaceInserter.ts"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"0880ff9b2074d9082e5f34a95e12189214711a14608682d5de59aae629ad7027"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): src/Senparc.Weixin.WxOpen/src/Senparc.Weixin.WxOpen.AppDemo/skills/senparc-login-ws/components/connection-status-card/index.js:41 \u00B7 src/Senparc.Weixin.WxOpen/src/Senparc.Weixin.WxOpen.AppDemo/skills/senparc-login-ws/components/send-result-card/index.js:34 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.WxOpen/src/Senparc.Weixin.WxOpen.AppDemo/skills/senparc-login-ws/components/connection-status-card/index.js"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c19752085a49a8660f6687eadc5c6c97b505127f1bd8261aff018919ba2fc51"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function s (cyclomatic 18, cognitive 19): s has cyclomatic complexity 18 and cognitive complexity 19; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.WxOpen/\u5C0F\u7A0B\u5E8F\u8D44\u6599/crack/mac/Resources/app.nw/app/dist/weapp/appservice/asdebug.js"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"a14a9912f706086381bb5af2a46bc7d6717dbd7f22a278ed54657baaef200e9c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function s (cyclomatic 18, cognitive 19): s has cyclomatic complexity 18 and cognitive complexity 19; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.WxOpen/\u5C0F\u7A0B\u5E8F\u8D44\u6599/crack/win/package.nw/app/dist/weapp/appservice/asdebug.js"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ef6881c347731dbd94422a720b539230d9340490487f14b22a7d503fbcf7716"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function a (cyclomatic 17, cognitive 18): a has cyclomatic complexity 17 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.WxOpen/\u5C0F\u7A0B\u5E8F\u8D44\u6599/crack/mac/Resources/app.nw/app/dist/weapp/appservice/asdebug.js"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2fd9be24dbb1f6b5b7a89cd70daedddea0ba1cdb7896b9f0022c9d6a5fba5e7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function a (cyclomatic 17, cognitive 18): a has cyclomatic complexity 17 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.WxOpen/\u5C0F\u7A0B\u5E8F\u8D44\u6599/crack/win/package.nw/app/dist/weapp/appservice/asdebug.js"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6c77455026a85f8d71ccb5678ae9bd6f0cc3fb778c6a443c31dcb0ed637fbf5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 15, cognitive 19): (anonymous) has cyclomatic complexity 15 and cognitive complexity 19; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/WeixinDev/src/extension.ts"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"a57bce07e994f9bdc33e633b74cdd0dfd37c6817d403d473a9d38130a5b5d6f7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function on (cyclomatic 15, cognitive 14): on has cyclomatic complexity 15 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.WxOpen/\u5C0F\u7A0B\u5E8F\u8D44\u6599/crack/mac/Resources/app.nw/app/dist/weapp/appservice/asdebug.js"},"region":{"startLine":457}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcee7586102ae0fc1840f011e32525082c39aca5769f625f58d86286f745a617"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function on (cyclomatic 15, cognitive 14): on has cyclomatic complexity 15 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.WxOpen/\u5C0F\u7A0B\u5E8F\u8D44\u6599/crack/win/package.nw/app/dist/weapp/appservice/asdebug.js"},"region":{"startLine":457}}}],"partialFingerprints":{"codehealthFindingId/v1":"63b4c8a7f24881a68b0ff7abca240093b70e49057491f14b97a75d7ab904c051"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 11, cognitive 13): (anonymous) has cyclomatic complexity 11 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.WxOpen/\u5C0F\u7A0B\u5E8F\u8D44\u6599/crack/mac/Resources/app.nw/app/dist/weapp/appservice/asdebug.js"},"region":{"startLine":434}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a7809a2b6cecf69e016e718cbb16c7cee0c46e0a6c11b50f79bb304a9622e41"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 11, cognitive 13): (anonymous) has cyclomatic complexity 11 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.WxOpen/\u5C0F\u7A0B\u5E8F\u8D44\u6599/crack/win/package.nw/app/dist/weapp/appservice/asdebug.js"},"region":{"startLine":434}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fd7c48323bf665f5b4e0e780edff9e0d4644e38f44f543cb212135f3e924238"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~508 LoC): no import path from any entry point (14 application, 1 tooling, 0 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.WxOpen/\u5C0F\u7A0B\u5E8F\u8D44\u6599/crack/mac/Resources/app.nw/app/dist/weapp/appservice/asdebug.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"42aebae669490d82e49ce3c23acdf03c86a4e934d0af309098cae832eee2b9e4"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~508 LoC): no import path from any entry point (14 application, 1 tooling, 0 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.WxOpen/\u5C0F\u7A0B\u5E8F\u8D44\u6599/crack/win/package.nw/app/dist/weapp/appservice/asdebug.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"02a1ef4462a9f46352f0410caaebdf74bdb76f7c0d1cbe30e3ee295f0d56558b"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~411 LoC): no import path from any entry point (14 application, 1 tooling, 0 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/WeixinDev/src/sidebarProvider.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c89230d31260654f645980211b173f9cdd4f1aad82490e26d9146e70d4e8d7cd"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~260 LoC): no import path from any entry point (14 application, 1 tooling, 0 test roots considered), but 2 in-repo import(s) from 2 other file(s) do name it (tools/WeixinDev/src/interfaceInserter.ts, tools/WeixinDev/src/sidebarProvider.ts) \u2014 every one of those referrers is itself unreachable, so this file is dead only as a member of that cluster: if any referrer is in fact alive, this row falls with it"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/WeixinDev/src/apiService.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"812390de514f467d0ebc7c6d105b14e02169d4eb2e6193ca73e57eca25f8adde"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~225 LoC): no import path from any entry point (14 application, 1 tooling, 0 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.WxOpen/\u5C0F\u7A0B\u5E8F\u8D44\u6599/crack/mac/Resources/app.nw/app/dist/components/create/createstep.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9466ada727d369e6aebae25ee0d6d498ea0419402198bfd8d0640bb30224de87"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~225 LoC): no import path from any entry point (14 application, 1 tooling, 0 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.WxOpen/\u5C0F\u7A0B\u5E8F\u8D44\u6599/crack/win/package.nw/app/dist/components/create/createstep.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"93b420d3ff284539e24812bdd5dcb8c02fa9ff103f41f046d25b4322de93dda0"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~223 LoC): no import path from any entry point (14 application, 1 tooling, 0 test roots considered), but 1 in-repo import(s) from 1 other file(s) do name it (tools/WeixinDev/src/sidebarProvider.ts) \u2014 every one of those referrers is itself unreachable, so this file is dead only as a member of that cluster: if any referrer is in fact alive, this row falls with it"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/WeixinDev/src/interfaceInserter.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba18c7bb0dae790d3ac6dacc590dc72e8705c9b30f74b59942b8c7b8d8bfe129"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~131 LoC): no import path from any entry point (14 application, 1 tooling, 0 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.WxOpen/\u5C0F\u7A0B\u5E8F\u8D44\u6599/crack/mac/Resources/app.nw/app/dist/stores/projectStores.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b305876873e43bf63b8fb6ec41b30020ab2c4015ffe3b09dd47ad1d83b549378"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~131 LoC): no import path from any entry point (14 application, 1 tooling, 0 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.WxOpen/\u5C0F\u7A0B\u5E8F\u8D44\u6599/crack/win/package.nw/app/dist/stroes/projectStores.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9a1f1d39aeafb399ce1b63cc321a0e2ec92ae59b9b9eeee48a7fd4f0bf6e1d9"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~42 LoC): no import path from any entry point (14 application, 1 tooling, 0 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/WeixinDev/diagnose.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1f922c219c41a869da3d97aca299890230af7518894342448d70310512e5173"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~38 LoC): no import path from any entry point (14 application, 1 tooling, 0 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.WxOpen/src/Senparc.Weixin.WxOpen.AppDemo/utils/senparc.websocket.1.0.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6f9e0ce47ac53bb685f75a1343fd220e521243c35b628c845ac51c2344c2774"}},{"ruleId":"R7","level":"warning","message":{"text":"Contributed command \u0027weixindev.openSidebar\u0027 is never registered: tools/WeixinDev/package.json contributes this command, so VS Code offers it in the palette and in every menu or keybinding that cites it \u2014 but no source file calls registerCommand with this id, and the id occurs in no source string at all; invoking it fails with \u0022command \u0027weixindev.openSidebar\u0027 not found\u0022. The source does register 1 command(s) by literal (\u0027weixindev.insertWeixinInterface\u0027), which is what makes the absence provable. Register it at activation, or delete the contribution together with the menu and keybinding entries that reference it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/WeixinDev/package.json"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf2a1e6a5444114ce93a43ecddb6e0e8294a65916560cb4a5831e63066199c28"}},{"ruleId":"R7","level":"warning","message":{"text":"Contributed command \u0027weixindev.refreshWebview\u0027 is never registered: tools/WeixinDev/package.json contributes this command, so VS Code offers it in the palette and in every menu or keybinding that cites it \u2014 but no source file calls registerCommand with this id, and the id occurs in no source string at all; invoking it fails with \u0022command \u0027weixindev.refreshWebview\u0027 not found\u0022. The source does register 1 command(s) by literal (\u0027weixindev.insertWeixinInterface\u0027), which is what makes the absence provable. Register it at activation, or delete the contribution together with the menu and keybinding entries that reference it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/WeixinDev/package.json"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e51906e7140af11ba9edf439fa9f1730acb7182cd6a4c6d7279de792f65e69e"}},{"ruleId":"R7","level":"warning","message":{"text":"Stale committed build artefact \u2014 its source no longer exists: tools/WeixinDev/out/extension-backup.js.map sits in \u0027tools/WeixinDev/out\u0027, which tools/WeixinDev/tsconfig.json declares as this project\u0027s outDir, so it is committed compiler output; the map itself records that it was generated from \u0027tools/WeixinDev/src/extension-backup.ts\u0027, and no such file exists in the repository \u2014 its emitted file is already gone, only the map was left behind. 4 other map(s) in the same directory resolve to sources that do exist, which is what makes the absence provable rather than a path-resolution gap. Delete the orphaned artefact(s), or stop committing the output directory and let the build produce it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/WeixinDev/out/extension-backup.js.map"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"55161444388a3315bab2856fe0159c857abd6f7921add55ebe7a3efad8d81ea5"}},{"ruleId":"R7","level":"warning","message":{"text":"Stale committed build artefact \u2014 its source no longer exists: tools/WeixinDev/out/extension-complex.js.map sits in \u0027tools/WeixinDev/out\u0027, which tools/WeixinDev/tsconfig.json declares as this project\u0027s outDir, so it is committed compiler output; the map itself records that it was generated from \u0027tools/WeixinDev/src/extension-complex.ts\u0027, and no such file exists in the repository \u2014 its emitted file is already gone, only the map was left behind. 4 other map(s) in the same directory resolve to sources that do exist, which is what makes the absence provable rather than a path-resolution gap. Delete the orphaned artefact(s), or stop committing the output directory and let the build produce it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/WeixinDev/out/extension-complex.js.map"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"841175e6eb2dc1a19122077e4e5eed70fd55d0ef871d5d5238e47ba09ae1a786"}},{"ruleId":"R7","level":"warning","message":{"text":"Stale committed build artefact \u2014 its source no longer exists: tools/WeixinDev/out/extension-minimal.js.map sits in \u0027tools/WeixinDev/out\u0027, which tools/WeixinDev/tsconfig.json declares as this project\u0027s outDir, so it is committed compiler output; the map itself records that it was generated from \u0027tools/WeixinDev/src/extension-minimal.ts\u0027, and no such file exists in the repository \u2014 its emitted file is already gone, only the map was left behind. 4 other map(s) in the same directory resolve to sources that do exist, which is what makes the absence provable rather than a path-resolution gap. Delete the orphaned artefact(s), or stop committing the output directory and let the build produce it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/WeixinDev/out/extension-minimal.js.map"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ebcd7437c728d8867b37e121260945600b6e93256ae0cd886786a6c48e09fae"}},{"ruleId":"R7","level":"warning","message":{"text":"Stale committed build artefact \u2014 its source no longer exists: tools/WeixinDev/out/extension-simple.js.map sits in \u0027tools/WeixinDev/out\u0027, which tools/WeixinDev/tsconfig.json declares as this project\u0027s outDir, so it is committed compiler output; the map itself records that it was generated from \u0027tools/WeixinDev/src/extension-simple.ts\u0027, and no such file exists in the repository \u2014 its emitted file is already gone, only the map was left behind. 4 other map(s) in the same directory resolve to sources that do exist, which is what makes the absence provable rather than a path-resolution gap. Delete the orphaned artefact(s), or stop committing the output directory and let the build produce it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/WeixinDev/out/extension-simple.js.map"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8027100090decdd15e8d2b9b6dc84eb186ce48911a8e73e9a56181a3569f52e8"}},{"ruleId":"R8","level":"warning","message":{"text":"Unused dependency \u0027sharp\u0027: Declared in tools/WeixinBrowserPlugin/package.json but never imported anywhere in that package or its workspace members \u2014 no static import reaches it. Usually that is dead weight and attack surface, but two shapes are indistinguishable from source and are NOT dead: an optional or native peer that another dependency loads dynamically at runtime, and a package a build, docs or test step installs and invokes separately. Confirm which of the three this is before removing it."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"958cbc3e1301f7cff0c76b98c782910cbd272652052a73c794c98dc9aa7a715a"}},{"ruleId":"S1","level":"warning","message":{"text":"Weak hash algorithm: MD5/SHA1 is constructed here, and both are collision-broken. If this digest protects anything \u2014 a signature, an integrity or tamper check, a credential, or any value an attacker can influence \u2014 that is a real weakness: use SHA-256\u002B for content integrity, or a KDF (PBKDF2/Argon2/BCrypt) for password storage. If it only derives a non-security identifier (a cache key, a file or mutex name), collision resistance carries no security consequence here; make that intent explicit instead \u2014 a non-cryptographic hash such as \u0060System.IO.Hashing.XxHash64\u0060/\u0060Crc32\u0060 says it in code \u2014 since the algorithm alone cannot distinguish the two uses. This repository constructs a collision-broken hash (MD5/SHA1) at 7 sites, not one: \u0060src/Senparc.Weixin.MP/Senparc.Weixin.MP/CheckSignature.cs:107\u0060 (SHA1), \u0060src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Helpers/TenPayDownloadHelper.cs:133\u0060 (MD5), \u0060src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Helpers/TenPayDownloadHelper.cs:135\u0060 (SHA1), \u0060src/Senparc.Weixin.Work/Senparc.Weixin.Work/Tencent/WXBizMsgCrypt.cs:353\u0060 (SHA1CryptoServiceProvider), \u0060src/Senparc.Weixin.Work/Senparc.Weixin.Work/Tencent/WXBizMsgCrypt.cs:355\u0060 (SHA1), \u0060src/Senparc.Weixin/Senparc.Weixin/Tencent/WXBizMsgCrypt.cs:285\u0060 (SHA1CryptoServiceProvider), \u0060src/Senparc.Weixin/Senparc.Weixin/Tencent/WXBizMsgCrypt.cs:287\u0060 (SHA1). Each is a separate decision \u2014 fixing only the line this row cites leaves the others in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.Work/Senparc.Weixin.Work/Tencent/WXBizMsgCrypt.cs"},"region":{"startLine":353}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a83391e29cc3ba4831c26aca1103f374a5d72e6fa3091d7ffc6ac506f40cae9"}},{"ruleId":"S1","level":"error","message":{"text":"Weak hash is the integrity check: A digest from \u0060GenarateSinature\u0060 (MD5/SHA1) is compared against an expected value here, and a mismatch rejects the input \u2014 so a collision-broken hash IS the integrity check."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.Work.Middleware/MessageHandlers/Middleware/WorkMessageHandlerMiddleware.cs"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"ceb99fdf2a6a83a2389879aa33db8e3f6e3c5fd9629a142c7eefdd1ea83414b5"}},{"ruleId":"S1","level":"warning","message":{"text":"Weak cipher: DES / 3DES / RijndaelManaged-bare is deprecated or broken. Use AES-GCM via \u0060Aes.Create()\u0060 with explicit key/iv sizes. This repository constructs a broken or deprecated cipher at 7 sites, not one: \u0060src/Senparc.Weixin.Work/Senparc.Weixin.Work/Tencent/Cryptography.cs:126\u0060 (RijndaelManaged), \u0060src/Senparc.Weixin.Work/Senparc.Weixin.Work/Tencent/Cryptography.cs:158\u0060 (RijndaelManaged), \u0060src/Senparc.Weixin.Work/Senparc.Weixin.Work/Tencent/Cryptography.cs:233\u0060 (RijndaelManaged), \u0060src/Senparc.Weixin.WxOpen/src/Senparc.Weixin.WxOpen/Senparc.Weixin.WxOpen/Helpers/EncryptHelper.cs:132\u0060 (RijndaelManaged), \u0060src/Senparc.Weixin/Senparc.Weixin/Tencent/Cryptography.cs:146\u0060 (RijndaelManaged), \u0060src/Senparc.Weixin/Senparc.Weixin/Tencent/Cryptography.cs:178\u0060 (RijndaelManaged), \u0060src/Senparc.Weixin/Senparc.Weixin/Tencent/Cryptography.cs:253\u0060 (RijndaelManaged). Each is a separate decision \u2014 fixing only the line this row cites leaves the others in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.Work/Senparc.Weixin.Work/Tencent/Cryptography.cs"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"3154460e463ff0359bf0e0fce4fbbbc2cfb9b41d56b01e0fad78576990920598"}},{"ruleId":"SC1","level":"warning","message":{"text":"NuGet dependencies are not locked: No packages.lock.json and no central package management \u2014 restores aren\u0027t reproducible or pinned (SSDF PW.4.4). Enable \u003CRestorePackagesWithLockFile\u003Etrue\u003C/RestorePackagesWithLockFile\u003E (commit the lockfile) or adopt Directory.Packages.props. Advisory \u2014 never scored."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"0a97b4f69ccac509400ece7eedefb06d3ede0522cd4d8bcb5c068bea719545a6"}},{"ruleId":"X1","level":"warning","message":{"text":"Sync-over-async (deadlock risk): Blocking on a Task with \u0060.Wait()\u0060/\u0060.GetAwaiter().GetResult()\u0060 can deadlock (and wastes a thread). Prefer awaiting it: make the caller \u0060async\u0060 and \u0060await\u0060 instead. Where a synchronous entry point must stay \u2014 a public sync API you cannot break, or a process entry point that must not return until the work finishes \u2014 the block belongs in ONE documented bridge and never inside code that is already async; and where it already is that bridge, give the wait a TIMEOUT so a hung task fails the call instead of hanging the process."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.Work/Senparc.Weixin.Work/Containers/AccessTokenContainer.cs"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"d41b1e009bcc077f4bfc176f7f23bcfe053683d7a00d28a2cbb966080a6b742b"}},{"ruleId":"X1","level":"warning","message":{"text":"Sync-over-async (deadlock risk): Blocking on a Task with \u0060.Wait()\u0060/\u0060.GetAwaiter().GetResult()\u0060 can deadlock (and wastes a thread). Prefer awaiting it: make the caller \u0060async\u0060 and \u0060await\u0060 instead. Where a synchronous entry point must stay \u2014 a public sync API you cannot break, or a process entry point that must not return until the work finishes \u2014 the block belongs in ONE documented bridge and never inside code that is already async; and where it already is that bridge, give the wait a TIMEOUT so a hung task fails the call instead of hanging the process."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.Work/Senparc.Weixin.Work/Containers/JsApiTicketContainer.cs"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb104f841fac65575ab61812df298fe7a7054cd5ba3d2d59ca2d687832066b5f"}},{"ruleId":"X1","level":"warning","message":{"text":"Sync-over-async (deadlock risk): Blocking on a Task with \u0060.Wait()\u0060/\u0060.GetAwaiter().GetResult()\u0060 can deadlock (and wastes a thread). Prefer awaiting it: make the caller \u0060async\u0060 and \u0060await\u0060 instead. Where a synchronous entry point must stay \u2014 a public sync API you cannot break, or a process entry point that must not return until the work finishes \u2014 the block belongs in ONE documented bridge and never inside code that is already async; and where it already is that bridge, give the wait a TIMEOUT so a hung task fails the call instead of hanging the process."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.Work/Senparc.Weixin.Work/Containers/ProviderTokenContainer.cs"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"669823a172de89f59c8096212c75bb7452345fb2a5481a5f2d763ab7a7296c54"}},{"ruleId":"X1","level":"warning","message":{"text":"Sync-over-async (deadlock risk): Blocking on a Task with \u0060.Wait()\u0060/\u0060.GetAwaiter().GetResult()\u0060 can deadlock (and wastes a thread). Prefer awaiting it: make the caller \u0060async\u0060 and \u0060await\u0060 instead. Where a synchronous entry point must stay \u2014 a public sync API you cannot break, or a process entry point that must not return until the work finishes \u2014 the block belongs in ONE documented bridge and never inside code that is already async; and where it already is that bridge, give the wait a TIMEOUT so a hung task fails the call instead of hanging the process."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin/Senparc.Weixin/CommonAPIs/CommonJsonSend.cs"},"region":{"startLine":345}}}],"partialFingerprints":{"codehealthFindingId/v1":"528a0814740aa1733ac96d8ab6d0fded27cfbfd99f0d1bbc03ce4f9cade6aba4"}},{"ruleId":"X1","level":"warning","message":{"text":"Sync-over-async (deadlock risk): Blocking on a Task with \u0060.Wait()\u0060/\u0060.GetAwaiter().GetResult()\u0060 can deadlock (and wastes a thread). Prefer awaiting it: make the caller \u0060async\u0060 and \u0060await\u0060 instead. Where a synchronous entry point must stay \u2014 a public sync API you cannot break, or a process entry point that must not return until the work finishes \u2014 the block belongs in ONE documented bridge and never inside code that is already async; and where it already is that bridge, give the wait a TIMEOUT so a hung task fails the call instead of hanging the process."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin/Senparc.Weixin/CommonAPIs/CommonJsonSend.cs"},"region":{"startLine":356}}}],"partialFingerprints":{"codehealthFindingId/v1":"62b8b2d1f6c51f4399c5bb69e5a10f03fe67aae276ec85ed7e6af9dc04654f3a"}},{"ruleId":"X1","level":"warning","message":{"text":"Sync-over-async (deadlock risk): Blocking on a Task with \u0060.Wait()\u0060/\u0060.GetAwaiter().GetResult()\u0060 can deadlock (and wastes a thread). Prefer awaiting it: make the caller \u0060async\u0060 and \u0060await\u0060 instead. Where a synchronous entry point must stay \u2014 a public sync API you cannot break, or a process entry point that must not return until the work finishes \u2014 the block belongs in ONE documented bridge and never inside code that is already async; and where it already is that bridge, give the wait a TIMEOUT so a hung task fails the call instead of hanging the process."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin/Senparc.Weixin/Containers/BaseContainer.cs"},"region":{"startLine":522}}}],"partialFingerprints":{"codehealthFindingId/v1":"46634f70611bf550c57e70861b2a84c27cedb768917f1ff8aacbfb944f663896"}},{"ruleId":"X1","level":"warning","message":{"text":"Sync-over-async (deadlock risk): Blocking on a Task with \u0060.Wait()\u0060/\u0060.GetAwaiter().GetResult()\u0060 can deadlock (and wastes a thread). Prefer awaiting it: make the caller \u0060async\u0060 and \u0060await\u0060 instead. Where a synchronous entry point must stay \u2014 a public sync API you cannot break, or a process entry point that must not return until the work finishes \u2014 the block belongs in ONE documented bridge and never inside code that is already async; and where it already is that bridge, give the wait a TIMEOUT so a hung task fails the call instead of hanging the process."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.MP/Senparc.Weixin.MP/Containers/AccessTokenContainer.cs"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"2612b81d69755c9ddff2f66424d2fb7079d399227e8d27fecf4e4558f456630a"}},{"ruleId":"X1","level":"warning","message":{"text":"Sync-over-async (deadlock risk): Blocking on a Task with \u0060.Wait()\u0060/\u0060.GetAwaiter().GetResult()\u0060 can deadlock (and wastes a thread). Prefer awaiting it: make the caller \u0060async\u0060 and \u0060await\u0060 instead. Where a synchronous entry point must stay \u2014 a public sync API you cannot break, or a process entry point that must not return until the work finishes \u2014 the block belongs in ONE documented bridge and never inside code that is already async; and where it already is that bridge, give the wait a TIMEOUT so a hung task fails the call instead of hanging the process."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.MP/Senparc.Weixin.MP/Containers/JsApiTicketContainer.cs"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"549482165284b570b7c2bdd300ae5bbfc52662f41abe559c5a9ce1677bd32e6a"}},{"ruleId":"X1","level":"warning","message":{"text":"Sync-over-async (deadlock risk): Blocking on a Task with \u0060.Wait()\u0060/\u0060.GetAwaiter().GetResult()\u0060 can deadlock (and wastes a thread). Prefer awaiting it: make the caller \u0060async\u0060 and \u0060await\u0060 instead. Where a synchronous entry point must stay \u2014 a public sync API you cannot break, or a process entry point that must not return until the work finishes \u2014 the block belongs in ONE documented bridge and never inside code that is already async; and where it already is that bridge, give the wait a TIMEOUT so a hung task fails the call instead of hanging the process."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.MP/Senparc.Weixin.MP/Containers/OAuthAccessTokenContainer.cs"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"54e1383b93851f0493b5f0ce3f08c9cc43fa8e682ba29f80253a4efc5a3168f0"}},{"ruleId":"X1","level":"warning","message":{"text":"Sync-over-async (deadlock risk): Blocking on a Task with \u0060.Wait()\u0060/\u0060.GetAwaiter().GetResult()\u0060 can deadlock (and wastes a thread). Prefer awaiting it: make the caller \u0060async\u0060 and \u0060await\u0060 instead. Where a synchronous entry point must stay \u2014 a public sync API you cannot break, or a process entry point that must not return until the work finishes \u2014 the block belongs in ONE documented bridge and never inside code that is already async; and where it already is that bridge, give the wait a TIMEOUT so a hung task fails the call instead of hanging the process."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.MP/Senparc.Weixin.MP/Containers/WxCardApiTicketContainer.cs"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"4251433bf70c9826b104008537dffa27890ae076a721c618d80aa0039a4d90d6"}},{"ruleId":"X1","level":"warning","message":{"text":"Sync-over-async (deadlock risk): Blocking on a Task with \u0060.Wait()\u0060/\u0060.GetAwaiter().GetResult()\u0060 can deadlock (and wastes a thread). Prefer awaiting it: make the caller \u0060async\u0060 and \u0060await\u0060 instead. Where a synchronous entry point must stay \u2014 a public sync API you cannot break, or a process entry point that must not return until the work finishes \u2014 the block belongs in ONE documented bridge and never inside code that is already async; and where it already is that bridge, give the wait a TIMEOUT so a hung task fails the call instead of hanging the process."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.MP/Senparc.Weixin.MP/MessageHandlers/MessageHandler.cs"},"region":{"startLine":292}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d96f31b6756ce4334f68bf05e059e8ab386c9ee22b37bc6a7bc379c80509210"}},{"ruleId":"X1","level":"warning","message":{"text":"Sync-over-async (deadlock risk): Blocking on a Task with \u0060.Wait()\u0060/\u0060.GetAwaiter().GetResult()\u0060 can deadlock (and wastes a thread). Prefer awaiting it: make the caller \u0060async\u0060 and \u0060await\u0060 instead. Where a synchronous entry point must stay \u2014 a public sync API you cannot break, or a process entry point that must not return until the work finishes \u2014 the block belongs in ONE documented bridge and never inside code that is already async; and where it already is that bridge, give the wait a TIMEOUT so a hung task fails the call instead of hanging the process."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.Open/Senparc.Weixin.Open/Containers/AuthorizerContainer.cs"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"20da5fe7ecfd539db5662ea5c5ed19d8f1638a09611fb64616b5137938be6f2a"}},{"ruleId":"X1","level":"warning","message":{"text":"Sync-over-async (deadlock risk): Blocking on a Task with \u0060.Wait()\u0060/\u0060.GetAwaiter().GetResult()\u0060 can deadlock (and wastes a thread). Prefer awaiting it: make the caller \u0060async\u0060 and \u0060await\u0060 instead. Where a synchronous entry point must stay \u2014 a public sync API you cannot break, or a process entry point that must not return until the work finishes \u2014 the block belongs in ONE documented bridge and never inside code that is already async; and where it already is that bridge, give the wait a TIMEOUT so a hung task fails the call instead of hanging the process."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.Open/Senparc.Weixin.Open/Containers/AuthorizerContainer.cs"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"08a8b66a8471a04e31ef97db22c55abd67303a83f5f67a9b9b7a0ab2322950dd"}},{"ruleId":"X1","level":"warning","message":{"text":"Sync-over-async (deadlock risk): Blocking on a Task with \u0060.Wait()\u0060/\u0060.GetAwaiter().GetResult()\u0060 can deadlock (and wastes a thread). Prefer awaiting it: make the caller \u0060async\u0060 and \u0060await\u0060 instead. Where a synchronous entry point must stay \u2014 a public sync API you cannot break, or a process entry point that must not return until the work finishes \u2014 the block belongs in ONE documented bridge and never inside code that is already async; and where it already is that bridge, give the wait a TIMEOUT so a hung task fails the call instead of hanging the process."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.Open/Senparc.Weixin.Open/Containers/ComponentContainer.cs"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"64fda4d0c9be958a0c49471b624cbd8ca4ad333053eaa6bcd27c9f878d346d2c"}},{"ruleId":"X1","level":"warning","message":{"text":"Sync-over-async (deadlock risk): Blocking on a Task with \u0060.Wait()\u0060/\u0060.GetAwaiter().GetResult()\u0060 can deadlock (and wastes a thread). Prefer awaiting it: make the caller \u0060async\u0060 and \u0060await\u0060 instead. Where a synchronous entry point must stay \u2014 a public sync API you cannot break, or a process entry point that must not return until the work finishes \u2014 the block belongs in ONE documented bridge and never inside code that is already async; and where it already is that bridge, give the wait a TIMEOUT so a hung task fails the call instead of hanging the process."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.Open/Senparc.Weixin.Open/Containers/ComponentContainer.cs"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bf531d54f4e85d644d6d261a7c796c567c0a9de0fcaa2f72fdeda0fb1ea3e69"}},{"ruleId":"X1","level":"warning","message":{"text":"Sync-over-async (deadlock risk): Blocking on a Task with \u0060.Wait()\u0060/\u0060.GetAwaiter().GetResult()\u0060 can deadlock (and wastes a thread). Prefer awaiting it: make the caller \u0060async\u0060 and \u0060await\u0060 instead. Where a synchronous entry point must stay \u2014 a public sync API you cannot break, or a process entry point that must not return until the work finishes \u2014 the block belongs in ONE documented bridge and never inside code that is already async; and where it already is that bridge, give the wait a TIMEOUT so a hung task fails the call instead of hanging the process."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.Open/Senparc.Weixin.Open/MessageHandlers/ThirdPartyMessageHandler.cs"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a89f0ec59864b181ef696ec9df1bcdd472ccb931c5a00fd7f82e0e298717ac0"}},{"ruleId":"X1","level":"warning","message":{"text":"Sync-over-async (deadlock risk): Blocking on a Task with \u0060.Wait()\u0060/\u0060.GetAwaiter().GetResult()\u0060 can deadlock (and wastes a thread). Prefer awaiting it: make the caller \u0060async\u0060 and \u0060await\u0060 instead. Where a synchronous entry point must stay \u2014 a public sync API you cannot break, or a process entry point that must not return until the work finishes \u2014 the block belongs in ONE documented bridge and never inside code that is already async; and where it already is that bridge, give the wait a TIMEOUT so a hung task fails the call instead of hanging the process."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.WxOpen/src/Senparc.Weixin.WxOpen/Senparc.Weixin.WxOpen/Containers/AccessTokenContainer.cs"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bacd26d9b2cc136271e6b3c8ce622178a0f61bdee158d3ad0859f6e8ddca96b"}},{"ruleId":"X1","level":"warning","message":{"text":"Sync-over-async (deadlock risk): Blocking on a Task with \u0060.Wait()\u0060/\u0060.GetAwaiter().GetResult()\u0060 can deadlock (and wastes a thread). Prefer awaiting it: make the caller \u0060async\u0060 and \u0060await\u0060 instead. Where a synchronous entry point must stay \u2014 a public sync API you cannot break, or a process entry point that must not return until the work finishes \u2014 the block belongs in ONE documented bridge and never inside code that is already async; and where it already is that bridge, give the wait a TIMEOUT so a hung task fails the call instead of hanging the process."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/TenPay/TenPayApiV3Controller.cs"},"region":{"startLine":726}}}],"partialFingerprints":{"codehealthFindingId/v1":"3707ce4e8ee7f5e15742598b433fbfd102303fdd396a4ff1c595e3ebf6bb740c"}},{"ruleId":"X1","level":"warning","message":{"text":"Sync-over-async (deadlock risk): Blocking on a Task with \u0060.Wait()\u0060/\u0060.GetAwaiter().GetResult()\u0060 can deadlock (and wastes a thread). Prefer awaiting it: make the caller \u0060async\u0060 and \u0060await\u0060 instead. Where a synchronous entry point must stay \u2014 a public sync API you cannot break, or a process entry point that must not return until the work finishes \u2014 the block belongs in ONE documented bridge and never inside code that is already async; and where it already is that bridge, give the wait a TIMEOUT so a hung task fails the call instead of hanging the process."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Samples/All/Senparc.Weixin.Sample.CommonService/MessageHandlers/CustomMessageHandler/CustomMessageHandler.cs"},"region":{"startLine":341}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc0ac0950d051d748e2edf23b3e64dd76eea62a9c578bce2d61a966584be2720"}},{"ruleId":"X1","level":"warning","message":{"text":"Sync-over-async (deadlock risk): Blocking on a Task with \u0060.Wait()\u0060/\u0060.GetAwaiter().GetResult()\u0060 can deadlock (and wastes a thread). Prefer awaiting it: make the caller \u0060async\u0060 and \u0060await\u0060 instead. Where a synchronous entry point must stay \u2014 a public sync API you cannot break, or a process entry point that must not return until the work finishes \u2014 the block belongs in ONE documented bridge and never inside code that is already async; and where it already is that bridge, give the wait a TIMEOUT so a hung task fails the call instead of hanging the process."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Samples/All/Senparc.Weixin.Sample.CommonService/TemplateMessageService.cs"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"d238b2c1966e543fbac3fe8658de672bff1ba05f53333c1686f1f0e968180e74"}},{"ruleId":"X1","level":"warning","message":{"text":"Sync-over-async (deadlock risk): Blocking on a Task with \u0060.Wait()\u0060/\u0060.GetAwaiter().GetResult()\u0060 can deadlock (and wastes a thread). Prefer awaiting it: make the caller \u0060async\u0060 and \u0060await\u0060 instead. Where a synchronous entry point must stay \u2014 a public sync API you cannot break, or a process entry point that must not return until the work finishes \u2014 the block belongs in ONE documented bridge and never inside code that is already async; and where it already is that bridge, give the wait a TIMEOUT so a hung task fails the call instead of hanging the process."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/HttpHandlers/TenPayNotifyHandler.cs"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6250a0ee03930da4aa0bad233a4c4d5d5d55375b0ca516a794ce03640fd4c64"}},{"ruleId":"X1","level":"warning","message":{"text":"Sync-over-async (deadlock risk): Blocking on a Task with \u0060.Wait()\u0060/\u0060.GetAwaiter().GetResult()\u0060 can deadlock (and wastes a thread). Prefer awaiting it: make the caller \u0060async\u0060 and \u0060await\u0060 instead. Where a synchronous entry point must stay \u2014 a public sync API you cannot break, or a process entry point that must not return until the work finishes \u2014 the block belongs in ONE documented bridge and never inside code that is already async; and where it already is that bridge, give the wait a TIMEOUT so a hung task fails the call instead of hanging the process."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/HttpHandlers/TenPayNotifyHandler.cs"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"c07fcc012a9a0c7e6c5d6d9cc17de59ba6639195f8677a96f0c7255075fa7da5"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!string.IsNullOrWhiteSpace(responseText) \u0026\u0026 responseText.TrimStart().StartsWith(\u0022{\u0022)\u0060 appears character-identically in 2 files \u2014 src/Senparc.Weixin.MP/Senparc.Weixin.MP/AdvancedAPIs/NonTaxPay/NonTaxPayApi.cs, src/Senparc.Weixin.WxOpen/src/Senparc.Weixin.WxOpen/Senparc.Weixin.WxOpen/AdvancedAPIs/Delivery/DeliveryProviderApi.cs. 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":"src/Senparc.Weixin.MP/Senparc.Weixin.MP/AdvancedAPIs/NonTaxPay/NonTaxPayApi.cs"},"region":{"startLine":435}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d5bacbc171864afa0bfc8a209c5a197e19182d015f00f05f23a8997595969a2"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060_postModel != null \u0026\u0026 !_postModel.Token.IsNullOrWhiteSpace() \u0026\u0026 postDataDocument.Root.Element(\u0022Encrypt\u0022) != null \u0026\u0026 !string.IsNullOrEmpty(po\u2026\u0060 appears character-identically in 2 files \u2014 src/Senparc.Weixin.MP/Senparc.Weixin.MP/MessageHandlers/MessageHandler.cs, src/Senparc.Weixin.WxOpen/src/Senparc.Weixin.WxOpen/Senparc.Weixin.WxOpen/MessageHandlers/WxOpenMessageHandler.cs. 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":"src/Senparc.Weixin.MP/Senparc.Weixin.MP/MessageHandlers/MessageHandler.cs"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"39c30eb849e3dc30cb3beb407a199a603314dcfd2b28f20ebce323b06665332e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060fullButton.ContainsKey(\u0022key\u0022) \u0026\u0026 !string.IsNullOrEmpty(fullButton[\u0022key\u0022] as string)\u0060 appears character-identically in 2 files \u2014 src/Senparc.Weixin.MP/Senparc.Weixin.MP/CommonAPIs/Menu/CommonApi.Menu.Custom.cs, src/Senparc.Weixin.Work/Senparc.Weixin.Work/CommonAPIs/CommonApi.Menu.cs. 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":"src/Senparc.Weixin.Work/Senparc.Weixin.Work/CommonAPIs/CommonApi.Menu.cs"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fbf0d9d30ba17daa6d37b0b870ec81311753b7f1612db64e0cfaae541c0a591"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060fullResult != null \u0026\u0026 fullResult.ContainsKey(\u0022errmsg\u0022)\u0060 appears character-identically in 2 files \u2014 src/Senparc.Weixin.MP/Senparc.Weixin.MP/CommonAPIs/Menu/CommonApi.Menu.Custom.cs, src/Senparc.Weixin.Work/Senparc.Weixin.Work/CommonAPIs/CommonApi.Menu.cs. 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":"src/Senparc.Weixin.Work/Senparc.Weixin.Work/CommonAPIs/CommonApi.Menu.cs"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"997e8f8fb46bdae01957f5f5daf165139b7f61504006addef897ea5fd4be9a47"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060fullResult != null \u0026\u0026 fullResult.ContainsKey(\u0022menu\u0022)\u0060 appears character-identically in 2 files \u2014 src/Senparc.Weixin.MP/Senparc.Weixin.MP/CommonAPIs/Menu/CommonApi.Menu.Custom.cs, src/Senparc.Weixin.Work/Senparc.Weixin.Work/CommonAPIs/CommonApi.Menu.cs. 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":"src/Senparc.Weixin.Work/Senparc.Weixin.Work/CommonAPIs/CommonApi.Menu.cs"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"926a537675a84cece5b72646cca5dd0bc9c327c6a4faf0facf802dc6d423f5ab"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060httpContext != null \u0026\u0026 httpContext.Session.GetString(\u0022OpenId\u0022) != null\u0060 appears character-identically in 3 files \u2014 Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Filters/CustomOAuthAttribute.cs, Samples/TenPayV2/Senparc.Weixin.Sample.TenPayV2/Filters/CustomOAuthAttribute.cs, Samples/TenPayV3/Senparc.Weixin.Sample.TenPayV3/Filters/CustomOAuthAttribute.cs. 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":"Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Filters/CustomOAuthAttribute.cs"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfd2879395eb378441d97b8abf10423c9469a574352aaaa2ee1bdd4dc7e0f1fb"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060null != v \u0026\u0026 \u0022\u0022.CompareTo(v) != 0 \u0026\u0026 \u0022sign\u0022.CompareTo(k) != 0 \u0026\u0026 \u0022key\u0022.CompareTo(k) != 0\u0060 appears character-identically in 7 files \u2014 src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V2/CheckRequestHandler.cs, src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V2/ClientRequestHandler.cs, src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V2/ClientResponseHandler.cs, src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V2/RefundResponseHandler.cs. 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":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V2/CheckRequestHandler.cs"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"01eddbcb74384a6a6f650b53c5c566c7274f0a849d0c28a5484555b2c3aac5db"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060postDataDocument.Root.Element(\u0022FromUserName\u0022) != null \u0026\u0026 !string.IsNullOrEmpty(postDataDocument.Root.Element(\u0022FromUserName\u0022).Value)\u0060 appears character-identically in 2 files \u2014 src/Senparc.Weixin.MP/Senparc.Weixin.MP/MessageHandlers/MessageHandler.cs, src/Senparc.Weixin.WxOpen/src/Senparc.Weixin.WxOpen/Senparc.Weixin.WxOpen/MessageHandlers/WxOpenMessageHandler.cs. 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":"src/Senparc.Weixin.MP/Senparc.Weixin.MP/MessageHandlers/MessageHandler.cs"},"region":{"startLine":266}}}],"partialFingerprints":{"codehealthFindingId/v1":"d268219f744b653eb42c155d02fbb71bc2b0f1ad5cd30c750b68fdca97f16ae3"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060resHandler.IsTenpaySign() \u0026\u0026 return_code.ToUpper() == \u0022SUCCESS\u0022\u0060 appears character-identically in 2 files \u2014 Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/TenPay/TenPayV3Controller.cs, Samples/TenPayV2/Senparc.Weixin.Sample.TenPayV2/Controllers/TenPayV3Controller.cs. 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":"Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/TenPay/TenPayV3Controller.cs"},"region":{"startLine":489}}}],"partialFingerprints":{"codehealthFindingId/v1":"524fb3d7d9248643ff09815be70ba22bbbfd2b6ecaea03f0eba72deaa7eb4784"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060rootButton.type == null || (rootButton.type.Equals(\u0022CLICK\u0022, StringComparison.OrdinalIgnoreCase) \u0026\u0026 string.IsNullOrEmpty(rootButton.key))\u0060 appears character-identically in 2 files \u2014 src/Senparc.Weixin.MP/Senparc.Weixin.MP/CommonAPIs/Menu/CommonApi.Menu.Common.cs, src/Senparc.Weixin.Work/Senparc.Weixin.Work/CommonAPIs/CommonApi.Menu.cs. 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":"src/Senparc.Weixin.Work/Senparc.Weixin.Work/CommonAPIs/CommonApi.Menu.cs"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2b7de3aa5140e6d0d215fe1781488bf81e3d1c5c2e152deb4bf3b567b0281c4"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060subSubButton.type.Equals(\u0022CLICK\u0022, StringComparison.OrdinalIgnoreCase) \u0026\u0026 string.IsNullOrEmpty(subSubButton.key)\u0060 appears character-identically in 2 files \u2014 src/Senparc.Weixin.MP/Senparc.Weixin.MP/CommonAPIs/Menu/CommonApi.Menu.Common.cs, src/Senparc.Weixin.Work/Senparc.Weixin.Work/CommonAPIs/CommonApi.Menu.cs. 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":"src/Senparc.Weixin.Work/Senparc.Weixin.Work/CommonAPIs/CommonApi.Menu.cs"},"region":{"startLine":341}}}],"partialFingerprints":{"codehealthFindingId/v1":"088a2c5d0c58c85c167f896dd4c0be6d19d91c5fc63e49b33444891d8c216c2e"}},{"ruleId":"X18","level":"warning","message":{"text":"Disposable created and abandoned in the method that made it: \u0060sha1\u0060 is a \u0060SHA1\u0060, which implements \u0060IDisposable\u0060, and it is created here (line 107). Every use of it in \u0060GetSignature\u0060 reads a member through it \u2014 it is never returned, never stored, never handed to anything else, and never disposed \u2014 so this method both creates the value and is the last thing that can release it, and does not. Nothing announces the leak: the object holds its resource until finalization if its type has a finalizer, and until the process ends if it does not, so the cost accumulates once per CALL rather than showing up as a failure. Declare it with \u0060using\u0060 (\u0060using var sha1 = \u2026;\u0060), which releases it at the end of the scope on every path including a throw."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.MP/Senparc.Weixin.MP/CheckSignature.cs"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5286dc099ec151b1c873f1860d845f270d43431332a0de87c31fb80ff440343"}},{"ruleId":"X18","level":"warning","message":{"text":"Disposable created and abandoned in the method that made it: \u0060aes\u0060 is a \u0060RijndaelManaged\u0060, which implements \u0060IDisposable\u0060, and it is created here (line 132). Every use of it in \u0060AES_Decrypt\u0060 reads a member through it \u2014 it is never returned, never stored, never handed to anything else, and never disposed \u2014 so this method both creates the value and is the last thing that can release it, and does not. Nothing announces the leak: the object holds its resource until finalization if its type has a finalizer, and until the process ends if it does not, so the cost accumulates once per CALL rather than showing up as a failure. Declare it with \u0060using\u0060 (\u0060using var aes = \u2026;\u0060), which releases it at the end of the scope on every path including a throw."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.WxOpen/src/Senparc.Weixin.WxOpen/Senparc.Weixin.WxOpen/Helpers/EncryptHelper.cs"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"33442e07b7d51fddfd66c9455dfacea600762d624f091d8558d0b80645019ca1"}},{"ruleId":"X18","level":"warning","message":{"text":"Disposable created and abandoned in the method that made it: \u0060cs\u0060 is a \u0060CryptoStream\u0060, which implements \u0060IDisposable\u0060, and it is created here (line 184). Every use of it in \u0060AES_Decrypt\u0060 reads a member through it \u2014 it is never returned, never stored, never handed to anything else, and never disposed \u2014 so this method both creates the value and is the last thing that can release it, and does not. Nothing announces the leak: the object holds its resource until finalization if its type has a finalizer, and until the process ends if it does not, so the cost accumulates once per CALL rather than showing up as a failure. Declare it with \u0060using\u0060 (\u0060using var cs = \u2026;\u0060), which releases it at the end of the scope on every path including a throw."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.WxOpen/src/Senparc.Weixin.WxOpen/Senparc.Weixin.WxOpen/Helpers/EncryptHelper.cs"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"321bcadb6b0b8b8b1f3bdab851c4a172e2c57f9f6eebd922f3e964ca13d46d08"}},{"ruleId":"X18","level":"warning","message":{"text":"Disposable created and abandoned in the method that made it: \u0060fs\u0060 is a \u0060FileStream\u0060, which implements \u0060IDisposable\u0060, and it is created here (line 139). Every use of it in \u0060Download\u0060 reads a member through it \u2014 it is never returned, never stored, never handed to anything else, and never disposed \u2014 so this method both creates the value and is the last thing that can release it, and does not. Nothing announces the leak: the object holds its resource until finalization if its type has a finalizer, and until the process ends if it does not, so the cost accumulates once per CALL rather than showing up as a failure. Declare it with \u0060using\u0060 (\u0060using var fs = \u2026;\u0060), which releases it at the end of the scope on every path including a throw."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Tools/DocumentController.cs"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5b46b45fee2aac0ec5d98c1026817174d118e44411b286b2ddbe10948c1d783"}},{"ruleId":"X18","level":"warning","message":{"text":"Disposable created and abandoned in the method that made it: \u0060bitmap\u0060 is a \u0060Bitmap\u0060, which implements \u0060IDisposable\u0060, and it is created here (line 102). Every use of it in \u0060Index\u0060 reads a member through it \u2014 it is never returned, never stored, never handed to anything else, and never disposed \u2014 so this method both creates the value and is the last thing that can release it, and does not. Nothing announces the leak: the object holds its resource until finalization if its type has a finalizer, and until the process ends if it does not, so the cost accumulates once per CALL rather than showing up as a failure. Declare it with \u0060using\u0060 (\u0060using var bitmap = \u2026;\u0060), which releases it at the end of the scope on every path including a throw."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Tools/QrCodeController.cs"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5dfbd26ad2f2772633f001435c2a09f843dc6e5e0b03a596b7e564ed1042be3"}},{"ruleId":"X18","level":"warning","message":{"text":"Disposable created and abandoned in the method that made it: \u0060bitmap\u0060 is a \u0060Bitmap\u0060, which implements \u0060IDisposable\u0060, and it is created here (line 264). Every use of it in \u0060Native\u0060 reads a member through it \u2014 it is never returned, never stored, never handed to anything else, and never disposed \u2014 so this method both creates the value and is the last thing that can release it, and does not. Nothing announces the leak: the object holds its resource until finalization if its type has a finalizer, and until the process ends if it does not, so the cost accumulates once per CALL rather than showing up as a failure. Declare it with \u0060using\u0060 (\u0060using var bitmap = \u2026;\u0060), which releases it at the end of the scope on every path including a throw."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/TenPay/TenPayV3Controller.cs"},"region":{"startLine":264}}}],"partialFingerprints":{"codehealthFindingId/v1":"88218378754a857a672002829bd0af1063f6c579362dc7b097ab5e04ce3033cd"}},{"ruleId":"X18","level":"warning","message":{"text":"Disposable created and abandoned in the method that made it: \u0060fileStream\u0060 is a \u0060MemoryStream\u0060, which implements \u0060IDisposable\u0060, and it is created here (line 266). Every use of it in \u0060Native\u0060 reads a member through it \u2014 it is never returned, never stored, never handed to anything else, and never disposed \u2014 so this method both creates the value and is the last thing that can release it, and does not. Nothing announces the leak: the object holds its resource until finalization if its type has a finalizer, and until the process ends if it does not, so the cost accumulates once per CALL rather than showing up as a failure. Declare it with \u0060using\u0060 (\u0060using var fileStream = \u2026;\u0060), which releases it at the end of the scope on every path including a throw."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/TenPay/TenPayV3Controller.cs"},"region":{"startLine":266}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc4b1da1eb170a440dc21eeffc6e1744d7ac0fdc7940da71195f893243d39df9"}},{"ruleId":"X18","level":"warning","message":{"text":"Disposable created and abandoned in the method that made it: \u0060streamReader\u0060 is a \u0060StreamReader\u0060, which implements \u0060IDisposable\u0060, and it is created here (line 910). Every use of it in \u0060SendGroupRedPack\u0060 reads a member through it \u2014 it is never returned, never stored, never handed to anything else, and never disposed \u2014 so this method both creates the value and is the last thing that can release it, and does not. Nothing announces the leak: the object holds its resource until finalization if its type has a finalizer, and until the process ends if it does not, so the cost accumulates once per CALL rather than showing up as a failure. Declare it with \u0060using\u0060 (\u0060using var streamReader = \u2026;\u0060), which releases it at the end of the scope on every path including a throw."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/TenPay/TenPayV3Controller.cs"},"region":{"startLine":910}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9ce7d594cc913e200c58b932d7d1f77afc4e38eb79da2c8c33d84ac8eb90a13"}},{"ruleId":"X18","level":"warning","message":{"text":"Disposable created and abandoned in the method that made it: \u0060streamReader\u0060 is a \u0060StreamReader\u0060, which implements \u0060IDisposable\u0060, and it is created here (line 958). Every use of it in \u0060GetHBInfo\u0060 reads a member through it \u2014 it is never returned, never stored, never handed to anything else, and never disposed \u2014 so this method both creates the value and is the last thing that can release it, and does not. Nothing announces the leak: the object holds its resource until finalization if its type has a finalizer, and until the process ends if it does not, so the cost accumulates once per CALL rather than showing up as a failure. Declare it with \u0060using\u0060 (\u0060using var streamReader = \u2026;\u0060), which releases it at the end of the scope on every path including a throw."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/TenPay/TenPayV3Controller.cs"},"region":{"startLine":958}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e89de9bcce61a4da5a1dcef79efce373ae04d0119ae944040a799aa8eb23fcd"}},{"ruleId":"X18","level":"warning","message":{"text":"Disposable created and abandoned in the method that made it: \u0060bitmap\u0060 is a \u0060Bitmap\u0060, which implements \u0060IDisposable\u0060, and it is created here (line 1022). Every use of it in \u0060ProductPayCode\u0060 reads a member through it \u2014 it is never returned, never stored, never handed to anything else, and never disposed \u2014 so this method both creates the value and is the last thing that can release it, and does not. Nothing announces the leak: the object holds its resource until finalization if its type has a finalizer, and until the process ends if it does not, so the cost accumulates once per CALL rather than showing up as a failure. Declare it with \u0060using\u0060 (\u0060using var bitmap = \u2026;\u0060), which releases it at the end of the scope on every path including a throw."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/TenPay/TenPayV3Controller.cs"},"region":{"startLine":1022}}}],"partialFingerprints":{"codehealthFindingId/v1":"66c3592dd6e740e0ab726542f663ed5f329920e8c060b2f372747ad4a997568e"}},{"ruleId":"X18","level":"warning","message":{"text":"Disposable created and abandoned in the method that made it: \u0060bitmap\u0060 is a \u0060Bitmap\u0060, which implements \u0060IDisposable\u0060, and it is created here (line 27). Every use of it in \u0060GerQrCodeStream\u0060 reads a member through it \u2014 it is never returned, never stored, never handed to anything else, and never disposed \u2014 so this method both creates the value and is the last thing that can release it, and does not. Nothing announces the leak: the object holds its resource until finalization if its type has a finalizer, and until the process ends if it does not, so the cost accumulates once per CALL rather than showing up as a failure. Declare it with \u0060using\u0060 (\u0060using var bitmap = \u2026;\u0060), which releases it at the end of the scope on every path including a throw."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Samples/All/Senparc.Weixin.Sample.CommonService/Utilities/QrCodeHelper.cs"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6bb947881bedac0356af363b775d3566ed1a4bbaec9ab1e62a9d58f0dcf5241"}},{"ruleId":"X18","level":"warning","message":{"text":"Disposable created and abandoned in the method that made it: \u0060bitmap\u0060 is a \u0060Bitmap\u0060, which implements \u0060IDisposable\u0060, and it is created here (line 345). Every use of it in \u0060Native\u0060 reads a member through it \u2014 it is never returned, never stored, never handed to anything else, and never disposed \u2014 so this method both creates the value and is the last thing that can release it, and does not. Nothing announces the leak: the object holds its resource until finalization if its type has a finalizer, and until the process ends if it does not, so the cost accumulates once per CALL rather than showing up as a failure. Declare it with \u0060using\u0060 (\u0060using var bitmap = \u2026;\u0060), which releases it at the end of the scope on every path including a throw."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Samples/TenPayV2/Senparc.Weixin.Sample.TenPayV2/Controllers/TenPayV3Controller.cs"},"region":{"startLine":345}}}],"partialFingerprints":{"codehealthFindingId/v1":"f948042ad31bb506fe52750c7c95eaf4d2c509de72e6809856e9083f4ab5cf7e"}},{"ruleId":"X18","level":"warning","message":{"text":"Disposable created and abandoned in the method that made it: \u0060fileStream\u0060 is a \u0060MemoryStream\u0060, which implements \u0060IDisposable\u0060, and it is created here (line 347). Every use of it in \u0060Native\u0060 reads a member through it \u2014 it is never returned, never stored, never handed to anything else, and never disposed \u2014 so this method both creates the value and is the last thing that can release it, and does not. Nothing announces the leak: the object holds its resource until finalization if its type has a finalizer, and until the process ends if it does not, so the cost accumulates once per CALL rather than showing up as a failure. Declare it with \u0060using\u0060 (\u0060using var fileStream = \u2026;\u0060), which releases it at the end of the scope on every path including a throw."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Samples/TenPayV2/Senparc.Weixin.Sample.TenPayV2/Controllers/TenPayV3Controller.cs"},"region":{"startLine":347}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebe2c10782f43e0953a1d0fad887e299240de899b5e1f93dca1c0af8e6b5b75c"}},{"ruleId":"X18","level":"warning","message":{"text":"Disposable created and abandoned in the method that made it: \u0060streamReader\u0060 is a \u0060StreamReader\u0060, which implements \u0060IDisposable\u0060, and it is created here (line 914). Every use of it in \u0060SendGroupRedPack\u0060 reads a member through it \u2014 it is never returned, never stored, never handed to anything else, and never disposed \u2014 so this method both creates the value and is the last thing that can release it, and does not. Nothing announces the leak: the object holds its resource until finalization if its type has a finalizer, and until the process ends if it does not, so the cost accumulates once per CALL rather than showing up as a failure. Declare it with \u0060using\u0060 (\u0060using var streamReader = \u2026;\u0060), which releases it at the end of the scope on every path including a throw."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Samples/TenPayV2/Senparc.Weixin.Sample.TenPayV2/Controllers/TenPayV3Controller.cs"},"region":{"startLine":914}}}],"partialFingerprints":{"codehealthFindingId/v1":"b877d2e0d3888aa0de356823308510f8d6f2a02338d8ff83102298cf30a7614a"}},{"ruleId":"X18","level":"warning","message":{"text":"Disposable created and abandoned in the method that made it: \u0060streamReader\u0060 is a \u0060StreamReader\u0060, which implements \u0060IDisposable\u0060, and it is created here (line 962). Every use of it in \u0060GetHBInfo\u0060 reads a member through it \u2014 it is never returned, never stored, never handed to anything else, and never disposed \u2014 so this method both creates the value and is the last thing that can release it, and does not. Nothing announces the leak: the object holds its resource until finalization if its type has a finalizer, and until the process ends if it does not, so the cost accumulates once per CALL rather than showing up as a failure. Declare it with \u0060using\u0060 (\u0060using var streamReader = \u2026;\u0060), which releases it at the end of the scope on every path including a throw."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Samples/TenPayV2/Senparc.Weixin.Sample.TenPayV2/Controllers/TenPayV3Controller.cs"},"region":{"startLine":962}}}],"partialFingerprints":{"codehealthFindingId/v1":"22ac13cfbe98cca5813327ef5c7fcb22794839a952e649108284cffddd0cb650"}},{"ruleId":"X18","level":"warning","message":{"text":"Disposable created and abandoned in the method that made it: \u0060bitmap\u0060 is a \u0060Bitmap\u0060, which implements \u0060IDisposable\u0060, and it is created here (line 1026). Every use of it in \u0060ProductPayCode\u0060 reads a member through it \u2014 it is never returned, never stored, never handed to anything else, and never disposed \u2014 so this method both creates the value and is the last thing that can release it, and does not. Nothing announces the leak: the object holds its resource until finalization if its type has a finalizer, and until the process ends if it does not, so the cost accumulates once per CALL rather than showing up as a failure. Declare it with \u0060using\u0060 (\u0060using var bitmap = \u2026;\u0060), which releases it at the end of the scope on every path including a throw."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Samples/TenPayV2/Senparc.Weixin.Sample.TenPayV2/Controllers/TenPayV3Controller.cs"},"region":{"startLine":1026}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba8b76c555d54ca3b8ef884ac95866d573d008f7d7ce44dc2cdff251913b1ffe"}},{"ruleId":"X18","level":"warning","message":{"text":"Disposable created and abandoned in the method that made it: \u0060bitmap\u0060 is a \u0060Bitmap\u0060, which implements \u0060IDisposable\u0060, and it is created here (line 27). Every use of it in \u0060GerQrCodeStream\u0060 reads a member through it \u2014 it is never returned, never stored, never handed to anything else, and never disposed \u2014 so this method both creates the value and is the last thing that can release it, and does not. Nothing announces the leak: the object holds its resource until finalization if its type has a finalizer, and until the process ends if it does not, so the cost accumulates once per CALL rather than showing up as a failure. Declare it with \u0060using\u0060 (\u0060using var bitmap = \u2026;\u0060), which releases it at the end of the scope on every path including a throw."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Samples/TenPayV3/Senparc.Weixin.Sample.TenPayV3/Utilities/QrCodeHelper.cs"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fb4793259c5651e215e92700960afecb79273e935f626e0258765898a2c2966"}},{"ruleId":"X2","level":"note","message":{"text":"Not all async methods take a CancellationToken: Only 50/1634 async methods accept a CancellationToken, so in-flight work can\u0027t be stopped early when the caller gives up \u2014 whatever ends it in your host (shutdown signal, timeout, abandoned request, user cancel). Thread a token through the call chain and honour it at each await and loop; where a method genuinely cannot be interrupted, omitting it is a deliberate choice \u2014 judge against your hosting model."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"bf623a92fb752b336427856888a9b386c434e686662a2cdc1bba21832c0a048c"}},{"ruleId":"X20","level":"warning","message":{"text":"Argument guard throws the exception its own condition disproves: The guard on line 1279 rejects \u0060appKey\u0060 and line 1281 reports that rejection as \u0060ArgumentNullException\u0060 \u2014 but the condition\u0027s own test \u0060string.IsNullOrWhiteSpace(appKey)\u0060 is true of a value that is NOT null: it is satisfied by an EMPTY \u0060appKey\u0060, and on that path \u0060appKey\u0060 was already proven non-null by the very expression that decided it (\u0060||\u0060 short-circuits, so the null test to its left had to be false to get here). So a caller who passes a valid empty argument is told a parameter was null. That is not a wording problem: the exception type is the contract. A caller catching \u0060ArgumentNullException\u0060 to handle a real null swallows the empty case with it, and whoever reads the stack trace later is told a failure the source disproves. .NET separates the two on purpose \u2014 \u0060ArgumentNullException.ThrowIfNull\u0060 and \u0060ArgumentException.ThrowIfNullOrEmpty\u0060 are two helpers because they are two failures. Throw \u0060ArgumentException\u0060 for the empty case, or split the guard and throw each on its own condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.WxOpen/src/Senparc.Weixin.WxOpen/Senparc.Weixin.WxOpen/AdvancedAPIs/XPay/XPayApi.cs"},"region":{"startLine":1281}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2384b92da3676c498ae88ac5f86e5e80278613091892c409e552747c222acaf"}},{"ruleId":"X20","level":"warning","message":{"text":"Argument guard throws the exception its own condition disproves: The guard on line 1283 rejects \u0060uri\u0060 and line 1285 reports that rejection as \u0060ArgumentNullException\u0060 \u2014 but the condition\u0027s own test \u0060string.IsNullOrWhiteSpace(uri)\u0060 is true of a value that is NOT null: it is satisfied by an EMPTY \u0060uri\u0060, and on that path \u0060uri\u0060 was already proven non-null by the very expression that decided it (\u0060||\u0060 short-circuits, so the null test to its left had to be false to get here). So a caller who passes a valid empty argument is told a parameter was null. That is not a wording problem: the exception type is the contract. A caller catching \u0060ArgumentNullException\u0060 to handle a real null swallows the empty case with it, and whoever reads the stack trace later is told a failure the source disproves. .NET separates the two on purpose \u2014 \u0060ArgumentNullException.ThrowIfNull\u0060 and \u0060ArgumentException.ThrowIfNullOrEmpty\u0060 are two helpers because they are two failures. Throw \u0060ArgumentException\u0060 for the empty case, or split the guard and throw each on its own condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.WxOpen/src/Senparc.Weixin.WxOpen/Senparc.Weixin.WxOpen/AdvancedAPIs/XPay/XPayApi.cs"},"region":{"startLine":1285}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdc6c59b88d2ebff9bf0a63c46846520aefc0be0c11f417e04ab9e0d8cb63cc4"}},{"ruleId":"X20","level":"warning","message":{"text":"Argument guard throws the exception its own condition disproves: The guard on line 1314 rejects \u0060sessionKey\u0060 and line 1316 reports that rejection as \u0060ArgumentNullException\u0060 \u2014 but the condition\u0027s own test \u0060string.IsNullOrWhiteSpace(sessionKey)\u0060 is true of a value that is NOT null: it is satisfied by an EMPTY \u0060sessionKey\u0060, and on that path \u0060sessionKey\u0060 was already proven non-null by the very expression that decided it (\u0060||\u0060 short-circuits, so the null test to its left had to be false to get here). So a caller who passes a valid empty argument is told a parameter was null. That is not a wording problem: the exception type is the contract. A caller catching \u0060ArgumentNullException\u0060 to handle a real null swallows the empty case with it, and whoever reads the stack trace later is told a failure the source disproves. .NET separates the two on purpose \u2014 \u0060ArgumentNullException.ThrowIfNull\u0060 and \u0060ArgumentException.ThrowIfNullOrEmpty\u0060 are two helpers because they are two failures. Throw \u0060ArgumentException\u0060 for the empty case, or split the guard and throw each on its own condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.WxOpen/src/Senparc.Weixin.WxOpen/Senparc.Weixin.WxOpen/AdvancedAPIs/XPay/XPayApi.cs"},"region":{"startLine":1316}}}],"partialFingerprints":{"codehealthFindingId/v1":"35927e48ffcc5db401c4bc1b21a94e8977b432a42b84866aad3b2b881bca8f62"}},{"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":"src/Senparc.Weixin.Work/Senparc.Weixin.Work/Tencent/WXBizMsgCrypt.cs"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e0a114054326ae1de64e21bde69a96e401b6084086403cabe3d17efbe4915f3"}},{"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":"src/Senparc.Weixin.Work/Senparc.Weixin.Work/Tencent/WXBizMsgCrypt.cs"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"cff0d8562cebb08e33d317803f2780d5bb8a8b110f883366d1ee305996f0a5ff"}},{"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":"src/Senparc.Weixin.Work/Senparc.Weixin.Work/Tencent/WXBizMsgCrypt.cs"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"822cf095c296251fe32a51d1d013a283f2305f3edb404abbf882e71fe40bbd84"}},{"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":"src/Senparc.Weixin.Work/Senparc.Weixin.Work/Tencent/WXBizMsgCrypt.cs"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"0877a7c0cb7490b5ba497992533e6e7b896a6dd8db1c944d8c5a9ec6bd5b5b49"}},{"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":"src/Senparc.Weixin.Work/Senparc.Weixin.Work/Tencent/WXBizMsgCrypt.cs"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"409db8306cf63d0ab3744e5a3eb44259b8418426c6832f22919447d48aa3f299"}},{"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":"src/Senparc.Weixin.Work/Senparc.Weixin.Work/Tencent/WXBizMsgCrypt.cs"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"0401b6b79e0e40d43238e4322a3ff14e9b4f43aacf4a627b631d702992fa1473"}},{"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":"src/Senparc.Weixin.Work/Senparc.Weixin.Work/Tencent/WXBizMsgCrypt.cs"},"region":{"startLine":365}}}],"partialFingerprints":{"codehealthFindingId/v1":"de06372e3bd25dbc370d6113deba87afa50417f980a23d1bc5cb53da6c9990a6"}},{"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":"src/Senparc.Weixin/Senparc.Weixin/Tencent/WXBizMsgCrypt.cs"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d934fe97709a2edb24d17f43ba8424a3eb073e6a5a818351aa8b5f08fe78913"}},{"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":"src/Senparc.Weixin/Senparc.Weixin/Tencent/WXBizMsgCrypt.cs"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"71b6d57b311b59f255cc2e691475ac01975b744698278307315e17529ccad226"}},{"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":"src/Senparc.Weixin/Senparc.Weixin/Tencent/WXBizMsgCrypt.cs"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1c5f71284f8158601f20e299c9f51dffc42639eea2a9ffd8efb7633688eb961"}},{"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":"src/Senparc.Weixin/Senparc.Weixin/Tencent/WXBizMsgCrypt.cs"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdea2fa7c34bd8703408f632ff80a2764130029cac82afb6b181047af2a8f4b6"}},{"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":"src/Senparc.Weixin/Senparc.Weixin/Trace/WeixinTrace.cs"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a059ac8f0046d393317d60671bd7de97fcf0a684d0602f82a97efe1cf0f91a2"}},{"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":"src/Senparc.Weixin/Senparc.Weixin/Trace/WeixinTrace.cs"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"c760ec3ab11899266636cfbee8fd61f2097ba8a956b4bb808d5ba047c4967392"}},{"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":"src/Senparc.WebSocket/src/Senparc.WebSocket/Senparc.WebSocket/Routes/WebSocketHandler/WebSocketHandler_Common.cs"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"97060612c535ce7221316db832d7d42993169d34a7097eb826a2bb74b2b0d8e7"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (System.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":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPay/V3/Universal/Entities/Result/TenPayV3Results.cs"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"52c2d30d56046b394c64f387f0a832927e36c49b45a4806b0a3fbb10845ef979"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch\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":"Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/MP/MenuController.cs"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"6efceef0fb706d3992dff389f7121a451d8c147a49a811cae0ebe4b34e7c88cf"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch\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":"Samples/All/Senparc.Weixin.Sample.CommonService/AI/MessageHandlers/CustomMessageHandler_AI.cs"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c50eb6c2e93b5eb70ec426e3c0447dafbcb94422f1dc96ed7ea2778c81ff2c5"}},{"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":"Samples/All/Senparc.Weixin.Sample.CommonService/MessageHandlers/CustomMessageHandler/CustomMessageHandler.cs"},"region":{"startLine":582}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cf94f478cff0f15173d070220e92d7fc33c15803d8fb1727fba6d70b169329c"}},{"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":"Samples/All/Senparc.Weixin.Sample.CommonService/TemplateMessage/WeixinTemplate_ExceptionAlert.cs"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"de800a062c2aca9e4190686027cd920abe790585237534386043c575958d33a1"}},{"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":"Samples/MP/Senparc.Weixin.Sample.MP/MessageHandlers/CustomMessageHandler.cs"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"aca5ed1596e2f28b5c5bbbe1a414157a1e9bb196f7f35142df07613061f915d8"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: This method contradicts itself about \u0060fullButton\u0060: line 140 assigns it with \u0060as Dictionary\u003Cstring, object\u003E\u0060, which hands back null rather than throwing when the value is not a \u0060Dictionary\u003Cstring, object\u003E\u0060, but line 141 then dereferences it directly as \u0060fullButton.ContainsKey\u0060 with no null test between them and no guard around it. If the \u0060as\u0060 is right, that dereference throws NullReferenceException on the input it was written for \u2014 and the NullReferenceException names neither the cast nor the type that failed. Settle it one way \u2014 test \u0060fullButton\u0060 once before the first use and handle the null case, or cast with \u0060(Dictionary\u003Cstring, object\u003E)\u0060 so the failure is reported where it happens \u2014 rather than leaving the two readings side by side."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.Work/Senparc.Weixin.Work/CommonAPIs/CommonApi.Menu.cs"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fcb77189e954df7a16eed11cea8eb5cbe49a0d1328b0f62a5cd57c00e467437"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: This method contradicts itself about \u0060strongRequestMessage\u0060: line 200 assigns it with \u0060as IRequestMessageEventBase\u0060, which hands back null rather than throwing when the value is not a \u0060IRequestMessageEventBase\u0060, but line 203 then dereferences it directly as \u0060strongRequestMessage.Event\u0060 with no null test between them and no guard around it. If the \u0060as\u0060 is right, that dereference throws NullReferenceException on the input it was written for \u2014 and the NullReferenceException names neither the cast nor the type that failed. Settle it one way \u2014 test \u0060strongRequestMessage\u0060 once before the first use and handle the null case, or cast with \u0060(IRequestMessageEventBase)\u0060 so the failure is reported where it happens \u2014 rather than leaving the two readings side by side."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.Work/Senparc.Weixin.Work/MessageHandlers/Async/WorkMessageHandler.Async.cs"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"65c31f532e49eb2dcb599cf0bf9ddd29feace93ac3cfb0dc624f9ed3926f575f"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: This method contradicts itself about \u0060ccRequestMessage\u0060: line 264 assigns it with \u0060as IRequestMessageEvent_Change_Contact_Base\u0060, which hands back null rather than throwing when the value is not a \u0060IRequestMessageEvent_Change_Contact_Base\u0060, but line 266 then dereferences it directly as \u0060ccRequestMessage.ChangeType\u0060 with no null test between them and no guard around it. If the \u0060as\u0060 is right, that dereference throws NullReferenceException on the input it was written for \u2014 and the NullReferenceException names neither the cast nor the type that failed. Settle it one way \u2014 test \u0060ccRequestMessage\u0060 once before the first use and handle the null case, or cast with \u0060(IRequestMessageEvent_Change_Contact_Base)\u0060 so the failure is reported where it happens \u2014 rather than leaving the two readings side by side."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.Work/Senparc.Weixin.Work/MessageHandlers/Async/WorkMessageHandler.Async.cs"},"region":{"startLine":266}}}],"partialFingerprints":{"codehealthFindingId/v1":"211f522daa119829519f2250a615db57fae6e14a371caeabbb5fa285f337bfba"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: This method contradicts itself about \u0060cecRequestMessage\u0060: line 310 assigns it with \u0060as IRequestMessageEvent_Change_ExternalContact_Base\u0060, which hands back null rather than throwing when the value is not a \u0060IRequestMessageEvent_Change_ExternalContact_Base\u0060, but line 312 then dereferences it directly as \u0060cecRequestMessage.ChangeType\u0060 with no null test between them and no guard around it. If the \u0060as\u0060 is right, that dereference throws NullReferenceException on the input it was written for \u2014 and the NullReferenceException names neither the cast nor the type that failed. Settle it one way \u2014 test \u0060cecRequestMessage\u0060 once before the first use and handle the null case, or cast with \u0060(IRequestMessageEvent_Change_ExternalContact_Base)\u0060 so the failure is reported where it happens \u2014 rather than leaving the two readings side by side."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.Work/Senparc.Weixin.Work/MessageHandlers/Async/WorkMessageHandler.Async.cs"},"region":{"startLine":312}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1f189e3d83abed423e564bb63b65b58a0ea911e472709968cd6daa07c6cdcb2"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: This method contradicts itself about \u0060cechat\u0060: line 353 assigns it with \u0060as RequestMessageEvent_Change_External_Chat_Base\u0060, which hands back null rather than throwing when the value is not a \u0060RequestMessageEvent_Change_External_Chat_Base\u0060, but line 355 then dereferences it directly as \u0060cechat.ChangeType\u0060 with no null test between them and no guard around it. If the \u0060as\u0060 is right, that dereference throws NullReferenceException on the input it was written for \u2014 and the NullReferenceException names neither the cast nor the type that failed. Settle it one way \u2014 test \u0060cechat\u0060 once before the first use and handle the null case, or cast with \u0060(RequestMessageEvent_Change_External_Chat_Base)\u0060 so the failure is reported where it happens \u2014 rather than leaving the two readings side by side."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.Work/Senparc.Weixin.Work/MessageHandlers/Async/WorkMessageHandler.Async.cs"},"region":{"startLine":355}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fc9003a93f66fd36c474002fb8de024590dc45ffb8e3a7dc87df9a3ed7cd915"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: This method contradicts itself about \u0060tag\u0060: line 379 assigns it with \u0060as RequestMessageEvent_Change_External_Tag_Base\u0060, which hands back null rather than throwing when the value is not a \u0060RequestMessageEvent_Change_External_Tag_Base\u0060, but line 381 then dereferences it directly as \u0060tag.ChangeType\u0060 with no null test between them and no guard around it. If the \u0060as\u0060 is right, that dereference throws NullReferenceException on the input it was written for \u2014 and the NullReferenceException names neither the cast nor the type that failed. Settle it one way \u2014 test \u0060tag\u0060 once before the first use and handle the null case, or cast with \u0060(RequestMessageEvent_Change_External_Tag_Base)\u0060 so the failure is reported where it happens \u2014 rather than leaving the two readings side by side."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.Work/Senparc.Weixin.Work/MessageHandlers/Async/WorkMessageHandler.Async.cs"},"region":{"startLine":381}}}],"partialFingerprints":{"codehealthFindingId/v1":"b294e8f37358a6cec29ba0d75d43b2a0e0034bf5dc4f557972abf45e92231e58"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: This method contradicts itself about \u0060cecRequestMessage\u0060: line 1238 assigns it with \u0060as IRequestMessageEvent_Change_ExternalContact_Base\u0060, which hands back null rather than throwing when the value is not a \u0060IRequestMessageEvent_Change_ExternalContact_Base\u0060, but line 1240 then dereferences it directly as \u0060cecRequestMessage.ChangeType\u0060 with no null test between them and no guard around it. If the \u0060as\u0060 is right, that dereference throws NullReferenceException on the input it was written for \u2014 and the NullReferenceException names neither the cast nor the type that failed. Settle it one way \u2014 test \u0060cecRequestMessage\u0060 once before the first use and handle the null case, or cast with \u0060(IRequestMessageEvent_Change_ExternalContact_Base)\u0060 so the failure is reported where it happens \u2014 rather than leaving the two readings side by side."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.Work/Senparc.Weixin.Work/MessageHandlers/Async/WorkMessageHandler.Async.cs"},"region":{"startLine":1240}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca15698d5d23fc537476193085043f34cba10b5517d303632067e3a290a72b55"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: This method contradicts itself about \u0060sLeft\u0060: line 299 assigns it with \u0060as string\u0060, which hands back null rather than throwing when the value is not a \u0060string\u0060, but line 301 then dereferences it directly as \u0060sLeft.Length\u0060 with no null test between them and no guard around it. If the \u0060as\u0060 is right, that dereference throws NullReferenceException on the input it was written for \u2014 and the NullReferenceException names neither the cast nor the type that failed. Settle it one way \u2014 test \u0060sLeft\u0060 once before the first use and handle the null case, or cast with \u0060(string)\u0060 so the failure is reported where it happens \u2014 rather than leaving the two readings side by side."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.Work/Senparc.Weixin.Work/Tencent/WXBizMsgCrypt.cs"},"region":{"startLine":301}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f0ac67af8a9de8806159009059317c4240b33a2f5c607288af63102b728bb6b"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: This method contradicts itself about \u0060sRight\u0060: line 300 assigns it with \u0060as string\u0060, which hands back null rather than throwing when the value is not a \u0060string\u0060, but line 302 then dereferences it directly as \u0060sRight.Length\u0060 with no null test between them and no guard around it. If the \u0060as\u0060 is right, that dereference throws NullReferenceException on the input it was written for \u2014 and the NullReferenceException names neither the cast nor the type that failed. Settle it one way \u2014 test \u0060sRight\u0060 once before the first use and handle the null case, or cast with \u0060(string)\u0060 so the failure is reported where it happens \u2014 rather than leaving the two readings side by side."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.Work/Senparc.Weixin.Work/Tencent/WXBizMsgCrypt.cs"},"region":{"startLine":302}}}],"partialFingerprints":{"codehealthFindingId/v1":"593ec59d0ce666f0e3c4fee6a03264620b6c8dc05ec01a19a3c6b86f2b9afe3f"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: This method contradicts itself about \u0060sLeft\u0060: line 231 assigns it with \u0060as string\u0060, which hands back null rather than throwing when the value is not a \u0060string\u0060, but line 233 then dereferences it directly as \u0060sLeft.Length\u0060 with no null test between them and no guard around it. If the \u0060as\u0060 is right, that dereference throws NullReferenceException on the input it was written for \u2014 and the NullReferenceException names neither the cast nor the type that failed. Settle it one way \u2014 test \u0060sLeft\u0060 once before the first use and handle the null case, or cast with \u0060(string)\u0060 so the failure is reported where it happens \u2014 rather than leaving the two readings side by side."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin/Senparc.Weixin/Tencent/WXBizMsgCrypt.cs"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c9bee71605f43c474e9c3b87d8f502a4371007a1311a782d0fac2f9ca4c3797"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: This method contradicts itself about \u0060sRight\u0060: line 232 assigns it with \u0060as string\u0060, which hands back null rather than throwing when the value is not a \u0060string\u0060, but line 234 then dereferences it directly as \u0060sRight.Length\u0060 with no null test between them and no guard around it. If the \u0060as\u0060 is right, that dereference throws NullReferenceException on the input it was written for \u2014 and the NullReferenceException names neither the cast nor the type that failed. Settle it one way \u2014 test \u0060sRight\u0060 once before the first use and handle the null case, or cast with \u0060(string)\u0060 so the failure is reported where it happens \u2014 rather than leaving the two readings side by side."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin/Senparc.Weixin/Tencent/WXBizMsgCrypt.cs"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"25bd6d9eeda1d5c0fe54584ec562565a584de397732df9930780a31d35abc8d6"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: This method contradicts itself about \u0060fullButton\u0060: line 184 assigns it with \u0060as Dictionary\u003Cstring, object\u003E\u0060, which hands back null rather than throwing when the value is not a \u0060Dictionary\u003Cstring, object\u003E\u0060, but line 185 then dereferences it directly as \u0060fullButton.ContainsKey\u0060 with no null test between them and no guard around it. If the \u0060as\u0060 is right, that dereference throws NullReferenceException on the input it was written for \u2014 and the NullReferenceException names neither the cast nor the type that failed. Settle it one way \u2014 test \u0060fullButton\u0060 once before the first use and handle the null case, or cast with \u0060(Dictionary\u003Cstring, object\u003E)\u0060 so the failure is reported where it happens \u2014 rather than leaving the two readings side by side."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.MP/Senparc.Weixin.MP/CommonAPIs/Menu/CommonApi.Menu.Custom.cs"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"080ef32ccc27f171607f7ec16831ab07a3dd7b1cb91fa84306c629bcac2df7cb"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: This method contradicts itself about \u0060strongRequestMessage\u0060: line 52 assigns it with \u0060as IRequestMessageEventBase\u0060, which hands back null rather than throwing when the value is not a \u0060IRequestMessageEventBase\u0060, but line 56 then dereferences it directly as \u0060strongRequestMessage.Event\u0060 with no null test between them and no guard around it. If the \u0060as\u0060 is right, that dereference throws NullReferenceException on the input it was written for \u2014 and the NullReferenceException names neither the cast nor the type that failed. Settle it one way \u2014 test \u0060strongRequestMessage\u0060 once before the first use and handle the null case, or cast with \u0060(IRequestMessageEventBase)\u0060 so the failure is reported where it happens \u2014 rather than leaving the two readings side by side."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.MP/Senparc.Weixin.MP/MessageHandlers/Async/MessageHandlerAsync.Event.cs"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"27f487517bb604fa7fa6650cac4168fbad31cbc9cc014e71e22be6098122efb9"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: This method contradicts itself about \u0060strongRequestMessage\u0060: line 54 assigns it with \u0060as IRequestMessageEventBase\u0060, which hands back null rather than throwing when the value is not a \u0060IRequestMessageEventBase\u0060, but line 58 then dereferences it directly as \u0060strongRequestMessage.Event\u0060 with no null test between them and no guard around it. If the \u0060as\u0060 is right, that dereference throws NullReferenceException on the input it was written for \u2014 and the NullReferenceException names neither the cast nor the type that failed. Settle it one way \u2014 test \u0060strongRequestMessage\u0060 once before the first use and handle the null case, or cast with \u0060(IRequestMessageEventBase)\u0060 so the failure is reported where it happens \u2014 rather than leaving the two readings side by side."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.MP/Senparc.Weixin.MP/MessageHandlers/MessageHandler.Event.cs"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8c96a0b383898d95ce6c5d797357dd618e15b450ec090aa63a6ef7f2b7e99ff"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: This method contradicts itself about \u0060strongRequestMessage\u0060: line 83 assigns it with \u0060as IRequestMessageEventBase\u0060, which hands back null rather than throwing when the value is not a \u0060IRequestMessageEventBase\u0060, but line 85 then dereferences it directly as \u0060strongRequestMessage.Event\u0060 with no null test between them and no guard around it. If the \u0060as\u0060 is right, that dereference throws NullReferenceException on the input it was written for \u2014 and the NullReferenceException names neither the cast nor the type that failed. Settle it one way \u2014 test \u0060strongRequestMessage\u0060 once before the first use and handle the null case, or cast with \u0060(IRequestMessageEventBase)\u0060 so the failure is reported where it happens \u2014 rather than leaving the two readings side by side."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.WxOpen/src/Senparc.Weixin.WxOpen/Senparc.Weixin.WxOpen/MessageHandlers/WxOpenMessageHandler.Event.cs"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9607f8d366c89561a284b20f3c491b42f23a203ed272fd88b2d79414cdc10b8"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: This method contradicts itself about \u0060strongRequestMessage\u0060: line 501 assigns it with \u0060as IRequestMessageEventBase\u0060, which hands back null rather than throwing when the value is not a \u0060IRequestMessageEventBase\u0060, but line 503 then dereferences it directly as \u0060strongRequestMessage.Event\u0060 with no null test between them and no guard around it. If the \u0060as\u0060 is right, that dereference throws NullReferenceException on the input it was written for \u2014 and the NullReferenceException names neither the cast nor the type that failed. Settle it one way \u2014 test \u0060strongRequestMessage\u0060 once before the first use and handle the null case, or cast with \u0060(IRequestMessageEventBase)\u0060 so the failure is reported where it happens \u2014 rather than leaving the two readings side by side."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.WxOpen/src/Senparc.Weixin.WxOpen/Senparc.Weixin.WxOpen/MessageHandlers/WxOpenMessageHandler.Event.cs"},"region":{"startLine":503}}}],"partialFingerprints":{"codehealthFindingId/v1":"261326ad935d9870818280376fa102460fc8ba71f28d38712baddd275bd8f3d2"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: This method contradicts itself about \u0060baseCacheStrategy\u0060: line 135 assigns it with \u0060as RedisHashSetObjectCacheStrategy\u0060, which hands back null rather than throwing when the value is not a \u0060RedisHashSetObjectCacheStrategy\u0060, but line 138 then dereferences it directly as \u0060baseCacheStrategy.GetFinalKey\u0060 with no null test between them and no guard around it. If the \u0060as\u0060 is right, that dereference throws NullReferenceException on the input it was written for \u2014 and the NullReferenceException names neither the cast nor the type that failed. Settle it one way \u2014 test \u0060baseCacheStrategy\u0060 once before the first use and handle the null case, or cast with \u0060(RedisHashSetObjectCacheStrategy)\u0060 so the failure is reported where it happens \u2014 rather than leaving the two readings side by side."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.Cache/Senparc.Weixin.Cache.Redis/ContainerCacheStrategy/RedisHashSetContainerCacheStrategy.cs"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"f92810b7ca660c3f907ced4d5dd646e8a5a4e3f4d2c1d9552a3b5cde51ba4f0f"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: This method contradicts itself about \u0060baseCacheStrategy\u0060: line 164 assigns it with \u0060as RedisHashSetObjectCacheStrategy\u0060, which hands back null rather than throwing when the value is not a \u0060RedisHashSetObjectCacheStrategy\u0060, but line 167 then dereferences it directly as \u0060baseCacheStrategy.GetFinalKey\u0060 with no null test between them and no guard around it. If the \u0060as\u0060 is right, that dereference throws NullReferenceException on the input it was written for \u2014 and the NullReferenceException names neither the cast nor the type that failed. Settle it one way \u2014 test \u0060baseCacheStrategy\u0060 once before the first use and handle the null case, or cast with \u0060(RedisHashSetObjectCacheStrategy)\u0060 so the failure is reported where it happens \u2014 rather than leaving the two readings side by side."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.Cache/Senparc.Weixin.Cache.Redis/ContainerCacheStrategy/RedisHashSetContainerCacheStrategy.cs"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"742b3654527356bbeae50ca7760a413f4d295df85911f09a9413c3b1a8bcef0f"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: This method contradicts itself about \u0060openId\u0060: line 47 assigns it with \u0060as string\u0060, which hands back null rather than throwing when the value is not a \u0060string\u0060, but line 49 then dereferences it directly as \u0060openId.IsNullOrEmpty\u0060 with no null test between them and no guard around it. If the \u0060as\u0060 is right, that dereference throws NullReferenceException on the input it was written for \u2014 and the NullReferenceException names neither the cast nor the type that failed. Settle it one way \u2014 test \u0060openId\u0060 once before the first use and handle the null case, or cast with \u0060(string)\u0060 so the failure is reported where it happens \u2014 rather than leaving the two readings side by side."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/MP/AsyncMethodsController.cs"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"be4fbc2638c459c46dbd980b67722208038ac6c6ec61bb12f57cc2f53ca6fdf3"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: This method contradicts itself about \u0060addConditionalButtonGroup\u0060: line 131 assigns it with \u0060as ConditionalButtonGroup\u0060, which hands back null rather than throwing when the value is not a \u0060ConditionalButtonGroup\u0060, but line 132 then dereferences it directly as \u0060addConditionalButtonGroup.matchrule\u0060 with no null test between them and no guard around it. If the \u0060as\u0060 is right, that dereference throws NullReferenceException on the input it was written for \u2014 and the NullReferenceException names neither the cast nor the type that failed. Settle it one way \u2014 test \u0060addConditionalButtonGroup\u0060 once before the first use and handle the null case, or cast with \u0060(ConditionalButtonGroup)\u0060 so the failure is reported where it happens \u2014 rather than leaving the two readings side by side."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/MP/MenuController.cs"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e80ab7dc1a630487d1fdc11a12dc50e7ae825540c4e741f1752e9c09e352523"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: This method contradicts itself about \u0060strongRequestMessage\u0060: line 69 assigns it with \u0060as RequestMessageText\u0060, which hands back null rather than throwing when the value is not a \u0060RequestMessageText\u0060, but line 75 then dereferences it directly as \u0060strongRequestMessage.Content\u0060 with no null test between them and no guard around it. If the \u0060as\u0060 is right, that dereference throws NullReferenceException on the input it was written for \u2014 and the NullReferenceException names neither the cast nor the type that failed. Settle it one way \u2014 test \u0060strongRequestMessage\u0060 once before the first use and handle the null case, or cast with \u0060(RequestMessageText)\u0060 so the failure is reported where it happens \u2014 rather than leaving the two readings side by side."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/MP/WeixinController_OldPost.cs"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f5c4ca98a15040723d04632c1a7451091e5e3421efae9239cc467fdd5ac04ce"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: This method contradicts itself about \u0060strongRequestMessage\u0060: line 87 assigns it with \u0060as RequestMessageImage\u0060, which hands back null rather than throwing when the value is not a \u0060RequestMessageImage\u0060, but line 94 then dereferences it directly as \u0060strongRequestMessage.PicUrl\u0060 with no null test between them and no guard around it. If the \u0060as\u0060 is right, that dereference throws NullReferenceException on the input it was written for \u2014 and the NullReferenceException names neither the cast nor the type that failed. Settle it one way \u2014 test \u0060strongRequestMessage\u0060 once before the first use and handle the null case, or cast with \u0060(RequestMessageImage)\u0060 so the failure is reported where it happens \u2014 rather than leaving the two readings side by side."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/MP/WeixinController_OldPost.cs"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"64f309c7740f3b2cf86e0f6dd4cf92260b0d28606ee00d2e1dcc79886daa48ef"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: This method contradicts itself about \u0060workSetting\u0060: line 174 assigns it with \u0060as ISenparcWeixinSettingForWork\u0060, which hands back null rather than throwing when the value is not a \u0060ISenparcWeixinSettingForWork\u0060, but line 178 then dereferences it directly as \u0060workSetting.WeixinCorpId\u0060 with no null test between them and no guard around it. If the \u0060as\u0060 is right, that dereference throws NullReferenceException on the input it was written for \u2014 and the NullReferenceException names neither the cast nor the type that failed. Settle it one way \u2014 test \u0060workSetting\u0060 once before the first use and handle the null case, or cast with \u0060(ISenparcWeixinSettingForWork)\u0060 so the failure is reported where it happens \u2014 rather than leaving the two readings side by side."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/Work/WorkController.cs"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"84f6df1738c3139045de4a0bb74101d0e82c9a698c8bcbd40c42805f0d75a380"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: This method contradicts itself about \u0060baseCacheStrategy\u0060: line 135 assigns it with \u0060as RedisHashSetObjectCacheStrategy\u0060, which hands back null rather than throwing when the value is not a \u0060RedisHashSetObjectCacheStrategy\u0060, but line 138 then dereferences it directly as \u0060baseCacheStrategy.GetFinalKey\u0060 with no null test between them and no guard around it. If the \u0060as\u0060 is right, that dereference throws NullReferenceException on the input it was written for \u2014 and the NullReferenceException names neither the cast nor the type that failed. Settle it one way \u2014 test \u0060baseCacheStrategy\u0060 once before the first use and handle the null case, or cast with \u0060(RedisHashSetObjectCacheStrategy)\u0060 so the failure is reported where it happens \u2014 rather than leaving the two readings side by side."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.Cache/Senparc.Weixin.Cache.CsRedis/ContainerCacheStrategy/RedisHashSetContainerCacheStrategy.cs"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"448fd8b1b37ff4c73196f7315aa59f8a9ec571b550d258c4d4995e75ec08b3cf"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: This method contradicts itself about \u0060baseCacheStrategy\u0060: line 164 assigns it with \u0060as RedisHashSetObjectCacheStrategy\u0060, which hands back null rather than throwing when the value is not a \u0060RedisHashSetObjectCacheStrategy\u0060, but line 167 then dereferences it directly as \u0060baseCacheStrategy.GetFinalKey\u0060 with no null test between them and no guard around it. If the \u0060as\u0060 is right, that dereference throws NullReferenceException on the input it was written for \u2014 and the NullReferenceException names neither the cast nor the type that failed. Settle it one way \u2014 test \u0060baseCacheStrategy\u0060 once before the first use and handle the null case, or cast with \u0060(RedisHashSetObjectCacheStrategy)\u0060 so the failure is reported where it happens \u2014 rather than leaving the two readings side by side."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.Cache/Senparc.Weixin.Cache.CsRedis/ContainerCacheStrategy/RedisHashSetContainerCacheStrategy.cs"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a081bed87dd4f497be459813d361998db8c9b7ab7cf791ae85cb441043a5cd3"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: This method contradicts itself about \u0060data\u0060: line 449 writes \u0060data?.sp_mchid\u0060, which says \u0060data\u0060 can be null, but line 449 then dereferences it directly as \u0060data.order_no\u0060 with no null test between them and no guard around it. If the \u0060?.\u0060 is right, that dereference throws NullReferenceException on the input it was written for; if \u0060data\u0060 truly cannot be null here, the \u0060?.\u0060 is misleading. Settle it one way \u2014 test \u0060data\u0060 once before the first use and handle the null case, or drop the \u0060?.\u0060 \u2014 rather than leaving the two readings side by side."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/BasePay/BasePayApis.cs"},"region":{"startLine":449}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf3bd32576cb0082808adc55ecb89e01aef2472975ab2ac5ebe10ec4fff0e1e8"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: This method contradicts itself about \u0060data\u0060: line 472 writes \u0060data?.sp_mchid\u0060, which says \u0060data\u0060 can be null, but line 472 then dereferences it directly as \u0060data.order_no\u0060 with no null test between them and no guard around it. If the \u0060?.\u0060 is right, that dereference throws NullReferenceException on the input it was written for; if \u0060data\u0060 truly cannot be null here, the \u0060?.\u0060 is misleading. Settle it one way \u2014 test \u0060data\u0060 once before the first use and handle the null case, or drop the \u0060?.\u0060 \u2014 rather than leaving the two readings side by side."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/BasePay/BasePayApis.cs"},"region":{"startLine":472}}}],"partialFingerprints":{"codehealthFindingId/v1":"50c95a93ea6e73231df0cc99d7749f9d96cb52403e31201579909f0c89837949"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: This method contradicts itself about \u0060data\u0060: line 544 writes \u0060data?.sp_mchid\u0060, which says \u0060data\u0060 can be null, but line 544 then dereferences it directly as \u0060data.out_trade_no\u0060 with no null test between them and no guard around it. If the \u0060?.\u0060 is right, that dereference throws NullReferenceException on the input it was written for; if \u0060data\u0060 truly cannot be null here, the \u0060?.\u0060 is misleading. Settle it one way \u2014 test \u0060data\u0060 once before the first use and handle the null case, or drop the \u0060?.\u0060 \u2014 rather than leaving the two readings side by side."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/BasePay/BasePayApis.cs"},"region":{"startLine":544}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2e36287370ed074b664aa9140d1d9409a871858b59413f3b6361b9bf4543aa1"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: This method contradicts itself about \u0060certificate\u0060: line 227 writes \u0060certificate?.ResultCode\u0060, which says \u0060certificate\u0060 can be null, but line 230 then dereferences it directly as \u0060certificate.data\u0060 with no null test between them and no guard around it. If the \u0060?.\u0060 is right, that dereference throws NullReferenceException on the input it was written for; if \u0060certificate\u0060 truly cannot be null here, the \u0060?.\u0060 is misleading. Settle it one way \u2014 test \u0060certificate\u0060 once before the first use and handle the null case, or drop the \u0060?.\u0060 \u2014 rather than leaving the two readings side by side."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Helpers/SecurityHelper.cs"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"02a7e2d4a31d9afc00469b0e57ec92d011f122a03e47b752ae435a0b56890534"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: This method contradicts itself about \u0060workSetting\u0060: line 35 assigns it with \u0060as ISenparcWeixinSettingForWork\u0060, which hands back null rather than throwing when the value is not a \u0060ISenparcWeixinSettingForWork\u0060, but line 43 then dereferences it directly as \u0060workSetting.WeixinCorpId\u0060 with no null test between them and no guard around it. If the \u0060as\u0060 is right, that dereference throws NullReferenceException on the input it was written for \u2014 and the NullReferenceException names neither the cast nor the type that failed. Settle it one way \u2014 test \u0060workSetting\u0060 once before the first use and handle the null case, or cast with \u0060(ISenparcWeixinSettingForWork)\u0060 so the failure is reported where it happens \u2014 rather than leaving the two readings side by side."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Samples/Work/Senparc.Weixin.Sample.Work/Controllers/JSSDKController.cs"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"70a660b6b895d887c82ecc379eff11b77ca34600bb22b1300ade6373581b995e"}},{"ruleId":"X5","level":"note","message":{"text":"Nullable reference types not enabled everywhere: 8/12 NRT-eligible project(s) enable \u003CNullable\u003Eenable\u003C/Nullable\u003E (projects targeting a pre-C#-8 framework are excluded \u2014 NRTs aren\u0027t available there). NRTs catch a whole class of null-deref bugs at compile time."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"80b24de9378624a0ce4846d60457395befcaec8e109ea81d289a370c9f7bfd5d"}},{"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 project already references a real parser; use it here too."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Samples/All/net10-mvc/Senparc.Weixin.Sample.Net10/Controllers/Weixin/MP/MenuController.cs"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"961ce1076be7f06de698c974e3750f88588ad8a1c4bc000955f98b79df81b4c0"}}],"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-1104","guid":"4c918cb5-b2a6-6c55-9963-a44ee464305e","name":"CWE-1104","shortDescription":{"text":"CWE-1104"},"helpUri":"https://cwe.mitre.org/data/definitions/1104.html"},{"id":"CWE-1329","guid":"f70f1c3f-4ccf-cb5e-bdd3-03ba4868d36d","name":"CWE-1329","shortDescription":{"text":"CWE-1329"},"helpUri":"https://cwe.mitre.org/data/definitions/1329.html"},{"id":"CWE-1352","guid":"5257f322-5cfc-6b52-bedd-0b9a526b4c7d","name":"CWE-1352","shortDescription":{"text":"CWE-1352"},"helpUri":"https://cwe.mitre.org/data/definitions/1352.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-200","guid":"b0ce3b1d-7a29-fe50-8aab-9aba899d2988","name":"Exposure of Sensitive Information to an Unauthorized Actor","shortDescription":{"text":"Exposure of Sensitive Information to an Unauthorized Actor"},"helpUri":"https://cwe.mitre.org/data/definitions/200.html"},{"id":"CWE-259","guid":"ae9ad959-fbb6-9d5e-892d-3dca66da0b69","name":"Use of Hard-coded Password","shortDescription":{"text":"Use of Hard-coded Password"},"helpUri":"https://cwe.mitre.org/data/definitions/259.html"},{"id":"CWE-312","guid":"96724ece-b0b2-a45c-83f9-0869fa3f6bea","name":"Cleartext Storage of Sensitive Information","shortDescription":{"text":"Cleartext Storage of Sensitive Information"},"helpUri":"https://cwe.mitre.org/data/definitions/312.html"},{"id":"CWE-353","guid":"09d7e902-d4ee-f05d-ae6c-0a1554d0c18f","name":"CWE-353","shortDescription":{"text":"CWE-353"},"helpUri":"https://cwe.mitre.org/data/definitions/353.html"},{"id":"CWE-359","guid":"b7dfe5b0-0351-645b-a311-b936102c2929","name":"Exposure of Private Personal Information to an Unauthorized Actor","shortDescription":{"text":"Exposure of Private Personal Information to an Unauthorized Actor"},"helpUri":"https://cwe.mitre.org/data/definitions/359.html"},{"id":"CWE-494","guid":"b8a65e0d-e459-4a55-a931-fc1136482375","name":"Download of Code Without Integrity Check","shortDescription":{"text":"Download of Code Without Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/494.html"},{"id":"CWE-506","guid":"401d6455-56e3-0552-9a39-f77461673e3f","name":"CWE-506","shortDescription":{"text":"CWE-506"},"helpUri":"https://cwe.mitre.org/data/definitions/506.html"},{"id":"CWE-77","guid":"332c8ade-6612-9f56-a06b-d8d90b1a8750","name":"Command Injection","shortDescription":{"text":"Command Injection"},"helpUri":"https://cwe.mitre.org/data/definitions/77.html"},{"id":"CWE-776","guid":"9228794e-eb37-cc55-9570-3bbc19789fef","name":"CWE-776","shortDescription":{"text":"CWE-776"},"helpUri":"https://cwe.mitre.org/data/definitions/776.html"},{"id":"CWE-78","guid":"2e31ceaf-c7ae-2e5e-9661-cfb1362789cf","name":"OS Command Injection","shortDescription":{"text":"OS Command Injection"},"helpUri":"https://cwe.mitre.org/data/definitions/78.html"},{"id":"CWE-79","guid":"fd45580b-e8c4-fc5e-8c2f-aa8fab0b4dbf","name":"Cross-site Scripting (XSS)","shortDescription":{"text":"Cross-site Scripting (XSS)"},"helpUri":"https://cwe.mitre.org/data/definitions/79.html"},{"id":"CWE-798","guid":"5e8f057d-fee3-995a-a0cb-9fc5b0d174d1","name":"Use of Hard-coded Credentials","shortDescription":{"text":"Use of Hard-coded Credentials"},"helpUri":"https://cwe.mitre.org/data/definitions/798.html"},{"id":"CWE-862","guid":"2d96ecd7-f7f1-7f55-9f3a-43bb5bafdf33","name":"CWE-862","shortDescription":{"text":"CWE-862"},"helpUri":"https://cwe.mitre.org/data/definitions/862.html"},{"id":"CWE-89","guid":"6d08fdad-37eb-c150-bbf0-d7d946863407","name":"SQL Injection","shortDescription":{"text":"SQL Injection"},"helpUri":"https://cwe.mitre.org/data/definitions/89.html"},{"id":"CWE-915","guid":"ec38bdce-3b41-7c53-a89e-debc2dd7da65","name":"CWE-915","shortDescription":{"text":"CWE-915"},"helpUri":"https://cwe.mitre.org/data/definitions/915.html"},{"id":"CWE-937","guid":"16f316ae-415c-b354-a59b-1f7905f756e9","name":"Using Components with Known Vulnerabilities","shortDescription":{"text":"Using Components with Known Vulnerabilities"},"helpUri":"https://cwe.mitre.org/data/definitions/937.html"},{"id":"CWE-94","guid":"75e7f50c-6c2f-dd52-bf40-bf6c52b861fd","name":"Code Injection","shortDescription":{"text":"Code Injection"},"helpUri":"https://cwe.mitre.org/data/definitions/94.html"}]}],"properties":{"codehealthPublication":{"public":true,"notice":"This is the PUBLIC form of this artifact. Findings are listed in full, but the details of SECURITY findings \u2014 which rule fired, in which file, on which line, and how to fix it \u2014 are deliberately withheld, and any secret-scanner results are excluded entirely. Where detail is absent here it was REMOVED FOR PUBLICATION; it is not missing from the analysis. The complete artifact is available from the repository owner.","securityFindingsRedacted":123,"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."]}]}