{"$schema":"https://json.schemastore.org/sarif-2.1.0.json","version":"2.1.0","runs":[{"tool":{"driver":{"name":"codehealth","informationUri":"https://codehealth.canine.dev","rules":[{"id":"D1","name":"Cyclomatic Complexity","shortDescription":{"text":"Cyclomatic Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D1"},{"id":"D2","name":"Cognitive Complexity","shortDescription":{"text":"Cognitive Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D2"},{"id":"D3","name":"God Classes","shortDescription":{"text":"God Classes"},"helpUri":"https://codehealth.canine.dev/dimensions/D3"},{"id":"D4","name":"Code Duplication","shortDescription":{"text":"Code Duplication"},"helpUri":"https://codehealth.canine.dev/dimensions/D4"},{"id":"D5","name":"Coupling","shortDescription":{"text":"Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D5"},{"id":"D6","name":"Cohesion (LCOM4)","shortDescription":{"text":"Cohesion (LCOM4)"},"helpUri":"https://codehealth.canine.dev/dimensions/D6"},{"id":"D12","name":"Dependency Hygiene","shortDescription":{"text":"Dependency Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/D12"},{"id":"D13","name":"Secret Scanning","shortDescription":{"text":"Secret Scanning"},"helpUri":"https://codehealth.canine.dev/dimensions/D13","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D14","name":"License Compliance","shortDescription":{"text":"License Compliance"},"helpUri":"https://codehealth.canine.dev/dimensions/D14"},{"id":"D15","name":"Churn \u00D7 Complexity Hotspots","shortDescription":{"text":"Churn \u00D7 Complexity Hotspots"},"helpUri":"https://codehealth.canine.dev/dimensions/D15"},{"id":"D16","name":"Bus Factor","shortDescription":{"text":"Bus Factor"},"helpUri":"https://codehealth.canine.dev/dimensions/D16"},{"id":"D17","name":"Explicit Debt","shortDescription":{"text":"Explicit Debt"},"helpUri":"https://codehealth.canine.dev/dimensions/D17"},{"id":"D19","name":"Documentation Quality","shortDescription":{"text":"Documentation Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D19"},{"id":"D20","name":"ADR Quality","shortDescription":{"text":"ADR Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D20"},{"id":"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"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D29","name":"Static Analysis (SAST)","shortDescription":{"text":"Static Analysis (SAST)"},"helpUri":"https://codehealth.canine.dev/dimensions/D29","relationships":[{"target":{"id":"CWE-79","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-89","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-94","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-77","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-79","CWE-89","CWE-78","CWE-94","CWE-77"],"owasp":"A05:2025"}},{"id":"D30","name":"Dependency Vulnerabilities","shortDescription":{"text":"Dependency Vulnerabilities"},"helpUri":"https://codehealth.canine.dev/dimensions/D30","relationships":[{"target":{"id":"CWE-1395","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-937","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1395","CWE-937"],"owasp":"A03:2025"}},{"id":"D31","name":"IaC \u0026 Container Security","shortDescription":{"text":"IaC \u0026 Container Security"},"helpUri":"https://codehealth.canine.dev/dimensions/D31","relationships":[{"target":{"id":"CWE-1032","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-732","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-16","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A02:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1032","CWE-732","CWE-16"],"owasp":"A02:2025"}},{"id":"D34","name":"Knowledge Freshness","shortDescription":{"text":"Knowledge Freshness"},"helpUri":"https://codehealth.canine.dev/dimensions/D34"},{"id":"D35","name":"Change Coupling","shortDescription":{"text":"Change Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D35"},{"id":"D36","name":"Supply-chain Provenance \u0026 Signing","shortDescription":{"text":"Supply-chain Provenance \u0026 Signing"},"helpUri":"https://codehealth.canine.dev/dimensions/D36","relationships":[{"target":{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1357","CWE-494"],"owasp":"A03:2025"}},{"id":"D37","name":"Vulnerability-disclosure Policy","shortDescription":{"text":"Vulnerability-disclosure Policy"},"helpUri":"https://codehealth.canine.dev/dimensions/D37","relationships":[{"target":{"id":"CWE-1059","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A02:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1059"],"owasp":"A02:2025"}},{"id":"D40","name":"Network Egress Confinement","shortDescription":{"text":"Network Egress Confinement"},"helpUri":"https://codehealth.canine.dev/dimensions/D40"},{"id":"D41","name":"Kernel \u0026 Syscall Confinement","shortDescription":{"text":"Kernel \u0026 Syscall Confinement"},"helpUri":"https://codehealth.canine.dev/dimensions/D41"},{"id":"D43","name":"Malicious Dependencies","shortDescription":{"text":"Malicious Dependencies"},"helpUri":"https://codehealth.canine.dev/dimensions/D43","relationships":[{"target":{"id":"CWE-506","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-506"],"owasp":"A08:2025"}},{"id":"D44","name":"Platform End-of-Life","shortDescription":{"text":"Platform End-of-Life"},"helpUri":"https://codehealth.canine.dev/dimensions/D44"},{"id":"AX10","name":"Code composition","shortDescription":{"text":"Code composition"},"helpUri":"https://codehealth.canine.dev/dimensions/AX10"},{"id":"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":"AX4","name":"Dependency direction","shortDescription":{"text":"Dependency direction"},"helpUri":"https://codehealth.canine.dev/dimensions/AX4"},{"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":"ED5","name":"Idempotency","shortDescription":{"text":"Idempotency"},"helpUri":"https://codehealth.canine.dev/dimensions/ED5"},{"id":"M1","name":"Documentation (README)","shortDescription":{"text":"Documentation (README)"},"helpUri":"https://codehealth.canine.dev/dimensions/M1"},{"id":"M2","name":"Architecture documentation","shortDescription":{"text":"Architecture documentation"},"helpUri":"https://codehealth.canine.dev/dimensions/M2"},{"id":"M3","name":"Folder \u0026 project structure","shortDescription":{"text":"Folder \u0026 project structure"},"helpUri":"https://codehealth.canine.dev/dimensions/M3"},{"id":"M4","name":"Documentation accuracy","shortDescription":{"text":"Documentation accuracy"},"helpUri":"https://codehealth.canine.dev/dimensions/M4"},{"id":"P1","name":"CI/CD gates","shortDescription":{"text":"CI/CD gates"},"helpUri":"https://codehealth.canine.dev/dimensions/P1"},{"id":"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":"SC1","name":"Supply-chain hygiene","shortDescription":{"text":"Supply-chain hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/SC1"},{"id":"X10","name":"Duplicated predicate","shortDescription":{"text":"Duplicated predicate"},"helpUri":"https://codehealth.canine.dev/dimensions/X10"},{"id":"X14","name":"Bypassable address classification","shortDescription":{"text":"Bypassable address classification"},"helpUri":"https://codehealth.canine.dev/dimensions/X14"},{"id":"X15","name":"Unvalidated length from an untrusted reader","shortDescription":{"text":"Unvalidated length from an untrusted reader"},"helpUri":"https://codehealth.canine.dev/dimensions/X15"},{"id":"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":"X26","name":"Unsynchronised callback handoff","shortDescription":{"text":"Unsynchronised callback handoff"},"helpUri":"https://codehealth.canine.dev/dimensions/X26"},{"id":"X28","name":"Index access outside its own emptiness guard","shortDescription":{"text":"Index access outside its own emptiness guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X28"},{"id":"X3","name":"Exception handling","shortDescription":{"text":"Exception handling"},"helpUri":"https://codehealth.canine.dev/dimensions/X3"},{"id":"X30","name":"Support guard that admits what it rejects","shortDescription":{"text":"Support guard that admits what it rejects"},"helpUri":"https://codehealth.canine.dev/dimensions/X30"},{"id":"X32","name":"Type resolved by simple name across every loaded assembly","shortDescription":{"text":"Type resolved by simple name across every loaded assembly"},"helpUri":"https://codehealth.canine.dev/dimensions/X32"},{"id":"X5","name":"Nullable reference types","shortDescription":{"text":"Nullable reference types"},"helpUri":"https://codehealth.canine.dev/dimensions/X5"},{"id":"X6","name":"Hand-rolled structured-format parsing","shortDescription":{"text":"Hand-rolled structured-format parsing"},"helpUri":"https://codehealth.canine.dev/dimensions/X6"},{"id":"X7","name":"Silent fallback defaults","shortDescription":{"text":"Silent fallback defaults"},"helpUri":"https://codehealth.canine.dev/dimensions/X7"},{"id":"X9","name":"Subsumed condition operand","shortDescription":{"text":"Subsumed condition operand"},"helpUri":"https://codehealth.canine.dev/dimensions/X9"}]}},"results":[{"ruleId":"D1","level":"warning","message":{"text":"command.parseWatchArgs (cyclomatic 46): command.parseWatchArgs has cyclomatic complexity 46 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"etcdctl/ctlv3/command/watch_command.go"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2a3845efb40993cbd0afdec1e5baebbe66ea893238189eed371c2455cd30075"}},{"ruleId":"D1","level":"warning","message":{"text":"watchGRPCStream.run (cyclomatic 44): watchGRPCStream.run has cyclomatic complexity 44 (threshold 15). Of this number, 38 points are the body\u0027s own statements and 6 belong to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/v3/watch.go"},"region":{"startLine":512}}}],"partialFingerprints":{"codehealthFindingId/v1":"d59c2fc6ee285fd2ba816cf68828fa428cb74f8cc82b8285b3ddcafc73e6d856"}},{"ruleId":"D1","level":"warning","message":{"text":"server.ioCopy (cyclomatic 41): server.ioCopy has cyclomatic complexity 41 (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":"pkg/proxy/server.go"},"region":{"startLine":426}}}],"partialFingerprints":{"codehealthFindingId/v1":"f287a6e9dfd1852b99e2094ac0b27ac10c95ee27f818337872c1ae4a45ff9ab2"}},{"ruleId":"D1","level":"warning","message":{"text":"Config.Validate (cyclomatic 39): Config.Validate has cyclomatic complexity 39 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/embed/config.go"},"region":{"startLine":926}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0b0d1ca036631f51e57678f79f23304483903e8b257e8c78582571ae7a170a0"}},{"ruleId":"D1","level":"warning","message":{"text":"serverWatchStream.sendLoop (cyclomatic 36): serverWatchStream.sendLoop has cyclomatic complexity 36 (threshold 15). Of this number, 33 points are the body\u0027s own statements and 3 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":"server/etcdserver/api/v3rpc/watch.go"},"region":{"startLine":411}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e79ad0835c3858a148435d0cc410f8b05bb7c15fce0e8c9c6655df30ad3add6"}},{"ruleId":"D1","level":"warning","message":{"text":"TLSInfo.baseConfig (cyclomatic 35): TLSInfo.baseConfig has cyclomatic complexity 35 (threshold 15). Of this number, 23 points are the body\u0027s own statements and 12 belong to 5 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/pkg/transport/listener.go"},"region":{"startLine":368}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f1af357d5adc81827b36235690069cc6a4d733f058b1aa8a1380528fc9e7038"}},{"ruleId":"D1","level":"warning","message":{"text":"serverWatchStream.recvLoop (cyclomatic 34): serverWatchStream.recvLoop has cyclomatic complexity 34 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/etcdserver/api/v3rpc/watch.go"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce0441be9cd27c255291008cbc497d4c83bead338f870591d5cd2c2218682a4a"}},{"ruleId":"D1","level":"warning","message":{"text":"command.getGetOp (cyclomatic 32): command.getGetOp has cyclomatic complexity 32 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"etcdctl/ctlv3/command/get_command.go"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"732feb90809d06d201eda6da1279eda4cb806901e7821c3aaacad6c26424bddc"}},{"ruleId":"D1","level":"warning","message":{"text":"embed.configureClientListeners (cyclomatic 31): embed.configureClientListeners has cyclomatic complexity 31 (threshold 15). Of this number, 29 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":"server/embed/etcd.go"},"region":{"startLine":644}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0001e9ace7b6e5b696cba7f7636314a32af004b62d18c85d48842339dca57c0"}},{"ruleId":"D1","level":"warning","message":{"text":"Config.setupLogging (cyclomatic 31): Config.setupLogging has cyclomatic complexity 31 (threshold 15). Of this number, 28 points are the body\u0027s own statements and 3 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":"server/embed/config_logging.go"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"55444a83c8f2d64a26de3648deb49d56addd72a954bb2d73e9c6922f2c4558a9"}},{"ruleId":"D1","level":"warning","message":{"text":"raftNode.start (cyclomatic 31): raftNode.start has cyclomatic complexity 31 (threshold 15). Most of this is not in the body itself: 1 of the 31 points is its own statement and the rest belongs to one function literal inside it that branches (line 177). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/etcdserver/raft.go"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd65d73260ea770831e888597f691515d42f8a522b0fdf90a2b9e2795830835b"}},{"ruleId":"D1","level":"warning","message":{"text":"configYAML.configFromFile (cyclomatic 29): configYAML.configFromFile has cyclomatic complexity 29 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/embed/config.go"},"region":{"startLine":766}}}],"partialFingerprints":{"codehealthFindingId/v1":"d514a2f4d54b030de8301636faee018aa5d98b471f9084925d9d6a162f425597"}},{"ruleId":"D1","level":"warning","message":{"text":"server.listenAndServe (cyclomatic 27): server.listenAndServe has cyclomatic complexity 27 (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":"pkg/proxy/server.go"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"8df15da2489615ac25c0215b229c70185e96576fbc4b7463a7c0b7fe8a42fa09"}},{"ruleId":"D1","level":"warning","message":{"text":"clientv3.newClient (cyclomatic 26): clientv3.newClient has cyclomatic complexity 26 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/v3/client.go"},"region":{"startLine":362}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bd7c3d97bbfdff8029693abcc73bd08b9bb9a83c00d7230263e092cdd4cee8c"}},{"ruleId":"D1","level":"warning","message":{"text":"serveCtx.serve (cyclomatic 26): serveCtx.serve has cyclomatic complexity 26 (threshold 15). Of this number, 24 points are the body\u0027s own statements and 2 belong to 2 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/embed/serve.go"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"17ad6ff20dcc381efbfe52e91e4259ff61cdf3ec491472676cf22eb6dd047d0b"}},{"ruleId":"D1","level":"warning","message":{"text":"RaftCluster.ValidateConfigurationChange (cyclomatic 26): RaftCluster.ValidateConfigurationChange 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":"server/etcdserver/api/membership/cluster.go"},"region":{"startLine":306}}}],"partialFingerprints":{"codehealthFindingId/v1":"91be385ad38752c3853684cdb5a9777ce67d775c3c4eb00711029542e2936cbf"}},{"ruleId":"D1","level":"warning","message":{"text":"WAL.ReadAll (cyclomatic 26): WAL.ReadAll 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":"server/storage/wal/wal.go"},"region":{"startLine":477}}}],"partialFingerprints":{"codehealthFindingId/v1":"f600c69b11fa1fda6d1988db13efb3c5d887701ac3669e9d34fe1907789c5b84"}},{"ruleId":"D1","level":"warning","message":{"text":"command.makeMirror (cyclomatic 24): command.makeMirror has cyclomatic complexity 24 (threshold 15). Of this number, 23 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":"etcdctl/ctlv3/command/make_mirror_command.go"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fe78c47f23efbf5a6c706483f5240632155013745a24aefdae9005674142400"}},{"ruleId":"D1","level":"warning","message":{"text":"v3rpc.logUnaryRequestStats (cyclomatic 24): v3rpc.logUnaryRequestStats 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":"server/etcdserver/api/v3rpc/interceptor.go"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d6a5a70af4f4b1a888640ba367fbda7b8a323c04b88b469ffd3bdd6cb442548"}},{"ruleId":"D1","level":"warning","message":{"text":"streamWriter.run (cyclomatic 23): streamWriter.run has cyclomatic complexity 23 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/etcdserver/api/rafthttp/stream.go"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd81ffebe49e4a2920958eba2915eb4351fe474c270fb9929d63f9c5820aaa2c"}},{"ruleId":"D1","level":"warning","message":{"text":"embed.StartEtcd (cyclomatic 22): embed.StartEtcd has cyclomatic complexity 22 (threshold 15). Of this number, 18 points are the body\u0027s own statements and 4 belong to one function literal inside it that branches. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/embed/etcd.go"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ca47c633e41dc8f80fb53b01bc15335c9f4a1977c739975273ce4eba85492ea"}},{"ruleId":"D1","level":"warning","message":{"text":"etcdmain.startEtcdOrProxyV2 (cyclomatic 22): etcdmain.startEtcdOrProxyV2 has cyclomatic complexity 22 (threshold 15). Of this number, 21 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":"server/etcdmain/etcd.go"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7d1279a64b28334f30d1d509327ce1858fdc45584832573fc56008a300a8c99"}},{"ruleId":"D1","level":"warning","message":{"text":"v3rpc.checkIntervals (cyclomatic 21): v3rpc.checkIntervals 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":"server/etcdserver/api/v3rpc/key.go"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba57964b7ebec46ee84848dfe433ffb8d6af2aafd949e5e10617a521cb653ce1"}},{"ruleId":"D1","level":"warning","message":{"text":"watchGRPCStream.serveSubstream (cyclomatic 20): watchGRPCStream.serveSubstream has cyclomatic complexity 20 (threshold 15). Of this number, 17 points are the body\u0027s own statements and 3 belong to 2 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/v3/watch.go"},"region":{"startLine":789}}}],"partialFingerprints":{"codehealthFindingId/v1":"e53eede36db143737f8fe13c8d6d86c38e4a9a53c6b7af50712c917840c67946"}},{"ruleId":"D1","level":"warning","message":{"text":"leaseHandler.ServeHTTP (cyclomatic 20): leaseHandler.ServeHTTP has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/lease/leasehttp/http.go"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"f17027fe7510443ad2f812bd424ce7dd03fa0526aa9a03ad6e9a88f15c5da0bb"}},{"ruleId":"D1","level":"warning","message":{"text":"wal.Create (cyclomatic 20): wal.Create has cyclomatic complexity 20 (threshold 15). Of this number, 17 points are the body\u0027s own statements and 3 belong to 3 function literals inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/storage/wal/wal.go"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"db92e7a022660a7fb26703ab0b33c708882edf77ec0785a08fdd28b49f8cb281"}},{"ruleId":"D1","level":"warning","message":{"text":"wal.Verify (cyclomatic 20): wal.Verify has cyclomatic complexity 20 (threshold 15). Of this number, 19 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/storage/wal/wal.go"},"region":{"startLine":709}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1fad8944611c7110c6fd60fa40e9297250b940566096e3ed1ed29eae66346a4"}},{"ruleId":"D1","level":"warning","message":{"text":"msgAppV2Encoder.encode (cyclomatic 19): msgAppV2Encoder.encode 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":"server/etcdserver/api/rafthttp/msgappv2_codec.go"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab45aed114db00d221a093750c968c029b40f68461efad56d94307a506dd23c1"}},{"ruleId":"D1","level":"warning","message":{"text":"Cache.Watch (cyclomatic 18): Cache.Watch has cyclomatic complexity 18 (threshold 15). Most of this is not in the body itself: 3 of the 18 points are its own statements and the rest belongs to one function literal inside it that branches (line 143). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cache/cache.go"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1a3bbde4745f797857dd2b81542750b39ca451f13611f3b9a7efbbc952ce636"}},{"ruleId":"D1","level":"warning","message":{"text":"command.newCheckDatascaleCommand (cyclomatic 18): command.newCheckDatascaleCommand has cyclomatic complexity 18 (threshold 15). Of this number, 16 points are the body\u0027s own statements and 2 belong to 2 function literals inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"etcdctl/ctlv3/command/check.go"},"region":{"startLine":315}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f20a540cde4e7752886e5d986312b63d6f9642732bd6cb6e1ef26e28a49ea4d"}},{"ruleId":"D1","level":"warning","message":{"text":"command.epHealthCommandFunc (cyclomatic 18): command.epHealthCommandFunc has cyclomatic complexity 18 (threshold 15). Most of this is not in the body itself: 8 of the 18 points are its own statements and the rest belongs to one function literal inside it that branches (line 118). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"etcdctl/ctlv3/command/ep_command.go"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5932968a25b90b3f906764efc92a14929ea0ea5c67a846040da8d95af40ad94"}},{"ruleId":"D1","level":"warning","message":{"text":"v3Manager.copyAndVerifyDB (cyclomatic 18): v3Manager.copyAndVerifyDB has cyclomatic complexity 18 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"etcdutl/snapshot/v3_snapshot.go"},"region":{"startLine":434}}}],"partialFingerprints":{"codehealthFindingId/v1":"8522fd3cf2eb7029f33485533c5cb6f14ae106c8583c914dc34260842ecb2acf"}},{"ruleId":"D1","level":"warning","message":{"text":"EtcdServer.LeaseRenew (cyclomatic 18): EtcdServer.LeaseRenew has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This is NOT this file\u0027s highest cyclomatic complexity: etcdserver.getRequestType (cyclomatic 31) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded function is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/etcdserver/v3_server.go"},"region":{"startLine":489}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9c471e3b195feaccd9df1e7ff69bcd4c23cd26a611840d89ca4c4b79ec96676"}},{"ruleId":"D1","level":"warning","message":{"text":"fileutil.purgeFile (cyclomatic 17): fileutil.purgeFile has cyclomatic complexity 17 (threshold 15). Most of this is not in the body itself: 2 of the 17 points are its own statements and the rest belongs to one function literal inside it that branches (line 55). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/pkg/fileutil/purge.go"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d2b105369b7c71df3f5d372566e8ebbf980786c500fcbaba332ff95152241a0"}},{"ruleId":"D1","level":"warning","message":{"text":"Election.observe (cyclomatic 17): Election.observe has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/v3/concurrency/election.go"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe897d1e4a01c6cd16e113fd1b1fd768fcbb7aab2a050d418cc6b150a33bc9ca"}},{"ruleId":"D1","level":"warning","message":{"text":"command.newCheckPerfCommand (cyclomatic 17): command.newCheckPerfCommand has cyclomatic complexity 17 (threshold 15). Of this number, 14 points are the body\u0027s own statements and 3 belong to 3 function literals inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"etcdctl/ctlv3/command/check.go"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"860b820cf74ad17dd3f91f82b9fd4db52d573136d37c6de18838ea905bbaae34"}},{"ruleId":"D1","level":"warning","message":{"text":"v3Manager.Status (cyclomatic 17): v3Manager.Status has cyclomatic complexity 17 (threshold 15). Most of this is not in the body itself: 4 of the 17 points are its own statements and the rest belongs to one function literal inside it that branches (line 130). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"etcdutl/snapshot/v3_snapshot.go"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c3c3ff55e1e0f5e16ab7eb78dbccae945b23648189f894886f4ffafb70d5d80"}},{"ruleId":"D1","level":"warning","message":{"text":"EtcdServer.run (cyclomatic 17): EtcdServer.run has cyclomatic complexity 17 (threshold 15). Of this number, 9 points are the body\u0027s own statements and 8 belong to 2 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/etcdserver/server.go"},"region":{"startLine":751}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd7352c91a83a9b2877465bed38f71a7b7ff7ed0273b01ad46d510f3e8ffb96c"}},{"ruleId":"D1","level":"warning","message":{"text":"watcher.send (cyclomatic 17): watcher.send has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/proxy/grpcproxy/watcher.go"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"213dfcec3b032c6dc6ea21d36e41a1ef2538996c3aeb7cb3094c05bc037e406b"}},{"ruleId":"D1","level":"warning","message":{"text":"backend.catchUpDefrag (cyclomatic 17): backend.catchUpDefrag has cyclomatic complexity 17 (threshold 15). Of this number, 16 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/storage/backend/backend.go"},"region":{"startLine":960}}}],"partialFingerprints":{"codehealthFindingId/v1":"46ea4cfcb2d5377582dbfb2038a7117ac9514e525168a323983e0c10a49d7364"}},{"ruleId":"D1","level":"warning","message":{"text":"decoder.decodeRecord (cyclomatic 17): decoder.decodeRecord has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/storage/wal/decoder.go"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf24d67072f3a5fbc0c42667b5e01d9e2bfc79c4668a2112c7ca710c378fe98b"}},{"ruleId":"D1","level":"warning","message":{"text":"watcher.Watch (cyclomatic 16): watcher.Watch 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":"client/v3/watch.go"},"region":{"startLine":304}}}],"partialFingerprints":{"codehealthFindingId/v1":"15a682b2624fc801479945e86393e740ca66712f967b52a03b9bb30a93f0680f"}},{"ruleId":"D1","level":"warning","message":{"text":"v3Manager.Restore (cyclomatic 16): v3Manager.Restore has cyclomatic complexity 16 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"etcdutl/snapshot/v3_snapshot.go"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1b50b2ae41343a7b55c470a45f4b66b612c9722e3514b63541f58ca032f3dc9"}},{"ruleId":"D1","level":"warning","message":{"text":"accessController.ServeHTTP (cyclomatic 16): accessController.ServeHTTP 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":"server/embed/serve.go"},"region":{"startLine":444}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2e40bb9f6e58a4e4b31baeead3b1c9e0b7e17933c0a3da2888cbb0ec1f445f3"}},{"ruleId":"D1","level":"warning","message":{"text":"etcdmain.startGateway (cyclomatic 16): etcdmain.startGateway 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":"server/etcdmain/gateway.go"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"206ed865e0008ec5b3fbd2d3b03346e45f0c20af9c84d61666087dc87db349f3"}},{"ruleId":"D1","level":"warning","message":{"text":"etcdmain.checkArgs (cyclomatic 16): etcdmain.checkArgs has cyclomatic complexity 16 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/etcdmain/grpc_proxy.go"},"region":{"startLine":291}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bcc41a5d9c82d58b12faff50d7c23a5cbf4be46a6a5563643e0c70888eb97e3"}},{"ruleId":"D1","level":"warning","message":{"text":"streamReader.dial (cyclomatic 16): streamReader.dial 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":"server/etcdserver/api/rafthttp/stream.go"},"region":{"startLine":569}}}],"partialFingerprints":{"codehealthFindingId/v1":"48e3bf04b6fc7e3f5b1504bcb9b276ed0f78012f3a2f06b94a82626a785e08d4"}},{"ruleId":"D1","level":"warning","message":{"text":"apply.checkTxnReqsPermission (cyclomatic 16): apply.checkTxnReqsPermission 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":"server/etcdserver/apply/auth.go"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"e26860e6a0f9e08f13604649eb6b0619426c510718051ce683c2ab899ee3c7b5"}},{"ruleId":"D1","level":"warning","message":{"text":"EtcdServer.applyConfChange (cyclomatic 16): EtcdServer.applyConfChange 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":"server/etcdserver/server.go"},"region":{"startLine":2002}}}],"partialFingerprints":{"codehealthFindingId/v1":"da6262257a408ddd102b6b7ea9d394220c4b6b7790b48d3b514bddb714372c07"}},{"ruleId":"D1","level":"warning","message":{"text":"EtcdServer.rangeStream (cyclomatic 16): EtcdServer.rangeStream 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. This is NOT this file\u0027s highest cyclomatic complexity: etcdserver.getRequestType (cyclomatic 31) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded function is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/etcdserver/v3_server.go"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"62775aeea9cacbe803233d718aef0e08215a763b2bfb57c024a383580c3a966a"}},{"ruleId":"D1","level":"warning","message":{"text":"leaseProxy.LeaseKeepAlive (cyclomatic 16): leaseProxy.LeaseKeepAlive has cyclomatic complexity 16 (threshold 15). Of this number, 11 points are the body\u0027s own statements and 5 belong to 3 function literals inside it that branch. 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":"server/proxy/grpcproxy/lease.go"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a5943583f3a21f01be38ab3b9ba40d166b4c64ef5aab11b3d49f148adab796c"}},{"ruleId":"D1","level":"warning","message":{"text":"backend.defragdbAndTrackLastKeys (cyclomatic 16): backend.defragdbAndTrackLastKeys has cyclomatic complexity 16 (threshold 15). Of this number, 11 points are the body\u0027s own statements and 5 belong to 2 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/storage/backend/backend.go"},"region":{"startLine":862}}}],"partialFingerprints":{"codehealthFindingId/v1":"89ca96bf1990dc490122f2ba78e02f58f30065f631ad8114831b87e6d90c1dc7"}},{"ruleId":"D1","level":"warning","message":{"text":"WAL.cut (cyclomatic 16): WAL.cut has cyclomatic complexity 16 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/storage/wal/wal.go"},"region":{"startLine":790}}}],"partialFingerprints":{"codehealthFindingId/v1":"07445d16865e82d3cd6c81ad631bfe96e08bb510e6e1ecf59cc592927a94e94e"}},{"ruleId":"D2","level":"warning","message":{"text":"watchGRPCStream.run (cognitive 99): watchGRPCStream.run has cognitive complexity 99 (threshold 15). Drivers by points: if/else 24 (83 pts), match/switch 3 (8 pts), boolean chains 4, loops 4 (nesting depth added 64). Of this number, 91 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":"client/v3/watch.go"},"region":{"startLine":512}}}],"partialFingerprints":{"codehealthFindingId/v1":"073b584381865fa8ed2679e45d82297115971b773402c0dd9601fb4f81a326de"}},{"ruleId":"D2","level":"warning","message":{"text":"serverWatchStream.sendLoop (cognitive 91): serverWatchStream.sendLoop has cognitive complexity 91 (threshold 15). Drivers by points: if/else 21 (67 pts), loops 7 (15 pts), boolean chains 7, match/switch 1 (2 pts) (nesting depth added 55). Of this number, 87 points are the body\u0027s own statements and 4 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/etcdserver/api/v3rpc/watch.go"},"region":{"startLine":411}}}],"partialFingerprints":{"codehealthFindingId/v1":"4dd911908c45783d8a0e186e4b08d637444455bbd06bf45a5797b0b80351150e"}},{"ruleId":"D2","level":"warning","message":{"text":"Config.setupLogging (cognitive 81): Config.setupLogging has cognitive complexity 81 (threshold 15). Drivers by points: if/else 25 (65 pts), loops 4 (12 pts), match/switch 2 (4 pts) (nesting depth added 50). Of this number, 73 points are the body\u0027s own statements and 8 belong to one function literal inside it that branches. The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. 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. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/embed/config_logging.go"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba0f77ad4d9dd9ed52fa23a2451d0326f6e2209cd4c30a2490d012d2e4ffae60"}},{"ruleId":"D2","level":"warning","message":{"text":"raftNode.start (cognitive 81): raftNode.start has cognitive complexity 81 (threshold 15). Drivers by points: if/else 20 (62 pts), match/switch 4 (14 pts), loops 2 (4 pts), boolean chains 1 (nesting depth added 54). None of this is in the body itself: all 81 points belong to one function literal inside it that branches (line 177). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/etcdserver/raft.go"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"61fa0707a63e80ef275297a3067d5c91c92f435a7089227eed2b02e70175ac46"}},{"ruleId":"D2","level":"warning","message":{"text":"serverWatchStream.recvLoop (cognitive 80): serverWatchStream.recvLoop has cognitive complexity 80 (threshold 15). Drivers by points: if/else 18 (56 pts), match/switch 6 (22 pts), boolean chains 1, loops 1 (nesting depth added 54). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/etcdserver/api/v3rpc/watch.go"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"e027b734243a6718c2877beb2bf839209606753bae3ca5ce134258a38feba845"}},{"ruleId":"D2","level":"warning","message":{"text":"command.parseWatchArgs (cognitive 73): command.parseWatchArgs has cognitive complexity 73 (threshold 15). Drivers by points: if/else 29 (56 pts), loops 6 (10 pts), boolean chains 7 (nesting depth added 31). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"etcdctl/ctlv3/command/watch_command.go"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa0501c2fcc096a7359cd052d02493f2b24cd7250dfdc0652afabde13772b70c"}},{"ruleId":"D2","level":"warning","message":{"text":"server.ioCopy (cognitive 73): server.ioCopy has cognitive complexity 73 (threshold 15). Drivers by points: match/switch 15 (42 pts), if/else 12 (30 pts), loops 1 (nesting depth added 45). 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. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/proxy/server.go"},"region":{"startLine":426}}}],"partialFingerprints":{"codehealthFindingId/v1":"d39259311d032463b080170a59c1310bcc6636f663bc9e1c32fc85ad9533767b"}},{"ruleId":"D2","level":"warning","message":{"text":"server.listenAndServe (cognitive 63): server.listenAndServe has cognitive complexity 63 (threshold 15). Drivers by points: match/switch 11 (43 pts), if/else 8 (19 pts), loops 1 (nesting depth added 43). 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. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/proxy/server.go"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"9409173596713452f6e64bfa5f72d7cf6eeae6ec30fdff09fc4a6fa045198a69"}},{"ruleId":"D2","level":"warning","message":{"text":"RaftCluster.ValidateConfigurationChange (cognitive 58): RaftCluster.ValidateConfigurationChange has cognitive complexity 58 (threshold 15). Drivers by points: if/else 16 (39 pts), loops 6 (17 pts), boolean chains 1, match/switch 1 (nesting depth added 34). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/etcdserver/api/membership/cluster.go"},"region":{"startLine":306}}}],"partialFingerprints":{"codehealthFindingId/v1":"fba129a6d023c781b62977bae093ae04f1bc99ca31827411522448274bea0ce2"}},{"ruleId":"D2","level":"warning","message":{"text":"streamWriter.run (cognitive 52): streamWriter.run has cognitive complexity 52 (threshold 15). Drivers by points: if/else 15 (45 pts), match/switch 2 (5 pts), boolean chains 1, loops 1 (nesting depth added 33). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/etcdserver/api/rafthttp/stream.go"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce338b012a0695e679c5fb9408a1432facccca984f47ba9cccdb821b7a5deb82"}},{"ruleId":"D2","level":"warning","message":{"text":"TLSInfo.baseConfig (cognitive 48): TLSInfo.baseConfig has cognitive complexity 48 (threshold 15). Drivers by points: if/else 27 (37 pts), loops 3 (6 pts), boolean chains 5 (nesting depth added 13). Of this number, 24 points are the body\u0027s own statements and 24 belong to 5 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/pkg/transport/listener.go"},"region":{"startLine":368}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7dd60c461c4ec5a13fc1fb0906312d98897196b0db6c0be1fea89136dc46bd9"}},{"ruleId":"D2","level":"warning","message":{"text":"serveCtx.serve (cognitive 48): serveCtx.serve has cognitive complexity 48 (threshold 15). Drivers by points: if/else 21 (44 pts), boolean chains 2, match/switch 2 (nesting depth added 23). Of this number, 42 points are the body\u0027s own statements and 6 belong to 2 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/embed/serve.go"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"78bf67c422b8ae7b3cfcfc1faefe9973bd227672de77f4165d9399d37392f942"}},{"ruleId":"D2","level":"warning","message":{"text":"command.makeMirror (cognitive 47): command.makeMirror has cognitive complexity 47 (threshold 15). Drivers by points: if/else 13 (32 pts), loops 5 (9 pts), boolean chains 3, match/switch 1 (3 pts) (nesting depth added 25). Of this number, 46 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":"etcdctl/ctlv3/command/make_mirror_command.go"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"37614c52f20f23048320bb4c5d220ffc312b87dd2a43d0deef4049cc0ad2b5f0"}},{"ruleId":"D2","level":"warning","message":{"text":"embed.configureClientListeners (cognitive 46): embed.configureClientListeners has cognitive complexity 46 (threshold 15). Drivers by points: if/else 16 (31 pts), boolean chains 9, loops 5 (6 pts) (nesting depth added 16). Of this number, 43 points are the body\u0027s own statements and 3 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/embed/etcd.go"},"region":{"startLine":644}}}],"partialFingerprints":{"codehealthFindingId/v1":"788128a209240aebe4e0a7b2eabc1ccc9f894b627b4bbd64f83e942371b2e35f"}},{"ruleId":"D2","level":"warning","message":{"text":"v3rpc.checkIntervals (cognitive 43): v3rpc.checkIntervals has cognitive complexity 43 (threshold 15). Drivers by points: if/else 15 (35 pts), loops 5 (7 pts), boolean chains 1 (nesting depth added 22). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/etcdserver/api/v3rpc/key.go"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b3df9b96d1e0eb11b358d3e66e6d93b1aeb105a639ab01fe0679b5bfe1fbe16"}},{"ruleId":"D2","level":"warning","message":{"text":"Election.observe (cognitive 41): Election.observe has cognitive complexity 41 (threshold 15). Drivers by points: if/else 7 (21 pts), loops 5 (13 pts), match/switch 2 (6 pts), boolean chains 1 (nesting depth added 26). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/v3/concurrency/election.go"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"231bb337bfd588614e806669f08b3d37aeea2b8dbcebd68dd821f0ae907e1230"}},{"ruleId":"D2","level":"warning","message":{"text":"backend.catchUpDefrag (cognitive 41): backend.catchUpDefrag has cognitive complexity 41 (threshold 15). Drivers by points: if/else 13 (36 pts), loops 2 (4 pts), boolean chains 1 (nesting depth added 25). 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, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/storage/backend/backend.go"},"region":{"startLine":960}}}],"partialFingerprints":{"codehealthFindingId/v1":"46833e21b860fc736ab33084ab27531688790d3f6cea63328010d53bc28da32d"}},{"ruleId":"D2","level":"warning","message":{"text":"WAL.ReadAll (cognitive 41): WAL.ReadAll has cognitive complexity 41 (threshold 15). Drivers by points: if/else 15 (34 pts), boolean chains 3, match/switch 2 (3 pts), loops 1 (nesting depth added 20). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/storage/wal/wal.go"},"region":{"startLine":477}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a624050352a52a240b9df7b92d6b579ec24cfc5e94f7e195ef53e1b1934be66"}},{"ruleId":"D2","level":"warning","message":{"text":"fileutil.purgeFile (cognitive 40): fileutil.purgeFile has cognitive complexity 40 (threshold 15). Drivers by points: if/else 11 (32 pts), loops 3 (6 pts), match/switch 1 (2 pts) (nesting depth added 25). Most of this is not in the body itself: 1 of the 40 points is its own statement and the rest belongs to one function literal inside it that branches (line 55). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/pkg/fileutil/purge.go"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"41ac0b53130135d499ca3b442afb9365da21a44457b4706939524eeb993e6f73"}},{"ruleId":"D2","level":"warning","message":{"text":"watchGRPCStream.serveSubstream (cognitive 40): watchGRPCStream.serveSubstream has cognitive complexity 40 (threshold 15). Drivers by points: if/else 15 (37 pts), match/switch 1 (2 pts), loops 1 (nesting depth added 23). Of this number, 37 points are the body\u0027s own statements and 3 belong to 2 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/v3/watch.go"},"region":{"startLine":789}}}],"partialFingerprints":{"codehealthFindingId/v1":"53aa83d72d112a79725860e52b8fa0acea8347ada7aee3e7e356910403d9ac19"}},{"ruleId":"D2","level":"warning","message":{"text":"Config.Validate (cognitive 40): Config.Validate has cognitive complexity 40 (threshold 15). Drivers by points: if/else 28 (31 pts), boolean chains 6, loops 2, match/switch 1 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/embed/config.go"},"region":{"startLine":926}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c8024614ca69676dae08a1e4064675aaef9eba36cc6376180b9c4a518c64f00"}},{"ruleId":"D2","level":"warning","message":{"text":"msgAppV2Encoder.encode (cognitive 39): msgAppV2Encoder.encode has cognitive complexity 39 (threshold 15). Drivers by points: if/else 14 (35 pts), loops 1 (2 pts), boolean chains 1, match/switch 1 (nesting depth added 22). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. 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. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/etcdserver/api/rafthttp/msgappv2_codec.go"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"a298eeef4e47e967f2f11d8171a83cf229b1c3b3a69acc8d19e7cb06dca4ce99"}},{"ruleId":"D2","level":"warning","message":{"text":"configYAML.configFromFile (cognitive 37): configYAML.configFromFile has cognitive complexity 37 (threshold 15). Drivers by points: if/else 24 (32 pts), loops 2 (3 pts), boolean chains 2 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/embed/config.go"},"region":{"startLine":766}}}],"partialFingerprints":{"codehealthFindingId/v1":"55c78de5d4be2bb861659d30a22e27a22f57599b9f99acd1c090de73a1178c54"}},{"ruleId":"D2","level":"warning","message":{"text":"v3rpc.logUnaryRequestStats (cognitive 37): v3rpc.logUnaryRequestStats has cognitive complexity 37 (threshold 15). Drivers by points: if/else 16 (26 pts), loops 2 (8 pts), boolean chains 2, match/switch 1 (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/etcdserver/api/v3rpc/interceptor.go"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"1605076de9e74def2ae5e4ee104ba3786b6743a9ed622e53e67d51dadea20590"}},{"ruleId":"D2","level":"warning","message":{"text":"intervalTree.deleteFixup (cognitive 36): intervalTree.deleteFixup has cognitive complexity 36 (threshold 15). Drivers by points: if/else 13 (32 pts), boolean chains 3, loops 1 (nesting depth added 19). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/adt/interval_tree.go"},"region":{"startLine":361}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e438e537b317483ac497860f0bac9a4e5325259318af54efc7385d301da9782"}},{"ruleId":"D2","level":"warning","message":{"text":"apply.checkTxnReqsPermission (cognitive 34): apply.checkTxnReqsPermission has cognitive complexity 34 (threshold 15). Drivers by points: if/else 10 (31 pts), match/switch 1 (2 pts), loops 1 (nesting depth added 22). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/etcdserver/apply/auth.go"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"038dff6e972cfefe8532811feff5869b458ed6125f0290a343d3ede4b3a910d9"}},{"ruleId":"D2","level":"warning","message":{"text":"EtcdServer.LeaseRenew (cognitive 34): EtcdServer.LeaseRenew has cognitive complexity 34 (threshold 15). Drivers by points: if/else 13 (29 pts), loops 2 (3 pts), boolean chains 1, match/switch 1 (nesting depth added 17). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/etcdserver/v3_server.go"},"region":{"startLine":489}}}],"partialFingerprints":{"codehealthFindingId/v1":"176fffccf118f71b1142ee20def6fef96c875059d5b75eb21ae048445cf45238"}},{"ruleId":"D2","level":"warning","message":{"text":"clientv3.newClient (cognitive 31): clientv3.newClient has cognitive complexity 31 (threshold 15). Drivers by points: if/else 21 (26 pts), boolean chains 5 (nesting depth added 5). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/v3/client.go"},"region":{"startLine":362}}}],"partialFingerprints":{"codehealthFindingId/v1":"deb9ded6ae3b67108abcb9c9fabd02430548a82c289312394ffa79871a03e6df"}},{"ruleId":"D2","level":"warning","message":{"text":"command.epHealthCommandFunc (cognitive 31): command.epHealthCommandFunc has cognitive complexity 31 (threshold 15). Drivers by points: if/else 10 (17 pts), loops 4 (7 pts), match/switch 1 (5 pts), boolean chains 2 (nesting depth added 14). Most of this is not in the body itself: 9 of the 31 points are its own statements and the rest belongs to one function literal inside it that branches (line 118). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"etcdctl/ctlv3/command/ep_command.go"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdc52ae2c42ae7b210bb49c106c583db2eec41ef5e8b56cafd07e3c59b04191d"}},{"ruleId":"D2","level":"warning","message":{"text":"etcdmain.startEtcdOrProxyV2 (cognitive 31): etcdmain.startEtcdOrProxyV2 has cognitive complexity 31 (threshold 15). Drivers by points: if/else 16 (26 pts), match/switch 2 (3 pts), boolean chains 2 (nesting depth added 11). Of this number, 30 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":"server/etcdmain/etcd.go"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c55510a4f070392a8587c42c84ffb1a0d278138161946d65643ae93d494c72b"}},{"ruleId":"D2","level":"warning","message":{"text":"leaseHandler.ServeHTTP (cognitive 31): leaseHandler.ServeHTTP has cognitive complexity 31 (threshold 15). Drivers by points: if/else 12 (23 pts), match/switch 3 (5 pts), loops 1 (3 pts) (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/lease/leasehttp/http.go"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"3691cffa3eb1efd72beea0e83b34dc78f7845c41cf9ff40d545c97da0a385ef3"}},{"ruleId":"D2","level":"warning","message":{"text":"command.getGetOp (cognitive 30): command.getGetOp has cognitive complexity 30 (threshold 15). Drivers by points: if/else 20 (25 pts), boolean chains 3, match/switch 2 (nesting depth added 5). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"etcdctl/ctlv3/command/get_command.go"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9d48376a98d1b2704187b0d0c78596262cf77e478cce29d897a955477d2ac18"}},{"ruleId":"D2","level":"warning","message":{"text":"leaseProxyStream.keepAliveLoop (cognitive 30): leaseProxyStream.keepAliveLoop has cognitive complexity 30 (threshold 15). Drivers by points: if/else 6 (18 pts), match/switch 2 (7 pts), loops 2 (5 pts) (nesting depth added 20). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/proxy/grpcproxy/lease.go"},"region":{"startLine":276}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6624b4f38d8ce7abffb020e45c516d1ba34360c8b41d5b6ee397f805e8a1763"}},{"ruleId":"D2","level":"warning","message":{"text":"mvcc.restoreIntoIndex (cognitive 30): mvcc.restoreIntoIndex has cognitive complexity 30 (threshold 15). Drivers by points: if/else 10 (25 pts), loops 2 (4 pts), boolean chains 1 (nesting depth added 17). None of this is in the body itself: all 30 points belong to one function literal inside it that branches (line 446). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/storage/mvcc/kvstore.go"},"region":{"startLine":444}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d7dcf8e3a2aac81b158986b4396ff08d7225a1211cb909a6f3af921047d4acf"}},{"ruleId":"D2","level":"warning","message":{"text":"v3Manager.Status (cognitive 29): v3Manager.Status has cognitive complexity 29 (threshold 15). Drivers by points: if/else 15 (27 pts), loops 2 (nesting depth added 12). Most of this is not in the body itself: 3 of the 29 points are its own statements and the rest belongs to one function literal inside it that branches (line 130). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"etcdutl/snapshot/v3_snapshot.go"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"0686d902ff7205eb97486e83c05acb141c80e7ddbdcd11e962764bd97f9d15a5"}},{"ruleId":"D2","level":"warning","message":{"text":"msgAppV2Decoder.decode (cognitive 29): msgAppV2Decoder.decode has cognitive complexity 29 (threshold 15). Drivers by points: if/else 11 (26 pts), loops 1 (2 pts), match/switch 1 (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/etcdserver/api/rafthttp/msgappv2_codec.go"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a4eefa856e87da1af3b00f2fc7be1ca7bcf6e12a44656f54bfa25e2b5749a9e"}},{"ruleId":"D2","level":"warning","message":{"text":"streamReader.decodeLoop (cognitive 29): streamReader.decodeLoop has cognitive complexity 29 (threshold 15). Drivers by points: if/else 10 (24 pts), match/switch 3 (4 pts), loops 1 (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/etcdserver/api/rafthttp/stream.go"},"region":{"startLine":471}}}],"partialFingerprints":{"codehealthFindingId/v1":"9760388fe8ff52ed0fa9bdb181ab6257eb0827c59050a7ecb1a55ae3433112bb"}},{"ruleId":"D2","level":"warning","message":{"text":"EtcdServer.rangeStream (cognitive 29): EtcdServer.rangeStream has cognitive complexity 29 (threshold 15). Drivers by points: if/else 13 (27 pts), boolean chains 1, loops 1 (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/etcdserver/v3_server.go"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"99a83e51ebcb2fa0fe8c49f69e95c17b4089fd03969d22b4d2a276915fea303a"}},{"ruleId":"D2","level":"warning","message":{"text":"wal.Repair (cognitive 28): wal.Repair has cognitive complexity 28 (threshold 15). Drivers by points: if/else 9 (24 pts), match/switch 1 (2 pts), boolean chains 1, loops 1 (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/storage/wal/repair.go"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"503b06bd5537710115724aa6eb0151580d14a51f1eb01cc77c2176a3009088d3"}},{"ruleId":"D2","level":"warning","message":{"text":"lessor.recvKeepAliveLoop (cognitive 27): lessor.recvKeepAliveLoop has cognitive complexity 27 (threshold 15). Drivers by points: if/else 6 (20 pts), loops 3 (5 pts), match/switch 1 (2 pts) (nesting depth added 17). Of this number, 26 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":"client/v3/lease.go"},"region":{"startLine":456}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb7b798ad9c2e6ffb31b33f5194d21fee7865bfb7e9e906863faae382ec5775d"}},{"ruleId":"D2","level":"warning","message":{"text":"streamReader.run (cognitive 27): streamReader.run has cognitive complexity 27 (threshold 15). Drivers by points: if/else 10 (23 pts), match/switch 1 (3 pts), loops 1 (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/etcdserver/api/rafthttp/stream.go"},"region":{"startLine":396}}}],"partialFingerprints":{"codehealthFindingId/v1":"7856c0655ca2a96e3421ee6f64fa10923ac6bf6ec3d81d72d5d44a86e36e75c1"}},{"ruleId":"D2","level":"warning","message":{"text":"decoder.decodeRecord (cognitive 26): decoder.decodeRecord has cognitive complexity 26 (threshold 15). Drivers by points: if/else 15 (24 pts), boolean chains 2 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/storage/wal/decoder.go"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cd3ab860cece7aa24db28fc751dfb656be17064379edfe6ea3d7ad367978ee6"}},{"ruleId":"D2","level":"warning","message":{"text":"Cache.Watch (cognitive 25): Cache.Watch has cognitive complexity 25 (threshold 15). Drivers by points: if/else 6 (14 pts), match/switch 3 (10 pts), loops 1 (nesting depth added 15). Most of this is not in the body itself: 2 of the 25 points are its own statements and the rest belongs to one function literal inside it that branches (line 143). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cache/cache.go"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c4292867abfa8f82db716adfc9a2e2bee435e9cfc77e8d189be40280caa2cf3"}},{"ruleId":"D2","level":"warning","message":{"text":"transport.isHostInDNS (cognitive 25): transport.isHostInDNS has cognitive complexity 25 (threshold 15). Drivers by points: if/else 7 (16 pts), loops 6 (9 pts) (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/pkg/transport/listener_tls.go"},"region":{"startLine":254}}}],"partialFingerprints":{"codehealthFindingId/v1":"e57acf03b04992fd30c6483ccdb67ea98ce06a19dd509ae18d85df49f41f4a87"}},{"ruleId":"D2","level":"warning","message":{"text":"embed.StartEtcd (cognitive 25): embed.StartEtcd has cognitive complexity 25 (threshold 15). Drivers by points: if/else 17 (20 pts), loops 2 (3 pts), boolean chains 2 (nesting depth added 4). Of this number, 20 points are the body\u0027s own statements and 5 belong to one function literal inside it that branches. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/embed/etcd.go"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"90dcc33d20c3a394f5da2d0ad84f13a5a8ed916fd7851ba303369475339b7760"}},{"ruleId":"D2","level":"warning","message":{"text":"txn.executeTxn (cognitive 25): txn.executeTxn has cognitive complexity 25 (threshold 15). Drivers by points: if/else 8 (22 pts), match/switch 1 (2 pts), loops 1 (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/etcdserver/txn/txn.go"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"6685d7a50a60ed58c237387b725d7fc871ecda5b70d325ff6abc12f2ff95639c"}},{"ruleId":"D2","level":"warning","message":{"text":"TCPProxy.runMonitor (cognitive 25): TCPProxy.runMonitor has cognitive complexity 25 (threshold 15). Drivers by points: if/else 5 (19 pts), loops 2 (4 pts), match/switch 1 (2 pts) (nesting depth added 17). Most of this is not in the body itself: 10 of the 25 points are its own statements and the rest belongs to one function literal inside it that branches (line 205). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/proxy/tcpproxy/userspace.go"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ae26ab621eb29e5f0b906e183a851d71ad53deabb6e0ffda411cb64b7fd7e31"}},{"ruleId":"D2","level":"warning","message":{"text":"backend.defragdbAndTrackLastKeys (cognitive 25): backend.defragdbAndTrackLastKeys has cognitive complexity 25 (threshold 15). Drivers by points: if/else 13 (23 pts), boolean chains 1, loops 1 (nesting depth added 10). Of this number, 15 points are the body\u0027s own statements and 10 belong to 2 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/storage/backend/backend.go"},"region":{"startLine":862}}}],"partialFingerprints":{"codehealthFindingId/v1":"82dbee05a18a56187c69fb001646074e3afb05a84566a82d7ec6f5bd93c12a06"}},{"ruleId":"D2","level":"warning","message":{"text":"wal.Verify (cognitive 25): wal.Verify has cognitive complexity 25 (threshold 15). Drivers by points: if/else 10 (19 pts), boolean chains 3, match/switch 1 (2 pts), loops 1 (nesting depth added 10). Of this number, 24 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":"server/storage/wal/wal.go"},"region":{"startLine":709}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fc45d46dbfee90bbf6a99723a5b5a5c1330943bb55d55df1aefe4d73af56eb0"}},{"ruleId":"D2","level":"warning","message":{"text":"endpointManager.watch (cognitive 24): endpointManager.watch has cognitive complexity 24 (threshold 15). Drivers by points: if/else 4 (14 pts), match/switch 2 (6 pts), loops 2 (4 pts) (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/v3/naming/endpoints/endpoints_impl.go"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d69664f0b67712950edf00c6c80f89e8e6bcae962221ba33fc47a73ca3024d0"}},{"ruleId":"D2","level":"warning","message":{"text":"etcdserver.getClusterFromRemotePeers (cognitive 24): etcdserver.getClusterFromRemotePeers has cognitive complexity 24 (threshold 15). Drivers by points: if/else 10 (23 pts), loops 1 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/etcdserver/cluster_util.go"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b5b902604ca9c4782bc22a578869bd4a33e789c6ae5f2660bfcd39652b4f3e5"}},{"ruleId":"D2","level":"warning","message":{"text":"EventHistory.scan (cognitive 24): EventHistory.scan has cognitive complexity 24 (threshold 15). Drivers by points: if/else 8 (19 pts), boolean chains 4, loops 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/etcdserver/api/v2store/event_history.go"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"db5adbe0064482e45553619a4dc047ad8eb911fb1f8e0a0f23ba90cc6b7b0d28"}},{"ruleId":"D2","level":"warning","message":{"text":"EtcdServer.applyConfChange (cognitive 24): EtcdServer.applyConfChange has cognitive complexity 24 (threshold 15). Drivers by points: if/else 12 (22 pts), boolean chains 1, match/switch 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/etcdserver/server.go"},"region":{"startLine":2002}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc889244e205a95a39777084a7630af5ffc6940c64852dff8dd51850ad4bf5a5"}},{"ruleId":"D2","level":"warning","message":{"text":"EtcdServer.leaseTimeToLive (cognitive 24): EtcdServer.leaseTimeToLive has cognitive complexity 24 (threshold 15). Drivers by points: if/else 9 (18 pts), loops 3 (6 pts) (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/etcdserver/v3_server.go"},"region":{"startLine":637}}}],"partialFingerprints":{"codehealthFindingId/v1":"2dd4bfa46eb48296968a20a1d2e68b88300a0ec6b6243f9667347bd22f081851"}},{"ruleId":"D2","level":"warning","message":{"text":"watchableStore.moveVictims (cognitive 24): watchableStore.moveVictims has cognitive complexity 24 (threshold 15). Drivers by points: if/else 7 (18 pts), loops 3 (5 pts), boolean chains 1 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/storage/mvcc/watchable_store.go"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"48e94bb11d377a6018e69504a16bb1e69c9c89448a36702e9453a221692ff64e"}},{"ruleId":"D2","level":"warning","message":{"text":"leasingKV.monitorLease (cognitive 23): leasingKV.monitorLease has cognitive complexity 23 (threshold 15). Drivers by points: if/else 5 (16 pts), loops 3 (6 pts), boolean chains 1 (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/v3/leasing/kv.go"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"7142de4085afb4464765f307c510c0d9599cf099162aac4510f488404f0d54a3"}},{"ruleId":"D2","level":"warning","message":{"text":"watcher.Watch (cognitive 23): watcher.Watch has cognitive complexity 23 (threshold 15). Drivers by points: if/else 8 (17 pts), match/switch 2 (5 pts), loops 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/v3/watch.go"},"region":{"startLine":304}}}],"partialFingerprints":{"codehealthFindingId/v1":"0086cbc6069b579697656182ae460ef2370f973e3bc05255adca98dffe271bbc"}},{"ruleId":"D2","level":"warning","message":{"text":"etcdmain.startGateway (cognitive 23): etcdmain.startGateway has cognitive complexity 23 (threshold 15). Drivers by points: if/else 11 (17 pts), loops 4 (6 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/etcdmain/gateway.go"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"54d7651b5116b66fd6146365a553632a3fb34ebb76da613348b80d10a53b03e5"}},{"ruleId":"D2","level":"warning","message":{"text":"Request.Unmarshal (cognitive 23): Request.Unmarshal has cognitive complexity 23 (threshold 15). Drivers by points: if/else 6 (17 pts), match/switch 2 (5 pts), loops 1 (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/internal/legacyv2/legacyv2.go"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"187b6116b282b24fd2b85dacc79a66e567879975f8927e1ea538093128cf6a0a"}},{"ruleId":"D2","level":"warning","message":{"text":"command.newCheckPerfCommand (cognitive 22): command.newCheckPerfCommand has cognitive complexity 22 (threshold 15). Drivers by points: if/else 12, loops 7 (10 pts) (nesting depth added 3). Of this number, 18 points are the body\u0027s own statements and 4 belong to 3 function literals inside it that branch. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"etcdctl/ctlv3/command/check.go"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ab5c88b1508c1590ca34c24557b5f8e0a5459cab10e430c01b4b1bcba6de2d9"}},{"ruleId":"D2","level":"warning","message":{"text":"simplePrinter.RoleGet (cognitive 22): simplePrinter.RoleGet has cognitive complexity 22 (threshold 15). Drivers by points: if/else 10 (16 pts), boolean chains 4, loops 2 (nesting depth added 6). Of this number, 18 points are the body\u0027s own statements and 4 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"etcdctl/ctlv3/command/printer_simple.go"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"68452c2c1d4eb4f02c7971c0cf1efdbb649f15bca4685a0c9cc68356de3267e6"}},{"ruleId":"D2","level":"warning","message":{"text":"etcdmain.startGRPCProxy (cognitive 22): etcdmain.startGRPCProxy has cognitive complexity 22 (threshold 15). Drivers by points: if/else 11 (21 pts), boolean chains 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/etcdmain/grpc_proxy.go"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2110b318cd3af1ed67fd213c7d387e527d7439b06a77292b0ca131d579a8440"}},{"ruleId":"D2","level":"warning","message":{"text":"rafthttp.startPeer (cognitive 22): rafthttp.startPeer has cognitive complexity 22 (threshold 15). Drivers by points: if/else 6 (16 pts), match/switch 2 (4 pts), loops 2 (nesting depth added 12). Most of this is not in the body itself: 1 of the 22 points is its own statement and the rest belongs to 3 function literals inside it that branch (lines 174, 192, 135). 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":"server/etcdserver/api/rafthttp/peer.go"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"789aad225b1a9da23ca3c5e7a3ff6f9640c2be33aee1bf554bc307794fca9eec"}},{"ruleId":"D2","level":"warning","message":{"text":"pipeline.handle (cognitive 22): pipeline.handle has cognitive complexity 22 (threshold 15). Drivers by points: if/else 5 (17 pts), boolean chains 2, match/switch 1 (2 pts), loops 1 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/etcdserver/api/rafthttp/pipeline.go"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"10369bf125f4adf34884a6ad29ef7d7f4cf6c6d135d8ca00bfbad0a6383b5728"}},{"ruleId":"D2","level":"warning","message":{"text":"raftNode.processMessages (cognitive 22): raftNode.processMessages has cognitive complexity 22 (threshold 15). Drivers by points: if/else 8 (17 pts), match/switch 1 (3 pts), loops 2 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/etcdserver/raft.go"},"region":{"startLine":357}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa8671d59a6fb0f96b3171fe023d85aecf0a0e59612e1a1127f618a9e2016571"}},{"ruleId":"D2","level":"warning","message":{"text":"TCPProxy.pick (cognitive 22): TCPProxy.pick has cognitive complexity 22 (threshold 15). Drivers by points: if/else 7 (14 pts), loops 3 (5 pts), match/switch 1 (2 pts), boolean chains 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/proxy/tcpproxy/userspace.go"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc7990f2c1c5026cb19577f58a1add25b487d05228fe00f5ccfb3a96f113e6a3"}},{"ruleId":"D2","level":"warning","message":{"text":"watcher.send (cognitive 22): watcher.send has cognitive complexity 22 (threshold 15). Drivers by points: if/else 6 (13 pts), loops 3 (7 pts), boolean chains 1, match/switch 1 (nesting depth added 11). Of this number, 16 points are the body\u0027s own statements and 6 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/storage/mvcc/watchable_store.go"},"region":{"startLine":577}}}],"partialFingerprints":{"codehealthFindingId/v1":"5af1cea05bdf82726c6a5c517e335cd5091eaace2dc86369f92ed2e1cce45d26"}},{"ruleId":"D2","level":"warning","message":{"text":"command.memberAddCommandFunc (cognitive 21): command.memberAddCommandFunc has cognitive complexity 21 (threshold 15). Drivers by points: if/else 9 (14 pts), loops 3 (7 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"etcdctl/ctlv3/command/member_command.go"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"21dfe96a79f175026f148932ce79acf5595c35ebe10d642a55af3efccc3ba23b"}},{"ruleId":"D2","level":"warning","message":{"text":"v3Manager.copyAndVerifyDB (cognitive 21): v3Manager.copyAndVerifyDB has cognitive complexity 21 (threshold 15). Drivers by points: if/else 15 (19 pts), boolean chains 2 (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"etcdutl/snapshot/v3_snapshot.go"},"region":{"startLine":434}}}],"partialFingerprints":{"codehealthFindingId/v1":"0152a1c8497f3d0600e2420d2b3c70b073b7e432ed3362c3f5b8218896d24078"}},{"ruleId":"D2","level":"warning","message":{"text":"command.newCheckDatascaleCommand (cognitive 20): command.newCheckDatascaleCommand has cognitive complexity 20 (threshold 15). Drivers by points: if/else 11, loops 6 (9 pts) (nesting depth added 3). Of this number, 17 points are the body\u0027s own statements and 3 belong to 2 function literals inside it that branch. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"etcdctl/ctlv3/command/check.go"},"region":{"startLine":315}}}],"partialFingerprints":{"codehealthFindingId/v1":"c38fffe48fd56d9be63f21f8ee4e0b4c12552bb8ac3255a8bc7ab5eee71dd92f"}},{"ruleId":"D2","level":"warning","message":{"text":"command.userAddCommandFunc (cognitive 20): command.userAddCommandFunc has cognitive complexity 20 (threshold 15). Drivers by points: if/else 11 (20 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"etcdctl/ctlv3/command/user_command.go"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"586ac9534096cd3cb392a3b9de020c031e4e460bb33bcdd6ad3ae67ea32f4233"}},{"ruleId":"D2","level":"warning","message":{"text":"command.watchInteractiveFunc (cognitive 20): command.watchInteractiveFunc has cognitive complexity 20 (threshold 15). Drivers by points: if/else 6 (16 pts), match/switch 1 (2 pts), boolean chains 1, loops 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"etcdctl/ctlv3/command/watch_command.go"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"3af8d910e2e298a8275e2acb5b9a3e1643ebf0abf5d2a1a68acd04f7c8776d14"}},{"ruleId":"D2","level":"warning","message":{"text":"intervalTree.insertFixup (cognitive 20): intervalTree.insertFixup has cognitive complexity 20 (threshold 15). Drivers by points: if/else 8 (19 pts), loops 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/adt/interval_tree.go"},"region":{"startLine":520}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc2919fe7f1a8a16a8a165b0c8bab1e543c01eaff92315f0abf903ca65bfe538"}},{"ruleId":"D2","level":"warning","message":{"text":"etcdhttp.writeError (cognitive 20): etcdhttp.writeError has cognitive complexity 20 (threshold 15). Drivers by points: if/else 7 (17 pts), match/switch 2 (3 pts) (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/etcdserver/api/etcdhttp/utils.go"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"2581fa6a65b383f25fd201fd44143794dea967c3e0067768ef4fa9a5550f8351"}},{"ruleId":"D2","level":"warning","message":{"text":"membership.IsMetaStoreOnly (cognitive 20): membership.IsMetaStoreOnly has cognitive complexity 20 (threshold 15). Drivers by points: if/else 6 (15 pts), loops 2 (5 pts) (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/etcdserver/api/membership/storev2.go"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec364dd552eea042c43cfdda18b3b88cd37b4dc647bacdf635d015b8a03a60a8"}},{"ruleId":"D2","level":"warning","message":{"text":"corruptionChecker.checkPeerHashes (cognitive 20): corruptionChecker.checkPeerHashes has cognitive complexity 20 (threshold 15). Drivers by points: if/else 9 (14 pts), loops 4 (6 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/etcdserver/corrupt.go"},"region":{"startLine":302}}}],"partialFingerprints":{"codehealthFindingId/v1":"755898179fc53ceb4d437f9094993aa1347b6860516a3b880bb10d21fc3294b2"}},{"ruleId":"D2","level":"warning","message":{"text":"watcher.send (cognitive 20): watcher.send has cognitive complexity 20 (threshold 15). Drivers by points: if/else 9 (14 pts), boolean chains 3, loops 2 (3 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/proxy/grpcproxy/watcher.go"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"afdaf53750bc7a8bd98d161e8fcc2cf124811ff26cbed9ca784c1d67e34af36d"}},{"ruleId":"D2","level":"warning","message":{"text":"wal.Create (cognitive 20): wal.Create has cognitive complexity 20 (threshold 15). Drivers by points: if/else 19 (20 pts) (nesting depth added 1). Of this number, 17 points are the body\u0027s own statements and 3 belong to 3 function literals inside it that branch. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/storage/wal/wal.go"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6a6bab993393f2a9d5d86a8386731816f87d17d1ab6adabcfb1ba31fad2ee76"}},{"ruleId":"D2","level":"warning","message":{"text":"intervalTree.Insert (cognitive 19): intervalTree.Insert has cognitive complexity 19 (threshold 15). Drivers by points: if/else 12 (18 pts), loops 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/adt/interval_tree.go"},"region":{"startLine":442}}}],"partialFingerprints":{"codehealthFindingId/v1":"bebba73c01517ca729737d6306ddb5b7b34627fc707ab32c9f3ce6c909ab690e"}},{"ruleId":"D2","level":"warning","message":{"text":"ExpectProcess.ExpectFunc (cognitive 19): ExpectProcess.ExpectFunc has cognitive complexity 19 (threshold 15). Drivers by points: if/else 6 (12 pts), loops 3 (4 pts), match/switch 2 (3 pts) (nesting depth added 8). Of this number, 12 points are the body\u0027s own statements and 7 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/expect/expect.go"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f408a84c0c965d2432a2f6301b2407f32f04c808576929d6c2122bad4d6ecd7"}},{"ruleId":"D2","level":"warning","message":{"text":"Trace.logInfo (cognitive 19): Trace.logInfo has cognitive complexity 19 (threshold 15). Drivers by points: if/else 4 (8 pts), loops 4 (8 pts), boolean chains 3 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/traceutil/trace.go"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf840523551f56de4d24bc711fe9cb033eb05452139a9e917d4e2f5b3ae27b0d"}},{"ruleId":"D2","level":"warning","message":{"text":"embed.configurePeerListeners (cognitive 19): embed.configurePeerListeners has cognitive complexity 19 (threshold 15). Drivers by points: if/else 9 (16 pts), loops 2, boolean chains 1 (nesting depth added 7). Of this number, 14 points are the body\u0027s own statements and 5 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":"server/embed/etcd.go"},"region":{"startLine":530}}}],"partialFingerprints":{"codehealthFindingId/v1":"4791f7694882c3bf8f17d482058a24704556b94054e45666d3d5861df1d7a01e"}},{"ruleId":"D2","level":"warning","message":{"text":"accessController.ServeHTTP (cognitive 19): accessController.ServeHTTP has cognitive complexity 19 (threshold 15). Drivers by points: if/else 10 (15 pts), boolean chains 2, loops 1 (2 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/embed/serve.go"},"region":{"startLine":444}}}],"partialFingerprints":{"codehealthFindingId/v1":"c72087259f6ec1eab940d67cc6bc2b5fec592365f144e4b85c0a721d0dbf0d58"}},{"ruleId":"D2","level":"warning","message":{"text":"v3rpc.monitorLeader (cognitive 19): v3rpc.monitorLeader has cognitive complexity 19 (threshold 15). Drivers by points: if/else 4 (12 pts), loops 2 (5 pts), match/switch 1 (2 pts) (nesting depth added 12). None of this is in the body itself: all 19 points belong to one function literal inside it that branches (line 320). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/etcdserver/api/v3rpc/interceptor.go"},"region":{"startLine":315}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7a7f8ec3afa848df1f69607459a8e75a23457a495794879073a539bb1f2bf07"}},{"ruleId":"D2","level":"warning","message":{"text":"LeaseServer.leaseKeepAlive (cognitive 19): LeaseServer.leaseKeepAlive has cognitive complexity 19 (threshold 15). Drivers by points: if/else 9 (18 pts), loops 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/etcdserver/api/v3rpc/lease.go"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c525c1ddb2adfcf23e1839f0703ec622af0c5a048595fe47b1be0ccc1524ff3"}},{"ruleId":"D2","level":"warning","message":{"text":"Read.requestCurrentIndex (cognitive 19): Read.requestCurrentIndex has cognitive complexity 19 (threshold 15). Drivers by points: if/else 5 (13 pts), match/switch 2 (5 pts), loops 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/etcdserver/read/read.go"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa55bea7578a7e3a0a955ca32b397afccdf38f78799248e39cc9b65abe26335d"}},{"ruleId":"D2","level":"warning","message":{"text":"EtcdServer.run (cognitive 19): EtcdServer.run has cognitive complexity 19 (threshold 15). Drivers by points: if/else 12 (16 pts), match/switch 1 (2 pts), loops 1 (nesting depth added 5). Most of this is not in the body itself: 6 of the 19 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 765, 793). 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":"server/etcdserver/server.go"},"region":{"startLine":751}}}],"partialFingerprints":{"codehealthFindingId/v1":"3197cc1f442858ffda2bf0775c3d8c4572e61337cd2e82eec7bd29906732f2dd"}},{"ruleId":"D2","level":"warning","message":{"text":"wal.visitEntryData (cognitive 19): wal.visitEntryData has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (17 pts), boolean chains 1, match/switch 1 (nesting depth added 10). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. 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. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/storage/wal/version.go"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"84eee580a31cc1c1a77d1c86b4bebdc8231f64cd0d6e80a0623ecc2d189642d9"}},{"ruleId":"D2","level":"warning","message":{"text":"Client.unaryClientInterceptor (cognitive 18): Client.unaryClientInterceptor has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (17 pts), loops 1 (nesting depth added 9). None of this is in the body itself: all 18 points belong to one function literal inside it that branches (line 43). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/v3/retry_interceptor.go"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"daed6ed27d8000cbedbc43e62fba3043c876e967f57ee0c33511fee39a0cb843"}},{"ruleId":"D2","level":"warning","message":{"text":"command.getDelOp (cognitive 18): command.getDelOp has cognitive complexity 18 (threshold 15). Drivers by points: if/else 11 (15 pts), boolean chains 3 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"etcdctl/ctlv3/command/del_command.go"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"c608a3bd940695cf26716e3600f3152270b63dce1db48731a5e339649d2a1aa4"}},{"ruleId":"D2","level":"warning","message":{"text":"flags.verifyEnv (cognitive 18): flags.verifyEnv has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (17 pts), loops 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/flags/flag.go"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b5bae4b00be881672a50f63b0faa2d3ad172fd7057ca8d190b437d5a3df451d"}},{"ruleId":"D2","level":"warning","message":{"text":"etcdserver.promoteMemberHTTP (cognitive 18): etcdserver.promoteMemberHTTP has cognitive complexity 18 (threshold 15). Drivers by points: if/else 13 (17 pts), boolean chains 1 (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/etcdserver/cluster_util.go"},"region":{"startLine":295}}}],"partialFingerprints":{"codehealthFindingId/v1":"4302a4acc13d90a1778dd127f99c590e22a84d2e966803d3105d01f540c190bf"}},{"ruleId":"D2","level":"warning","message":{"text":"etcdserver.NewServer (cognitive 18): etcdserver.NewServer has cognitive complexity 18 (threshold 15). Drivers by points: if/else 12 (16 pts), loops 2 (nesting depth added 4). Of this number, 14 points are the body\u0027s own statements and 4 belong to 3 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/etcdserver/server.go"},"region":{"startLine":299}}}],"partialFingerprints":{"codehealthFindingId/v1":"53505d235a0617637fe1c7985a262b9584c1778a4479dec0d951ecc5da8e5657"}},{"ruleId":"D2","level":"warning","message":{"text":"rafthttp.monitorProbingStatus (cognitive 18): rafthttp.monitorProbingStatus has cognitive complexity 18 (threshold 15). Drivers by points: if/else 5 (15 pts), match/switch 1 (2 pts), loops 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/etcdserver/api/rafthttp/probing_status.go"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa82e3fb17fb3b1545fd865d0552426424a2b905a0e980c32c97fa731567328b"}},{"ruleId":"D2","level":"warning","message":{"text":"node.Remove (cognitive 18): node.Remove has cognitive complexity 18 (threshold 15). Drivers by points: if/else 9 (14 pts), boolean chains 3, loops 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/etcdserver/api/v2store/node.go"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef8e7092af8d5ddcedc64ed762a1369d5dcd4175de79e598e3391e4b3c8a2fc8"}},{"ruleId":"D2","level":"warning","message":{"text":"corruptionChecker.InitialCheck (cognitive 18): corruptionChecker.InitialCheck has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (14 pts), match/switch 1 (3 pts), loops 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/etcdserver/corrupt.go"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"1189ca4aa86320642431c2af984b75e122b1011c1ef774e1b6561ef4960547c6"}},{"ruleId":"D2","level":"warning","message":{"text":"backend.defragdb (cognitive 18): backend.defragdb has cognitive complexity 18 (threshold 15). Drivers by points: if/else 9 (17 pts), loops 1 (nesting depth added 8). Of this number, 9 points are the body\u0027s own statements and 9 belong to 2 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/storage/backend/backend.go"},"region":{"startLine":796}}}],"partialFingerprints":{"codehealthFindingId/v1":"5576b7aa9333b58f5650bfaa8c7451547e5c3ea5f48b5a90e2ee6b77b1bd8958"}},{"ruleId":"D2","level":"warning","message":{"text":"store.restore (cognitive 18): store.restore has cognitive complexity 18 (threshold 15). Drivers by points: if/else 11 (16 pts), loops 2 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/storage/mvcc/kvstore.go"},"region":{"startLine":327}}}],"partialFingerprints":{"codehealthFindingId/v1":"45d1340717b247185bc8226ccea5d47dd0f49940aa280174b2873eba572f8cf9"}},{"ruleId":"D2","level":"warning","message":{"text":"watchableStore.syncWatchers (cognitive 18): watchableStore.syncWatchers has cognitive complexity 18 (threshold 15). Drivers by points: if/else 9 (16 pts), loops 2 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/storage/mvcc/watchable_store.go"},"region":{"startLine":347}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cfe5f2b57e83c2c870f3a053185cd04afb3a49eeaa2d6501b1363fa81d824ea"}},{"ruleId":"D2","level":"warning","message":{"text":"srv.GetCluster (cognitive 17): srv.GetCluster has cognitive complexity 17 (threshold 15). Drivers by points: if/else 9 (14 pts), loops 2, boolean chains 1 (nesting depth added 5). Most of this is not in the body itself: 4 of the 17 points are its own statements and the rest belongs to one function literal inside it that branches (line 51). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/pkg/srv/srv.go"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"4103e0040b19fa1203ad230600ed96268af7b2e50c6410985ccfb10267a8d640"}},{"ruleId":"D2","level":"warning","message":{"text":"TLSInfo.ClientConfig (cognitive 17): TLSInfo.ClientConfig has cognitive complexity 17 (threshold 15). Drivers by points: if/else 11 (17 pts) (nesting depth added 6). Of this number, 13 points are the body\u0027s own statements and 4 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/pkg/transport/listener.go"},"region":{"startLine":562}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2e243aabc007088c76dbfb8ed81eceeded032306921593418cc8534cfb5b63f"}},{"ruleId":"D2","level":"warning","message":{"text":"lessor.closeRequireLeader (cognitive 17): lessor.closeRequireLeader has cognitive complexity 17 (threshold 15). Drivers by points: if/else 4 (11 pts), loops 3 (5 pts), boolean chains 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/v3/lease.go"},"region":{"startLine":383}}}],"partialFingerprints":{"codehealthFindingId/v1":"861038b5ec11b122b29205d53b6f3f6589d13541b9dcb296d69f177da79de231"}},{"ruleId":"D2","level":"warning","message":{"text":"auth.getMergedPerms (cognitive 17): auth.getMergedPerms has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (10 pts), loops 2 (3 pts), match/switch 1 (3 pts), boolean chains 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/auth/range_perm_cache.go"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"4969f6be9533a192d54fabd806920f5935b0f6330eef1e3d89d5c6b67f6a5fd5"}},{"ruleId":"D2","level":"warning","message":{"text":"etcdserver.recoverSnapshot (cognitive 17): etcdserver.recoverSnapshot has cognitive complexity 17 (threshold 15). Drivers by points: if/else 9 (17 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/etcdserver/bootstrap.go"},"region":{"startLine":441}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bafceea8a9309c9196cdfe41c548c33962edf22540c152dd79f77ff3b528299"}},{"ruleId":"D2","level":"warning","message":{"text":"streamReader.dial (cognitive 17): streamReader.dial has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (12 pts), match/switch 3 (4 pts), boolean chains 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/etcdserver/api/rafthttp/stream.go"},"region":{"startLine":569}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8d5984610c996db90d412d4c8c551de7d226414534c9bb46d8f09f6b179c714"}},{"ruleId":"D2","level":"warning","message":{"text":"Periodic.Run (cognitive 17): Periodic.Run has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (12 pts), boolean chains 2, match/switch 1 (2 pts), loops 1 (nesting depth added 7). None of this is in the body itself: all 17 points belong to one function literal inside it that branches (line 105). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/etcdserver/api/v3compactor/periodic.go"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3d34511e52bf46c2675f5515913fbd12e4b15035eff5b90f25678f734023e46"}},{"ruleId":"D2","level":"warning","message":{"text":"storeTxnCommon.rangeKeys (cognitive 17): storeTxnCommon.rangeKeys has cognitive complexity 17 (threshold 15). Drivers by points: if/else 9 (12 pts), loops 2 (3 pts), match/switch 1 (2 pts) (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/storage/mvcc/kvstore_txn.go"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc80d29b1dda1c6c12e35c7dc1a4030c04edb554095d28515d3d0e258ec1e48e"}},{"ruleId":"D2","level":"warning","message":{"text":"Cache.validateRange (cognitive 16): Cache.validateRange has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (12 pts), boolean chains 3, match/switch 1 (nesting depth added 6). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. 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. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cache/cache.go"},"region":{"startLine":478}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb095de29dcc7a01a13e46ccbad38ce55048286343811f31562a06438701617a"}},{"ruleId":"D2","level":"warning","message":{"text":"Demux.updateStoreLocked (cognitive 16): Demux.updateStoreLocked has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (14 pts), boolean chains 1, loops 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cache/demux.go"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a998423be5050b6b90f732d55f99805fb63282075a7e3825d48018d1de522b5"}},{"ruleId":"D2","level":"warning","message":{"text":"transport.SelfCert (cognitive 16): transport.SelfCert has cognitive complexity 16 (threshold 15). Drivers by points: if/else 13 (14 pts), boolean chains 1, loops 1 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/pkg/transport/listener.go"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc3f05d247aa7fb61803306089f52d1cf524d964d6866a3cfd1fe3b88332e5ea"}},{"ruleId":"D2","level":"warning","message":{"text":"DoubleBarrier.Leave (cognitive 16): DoubleBarrier.Leave has cognitive complexity 16 (threshold 15). Drivers by points: if/else 10 (14 pts), boolean chains 1, loops 1 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/v3/experimental/recipes/double_barrier.go"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"916a95a36a891b39ff6be1b4cef17306249422e9ef96cb1ed19382cb5948cf07"}},{"ruleId":"D2","level":"warning","message":{"text":"leasing.evalCmp (cognitive 16): leasing.evalCmp has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (13 pts), match/switch 2 (3 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/v3/leasing/util.go"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"f154b35996e06c0321dc4607d9dd238ca758fb3c27759b8cbc78dc49c57148ed"}},{"ruleId":"D2","level":"warning","message":{"text":"v3Manager.Restore (cognitive 16): v3Manager.Restore has cognitive complexity 16 (threshold 15). Drivers by points: if/else 13 (14 pts), boolean chains 2 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"etcdutl/snapshot/v3_snapshot.go"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2ed6332711152210d3c355d10751ffa82cc11fb33c37aff472f1f0ee0e275c1"}},{"ruleId":"D2","level":"warning","message":{"text":"Etcd.Close (cognitive 16): Etcd.Close has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (8 pts), loops 6 (7 pts), boolean chains 1 (nesting depth added 3). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/embed/etcd.go"},"region":{"startLine":413}}}],"partialFingerprints":{"codehealthFindingId/v1":"b12053dfca7474e6ce6289828a833ae1b051c9e10316a5d4229691843a92c44c"}},{"ruleId":"D2","level":"warning","message":{"text":"etcdserver.openWALFromSnapshot (cognitive 16): etcdserver.openWALFromSnapshot has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (14 pts), boolean chains 1, loops 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/etcdserver/bootstrap.go"},"region":{"startLine":667}}}],"partialFingerprints":{"codehealthFindingId/v1":"c78dcd0f675dd672666f2957707e784242ef9b45c6b79929dd3189a454f8ecf9"}},{"ruleId":"D2","level":"warning","message":{"text":"Snapshotter.ReleaseSnapDBs (cognitive 16): Snapshotter.ReleaseSnapDBs has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (14 pts), boolean chains 1, loops 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/etcdserver/api/snap/snapshotter.go"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"c108e12bb651ffe6677a63a50b94f6ea357ddd41c0c92b8b6394fc2a735c76b5"}},{"ruleId":"D2","level":"warning","message":{"text":"corruptionChecker.PeriodicCheck (cognitive 16): corruptionChecker.PeriodicCheck has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9 (13 pts), boolean chains 2, loops 1 (nesting depth added 4). Of this number, 15 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":"server/etcdserver/corrupt.go"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"002553a9e7a2226b37c8aad6864f270ed8390e0f2be774ccc7e25b56060f82a2"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: EtcdServer: TooManyMethods \u2014 161 methods, declared across 5 files: etcdserver/server.go (103), etcdserver/v3_server.go (47), etcdserver/interface.go (7), etcdserver/corrupt.go (3), \u002B1 more file(s). The bar is 30 methods; this is 131 over it, 5.37\u00D7 the bar. That list is where to read them, not a suggestion to split the file: the members belong to the type wherever they are declared, so moving them between files leaves the count unchanged. 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":"server/etcdserver/server.go"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b24a52e1c50bb2d644b32aaeda532b173343def03a95156020586384ee4251e"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: EtcdServer: ClassTooLong \u2014 1160 significant lines (blank, comment-only and punctuation-only lines excluded), 161 methods, 84 blocks, lines 212-2459. The bar is 400 significant lines; this is 760 over it, 2.90\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":"server/etcdserver/server.go"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4bbc45139ddf88a96ce407703e2557079753c1a9654558bd034bc13339612c7"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: etcdserver/server.go: FileTooLong \u2014 1444 significant lines (blank, comment-only and punctuation-only lines excluded), about 80% of them inside a single declaration: EtcdServer (84 blocks, 212-2459). The bar is 500 significant lines; this is 944 over it, 2.89\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/etcdserver/server.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"14882ed81aadea9e2dc9e694d1f3d50d0b4dc1e31f1fa0c8531637cc3a0af171"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: Config: TooManyFields \u2014 85 stored fields beside 21 methods. The bar is 30 stored fields; this is 55 over it, 2.83\u00D7 the bar. This is width in DATA, not behaviour: every reader that takes the whole type couples to all of its fields, so a change to any one of them is a change every reader has to be checked against. To reduce it, group the fields that are read together by the same callers into a smaller type of their own, and have this one hold that type as a single member \u2014 each reader then names only the group it uses."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/embed/config.go"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"17c71b789725f90ead13c7ccf8067657d0f8cff6bf72185f79a91ee26a91a4ec"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: ServerConfig: TooManyFields \u2014 57 stored fields beside 14 methods. The bar is 30 stored fields; this is 27 over it, 1.90\u00D7 the bar. This is width in DATA, not behaviour: every reader that takes the whole type couples to all of its fields, so a change to any one of them is a change every reader has to be checked against. To reduce it, group the fields that are read together by the same callers into a smaller type of their own, and have this one hold that type as a single member \u2014 each reader then names only the group it uses."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/config/config.go"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"9781cd0e1d07e49a99da3780a2e5e032b7521b0f0619ff2635f2036a2ba3c3f5"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: etcdserver/v3_server.go: FileTooLong \u2014 819 significant lines (blank, comment-only and punctuation-only lines excluded), about 83% of them inside a single declaration: EtcdServer (46 blocks, 107-1292). The bar is 500 significant lines; this is 319 over it, 1.64\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/etcdserver/v3_server.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"30e09d32c99252c3017267babcb7815e04d598e12bca30acf0478ccf03fe0bc6"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: embed/config.go: FileTooLong \u2014 770 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 270 over it, 1.54\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":"server/embed/config.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f59a4805b5a8e748f926b1208e981fb8f51eb30dc16b4beaa7d732afebf21169"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: EtcdServer: TooManyFields \u2014 46 stored fields beside 161 methods. The bar is 30 stored fields; this is 16 over it, 1.53\u00D7 the bar. This is width in DATA, not behaviour: every reader that takes the whole type couples to all of its fields, so a change to any one of them is a change every reader has to be checked against. To reduce it, group the fields that are read together by the same callers into a smaller type of their own, and have this one hold that type as a single member \u2014 each reader then names only the group it uses."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/etcdserver/server.go"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8c494236251251486e0ce96c9612832c52b32ff6c24d23591ce380c57943f8c"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: server.ioCopy: MethodTooLong \u2014 ioCopy runs 151 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 51 over it, 1.51\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/proxy/server.go"},"region":{"startLine":426}}}],"partialFingerprints":{"codehealthFindingId/v1":"d99ff7b16808ecbf978ce26a87f4b348653931bc8c7ada1ff81b1e4eabbd09a5"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: auth/store.go: FileTooLong \u2014 741 significant lines (blank, comment-only and punctuation-only lines excluded), about 70% of them inside a single declaration: authStore (38 blocks, 244-1232). The bar is 500 significant lines; this is 241 over it, 1.48\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/auth/store.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c018c3a6ef8d950182b99e21d05264851255d017ef783d9cb2f677f9f89276ef"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: embed.StartEtcd: FunctionTooLong \u2014 StartEtcd runs 138 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 38 over it, 1.38\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/embed/etcd.go"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"5499868692f208681d1c2caa79079e379cc9f9c9a19ef2c7f59d215228c77d18"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: server: ClassTooLong \u2014 525 significant lines (blank, comment-only and punctuation-only lines excluded), 34 methods, 32 blocks, lines 143-990. The bar is 400 significant lines; this is 125 over it, 1.31\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":"pkg/proxy/server.go"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f28190a3cb2f66ca007a68f3c1b22a7759bc05cbaf7b60a0a130e6786bb9942"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: proxy/server.go: FileTooLong \u2014 656 significant lines (blank, comment-only and punctuation-only lines excluded), about 80% of them inside a single declaration: server (32 blocks, 143-990). The bar is 500 significant lines; this is 156 over it, 1.31\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/proxy/server.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a4ac126150938624ebdca02ec51e51a23ddb0073f6154fb3a004f7e0b8587f3"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: authStore: ClassTooLong \u2014 522 significant lines (blank, comment-only and punctuation-only lines excluded), 39 methods, 38 blocks, lines 244-1232. The bar is 400 significant lines; this is 122 over it, 1.31\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":"server/auth/store.go"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d0a5eb16b46e3a6f57cfdd8be928a9840a1c098d44777a97a8f48293bbbe695"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: authStore: TooManyMethods \u2014 39 methods, declared across 2 files: auth/store.go (37), auth/range_perm_cache.go (2). The bar is 30 methods; this is 9 over it, 1.30\u00D7 the bar. That list is where to read them, not a suggestion to split the file: the members belong to the type wherever they are declared, so moving them between files leaves the count unchanged. Most of these members implement auth.AuthStore (31 of 39 members), so moving them onto a smaller type would remove them from that contract rather than reduce it. To reduce it, split the contract instead: give each cohesive group of operations its own smaller interface and its own implementing type. Where the contract has to stay whole, move the work behind these members into collaborator types, so what is left here is a forward per member rather than a responsibility per member."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/auth/store.go"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f1be5158ca5bf2ad40dd4514a3f425bda66ee348305dc175b7a105d2a0b7fd8"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Config.AddFlags: MethodTooLong \u2014 AddFlags runs 130 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 30 over it, 1.30\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/embed/config.go"},"region":{"startLine":588}}}],"partialFingerprints":{"codehealthFindingId/v1":"110776a2b18d58e4624fec572e36636516f2f1205bf04f86f35f0fa5e26630e7"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: wal/wal.go: FileTooLong \u2014 633 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 133 over it, 1.27\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":"server/storage/wal/wal.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8e51ebc4495e27fde7c5479ed8ea444967c72637f24dcca51c56e2692a71d6e"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: serveCtx.serve: MethodTooLong \u2014 serve runs 126 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 26 over it, 1.26\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/embed/serve.go"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"e14ec38403a9fae9d9cb575200077fa0fd56ffe3b374c1648a179af986c00a8d"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: backend/backend.go: FileTooLong \u2014 624 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 124 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":"server/storage/backend/backend.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"be64f9dc03d8dd921c6f490d74fb5f0aa7b90fdbba7d2e79d06a57686e1380b4"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: v3/watch.go: FileTooLong \u2014 619 significant lines (blank, comment-only and punctuation-only lines excluded), about 60% of them inside a single declaration: watchGRPCStream (20 blocks, 157-1062). The bar is 500 significant lines; this is 119 over it, 1.24\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/v3/watch.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e61b2381b94cbaf2b7d9c3a0ffb8157f5bb3aed0605b3234229f11b070fba4df"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: simplePrinter: TooManyMethods \u2014 37 methods. The bar is 30 methods; this is 7 over it, 1.23\u00D7 the bar. Most of these members implement command.printer (37 of 37 members), so moving them onto a smaller type would remove them from that contract rather than reduce it. To reduce it, split the contract instead: give each cohesive group of operations its own smaller interface and its own implementing type. Where the contract has to stay whole, move the work behind these members into collaborator types, so what is left here is a forward per member rather than a responsibility per member."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"etcdctl/ctlv3/command/printer_simple.go"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"4eaa04218b1d2c1d870625a6abbc34fe291a1e230ac0cbc075f626b134a3bb21"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: embed/etcd.go: FileTooLong \u2014 603 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 103 over it, 1.21\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":"server/embed/etcd.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0612baedac163b5d27b6059e0c4af0a274461db3141cfe03e3826be5f27ca32a"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: RaftCluster: ClassTooLong \u2014 477 significant lines (blank, comment-only and punctuation-only lines excluded), 35 methods, 35 blocks, lines 43-921. The bar is 400 significant lines; this is 77 over it, 1.19\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/etcdserver/api/membership/cluster.go"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"464b291c8b6875489ac0ed3c2da6a4c8dc0e43d1ff173d1eb2c9a6a599912522"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: membership/cluster.go: FileTooLong \u2014 590 significant lines (blank, comment-only and punctuation-only lines excluded), about 81% of them inside a single declaration: RaftCluster (35 blocks, 43-921). The bar is 500 significant lines; this is 90 over it, 1.18\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/etcdserver/api/membership/cluster.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e733b3d3a83c7ab2e443395b9b7dc69a640d21fd44bb212eb628528f6ef5097"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Op: TooManyMethods \u2014 35 methods. The bar is 30 methods; this is 5 over it, 1.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":"client/v3/op.go"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"22466324c65c015d64cb8481cfb8dadef652cc93e6461235ad98d78764fcc5d8"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: RaftCluster: TooManyMethods \u2014 35 methods. The bar is 30 methods; this is 5 over it, 1.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":"server/etcdserver/api/membership/cluster.go"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"b20d1c145c3c3e96e81571272e19f16cc24a448eec0981710064908cdf8e59a5"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: watchGRPCStream.run: MethodTooLong \u2014 run 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":"client/v3/watch.go"},"region":{"startLine":512}}}],"partialFingerprints":{"codehealthFindingId/v1":"323d1b921388282cce63c595b074de1275153f2cbe8baab7f6d6a310c3daaa03"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: printerRPC: TooManyMethods \u2014 34 methods. The bar is 30 methods; this is 4 over it, 1.13\u00D7 the bar. Most of these members implement command.printer (34 of 34 members), so moving them onto a smaller type would remove them from that contract rather than reduce it. To reduce it, split the contract instead: give each cohesive group of operations its own smaller interface and its own implementing type. Where the contract has to stay whole, move the work behind these members into collaborator types, so what is left here is a forward per member rather than a responsibility per member."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"etcdctl/ctlv3/command/printer.go"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"b25dc2a4279095f87a466bc1ef1e7e8c1d23e0f33b894ed976839d374b4abc9e"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: server: TooManyMethods \u2014 34 methods. The bar is 30 methods; this is 4 over it, 1.13\u00D7 the bar. Most of these members implement proxy.Server (30 of 34 members), so moving them onto a smaller type would remove them from that contract rather than reduce it. To reduce it, split the contract instead: give each cohesive group of operations its own smaller interface and its own implementing type. Where the contract has to stay whole, move the work behind these members into collaborator types, so what is left here is a forward per member rather than a responsibility per member."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/proxy/server.go"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c85efec1e128cc5459f248270c17cc667076d891267d140e73fcdef37c8170d"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Config: ClassTooLong \u2014 450 significant lines (blank, comment-only and punctuation-only lines excluded), 21 methods, 17 blocks, lines 165-1371. The bar is 400 significant lines; this is 50 over it, 1.13\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/embed/config.go"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"58dc5992b0a8c96c38a4e88f2dd1fc70e686e461bb924df9417b59f004b08d63"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Config.setupLogging: MethodTooLong \u2014 setupLogging runs 112 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 12 over it, 1.12\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/embed/config_logging.go"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b23d6aaa5918b68e75bee618f56648b28df76614173d6aa12ea39712e574ba4"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: streamWriter.run: MethodTooLong \u2014 run runs 112 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 12 over it, 1.12\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/etcdserver/api/rafthttp/stream.go"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"b30bf911ea6922082eb2fe02655894b3638dd1a80fcdee45151f2bf341469166"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: serverWatchStream.recvLoop: MethodTooLong \u2014 recvLoop runs 112 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 12 over it, 1.12\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/etcdserver/api/v3rpc/watch.go"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cb1608111a847a0942965b451ee962b8463407053b99d989691df3434132ad8"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: uberApplier.dispatch: MethodTooLong \u2014 dispatch runs 110 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 10 over it, 1.10\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/etcdserver/apply/uber_applier.go"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9419e007d1ba2d354601e1880e265dd4b8ae4481fc0b4374364aef041f6b48d"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: etcdserver/bootstrap.go: FileTooLong \u2014 548 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 48 over it, 1.10\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":"server/etcdserver/bootstrap.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"50f7d8ae5ea7e0b4cd7684c19f474178f00a59e9fce649a08b07c6af64c4861f"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: server: TooManyFields \u2014 32 stored fields beside 34 methods. The bar is 30 stored fields; this is 2 over it, 1.07\u00D7 the bar. This is width in DATA, not behaviour: every reader that takes the whole type couples to all of its fields, so a change to any one of them is a change every reader has to be checked against. To reduce it, group the fields that are read together by the same callers into a smaller type of their own, and have this one hold that type as a single member \u2014 each reader then names only the group it uses."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/proxy/server.go"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3fe59eba6262f27909d44cf4c4a527e91f43cc862b7ad39294c0665049ebd0d"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: serverWatchStream.sendLoop: MethodTooLong \u2014 sendLoop runs 105 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 5 over it, 1.05\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/etcdserver/api/v3rpc/watch.go"},"region":{"startLine":411}}}],"partialFingerprints":{"codehealthFindingId/v1":"b60de467f5d5d6598ceacf3bb7349e4ce72cce538b6dc7065d87b3a79c97c553"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: applierV3backend: TooManyMethods \u2014 31 methods. The bar is 30 methods; this is 1 over it, 1.03\u00D7 the bar. Most of these members implement apply.applierV3 (30 of 31 members), so moving them onto a smaller type would remove them from that contract rather than reduce it. To reduce it, split the contract instead: give each cohesive group of operations its own smaller interface and its own implementing type. Where the contract has to stay whole, move the work behind these members into collaborator types, so what is left here is a forward per member rather than a responsibility per member."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/etcdserver/apply/backend.go"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"33391f9a6ba3b8cce329500681398ff8d43820cb824a933ae57b25beccd8ab93"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (6 members, 50\u002B identical tokens): etcdctl/ctlv3/command/printer_table.go:28-37 | etcdctl/ctlv3/command/printer_table.go:39-48 | etcdctl/ctlv3/command/printer_table.go:50-59 | etcdctl/ctlv3/command/printer_table.go:61-70 | etcdutl/etcdutl/printer_table.go:28-37 | etcdutl/etcdutl/printer_table.go:39-48 \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":"etcdctl/ctlv3/command/printer_table.go"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ac20f342d352d824ad8114441c5e190a902277378651869c14a8380975572d8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (86 corresponding lines): server/proxy/grpcproxy/lease.go:137-230 | server/proxy/grpcproxy/watch.go:83-168 \u2014 These two members are one piece of code written twice and then edited apart: 86 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":"server/proxy/grpcproxy/lease.go"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"de286a0b84cb0f42b2e26e319b1db170ea3a6c825e69991c68f8ea913cdf16ca"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (71 corresponding lines): server/etcdserver/api/v2store/store.go:261-332 | server/etcdserver/api/v2store/store.go:494-564 \u2014 These two members are one piece of code written twice and then edited apart: 71 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":"server/etcdserver/api/v2store/store.go"},"region":{"startLine":261}}}],"partialFingerprints":{"codehealthFindingId/v1":"76e2e94c8ac1842b6edad7d1eaf7236a1e21c452176ee457462258a3ddac256b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (51 corresponding lines): server/etcdserver/cluster_util.go:243-293 | server/etcdserver/cluster_util.go:383-433 \u2014 These two members are one piece of code written twice and then edited apart: 51 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/etcdserver/cluster_util.go"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"2de3e03c01f4c19bc93f1fa7c47d1a7eff84ef92e41f49651794853dd98fd304"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (61 corresponding lines): server/storage/backend/backend.go:796-856 | server/storage/backend/backend.go:862-952 \u2014 These two members are one piece of code written twice and then edited apart: 61 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":"server/storage/backend/backend.go"},"region":{"startLine":796}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b126ba62947d94634f2ad1741c64d6455fc68c87516b980eb5655d0fe7d4dc4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (55 corresponding lines): server/etcdserver/api/v2store/store.go:336-395 | server/etcdserver/api/v2store/store.go:397-451 \u2014 These two members are one piece of code written twice and then edited apart: 55 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":"server/etcdserver/api/v2store/store.go"},"region":{"startLine":336}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3117be1fad1da979f5773fe2d103786f7f63960166cfadeb0834521301c4feb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (44 corresponding lines): server/auth/store.go:606-654 | server/auth/store.go:719-762 \u2014 These two members are one piece of code written twice and then edited apart: 44 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":"server/auth/store.go"},"region":{"startLine":606}}}],"partialFingerprints":{"codehealthFindingId/v1":"553d358d433e2cc2b473495fb920876ede3893ce7fbed7b577d3d3127b93f7a6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (29 corresponding lines): server/etcdserver/api/rafthttp/transport.go:296-325 | server/etcdserver/api/rafthttp/transport.go:370-398 \u2014 These two members are one piece of code written twice and then edited apart: 29 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/etcdserver/api/rafthttp/transport.go"},"region":{"startLine":296}}}],"partialFingerprints":{"codehealthFindingId/v1":"70da90e827022f3a1ffe0cbc4ab0b8ceed477ba9753b0feded742535799307cc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (35 corresponding lines): client/v3/experimental/recipes/priority_queue.go:46-80 | client/v3/experimental/recipes/queue.go:43-77 \u2014 These two members are one piece of code written twice and then edited apart: 35 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/v3/experimental/recipes/priority_queue.go"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"53530458a2320b3ccf5c5034b3c4102bfc2da9ee4d94ff0c5890c3a2165083bd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (62 corresponding lines): etcdctl/ctlv3/command/completion_command.go:23-85 | etcdutl/etcdutl/completion_commmand.go:23-84 \u2014 These two members are one piece of code written twice and then edited apart: 62 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":"etcdctl/ctlv3/command/completion_command.go"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"eaa095f1ddad0d669fb00f3dd26ad1d32292870d177f76155992473b658409d3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): etcdctl/ctlv3/command/downgrade_command.go:76-99 | etcdctl/ctlv3/command/downgrade_command.go:102-125 \u2014 These two members are one piece of code written twice and then edited apart: 24 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"etcdctl/ctlv3/command/downgrade_command.go"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d83c7f9e0b095a6f98b91521ec5275f3ba7e2bd9be715a49c9900eb46dcca18"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 28\u002B corresponding lines): server/etcdserver/v3_server.go:575-606 | server/etcdserver/v3_server.go:608-635 | server/etcdserver/v3_server.go:752-784 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 28 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/etcdserver/v3_server.go"},"region":{"startLine":575}}}],"partialFingerprints":{"codehealthFindingId/v1":"872f46e7160d2476a792d45ce6c7bf40431154e2430d4e0381c4c405925c0b31"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (33 corresponding lines): etcdctl/ctlv3/command/elect_command.go:68-100 | etcdctl/ctlv3/command/elect_command.go:102-137 \u2014 These two members are one piece of code written twice and then edited apart: 33 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"etcdctl/ctlv3/command/elect_command.go"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"26aa6e92106fc0aa07febaebcf2d60e4e91c1b9d015ece941d6e30bf3b89527f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): etcdctl/ctlv3/command/ep_command.go:187-212 | etcdctl/ctlv3/command/ep_command.go:219-244 \u2014 These two members are one piece of code written twice and then edited apart: 26 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":"etcdctl/ctlv3/command/ep_command.go"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae962f7216f42e947b1b02a9b1c9286855583efdda12d197e3e1612c924b0682"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): etcdctl/ctlv3/command/printer_fields.go:88-104 | etcdctl/ctlv3/command/printer_simple.go:58-79 \u2014 These two members are one piece of code written twice and then edited apart: 17 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"etcdctl/ctlv3/command/printer_fields.go"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f27bd23b7f7d2c82389dfc11822c47682aa8d8bc94799a210dfb30f63e347db"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): server/proxy/grpcproxy/lease.go:55-78 | server/proxy/grpcproxy/watch.go:54-81 \u2014 These two members are one piece of code written twice and then edited apart: 24 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/proxy/grpcproxy/lease.go"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"40d46d8a6700aeadb9d7f5f8ccd6e84571103f481f06b2854d1d877ac7ba162a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): client/v3/kubernetes/client.go:83-107 | client/v3/kubernetes/client.go:109-128 \u2014 These two members are one piece of code written twice and then edited apart: 20 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/v3/kubernetes/client.go"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"1683866f31b90f1e307970b3e9828ec9eea1f702b55f2bc8235065ac44f122cb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 27\u002B corresponding lines): pkg/netutil/routes_linux.go:95-128 | pkg/netutil/routes_linux.go:131-157 | pkg/netutil/routes_linux.go:160-186 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 27 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/netutil/routes_linux.go"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"111aeb2c3ec90b0fdc5b7933a4639e8c0bf33eafadaebdbbcecfee5db0d17f67"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 37\u002B corresponding lines): server/auth/options.go:119-155 | server/auth/options.go:157-193 | server/auth/options.go:195-235 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 37 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/auth/options.go"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"b869ec2cf1e1a1300d92f5c21565ed7c57752fb30c81c47571117695fa3c4776"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): server/embed/config.go:1214-1234 | server/embed/config.go:1236-1253 \u2014 These two members are one piece of code written twice and then edited apart: 18 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/embed/config.go"},"region":{"startLine":1214}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4b5e1c69c7f94959158fea7ad1723ea53bcc9244ca3aee7c725625309314260"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 25\u002B corresponding lines): server/etcdserver/api/membership/cluster.go:626-657 | server/etcdserver/api/membership/cluster.go:659-687 | server/etcdserver/api/membership/cluster.go:689-713 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 25 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/etcdserver/api/membership/cluster.go"},"region":{"startLine":626}}}],"partialFingerprints":{"codehealthFindingId/v1":"f94d02561a2fbd097a6ab38403a2b158e46f0e821c168fd275fc44c7f558d5a4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): server/etcdserver/api/v3election/election.go:60-73 | server/etcdserver/api/v3election/election.go:110-123 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/etcdserver/api/v3election/election.go"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa282e8cef55dc99c9d910a3e207c51ce85c2ef91a8117d8b74d6611c6ae31da"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): pkg/report/weighted.go:43-56 | pkg/report/weighted.go:58-70 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/report/weighted.go"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"0923186d14d7bdf4db2a75ffb952a77384f954aa9f9705416c427145028c1f71"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 18\u002B corresponding lines): etcdctl/ctlv3/command/compaction_command.go:42-65 | etcdctl/ctlv3/command/lease_command.go:59-76 | etcdctl/ctlv3/command/member_command.go:186-203 | etcdctl/ctlv3/command/member_command.go:206-230 | etcdctl/ctlv3/command/member_command.go:249-266 \u2014 These 5 members are one piece of code written 5 times and then edited apart: every two of them correspond over at least 18 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 5 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"etcdctl/ctlv3/command/compaction_command.go"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"16ea028646010eeadb2b5045f45b898228e37175ae75ca9d15ffd9788374cd14"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): server/etcdserver/api/membership/storev2.go:124-137 | server/etcdserver/api/membership/storev2.go:149-162 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/etcdserver/api/membership/storev2.go"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"69ee6dfdd2168cad49826bdd1ec9077d94b1f898fa791430c66be8b1007ffb42"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): server/etcdserver/v3_server.go:892-907 | server/etcdserver/v3_server.go:917-932 \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":"server/etcdserver/v3_server.go"},"region":{"startLine":892}}}],"partialFingerprints":{"codehealthFindingId/v1":"70ddd5909967dad8b3624c917fc1a67e4144b3d1369b518a93ee2c1e1c0e13d3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): client/v3/ordering/kv.go:55-79 | client/v3/ordering/kv.go:135-157 \u2014 These two members are one piece of code written twice and then edited apart: 23 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/v3/ordering/kv.go"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b54cf6c3157b3986ddc3bcdff745aba7b3e6f8c24fa5291970577d7543c2be3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 18\u002B corresponding lines): pkg/proxy/server.go:679-696 | pkg/proxy/server.go:719-736 | pkg/proxy/server.go:759-776 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 18 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/proxy/server.go"},"region":{"startLine":679}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6fb67bdc1270d38cb493ce4e8b98db98f7536ca07222c0040a600d58f5e27e0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): server/etcdserver/api/v3discovery/discovery.go:98-121 | server/etcdserver/api/v3discovery/discovery.go:130-153 \u2014 These two members are one piece of code written twice and then edited apart: 24 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/etcdserver/api/v3discovery/discovery.go"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3a16f994624e537e39e3860ba9050bc043ce7177e75378f0d5777c00b7bcf1c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): server/storage/backend/batch_tx.go:169-191 | server/storage/backend/batch_tx.go:229-247 \u2014 These two members are one piece of code written twice and then edited apart: 19 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/storage/backend/batch_tx.go"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cf18bc17143539831fe5bf2a826a544f0647a510980e1552baaa604bc9ef2a5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): etcdctl/ctlv3/command/role_command.go:167-184 | etcdctl/ctlv3/command/role_command.go:187-198 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"etcdctl/ctlv3/command/role_command.go"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"34d96811ad313f63cebb1b41ef083a2a58dfbcc16283d73ba28868e6bce28102"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): server/etcdserver/api/v3rpc/interceptor.go:186-198 | server/etcdserver/api/v3rpc/interceptor.go:202-214 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/etcdserver/api/v3rpc/interceptor.go"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"6eb9462ed053b1de979ad92428028167d11d3a980d34cb018f50cecf70c2f139"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): server/storage/wal/version.go:79-95 | server/storage/wal/version.go:157-179 \u2014 These two members are one piece of code written twice and then edited apart: 17 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/storage/wal/version.go"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"90c2a2f6d3b55e2adc0a18779fc8e227a4d310c495d207d6020a7fc4fe9f8a6b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): server/etcdserver/v3_server.go:296-309 | server/etcdserver/v3_server.go:311-324 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/etcdserver/v3_server.go"},"region":{"startLine":296}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8da6ecac2024bf6350c1c25528e4bf443bee06609326064831f5022bb686bb5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): server/etcdserver/api/v3rpc/lease.go:62-76 | server/etcdserver/api/v3rpc/lease.go:78-91 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/etcdserver/api/v3rpc/lease.go"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"98928caf613bf33af3b52f5b62573e00dde2e7400a81eae22f4abc0d22e421c2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): etcdctl/ctlv3/command/txn_command.go:98-119 | etcdctl/ctlv3/command/txn_command.go:121-142 \u2014 These two members are one piece of code written twice and then edited apart: 22 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"etcdctl/ctlv3/command/txn_command.go"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9b711aea614723ad6a5d149f75e1edbebf08aa82ce3a471395473be0f3b6874"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): pkg/flags/flag.go:34-48 | pkg/flags/flag.go:52-66 \u2014 These two members are one piece of code written twice and then edited apart: 15 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/flags/flag.go"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bebea49b6d7e01147ea46a5bdab19154c64c258574a575f1a02674e0c789598"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): server/etcdserver/v3_server.go:738-750 | server/proxy/grpcproxy/lease.go:121-135 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/etcdserver/v3_server.go"},"region":{"startLine":738}}}],"partialFingerprints":{"codehealthFindingId/v1":"7be7688b80cddfb15a7187df05ee5037d28cd00ffef26b91e9cca49aa54f275d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): client/pkg/fileutil/lock_flock.go:25-38 | client/pkg/fileutil/lock_linux.go:59-74 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/pkg/fileutil/lock_flock.go"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"6be3befc4692eb19ed557e04d9e079df590ff17849aa25f4bda8da9b15994afb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): client/v3/namespace/kv.go:53-68 | client/v3/namespace/kv.go:75-86 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/v3/namespace/kv.go"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"51fac29a624106080c3ab18a181cd828eaa5be040b44cf1c502223a9be4e7a68"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 12\u002B corresponding lines): client/v3/maintenance.go:191-202 | client/v3/maintenance.go:204-215 | client/v3/maintenance.go:217-228 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 12 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/v3/maintenance.go"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa9c2cf4239dc4863f206dae7f9aeea2d3ce29dd801a3aacbd379a43114dac31"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): server/proxy/grpcproxy/election.go:46-62 | server/proxy/grpcproxy/maintenance.go:42-66 \u2014 These two members are one piece of code written twice and then edited apart: 17 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/proxy/grpcproxy/election.go"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"c730da7570d376bac307f5015ef8c07bddb10b549021e65e0b12580dd4a3db65"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): etcdctl/ctlv3/command/role_command.go:110-121 | etcdctl/ctlv3/command/role_command.go:124-135 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"etcdctl/ctlv3/command/role_command.go"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c3fe8aefc4176ad058c510145fe11582a4cb60510ab1555eb54fac6672aa5b0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): client/v3/experimental/recipes/client.go:33-43 | client/v3/experimental/recipes/key.go:63-74 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/v3/experimental/recipes/client.go"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b3670febe0cd6ac21dcdbf926f60007139e6ec188fe7eece40a26dc1cdcae9f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): server/storage/schema/auth_roles.go:72-84 | server/storage/schema/auth_users.go:56-72 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/storage/schema/auth_roles.go"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3625d92d9ae77cfe45fdb50238781a497f448122a6c3dd174e001650cefe26c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): client/pkg/fileutil/fileutil.go:101-120 | client/pkg/fileutil/preallocate.go:38-54 \u2014 These two members are one piece of code written twice and then edited apart: 17 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/pkg/fileutil/fileutil.go"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"79881b399f11ff2a2907d7a6d02d5b83b47d70e2d04250a7a42efdc520404f2f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 12\u002B corresponding lines): etcdctl/ctlv3/command/auth_command.go:52-65 | etcdctl/ctlv3/command/user_command.go:175-186 | etcdctl/ctlv3/command/user_command.go:220-232 | etcdctl/ctlv3/command/user_command.go:258-270 | etcdctl/ctlv3/command/user_command.go:273-285 \u2014 These 5 members are one piece of code written 5 times and then edited apart: every two of them correspond over at least 12 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 5 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"etcdctl/ctlv3/command/auth_command.go"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a327f2d1c57044bd3020634379d020c8872cb8b0b9b963168ff530e115d8d04"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): etcdctl/ctlv3/command/alarm_command.go:51-62 | etcdctl/ctlv3/command/alarm_command.go:74-85 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"etcdctl/ctlv3/command/alarm_command.go"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"d797865477a8b642abd00d3d0ccbf473b0357153056b71e3355ea720ee5fe52f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): client/v3/txn.go:99-118 | client/v3/txn.go:120-136 \u2014 These two members are one piece of code written twice and then edited apart: 17 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/v3/txn.go"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7ca43254d6c9b1842b23c98b0a6b34faea02b6bfaa7aac57ec98c2571baedf8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): server/etcdserver/server.go:1435-1450 | server/etcdserver/server.go:1646-1661 \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":"server/etcdserver/server.go"},"region":{"startLine":1435}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbc360f56757ce87824761799c68204c0f82fb0653f28aabb7b0d907660ad83f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): server/embed/config.go:1296-1315 | server/embed/config.go:1317-1331 \u2014 These two members are one piece of code written twice and then edited apart: 15 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/embed/config.go"},"region":{"startLine":1296}}}],"partialFingerprints":{"codehealthFindingId/v1":"49787b105e45c35339b95352d8a594dfdd399f4f6c2921d1d2dcbf8aeedaf361"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): client/v3/cluster.go:84-99 | client/v3/cluster.go:110-123 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/v3/cluster.go"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"cca7981132cf5c01a49e3b0c72c5151152cca2f7610b0abb82aefb5b8e64fee9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): etcdctl/ctlv3/command/util.go:148-157 | etcdctl/ctlv3/command/util.go:160-169 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"etcdctl/ctlv3/command/util.go"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"19ef934b06d51cd0d9088667ff952ff70eed894187bc59f780559b45a55de81e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): server/lease/lessor.go:555-571 | server/lease/lessor.go:582-598 \u2014 These two members are one piece of code written twice and then edited apart: 17 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/lease/lessor.go"},"region":{"startLine":555}}}],"partialFingerprints":{"codehealthFindingId/v1":"91ebdc26e9be5b87760fc4ac7cfaf46b5399cb67cba1742d1bf764d5e4dc728d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): pkg/proxy/server.go:698-710 | pkg/proxy/server.go:738-750 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/proxy/server.go"},"region":{"startLine":698}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd42cb6f8af35c63a31b266c0405b41f3106bba865d817326f7cf180862b4f29"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): pkg/adt/interval_tree.go:585-607 | pkg/adt/interval_tree.go:630-652 \u2014 These two members are one piece of code written twice and then edited apart: 23 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/adt/interval_tree.go"},"region":{"startLine":585}}}],"partialFingerprints":{"codehealthFindingId/v1":"f516b15df57c3a3062196baeb61a14b62f3c36c6e584701011f53610e9e8f87b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): server/storage/schema/membership.go:50-61 | server/storage/schema/membership.go:159-169 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/storage/schema/membership.go"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"4656e44dc6049725f2e90f192c9a8d1eb5b16cdd0f279f5611be332c888298cd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): client/v3/ctx.go:28-38 | client/v3/ctx.go:41-51 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/v3/ctx.go"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccf28663d002355e0f0561cdab0ef428f27bbf0ebaec809e90a9d628d165a750"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): server/auth/range_perm_cache.go:78-95 | server/auth/range_perm_cache.go:97-108 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/auth/range_perm_cache.go"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"31033b8072e9b099d878d706c02db4fb5c82d40845d37e20bd4e1aedb5aacac3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 13\u002B corresponding lines): server/etcdserver/api/v3rpc/key.go:48-60 | server/etcdserver/api/v3rpc/key.go:90-102 | server/etcdserver/api/v3rpc/key.go:104-116 | server/etcdserver/api/v3rpc/key.go:139-151 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 13 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/etcdserver/api/v3rpc/key.go"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3653cee0c8587e437a0de8ea6a604ea3f4708672dc20865e7178f857b4bc947"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): server/proxy/grpcproxy/kv.go:82-88 | server/proxy/grpcproxy/kv.go:90-96 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/proxy/grpcproxy/kv.go"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e2d26980cec2527c5c4ae7c14db45b9d3106a866ca240600f392924e21bf2f7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): cache/ringbuffer.go:130-142 | cache/ringbuffer.go:144-156 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cache/ringbuffer.go"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccac9bc941f718dc1a0725a31556618512bccb045fef0e51e3b6554a77983832"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 11\u002B corresponding lines): client/pkg/fileutil/lock_flock.go:40-50 | client/pkg/fileutil/lock_linux.go:80-93 | client/pkg/fileutil/lock_windows.go:30-40 | client/pkg/fileutil/lock_windows.go:42-52 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 11 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/pkg/fileutil/lock_flock.go"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"b44db4822431761c7b601e04373e2102bf0819d3ec4d7f1e9f22e1ffea719275"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): server/etcdserver/api/membership/storev2.go:139-147 | server/etcdserver/api/membership/storev2.go:164-172 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/etcdserver/api/membership/storev2.go"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"46957288801fd3fe4d6dbd1c30a97d5927dbc2185751fcb1393169a6f41f1348"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): client/v3/auth.go:156-159 | client/v3/auth.go:161-164 \u2014 These two members are one piece of code written twice and then edited apart: 4 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/v3/auth.go"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"d11e311c67f9231e463fe2f843691e341dc71fb067324842648f53431ce16652"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 10\u002B corresponding lines): etcdctl/ctlv3/command/del_command.go:52-61 | etcdctl/ctlv3/command/member_command.go:233-246 | etcdctl/ctlv3/command/put_command.go:70-80 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 10 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"etcdctl/ctlv3/command/del_command.go"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf805414e0eec30e31840f3f43c564d099cd14521fc223cf4a6603ac2709047d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): etcdctl/ctlv3/command/printer.go:78-92 | etcdutl/etcdutl/printer.go:35-49 \u2014 These two members are one piece of code written twice and then edited apart: 15 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"etcdctl/ctlv3/command/printer.go"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"775a2cf8a7aa3f4e159bf18e92c96e5bb30075e8e0d05ec03f2bb54d75949891"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): cache/demux.go:166-180 | cache/demux.go:182-197 \u2014 These two members are one piece of code written twice and then edited apart: 15 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cache/demux.go"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6049c76a6ff41255cec700ceb255224e80572b3daf0d0e1bcad2a037b2a3896"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): pkg/netutil/netutil.go:207-217 | server/storage/schema/actions.go:71-82 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/netutil/netutil.go"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"bec39341bb44a45ac6540e5ee25fe141551943ba2b3f30a572720a24bf891a9d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): pkg/proxy/server.go:778-790 | pkg/proxy/server.go:931-941 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/proxy/server.go"},"region":{"startLine":778}}}],"partialFingerprints":{"codehealthFindingId/v1":"02c2ae3f81990b01ba6390141950b828353a60621831604ac20eb9a821790d70"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): server/storage/wal/wal.go:602-609 | tools/etcd-dump-logs/main.go:175-181 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/storage/wal/wal.go"},"region":{"startLine":602}}}],"partialFingerprints":{"codehealthFindingId/v1":"d92d00be73bb2280675c5c2136cfee2bcf49e2463ba1fa9de602ce197ee1eef2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): server/storage/schema/auth_roles.go:51-62 | server/storage/schema/auth_users.go:40-46 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/storage/schema/auth_roles.go"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"4430218e6fbcbc3eeeebc343c33723cb3f7721838add2b6be815cbbc665ed5b9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): pkg/flags/unique_strings.go:47-54 | pkg/flags/unique_urls.go:64-71 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/flags/unique_strings.go"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"95d4d4edbeb8830d2d58ffa95ef31caf5ae65a851ad6eaa4e1ccfe65607e5457"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): server/etcdserver/api/v3rpc/auth.go:191-205 | server/etcdserver/v3_server.go:1278-1292 \u2014 These two members are one piece of code written twice and then edited apart: 15 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/etcdserver/api/v3rpc/auth.go"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b270bdab4de23166d2f172c52b068f9b2cedbc7f340c79d45256dae29f7c6e2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): server/etcdserver/api/v3rpc/lease.go:44-51 | server/etcdserver/api/v3rpc/maintenance.go:320-328 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/etcdserver/api/v3rpc/lease.go"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe1d3d0655b0aab54d140a3e7867f7038e0ec834bb4d5cafad1e4c91511243fe"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): etcdctl/ctlv3/command/printer_json.go:92-99 | etcdutl/etcdutl/printer_json.go:39-46 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"etcdctl/ctlv3/command/printer_json.go"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"311061182b12ccefb1e16ce25270dbd2fc4d54cc8a9eb0f44988be9ab10d1a36"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): etcdutl/snapshot/v3_snapshot.go:201-208 | tools/etcd-dump-db/scan.go:69-77 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"etcdutl/snapshot/v3_snapshot.go"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf546d4372a307ebef7b07eedf4a6a47f934282a6b731edbd805ef387c817c57"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): server/storage/schema/auth.go:50-57 | server/storage/schema/membership.go:171-178 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/storage/schema/auth.go"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"82d1aa63a63f82d15bc1cc2ee3bcbc8a75015d76f00af66e6f176fbf07e25eed"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): server/etcdserver/api/membership/store.go:51-57 | server/storage/schema/membership.go:180-186 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/etcdserver/api/membership/store.go"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"34ace3bf370ae09172333aba8e696ce0b011fc790e93ebbe6f75886d6c561e33"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 7\u002B corresponding lines): server/proxy/grpcproxy/adapter/election_client_adapter.go:64-70 | server/proxy/grpcproxy/adapter/lease_client_adapter.go:66-72 | server/proxy/grpcproxy/adapter/maintenance_client_adapter.go:76-82 | server/proxy/grpcproxy/adapter/watch_client_adapter.go:51-57 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 7 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/proxy/grpcproxy/adapter/election_client_adapter.go"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"2534f4cadc459c4022dfb250d82910794d312ed9e70de869ca8823ec9675ba1d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 7\u002B corresponding lines): server/proxy/grpcproxy/adapter/election_client_adapter.go:76-82 | server/proxy/grpcproxy/adapter/lease_client_adapter.go:78-84 | server/proxy/grpcproxy/adapter/maintenance_client_adapter.go:88-94 | server/proxy/grpcproxy/adapter/watch_client_adapter.go:63-69 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 7 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/proxy/grpcproxy/adapter/election_client_adapter.go"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"418b268087e06ed9eebea0689470e23f2c687b3db6b901b8e6ea40a1e26ee2dd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): server/embed/etcd.go:896-903 | server/embed/serve.go:84-94 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/embed/etcd.go"},"region":{"startLine":896}}}],"partialFingerprints":{"codehealthFindingId/v1":"a54a53a2c6f9e96c69c085e63c824f9cd60c66f01ddec1edebf5cf96a0e6f0d7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): client/pkg/testutil/testingtb.go:125-129 | pkg/grpctesting/stub_server.go:84-89 \u2014 These two members are one piece of code written twice and then edited apart: 5 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/pkg/testutil/testingtb.go"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ab1467d00233870832c5ce09b62a0bf673d07f8c21eaf31b9725089cf5d420d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): server/etcdserver/api/v2store/node.go:272-293 | server/etcdserver/api/v2store/node_extern.go:43-64 \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, \u0060server/etcdserver/api/v2store/node_extern.go:39\u0060 calls \u0060loadInternalNode\u0060, \u0060IsDir\u0060 and \u0060server/etcdserver/api/v2store/node.go:270\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":"server/etcdserver/api/v2store/node.go"},"region":{"startLine":272}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bacb1869c99b94e75a5fec2151fb6da6833d803af72f31f6abbdecb73ae91b3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): server/etcdserver/cluster_util.go:258-279 | server/etcdserver/cluster_util.go:398-419 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/etcdserver/cluster_util.go"},"region":{"startLine":258}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b783d527004c40c38784e4395c8789fb2709e46385cbb62ac092e587cb63232"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): server/auth/options.go:135-155 | server/auth/options.go:173-193 \u2014 both copies are in the same file, so extract the block 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 \u0060server/auth/options.go:135\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":"server/auth/options.go"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe6d2cf2c9cf5657c7ecc5c77819b8798e3a03353ad59152e84345c12fb9d567"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18\u201321 lines \u00D7 2): server/proxy/grpcproxy/lease.go:160-177 | server/proxy/grpcproxy/watch.go:111-131 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060server/proxy/grpcproxy/lease.go:160\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also register a scope-exit action (a \u0060defer\u0060-style statement) that runs when the function holding them returns: moved into a called unit it would run when THAT unit returns instead \u2014 before the caller uses what it releases \u2014 so keep the registration at the call site and extract only the work around it, or have the extracted unit hand the resource back for the caller to register."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/proxy/grpcproxy/lease.go"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7d153898abf704970aea214053366354f893284dc0732c1f8c00f5c6d28e7b9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): client/v3/experimental/recipes/priority_queue.go:49-65 | client/v3/experimental/recipes/queue.go:46-62 \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 \u0060client/v3/experimental/recipes/priority_queue.go: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":"client/v3/experimental/recipes/priority_queue.go"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d526b0e67bc0c93f1346174e1cc10f8b06b09928b7371f7659f97db07003725"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201315 lines \u00D7 3): server/storage/backend/backend.go:834-848 | server/storage/backend/backend.go:914-928 | server/storage/backend/backend.go:998-1011 \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":"server/storage/backend/backend.go"},"region":{"startLine":834}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4bc4cf4016e721751ba6d26f6f66f98a645d5ab2c29f664b1a7ad6fd7cb495f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): etcdctl/ctlv3/command/completion_command.go:66-80 | etcdutl/etcdutl/completion_commmand.go:66-80 \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":"etcdctl/ctlv3/command/completion_command.go"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"34987cbe702dad1ef12eada9e53e839bd6451fd2f5ca76848de76dc6cc4c4e38"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): client/v3/experimental/recipes/priority_queue.go:67-80 | client/v3/experimental/recipes/queue.go:64-77 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060client/v3/experimental/recipes/priority_queue.go:67\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":"client/v3/experimental/recipes/priority_queue.go"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"121490ec730c03aa1d123d0e7e1b27cee75d2eb46b76900562f0ab7bfcf7ff59"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): etcdctl/ctlv3/command/downgrade_command.go:77-90 | etcdctl/ctlv3/command/downgrade_command.go:103-116 \u2014 both copies are in the same file, so extract the block 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":"etcdctl/ctlv3/command/downgrade_command.go"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"15c8919bd5b20d1c65e68cfe97851c7a9efd610e8187a9fcd0019337abd316d3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 2): server/storage/schema/membership.go:192-204 | server/storage/schema/membership.go:212-225 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also register a scope-exit action (a \u0060defer\u0060-style statement) that runs when the function holding them returns: moved into a called unit it would run when THAT unit returns instead \u2014 before the caller uses what it releases \u2014 so keep the registration at the call site and extract only the work around it, or have the extracted unit hand the resource back for the caller to register."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/storage/schema/membership.go"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"913f16782c5d6c3699c9d0cccf06fcc556a86c62120fa7076d8697367ea667bc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): server/storage/wal/wal.go:654-667 | server/storage/wal/wal.go:728-741 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060server/storage/wal/wal.go:654\u0060 it does not close everything it opens, so those exact 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 register a scope-exit action (a \u0060defer\u0060-style statement) that runs when the function holding them returns: moved into a called unit it would run when THAT unit returns instead \u2014 before the caller uses what it releases \u2014 so keep the registration at the call site and extract only the work around it, or have the extracted unit hand the resource back for the caller to register."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/storage/wal/wal.go"},"region":{"startLine":654}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5d3024f0305bda82c52c0a32a660919888bdf41588282aafe7a26999d4ba096"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201313 lines \u00D7 2): client/v3/kubernetes/client.go:88-100 | client/v3/kubernetes/client.go:114-124 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060client/v3/kubernetes/client.go:88\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060client/v3/kubernetes/client.go:102\u0060 calls \u0060Errorf\u0060 and \u0060client/v3/kubernetes/client.go:125\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":"client/v3/kubernetes/client.go"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3337b294bb511706cafcc56da562483b829ab63e2705a85e5ed254c4fad98f3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): server/auth/store.go:625-637 | server/auth/store.go:738-750 \u2014 both copies are in the same file, so extract the block 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 \u0060server/auth/store.go:625\u0060 it does not close everything it opens, so those exact 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, \u0060server/auth/store.go:734\u0060 calls \u0060UnsafeDeleteRole\u0060, \u0060UnsafeGetAllUsers\u0060 and \u0060server/auth/store.go:623\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":"server/auth/store.go"},"region":{"startLine":625}}}],"partialFingerprints":{"codehealthFindingId/v1":"76c2bc4f692cfb633bec92e5ce396295a79d22d79040a6f52833bd24399b3e9d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): server/etcdserver/api/v3discovery/discovery.go:278-290 | server/etcdserver/api/v3discovery/discovery.go:385-397 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060server/etcdserver/api/v3discovery/discovery.go:278\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":"server/etcdserver/api/v3discovery/discovery.go"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b2f1c18e1000fad1bc90f88027339f86f06a883f65daebe3698ece6d15d3fdc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): server/etcdserver/cluster_util.go:244-256 | server/etcdserver/cluster_util.go:384-396 \u2014 both copies are in the same file, so extract the block 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 \u0060server/etcdserver/cluster_util.go:244\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/etcdserver/cluster_util.go"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a7f7c9668cd3f886fc5e97b20c0fa0c59f9a9284594fe5f6a5b73dd6543ddcf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): server/proxy/grpcproxy/lease.go:63-75 | server/proxy/grpcproxy/watch.go:65-77 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060server/proxy/grpcproxy/lease.go:63\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also register a scope-exit action (a \u0060defer\u0060-style statement) that runs when the function holding them returns: moved into a called unit it would run when THAT unit returns instead \u2014 before the caller uses what it releases \u2014 so keep the registration at the call site and extract only the work around it, or have the extracted unit hand the resource back for the caller to register. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060server/proxy/grpcproxy/watch.go:78\u0060 calls \u0060stop\u0060 and \u0060server/proxy/grpcproxy/lease.go:76\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":"server/proxy/grpcproxy/lease.go"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"f73d39776f780efe6d766483a0ed0f9c82d346e274d768cc657f05832b2ad366"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 2): pkg/adt/interval_tree.go:293-304 | pkg/adt/interval_tree.go:656-666 \u2014 both copies are in the same file, so extract the block 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":"pkg/adt/interval_tree.go"},"region":{"startLine":293}}}],"partialFingerprints":{"codehealthFindingId/v1":"844c232d826bc0afc416d81ad0e57550bac1c20283e1fcdf7baffd0f536aeb26"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): client/v3/concurrency/mutex.go:53-63 | client/v3/concurrency/mutex.go:76-86 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/v3/concurrency/mutex.go"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"34c01d12887f04017dbba2cff7badfdd8265ffb554f1edf106448f91a538bb52"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): etcdctl/ctlv3/command/elect_command.go:69-79 | etcdctl/ctlv3/command/elect_command.go:103-113 \u2014 both copies are in the same file, so extract the block 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 \u0060etcdctl/ctlv3/command/elect_command.go: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":"etcdctl/ctlv3/command/elect_command.go"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"c82adad3ffc69b761003fda6e95423b9a05fda1907639bfd70178c316bbcb91e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 2): etcdctl/ctlv3/command/elect_command.go:108-117 | etcdctl/ctlv3/command/lock_command.go:80-90 \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":"etcdctl/ctlv3/command/elect_command.go"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9102e014f824fece5cd07f22c3458ed9d9fb77eb69d42c1bc039d78b0223905"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): server/etcdserver/api/rafthttp/stream.go:197-206 | server/etcdserver/api/rafthttp/stream.go:226-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, \u0060server/etcdserver/api/rafthttp/stream.go:196\u0060 calls \u0060WithLabelValues\u0060, \u0060String\u0060, \u0060Inc\u0060 and \u0060server/etcdserver/api/rafthttp/stream.go:225\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":"server/etcdserver/api/rafthttp/stream.go"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b88eebb5821b035d94acf57b6201ea9ce55829897f6a460648a0131f4fef3e4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 2): server/etcdserver/server.go:1467-1475 | server/etcdserver/v3_server.go:672-681 \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 \u0060server/etcdserver/server.go:1467\u0060 it does not close everything it opens, so those exact 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 register a scope-exit action (a \u0060defer\u0060-style statement) that runs when the function holding them returns: moved into a called unit it would run when THAT unit returns instead \u2014 before the caller uses what it releases \u2014 so keep the registration at the call site and extract only the work around it, or have the extracted unit hand the resource back for the caller to register."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/etcdserver/server.go"},"region":{"startLine":1467}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfa04d05b64046857acda7ef6216d8e52beffb370919c954463dd382b9fa0637"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): server/lease/leasehttp/http.go:80-89 | server/lease/leasehttp/http.go:111-120 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/lease/leasehttp/http.go"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc02ce73137b63d4a2349bcb75dd1c3a69bad263b28821801cfd8c550978b658"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): etcdctl/ctlv3/command/member_command.go:188-196 | etcdctl/ctlv3/command/member_command.go:251-259 \u2014 both copies are in the same file, so extract the block 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 \u0060etcdctl/ctlv3/command/member_command.go:188\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":"etcdctl/ctlv3/command/member_command.go"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"c83e883f3a62427c9aebf350af533cb6538e3a4f73c073e46bc140c64cf31107"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 6): etcdctl/ctlv3/command/printer_table.go:30-37 | etcdctl/ctlv3/command/printer_table.go:41-48 | etcdctl/ctlv3/command/printer_table.go:52-59 | etcdctl/ctlv3/command/printer_table.go:63-70 | etcdutl/etcdutl/printer_table.go:30-37 | etcdutl/etcdutl/printer_table.go:41-48 \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 \u0060etcdctl/ctlv3/command/printer_table.go:30\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":"etcdctl/ctlv3/command/printer_table.go"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ebcb3419cb36ff5495edfa23932190e8a4d515540b49f96a3e946aa903b996f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): etcdctl/ctlv3/command/elect_command.go:74-81 | etcdctl/ctlv3/command/elect_command.go:108-115 | etcdctl/ctlv3/command/lock_command.go:80-88 \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 \u0060etcdctl/ctlv3/command/elect_command.go:74\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"etcdctl/ctlv3/command/elect_command.go"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"82eb0c0a746166280540449108a7095b2eb84ed57342171a36e8e8da56e95b13"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): etcdctl/ctlv3/command/member_command.go:187-194 | etcdctl/ctlv3/command/member_command.go:207-214 | etcdctl/ctlv3/command/member_command.go:250-257 \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":"etcdctl/ctlv3/command/member_command.go"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"f655ade9b408e826d918fc980a596b11a47be3d8ac84003f7c7798895fb614e7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): etcdctl/ctlv3/command/printer_fields.go:93-100 | etcdctl/ctlv3/command/printer_simple.go:68-75 \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 \u0060etcdctl/ctlv3/command/printer_fields.go: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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"etcdctl/ctlv3/command/printer_fields.go"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"d32a45bd7d5aadd5bf9fe5dd16897104f2a31e704dc3af689b62a5dae0bf57ac"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): server/etcdserver/api/v3election/election.go:61-68 | server/etcdserver/api/v3election/election.go:111-118 \u2014 both copies are in the same file, so extract the block 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":"server/etcdserver/api/v3election/election.go"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d80306ba287695ffc3f8656c517a53d6074db1c47cf0d1d8af70ac5d3cbe6b5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): server/etcdserver/api/v3rpc/interceptor.go:191-198 | server/etcdserver/api/v3rpc/interceptor.go:207-214 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060server/etcdserver/api/v3rpc/interceptor.go:191\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":"server/etcdserver/api/v3rpc/interceptor.go"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0522be3346ad86f7ac5db25622a50701c6ea59c62d4b67c6619e1f78059ce7d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): client/v3/maintenance.go:231-237 | client/v3/maintenance.go:274-280 \u2014 both copies are in the same file, so extract the block 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":"client/v3/maintenance.go"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ca8e04bc4d6d7129e3792b397a0662daf457c8d95363721e178993fae195051"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): server/etcdserver/v3_server.go:894-900 | server/etcdserver/v3_server.go:919-925 \u2014 both copies are in the same file, so extract the block 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 \u0060server/etcdserver/v3_server.go:894\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":"server/etcdserver/v3_server.go"},"region":{"startLine":894}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c213d0f226f04c32488c4e566a5147d22e089a051b36d7578cb8dfd7cb3ffc8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): etcdctl/ctlv3/command/check.go:191-197 | etcdctl/ctlv3/command/check.go:373-379 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060etcdctl/ctlv3/command/check.go:191\u0060 it does not close everything it opens, so those exact 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 register a scope-exit action (a \u0060defer\u0060-style statement) that runs when the function holding them returns: moved into a called unit it would run when THAT unit returns instead \u2014 before the caller uses what it releases \u2014 so keep the registration at the call site and extract only the work around it, or have the extracted unit hand the resource back for the caller to register."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"etcdctl/ctlv3/command/check.go"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2e3e4dcd0f190a32112012e6a654ba7204fa971fb0dcc3d4f84c0b7e6108b05"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): server/etcdserver/api/rafthttp/http.go:107-112 | server/etcdserver/api/rafthttp/http.go:215-220 \u2014 both copies are in the same file, so extract the block 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 \u0060server/etcdserver/api/rafthttp/http.go:107\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":"server/etcdserver/api/rafthttp/http.go"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ca083acddb971516611198c8f12efc07f2f17c34e5aeabe124e55ed30b70f61"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5\u20136 lines \u00D7 2): server/etcdserver/api/rafthttp/remote.go:64-68 | server/etcdserver/api/rafthttp/remote.go:75-80 \u2014 both copies are in the same file, so extract the block 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 \u0060server/etcdserver/api/rafthttp/remote.go:64\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":"server/etcdserver/api/rafthttp/remote.go"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"d39ee9368146c271cac2f9f7673e4607164b5e06adc4f3206623501620ef16f9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): server/etcdserver/corrupt.go:137-142 | server/etcdserver/corrupt.go:148-153 \u2014 both copies are in the same file, so extract the block 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 \u0060server/etcdserver/corrupt.go: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":"server/etcdserver/corrupt.go"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"160a48b2becc28f904e4ef49c599238a0db90e61144d60189bf5730bfce11213"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): server/etcdserver/api/membership/cluster.go:563-567 | server/etcdserver/api/membership/cluster.go:572-577 \u2014 both copies are in the same file, so extract the block 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 \u0060server/etcdserver/api/membership/cluster.go:563\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":"server/etcdserver/api/membership/cluster.go"},"region":{"startLine":563}}}],"partialFingerprints":{"codehealthFindingId/v1":"62359a47895ad37e5ba04a6a2a2c3c845f3d6abfcee26a6ac760b2217c06cbdf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): client/pkg/types/urls.go:79-86 | pkg/netutil/netutil.go:199-205 \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":"client/pkg/types/urls.go"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"1da3b472afbe48ee6f7d96bcf21ec5ae55b173565e71eb21148c38bb17e5a986"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): etcdctl/ctlv3/command/printer.go:169-174 | etcdutl/etcdutl/printer.go:58-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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"etcdctl/ctlv3/command/printer.go"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"10eda1b4e6b3f2278a46d2be13d41918bcf8974879b41b68a5fb81fa1cda19ce"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): server/storage/schema/lease.go:81-86 | tools/etcd-dump-db/backend.go:81-86 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/storage/schema/lease.go"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"0aab8d7fb7f2e996872cfefa743e141a214e1fe313ba3f4b040eb1131a129da6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 5): etcdctl/ctlv3/command/printer_simple.go:155-160 | etcdctl/ctlv3/command/printer_simple.go:172-177 | etcdctl/ctlv3/command/printer_simple.go:179-184 | etcdutl/etcdutl/printer_simple.go:26-31 | etcdutl/etcdutl/printer_simple.go:33-38 \u2014 there are 5 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 5 sites; resolving a subset leaves the remainder to drift apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"etcdctl/ctlv3/command/printer_simple.go"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"e04139dcf1539b530e0eb578f46a05de4dbc313c5ee6589bff8fe8cebd9ee94b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): server/etcdserver/api/v3discovery/discovery.go:100-113 | server/etcdserver/api/v3discovery/discovery.go:132-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 \u0060server/etcdserver/api/v3discovery/discovery.go:100\u0060 it does not close everything it opens, so those exact 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 register a scope-exit action (a \u0060defer\u0060-style statement) that runs when the function holding them returns: moved into a called unit it would run when THAT unit returns instead \u2014 before the caller uses what it releases \u2014 so keep the registration at the call site and extract only the work around it, or have the extracted unit hand the resource back for the caller to register."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/etcdserver/api/v3discovery/discovery.go"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"9dea188c7e0f7e70719b139174b9ddb57859e566f1ee69f85fb47d5cf86e426a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): server/etcdserver/api/membership/cluster.go:669-680 | server/etcdserver/api/membership/cluster.go:695-706 \u2014 both copies are in the same file, so extract the block 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 \u0060server/etcdserver/api/membership/cluster.go:669\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":"server/etcdserver/api/membership/cluster.go"},"region":{"startLine":669}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6cb20114f10b8888d4b128c31d2585a7b9dcda87a9abfb2d0142eb0bfac860b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): server/etcdserver/api/membership/cluster.go:647-657 | server/etcdserver/api/membership/cluster.go:677-687 | server/etcdserver/api/membership/cluster.go:703-713 \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 \u0060server/etcdserver/api/membership/cluster.go:647\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":"server/etcdserver/api/membership/cluster.go"},"region":{"startLine":647}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5ba0698bd9b86a21c50935e2f8b48309fee73c2d5211d0ea8de1557ba5a9983"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): server/storage/backend/backend.go:647-656 | server/storage/backend/backend.go:708-717 \u2014 both copies are in the same file, so extract the block 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 \u0060server/storage/backend/backend.go:647\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/storage/backend/backend.go"},"region":{"startLine":647}}}],"partialFingerprints":{"codehealthFindingId/v1":"3db86120f57d1c676e9c937b53a9c6251c0d93a95b0397ca2f0676dd98b70fc7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): server/etcdserver/bootstrap.go:226-233 | server/etcdserver/bootstrap.go:236-244 \u2014 both copies are in the same file, so extract the block 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 \u0060server/etcdserver/bootstrap.go:226\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":"server/etcdserver/bootstrap.go"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"b62add5cd63ca2fb8b81179588cd866897be91023e8af8120b88bbac40cd8391"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): server/embed/serve.go:186-193 | server/embed/serve.go:246-253 \u2014 both copies are in the same file, so extract the block 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 \u0060server/embed/serve.go:186\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also register a scope-exit action (a \u0060defer\u0060-style statement) that runs when the function holding them returns: moved into a called unit it would run when THAT unit returns instead \u2014 before the caller uses what it releases \u2014 so keep the registration at the call site and extract only the work around it, or have the extracted unit hand the resource back for the caller to register."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/embed/serve.go"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6908f30a9ed9a308b0bfd71a221ed3bf6cbfd81f07a4a7c605030eeb10a0020"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): server/etcdserver/api/rafthttp/remote.go:66-73 | server/etcdserver/api/rafthttp/stream.go:541-548 \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 \u0060server/etcdserver/api/rafthttp/remote.go:66\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/etcdserver/api/rafthttp/remote.go"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5016df0448c8a10327560554d7a03050f4d810e8f69cbaea46b2d996f7d2b83"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): server/etcdserver/api/rafthttp/snapshot_sender.go:82-89 | server/etcdserver/api/rafthttp/snapshot_sender.go:131-138 \u2014 both copies are in the same file, so extract the block 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 \u0060server/etcdserver/api/rafthttp/snapshot_sender.go:82\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/etcdserver/api/rafthttp/snapshot_sender.go"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c6643a4225a778aed184498dc30d686b21f12d35f52d2375fa0b548678b18bc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): pkg/proxy/server.go:689-696 | pkg/proxy/server.go:729-736 \u2014 both copies are in the same file, so extract the block 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 \u0060pkg/proxy/server.go:689\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":"pkg/proxy/server.go"},"region":{"startLine":689}}}],"partialFingerprints":{"codehealthFindingId/v1":"bea45580552c260c89192a61495ee812ccde797d4ee79801f07f9847f3e2b7b5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): server/etcdserver/api/rafthttp/stream.go:198-205 | server/etcdserver/api/rafthttp/stream.go:227-234 | server/etcdserver/api/rafthttp/stream.go:269-276 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060server/etcdserver/api/rafthttp/stream.go:196\u0060 calls \u0060WithLabelValues\u0060, \u0060String\u0060, \u0060Inc\u0060 and \u0060server/etcdserver/api/rafthttp/stream.go:225\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":"server/etcdserver/api/rafthttp/stream.go"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"766ad0b9188e7ff04b427f573f1ec01d22ad27f5cbfa9dba7c49dfc7e1e2c13c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): server/etcdserver/api/rafthttp/pipeline.go:72-79 | server/etcdserver/api/rafthttp/pipeline.go:85-92 \u2014 both copies are in the same file, so extract the block 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 \u0060server/etcdserver/api/rafthttp/pipeline.go:72\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":"server/etcdserver/api/rafthttp/pipeline.go"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfda48ec7ab9424e1593fecdef0f746e72238e0390e463e4354b295817aaefdd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): server/etcdserver/server.go:473-478 | server/etcdserver/server.go:511-517 \u2014 both copies are in the same file, so extract the block 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 \u0060server/etcdserver/server.go:473\u0060 it does not close everything it opens, so those exact 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, \u0060server/etcdserver/server.go:520\u0060 calls \u0060Int\u0060 and \u0060server/etcdserver/server.go:481\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":"server/etcdserver/server.go"},"region":{"startLine":473}}}],"partialFingerprints":{"codehealthFindingId/v1":"664662ddd3640512e64b5e9470b884743466bc419d03f58fa1cc93c433e391b0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): server/etcdserver/api/rafthttp/stream.go:400-406 | server/etcdserver/api/rafthttp/stream.go:447-453 \u2014 both copies are in the same file, so extract the block 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 \u0060server/etcdserver/api/rafthttp/stream.go:400\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/etcdserver/api/rafthttp/stream.go"},"region":{"startLine":400}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd017f1e4daa3df9e72c02e1c53fd411031095eb51f30ffbf628bcf7a082024d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): server/etcdserver/api/rafthttp/http.go:498-504 | server/etcdserver/api/rafthttp/http.go:512-518 \u2014 both copies are in the same file, so extract the block 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 \u0060server/etcdserver/api/rafthttp/http.go:498\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/etcdserver/api/rafthttp/http.go"},"region":{"startLine":498}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7ce9d413fb2398b4b54629a73a5ac1153f31e1f51c97d07df9efc493af9a650"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): server/etcdserver/api/rafthttp/peer.go:253-257 | server/etcdserver/api/rafthttp/remote.go:59-63 | server/etcdserver/api/rafthttp/remote.go:70-74 \u2014 there are 3 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 3 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060server/etcdserver/api/rafthttp/peer.go:253\u0060 it does not close everything it opens, so those exact 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, \u0060server/etcdserver/api/rafthttp/peer.go:260\u0060 calls \u0060String\u0060 and \u0060server/etcdserver/api/rafthttp/remote.go:66\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":"server/etcdserver/api/rafthttp/peer.go"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"417a8cad77a961fa385c001309fe5c2e13d9014ed620a5fa5c4eb661902e2005"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): server/etcdserver/corrupt.go:133-137 | server/etcdserver/corrupt.go:144-148 | server/etcdserver/corrupt.go:155-159 \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 \u0060server/etcdserver/corrupt.go:133\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/etcdserver/corrupt.go"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"f08b82714a1a501c06ffdda16b95b7d8af68f2b0b412bb26a4e1aaff956227dc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): server/etcdserver/v3_server.go:116-120 | server/etcdserver/v3_server.go:167-171 \u2014 both copies are in the same file, so extract the block 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 \u0060server/etcdserver/v3_server.go:116\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 register a scope-exit action (a \u0060defer\u0060-style statement) that runs when the function holding them returns: moved into a called unit it would run when THAT unit returns instead \u2014 before the caller uses what it releases \u2014 so keep the registration at the call site and extract only the work around it, or have the extracted unit hand the resource back for the caller to register. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060server/etcdserver/v3_server.go:115\u0060 calls \u0060Bool\u0060, \u0060GetKeysOnly\u0060 and \u0060server/etcdserver/v3_server.go:166\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":"server/etcdserver/v3_server.go"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"aab4b04f4be6f26f8b890c64c029a8432b8df0d47c0d2d44b103324bb7ceb0dc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): server/etcdserver/api/rafthttp/stream.go:534-538 | server/etcdserver/api/rafthttp/stream.go:545-549 \u2014 both copies are in the same file, so extract the block 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 \u0060server/etcdserver/api/rafthttp/stream.go:534\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/etcdserver/api/rafthttp/stream.go"},"region":{"startLine":534}}}],"partialFingerprints":{"codehealthFindingId/v1":"82a1bae83bf1380a31e0be1cf2f3df991a1ae5ec75eac0ef99cb1f34e834a172"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (77 corresponding lines): tools/rw-heatmaps/pkg/chart/heatmaps.go:91-167 | tools/rw-heatmaps/pkg/chart/heatmaps.go:170-251 \u2014 These two members are one piece of code written twice and then edited apart: 77 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":"tools/rw-heatmaps/pkg/chart/heatmaps.go"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"9967d6f1ad157d58e2494c51461e6f5935bbb91f2fc8160d4d6ea415f4fdc195"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): tools/rw-heatmaps/pkg/chart/heatmaps.go:276-299 | tools/rw-heatmaps/pkg/chart/heatmaps.go:302-333 \u2014 These two members are one piece of code written twice and then edited apart: 24 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/rw-heatmaps/pkg/chart/heatmaps.go"},"region":{"startLine":276}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a5f9e64b52cbdc44a8839f183972dc4f018682f1dbdcb34b73601e06f2ad7f7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): tools/etcd-dump-metrics/install_darwin.go:32-58 | tools/etcd-dump-metrics/install_linux.go:32-56 \u2014 These two members are one piece of code written twice and then edited apart: 25 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":"tools/etcd-dump-metrics/install_darwin.go"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"6adc2a30286bb8c6ffe56bce3b86d4b5ccc2d9f4ce87f98ecc4fb82377706a61"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 17\u002B corresponding lines): tools/etcd-dump-db/main.go:82-101 | tools/etcd-dump-db/main.go:103-119 | tools/etcd-dump-db/main.go:121-140 | tools/etcd-dump-db/main.go:142-159 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 17 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/etcd-dump-db/main.go"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"75c096ca044f2e83063213cd7f0bcaf220ab2610c355cc5b85ee7f9e5f4d6306"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201317 lines \u00D7 3): tools/rw-heatmaps/pkg/chart/heatmaps.go:98-114 | tools/rw-heatmaps/pkg/chart/heatmaps.go:176-192 | tools/rw-heatmaps/pkg/chart/line_chart.go:61-76 \u2014 there are 3 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 3 sites; resolving a subset leaves the remainder to drift apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/rw-heatmaps/pkg/chart/heatmaps.go"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3b127d03a59919d369d7cab4d0cbd477fcb0040bd218ccb81a5fff3573aa0f1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): tools/rw-heatmaps/pkg/chart/heatmaps.go:137-160 | tools/rw-heatmaps/pkg/chart/heatmaps.go:219-242 \u2014 both copies are in the same file, so extract the block 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":"tools/rw-heatmaps/pkg/chart/heatmaps.go"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf690709e5db09ed3b59df39ad2421234a03a339516dfd12bfcc49e46757f9bc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): tools/etcd-dump-metrics/install_darwin.go:33-44 | tools/etcd-dump-metrics/install_linux.go:33-44 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. 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. The matched lines also register a scope-exit action (a \u0060defer\u0060-style statement) that runs when the function holding them returns: moved into a called unit it would run when THAT unit returns instead \u2014 before the caller uses what it releases \u2014 so keep the registration at the call site and extract only the work around it, or have the extracted unit hand the resource back for the caller to register."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/etcd-dump-metrics/install_darwin.go"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"3da2be12244de11c072bdcb97843b2516b3ac2bf013a74ab11c58f20071efd99"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): tools/etcd-dump-db/main.go:83-92 | tools/etcd-dump-db/main.go:143-152 \u2014 both copies are in the same file, so extract the block 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":"tools/etcd-dump-db/main.go"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"b97e7056633c39765da708d51f30f214c4ac48fef2bb5f753a84c075b964ec3e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): tools/etcd-dump-db/main.go:104-113 | tools/etcd-dump-db/main.go:122-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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/etcd-dump-db/main.go"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"e51d9acbfbdd26168c3a38016c72bad4a849f2225ff08bde2dd59c691746818f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): tools/rw-heatmaps/pkg/chart/line_chart.go:188-197 | tools/rw-heatmaps/pkg/chart/line_chart.go:202-211 \u2014 both copies are in the same file, so extract the block 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, \u0060tools/rw-heatmaps/pkg/chart/line_chart.go:198\u0060 calls \u0060Points\u0060 and \u0060tools/rw-heatmaps/pkg/chart/line_chart.go:212\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":"tools/rw-heatmaps/pkg/chart/line_chart.go"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"6001ac951fecc1a47a8800cc8bfbc3b14bfb09ffd32beecae6ac754fdeac4078"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): tools/rw-heatmaps/pkg/chart/heatmaps.go:277-283 | tools/rw-heatmaps/pkg/chart/heatmaps.go:303-309 \u2014 both copies are in the same file, so extract the block 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":"tools/rw-heatmaps/pkg/chart/heatmaps.go"},"region":{"startLine":277}}}],"partialFingerprints":{"codehealthFindingId/v1":"af27ee0de22b60726eaca5dab204add80ea0e7b3bae5f0389984d17b95cb3197"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): tools/etcd-dump-metrics/main.go:95-103 | tools/etcd-dump-metrics/main.go:109-117 \u2014 both copies are in the same file, so extract the block 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 \u0060tools/etcd-dump-metrics/main.go: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":"tools/etcd-dump-metrics/main.go"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"405bc5c757736186010c5ce8cffeca3fb3b5cf0dacbe19646cd62696e782de91"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: go.etcd.io/etcd/api/v3: go.etcd.io/etcd/api/v3: abstractness 0.00, instability 0.00, distance 1.00 \u2014 zone of pain \u2014 concrete and depended on by 6 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"b9885df795993aa71106151bf5d35a5d3b3a06e99d52a5d2ed3c154ede1c0a72"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: go.etcd.io/etcd/client/pkg/v3: go.etcd.io/etcd/client/pkg/v3: abstractness 0.12, instability 0.00, distance 0.88 \u2014 zone of pain \u2014 concrete and depended on by 6 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"74ae8ee9a10831222adcd7b5a499083560b618f2b4eed07b4026d465f27b3b50"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: simplePrinter (LCOM4 15): simplePrinter\u0027s methods fall into 15 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 15 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":"etcdctl/ctlv3/command/printer_simple.go"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"9273ab37f5f44d09feaa014587e752c34f311d786ecf060fe16025b739812f00"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: StorageRecorder (LCOM4 4): StorageRecorder\u0027s methods fall into 4 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 4 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/mock/mockstorage/storage_recorder.go"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"5148b43c8d192c3f55ec924bfa5b0e4c80dc45d15653d7610e3f8e0c0c9c8316"}},{"ruleId":"D12","level":"warning","message":{"text":"Deprecated module: github.com/golang/protobuf: \u0060github.com/golang/protobuf\u0060 is required at v1.5.4 in api/go.mod, and its author has DEPRECATED the module: \u0022Use the \u0022google.golang.org/protobuf\u0022 module instead.\u0022 A deprecation is declared by the author in the module\u0027s own go.mod and applies to the whole module, not to one release, so moving to a newer version of it does not clear this. Follow the replacement the notice names."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"d961cedc3a4e1033065aa945881363e3ceaebde31a8fc5c61044d8f5fcc42e86"}},{"ruleId":"D12","level":"warning","message":{"text":"Deprecated module: github.com/golang/protobuf: \u0060github.com/golang/protobuf\u0060 is required at v1.5.4 in client/v3/go.mod, and its author has DEPRECATED the module: \u0022Use the \u0022google.golang.org/protobuf\u0022 module instead.\u0022 A deprecation is declared by the author in the module\u0027s own go.mod and applies to the whole module, not to one release, so moving to a newer version of it does not clear this. Follow the replacement the notice names."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"4a88b3fdc86ac941c976e9a5a50be0cc0206753da0c668d9878ef3f17f2a3773"}},{"ruleId":"D12","level":"warning","message":{"text":"Deprecated module: github.com/golang/protobuf: \u0060github.com/golang/protobuf\u0060 is required at v1.5.4 in go.mod, and its author has DEPRECATED the module: \u0022Use the \u0022google.golang.org/protobuf\u0022 module instead.\u0022 A deprecation is declared by the author in the module\u0027s own go.mod and applies to the whole module, not to one release, so moving to a newer version of it does not clear this. Follow the replacement the notice names."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"402e8599bc347a7f0a0cec99e8967e57b0aacff125d30614059714e1766386b9"}},{"ruleId":"D12","level":"warning","message":{"text":"Deprecated module: github.com/golang/protobuf: \u0060github.com/golang/protobuf\u0060 is required at v1.5.4 in server/go.mod, and its author has DEPRECATED the module: \u0022Use the \u0022google.golang.org/protobuf\u0022 module instead.\u0022 A deprecation is declared by the author in the module\u0027s own go.mod and applies to the whole module, not to one release, so moving to a newer version of it does not clear this. Follow the replacement the notice names."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"75eee1ef93335b681b035a3b77044c65bcf6d0147bf579d5932a8e699d5053de"}},{"ruleId":"D12","level":"warning","message":{"text":"Dependency pinned to a stale untagged commit: github.com/tmc/grpc-websocket-proxy: Direct dependency \u0060github.com/tmc/grpc-websocket-proxy\u0060 is required at \u0060v0.0.0-20220101234140-673ab2c3ae75\u0060 in server/go.mod \u2014 a pseudo-version, which pins an UNTAGGED commit from 2022-01-01, 4.9 years ago. The pin itself is exact, so this is not a reproducibility defect, and it is not a claim that the module is unmaintained. What it says is that this repository tracks no RELEASE of \u0060github.com/tmc/grpc-websocket-proxy\u0060 and has not moved this requirement in 4.9 years: every fix the module has published since that commit \u2014 including any security fix \u2014 is absent from this build, whether the module went quiet or moved on without you. Check whether \u0060github.com/tmc/grpc-websocket-proxy\u0060 now publishes tagged releases and move the requirement to one; if it publishes none, re-pin to a current commit."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"1772d719581fb750adfd0fd13d8f476610052eb93b5d2af6adfd9906510e56c5"}},{"ruleId":"D12","level":"warning","message":{"text":"Dependency pinned to a stale untagged commit: github.com/xiang90/probing: Direct dependency \u0060github.com/xiang90/probing\u0060 is required at \u0060v0.0.0-20221125231312-a49e3df8f510\u0060 in server/go.mod \u2014 a pseudo-version, which pins an UNTAGGED commit from 2022-11-25, 4 years ago. The pin itself is exact, so this is not a reproducibility defect, and it is not a claim that the module is unmaintained. What it says is that this repository tracks no RELEASE of \u0060github.com/xiang90/probing\u0060 and has not moved this requirement in 4 years: every fix the module has published since that commit \u2014 including any security fix \u2014 is absent from this build, whether the module went quiet or moved on without you. Check whether \u0060github.com/xiang90/probing\u0060 now publishes tagged releases and move the requirement to one; if it publishes none, re-pin to a current commit."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"75c9bccb343efc2334d1bb313e68acf90c63ef23b2c4ec29fcf249e6b6d4d148"}},{"ruleId":"D12","level":"warning","message":{"text":"Dependency pinned to a stale untagged commit: github.com/appscodelabs/license-bill-of-materials: Direct dependency \u0060github.com/appscodelabs/license-bill-of-materials\u0060 is required at \u0060v0.0.0-20220707232035-6018e0c5287c\u0060 in tools/mod/go.mod \u2014 a pseudo-version, which pins an UNTAGGED commit from 2022-07-07, 4.4 years ago. The pin itself is exact, so this is not a reproducibility defect, and it is not a claim that the module is unmaintained. What it says is that this repository tracks no RELEASE of \u0060github.com/appscodelabs/license-bill-of-materials\u0060 and has not moved this requirement in 4.4 years: every fix the module has published since that commit \u2014 including any security fix \u2014 is absent from this build, whether the module went quiet or moved on without you. Check whether \u0060github.com/appscodelabs/license-bill-of-materials\u0060 now publishes tagged releases and move the requirement to one; if it publishes none, re-pin to a current commit."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"bce882bc0a3f860ee92fe47e4a2410f6eb8d32476ed85be780d4911b5b401fcd"}},{"ruleId":"D12","level":"warning","message":{"text":"Dependency pinned to a stale untagged commit: go.etcd.io/protodoc: Direct dependency \u0060go.etcd.io/protodoc\u0060 is required at \u0060v0.0.0-20180829002748-484ab544e116\u0060 in tools/mod/go.mod \u2014 a pseudo-version, which pins an UNTAGGED commit from 2018-08-29, 8.2 years ago. The pin itself is exact, so this is not a reproducibility defect, and it is not a claim that the module is unmaintained. What it says is that this repository tracks no RELEASE of \u0060go.etcd.io/protodoc\u0060 and has not moved this requirement in 8.2 years: every fix the module has published since that commit \u2014 including any security fix \u2014 is absent from this build, whether the module went quiet or moved on without you. Check whether \u0060go.etcd.io/protodoc\u0060 now publishes tagged releases and move the requirement to one; if it publishes none, re-pin to a current commit."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"8c40200fc6d2ab5213fc7ef029579a24893edfd144de50b96cde993dc17da20c"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/storage/wal/wal.go: server/storage/wal/wal.go changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in wal.Create at line 101. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-14..2026-11-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-14 17:17:52 \u002B00:00\u0027 --until=\u00272026-11-12 17:17:52 \u002B00:00\u0027 --full-history --no-merges -- server/storage/wal/wal.go\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":"server/storage/wal/wal.go"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8dee760dd377651d8ee7d34d1d4b622437a44a699400d1b5e7ade07b0c0d5bd"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #1: If anonymized user #1 becomes unavailable, 2 significant file(s) lose their only recent owner: client/pkg/transport/listener_tls.go, server/storage/quota.go. Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"534920b4db5485e701950c41cc436aef69e7b3bc284ab36e34b127e60596f4c3"}},{"ruleId":"D16","level":"note","message":{"text":"Further sole-owners (lower concentration): 10 other contributor(s) are each the sole owner of a small amount of code below the off-boarding threshold \u2014 folded into the bus-factor score and metrics (13 single-owned of 296 analysed files in total, counted over production source files of roughly 2,400 bytes or more, excluding vendored, generated, example/demo and scaffolding-template trees and test files identified by path convention, largest first; 296 of the 587 production source files in this repository met that bar). They are anonymized user #2 (2 file(s)), anonymized user #3 (1 file(s)), anonymized user #4 (1 file(s)), anonymized user #5 (1 file(s)), anonymized user #6 (1 file(s)), anonymized user #7 (1 file(s)) (\u002B4 more) \u2014 spread or document their files in the same way, at lower priority than the named off-boarding risks above. The files folded here: client/v3/internal/endpoint/endpoint.go, server/storage/schema/actions.go, tools/benchmark/cmd/watch.go, server/etcdserver/read/read.go, client/v3/concurrency/session.go, client/pkg/types/set.go, server/embed/config_tracing.go, client/pkg/fileutil/purge.go (\u002B3 more)."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"6eac528f2429e724e1a97ed868f79eefbcf1888dab4af9a9e673429369bb5b2f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: enable default metrics initialization in v3.1 and v3.2 \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":"tools/etcd-dump-metrics/main.go"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f933465672d3cc559dfa58940660913e061e01a958cc0a85454aa522f4e307f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(ptabor): The test does not run by default from ./scripts/test.sh. \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":"tools/etcd-dump-logs/etcd-dump-log_test.go"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"89a29cf53b3caf323d9f38ddd8bf1bfeeb9d9bb39dc7fc42992320707e6bd6a4"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(ptabor): Get rid of the whitespaces both in code and the test-files. \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":"tools/etcd-dump-logs/etcd-dump-log_test.go"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"28c181caf3351f1915705aef08263017e86cd057477dc50a15d17c8d63409383"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: import directly from packages, rather than copy\u0026paste \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":"tools/etcd-dump-db/backend.go"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"7629860e8b9816a84a9ed6cd5f8976a0dfd361cb2d2c612bda2a54b41eee78ba"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: remove sensitive information \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":"tools/etcd-dump-db/backend.go"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"97b3fe07c1098ab77d41b9878026e7e625f774ce097a17656e96e76f34f1d27e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: revert by revision and find specified hash value \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":"tools/etcd-dump-db/backend.go"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9c08129519f2e4770ff0443668aedb53ee0090e693fe77d7f2cd5e855558796"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: after the PR https://github.com/spf13/cobra/pull/220 is merged, the below pprof related flags should be moved to RootCmd"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/benchmark/cmd/mvcc-put.go"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b66b131230607ece9a39ac7fa480192a50beed10def07ebff3fc4e656c51c9b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: We can infer that failed operation finished before last operation matching following. \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":"tests/robustness/validate/patch_history_test.go"},"region":{"startLine":427}}}],"partialFingerprints":{"codehealthFindingId/v1":"a21e51023522b37c0f6210b4e27d266472685a94b315772b37a88c49e6c647af"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(MadhavJivrajani): check if compaction has been run as part \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":"tests/robustness/validate/watch.go"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"36ec71b182cc73a38340166ecbf810c4bbb58433aa24421c6886391e2818d8da"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Validate QPS post failpoint injection to ensure that we sufficiently cover the period when the cluster recovers. \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":"tests/robustness/traffic/traffic.go"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b37c92a2d646a2fadfbb919b41abef089735f10d2a0618a9e48a5ba36bb19e2"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: merge 2 key stores into 1 \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":"tests/robustness/traffic/traffic.go"},"region":{"startLine":407}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0a00cadd92f92fc31bd4d65d699a51fe62293787d3816cf67e96ad4e02e40c2"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Avoid copying when TXN only has read operations \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":"tests/robustness/model/deterministic.go"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"3aed62f23622dd6dbcf344c25eb3747b895f60821d23e59a87e56e5e73ae6497"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Remove preceding Get when v3.4 is no longer supported. \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":"tests/robustness/failpoint/cluster.go"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"31361b7b3b280dac98c1a0721dbb5c56664d49a67b31648f9d1531bad21ece25"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Check gofail status (https://github.com/etcd-io/gofail/pull/47) and wait for sleep to be executed at least once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/robustness/failpoint/gofail.go"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab197ca1d7a9a3de9cf9f26588e3e2e2b7afcb6c0f677c6a80c33f9d898032ca"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: find a way to stop all traffic \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":"tests/robustness/failpoint/network.go"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cf8a80c832e8621d6cc628db078795491f8701b6784c51cb5c938c73c1c0d93"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Re-enable the peer proxy for compact failpoints when we confirm the root cause. \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":"tests/robustness/failpoint/trigger.go"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"712919a22569d2a34f3a94bebec2f4f0c22b82b30bd201660bf1290a89f38415"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: remove the last but one member \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":"tests/integration/cluster_test.go"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"b88230fc41fa8de57a16e28c31ce1713df82cff4fd8205d077220de252470b90"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: client should return descriptive error codes for internal errors \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":"tests/integration/cluster_test.go"},"region":{"startLine":338}}}],"partialFingerprints":{"codehealthFindingId/v1":"445773ae701713185bdf199cb282b0eb535206812fb532c3864b1210bbbd8d00"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: client should return more descriptive error codes for internal errors \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":"tests/integration/cluster_test.go"},"region":{"startLine":374}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d18ddb9b4aabb36607e09fb75e30fe1f74063ee41f9f5bc97b05976303619cc"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment repeated across 21 files: The identical TodoComment appears in 21 files (39 occurrences) \u2014 almost certainly one boilerplate line from a single migration or decision, not 39 independent debts. Fix the systemic cause once rather than file-by-file. Text: \u0022//nolint:staticcheck // TODO: remove for a supported version\u0022. Source code is not a task system: track the cleanup where tasks live. (Every occurrence still counts toward the score and metrics.)"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/integration/v3_grpc_test.go"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c3f756bfa8ab5c4c048b71780ef498e8078bed8d67b4079761cb386eaf763e6"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Remove retry loop once the new grpc load balancer provides retry. \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":"tests/integration/v3_grpc_test.go"},"region":{"startLine":2467}}}],"partialFingerprints":{"codehealthFindingId/v1":"d055d501143e11e4ba1e6e40a0c718a3f95c0cb8bdfb5052defa64697b1ff334"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: use customized clock to make this test go faster? \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":"tests/integration/v3_lease_test.go"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ebd6d49f3daf2d84b5cd2b2d31624232c4b2f028bca6fcb6246dec9fa394b8c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Consider fixing grpcproxy to properly propagate errors. \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":"tests/integration/v3_lease_test.go"},"region":{"startLine":461}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d633b97ba1041120e978a0143ec877e37e67d8c00787801331be46bc9e7080f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: TLS \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":"tests/integration/snapshot/v3_snapshot_test.go"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0406e9d159a52986979c06ca35c80eee8ecbf7f757b49eb903bfa857136ff1c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Change this to fuzz test \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":"tests/integration/clientv3/maintenance_test.go"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"99022270b390e71c362d13b3887a5e9093b31d8ed0a0907bae42ebb56649aefe"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Change this to fuzz test \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":"server/storage/mvcc/hash_test.go"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ed4aa71c9d7fe6ef6076b318b4eac4e883f9e6c2912c35afafe2e13f180c34e"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME: Figure out how pause SetEndpoints sufficiently that this is not needed \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":"tests/integration/clientv3/ordering_kv_test.go"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"535d8765109e97ba1bb607bd90b7f2d4960cedfc26f2fdc5fc4be638c35bd1a1"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME: Figure out how pause SetEndpoints sufficiently that this is not needed \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":"tests/integration/clientv3/ordering_kv_test.go"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d8f349c8981a1bcac531aa712565ee3aae2af0f8b17e547a6fb97880cec9472"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: decrease timeout after balancer rewrite!!! \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":"tests/integration/clientv3/util.go"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"6479de5ff33ddec40d8aee47c72b0e83d11beb2301ab6ec8aad4ed0581afec13"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: fix panic with gRPC proxy \u0022panic: watcher current revision should not exceed current revision\u0022 \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":"tests/integration/clientv3/watch/v3_watch_restore_test.go"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"09620474912ba61e20fd553f4373e39d36fe39e236771e7ce06ac214767813eb"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: add a client that can connect to all the members of cluster via unix sock. \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":"tests/integration/clientv3/lease/lease_test.go"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2be0007746c2702735810ba3ab297f2503a934b079518c94d17fec6b2075915"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: test handle more complicated failures. \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":"tests/integration/clientv3/lease/lease_test.go"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"890e8485ed3b837c93f182c46de2d6008826cfef8b769fe60824b1ec52dc1a03"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: change this line to get a cluster client \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":"tests/integration/clientv3/lease/lease_test.go"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"89decc3889403190c0d6e737be57fb54e957e4659ab4f56f573efd52b139f356"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Randomization in tests is a bad practice (except explicitly exploratory). \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":"tests/integration/clientv3/lease/leasing_test.go"},"region":{"startLine":549}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3b900d355721f1ad2d269ebe5a71f824ceb567590a9acef08bc731706d70245"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Randomization in unit tests is a bad practice (except explicitly exploratory). \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":"tests/integration/clientv3/lease/leasing_test.go"},"region":{"startLine":564}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bfc20968cbbb69380d185886722961199c8348514ed9c08b3d9b9313dc5fa3e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: add delete \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":"tests/integration/clientv3/lease/leasing_test.go"},"region":{"startLine":897}}}],"partialFingerprints":{"codehealthFindingId/v1":"3926b484a133b85e7fc005d8fa8c4b1f3112e205399b7bb72ac267ec513176ed"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO wrap input client to generate errors \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":"tests/integration/clientv3/lease/leasing_test.go"},"region":{"startLine":1348}}}],"partialFingerprints":{"codehealthFindingId/v1":"65bda3ec338a4fd63f7ecccee1dfc242be64931de3a10bb0c755ad6077b6ea6e"}},{"ruleId":"D17","level":"warning","message":{"text":"XxxComment: // XXX switch tests to use TB interface \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":"tests/integration/clientv3/experimental/recipes/v3_lock_test.go"},"region":{"startLine":292}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6ce82903e670854940b12febb0a872542b054243a49a6d9406efb6bc4215490"}},{"ruleId":"D17","level":"warning","message":{"text":"XxxComment: // XXX switch tests to use TB interface \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":"tests/integration/clientv3/experimental/recipes/v3_queue_test.go"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0617b0e0820c5972670ef26f40a5982d16005bbeb86f302cb49e24f16a0d844"}},{"ruleId":"D17","level":"warning","message":{"text":"XxxComment: // XXX switch tests to use TB interface \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":"tests/integration/clientv3/experimental/recipes/v3_queue_test.go"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fb54151e372753081fa584d85fa75faa97680a125872797c4e2a1ad97896df4"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Rather wresp.IsProgressNotify: true should be expected \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":"tests/integration/clientv3/examples/example_watch_test.go"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"d52b97fe4fdbf142fcad8816f7121f7b5159ad0271b023f8585aeaf481847470"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Rather wresp.IsProgressNotify: true should be expected \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":"client/v3/example_watch_test.go"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"f88705646dcbfa43c4029004f6e79bc2b9b858c16fc097860eabf7696b357adc"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: test server-to-client keepalive ping \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":"tests/integration/clientv3/connectivity/black_hole_test.go"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3ee48cd7cad55990396efb94fce8cbc178e0a77a94dd8f0392346e049e27b96"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: only send healthy endpoint to gRPC so gRPC wont waste time to \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":"tests/integration/clientv3/connectivity/black_hole_test.go"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d8881aa01f397f5abbfe605c384acc181334b5aa11e9573f2d99b7f7e4cf113"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: first operation can succeed \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":"tests/integration/clientv3/connectivity/black_hole_test.go"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3c0dc5f01af1d2fe235e70805e0eaf9575db39c0fa60e06b698ee4283206c21"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: remove random sleep by syncing directly with balancer \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":"tests/integration/clientv3/connectivity/network_partition_test.go"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"aca0912b2ea875151577754b52232a85c8e0493079a44da20471db6366aa0a0c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: remove this (expose client connection state?) \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":"tests/integration/clientv3/connectivity/server_shutdown_test.go"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7cdaa8fb041a99cd54ff740424e490f32d236d714291104d98b121a017ad5b4"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: decrease timeout when balancer switch rewrite \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":"tests/integration/clientv3/connectivity/server_shutdown_test.go"},"region":{"startLine":321}}}],"partialFingerprints":{"codehealthFindingId/v1":"920bfaf6586f997dfb470daf9383bc3a6b552d402ffd5d006e971ee1c7bd20f5"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: The new grpc load balancer will not pin to an endpoint \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":"tests/integration/clientv3/connectivity/server_shutdown_test.go"},"region":{"startLine":335}}}],"partialFingerprints":{"codehealthFindingId/v1":"2dbc33f377d988c239d3183f3ee3cba52311be2628e73270b90b8b58bbea3971"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: remove connection write timeout by selecting on http response closeNotifier \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":"tests/framework/integration/cluster.go"},"region":{"startLine":365}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee7f90cd747864cd9600e67e387e5ed409c1b38a1f0c24f204e5a98d7c9b4e11"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Consider second pass check as sometimes leadership is lost \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":"tests/framework/integration/cluster.go"},"region":{"startLine":427}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e5f9d4c71cad5e180506f7ca9978fa78dcc891a16cf518f0dc49d6b7701917e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Refactor to a separate clientv3.Client instance instead of the context alone. \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":"tests/framework/integration/cluster_proxy.go"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdd40ab0aba3d4786814edb80ef9f3210baf8d5b3a85a3ea47751356eb4e22e6"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(ahrtr): We need to remove \u0060proxyV2\u0060 and v2discovery when the v2client is removed. \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":"tests/framework/e2e/cluster_proxy.go"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c5f21afa51fc1f6f2e7e103e19e0be504df90f6dc8b748511e35002d419845f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Wait for response on socket instead of reading logs to get command completion. \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":"tests/framework/e2e/lazyfs.go"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc3f64b5925b1b8c8af546aff8a3d85010fbd6c80889e7a4123bee28aef640fd"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Remove PATH when we stop using system binaries (\u0060awk\u0060, \u0060echo\u0060) \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":"tests/framework/e2e/util.go"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"58f711bb0cba1dcdc91d4b793393dfd7e27ed01246b5eeb9d126f0d8f023e534"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(ahrtr): enhance the e2e test framework to support \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":"tests/e2e/ctl_v3_auth_no_proxy_test.go"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee3bcd8f75ececf46e1994135df700238867b883709cda331d4c7af8e3393b6b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TestCtlV3AuthAndWatch TODO https://github.com/etcd-io/etcd/issues/7988 is the blocker of migration to common/auth_test.go"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/e2e/ctl_v3_auth_test.go"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"746ff2769af2e8fd0ce230df40b02ff60f3cbfa3a13dd8e87d0a8fb71c4abdd1"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TestCtlV3AuthSnapshot TODO fill up common/maintenance_auth_test.go when Snapshot API is added in interfaces.Client \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":"tests/e2e/ctl_v3_auth_test.go"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cdf013844d82276f86dcd40109d3de4285dd13c7d05d6cf9ac222215208d1ac"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Remove when the flakiness source is identified. \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":"tests/e2e/ctl_v3_snapshot_test.go"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"53f1980387cb803c00e751636ad970b4a52a8e4f67f672acd21f205fea6b1aff"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(mitake): after printing accurate error message that includes \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":"tests/e2e/ctl_v3_watch_test.go"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"db170f548d181c6cef80844052abee16e2b3ab7d58892156c22693a158a1e15d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: update after release candidate \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":"tests/e2e/etcd_release_upgrade_test.go"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"7055b63851c34f798dfeeaa2888ecef89068dedf77a4bc318e1495093786bd7f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO expected behavior of readyz check should be 200 after ReadIndex check is implemented to replace linearizable read. \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":"tests/e2e/http_health_check_test.go"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fb9a86d85b0a80db07ce970e9ee313c7b3886ce26dbe4cb847d15c5a99a987e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO expected behavior of livez check should be 503 or timeout after RaftLoopDeadLock check is implemented. \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":"tests/e2e/http_health_check_test.go"},"region":{"startLine":263}}}],"partialFingerprints":{"codehealthFindingId/v1":"afe3a806f2091231a791d1242d7c2a53df18f6df3f2438482cda14aa40b6b598"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Remove with etcd 3.7 \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":"tests/e2e/logging_test.go"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7cdf7889ab379d0871008f67ce2955fb220ab7b658c4266257eb7e20cbe5223"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Remove with etcd 3.7 \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":"tests/e2e/logging_test.go"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b27578a357cbd70a680ed340fcf29995d6c8c60846cc5a536e2e9253b82d314"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Remove with etcd 3.7 \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":"tests/e2e/logging_test.go"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"99d5b90a675fc2eda40532ee7baafadf96719b13cde841b2ceb83935d9fd686e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Remove with etcd 3.7 \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":"tests/e2e/logging_test.go"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c555ad5be1dd9525e5c2a66c69c970adcede6f008283ae71dfffb100ecd1732"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Remove with etcd 3.7 \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":"tests/e2e/logging_test.go"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e312a9765bbd56c481debee20ab0be988c6c56e6b49e443cc68ee05c473c7c1"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: we can remove this test in the next etcd release v3.9 \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":"tests/e2e/v2store_deprecation_test.go"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"da31ca8ed073c5dca822cf5a963af232dd3c60a79e173504538b634cbb514e16"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO - bug in #22209"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/common/kv_test.go"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"009681ebf157fedd03638e5b4b49cb8899216fdbe67e41502bbc362e407350da"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: update this to use last Revision from leaseResp \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":"tests/common/lease_test.go"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"5710e540f08f5b1e03d10b47db5fcf20a543ca48bbf517c85dffbda4ee276d36"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME: When leader changes, old leader steps \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":"tests/common/lease_test.go"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c2a1acaec6208c6efac9ef87c9af3fd922c2d152d42e3049adc49440c6fc94e"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME: When leader changes, old leader steps \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":"tests/common/lease_test.go"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"40f23a3f224accde8dd2a142917e27e2519028bfdf549f72cd93182eb86e784c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(ahrtr): finish this after we added interface methods \u0060MoveLeader\u0060 into \u0060Client\u0060 \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":"tests/common/maintenance_auth_test.go"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"b983e9431087ce6400f37057181249ed35d0ab3f728203546addbab5b886b352"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(ahrtr): find a better way to do it. \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":"tests/common/maintenance_auth_test.go"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7e50b3c01d7a92c9e0f8fff24b334afaa3361eda6eba6e9567f4d090bdd411c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Perform validation of consistency of membership between \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":"server/verify/verify.go"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"578e6fec63e5a2e4c62dd2e95783b07f1cd57802acea3a648c297c62528deb77"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: maybe optimize Backend.Size() \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":"server/storage/quota.go"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"8685d24fdf9c94ba679187825433872cc6a01858b52e8a4c41a5e61dc0930d50"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Use proto.GetExtention when gogo/protobuf is usable with protoreflect \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":"server/storage/wal/version.go"},"region":{"startLine":266}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0c8e59a29e227d41064bb0cfaa242c6fd7e751dcddd6bacbd760cd7e60db5c1"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: detect not-last-snap error. \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":"server/storage/wal/wal.go"},"region":{"startLine":467}}}],"partialFingerprints":{"codehealthFindingId/v1":"eddadfb0d871dbad2f9a000e0a74289ad1787e90c4aab965f1965c1493845003"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: maybe loose the checking of match. \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":"server/storage/wal/wal.go"},"region":{"startLine":468}}}],"partialFingerprints":{"codehealthFindingId/v1":"a26222972d620daa3e4193c567964ba7c856bd18ad1b083be0a94cb9fd54fe98"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: add MustMarshalTo to reduce one allocation. \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":"server/storage/wal/wal.go"},"region":{"startLine":980}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d1c0928d0cb9b3aca30126db02f7f0b139eea51f09bd55031536fdde5997c0a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(xiangli): no more reference operator \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":"server/storage/wal/wal.go"},"region":{"startLine":1017}}}],"partialFingerprints":{"codehealthFindingId/v1":"697f1c8ea29521ad4e1a843e476b520a04e088d4dd2ea4d144b4272538bb7a68"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: split it into smaller tests for better readability \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":"server/storage/wal/wal_test.go"},"region":{"startLine":321}}}],"partialFingerprints":{"codehealthFindingId/v1":"54384ebfd81f4959efd31161a938153d4b774f85722bcfbbb471e7d697fef04d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: remove the operations of reading the field \u0060term\u0060 \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":"server/storage/schema/schema.go"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3c1f450d68c7b2f40902e29cf7c7e303051fe2a5ae618b6fae06eb89aad204b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: add similar tests on operations in one txn/rev \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":"server/storage/mvcc/kv_test.go"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4508118426a3f70e4ad634d63a1e61a92368a70a7ed08d8b154f9ab782b36e1"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: return the error instead of panic here? \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":"server/storage/mvcc/kvstore.go"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"a73ff18ee90d3a8ebc2603cc58938553b7946d138e0ad2a543e669e1a7f39074"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: hash and revision could be inconsistent, one possible fix is to add s.revMu.RLock() at the beginning of function, which is costly \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":"server/storage/mvcc/kvstore.go"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"04c9ae8f24ed99adf86254827f34dab1ccea5837938952a4c97760e4edd89d82"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(fuweid): store doesn\u0027t support to restore \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":"server/storage/mvcc/kvstore_test.go"},"region":{"startLine":513}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e8e69a806b263e908486bd9f5d9ee399f689da6c0dd1827c252f0bae2a3e0eb"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: test attach key to lessor \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":"server/storage/mvcc/kvstore_test.go"},"region":{"startLine":934}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc8eca24fee3a93478f69639ca152239666d2973c3585016cd22569f69508bab"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: k is an arbitrary constant. We need to figure out what factor \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":"server/storage/mvcc/watchable_store_bench_test.go"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5eee32aac2de60625bae2a80c17ecba6f3360b6495c5e6fdc9f2ff5b48ea4eb"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: might want to copy the read buffer lazily - create copy when A) end of a write transaction B) end of a batch interval. \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":"server/storage/backend/backend.go"},"region":{"startLine":307}}}],"partialFingerprints":{"codehealthFindingId/v1":"498b5de51b069b197c6dcc422d55a0d154851ed5a1da380fdfc28eb192dc7068"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: make this non-blocking? \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":"server/storage/backend/backend.go"},"region":{"startLine":632}}}],"partialFingerprints":{"codehealthFindingId/v1":"1abec46cdaaa8b1114cb42549b48554097897ac037f6e162dafec9aaf0718088"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: group and encapsulate {txMu, tx, buckets, txWg}, as they share the same lifecycle. \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":"server/storage/backend/read_tx.go"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b1d937cd55735e49c15f7916405cbb6c456b91ebf5009bcf28463bd99937d9f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: add timeout \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":"server/proxy/tcpproxy/userspace.go"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef1876a1645710c7191c65cec1ab986996808c1575fee620784da40ee624eae3"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Expand the API to report creation errors \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":"server/proxy/grpcproxy/cluster.go"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"337ee75d8567f6025510e1b6c65190e7150cdb9674797119643c0cc033b336a8"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: implement \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":"server/proxy/grpcproxy/cluster.go"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"f91a46b79b231662e35ed6d31d9b3b02f481a634209849f78d3bcbd2f726e169"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(fuweid): consider using shadow copy here \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":"server/proxy/grpcproxy/kv.go"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"916cc8579b4349d9cc55ef14299eca825803a14da2922227522f853e5e11b1ce"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // todo: fill in ClusterId \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":"server/proxy/grpcproxy/watch_broadcast.go"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ba13a3660d174c546792b1030dffd13b0343729a4891d4b604fd4c0d012ba30"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // todo: fill in MemberId: \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":"server/proxy/grpcproxy/watch_broadcast.go"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"891026182f5a7d663e81b01258bc02d36b72ec1f3a8ddb4e4e82b87bc793a569"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // todo: fill in RaftTerm: \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":"server/proxy/grpcproxy/watch_broadcast.go"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f7801f4e64a3844cfbebf55cf38f82c6dd9826ec8a809387c1214ceafc75005"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: use marshalTo to reduce allocation \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":"server/proxy/grpcproxy/cache/store.go"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"417eb121f1d5d0079363baa1197abd1f04f605fd22e4723244ef79d8f13e971c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: use clockwork for testability. \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":"server/lease/lessor.go"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"c447bd43ae476f80c42e9373d4fcdc668dcafb2dcf73868d86d7268fbf67ef8b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: raft follower do not forward lease management proposals. There might be a \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":"server/lease/lessor.go"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e0a92111e41ce93972b80b7f0715a160a1099d0e7252dc9c94654303868ed4e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: when lessor is under high load, it should give out lease \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":"server/lease/lessor.go"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cbddb5a660d2172016b53931fec29c8b36bfebf12e46f6c510706d1af7ecd9f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Is there any way to avoid doing this wait? Lease TTL granularity is in seconds. \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":"server/lease/lessor_test.go"},"region":{"startLine":576}}}],"partialFingerprints":{"codehealthFindingId/v1":"b17fbf2595ed24ee637a6132a283a99470a3ed7880949efb07eeabfe069e100d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: fill out ResponseHeader \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":"server/lease/leasehttp/http.go"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d1d6d9292e01a288c5e8fe4c03d71c71d495a68d077f26abfeeabd79d1fde3a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: fill out ResponseHeader \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":"server/lease/leasehttp/http.go"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"75d9d946fa36d15b2b7fa6e6c329ffcda2e069717102b4c06463b284d0859d8d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: fill out ResponseHeader \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":"server/etcdserver/v3_server.go"},"region":{"startLine":650}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c263c08f19b193366418a59c1da727b2da156c4b2fe4e7c8f736dec55671ecb"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Batch request in future? \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":"server/lease/leasehttp/http.go"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"dceea634042fc147fa406e6ef8b7f1dca8f5261c27f35c17fb629ecab3b61edb"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: with NonBlockingDefrag, most of a defrag no longer blocks this member, so the \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":"server/features/etcd_features.go"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"d04b82bedefc36167e11b1b5b3c4f9584c0f9fdb3ec339097c54e4fc9e008df0"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Delete in v3.7 \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":"server/features/etcd_features.go"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5fe6f24e931131de2e3acf886e9281a1d71ff2e3e7d3fafa178c7c4110814f6"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: we can remove this code in the next release etcd v3.9 \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":"server/etcdserver/bootstrap.go"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"478b85b60ebd08bfee9b6414fb54c19cc9c6d46bc0533021d94c30c52958e7d2"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(serathius): Implement schema setup in fresh storage \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":"server/etcdserver/bootstrap.go"},"region":{"startLine":279}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ce3e70bba6976dc5caa87ff5887cea53ca3f94c37ae72088c3f4b3198a6a98d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: remove kvindex != 0 checking when we do not expect users to upgrade \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":"server/etcdserver/bootstrap.go"},"region":{"startLine":477}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b1d89abfc5901f0693900974c46f2f769e0111a6794074738387aa56ec2ab32"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(ahrtr): add more test cases \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":"server/etcdserver/bootstrap_test.go"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ce55edca39156f1dbcda8e3e8b24a56d82e560797158a8204273f852a572270"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // Todo: handle the case that downgrading from higher major version(e.g. downgrade from v4.0 to v3.x) \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":"server/etcdserver/cluster_util.go"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"c51c2e7f4bddd630d7276fe6e18bb3848b7f8a0cfc6548ca286fb21b82295c4b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // Todo: handle the case that downgrading from higher major version(e.g. downgrade from v4.0 to v3.x) \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":"server/etcdserver/version/downgrade.go"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d40cca62e3fab702669961e31426cecf3e42c8d2559ea7d086d87cd157e858a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: refactor member http handler 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":"server/etcdserver/cluster_util.go"},"region":{"startLine":302}}}],"partialFingerprints":{"codehealthFindingId/v1":"6236f96996e31b0226203bf905103d5e30eebc8204494011126030faf5b336ba"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: handle the case when \u0022s.cluster.Members\u0022 have not \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":"server/etcdserver/corrupt.go"},"region":{"startLine":457}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c746eaf5806a0f312b73094a67d90318b77df160b96aaee58813cec2f7a29a7"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: a better const? \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":"server/etcdserver/raft.go"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f3243375c238d3e354bffe1c8543931d2d52f8c3a566355a0f37e8ff714ef10"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: limit request rate. \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":"server/etcdserver/raft.go"},"region":{"startLine":389}}}],"partialFingerprints":{"codehealthFindingId/v1":"41cb24d0a1d0ad9077be33d00f359c1d00efeee62fadca61ae8f68165c1099dc"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Replace with flush db in v3.7 assuming v3.6 bootstraps from db file. \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":"server/etcdserver/server.go"},"region":{"startLine":292}}}],"partialFingerprints":{"codehealthFindingId/v1":"1810d3178a31de659ee9e589eb6c2022d468c091beb6ac501478bef2e62c870d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: move transport initialization near the definition of remote \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":"server/etcdserver/server.go"},"region":{"startLine":414}}}],"partialFingerprints":{"codehealthFindingId/v1":"826338e19eccc4ed46bcb19f7d982cbd07c8191c5259a4634eff4fe60a77ffee"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: if this is an empty log, writes all peer infos \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":"server/etcdserver/server.go"},"region":{"startLine":596}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9c38fa7c6edaa6c54fb962817e83da825e34a7ddbf37685cd437865d271221f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: add a state machine interface to toApply the commit entries and do snapshot/recover \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":"server/etcdserver/server.go"},"region":{"startLine":743}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ae9d826d94dad5410878b7df57e611e3175f4721cbeafc18d2815743fad07e1"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: remove the nil checking \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":"server/etcdserver/server.go"},"region":{"startLine":787}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b2ff7861b7af23b32b4a4a2682bbaf2eeefad6d42c073c03469ec0790264bcb"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Remove disk snapshot in v3.7 \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":"server/etcdserver/server.go"},"region":{"startLine":1211}}}],"partialFingerprints":{"codehealthFindingId/v1":"1de29be526236bf5cdbdee857ce18dfa2a47ae7ad5896ba34cb40b1bc7a0824d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: drain all requests, or drop all messages to the old leader \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":"server/etcdserver/server.go"},"region":{"startLine":1264}}}],"partialFingerprints":{"codehealthFindingId/v1":"092684f34824d2771d31c5a1dca95393a899aee48b67b23af115abbfcc7b476b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: move Member to protobuf type \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":"server/etcdserver/server.go"},"region":{"startLine":1381}}}],"partialFingerprints":{"codehealthFindingId/v1":"467e9e7de71ff456b53d1da3358bdc7e5fab89d0f925c0007c656d86b2fb0dd8"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: non-blocking snapshot \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":"server/etcdserver/server.go"},"region":{"startLine":2077}}}],"partialFingerprints":{"codehealthFindingId/v1":"5303c51a919ec6e3d2e5112dd69bf08739e82ce35c84d61345b32ed9d83abb33"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: return error to specify it happens because the cluster does not have leader now \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":"server/etcdserver/server.go"},"region":{"startLine":2368}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbe57b9df7bb1837285c03b92b217859dab05ac5f1db4f9d423a9cc002278bf5"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: test server could stop itself when being removed \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":"server/etcdserver/server_test.go"},"region":{"startLine":1057}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e10e7579d7bfc91753daa61b01226273392282c04804eb075ba2e89e6ccb5c4"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO test err \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":"server/etcdserver/version/downgrade_test.go"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"76feeacbb6920d822a19f1ab19c976c31bf88aaf342ca756e1a9b6a83b70974d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // Todo: return the downgrade status along with the error msg \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":"server/etcdserver/version/version.go"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"29a28b25466c34f77a4079aa96d1d28b56696ddaf4ce3cc542a755535627a922"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: This benchmark currently returns all keys due to the fast keys only optimization. \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":"server/etcdserver/txn/range_bench_test.go"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ca79a2171e33f5ce543eb0a82d1c5ad65cef47cb8b334392779d87d824fd754"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: possible optimizations \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":"server/etcdserver/txn/txn.go"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc467a068eec52e8320ed70b532951db243b5c186a4cd6ac2eacbe8a491a8479"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(ahrtr): try to remove the OnPreCommitUnsafe, and compare the \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":"server/etcdserver/cindex/cindex.go"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6789aaed5321e22da33e6a0f8ff2f7100cee3a6321c7b86d99eb3c194450912"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Change in v3.7 \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":"server/etcdserver/cindex/cindex_test.go"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"649929636cc57f6ecaebc23a4a60811fd5f797da4478af1d85627bcb0a59f584"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: investigate whether the reason for cancellation here is useful to know \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":"server/etcdserver/api/v3rpc/interceptor.go"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"84d1928bf751bdbb23087964f1317a545cb87f2372a0ab71d86c0c9210903250"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: ensure only one of the field is set. \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":"server/etcdserver/api/v3rpc/key.go"},"region":{"startLine":318}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebace7d213682bfa99a9a56c5508f6e1029269a47584fc81f3ff0b54a90fd296"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: combine progress and prevKV into a single struct? \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":"server/etcdserver/api/v3rpc/watch.go"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"53e74ac8575904ca02abd6c39f1f420765a73b4f773f8d666941211479584cb3"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: There\u0027s a race here. When a stream  is closed (e.g. due to a cancellation), \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":"server/etcdserver/api/v3rpc/watch.go"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b36c4bf84e96dbd53abc62523861459923eec1b9391f7f2fa21180490fb7f4f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(fuweid): do we still need copy here? \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":"server/etcdserver/api/v3rpc/watch.go"},"region":{"startLine":442}}}],"partialFingerprints":{"codehealthFindingId/v1":"82f2a8d20432c0e54f929b7dff2929f70868737a529d771fc0a2b05569879023"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Do not depand or real time (Recorder.Wait) in unit tests. \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":"server/etcdserver/api/v3compactor/periodic_test.go"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"7693abd7db35142c58f52304b06607c151e4006c0ffec2018c29285ee282d19a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(jonboulle): clarify that these are IDs, not names \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":"server/etcdserver/api/v2stats/leader.go"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"14fa01938bd241aa87de96c5fa90e0daa33ee3b6e207596b36976df3c3dfd95b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(jonboulle): appropriate error handling? \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":"server/etcdserver/api/v2stats/leader.go"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e21d2d0da148bde713b4ac86b2970955bcde9b05fb7a78f67b843fa22324e3f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(jonboulle): appropriate error handling? \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":"server/etcdserver/api/v2stats/server.go"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6d50e5b4d61cf2b8ed1bd587445ccb0a1fc4b0bdca59b8ffd5a56941e5a025e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(jonboulle): use ID instead of name? \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":"server/etcdserver/api/v2stats/server.go"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae182e33a38c41681c3d1a0a7bc4d4b0074b917abb3e19b9a78d14f74bbb95d9"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: remove this resend logic when we add retry logic into the 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":"server/etcdserver/api/rafthttp/functional_test.go"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"30a638a7d2d2f3e67ffda7f8caa85de62e8a3207b0af492dcee4d9ff853f7c24"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: return error or just panic? \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":"server/etcdserver/api/rafthttp/transport.go"},"region":{"startLine":373}}}],"partialFingerprints":{"codehealthFindingId/v1":"746412a91f2514b94d97bb7ec878beb03ccf773d544bcfb3fe804d1b3bfa35c7"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(philips): ensure these are URLs \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":"server/etcdserver/api/membership/member.go"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"c473247d9185977a712f0d4aba6e2e7b8e9a67a82dce5845f8984b78de0cb105"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: remove manual parsing in etcdctl cluster-health \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":"server/etcdserver/api/etcdhttp/health.go"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"3688fafc3cc69542d4922cc8bcad396829c911cd29bc899a78aef9e4f665e0ad"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: etcdserver.ErrNoLeader in health API \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":"server/etcdserver/api/etcdhttp/health.go"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"5df3f0177f49980a593556ebe3ef7e4969250f0268eeee60b1c58e0948d1aaf7"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: The mechanism should be refactored to use internal connection. \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":"server/etcdmain/grpc_proxy.go"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"61ceed670e905319b4f34d175e6e666ca78a656eb28b92961f642c4135eeeed1"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: decouple tickMs and heartbeat tick (current heartbeat tick = 1). \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":"server/embed/config.go"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"bde9de12d42ca8869d000a694565f5dfd6eb4fc5874c439f29835a1544b69cac"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: check whether fields are set instead of whether fields have default value \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":"server/embed/config.go"},"region":{"startLine":1262}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a845081793e017c9c4b0bfad112391cc67577593744eee315d1a118d287c520"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: support /etc/hosts ? \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":"server/embed/config.go"},"region":{"startLine":1307}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ddbba28534071ce1db44e9b9be60bee63d5bc45179daad4dc2e26409617fd08"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Reduce number of unexported fields set in config \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/embed/config_test.go"},"region":{"startLine":807}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a21a13ee9dab7a54c49b45e6e5c779056cbdcb804913c795d5c5c07dc0d253e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // todo (ahrtr): should we support configuring other parameters in the future as well? \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":"server/embed/serve.go"},"region":{"startLine":302}}}],"partialFingerprints":{"codehealthFindingId/v1":"e82fadc4fca2020689d6c1b46c13a289ddf624e398b1284d6b750811eb31ed5e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: deprecate this after v2 proxy deprecate \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":"server/embed/serve.go"},"region":{"startLine":514}}}],"partialFingerprints":{"codehealthFindingId/v1":"20ed9ed4afb9abace915be076f2885a0be1352cf98faced5186cfe1f6f3332c2"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Remove this mutable global state - as it\u0027s race-prone. \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":"server/auth/simple_token.go"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf9096def81c41231fdabdf3d2fe06204cd241234d2ab3dc8d8a6a32443a4751"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(mitake): this function would be costly so we need a caching mechanism \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":"server/auth/store.go"},"region":{"startLine":860}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1840c19a776798f102e84061a06a7636b3ca6ef2ac92d46b8fc822c47d1c392"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(mitake|hexfusion) review unifying key names \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":"server/auth/store.go"},"region":{"startLine":1066}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcaa986d370ba4d57d79c764fc979d8f0e0865ba61c1936d320e87668924890c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO returns a non-nil, empty Trace \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":"pkg/traceutil/trace.go"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"82ce1899f89b75228b29e4429260d6cba9e25fb4f707ee339e0074ccabd3cbd6"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: implement packet reordering from multiple TCP connections \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":"pkg/proxy/server.go"},"region":{"startLine":280}}}],"partialFingerprints":{"codehealthFindingId/v1":"94c7d215c072f2cc342979fb8ea29a8718145a488351874900eac6a774bbca4b"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: //nolint:testifylint //FIXME \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":"pkg/proxy/server_test.go"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"0983b55185f3db8f7778a7e6d5b07095a9b20b051565e9a8a14f3d80330bdde3"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: //nolint:testifylint //FIXME \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":"pkg/proxy/server_test.go"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a0beca593c887cc6303e0aee8abb160deb33815b32074c1877a0fecb7446c14"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: //nolint:testifylint //FIXME \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":"pkg/proxy/server_test.go"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a23628bd291675080d0032efbf5f95d2e0e571eae2674107ae5d5fd5b22789d"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: //nolint:testifylint //FIXME \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":"pkg/proxy/server_test.go"},"region":{"startLine":376}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d7905e4ea30be4a967ce0b2afb1ce5f6990f869d2df1db589b306aab57250fc"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: //nolint:testifylint //FIXME \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":"pkg/proxy/server_test.go"},"region":{"startLine":481}}}],"partialFingerprints":{"codehealthFindingId/v1":"c42f69fd45252ee70a78b6d87a8bdabc00ecf9e7076f838a26b92c4b5ab3395c"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: //nolint:testifylint //FIXME \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":"pkg/proxy/server_test.go"},"region":{"startLine":483}}}],"partialFingerprints":{"codehealthFindingId/v1":"9093760888051364fbf9392b3c122ffab5e919375bcfe8956f9a18c064fc79f0"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(mtaufen): Shouldn\u0027t we just close it on the first Set/SetFromMap instead? \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":"pkg/featuregate/feature_gate.go"},"region":{"startLine":351}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6dec2c4067c391af398ac667700d341fe1269fc30bfd89eff4b6f41c4175469"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(henrybear327): Add tests once feature gate metrics are added. \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":"pkg/featuregate/feature_gate_test.go"},"region":{"startLine":408}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4cb6463d7044134834d7e0f7987d970610079f85f2b5e86977fd0021deee4a3"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: support different sorts of intervals: (a,b), [a,b], (a, b] \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":"pkg/adt/interval_tree.go"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"361d8d58549c32c1f1f02912751010e90885c022fadbc41d5db95290fbbb8e16"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: make this consistent with textbook implementation \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":"pkg/adt/interval_tree.go"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"2dff7e1a902ed07e61aa4f5de7b2f7b52959c2162af6b0b06360a10a1dee4bbb"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: This code ignores learners !!! \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":"etcdutl/snapshot/v3_snapshot.go"},"region":{"startLine":507}}}],"partialFingerprints":{"codehealthFindingId/v1":"d96f5b4b10b67c0750f5be09288d6a18f9eb0642904fced53ff6d027d68d891d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: secure by default when etcd enables secure gRPC by default. \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":"etcdctl/ctlv3/ctl.go"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"14501ac14f3097065cc444f75b16d8b3857aefb20f7184cd03373cf79ffe85e1"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: secure by default when etcd enables secure gRPC by default. \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":"etcdctl/ctlv3/command/make_mirror_command.go"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"239697b3f0e97a642c31749aafb6381628a2b5041ec749958b561fed979b2801"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: support read limit \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":"etcdctl/ctlv3/command/check.go"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"d57beff4a79977947a35aa373ac784ab1d7c624d203754b1677ab2d27815743c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: support customized configuration \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":"etcdctl/ctlv3/command/check.go"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab96761c7c1c4d31678db7adf583b2c0612a6d5645e26648445b8aa335e6981c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(fuweid): This helper is used to make sure that adaptor struct is \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":"etcdctl/ctlv3/command/printer_json_test.go"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"66038cb786513711c22322102ddcc7296f10f9cb4bec14f5fc79c2ec95b6721e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(fuweid): This helper is used to make sure that adaptor struct is \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":"etcdctl/ctlv3/command/printer_json_test.go"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e5bb331f07e3feeb79bbcc8962e514785bafa0569b3cb74303af27b71403eb6"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Replace all of clientv3/retry.go with RetryPolicy: \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":"client/v3/client.go"},"region":{"startLine":263}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b3f4d433f7afb3c61d8fd78183216733273a9834b30ff435fe7d6f0d9e67adb"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Error like \u0060fmt.Errorf(dialing [%s] failed: %v, strings.Join(cfg.Endpoints, \u0022;\u0022), err)\u0060 would help with debugging a lot. \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":"client/v3/client.go"},"region":{"startLine":452}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f89bfdab61c2d63d6ca2aef8f1984a90311d919fe97024ab6bd28ab3e801a6f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Consider fmt.Errorf(\u0022communicating with [%s] failed: %v\u0022, strings.Join(cfg.Endpoints, \u0022;\u0022), err) \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":"client/v3/client.go"},"region":{"startLine":473}}}],"partialFingerprints":{"codehealthFindingId/v1":"89b5a6631536a2561959586920da5ee83f0b4929181fda9e11fe0e4d45b92183"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: are permanent Internal errors possible from grpc? \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":"client/v3/client.go"},"region":{"startLine":583}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae535aeee4f09f24053fa9f15e4939b169daa3012f83845fcd6a3ce2ddbcb066"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: configure gRPC logger \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":"client/v3/config.go"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"530f897e04fc46a143b6b6145585942621fd853d78d354d0d6a9098fefb24e3b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: support custom balancer picker \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":"client/v3/config.go"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"58bfae44ab0bd92538aa3fada358a500789463bac655f5b37822362c48c79cb5"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: TTL int64 \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":"client/v3/lease.go"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"5538fa1d334887e7c16c47561eac86669d225f1670f12754546c7c50d0fefb40"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(v4.0): post errors to last keep alive message before closing \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":"client/v3/lease.go"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"3879d10280450cd4c0c20302a2677f38245a290f2c1b447d5f4259577db51869"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Call \u0027example\u0027 when mocking() provides realistic mocking of transport. \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":"client/v3/main_test.go"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"edcdd698a02746124c4c80bffd39977ac37f42652c278000088c55bfaa704156"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Call \u0027example\u0027 when mocking() provides realistic mocking of transport. \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":"client/v3/concurrency/main_test.go"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc6d8e6b39d1aced5700e5e72ab0a165e312d4df4e9e18fe8795d15f53025cb0"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: do not retry for now \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":"client/v3/retry.go"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf1cc85be7ff327ab5ea3834897dc526e98a383861c47c7e88102ef942ecab67"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(mwitkow): Maybe dial and transport errors should be retriable? \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":"client/v3/retry_interceptor.go"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"d093c80fde65f705d019e991755eb14425a3cd937529e0c598245588922f8cfb"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(mwitkow): Maybe dial and transport errors should be retriable? \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":"client/v3/retry_interceptor.go"},"region":{"startLine":248}}}],"partialFingerprints":{"codehealthFindingId/v1":"c15c1bae70551100fdf60751c1056a0c6d63deeb8c69d4e6bae6a7e3aa53b78f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Ideally client should be \u0027aware\u0027 which endpoint represents: leader/voter/learner with high probability. \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":"client/v3/retry_interceptor.go"},"region":{"startLine":340}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e3fe75601fe150dcf524f87e6d7890bbda15a587801f6593eabbbd4d9ed4cdc"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: explicitly set context error in the last \u0022WatchResponse\u0022 message and close channel? \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":"client/v3/watch.go"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ceaa0d0d254e433767da203e4addb263db92918716ccb82a1c51df6de23d81d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(v3.4): configure watch retry policy, limit maximum retry number \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":"client/v3/watch.go"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"72becc9339212c81397ce3a2fd1b6a5a5267f5f698ff9d5de166adc5d43a0177"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: pass custom watch 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":"client/v3/watch.go"},"region":{"startLine":559}}}],"partialFingerprints":{"codehealthFindingId/v1":"56565b431e5c49214009807c2f5f42e27fc23aeecdc0024728a11465c1f7c53d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: return watch 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":"client/v3/watch.go"},"region":{"startLine":725}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d0530adc2983a159cdacc0f2a01f3d6bad80b4ea763a3cf19f92e7b5209fb8c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO pause channel if buffer gets too large \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":"client/v3/watch.go"},"region":{"startLine":879}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f87b1c3e8f0bf4f1486a703476652d583da4178ff53c0dc8850fb1766701575"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: remove FailFast=false \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":"client/v3/watch.go"},"region":{"startLine":1041}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3364a414fdcc819bf3f826d1edc15f0b2a7c5cb79a1464eb0b3e1f99c447e05"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: deprecate this in v4 \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":"client/v3/yaml/config.go"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6abe1b1247b0d37031d2088a3b02c1411b2137fe74354ceccec6723e3ebfd3a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Ideally we should track members (resp.opp.Header) that returned \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":"client/v3/ordering/util.go"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"c25ff80e599b87a24f39e9a87ecd8800ae4694c7ee2e3da5ac91fd10d88248db"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: The API is not yet implemented. \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":"client/v3/naming/endpoints/endpoints_impl.go"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd29f749c6f547bc6a72f285b8c62e9c9358e3a57108c7c21f1882a88ad434d7"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: support read-only Txn \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":"client/v3/leasing/cache.go"},"region":{"startLine":277}}}],"partialFingerprints":{"codehealthFindingId/v1":"34b4c6d8d0cfc204262b6d45319f7594b3d6c25c9f880f51058bf02000276b77"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: wait on keys in comparisons \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":"client/v3/leasing/txn.go"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"3589a51066aa82992f9cf66ba918eb4ef4f711c8e95210247f203172023110af"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(ahrtr): we might need to compare ek.key and \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":"client/v3/experimental/recipes/double_barrier.go"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c069dd242bfed4d33c66b0613efa3ccc5061998a9ddb393866ee3e516a75dbd"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: fewer round trips by fetching more than one key \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":"client/v3/experimental/recipes/priority_queue.go"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"016dcfac93bea07d0e0ce83e05a4da4500bebdd739b6b4e3ab5fbf57358a332f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: fewer round trips by fetching more than one key \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":"client/v3/experimental/recipes/queue.go"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d2dc75fa395da50f538b8f93615e5abf83de24ac27104bd795e485aad9a5aa6"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: early termination if the session key is deleted before other session keys with smaller revisions. \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":"client/v3/concurrency/mutex.go"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebf51c0d499f34b8c78448006f55f20ff783fda93232f273663b979a33a76394"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: verify the keepalive option is set correctly \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":"client/pkg/transport/keepalive_listener_test.go"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"655b7e38c82c99bb3b7efe0eb55baaae768d8131bddaae83cad5c79678a9c1f2"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: support server-side refresh (e.g. inotify, SIGHUP), caching \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":"client/pkg/transport/listener.go"},"region":{"startLine":473}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ddbd9042c26f02cf98d87debd3222d3af65819116e2645651565ab9a9ad2d94"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: cache \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":"client/pkg/transport/listener_tls.go"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5785b1ada469c8481a881a322cf66e7e92cc464ce04c9828627eee51690b54b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Replace with https://github.com/uber-go/goleak."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/pkg/testutil/leak.go"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"755d7994d31a88f00c77b4ee19bd69ba8442ef365161a780d6b88bd05b805554"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: improve this when we are able to know the schedule or status of target go-routine. \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":"client/pkg/testutil/testutil.go"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"15ac45b4a2c1cbc6fba9e0cee2e3d6c3cebaa05ef2d37e4d2ab7bc375c530da1"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: support FALLOC_FL_ZERO_RANGE \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":"client/pkg/fileutil/fileutil.go"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5b507c6c3eb36057744acad841f04851d8d3e952743bab1f8f3cab3b5466265"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: allocate contiguous space on disk with F_ALLOCATECONTIG flag \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":"client/pkg/fileutil/preallocate_darwin.go"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"607686e866ce9b9faafbaf8606c10aa80a7b7ffb0e6fd840938982214ceb2650"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: tune via performance/load tests. \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":"cache/config.go"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"90466b466a24d2edefeb415cb712271e3ef8a68f60168f9d3d41265ea40d4885"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: re-enable key\u2010predicate in Filter when non\u2010zero startRev or performance tuning is needed \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":"cache/demux.go"},"region":{"startLine":332}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ee4e4ea62ef2973b0f84188a4fc809fd617bd12ca2cf2bb21e1361b594ce8f0"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: raft state machine version \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":"api/version/version.go"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"ada472bbf30165029c3054208319464a8c141cacebed2e4e4c5eb8c7c5fe3c55"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: define clientv3/codes.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":"api/v3rpc/rpctypes/error.go"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bc83482ce5651bf77485b09f02e650b2bf0b04ca15e60981bdf01f36db570da"}},{"ruleId":"D20","level":"note","message":{"text":"No ADRs found: No ADRs found. No recognised ADR directory (\u0060docs/adr/\u0060, \u0060docs/decisions/\u0060, \u0060adr/\u0060, \u0060docs/rfcs/\u0060, an \u0060ADR0001/\u0060 folder, or their siblings) exists anywhere in this tree. What was searched, so you can tell an empty log from a search that missed one: every directory under the tree (build output, dependencies and VCS metadata excepted), for a document that is either any non-index page inside a recognised ADR directory, whatever its name and however deeply nested (\u0060docs/adr/use-postgres.md\u0060, \u0060docs/adr/2024/0001-x.md\u0060); or a file anywhere whose name is ADR-shaped (\u00600001-use-postgres.md\u0060, \u0060adr-012-caching.md\u0060); or, when neither turned anything up, a document carrying the decision-record signature (an \u0022Architecture Decision Record\u0022 heading, or Status / Context / Decision / Consequences as section headings). A decision log that clears none of these \u2014 unnumbered files outside any recognised directory, without those headings \u2014 is not seen by this check and this row is then wrong. If that is your case, say so rather than renaming anything; otherwise, consider recording architectural decisions in \u0060docs/adr/\u0060. ADRs are expected here because \u0060Procfile\u0060 makes this repository a deployable product (line 1)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Procfile"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b48b3c632dcb3a5b1f5081d3b666758c9880726936f7a67e2cd967ba590ec0d2"}},{"ruleId":"D26","level":"note","message":{"text":"Projects may be oversized for their cohesion: 2 of 12 project(s) overshoot their size bounds, lowering Project Cohesion to 6.8/10. The most over is \u0060server\u0060 (42424 LoC, 220 module-visible types across 50 directories). Review these for cohesion \u2014 draw the boundary inside the module first (group each responsibility into its own package or directory and keep the cross-boundary members non-public), since splitting a published package moves types between packages and breaks consumers."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"d5a94650dc74886a0f1f08eb9fb6775f1fc395279ef7e901c970c9d26f767a72"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"4b61f13e6c9ec4701a0e80f9633c2383fe32f81c747ccfbaad8074b746703c89"},"properties":{"commitSha":"3e7c2dff96f64d632caac8ba33f897d6584cc97b"},"taxa":[{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-540","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D28","level":"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":"d5b8f11381d61a58459ffc7c595fd52d09c03c711894a63a9578043d2338412b"},"taxa":[{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"694ad98db199ce1adc11db5ccd234fc50a1d35ef3be07d95cdc14c24aee648fc"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"64470d7ec6d4b142af783379cf8ac67df76ad4021f45a02f8f8b51c23fa611d0"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"38e2f4bfbb5b825a02e7fcab90a18b80252e2e2bdc4d9711dd4e470319ae8c20"},"taxa":[{"id":"CWE-338","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"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":"2c66949eeba1bfff83f3bc5a7d289809db07bd457f631d570a1214901fecdc16"},"taxa":[{"id":"CWE-400","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A02:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e6468b4c459adf4ff70923e78d09f9c542ae97941811afe90ab303c66773f795"},"taxa":[{"id":"CWE-319","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"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":"04f1ab967bd7048b9bc4b7728d3e216ce45ebb26dc0c998d9ed1dd2257b6f961"},"taxa":[{"id":"CWE-338","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"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":"5f6e40836c70d25554b8e379845a0984302bd882932ad1201fe317d922634c8e"},"taxa":[{"id":"CWE-252","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-391","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A10:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"37bb67f02f7c86a18e4993f69bba2f3c8ab591c585e03ea02c5f29b4766fd809"},"taxa":[{"id":"CWE-732","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f131fa5eb219ba82fac49feb984c82407682b123630d93b177e2fcb8110dc92a"},"taxa":[{"id":"CWE-732","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e3d194c92a6147339a181440866817ed490b547b463a60d88d6197e4ef20e39c"},"taxa":[{"id":"CWE-732","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d878d4cb94fcfa223581d5459bcc62540a24671608efc6c3aa7c957ea9d3f396"},"taxa":[{"id":"CWE-732","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"8a3eba51f2949e0b2b6573d265954e39ed0ed849aa412d6a68c30456e55d41a9"},"taxa":[{"id":"CWE-338","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"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":"7d94befcdd58818e4a0c65303b9a0c1a87f49776766dd4db87c9a0df436aaa1f"},"taxa":[{"id":"CWE-338","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"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":"6a255999bd95ba49ef30fd7650c6c852cb1e8eee7e37ac4ee727b72f2dc77f0c"},"taxa":[{"id":"CWE-400","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A02:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d7c123f9c88b865bfb548daf030d0c1d19ced9a05809ad4c79a0cc2b254a992b"},"taxa":[{"id":"CWE-328","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"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":"981b10600b38dc22cf18fc7cd7257b54fc2bf4b881636d168d13691a857dde88"},"taxa":[{"id":"CWE-328","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"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":"0c45205dc0b4ecdd3bccd34fa33ce54ac72753596fb286ae0f37065df8861d37"},"taxa":[{"id":"CWE-400","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-789","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ba3a2f5c926274e2670b503c6fed9a4e124b51058990b843b928f95537e3b1bf"},"taxa":[{"id":"CWE-338","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"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":"4de44d538ceec27d363b2329b771cc71c9ca257bf57c2ee39b81ffa9832c5278"},"taxa":[{"id":"CWE-338","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"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":"b4856011e7b9d295c36b4e3605cdabcb7d38d525c530087ebdde9f997a133cc0"},"taxa":[{"id":"CWE-338","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"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":"e03730563527cf4a8346c98008bbb6f4f8eb900c91a022e0c497abf0e0aa5e8a"},"taxa":[{"id":"CWE-252","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-391","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A10:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"192c69ec878c32c1911b1d8baf482e7bbf8d83b6ed7fffc90c41462074978ca7"},"taxa":[{"id":"CWE-252","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-391","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A10:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c4a6b69e77f66a0a4ca626b40fa278591750697bcb24edb40396143c56917e46"},"taxa":[{"id":"CWE-391","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-703","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A10:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"de37f1693a095fc1ed8517e811aa146e1180178cd83f4f1774cd7e396e6f1650"},"taxa":[{"id":"CWE-391","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-703","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A10:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"edb3338db0c2293cb551fe288e0c9d17321c7646df12a030e475e7402a3f7bc7"},"taxa":[{"id":"CWE-338","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"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":"5abcbb466a652cea4cf65f05ca0c06c11a63f18a227c0d7a537598050c3b8d44"},"taxa":[{"id":"CWE-338","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"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":"f100a51e158644789bc5f888b0121645349097843a20f3286a5d8b64bd250317"},"taxa":[{"id":"CWE-338","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"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":"3ad2d0f7713786a19c2a925dc636d7c397998e5759ce84372e6aae410efb0a0f"},"taxa":[{"id":"CWE-338","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"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":"6da29a24e5309902caed8fb15ca6b9e34f9ad6a357bf255a9d218af0872f9b6c"},"taxa":[{"id":"CWE-338","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"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":"dbd7d0f4825e93971d71746b3e5f2d60eb009819fdd21a7ff3fce43c6826806e"},"taxa":[{"id":"CWE-338","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1561f65e50e3e7eecf2a9cb94801b5b96037a38d9d16a9ee2c6f6926e2ebd8fe"},"taxa":[{"id":"CWE-327","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"be9e49df51e5ed9f12128f0262ba0ab2b6ec095137f69464e52f015279293e48"},"taxa":[{"id":"CWE-327","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d25ae29e6472e094a4fcfd8ec59960d2c288bf1c4b489c69090c83307041004c"},"taxa":[{"id":"CWE-327","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3a61575db41b47d3426712c5e3017fd75c89db57d08a7c75e1e127ac253886e2"},"taxa":[{"id":"CWE-300","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"64cd5ba25a9b79cdf658217d5d602469c24b581c4264becbc09a72f8ad93a369"},"taxa":[{"id":"CWE-327","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0de00895f674234c15869d458f6511b4b4a773fdd087cfebdf43a3a44213ba3a"},"taxa":[{"id":"CWE-242","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d61c24e1082e9ff3d8403dcc537d9d4aca4f6f842883ac39e3aaac02f7a6a375"},"taxa":[{"id":"CWE-327","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ac53a205c6800e732a0b1c5618918430668d7e5f0ebde6a392a9db2103949757"},"taxa":[{"id":"CWE-327","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"6a6380cb065ccf33e94544e322b0dfb0ae145160575decbca44f9bce3663757d"},"taxa":[{"id":"CWE-242","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e440c3fc6fbe5683ed60e915ea26a3da1c298ba73c3cf111b437518bc3e403ed"},"taxa":[{"id":"CWE-242","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0e75277b42239dc8f1c57c981ba771b402105950578b8c343e3637ce96a7d8ae"},"taxa":[{"id":"CWE-242","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"04f71f467861807af12a04408044375daac74e9d30413b98b413960c0b588280"},"taxa":[{"id":"CWE-242","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"5769617a0d3992d45812a1490e4df3994b7fff39bb55cec2d7af964e969b96a6"},"taxa":[{"id":"CWE-242","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"30f59c55333853588e7567d97717f420bec5d6dc55e0c2b4d84570c898e85484"},"taxa":[{"id":"CWE-242","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e4f3971e79b14d921f6f279cff92c12f2af38bcd0c40a1441ef29516ec9a74b5"},"taxa":[{"id":"CWE-242","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c35c1b5ad701823bd4133dd7e2900abc1e5c787f1fd29527bf9b3bc829400aa7"},"taxa":[{"id":"CWE-242","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"15c9d17ce9cea7ffb52d3486aa683f7f5e948c7f3c16f8b3745bec00db5017cd"},"taxa":[{"id":"CWE-242","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"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":"eacbb73b4e1e37dae11d032bc6d6a5f6ee42d9e577efbadfa8efe0eb1792ba8b"},"properties":{"dependency":{"package":"golang.org/x/crypto","version":"0.58.0","advisory":"GO-2026-5932","reachability":{"kind":"not-imported"}}}},{"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":"ec61afe708135bfc909771b0212586619103b08f2abaf0943db406c3927fe5ae"},"properties":{"dependency":{"package":"golang.org/x/image","version":"0.43.0","advisory":"GO-2026-6222","aliases":["[CVE redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D31","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"fe2d688610b51e0a5a02c7c5dd1724a4986e40f2689fb84510e2ec0164c27d6a"}},{"ruleId":"D31","level":"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":"314cc3e73dcb114ce4e5c50a851f618815a84535f1bf7447b407b6feaae40380"}},{"ruleId":"D31","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"4b45b7166413083cfe23527ab96fcd5bc881c128a5b642d96a561b086eec7ac3"}},{"ruleId":"D31","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"174eafbd758733e7d065ab444a7f458a05d5d37533ef04bd74903a120a1287dc"}},{"ruleId":"D31","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b6222483549974f49ed99e918e72195d2a10801e3830d99b98e7bc354f086f3b"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"566a567a907ff4264038ad97e0944a7b0ffc7ddeab481fad299ed903ad2d1034"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f3fab8da1ce3499dfbc4436ee4ff8dc4504550095178a03c13d1fd9488619ba1"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"85a8481a43d8fef26e21c81255d5297a6e0a9133d1eff1433dad53e43f90cb66"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"9b0966867fe0f8712a406d45472ebd8e8915b1f2403ed0590ceb05383fba26c7"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c7bedb65309712313d56c189e509d9599a1e8650a95c2d483bd6b8f0e4e705b5"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d2f307d07d9fd1e75108ce67dd7c951114772b40a15f1d16b70bbf1d3c3b320f"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"34adbfc623bee5ceeebef0f6a46a2cb2ba171a5bb9bca60ae995fa26d784a2b4"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1362941ba85288a5b8ed7061d920bd1cf5ab5c35a61bf94520b1ee7832fdae94"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e99cc45483ba82f2cc4f86b0afcd40ae32ddc40c8d378040f26e47e7f3668994"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"21265ae642c0b0ed9777c65daa212cbdd7369227c921b1df2e2e92c1c45bf1ba"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"48f01015d85e48daf30ea22f2fcde7bf98e61ec83a0b53eb3521bf15b2109290"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"33166d771b8ae2a7c8be7d39f2084ed21fdefbfe25a36f240e4769389689df30"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"9ad61540b537d11e557247d4d6802b1afe8cbb5164f04c8cb88158d5dbc4b279"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1410e6479061e9078465b05173ad544ade260d3a0724490fbcaa9ee01cb83920"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"29c34b8c7d5523043173a0c93b1735ab4707bc6cd1f29b050bb26213edbc3ffd"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"bcf420758ea20d7fbca2750e41b73cff0f1317c17f193bb48d524d0dd155a911"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e6a3ef352d906d71e8b3a522f09c7119783aad3dac148a6c3be6253079f04772"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"429463673ff796fae99ad1f4c4015a60c3bef847d1ef6f6a0d3c535cdf5b0a9c"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ae66dd59b3884dd181a58ba70014dc2fc0af1d902c16a4442c4332fb4b5e7710"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"87b9179ef5b9864cc0be6489ce9772136a0f164d0c968b79fa25996aee0d1533"},"taxa":[{"id":"CWE-250","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3121d4fef466a1fd3b18812c044030e684e0247e5dab72150ba59c9cdc786b72"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e26e14a556e8db896e5e2c613218aff55190e53241a6675d4d50d3b627b43fce"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b2dbba4e5c90601a6c080ca9fb65152dedebe142f25decc61ce8b30bf02fb10c"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"4d6b2e4ae4e1c93387d5b2e5e1d1de339185ca70c44cccc51a3f3e9f0c04b8d2"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"487df44de00215ef25d736ff5e4821f31c24e6a7257b53c1c49d9d865c46d8f8"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"4a1b826782bf80ffa1b1b57d1f005a9f1e042cebb96635be11d449c81e765b75"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"46bfa6fa886c2cffb438b51c4c4172f14e7bb624d7867e2516c6da9fb1e7bd1b"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"88b503da527d96c53c10e41112eb578c9977fcd3470ed597cf7fbe4c9e8ebf6f"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"da092aa68402f193fb9bd25433a6141196611a5e9e1358fafb67fb760be7c80c"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"8bdfb6e59e849fa715dc0dfbae6f747517565f86011583ea7663cda9902ecfd5"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"59d2d207c85b4bee36ea026cae9363f2c90ff8c011bb9350c75ed5353218cb09"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b4b604b3e285c04629cee863ab11e3c051d6028d815348e868ee0f7318cfecb5"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"8f4ea28810ff294db1708c53d07d90a198a929c7432f8836815d59a5cd3183f7"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0f9c9c0f802b56a27d7999b1df839814b4799bd34262953045ea7b22aa45a5f5"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3bb0de4307e483870bb8fbad4be7661d6660370f1787f999df9372a173f04be3"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"8e645c1ade3a0996977ef795671926d056d22f73a89d2544da5fdbd45e49cc18"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c5633fcfb5be7e4debc2e14326506fca8bd42fb1f043de5e504085936f99296d"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"70aae825931825bb39ded19cd3ad461291e73a3bcdc08160a8d8e96b10293d78"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"7ff291aa2abec99f4ad039ddb6a2a684937f7df6cfb860ad9d144ac1e6a36cef"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"7c679a3f0c1e56700a66ac28d7c067acb4c25ee6815a16fb755829e3b1aa8018"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"2d9d3abf019fac1b854d7b9b134401e3693ff011936d19af75d1218473379513"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"8e313c650c064a5ee499da6ae0127b1702f15c6e5f999958254f19ccfd5fb474"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"eef1ae987039af8f4fd475c8112bc4428f8318c88f7d960c8377ba058c1d0061"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f6ef6c6f126072fb35622d7c9a0d476ea745d519172b085a7515a24d5c0ea1f8"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c5746bcb83c4d59471f11777d45b532fc08efc36d5cb5a14106fa4c8f20b5cc1"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"41a57c340999cb17d09874aa9900bbf70d1ca583451e510011daeefc26872cd2"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"cd47043fe4c10c86def5b2f729f81f5fabd1de1888d65698320be55e71370c40"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d62f6ff7ce0d7d1723a84a8fb0741153910eac7ff5f60cdd107384c700b6b6ee"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ff96f9f5b397416bac168948c294d78a23cb21ccf03f77e87436ce0c52bbfde7"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"2d672cb246df0034f94279123732258849d4dc3ff18766df96d5fd398fa4a620"},"taxa":[{"id":"CWE-250","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a8c6997f8923c5a4d2fd5dfa6c15af6224bd102b5f2ea0616b73e73463eabe02"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"dff30cf15cd43fb83d277f101821a26273684a5ceb769deebd9cd257688989fa"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"406c098ce63f1bc8fd9491283f2ef282944618e83fb27f41177afa78e7e56f9a"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"dcff39b02a3ac590b19ca96bee47b7dcd255a1798f94802351034aa4e6748379"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"85f48b64c6f86f19d2bd8b62de01886bb4cf04e86c0f7e48146813e806fdbaff"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"2884a39ae05224ae11afb73bc0eee8e6a487abcaa924ff5e74e23f3b77b1b36c"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"62b517d2cb2481590790aed062eef5d2fa6c8b610bb2f3b84a276051a711a629"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1bc913bcb17df4f1c5114cb1e987cb3bb9dd48a9e37c423a9829a2eeae88eb67"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"90dbc8342f638a968fb52424331252d500c84c9deac98b96129f6afd252a53f5"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"7a697dc7f692c53d054e046c12f4f0f0bfa759340a8133b73b9e6a67d2a5b1c3"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"7e320e664d1ba717e68a16c823b876e67f14f84b51919c53a017583e224aa976"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b519f8b33c7f6062319f78e98ad27e1494abee5dcb064963eaff66c01c04a4d9"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0778430175de94440fb496403b3cb7cac3ea9715dfa3a3665f4ea43341e3c47e"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3cc0bda53fb2fac7e603bc20f5357e5dac38f8087108d64c44deb762a0f0aeb2"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"57dc96fe4215b70288a582b8820eade36a89df53beaed4ded92f0ca40438d7a4"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"8c08bfa50766cca11c1469214e3ed01fec593f32e4621f376f6c405a65935b1d"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d3533d03c0a1b2a5b587407b56fb4d192d32d3c1e34b3be2f3283081c5704052"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"64a4b4b15dfa05a455f06fdddaa1f7a42269abdfa99022d85c004a36d35f442f"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"5a645d61e8152ef1b2e7199d3912cbdc873534770cd40a9bf83fff4a46c9dbc1"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"48bd87ea5ea7da8eaa20626d4ba0fc59c1fc0fd2c5c54343d0538b954ca06482"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"4c502a91293acd12fac815ed512d4cf7564f3e51a53ff1e70ef0d0e19945ea49"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b28598d478bc7e38b4fe6df63327f9d28b014c75f59ff945b5d40411c171b4a5"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d81fb8f06247a6643b964c0c54d7f28f769ec933562085c02318da170b0e6a52"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"9014979dfb846a582fa424566e16bacc944bd82b8515e2c6a6e99b3cb3db702c"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"96aba42e1356dcc9840b9a2bcf113dbdf61a909ed89d1de34e9d3c736579ffdc"},"taxa":[{"id":"CWE-250","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0025db67dcf92552dd67a844314bc0d4b5b6d9cb058c00c5d101136e81761f58"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"6f38664d3f2f20933fbe5052ec9151aedf138124dfb9bc92356e00a0ce8af49d"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"7bc6f21c9c46038b2d4bd1ff046cf84a819d2d7f0095987cf02b862ab008deaf"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"6b0baa33b8f50039d8885b70ff2c89895801de8f8c972fe1c86b8d9edad3c403"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"47abc7e8692f1cd78ddc52f78828d79c75d299ca89d8247070635b769bd7c676"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b7887fa144186dd77cb7dfa0e2cfa4572ce1221a9576e2b0efd2ebffaae32f48"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0f3fd61ad5e54ca6b5d88ff182f83b014de9503ff9e6965985d7d9023f273508"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"2dfa1afbb9626781ff4b0e8fd4788a332c18b4ace546ca75fb8804ebcba59af5"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ecf07616fc66118b309089c77211ca175ee3ab145c5694472ee1600f94aa3281"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"7b93e5103c79809d50e91dcb629a93e74edb09667fb60b66a300d8d7192c802c"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d895f9567f9e22fc476834d3ee13c37f45b962105df11cc07f489a66fb89d0e4"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1595b11ff5d105fca7e06ab687b6d4addaf4534d01ccdce1f6afa5f16c267d18"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"af98e5464d8b0ebc5e93797f8263bdc9252ab5959db4c146a3c7152aba936dfd"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"346915d4e1400ee768f4218f0eb2ddddca6e38061346bafb9c2b68cda7382527"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ab8a3ce88d79f42061b219b81dfac19254614943ebbf418ddec1961086fe96f9"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"fa9a4f6c76e64708382b4650525172a0d5eb88fc4650bc690d8f1aca2329b41d"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"35001ba65acc3c6f681da464532b17b54926053eef3dc655b084feb01d2555fa"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"53cd9f0645600ef3aa4d0734e2ecb476c753b19b52fc83382014892675d2afde"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"9dba248eb24f01de4bfe19646876f190f20c9cda523cc14f67e5bfe22e02d5d3"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"8c7b6bf7851247fb7b406167770c69e71e43a42a1b40fa72d96ace8d794e9cae"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"6705a91f2774f63465278ca10d55842b41bcd688cfad767fb6bc5b9696cc4eaa"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1c51b828a43841a4b973840414628b4237637ee8a92ca3c28257c6351c270f6c"},"taxa":[{"id":"CWE-250","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ae6f730e8c3c43a48db8805f64f8bd896ea57670b738e3b4151cbf570080ef8b"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c21c3e13d26e22f3bcba6c3518a2ac3302a6eed90f3a56208c1773a3442fcb59"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d3dfb2d1a1ee36637f3c98846f1d19378cdcd8dd61ee5d0d2fd3143870a19dd2"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"6b842fa2bae4aece1a2b315bbaff86e0cb50d74e2e8813616f6e5c436bd4afd2"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"db589ce67aa8f72c338aa2ff32484414d963c93f27032695bf36cd97aae4acb3"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"09e39e5fdf59ce57e0c8b0a4b96fe20b1de0c06fc7d8c106d242f756789a453e"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1f51a163f26d94ce6b6f473117dde579d091c8cbf9e59810475c94d9fc921120"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"bde0c8b3e9348b9d8f70a8e145e5f2b70c64a2dcd1d583b4b77b5507da4c9c69"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"cf079a4cc507fc37155aba71b28fd42c400b6eda53e93f1e1954937cf622f4e4"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"15116310c36d10239a4fa673c14eff7dd7203e4fe4c85977598edf711e2d8920"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0e0a3bb6befde15a6a1dee7499615b7073eb4eec65790a6c4502e981280b5845"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"cc39f97015b0e1566036d789d53922bba2072d63eab03089d867030715401f8d"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c8422f654f8c6afb3c0d24522eb0339157db799f0c39bf494836649853f5f5ff"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e0672094bdc662391f3ef3acbe0c5f0b2b89c0d7b4cb0e52c6bbcddf6adad936"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"7338b6e3572d9410338d43bcfba53cabf6968e857f05efc4bf35704882e5495b"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"7edf43ee1a35996af60ac87e1dbea37479144a4264aba77bd1da5ad44c0aafbe"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"980fef7d731d3397e5a648e6457e664a6aaffbe2eeb147a7ac05f8a4523cf29f"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a03c2b3e9875b1f443a44f8cd47adc7f553b28331ad3bd32ee2a97f65f946574"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"cab222060f2c142f45d34853c8805b208c3521ea12749154837ab0a9ba61c1bb"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3554575fd54d741e62842c14b05b84c56de33e2eaf61b876d52430759328a0f3"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c40d7425f451decb533cae5e7dbd9de99c07a1943e2d144d0a1f55d1e8905d8b"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"84abfc1e575337c77d87e56b8ad894e48af7aae9ec12626695537d2de4ee5e6c"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"50653b29ef529273204d643fa634725a261e9c966bf67bcc585c7ec0b6db761d"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e79945ecd324616ea71ac4b3a6d4becaffcd9e669b1df6a37746abfd876fb05a"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"05580e34b79b0274a2c470185c9484a6efe1d020cce302a738dbaf41d4eb76bb"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e157e2d65d0bcf849da2efcb9a079312b3192929e2393430576a9e0f4b25c1c5"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"94589a966c45f816c6dbd0bfce90dbf0e1a1a5ccf5ca473da6899e1eef0a54ea"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1ed4568227556f36e5f5a26da69e49fffba629429acc02646e08eccdc081a543"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"86c6a72aa5258fc2fde0a656ce994165206369392ff70cc822615d2702085690"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"6fd98e8e39c2c3aa15c88e1d7eeefaa134e1ed891ceff7b754acf7f40a5bcce2"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"6b0b59e454e7b9e58619620e744a7881829694d8cf76d88f561f265358af9bfd"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c38b6a7a98ed58787e889c92708aee903ec81bc222cc3a0dbbc411f365daf088"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"58e69d21f5fd09bd515794b937a79582e733ba848e5ef45e59b97e8b7b965275"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"33190529cc782e344da7fdda6b08adf73fcc1f97e4b771875ea3ae3bf1dd6c5f"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ef5e157a70dd3bd116687af74e91bacff1bbe5d534ad38690b3dadb0eb5b3e41"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b440bd59a0838468d73292bb8faa75188da466142accfa84f63108fb774baa7c"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d5ecfc9c80b867e699d68626df7611449db3304a1e6c70c8e51d3209c919ccf0"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d67ebb9ebf8e2575ed79bb59deece7ba540f6ddd8880ca89ce357af1bb97d8e7"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"93aa16a437f9305375d89b7f39357251659907f04764ee192dd691db61e4b272"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"7a1217ba9341f345c851c6983b3e0fb3d96bb7b3d4a46c2f7bfcd9517b100719"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"576a2dfcfb07cfef5e3e682bcd533a8216bf821558d9644de4d59ec286e86e9e"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"5c82a573fd89a263d250397251a517bb91ddfbf51b658b05c8e5ca4e377190b0"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"50a64a7a7aaa5991edfb934c83827a54bad25ef5cda1ad857b6fd6197a9d9f54"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"705e054859c22fbdeb17f2607d01aaf86220e165c78455fc10761c563331d982"}},{"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":"server/etcdserver/api/v2store/store.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"66b8bf7e53512f4a7325efe35b6a346234e07615e8e689fabd787d511216593a"}},{"ruleId":"D34","level":"note","message":{"text":"Further orphaned files (smaller): 94 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: pkg/featuregate/feature_gate.go, client/v3/leasing/kv.go, etcdctl/ctlv3/command/check.go, client/v3/auth.go, client/v3/concurrency/stm.go, server/proxy/grpcproxy/lease.go, pkg/expect/expect.go, tools/check-grpc-experimental/main.go (and 86 more) (95 orphaned of 307 analysed files in total, counted over production source files of roughly 2,400 bytes or more, excluding vendored, generated, example/demo and scaffolding-template trees and test files identified by path convention, largest first; 307 of the 587 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":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/etcdserver/api/v3discovery/discovery.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a405cf6e5caa125196666b012dafac851b8573784a454caf92e48c8aa0c3803"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/featuregate/feature_gate.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"03e12d635d1d98355e9a345c503a56dec4f6bd822578c4033527b1353a7f9a24"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/v3/leasing/kv.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e81235a93d17a574a51b4ccc78875d1dd68ad22e92551b77b9e40996c24da8b"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"etcdctl/ctlv3/command/check.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b277aa2d2d8209c8a7d2889b4b2e634a80b1bfe260086a904243addc9060349"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/v3/auth.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1270ee0041a733e0294b62ebadea8f4c180edb3daf6e94a85a2ec8b5787d5e2f"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/etcdserver/api/v3rpc/interceptor.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"04e0a2fd95e9956572f985bc5628619834b5d42f64e7cb80a38c1986e39e7a51"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/v3/concurrency/stm.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"28ee56a82b017a1162182c818ea0917e353d029a8546ce48a95f83f0acdbb368"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/proxy/grpcproxy/lease.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8eb203cd89c0055ec079fae6427e9cc429b028e5a581db768c264deaf858f5f"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/expect/expect.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"54504f14410497beef407bfa1421f44efef0b9d85b5f8b2b8274929a7f16c834"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/check-grpc-experimental/main.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a16234f64fa6fce6b86387013fcabddb6a416dd2c5e0489cb7ed95ca70b3826"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/local-tester/bridge/bridge.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e8b84333e1d44d3a3a1ba7a81014becca58760a9f143aa4088211e090725fe1"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"etcdctl/ctlv3/command/member_command.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"68782a35d788ab6ba01959d1173066484a23ac3ed3cdae190a08dac5e6d8d1b7"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"etcdctl/ctlv3/command/role_command.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"84231100e48ddae82ed1d7270b0c465233fe51e0c860c287b35a30d8451d2b22"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"etcdctl/ctlv3/command/make_mirror_command.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d0cf2a14cabb68c457f980249462b7897bf926cd008dc538e59d3e0cf3227a9"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/report/report.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ea6b306e12111d7d3910f2fa55450647a0a9a7f1d7e00b5b36aa8618fa00083"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/storage/backend/tx_buffer.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8853ad80c3e3235ad6ac78911b3c5da206f3ec873de2befb638079193979eb7f"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/auth/simple_token.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8647bc7d4120e7d7c46bfaceb4ff854cf7ef9798e8dfe887c19bd1330d8bb8df"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/etcdserverpb/raft_internal_stringer.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6058e11ecd93c0f0dc3efeda35d8644bf58763fda14d6fb599cfe083e4f1eead"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/netutil/routes_linux.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"777f1c8effe1160fe6f99d8527ccdba3e01dca821c4d6b160d366fe07094b091"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/auth/range_perm_cache.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fde42aaf64923f37eda680024378cfffbbbe327384e4976ca09686bd62b55a40"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/v3/namespace/kv.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"58641b99906febe025de35ea3c9aa0e95424fbeaf6e9dd29e96ae808c381c6c6"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/v3/leasing/txn.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b492d29643b255da1057ee5d0fd1b791960891b0edfb4e6ac2621e77b21c85f"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/etcdserver/api/v3rpc/auth.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"037060b2fe38092ee705af6f66cea6449f68e1051bbde45409b97a887d7993c6"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/benchmark/cmd/stm.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f21c963e2a863668c06c9dd5c9f8f5040b5d7b2351670d764fd3f0ae01c4085"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/v3/naming/endpoints/endpoints_impl.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac32c807ac9a38ad1b147e6582153c44c48544989e4d9d378c5cd098fb05aa83"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/testgrid-analysis/cmd/data.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c25f2780423ff983e19d78aead76120975ee783c1c3996620f4672e8881b2729"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/etcdserver/api/etcdhttp/peer.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"37072fa798430e7f8acf7d47232bd137c11f3c737ab9f95f70353088c89c7f3f"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/v3/concurrency/mutex.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"09fbec4c6ae93fd0d84a6fcefb0ac985a8cdbb52c300966029334997daccaaa9"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/auth/options.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c577d3216fc30ca7e2a56c811d8745161d0d0a8a104f734a3cd3a8a7ddfaf45"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/mock/mockstore/store_recorder.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a4318a74f97cdd8ff1d4d30df7cb21db8d1d5f1e2d42b5ee6e1a3c49e1c94db"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/verify/verify.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"441735eefe7b95991353524ea02991dc054c3bd1fb34b5bd56caa73113bae0b7"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/benchmark/cmd/txn_mixed.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b822dd110d9e353d7c1cc4a7ee326c0bc7f3dd075f346523d352fb3a4a3916a5"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/pkg/types/set.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"63f5e1c3b62baf5e4bf0269e33aed13fd0e3eb2f8a0e7757df472f4ef0581bea"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/v3/experimental/recipes/key.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c52a4c8ab41d1e04435c4e847af24b9e4415f7fb1c9ad70801e7d9514483bfbf"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/proxy/tcpproxy/userspace.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fdb880c555af5d03870169ee2b9146865b3b30fa826750ce0024620bce386ef"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/v3/experimental/recipes/double_barrier.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"785f86130988fee210e498e64595013512624a23577d47e6289762e1cd9f7802"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/etcd-dump-logs/raw.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a506ebe615b5cf3a88f92524c40a69ca0d9241927f27900dce6e3f05c68f8179"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/proxy/grpcproxy/watch_broadcast.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9566cc3c6783e4e564e5b14f167cf132ae8d0cc2a4223541257454c2bc37cb7"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/proxy/grpcproxy/cache/store.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a69746db2e41f08ef9727d6b347ea0806bd5c16d632a8d150b90c35180e41621"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cache/ringbuffer.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"46d6e9e34497dfedc32f8f11f95c20ef36f0e23bce3f0392b99f8f7fdc7cccfa"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/storage/backend/read_tx.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c7f114c744e53b8ff32905b9aff1388a78d5b61f145ae58fce5766a2b785ac3"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/schedule/schedule.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"39c678d0f0e9668259f9a10455d9b3aa4c0e467bbe6c16db3085f19ba29c94de"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/etcdserver/api/v2store/stats.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d99ad497c25a92d5968782fa74507c1a761a8d5fd94d8a4107154f468a8dd104"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"etcdctl/ctlv3/command/downgrade_command.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ad3a6d6704306ce8beb62a2da8bb58b5b0ebc352a9359591ad7f03c203db929"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/storage/schema/bucket.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"114564e6ef593b7d35da549c5da2bacac645b4087ce87531a627bc2f81d1d694"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/pkg/srv/srv.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f4d36730fb8ea30d3bc932b1da2b3b27b231a5e92157240a0d11a820686c3ae"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/etcdserver/api/membership/member.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"017027e237721da69f01d0805ed00b9cb8ce0c80ebeef27e5b7e917796f7647c"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"contrib/lock/client/client.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbc7315dd144f4901cdcdaccfaeab4e201ca60dfa7460b632c780579d1b07a67"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/etcdserver/api/v3election/election.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"375698ec1c5969202af1fc65b185e68e059dd4003b75bf052b0fc3cc71dbe3c0"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/proxy/grpcproxy/adapter/auth_client_adapter.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b1b604d699651ffc264573ea2b66bf8141f6f860153402fa73d9c2921dd3684"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/proxy/grpcproxy/auth.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccab81fae000e0b384bafe4993394d1dbccbfad6a0d9e3bccb4b941a43a1edaf"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/benchmark/cmd/mvcc-put.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2209e29e1aeeb824be663427c1ace480224e2ec3185a63be88d050055f1a2e75"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/etcdserver/api/v2stats/server.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a95709d1961467e35e458917aae2ef6721b5bf6fcfd8e76b599faf2a8959ee4"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/etcdserver/api/v2stats/leader.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"24143e2e8d9d83b3f10cec9a0ed7cd8e71e1be84f0650e1a573665575d6a995f"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/etcdserver/txn/util.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f4f74bfa95f977e154a3f0d2ab767382dcbeb4bc7b8d8473e37c83307132d84"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/storage/mvcc/revision.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf6db921dc755f9eeb856ada14b4ea3dccbf9d4cc9b16fa37cf93a255a0fc71c"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/proxy/grpcproxy/metrics.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee1d4b74a982e563c1eb925ecd0a765ab049281d8a5fc18a1ea30b59feb47990"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/v3/mirror/syncer.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dac601644503af8d8e387fc2d6663d04dfe6ea53aee6707033b1e35082a84eab"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/benchmark/cmd/txn_put.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"899d6147e12262bb35de91dfbbe9f8702988277ab1f7030dca54c45238791b3c"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/ioutil/pagewriter.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e80004d19a13cf359f74a1f0d56eb774fa92d580ba1ab84421cf9606c7550172"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"etcdctl/ctlv3/command/auth_command.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"287cbe8a0cc17de3f80e00386dcf318200f39da600670d1157b184fda97d3752"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/etcdmain/grpc_proxy_logger.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a5e7a528af45371a2d0f9e85fe55055fe30aa45cfda7dc8dad45a3b7bab3539"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/v3/naming/endpoints/endpoints.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"536bb96f242804dc8674c84cbd1b48025a56467fbd68c592547360ce7e551148"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/grpctesting/stub_server.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"03dd66704ea08bd52a7f9063a7be513d210b8a8955f9d5f35f178a4650da513b"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/pkg/testutil/recorder.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"88aecfb98a71031faa73cd20f320a125e380dfd7ce358e660a0a1388f5a39712"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"etcdctl/ctlv3/command/lock_command.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf150440c6d93d7c4e81c5da0258740181ce01109ca9eba18158fc385c2aafe0"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/proxy/grpcproxy/watch_broadcasts.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"21051051e7f6ecdb80c2a30668964c6cd7875fccea203071cd154dd4c4aeccc1"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/v3/txn.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"031a425d0b8690c9e384d322da7987e815af9c2684fa6dd9d63f65cdefd58f3f"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/local-tester/bridge/dispatch.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a635a88d69957ee8f48495e53280c0833ec7cffe62715cb6e7f66ae2bccf7701"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/benchmark/cmd/watch_get.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f189651f5231d8695923d07f6efde61716d5b8d10f344795c4de24911ef1da5e"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/pkg/testutil/testingtb.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcba9e656327f502ae5e8abbf18f2e78c73774dc3e69c2a25abe046b529eea99"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/testgrid-analysis/cmd/flaky.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b242f9c93ceb9fa6b3da5d3c81162fb6b203035ecad007d1ed0bac0cffd8c40"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/pkg/testutil/testutil.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3baf97c77abdaccdbb327a78ca928bb212ab04bfe661c3d0362399dbe7ed81e"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/benchmark/cmd/root.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c8029b98b884ac4c2cd2e9169708045c1b694e5752d278911d5dc2630ebb0bd"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/proxy/grpcproxy/adapter/election_client_adapter.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea8af030d2c325ca24ca544e478c4049a47b52726cd1d8df1b03267ffb7cd707"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/proxy/grpcproxy/adapter/lease_client_adapter.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d443b8386d749a8265af7a0d066766df4a02e54d9f2161b68447f91549a070e2"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/report/weighted.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba60e36069a513170ad5c47a852da70451a40f1659f3ef31ae7d7f492cefbe2a"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"contrib/lock/storage/storage.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f224930f35f7a9843813753728784697ee3667a2e9dc3f573366f5444219775a"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/wait/wait.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b114e2b9b291157e5061014b908ff1c04f242f66e46213470d92712a99785c1"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/pkg/logutil/zap.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e86ba24ab751207964e3cccbd9a9c1bc5ffc51de3a5257d1fb96a4421ecc3078"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/pkg/types/urlsmap.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ca9ad9d3df441ba8c9b2974180a2e92c6da2e3c8f05f184128d6b4b68a13dd1"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/pkg/transport/listener_opts.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"17c5f58d988fe6f2959e3a5c85536ca9f01aeafe7c69b10af3c748591e4aecdc"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/proxy/grpcproxy/maintenance.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"efb20c668eafc1bf670a029752c11ad1f047f8fe44feabfdc9292fea70cba50a"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/lease/lease_queue.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad329e974217402862f0e9d48b721b155dfb8bd5fff4c0d4450a6136bcb92a01"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/proxy/grpcproxy/leader.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"67bdae99d5d7bae9f3008a2950a496a8dbe3f41e5e9dcec19b06d1a12ab4d8f0"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/etcdserver/api/v3rpc/quota.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb5ba0cea8f706d3903c0ae692dc9ef14fb1d8021c5144b2ce3039462c05b775"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/pkg/verify/verify.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"424d8d0354c9968d0b21e60b57b30a0f7cff2a1fb323d658a532be3d98ac4829"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/pkg/fileutil/lock_linux.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1cdf154548c5166b2fa954df41a1517103a2d5e3af4a927aaf407f6032c3132"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/storage/wal/file_pipeline.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"38f9cf6d1f0eb8e15b5fbd532238f498526a187cda9f1ed96c516c59ea730c21"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/v3/experimental/recipes/rwmutex.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"72f993303d31b508d70f5d3c6f876be92f915e83e1bec84aefa168602f5931bc"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"etcdctl/ctlv3/command/completion_command.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"06fcd551f026808f1872a298c9922fabbe215b80aaefc2d268791854f3e781ae"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"etcdutl/etcdutl/completion_commmand.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f590076f2641c38e919b5f5896bce8fdcdc9a64a523f4c97ed707092aaa1211f"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/pkg/transport/transport.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa9ffe153fee81d1bde98e1beb37ec98463e4e63fe0b3edce4d2e09096567eb8"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/testgrid-analysis/cmd/github.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c979eba87144d85bf0e4859620a8aa7baf50ca52c4733b6712fa6eac05637c86"}},{"ruleId":"D35","level":"error","message":{"text":"Boundary-crossing change coupling: etcd.go \u2194 etcd_features.go: \u0060server/embed/etcd.go\u0060 (context embed) and \u0060server/features/etcd_features.go\u0060 (context features) sit in DIFFERENT parts of the tree yet change together 67% of the time (8 of the 12 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) \u2014 the bounded-context boundary may be in the wrong place, or one context is leaking into the other. This is the behavioural boundary violation a static scan can\u0027t see. You can check this without leaving the row: of the 8 shared commits counted here, the most recent 3 are \u006073fdbfe8\u0060 Cleanup the deprecated experimental flags for etcdserver; \u00605fa8c1f6\u0060 Migrate --experimental-set-member-localaddr to using feature flag; \u00602cd8fcce\u0060 migrate experimental-enable-lease-checkpoint and experimental-enable-\u2026 \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/embed/etcd.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"81e307ce939fd60db801286a77d2162b526d99d9e0211e5992a66f018285a751"}},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1b213f6eedd4b140d0bc37bdf1496f72811a643f34064f12518b32e9e83bcfc7"},"taxa":[{"id":"CICD-SEC-9","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0e17f71490e4d120a48b2b2881ab866c93b272bef2febb673a3e8e42b2c288ab"},"taxa":[{"id":"CICD-SEC-9","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"eb00976a698a5d68999b7ee6d27206fd374e916853e7ff1ead5eed42386f043f"},"taxa":[{"id":"CICD-SEC-9","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"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":"4f1e7684f8281bd255ddef97105c7055c2ebae06964c8745716b83e174debe83"}},{"ruleId":"D40","level":"note","message":{"text":"No network policy: No Kubernetes NetworkPolicy (or Cilium policy) found. Without one, every pod can talk to every other pod and reach out to the internet by default. Add a default-deny policy and open only the flows you need."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"295828650a2aaa1b03ae9b32ae6843a0c38011e5a70b1926442c4fa7187de5f0"}},{"ruleId":"D41","level":"note","message":{"text":"No seccomp profile: The workload runs a container with no seccomp profile in force (neither RuntimeDefault nor a Localhost profile, on the container or the pod), so Kubernetes runs it Unconfined. Seccomp blocks the syscalls a container never needs, shrinking the kernel attack surface a container escape would use."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"hack/kubernetes-deploy/etcd.yml"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"181e93483f3f4352dcf0c0f5947bf93eeb47a2398d0f2cac4a22053291d7de03"}},{"ruleId":"D41","level":"note","message":{"text":"No seccomp profile: The workload runs a container with no seccomp profile in force (neither RuntimeDefault nor a Localhost profile, on the container or the pod), so Kubernetes runs it Unconfined. Seccomp blocks the syscalls a container never needs, shrinking the kernel attack surface a container escape would use."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"hack/kubernetes-deploy/etcd.yml"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"d080a4b06f6e4622d0abfbb1a00635e9ef12f6d25f346c7952e776e92c8f8526"}},{"ruleId":"D41","level":"note","message":{"text":"No seccomp profile: The workload runs a container with no seccomp profile in force (neither RuntimeDefault nor a Localhost profile, on the container or the pod), so Kubernetes runs it Unconfined. Seccomp blocks the syscalls a container never needs, shrinking the kernel attack surface a container escape would use."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"hack/kubernetes-deploy/etcd.yml"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5c8ef19e0db4315c2d3fb80ac20f85e99cdad374f563f4493a1dc70587b109f"}},{"ruleId":"D41","level":"note","message":{"text":"No seccomp profile: The workload runs a container with no seccomp profile in force (neither RuntimeDefault nor a Localhost profile, on the container or the pod), so Kubernetes runs it Unconfined. Seccomp blocks the syscalls a container never needs, shrinking the kernel attack surface a container escape would use."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"hack/kubernetes-deploy/vulcand.yml"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"d459208fe8cc79fba4008f5d692f6460bed04f346daa5e0ee7296ced8a27d84b"}},{"ruleId":"AX2","level":"warning","message":{"text":"Stateful package: main: Package \u0060main\u0060 serves requests (net/http handlers run on a goroutine per request, and every one sees the same package variables and captured values) but writes that shared state outside any lock (data; e.g. \u0060data\u0060 in \u0060handler\u0060 at line 89). Unsynchronised concurrent writes are a data race in Go: an update is lost or a value tears, and a concurrent map write aborts the process."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"contrib/lock/storage/storage.go"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"4167d303e08f604d27a66f5a84bd07f93c9b507d2f0e978e377aa0e652091794"}},{"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":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060http.Post(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"contrib/lock/client/client.go"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ca6ba4a077eb7afa2cfc59a04e4b3dd2e1d518322dc6ca635b754ec24038e78"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060http.Get(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"etcdctl/ctlv3/command/util.go"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae73a88b3312e1ff839036598a4f71ef2022b0d6a4dba36e849ca798c5fc83c7"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060http.Client{\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/etcdmain/grpc_proxy.go"},"region":{"startLine":630}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb894b9ba4968e88ea882dae3a14591267c77392f2f78311b1c69ab159ce9c4c"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060http.Client{\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/lease/leasehttp/http.go"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"231552b4c5e846d5f29f08ff36cec68c97cf57ea786cc6dd95ad56e46a89f972"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060http.Client{\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/lease/leasehttp/http.go"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"53493fd81455b695867a8a595b2a21b819ddbd2b16977331a9d374fd251a1bac"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060err == nil || errors.Is(err, mvcc.ErrCompacted)\u0060 appears character-identically in 2 files \u2014 server/etcdserver/api/v3compactor/periodic.go, server/etcdserver/api/v3compactor/revision.go. 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":"server/etcdserver/api/v3compactor/periodic.go"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"09ea88dcb4d59134f31f10768ce27995921eac27742f7383b9b91ab50559852a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060err == nil || errors.Is(err, rpctypes.ErrPermissionDenied)\u0060 appears character-identically in 2 files \u2014 etcdctl/ctlv3/command/ep_command.go, server/proxy/grpcproxy/health.go. 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":"etcdctl/ctlv3/command/ep_command.go"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2b8eacaf38fa6b5a7482574a042134ebfd507d230f24d1fcb04c717a1da360a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060len(v) \u003E 0 \u0026\u0026 v[0] == rpctypes.MetadataHasLeader\u0060 appears character-identically in 2 files \u2014 server/proxy/grpcproxy/lease.go, server/proxy/grpcproxy/watch.go. 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":"server/proxy/grpcproxy/lease.go"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a1bf8a8bf93da58bc166595bb1fa6a2c1d9ad71db788644943507bdd9a913dd"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060maxVersion != 0 \u0026\u0026 minVersion \u003E maxVersion\u0060 appears character-identically in 2 files \u2014 server/embed/config.go, server/etcdmain/grpc_proxy.go. 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":"server/embed/config.go"},"region":{"startLine":1048}}}],"partialFingerprints":{"codehealthFindingId/v1":"367bb069d98f5704c1db20cb14595da915da3891864b7c670937435f85ed5d34"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060u.Scheme == \u0022unix\u0022 || u.Scheme == \u0022unixs\u0022\u0060 appears character-identically in 2 files \u2014 pkg/netutil/netutil.go, server/embed/etcd.go. 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":"pkg/netutil/netutil.go"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"80bfaf5efb9d57e76b2b379c544a7e63a7bc9f8c8b9e44c25cb1109a7470d1b4"}},{"ruleId":"X15","level":"warning","message":{"text":"Length read from the parsed input is spent without ever being bounded: \u0060size\u0060 is read from the bytes being parsed at line 236 (\u0060binary.Read\u0060), then used to size a \u0060make([]byte, \u2026)\u0060 at line 239 \u2014 and nowhere in its scope is \u0060size\u0060 compared to anything, clamped, or bounded against the input that remains. Whoever wrote those bytes therefore chooses the allocation directly: \u0060make\u0060 reserves the whole length before a single byte of the payload is known to exist, so a 32-bit length asks for up to 4 GiB, and an allocation the runtime cannot satisfy is \u0060fatal error: out of memory\u0060 \u2014 not a panic, so no \u0060recover\u0060 intercepts it and the whole process dies; a 64-bit length too large to represent panics with \u0060makeslice: len out of range\u0060 instead, out of a parser whose failure path was written for malformed input, not for hostile input. Bound \u0060size\u0060 against the bytes actually remaining and a maximum the format allows before allocating."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/etcdserver/api/rafthttp/msgappv2_codec.go"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"d14f89591d4c2795bdc79671df05885134a52f128c36e49e9e03b64a5cea9f50"}},{"ruleId":"X2","level":"note","message":{"text":"Not all functions that make a request accept a context.Context: Only 5/12 functions that make a cancellable request (net/http, net.Dial) accept a context.Context or pass one on, so a request keeps running after whatever wanted it has given up \u2014 a cancelled request, a shutdown, an expired deadline. Take \u0060ctx context.Context\u0060 as the first parameter and build the request with it (\u0060http.NewRequestWithContext\u0060, \u0060DialContext\u0060); where nothing could ever cancel the call, omitting it is a deliberate choice \u2014 judge against how the function is used."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"faab330444baf00d50193f250b5c9b514f84cdca16c24014ef3776329847910c"}},{"ruleId":"X2","level":"warning","message":{"text":"Function without context.Context: tryReactivate: \u0060tryReactivate\u0060 calls \u0060net.Dial(\u2026)\u0060 but takes no context.Context and reaches none its caller controls, so its caller cannot cancel the request once it has started. Take \u0060ctx context.Context\u0060 as the first parameter and build the request with it: \u0060http.NewRequestWithContext(ctx, \u2026)\u0060, \u0060(\u0026net.Dialer{}).DialContext(ctx, \u2026)\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/proxy/tcpproxy/userspace.go"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3e08d4c56f9ce4300163621d30787719cca3a37c6e86c6dcbea9ae85c604437"}},{"ruleId":"X2","level":"warning","message":{"text":"Function without context.Context: serve: \u0060serve\u0060 calls \u0060net.Dial(\u2026)\u0060 but takes no context.Context and reaches none its caller controls, so its caller cannot cancel the request once it has started. Take \u0060ctx context.Context\u0060 as the first parameter and build the request with it: \u0060http.NewRequestWithContext(ctx, \u2026)\u0060, \u0060(\u0026net.Dialer{}).DialContext(ctx, \u2026)\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/proxy/tcpproxy/userspace.go"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"472d372809f3ba2ff8c9b7f48fe1c63ccb14aba332a848a68966c15266a6cf2e"}},{"ruleId":"X2","level":"warning","message":{"text":"Function without context.Context: listenAndServe: \u0060listenAndServe\u0060 calls \u0060tp.DialContext(\u2026)\u0060 but takes no context.Context and reaches none its caller controls, so its caller cannot cancel the request once it has started. Take \u0060ctx context.Context\u0060 as the first parameter and build the request with it: \u0060http.NewRequestWithContext(ctx, \u2026)\u0060, \u0060(\u0026net.Dialer{}).DialContext(ctx, \u2026)\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/proxy/server.go"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc344d7537e0d4c07226a3e775d1b5c41cafeebc34853d97b94d3d9c725bce86"}},{"ruleId":"X2","level":"warning","message":{"text":"Function without context.Context: endpointMemoryMetrics: \u0060endpointMemoryMetrics\u0060 calls \u0060http.Get(\u2026)\u0060 but takes no context.Context and reaches none its caller controls, so its caller cannot cancel the request once it has started. Take \u0060ctx context.Context\u0060 as the first parameter and build the request with it: \u0060http.NewRequestWithContext(ctx, \u2026)\u0060, \u0060(\u0026net.Dialer{}).DialContext(ctx, \u2026)\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"etcdctl/ctlv3/command/util.go"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f94037b86c7547440424676f5bbabd6fec02f41cbc727776ea1c4fadb9d4629"}},{"ruleId":"X2","level":"warning","message":{"text":"Function without context.Context: write: \u0060write\u0060 calls \u0060http.Post(\u2026)\u0060 but takes no context.Context and reaches none its caller controls, so its caller cannot cancel the request once it has started. Take \u0060ctx context.Context\u0060 as the first parameter and build the request with it: \u0060http.NewRequestWithContext(ctx, \u2026)\u0060, \u0060(\u0026net.Dialer{}).DialContext(ctx, \u2026)\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"contrib/lock/client/client.go"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"d57de4bdf92a7292b571b3db18c7c23ebf008677dd82c338c27f343527e13286"}},{"ruleId":"X2","level":"warning","message":{"text":"Function without context.Context: ValidateSecureEndpoints: \u0060ValidateSecureEndpoints\u0060 calls \u0060t.DialContext(\u2026)\u0060 but takes no context.Context and reaches none its caller controls, so its caller cannot cancel the request once it has started. Take \u0060ctx context.Context\u0060 as the first parameter and build the request with it: \u0060http.NewRequestWithContext(ctx, \u2026)\u0060, \u0060(\u0026net.Dialer{}).DialContext(ctx, \u2026)\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/pkg/transport/tls.go"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"c42f3cd58052b2b551175a8161e6ec9f312ae7c1adf34de104214d00ed0e2502"}},{"ruleId":"X2","level":"warning","message":{"text":"Function without context.Context: DialJournal: \u0060DialJournal\u0060 calls \u0060net.Dial(\u2026)\u0060 but takes no context.Context and reaches none its caller controls, so its caller cannot cancel the request once it has started. Take \u0060ctx context.Context\u0060 as the first parameter and build the request with it: \u0060http.NewRequestWithContext(ctx, \u2026)\u0060, \u0060(\u0026net.Dialer{}).DialContext(ctx, \u2026)\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/pkg/systemd/journal.go"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebe7fbd65516619be802e4d589153b0ea7f7b6b574c5d6765fcaa5e5abd11ee0"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\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":"server/storage/wal/repair.go"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa1db1e45e2eaeaf9f3071382a14a321c9f6fab150df77d88cff3c052f2e021e"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\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":"server/storage/wal/util.go"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f282b2226d35195b73decb9da29ee79129331ce64a4ed8084d81b0824d8cefa"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\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":"server/storage/wal/version.go"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfefcca12b8a3652d60a16528762535cb9df85655e7c8929401f9e3571f863ca"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\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":"server/storage/wal/version.go"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"73b99da7f71e57f7177929efaf95cdbc03cd551efd79681f46bc6b73060d5b4f"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\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":"server/storage/schema/version.go"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a317107c0fbb6c6329dd4efa01884bfe911043d4760c180c33b25d4ed864681"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\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":"server/storage/schema/version.go"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e0c41c112ea2b3709d466aaea493956b2e3460889c2e121734781c877989ed7"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\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":"server/storage/mvcc/index.go"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"516edb4f6c32d9a3a5b59d371086c2d8e5e66c957343282fab1a94eb1cdb3a4d"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\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":"server/storage/mvcc/index.go"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb09ad25ce4855faf06f77b23441275cd081579cd690e93669e40ead11e99e1e"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\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":"server/storage/mvcc/index.go"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"69e45c1cda0edfc69d54de93a71d847057e4dce80b5cdc6629480e409cdd0832"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err := wps.stream.Send(wresp); err != nil\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":"server/proxy/grpcproxy/watch.go"},"region":{"startLine":307}}}],"partialFingerprints":{"codehealthFindingId/v1":"3936f2a6471bfdef2610a3a5df901601983507861583e6277bc1de4f336c7aef"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err := le.cp(context.Background(), \u0026pb.LeaseCheckpointRequest{Checkpoints: cps}); err != nil\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":"server/lease/lessor.go"},"region":{"startLine":679}}}],"partialFingerprints":{"codehealthFindingId/v1":"58fb0bbabd1ee46de54932e4b551cb47009a5f3e45af6c683c8e0540febf3a8f"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\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":"server/etcdserver/cluster_util.go"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e9243fc5a07cf13979e1112d6351cfbed43b5761976322dff4df0c9da3323cb"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\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":"server/etcdserver/txn/txn.go"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"696b2024eb3c67fcb6633950c144cc74852df97603286d18afe9f838c2230e35"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if ctxErr != nil\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":"server/etcdserver/api/v3rpc/util.go"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"678c4cd297e59491df51ee5aa0a221497c149dec631d659106be611222de4a25"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\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":"server/auth/simple_token.go"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"16f4c58153b8136394cd962bd2c5a69f58a171187308800bcdff22dc9973f27c"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err := um.Unmarshal(data); err != nil\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":"pkg/pbutil/pbutil.go"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8efba825b6adde81277a59b8fba6c7ef33d53a7100195a3bfb3fa66471376ab"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\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":"pkg/netutil/host_normalize.go"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"297e9a5570941cc0ce353e6e64773fadb3dc4d7127678132903c1e1afdf1d906"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\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":"pkg/httputil/httputil.go"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9340d28597231ecde1798661f3cf74dd342305dc006c7b31583a9e2f75807ed"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\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":"pkg/expect/expect.go"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"7434f3d1a55e18f30099b917c9f9846ce9c5abcf6089f3a4d38581de01f65eed"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if wc, closeErr = w.newWatchClient(); closeErr != nil\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":"client/v3/watch.go"},"region":{"startLine":672}}}],"partialFingerprints":{"codehealthFindingId/v1":"9dbfad974314d643647587a47fa4e9eb65ef4e0bac4c0ffa2d85761ab4ddbd42"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err := json.Unmarshal(kv.Value, \u0026iup); err != nil\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":"client/v3/naming/endpoints/endpoints_impl.go"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"be85f929e32d51629bcf37fb270c94c601ba6615fa67febeef393ca712161fa2"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\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":"client/v3/leasing/kv.go"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"99f890f098c1146e0ea7cc55c3adc611645f24b6171750892987163645345473"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\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":"client/v3/leasing/kv.go"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ac1cd3399dbfc26506be8edacefd83f7b3804e9079292ee24bd62b40a1982e4"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if rec := recover(); rec != nil\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":"client/v3/internal/resolver/resolver.go"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d749abd6ca067735dd7cc2fb6ffe7946a1304208af38e830403fe2dae3fd481"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\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":"client/v3/internal/endpoint/endpoint.go"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"a39559fd1d3721fcaea1349266dd1ebcea851dc7ca3c2b0475cd7c9c3d212baf"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\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":"client/v3/internal/endpoint/endpoint.go"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"7dbae5b41764a2cce0cb8f68cb7496ba89b7c1ae5bd9e02d6c1a495264ab19e6"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\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":"client/v3/concurrency/election.go"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"7224d930a27baac82f63221779f0bca45e1ac13ac77267f0703a96f56d07b39e"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err := ctx.Err(); err != nil\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":"cache/cache.go"},"region":{"startLine":317}}}],"partialFingerprints":{"codehealthFindingId/v1":"126a79f4d6ca91c745105d196c035c571faec7745c9b62240b445a0c89191145"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on error: \u0060Revisions\u0060 turns a non-nil \u0060err\u0060 into \u0060return nil, 0\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the error or return it. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the \u0060if\u0060 or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/storage/mvcc/index.go"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"806743ac9523729030a3b7cdc8a1bc6cae7dbc7852230e19d47c0ada91488453"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on error: \u0060CountRevisions\u0060 turns a non-nil \u0060err\u0060 into \u0060return 0\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the error or return it. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the \u0060if\u0060 or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/storage/mvcc/index.go"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"c72137cb539127068cb6b24ea712b2d8f340f1247a0a68eb60c58043c13a231e"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on error: \u0060Range\u0060 turns a non-nil \u0060err\u0060 into \u0060return nil, nil, nil, nil, 0\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the error or return it. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the \u0060if\u0060 or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/storage/mvcc/index.go"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bec523bb7aa24c522a593f2633dde446b2d04d8a49aa82c87e73c26deb2a5c8"}}],"taxonomies":[{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d","organization":"MITRE","informationUri":"https://cwe.mitre.org/","isComprehensive":false,"shortDescription":{"text":"The MITRE Common Weakness Enumeration (CWE)."},"taxa":[{"id":"CWE-1032","guid":"5f21e517-68aa-a650-9a25-5771ef024637","name":"OWASP Top Ten \u2014 Security Misconfiguration category","shortDescription":{"text":"OWASP Top Ten \u2014 Security Misconfiguration category"},"helpUri":"https://cwe.mitre.org/data/definitions/1032.html"},{"id":"CWE-1059","guid":"a2381a08-60f6-9554-a8b8-f3018cfaaca5","name":"Insufficient Technical Documentation","shortDescription":{"text":"Insufficient Technical Documentation"},"helpUri":"https://cwe.mitre.org/data/definitions/1059.html"},{"id":"CWE-1357","guid":"e4d2e772-757e-0a5c-bd7d-77052949d866","name":"Reliance on Insufficiently Trustworthy Component","shortDescription":{"text":"Reliance on Insufficiently Trustworthy Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1357.html"},{"id":"CWE-1395","guid":"800e09e7-c11a-8654-9fa6-86f398995fed","name":"Dependency on Vulnerable Third-Party Component","shortDescription":{"text":"Dependency on Vulnerable Third-Party Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1395.html"},{"id":"CWE-16","guid":"659db3ea-affc-8453-8add-c1218fbfcb92","name":"Configuration","shortDescription":{"text":"Configuration"},"helpUri":"https://cwe.mitre.org/data/definitions/16.html"},{"id":"CWE-242","guid":"5c147e5c-be37-b051-9928-764ef5a8f3d3","name":"CWE-242","shortDescription":{"text":"CWE-242"},"helpUri":"https://cwe.mitre.org/data/definitions/242.html"},{"id":"CWE-250","guid":"52ee12e8-390a-7351-b1e6-388afa694e54","name":"CWE-250","shortDescription":{"text":"CWE-250"},"helpUri":"https://cwe.mitre.org/data/definitions/250.html"},{"id":"CWE-252","guid":"78915dc5-e486-f858-bc3c-aa570ad9010d","name":"Unchecked Return Value","shortDescription":{"text":"Unchecked Return Value"},"helpUri":"https://cwe.mitre.org/data/definitions/252.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-300","guid":"c5969c2f-022a-5059-bb13-5ac56ccacbd0","name":"Channel Accessible by Non-Endpoint","shortDescription":{"text":"Channel Accessible by Non-Endpoint"},"helpUri":"https://cwe.mitre.org/data/definitions/300.html"},{"id":"CWE-319","guid":"7af97476-9f0d-4458-9163-3d2043918a1a","name":"Cleartext Transmission of Sensitive Information","shortDescription":{"text":"Cleartext Transmission of Sensitive Information"},"helpUri":"https://cwe.mitre.org/data/definitions/319.html"},{"id":"CWE-327","guid":"e51910ff-67b5-3c51-aa3d-92837d9eab90","name":"Use of a Broken or Risky Cryptographic Algorithm","shortDescription":{"text":"Use of a Broken or Risky Cryptographic Algorithm"},"helpUri":"https://cwe.mitre.org/data/definitions/327.html"},{"id":"CWE-328","guid":"f0ffc869-97c3-dc5c-8825-be1159f1fc5f","name":"Reversible One-Way Hash","shortDescription":{"text":"Reversible One-Way Hash"},"helpUri":"https://cwe.mitre.org/data/definitions/328.html"},{"id":"CWE-338","guid":"e89b7604-c3f7-8b53-bc8c-4d4718c28617","name":"Use of Cryptographically Weak Pseudo-Random Number Generator(PRNG)","shortDescription":{"text":"Use of Cryptographically Weak Pseudo-Random Number Generator(PRNG)"},"helpUri":"https://cwe.mitre.org/data/definitions/338.html"},{"id":"CWE-391","guid":"d9ef5687-8d79-9b51-b509-b83411fbcdc3","name":"Unchecked Error Condition","shortDescription":{"text":"Unchecked Error Condition"},"helpUri":"https://cwe.mitre.org/data/definitions/391.html"},{"id":"CWE-400","guid":"ca529a89-676d-8857-aac1-84359c77bb6c","name":"CWE-400","shortDescription":{"text":"CWE-400"},"helpUri":"https://cwe.mitre.org/data/definitions/400.html"},{"id":"CWE-494","guid":"b8a65e0d-e459-4a55-a931-fc1136482375","name":"Download of Code Without Integrity Check","shortDescription":{"text":"Download of Code Without Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/494.html"},{"id":"CWE-506","guid":"401d6455-56e3-0552-9a39-f77461673e3f","name":"Embedded Malicious Code","shortDescription":{"text":"Embedded Malicious Code"},"helpUri":"https://cwe.mitre.org/data/definitions/506.html"},{"id":"CWE-522","guid":"71fb233e-ce6a-ae57-9419-ef8373540b09","name":"Insufficiently Protected Credentials","shortDescription":{"text":"Insufficiently Protected Credentials"},"helpUri":"https://cwe.mitre.org/data/definitions/522.html"},{"id":"CWE-540","guid":"1a9db5db-e5bb-ae5d-935a-d1b4e9ee080b","name":"Inclusion of Sensitive Information in Source Code","shortDescription":{"text":"Inclusion of Sensitive Information in Source Code"},"helpUri":"https://cwe.mitre.org/data/definitions/540.html"},{"id":"CWE-703","guid":"fa730aa9-95e4-845e-83fa-8169f2cf339e","name":"Improper Check or Handling of Exceptional Conditions","shortDescription":{"text":"Improper Check or Handling of Exceptional Conditions"},"helpUri":"https://cwe.mitre.org/data/definitions/703.html"},{"id":"CWE-732","guid":"1da27e8f-b330-7650-ab63-bd61953eae5d","name":"Incorrect Permission Assignment for Critical Resource","shortDescription":{"text":"Incorrect Permission Assignment for Critical Resource"},"helpUri":"https://cwe.mitre.org/data/definitions/732.html"},{"id":"CWE-77","guid":"332c8ade-6612-9f56-a06b-d8d90b1a8750","name":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/77.html"},{"id":"CWE-78","guid":"2e31ceaf-c7ae-2e5e-9661-cfb1362789cf","name":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/78.html"},{"id":"CWE-789","guid":"4075e11b-36c1-b252-a641-bf30b0eca7b0","name":"CWE-789","shortDescription":{"text":"CWE-789"},"helpUri":"https://cwe.mitre.org/data/definitions/789.html"},{"id":"CWE-79","guid":"fd45580b-e8c4-fc5e-8c2f-aa8fab0b4dbf","name":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)","shortDescription":{"text":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/79.html"},{"id":"CWE-798","guid":"5e8f057d-fee3-995a-a0cb-9fc5b0d174d1","name":"Use of Hard-coded Credentials","shortDescription":{"text":"Use of Hard-coded Credentials"},"helpUri":"https://cwe.mitre.org/data/definitions/798.html"},{"id":"CWE-829","guid":"13c33925-97fb-5a5e-b40c-56d328b8a4d7","name":"Inclusion of Functionality from Untrusted Control Sphere","shortDescription":{"text":"Inclusion of Functionality from Untrusted Control Sphere"},"helpUri":"https://cwe.mitre.org/data/definitions/829.html"},{"id":"CWE-89","guid":"6d08fdad-37eb-c150-bbf0-d7d946863407","name":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/89.html"},{"id":"CWE-937","guid":"16f316ae-415c-b354-a59b-1f7905f756e9","name":"Using Components with Known Vulnerabilities","shortDescription":{"text":"Using Components with Known Vulnerabilities"},"helpUri":"https://cwe.mitre.org/data/definitions/937.html"},{"id":"CWE-94","guid":"75e7f50c-6c2f-dd52-bf40-bf6c52b861fd","name":"Improper Control of Generation of Code (\u0027Code Injection\u0027)","shortDescription":{"text":"Improper Control of Generation of Code (\u0027Code Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/94.html"}]},{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61","version":"2025","organization":"OWASP Foundation","informationUri":"https://top10.owasp.org/2025/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10:2025 web application security risks."},"taxa":[{"id":"A01:2025","guid":"df693558-c822-0452-8f7b-4d53cb6bcc59","name":"Broken Access Control","shortDescription":{"text":"Broken Access Control"},"helpUri":"https://top10.owasp.org/2025/A01_2025-Broken_Access_Control/"},{"id":"A02:2025","guid":"668dee9e-41bc-6354-97d0-fdf8f40c50c1","name":"Security Misconfiguration","shortDescription":{"text":"Security Misconfiguration"},"helpUri":"https://top10.owasp.org/2025/A02_2025-Security_Misconfiguration/"},{"id":"A03:2025","guid":"168e227c-7735-2e57-bc6e-997affe644c5","name":"Software Supply Chain Failures","shortDescription":{"text":"Software Supply Chain Failures"},"helpUri":"https://top10.owasp.org/2025/A03_2025-Software_Supply_Chain_Failures/"},{"id":"A04:2025","guid":"6a9f5bfd-1a56-6453-beec-a7eff0ba3007","name":"Cryptographic Failures","shortDescription":{"text":"Cryptographic Failures"},"helpUri":"https://top10.owasp.org/2025/A04_2025-Cryptographic_Failures/"},{"id":"A05:2025","guid":"87e86033-3231-8458-8e4a-5cb82743553a","name":"Injection","shortDescription":{"text":"Injection"},"helpUri":"https://top10.owasp.org/2025/A05_2025-Injection/"},{"id":"A06:2025","guid":"491554d7-b8e4-9652-91a9-53700dc92ece","name":"Insecure Design","shortDescription":{"text":"Insecure Design"},"helpUri":"https://top10.owasp.org/2025/A06_2025-Insecure_Design/"},{"id":"A07:2025","guid":"334ddd78-539d-d35c-83dd-253647eb7eaf","name":"Authentication Failures","shortDescription":{"text":"Authentication Failures"},"helpUri":"https://top10.owasp.org/2025/A07_2025-Authentication_Failures/"},{"id":"A08:2025","guid":"84b0c297-710e-9a5f-9335-936ecb260c36","name":"Software or Data Integrity Failures","shortDescription":{"text":"Software or Data Integrity Failures"},"helpUri":"https://top10.owasp.org/2025/A08_2025-Software_or_Data_Integrity_Failures/"},{"id":"A10:2025","guid":"9ca3ab55-ca61-fd5e-b9ab-3dad2efa59d0","name":"Mishandling of Exceptional Conditions","shortDescription":{"text":"Mishandling of Exceptional Conditions"},"helpUri":"https://top10.owasp.org/2025/A10_2025-Mishandling_of_Exceptional_Conditions/"}]},{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35","organization":"OWASP Foundation","informationUri":"https://owasp.org/www-project-top-10-ci-cd-security-risks/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10 CI/CD Security Risks."},"taxa":[{"id":"CICD-SEC-9","guid":"b3d36727-0395-5b51-94c4-5e173d62eab3","name":"Improper Artifact Integrity Validation","shortDescription":{"text":"Improper Artifact Integrity Validation"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-09-Improper-Artifact-Integrity-Validation"}]}],"properties":{"codehealthPublication":{"public":true,"notice":"This is the PUBLIC form of this artifact. Findings are listed in full, but the details of SECURITY findings \u2014 which rule fired, in which file, on which line, and how to fix it \u2014 are deliberately withheld, and any secret-scanner results are excluded entirely. Where detail is absent here it was REMOVED FOR PUBLICATION; it is not missing from the analysis. The complete artifact is available from the repository owner.","securityFindingsRedacted":202,"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."]}]}