{"$schema":"https://json.schemastore.org/sarif-2.1.0.json","version":"2.1.0","runs":[{"tool":{"driver":{"name":"codehealth","informationUri":"https://codehealth.canine.dev","rules":[{"id":"D1","name":"Cyclomatic Complexity","shortDescription":{"text":"Cyclomatic Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D1"},{"id":"D2","name":"Cognitive Complexity","shortDescription":{"text":"Cognitive Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D2"},{"id":"D3","name":"God Classes","shortDescription":{"text":"God Classes"},"helpUri":"https://codehealth.canine.dev/dimensions/D3"},{"id":"D4","name":"Code Duplication","shortDescription":{"text":"Code Duplication"},"helpUri":"https://codehealth.canine.dev/dimensions/D4"},{"id":"D6","name":"Cohesion (LCOM4)","shortDescription":{"text":"Cohesion (LCOM4)"},"helpUri":"https://codehealth.canine.dev/dimensions/D6"},{"id":"D11","name":"Test Reliability","shortDescription":{"text":"Test Reliability"},"helpUri":"https://codehealth.canine.dev/dimensions/D11"},{"id":"D12","name":"Dependency Hygiene","shortDescription":{"text":"Dependency Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/D12"},{"id":"D13","name":"Secret Scanning","shortDescription":{"text":"Secret Scanning"},"helpUri":"https://codehealth.canine.dev/dimensions/D13","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"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":"D21","name":"Naming Consistency","shortDescription":{"text":"Naming Consistency"},"helpUri":"https://codehealth.canine.dev/dimensions/D21"},{"id":"D22","name":"Internal API Consistency","shortDescription":{"text":"Internal API Consistency"},"helpUri":"https://codehealth.canine.dev/dimensions/D22"},{"id":"D23","name":"Boundary Type-Coupling","shortDescription":{"text":"Boundary Type-Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D23"},{"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":"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":"AX5","name":"Architecture \u0026 structure","shortDescription":{"text":"Architecture \u0026 structure"},"helpUri":"https://codehealth.canine.dev/dimensions/AX5"},{"id":"AX6","name":"Interface segregation","shortDescription":{"text":"Interface segregation"},"helpUri":"https://codehealth.canine.dev/dimensions/AX6"},{"id":"AXB2","name":"Runtime readiness","shortDescription":{"text":"Runtime readiness"},"helpUri":"https://codehealth.canine.dev/dimensions/AXB2"},{"id":"AXR1","name":"Runtime accessibility","shortDescription":{"text":"Runtime accessibility"},"helpUri":"https://codehealth.canine.dev/dimensions/AXR1"},{"id":"ED2","name":"Event/command shape","shortDescription":{"text":"Event/command shape"},"helpUri":"https://codehealth.canine.dev/dimensions/ED2"},{"id":"ED3","name":"Event naming","shortDescription":{"text":"Event naming"},"helpUri":"https://codehealth.canine.dev/dimensions/ED3"},{"id":"ED4","name":"Outbox / dual-write","shortDescription":{"text":"Outbox / dual-write"},"helpUri":"https://codehealth.canine.dev/dimensions/ED4"},{"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":"P5","name":"DR \u0026 Backup","shortDescription":{"text":"DR \u0026 Backup"},"helpUri":"https://codehealth.canine.dev/dimensions/P5"},{"id":"P6","name":"Release Hygiene","shortDescription":{"text":"Release Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/P6"},{"id":"P7","name":"Outbound HTTP resilience","shortDescription":{"text":"Outbound HTTP resilience"},"helpUri":"https://codehealth.canine.dev/dimensions/P7"},{"id":"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":"X13","name":"Undrained process stream","shortDescription":{"text":"Undrained process stream"},"helpUri":"https://codehealth.canine.dev/dimensions/X13"},{"id":"X14","name":"Bypassable address classification","shortDescription":{"text":"Bypassable address classification"},"helpUri":"https://codehealth.canine.dev/dimensions/X14"},{"id":"X15","name":"Unvalidated length from an untrusted reader","shortDescription":{"text":"Unvalidated length from an untrusted reader"},"helpUri":"https://codehealth.canine.dev/dimensions/X15"},{"id":"X17","name":"Uncapped recursion over a caller-supplied document","shortDescription":{"text":"Uncapped recursion over a caller-supplied document"},"helpUri":"https://codehealth.canine.dev/dimensions/X17"},{"id":"X19","name":"Unrestored process-global state","shortDescription":{"text":"Unrestored process-global state"},"helpUri":"https://codehealth.canine.dev/dimensions/X19"},{"id":"X2","name":"Cancellation propagation","shortDescription":{"text":"Cancellation propagation"},"helpUri":"https://codehealth.canine.dev/dimensions/X2"},{"id":"X20","name":"Mistyped argument guard","shortDescription":{"text":"Mistyped argument guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X20"},{"id":"X21","name":"Side-effecting pattern guard","shortDescription":{"text":"Side-effecting pattern guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X21"},{"id":"X22","name":"Contradicted release guard","shortDescription":{"text":"Contradicted release guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X22"},{"id":"X23","name":"Unguarded diagnostic materialisation","shortDescription":{"text":"Unguarded diagnostic materialisation"},"helpUri":"https://codehealth.canine.dev/dimensions/X23"},{"id":"X24","name":"Document value interpolated into markup unescaped","shortDescription":{"text":"Document value interpolated into markup unescaped"},"helpUri":"https://codehealth.canine.dev/dimensions/X24"},{"id":"X25","name":"Inert configuration knob","shortDescription":{"text":"Inert configuration knob"},"helpUri":"https://codehealth.canine.dev/dimensions/X25"},{"id":"X26","name":"Unsynchronised callback handoff","shortDescription":{"text":"Unsynchronised callback handoff"},"helpUri":"https://codehealth.canine.dev/dimensions/X26"},{"id":"X27","name":"Collection changed while being enumerated","shortDescription":{"text":"Collection changed while being enumerated"},"helpUri":"https://codehealth.canine.dev/dimensions/X27"},{"id":"X28","name":"Index access outside its own emptiness guard","shortDescription":{"text":"Index access outside its own emptiness guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X28"},{"id":"X3","name":"Exception handling","shortDescription":{"text":"Exception handling"},"helpUri":"https://codehealth.canine.dev/dimensions/X3"},{"id":"X30","name":"Support guard that admits what it rejects","shortDescription":{"text":"Support guard that admits what it rejects"},"helpUri":"https://codehealth.canine.dev/dimensions/X30"},{"id":"X32","name":"Type resolved by simple name across every loaded assembly","shortDescription":{"text":"Type resolved by simple name across every loaded assembly"},"helpUri":"https://codehealth.canine.dev/dimensions/X32"},{"id":"X4","name":"Structured logging","shortDescription":{"text":"Structured logging"},"helpUri":"https://codehealth.canine.dev/dimensions/X4"},{"id":"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":"daemon.verifyPlatformContainerResources (cyclomatic 83): daemon.verifyPlatformContainerResources has cyclomatic complexity 83 (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":"daemon/daemon_unix.go"},"region":{"startLine":404}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb066b1301af870185cb755d2cd0b7baa20bbddf2f3b60d0ec59348fc0ca02f4"}},{"ruleId":"D1","level":"warning","message":{"text":"Daemon.restore (cyclomatic 70): Daemon.restore has cyclomatic complexity 70 (threshold 15). Most of this is not in the body itself: 12 of the 70 points are its own statements and the rest belongs to 7 function literals inside it that branch (lines 350, 596, 280, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/daemon.go"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"172e7fbbacf8b8d077c569eefb7b57a2c3fd1329b53e4ecbdec8afc4f7496f14"}},{"ruleId":"D1","level":"warning","message":{"text":"daemon.NewDaemon (cyclomatic 67): daemon.NewDaemon has cyclomatic complexity 67 (threshold 15). Of this number, 60 points are the body\u0027s own statements and 7 belong to 3 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/daemon.go"},"region":{"startLine":752}}}],"partialFingerprints":{"codehealthFindingId/v1":"34a8ba45f750be76fccd599d49e33d925691e903df29f0e507441e57a7ea9173"}},{"ruleId":"D1","level":"warning","message":{"text":"ImageService.Images (cyclomatic 65): ImageService.Images has cyclomatic complexity 65 (threshold 15). Of this number, 54 points are the body\u0027s own statements and 11 belong to 3 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/images/image_list.go"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e1e3c98d530823a079b11f71afa319eb877dc9e5dd234bfa29b1f8ccb6a19e0"}},{"ruleId":"D1","level":"warning","message":{"text":"daemon.withMounts (cyclomatic 63): daemon.withMounts has cyclomatic complexity 63 (threshold 15). Most of this is not in the body itself: 1 of the 63 points is its own statement and the rest belongs to one function literal inside it that branches (line 504). 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":"daemon/oci_linux.go"},"region":{"startLine":503}}}],"partialFingerprints":{"codehealthFindingId/v1":"8944ca00f66e3a0dc5cb66e7fb90297c25bb077872e88e9cf726f909defc1b13"}},{"ruleId":"D1","level":"warning","message":{"text":"cache.compare (cyclomatic 53): cache.compare has cyclomatic complexity 53 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"image/cache/compare.go"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9a2aad1dfe6f6639b56ce9d0f59a235d8d0699f09708fb206dcb5e43c19104c"}},{"ruleId":"D1","level":"warning","message":{"text":"containerRouter.postContainersCreate (cyclomatic 52): containerRouter.postContainersCreate has cyclomatic complexity 52 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/router/container/container_routes.go"},"region":{"startLine":480}}}],"partialFingerprints":{"codehealthFindingId/v1":"a70037cfbe0644adbfd3df3918182b25a15392832d52f0e290d67cffaf68a7f0"}},{"ruleId":"D1","level":"warning","message":{"text":"Controller.NewNetwork (cyclomatic 50): Controller.NewNetwork has cyclomatic complexity 50 (threshold 15). Of this number, 38 points are the body\u0027s own statements and 12 belong to 6 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":"libnetwork/controller.go"},"region":{"startLine":471}}}],"partialFingerprints":{"codehealthFindingId/v1":"126754f7466fc1cb73bd8595f5de8a1c32bcabf7d99e9c9e02a17abfaa8485fc"}},{"ruleId":"D1","level":"warning","message":{"text":"daemon.includeContainerInList (cyclomatic 49): daemon.includeContainerInList has cyclomatic complexity 49 (threshold 15). Of this number, 42 points are the body\u0027s own statements and 7 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":"daemon/list.go"},"region":{"startLine":388}}}],"partialFingerprints":{"codehealthFindingId/v1":"074f4c48ffb1fd3bd3097f259990f6bad49718843e99e631960ab3ca778a43af"}},{"ruleId":"D1","level":"warning","message":{"text":"Daemon.registerMountPoints (cyclomatic 47): Daemon.registerMountPoints has cyclomatic complexity 47 (threshold 15). Of this number, 42 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":"daemon/volumes.go"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"80db7a3c716b872398f04f64df2fcd073d6da7b8585f159c23fe5842a1ab630f"}},{"ruleId":"D1","level":"warning","message":{"text":"Builder.Build (cyclomatic 45): Builder.Build has cyclomatic complexity 45 (threshold 15). Of this number, 38 points are the body\u0027s own statements and 7 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":"builder/builder-next/builder.go"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"f89597d172dfa2d6cde6cbbf012f4c1250ebc499d4411b7148f3dbaf3d4c7208"}},{"ruleId":"D1","level":"warning","message":{"text":"archive.createTarFile (cyclomatic 44): archive.createTarFile has cyclomatic complexity 44 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/archive/archive.go"},"region":{"startLine":678}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d0c5fcce1b9afad61e5faed55ec8665fd49dbd6f5bfce498c4fbb9e41aec297"}},{"ruleId":"D1","level":"warning","message":{"text":"Daemon.createSpec (cyclomatic 41): Daemon.createSpec has cyclomatic complexity 41 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/oci_linux.go"},"region":{"startLine":1060}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a3154a4e780fcdf72d007605e68fbcf7782f73d646f026b86a316f244692776"}},{"ruleId":"D1","level":"warning","message":{"text":"Endpoint.sbJoin (cyclomatic 41): Endpoint.sbJoin has cyclomatic complexity 41 (threshold 15). Of this number, 33 points are the body\u0027s own statements and 8 belong to 5 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/endpoint.go"},"region":{"startLine":428}}}],"partialFingerprints":{"codehealthFindingId/v1":"5aeeecbb094fbafeb740226df72b964f94897e8bedda33586575557266578d3e"}},{"ruleId":"D1","level":"warning","message":{"text":"archive.UnpackLayer (cyclomatic 40): archive.UnpackLayer has cyclomatic complexity 40 (threshold 15). Of this number, 36 points are the body\u0027s own statements and 4 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":"pkg/archive/diff.go"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"07ec0d1b7cce11502ecd29205e5148ecb3221684df0480295c139acb0928d7af"}},{"ruleId":"D1","level":"warning","message":{"text":"DaemonCli.start (cyclomatic 39): DaemonCli.start has cyclomatic complexity 39 (threshold 15). Of this number, 33 points are the body\u0027s own statements and 6 belong to 4 function literals inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/dockerd/daemon.go"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae1477a1e6a43f2405cc5138eed5902e11a4d61991a025b5381f45797ceea135"}},{"ruleId":"D1","level":"warning","message":{"text":"IPTable.ProgramChain (cyclomatic 38): IPTable.ProgramChain has cyclomatic complexity 38 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/iptables/iptables.go"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a8c5e2b4dcc04ed0d354c3400006794b60311044489111e21190c57baaf9a09"}},{"ruleId":"D1","level":"warning","message":{"text":"puller.Snapshot (cyclomatic 37): puller.Snapshot has cyclomatic complexity 37 (threshold 15). Of this number, 29 points are the body\u0027s own statements and 8 belong to 3 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"builder/builder-next/adapters/containerimage/pull.go"},"region":{"startLine":382}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfad2326cc5e642afc2bae95da1867b2924aef9d6a8b8306bf1697b3c3b002e9"}},{"ruleId":"D1","level":"warning","message":{"text":"daemon.verifyPlatformContainerResources (cyclomatic 37): daemon.verifyPlatformContainerResources has cyclomatic complexity 37 (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":"daemon/daemon_windows.go"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"16c34bff69df0f0041f82daff85964d51c298cd9f45f2b00c5c8e18a23e52869"}},{"ruleId":"D1","level":"warning","message":{"text":"Daemon.initNetworkController (cyclomatic 37): Daemon.initNetworkController has cyclomatic complexity 37 (threshold 15). Of this number, 36 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/daemon_unix.go"},"region":{"startLine":838}}}],"partialFingerprints":{"codehealthFindingId/v1":"47865ce0723bf4ba773d64fac8f053b491fdb23ef2b724333006cb74d2ba0e12"}},{"ruleId":"D1","level":"warning","message":{"text":"Daemon.buildSandboxOptions (cyclomatic 36): Daemon.buildSandboxOptions has cyclomatic complexity 36 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/container_operations.go"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"10af2204c673a641a0dce793087527083405bd1af9ac39d05cb5d1add2cc9ff1"}},{"ruleId":"D1","level":"warning","message":{"text":"copy.DirCopy (cyclomatic 36): copy.DirCopy has cyclomatic complexity 36 (threshold 15). Most of this is not in the body itself: 4 of the 36 points are its own statements and the rest belongs to one function literal inside it that branches (line 132). 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":"daemon/graphdriver/copy/copy.go"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"256f32cf56e22529df6cdf66fc075e23440f88f9dfd2708e140463eff24aebe5"}},{"ruleId":"D1","level":"warning","message":{"text":"tarexporter.Load (cyclomatic 35): tarexporter.Load has cyclomatic complexity 35 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"image/tarexport/load.go"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"55bc2e5da765ea8f103753eb1413f9844021c436660780fabf0f2fe7004f4a83"}},{"ruleId":"D1","level":"warning","message":{"text":"Network.UnmarshalJSON (cyclomatic 35): Network.UnmarshalJSON has cyclomatic complexity 35 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/network.go"},"region":{"startLine":578}}}],"partialFingerprints":{"codehealthFindingId/v1":"666f39a3410a9007e19d98002b0cf3b643c7b60949b29fc62710578e3b778ee2"}},{"ruleId":"D1","level":"warning","message":{"text":"client.createWindows (cyclomatic 35): client.createWindows has cyclomatic complexity 35 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libcontainerd/local/local_windows.go"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"04d02e95788398623abdbe1d2b79c73cfcfc415be4ec5e8f6b96391b7dec2898"}},{"ruleId":"D1","level":"warning","message":{"text":"splunk.New (cyclomatic 34): splunk.New 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":"daemon/logger/splunk/splunk.go"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f89b7ed8ce546913b36db757caca00d97c6c5e3322072af615c80608b007436"}},{"ruleId":"D1","level":"warning","message":{"text":"driver.CreateEndpoint (cyclomatic 34): driver.CreateEndpoint has cyclomatic complexity 34 (threshold 15). Of this number, 29 points are the body\u0027s own statements and 5 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":"libnetwork/drivers/bridge/bridge_linux.go"},"region":{"startLine":918}}}],"partialFingerprints":{"codehealthFindingId/v1":"a07c3efe9c3010f8cc95c7f86689079175a8b121a654f1cbcaebbaea8b292c34"}},{"ruleId":"D1","level":"warning","message":{"text":"Tarballer.Do (cyclomatic 34): Tarballer.Do has cyclomatic complexity 34 (threshold 15). Most of this is not in the body itself: 6 of the 34 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 974, 919). 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":"pkg/archive/archive.go"},"region":{"startLine":911}}}],"partialFingerprints":{"codehealthFindingId/v1":"a77c1a3d6784e04f90d01be9fc88da8b187328bfa4e7cc705dec8ac4d075a593"}},{"ruleId":"D1","level":"warning","message":{"text":"Daemon.StartWithLogFile (cyclomatic 34): Daemon.StartWithLogFile 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":"testutil/daemon/daemon.go"},"region":{"startLine":434}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cd4a36c49141a26f5435859627b11730127763c30ed971e094a6e1914d0f940"}},{"ruleId":"D1","level":"warning","message":{"text":"walker.walk (cyclomatic 33): walker.walk has cyclomatic complexity 33 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/archive/changes_linux.go"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"497e5e4e2d87aaa62e04c5eb0d6211eb648f62284bae7a4653ef317771ce0877"}},{"ruleId":"D1","level":"warning","message":{"text":"ImageService.ImageDelete (cyclomatic 32): ImageService.ImageDelete has cyclomatic complexity 32 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/containerd/image_delete.go"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fbcecb6cd05600b0bc31f8d3f251c2730d4f1ec5ce901729814116f3ab703e6"}},{"ruleId":"D1","level":"warning","message":{"text":"ImageService.Images (cyclomatic 32): ImageService.Images has cyclomatic complexity 32 (threshold 15). Of this number, 23 points are the body\u0027s own statements and 9 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":"daemon/containerd/image_list.go"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"b53062f6a6fb80125ba2f4a7c20024659733b1c2dacfd4202e4495c7fa4ef43a"}},{"ruleId":"D1","level":"warning","message":{"text":"pushDescriptor.Upload (cyclomatic 32): pushDescriptor.Upload has cyclomatic complexity 32 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"distribution/push_v2.go"},"region":{"startLine":299}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c2891ec940fe7cee750b71e40d7b8a19f740d236336048beb6c6c7591ef1cc5"}},{"ruleId":"D1","level":"warning","message":{"text":"ImageService.resolveAllReferences (cyclomatic 31): ImageService.resolveAllReferences has cyclomatic complexity 31 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/containerd/image.go"},"region":{"startLine":425}}}],"partialFingerprints":{"codehealthFindingId/v1":"df0c2b5e6c27e28ca1ad63fb6d34e1a20f53b20ee3f86b3a869639f33f9c41bf"}},{"ruleId":"D1","level":"warning","message":{"text":"archive.Unpack (cyclomatic 31): archive.Unpack has cyclomatic complexity 31 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/archive/archive.go"},"region":{"startLine":1088}}}],"partialFingerprints":{"codehealthFindingId/v1":"36b44de1040ab7befa31ad16b4f2d4535a619fd9073e692dc65d8c4e1610fa85"}},{"ruleId":"D1","level":"warning","message":{"text":"seccomp.setupSeccomp (cyclomatic 31): seccomp.setupSeccomp has cyclomatic complexity 31 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"profiles/seccomp/seccomp_linux.go"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef8894864f3991dc39d331564a51345eff2a8aa87e86307ab72275a35fc15f0d"}},{"ruleId":"D1","level":"warning","message":{"text":"daemon.merge (cyclomatic 30): daemon.merge has cyclomatic complexity 30 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/commit.go"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba31525d4cf2f91575f47284cbb022354ce73292f8a5059794188cb0b4378c3f"}},{"ruleId":"D1","level":"warning","message":{"text":"Daemon.ContainerLogs (cyclomatic 30): Daemon.ContainerLogs has cyclomatic complexity 30 (threshold 15). Of this number, 17 points are the body\u0027s own statements and 13 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":"daemon/logs.go"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"2dc3a69e2f2e0068ab7e85aa151f65118f20e24b5afccdb4bb9cf019cab5704b"}},{"ruleId":"D1","level":"warning","message":{"text":"ImageService.DeltaCreate (cyclomatic 30): ImageService.DeltaCreate has cyclomatic complexity 30 (threshold 15). Of this number, 24 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":"daemon/images/image_delta.go"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"845ad91355e2603703d36468b76e8ad2854c532a8ab0315c57355653f9ad230c"}},{"ruleId":"D1","level":"warning","message":{"text":"puller.pullSchema2Layers (cyclomatic 30): puller.pullSchema2Layers has cyclomatic complexity 30 (threshold 15). Of this number, 29 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"distribution/pull_v2.go"},"region":{"startLine":547}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7db51b98af051752f342248d88a9849c086d3b04e6d9b0f77258ea7aa6075dd"}},{"ruleId":"D1","level":"warning","message":{"text":"tarAppender.addTarFile (cyclomatic 30): tarAppender.addTarFile has cyclomatic complexity 30 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/archive/archive.go"},"region":{"startLine":563}}}],"partialFingerprints":{"codehealthFindingId/v1":"70e2ccd15ea2acbf3b3adce26392c079a7bb867b8ac9faeaf76872a6722cecce"}},{"ruleId":"D1","level":"warning","message":{"text":"build.newImageBuildOptions (cyclomatic 29): build.newImageBuildOptions 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":"api/server/router/build/build_routes.go"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"097e5ebb24464ffe222e01cd1fde6516d9646eaf062c4b035ae0da00a13db387"}},{"ruleId":"D1","level":"warning","message":{"text":"Daemon.connectToNetwork (cyclomatic 29): Daemon.connectToNetwork has cyclomatic complexity 29 (threshold 15). Of this number, 27 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":"daemon/container_operations.go"},"region":{"startLine":642}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc8c54224d386dabdad8327ee89693d5b2dbc51a61fb57d6e98224b1cd00fbe0"}},{"ruleId":"D1","level":"warning","message":{"text":"Daemon.ContainerRename (cyclomatic 29): Daemon.ContainerRename has cyclomatic complexity 29 (threshold 15). Of this number, 21 points are the body\u0027s own statements and 8 belong to 4 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":"daemon/rename.go"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"c511deceb56ed26bdb17419057a9b93d4c1287f3fce5400ad43dc3f406b5c3a2"}},{"ruleId":"D1","level":"warning","message":{"text":"ImageService.ImagesPrune (cyclomatic 29): ImageService.ImagesPrune 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":"daemon/images/image_prune.go"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9fc0286621836b3a74c3266aae94a6d2ebcde1f0c9d3e13ed7a1de6cf544d1c"}},{"ruleId":"D1","level":"warning","message":{"text":"awslogs.ValidateLogOpt (cyclomatic 29): awslogs.ValidateLogOpt 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":"daemon/logger/awslogs/cloudwatchlogs.go"},"region":{"startLine":741}}}],"partialFingerprints":{"codehealthFindingId/v1":"12111ba17a7894542f967c7758259995d46de07fe2093c72c151e311faf24ae4"}},{"ruleId":"D1","level":"warning","message":{"text":"Daemon.containerStart (cyclomatic 28): Daemon.containerStart has cyclomatic complexity 28 (threshold 15). Of this number, 19 points are the body\u0027s own statements and 9 belong to 3 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/start.go"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"819c2af34c0a6eba450dad40bebc802f5147b425bc6f7c7160fe05bf650ae316"}},{"ruleId":"D1","level":"warning","message":{"text":"puller.pullTag (cyclomatic 28): puller.pullTag has cyclomatic complexity 28 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"distribution/pull_v2.go"},"region":{"startLine":284}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5d2e9b820806ef7611d2235cb161a101816a603982302b9f6540a43eb0fa107"}},{"ruleId":"D1","level":"warning","message":{"text":"saveSession.save (cyclomatic 28): saveSession.save has cyclomatic complexity 28 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"image/tarexport/save.go"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4ea59a02b215e0ea50418eba35306eb6e67e35b7d7d954dcd9dbf212a9481cf"}},{"ruleId":"D1","level":"warning","message":{"text":"driver.CreateEndpoint (cyclomatic 28): driver.CreateEndpoint has cyclomatic complexity 28 (threshold 15). Of this number, 27 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/drivers/windows/windows.go"},"region":{"startLine":601}}}],"partialFingerprints":{"codehealthFindingId/v1":"e46355d239279487e6df087f38cd4b3177012e00f21f0d5e7f34d9475d1a9692"}},{"ruleId":"D1","level":"warning","message":{"text":"ImageService.setupFilters (cyclomatic 27): ImageService.setupFilters has cyclomatic complexity 27 (threshold 15). Most of this is not in the body itself: 9 of the 27 points are its own statements and the rest belongs to 5 function literals inside it that branch (lines 322, 342, 402, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/containerd/image_list.go"},"region":{"startLine":320}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3a651695705517568f3d3084261d24bbc427b8f56db7c7cd83cd0e291c5e833"}},{"ruleId":"D1","level":"warning","message":{"text":"Daemon.create (cyclomatic 27): Daemon.create has cyclomatic complexity 27 (threshold 15). Of this number, 25 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/create.go"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6048355ebd472796486f7be3100480403fd5e78eb82d1c7bd493970edfcffd5"}},{"ruleId":"D1","level":"warning","message":{"text":"Daemon.ContainerExecStart (cyclomatic 27): Daemon.ContainerExecStart has cyclomatic complexity 27 (threshold 15). Of this number, 25 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":"daemon/exec.go"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"5301d0feb4182d72688e5a27ae15b7e816b4a67a66cf2e2a15eb375eae350e66"}},{"ruleId":"D1","level":"warning","message":{"text":"Controller.reservePools (cyclomatic 27): Controller.reservePools has cyclomatic complexity 27 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/controller.go"},"region":{"startLine":739}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6030a4874cf6d80dfc4b8c609a6674a1a85f5d15e1bb66f8dab43fcd5a811a4"}},{"ruleId":"D1","level":"warning","message":{"text":"Endpoint.sbLeave (cyclomatic 27): Endpoint.sbLeave has cyclomatic complexity 27 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/endpoint.go"},"region":{"startLine":661}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa83dee3168504ce53895b8b9e8d3241ec5b40ee4a16646b969ca96ddc45e263"}},{"ruleId":"D1","level":"warning","message":{"text":"driver.CreateNetwork (cyclomatic 27): driver.CreateNetwork has cyclomatic complexity 27 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/drivers/windows/overlay/ov_network_windows.go"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c034cd3b352f846d560210759c15255f420fdfba8a8be53a1338407e827c681"}},{"ruleId":"D1","level":"warning","message":{"text":"driver.Join (cyclomatic 26): driver.Join 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":"libnetwork/drivers/ipvlan/ipvlan_joinleave.go"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8d47986f5663e95c4e34c814b4633bfe6ad485f301cfe4dbdd10d9bea77803f"}},{"ruleId":"D1","level":"warning","message":{"text":"Network.createEndpoint (cyclomatic 26): Network.createEndpoint has cyclomatic complexity 26 (threshold 15). Of this number, 20 points are the body\u0027s own statements and 6 belong to 4 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":"libnetwork/network.go"},"region":{"startLine":1137}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c544c70888fd4b24d942a15044f860b0ad68de7cca371f6d35574ab3341ad60"}},{"ruleId":"D1","level":"warning","message":{"text":"dockerfile.dispatch (cyclomatic 25): dockerfile.dispatch has cyclomatic complexity 25 (threshold 15). Of this number, 22 points are the body\u0027s own statements and 3 belong to one function literal inside it that branches. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function taking that case\u0027s concrete type, so the dispatch reads one line per case. These arms are selected by TYPE rather than by value, so there is no key a lookup table could be built on; where you own the matched types, giving them one shared interface method and calling that is the form a table would have taken, and where you do not, keep the cases \u2014 they stay explicit and reviewable."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"builder/dockerfile/evaluator.go"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"2162545740b45d7beb644dddae616bfd621f99d453cf1b9774dc737243c87b5c"}},{"ruleId":"D1","level":"warning","message":{"text":"ImageService.ExportImage (cyclomatic 25): ImageService.ExportImage has cyclomatic complexity 25 (threshold 15). Of this number, 15 points are the body\u0027s own statements and 10 belong to 3 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/containerd/image_exporter.go"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"897119bfe7f6253edbfc0bfa16903e6360eb75b31413e7df7c8162db5336791f"}},{"ruleId":"D1","level":"warning","message":{"text":"ImageService.pruneUnused (cyclomatic 25): ImageService.pruneUnused has cyclomatic complexity 25 (threshold 15). Of this number, 23 points are the body\u0027s own statements and 2 belong to 2 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/containerd/image_prune.go"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"724ec2b2bec0ae67cd15b4fb7ed488dbe17f728fceae8c0991523d65824320d9"}},{"ruleId":"D1","level":"warning","message":{"text":"Info.ExtraAttributes (cyclomatic 25): Info.ExtraAttributes has cyclomatic complexity 25 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/logger/loginfo.go"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"32adf612188fbf6a50d9bc23abcb9e9612cd12c1b4f976719d14d53332209217"}},{"ruleId":"D1","level":"warning","message":{"text":"distribution.detectManifestBlobMediaType (cyclomatic 25): distribution.detectManifestBlobMediaType has cyclomatic complexity 25 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"distribution/manifest.go"},"region":{"startLine":262}}}],"partialFingerprints":{"codehealthFindingId/v1":"9457ff79864434316a71b8fbf3f94bf54b6249c80fef6ab1bba85985eead8d97"}},{"ruleId":"D1","level":"warning","message":{"text":"LayerDownloadManager.makeDownloadFunc (cyclomatic 25): LayerDownloadManager.makeDownloadFunc has cyclomatic complexity 25 (threshold 15). Most of this is not in the body itself: 1 of the 25 points is its own statement and the rest belongs to one function literal inside it that branches (line 239). 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":"distribution/xfer/download.go"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"787d98723e5556067fd0fd39532b6b8a7bfcca467fdb5ba3bb63b0932cf3c7b5"}},{"ruleId":"D1","level":"warning","message":{"text":"tarexporter.parseNames (cyclomatic 25): tarexporter.parseNames has cyclomatic complexity 25 (threshold 15). Of this number, 17 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":"image/tarexport/save.go"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"df02598ee04bd274c807c38a07f595e205b35d32ca0a4f3e5ae529390ccd7e57"}},{"ruleId":"D1","level":"warning","message":{"text":"driver.Join (cyclomatic 25): driver.Join has cyclomatic complexity 25 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/drivers/overlay/joinleave.go"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8b02a8af7831d73e450e762bf7a24fd0c8e3962417ada2dc3f0ee3b74b3eb20"}},{"ruleId":"D1","level":"warning","message":{"text":"Network.delete (cyclomatic 25): Network.delete has cyclomatic complexity 25 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/network.go"},"region":{"startLine":953}}}],"partialFingerprints":{"codehealthFindingId/v1":"bea538967bfac6962fe77074ab0676a388eb9632a86824652f521808763cb6bf"}},{"ruleId":"D1","level":"warning","message":{"text":"Manager.reload (cyclomatic 25): Manager.reload has cyclomatic complexity 25 (threshold 15). Most of this is not in the body itself: 8 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":"plugin/manager.go"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"d56513831f52acaf10de4939e937a1acd56acb84e747785046edeb00ab4978c3"}},{"ruleId":"D1","level":"warning","message":{"text":"linuxParser.validateMountConfigImpl (cyclomatic 25): linuxParser.validateMountConfigImpl has cyclomatic complexity 25 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"volume/mounts/linux_parser.go"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e84c042d837de109696e652173dcae0ace0bee8778fb51969be73ca0acca94d"}},{"ruleId":"D1","level":"warning","message":{"text":"windowsParser.validateMountConfigReg (cyclomatic 25): windowsParser.validateMountConfigReg has cyclomatic complexity 25 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"volume/mounts/windows_parser.go"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"53869468c251debc635ae9602af9a8cc8a274b171cb4fa083e9dd13041feef8d"}},{"ruleId":"D1","level":"warning","message":{"text":"Client.ContainerCreate (cyclomatic 24): Client.ContainerCreate has cyclomatic complexity 24 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/container_create.go"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"3281a066e18ebf28d52253e0678423ee05f9068a8259cc9eca830e7cb61223ee"}},{"ruleId":"D1","level":"warning","message":{"text":"daemon.WithNamespaces (cyclomatic 24): daemon.WithNamespaces has cyclomatic complexity 24 (threshold 15). Most of this is not in the body itself: 1 of the 24 points is its own statement and the rest belongs to one function literal inside it that branches (line 252). 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":"daemon/oci_linux.go"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8d24ffe9d39d48918f7bd33ce7a07e7687a35604870f7b90b9890db492352fd"}},{"ruleId":"D1","level":"warning","message":{"text":"Daemon.openContainerFS (cyclomatic 24): Daemon.openContainerFS has cyclomatic complexity 24 (threshold 15). Most of this is not in the body itself: 4 of the 24 points are its own statements and the rest belongs to 4 function literals inside it that branch (lines 82, 147, 60, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/containerfs_linux.go"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"f393701441d5dee024cf14fc79846fbca77bbbbd5b3af23ca12c05aa0c6501f8"}},{"ruleId":"D1","level":"warning","message":{"text":"Daemon.ProcessEvent (cyclomatic 24): Daemon.ProcessEvent 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":"daemon/monitor.go"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbae1be8442a54f340a3bc1c515867a893cb993ca0100a41c8af80e839ab2dfe"}},{"ruleId":"D1","level":"warning","message":{"text":"ImageService.ImageDelete (cyclomatic 24): ImageService.ImageDelete 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":"daemon/images/image_delete.go"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"995f3f54342e929d04c2024223bcb794805c2238bcab7133ae087d667502b459"}},{"ruleId":"D1","level":"warning","message":{"text":"Copier.copySrc (cyclomatic 24): Copier.copySrc 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":"daemon/logger/copier.go"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"a39500695cd1309210dc4aaf37f4f3a9de34a6009053e0664df85bc1301b190a"}},{"ruleId":"D1","level":"warning","message":{"text":"fluentd.parseConfig (cyclomatic 24): fluentd.parseConfig 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":"daemon/logger/fluentd/fluentd.go"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f27d2b96535be52fc06c466d7dd17fe325f84d0b2bd5fd57783d672aa014986"}},{"ruleId":"D1","level":"warning","message":{"text":"archive.changes (cyclomatic 24): archive.changes has cyclomatic complexity 24 (threshold 15). Most of this is not in the body itself: 3 of the 24 points are its own statements and the rest belongs to one function literal inside it that branches (line 122). 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":"pkg/archive/changes.go"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a23d11cf30fe51aea4d814733131b0b017d05e80b3dfb40e71aeb30e0434de7"}},{"ruleId":"D1","level":"warning","message":{"text":"systemRouter.getDiskUsage (cyclomatic 23): systemRouter.getDiskUsage has cyclomatic complexity 23 (threshold 15). Of this number, 21 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. To reduce it, 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":"api/server/router/system/system_routes.go"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"38fcbf9f192447c3e917f71e270aba17d2dc7b7346a2431b357b31117e51a861"}},{"ruleId":"D1","level":"warning","message":{"text":"imageExporterInstance.Export (cyclomatic 23): imageExporterInstance.Export 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":"builder/builder-next/exporter/mobyexporter/export.go"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c727626080a28f5975a6b06327db2997df039f983c4948763ce8cc310b0ea58"}},{"ruleId":"D1","level":"warning","message":{"text":"dockerd.loadDaemonCliConfig (cyclomatic 23): dockerd.loadDaemonCliConfig has cyclomatic complexity 23 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/dockerd/daemon.go"},"region":{"startLine":510}}}],"partialFingerprints":{"codehealthFindingId/v1":"363eafd8f5cb4d54c92f2a6d6b75feebe3e2c914914dc24225c7fdccae571df2"}},{"ruleId":"D1","level":"warning","message":{"text":"network.FilterNetworks (cyclomatic 23): network.FilterNetworks has cyclomatic complexity 23 (threshold 15). Of this number, 22 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/network/filter.go"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"131bb6688bd5aeee734b86755d971301156f721e3bd374bbd6c80e5779d09a6d"}},{"ruleId":"D1","level":"warning","message":{"text":"PortMapper.MapRange (cyclomatic 23): PortMapper.MapRange has cyclomatic complexity 23 (threshold 15). Of this number, 20 points are the body\u0027s own statements and 3 belong to 3 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/portmapper/mapper.go"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"d759eec227697101aab93923d37a0df352286d5eec857177ae212668ccdad51a"}},{"ruleId":"D1","level":"warning","message":{"text":"Sandbox.setupDNS (cyclomatic 23): Sandbox.setupDNS 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":"libnetwork/sandbox_dns_unix.go"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"59f1b30101c97ab7f3bd04fa884ee7df1576962e6d12555f946e46dd1cb1d810"}},{"ruleId":"D1","level":"warning","message":{"text":"Driver.Remove (cyclomatic 23): Driver.Remove 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":"daemon/graphdriver/windows/windows.go"},"region":{"startLine":265}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d967d713cf49187b7478e82357334d106dc857d47e40f764d968010e61a56e6"}},{"ruleId":"D1","level":"warning","message":{"text":"driver.CreateNetwork (cyclomatic 23): driver.CreateNetwork has cyclomatic complexity 23 (threshold 15). Of this number, 22 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/drivers/windows/windows.go"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1efca6335cbe1b9ee393f0fc3429877a49ccfe8cd99e69c05661e0f31b59416"}},{"ruleId":"D1","level":"warning","message":{"text":"imageRouter.postImagesCreate (cyclomatic 22): imageRouter.postImagesCreate has cyclomatic complexity 22 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/router/image/image_routes.go"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff844ddd0e8e494f3d31783021799a8a22e8180837b90cfa135ea5529fff3cd8"}},{"ruleId":"D1","level":"warning","message":{"text":"Daemon.containerAttach (cyclomatic 22): Daemon.containerAttach 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":"daemon/attach.go"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"c524e1c36f702ba8aa79e446aa132aebb796979523b3287af4095a1ee62c7fc9"}},{"ruleId":"D1","level":"warning","message":{"text":"Daemon.ContainerStats (cyclomatic 22): Daemon.ContainerStats has cyclomatic complexity 22 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/stats.go"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"2abaebed911088f3ec0256510ff340b58ea1d46ecf378c902276ce78dade3611"}},{"ruleId":"D1","level":"warning","message":{"text":"errdefs.FromStatusCode (cyclomatic 22): errdefs.FromStatusCode has cyclomatic complexity 22 (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":"errdefs/http_helpers.go"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"62cd5c58bfca82730a8e33747a0a33c730977c818b21053ff822445673152ac6"}},{"ruleId":"D1","level":"warning","message":{"text":"remote.monitorDaemon (cyclomatic 22): remote.monitorDaemon 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":"libcontainerd/supervisor/remote_daemon.go"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c9f73e372f2009503523e828a175d73a6b0fb12f33b83bea8a3bd0ade4409ab"}},{"ruleId":"D1","level":"warning","message":{"text":"networkConfiguration.fromLabels (cyclomatic 22): networkConfiguration.fromLabels has cyclomatic complexity 22 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/drivers/bridge/bridge_linux.go"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"9db22dd56cb93f8ae8a7cd2417d63843fcd6d102dd52fe5d7973c1f38ac2c9b4"}},{"ruleId":"D1","level":"warning","message":{"text":"driver.link (cyclomatic 22): driver.link has cyclomatic complexity 22 (threshold 15). Of this number, 20 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/drivers/bridge/bridge_linux.go"},"region":{"startLine":1456}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ba924e0d82c1f78903c4e6894cb7ba484dcae207dd3d0182c9a8b0f6329ab6d"}},{"ruleId":"D1","level":"warning","message":{"text":"driver.CreateNetwork (cyclomatic 22): driver.CreateNetwork has cyclomatic complexity 22 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/drivers/overlay/ov_network.go"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"8518464bb929215ee82969fe8b6a45dfcc0118bdd3c7d07715c3b08345c1bbec"}},{"ruleId":"D1","level":"warning","message":{"text":"Resolver.serveDNS (cyclomatic 22): Resolver.serveDNS has cyclomatic complexity 22 (threshold 15). Of this number, 19 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":"libnetwork/resolver.go"},"region":{"startLine":354}}}],"partialFingerprints":{"codehealthFindingId/v1":"234cf5ea9e44eb0a23f864112ce450eeab28ec181a8df8cb0f14e10c27c8962d"}},{"ruleId":"D1","level":"warning","message":{"text":"specconv.toRootless (cyclomatic 22): specconv.toRootless has cyclomatic complexity 22 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/rootless/specconv/specconv_linux.go"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"54ddb01478f144604e65a1669e2540a0ab0f45f4e005906395bcb9ed101ebd38"}},{"ruleId":"D1","level":"warning","message":{"text":"tarSum.Read (cyclomatic 22): tarSum.Read has cyclomatic complexity 22 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/tarsum/tarsum.go"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fcb1a8161e0aa484189092b856f2710b93a48a950d5b988ddb51ca59f9f1c70"}},{"ruleId":"D1","level":"warning","message":{"text":"VolumeStore.filter (cyclomatic 22): VolumeStore.filter has cyclomatic complexity 22 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"volume/service/store.go"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f6c5540a9688248e1cfd59e1c5c51f41a0eee44bf552ccb341d114ad40eaa9b"}},{"ruleId":"D1","level":"warning","message":{"text":"ssd.check_network (cyclomatic 22): ssd.check_network has cyclomatic complexity 22 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/cmd/ssd/ssd.py"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"414d362a86c8379d82a51c198f9327b41878a64fa4a0c1d917792ae55dd2b602"}},{"ruleId":"D1","level":"warning","message":{"text":"buildkit.newGraphDriverController (cyclomatic 21): buildkit.newGraphDriverController has cyclomatic complexity 21 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"builder/builder-next/controller.go"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"d61f9ed38963d611dfcc3c4b6be82e689d8e07eaef561c3022be05ad49e09512"}},{"ruleId":"D1","level":"warning","message":{"text":"Client.imageBuildOptionsToQuery (cyclomatic 21): Client.imageBuildOptionsToQuery has cyclomatic complexity 21 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/image_build.go"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"23e7c4b45163e2c657ebd2a82444b7a6888461db9fdea9db43efdd687ff7cb28"}},{"ruleId":"D1","level":"warning","message":{"text":"daemon.buildCreateEndpointOptions (cyclomatic 21): daemon.buildCreateEndpointOptions 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":"daemon/network.go"},"region":{"startLine":612}}}],"partialFingerprints":{"codehealthFindingId/v1":"762b808522b7c93605120fddf1c03932f54a8da1ad931005291466a787dc6063"}},{"ruleId":"D1","level":"warning","message":{"text":"ImageService.pullTag (cyclomatic 21): ImageService.pullTag has cyclomatic complexity 21 (threshold 15). Most of this is not in the body itself: 10 of the 21 points are its own statements and the rest belongs to 3 function literals inside it that branch (lines 116, 84, 96). 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":"daemon/containerd/image_pull.go"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"be69b106f05dab7220d3b26bd71da2e2ee952586a19d0bf5dcc6d0e2d3ac9838"}},{"ruleId":"D1","level":"warning","message":{"text":"Daemon.createNetwork (cyclomatic 21): Daemon.createNetwork has cyclomatic complexity 21 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/network.go"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"648ae18da4a0aa6d14d8b9fd479c751c3d0e1bfbafd865cdbd8d783447f6647d"}},{"ruleId":"D1","level":"warning","message":{"text":"Driver.Get (cyclomatic 21): Driver.Get has cyclomatic complexity 21 (threshold 15). Of this number, 16 points are the body\u0027s own statements and 5 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":"daemon/graphdriver/overlay2/overlay.go"},"region":{"startLine":515}}}],"partialFingerprints":{"codehealthFindingId/v1":"b26198b062cf9b6da88082a6499c932338ac8dc7c1fe81a8130c1c63b4c6252a"}},{"ruleId":"D1","level":"warning","message":{"text":"gelf.ValidateLogOpt (cyclomatic 21): gelf.ValidateLogOpt 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":"daemon/logger/gelf/gelf.go"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"01995eb354e9a24f66310690aa238d341c64b70b35d1e33011e2338e89dcd4e9"}},{"ruleId":"D1","level":"warning","message":{"text":"pusher.pushTag (cyclomatic 21): pusher.pushTag 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":"distribution/push_v2.go"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"84056f6c7188d2891ebc1325bed96da359bc2de1d656b59391614e36295eed4a"}},{"ruleId":"D1","level":"warning","message":{"text":"tarexporter.legacyLoadImage (cyclomatic 21): tarexporter.legacyLoadImage 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":"image/tarexport/load.go"},"region":{"startLine":311}}}],"partialFingerprints":{"codehealthFindingId/v1":"857685fdfabb327f7fa7ba81cf7b11502d7e0877e5c1b07fe500d127dfa4954d"}},{"ruleId":"D1","level":"warning","message":{"text":"Controller.handleKeyChange (cyclomatic 21): Controller.handleKeyChange has cyclomatic complexity 21 (threshold 15). Of this number, 18 points are the body\u0027s own statements and 3 belong to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/agent.go"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"a46f45690ced6b0013fdc2d315725d42c4c423a58923890cd5c5463e2a96655c"}},{"ruleId":"D1","level":"warning","message":{"text":"Controller.handleEpTableEvent (cyclomatic 21): Controller.handleEpTableEvent 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":"libnetwork/agent.go"},"region":{"startLine":902}}}],"partialFingerprints":{"codehealthFindingId/v1":"911aa13b8036f089572e474ad923939213eaa6d8bef841e5b03ae2488bdface7"}},{"ruleId":"D1","level":"warning","message":{"text":"Controller.sandboxCleanup (cyclomatic 21): Controller.sandboxCleanup 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":"libnetwork/sandbox_store.go"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd06e4924ab537b278903faaa394f79849666db23be27ca5cbcc550f1036621c"}},{"ruleId":"D1","level":"warning","message":{"text":"Network.validateConfiguration (cyclomatic 21): Network.validateConfiguration 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":"libnetwork/network.go"},"region":{"startLine":345}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d7f384f78466919de99f170db129ea84ba5d3c35d4bf232ada9d59df4206b84"}},{"ruleId":"D1","level":"warning","message":{"text":"Namespace.Restore (cyclomatic 21): Namespace.Restore 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":"libnetwork/osl/namespace_linux.go"},"region":{"startLine":483}}}],"partialFingerprints":{"codehealthFindingId/v1":"bba8116135afcbb472c53a41300fdf78d5963fe49e6d59a0c2bf83b35ab2ed36"}},{"ruleId":"D1","level":"warning","message":{"text":"Plugin.Set (cyclomatic 21): Plugin.Set 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":"plugin/v2/plugin.go"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea9263a6b729a6db1765914c84272d37e412eebfa821303dbd0a2989428500b3"}},{"ruleId":"D1","level":"warning","message":{"text":"httpstatus.FromError (cyclomatic 20): httpstatus.FromError has cyclomatic complexity 20 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/httpstatus/status.go"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad015857e7d27b925380d86c03a6358e40bc67259800ba32d51058d09567765f"}},{"ruleId":"D1","level":"warning","message":{"text":"time.GetTimestamp (cyclomatic 20): time.GetTimestamp 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":"api/types/time/timestamp.go"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc77cb5a2a060b5a58b59b0e3b86c63a595149f65cdb709fa5ca9ebfd8448064"}},{"ruleId":"D1","level":"warning","message":{"text":"Config.CopyStreams (cyclomatic 20): Config.CopyStreams has cyclomatic complexity 20 (threshold 15). Most of this is not in the body itself: 4 of the 20 points are its own statements and the rest belongs to 3 function literals inside it that branch (lines 65, 134, 100). 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":"container/stream/attach.go"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f2d068333e491833d8c060b92532bd5a5d5d60dcb87be35dac545050711bd6c"}},{"ruleId":"D1","level":"warning","message":{"text":"View.transform (cyclomatic 20): View.transform 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":"container/view.go"},"region":{"startLine":301}}}],"partialFingerprints":{"codehealthFindingId/v1":"b334fc881444dee7c03338552b3c22d5df330de8959cbb43549f30ba4aceca03"}},{"ruleId":"D1","level":"warning","message":{"text":"ImageService.createDiff (cyclomatic 20): ImageService.createDiff 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":"daemon/containerd/image_commit.go"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"0927155a4673d363781a4a778c74a2a0ea9c28dd28d199b130425c7d319e3dda"}},{"ruleId":"D1","level":"warning","message":{"text":"graphtest.DriverTestDiffApply (cyclomatic 20): graphtest.DriverTestDiffApply has cyclomatic complexity 20 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/graphdriver/graphtest/graphtest_unix.go"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"8df4869804e0c1e5d94e6573362e01debc80f526f5529b789c02507a376ec9fd"}},{"ruleId":"D1","level":"warning","message":{"text":"overlay2.doesSupportNativeDiff (cyclomatic 20): overlay2.doesSupportNativeDiff has cyclomatic complexity 20 (threshold 15). Of this number, 18 points are the body\u0027s own statements and 2 belong to 2 function literals inside it that branch. To reduce it, split the body: 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":"daemon/graphdriver/overlay2/check.go"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"78ea4fa34c837acc8614b1d191ad88c1f99056e3d55d394521a74a5a29a4ad3e"}},{"ruleId":"D1","level":"warning","message":{"text":"jsonlog.ffjsonWriteJSONBytesAsString (cyclomatic 20): jsonlog.ffjsonWriteJSONBytesAsString 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":"daemon/logger/jsonfilelog/jsonlog/jsonlogbytes.go"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"704e89d11c7473c55c216ae60bbf99eddcf3919b144daaef037b6ec583fbb483"}},{"ruleId":"D1","level":"warning","message":{"text":"loggerutils.volumeName (cyclomatic 20): loggerutils.volumeName 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":"daemon/logger/loggerutils/file_windows.go"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7e813c0a9f5f279171113b570e8eaa3e8f0ec1f5c7bbb25efde7c866d525831"}},{"ruleId":"D1","level":"warning","message":{"text":"cnmNetworkAllocator.IsServiceAllocated (cyclomatic 20): cnmNetworkAllocator.IsServiceAllocated 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":"libnetwork/cnmallocator/networkallocator.go"},"region":{"startLine":351}}}],"partialFingerprints":{"codehealthFindingId/v1":"b45ac32ac02f9d0eb5086bae5af62d65e05166bb8cd15ff4e94ea4578c04a227"}},{"ruleId":"D1","level":"warning","message":{"text":"driver.updateKeys (cyclomatic 20): driver.updateKeys 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":"libnetwork/drivers/overlay/encryption.go"},"region":{"startLine":466}}}],"partialFingerprints":{"codehealthFindingId/v1":"7dd7102b68832c7aa936b5835530e1efc803b2b94fdfbb8dd395940b9139246e"}},{"ruleId":"D1","level":"warning","message":{"text":"Network.ipamAllocateVersion (cyclomatic 20): Network.ipamAllocateVersion has cyclomatic complexity 20 (threshold 15). Of this number, 18 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":"libnetwork/network.go"},"region":{"startLine":1565}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8f2e9571ace6600cab493a547477a38c901d7e8410d484c5baeab0dc454e74b"}},{"ruleId":"D1","level":"warning","message":{"text":"Network.addLBBackend (cyclomatic 20): Network.addLBBackend 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":"libnetwork/service_linux.go"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"da3d22a78d9d0db394a8b603f731fcf3811b45e187a635988ee0811f469b2ff0"}},{"ruleId":"D1","level":"warning","message":{"text":"NetworkDB.handleTableEvent (cyclomatic 20): NetworkDB.handleTableEvent 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":"libnetwork/networkdb/delegate.go"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"f823db4d3dc0143460ae8e2d0ffe6131b970cf42a8b6c11a16abf1006adb8881"}},{"ruleId":"D1","level":"warning","message":{"text":"requestReader.Read (cyclomatic 20): requestReader.Read has cyclomatic complexity 20 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"registry/resumable/resumablerequestreader.go"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccfaa1d3b98b3a76c8bbefdce1183aab3dde36ece4da6c2ea2e879734c9c1694"}},{"ruleId":"D1","level":"warning","message":{"text":"VolumeStore.getVolume (cyclomatic 20): VolumeStore.getVolume 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":"volume/service/store.go"},"region":{"startLine":680}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ad08572c565157ee7b4554b350b5452f031cc16a27d31abc4487388b61de76d"}},{"ruleId":"D1","level":"warning","message":{"text":"driver.CreateEndpoint (cyclomatic 20): driver.CreateEndpoint 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, 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":"libnetwork/drivers/windows/overlay/ov_endpoint_windows.go"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d0a08582bb520ab5e63ec0f30334dc46c5ef9a46870713a4d89b2aea9e3000f"}},{"ruleId":"D1","level":"warning","message":{"text":"driver.parseNetworkOptions (cyclomatic 20): driver.parseNetworkOptions 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":"libnetwork/drivers/windows/windows.go"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"dccdfd4a48bd1c927deec4ef543fc6bfa244156047f93d4f5fde80c2c4ec986c"}},{"ruleId":"D1","level":"warning","message":{"text":"Daemon.allocateNetwork (cyclomatic 19): Daemon.allocateNetwork has cyclomatic complexity 19 (threshold 15). Of this number, 18 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":"daemon/container_operations.go"},"region":{"startLine":438}}}],"partialFingerprints":{"codehealthFindingId/v1":"56fb1c6ee00b823a9847bfc8745e3ecb17fdf2c7e6088a172a6021839df92e18"}},{"ruleId":"D1","level":"warning","message":{"text":"overlay2.Init (cyclomatic 19): overlay2.Init has cyclomatic complexity 19 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/graphdriver/overlay2/overlay.go"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"96208cb5ba73aba2de6b9716d92a00286f9eb63fe745c64cbab7af6aa3344a44"}},{"ruleId":"D1","level":"warning","message":{"text":"client.processEventStream (cyclomatic 19): client.processEventStream 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":"libcontainerd/remote/client.go"},"region":{"startLine":604}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2cdf66ec90b2d600093f30c3233b60491a8e7a7a3774d3587ca1d03019c0b40"}},{"ruleId":"D1","level":"warning","message":{"text":"cnmNetworkAllocator.AllocateService (cyclomatic 19): cnmNetworkAllocator.AllocateService has cyclomatic complexity 19 (threshold 15). Of this number, 18 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":"libnetwork/cnmallocator/networkallocator.go"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"a50764ec772960d419263c4fd746da1146ce26bb0195f89ab629e89e97a89b8a"}},{"ruleId":"D1","level":"warning","message":{"text":"driver.Join (cyclomatic 19): driver.Join 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":"libnetwork/drivers/macvlan/macvlan_joinleave.go"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ba60bd8a2328fb97fc7e676c91d6cf1570d799e7891387f92d65ffdd09495ed"}},{"ruleId":"D1","level":"warning","message":{"text":"Endpoint.UnmarshalJSON (cyclomatic 19): Endpoint.UnmarshalJSON 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":"libnetwork/endpoint.go"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"37b446b1faece487b90cfef1d326b75503674884dbabb988a5958f684411e2dd"}},{"ruleId":"D1","level":"warning","message":{"text":"RestartManager.ShouldRestart (cyclomatic 19): RestartManager.ShouldRestart has cyclomatic complexity 19 (threshold 15). Of this number, 16 points are the body\u0027s own statements and 3 belong to 2 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":"restartmanager/restartmanager.go"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ed196930464e4fcc9fd93c6250c49484f33efb9468e13857cbea5912cc57f07"}},{"ruleId":"D1","level":"warning","message":{"text":"daemon.NewDaemon (cyclomatic 19): daemon.NewDaemon 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":"testutil/daemon/daemon.go"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"76d6905867ec08cbdff85657dc6d70aa9233468ba911e335aa585b45a2154238"}},{"ruleId":"D1","level":"warning","message":{"text":"containerRouter.postContainerExecStart (cyclomatic 18): containerRouter.postContainerExecStart has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/router/container/exec.go"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d021ba708d1af2d6085fcdb974cb77d9afe644a94fa314b9dd16bc59171dce0"}},{"ruleId":"D1","level":"warning","message":{"text":"mobyexporter.normalizeLayersAndHistory (cyclomatic 18): mobyexporter.normalizeLayersAndHistory has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"builder/builder-next/exporter/mobyexporter/writer.go"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ddc12caca71ba767a574fb3eaddcb03e9fdfa9ea2cb94dca005a8992d0325f5"}},{"ruleId":"D1","level":"warning","message":{"text":"Client.doRequest (cyclomatic 18): Client.doRequest has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/request.go"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"597bced633152155ff2fba7bcdcb33c263523cb5bf1d6669d553c73607d2d158"}},{"ruleId":"D1","level":"warning","message":{"text":"dockerd.loadListeners (cyclomatic 18): dockerd.loadListeners has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/dockerd/daemon.go"},"region":{"startLine":810}}}],"partialFingerprints":{"codehealthFindingId/v1":"81884cfcaed454126e5368a083fcfc3000a4f339c846fdd270e8922bd0462c85"}},{"ruleId":"D1","level":"warning","message":{"text":"daemon.handleProbeResult (cyclomatic 18): daemon.handleProbeResult has cyclomatic complexity 18 (threshold 15). Of this number, 15 points are the body\u0027s own statements and 3 belong to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/health.go"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e35ea1752a7fc5d9d5362555801308b8fa44e4d174a720adde0bdec96aeba3b"}},{"ruleId":"D1","level":"warning","message":{"text":"daemon.withCommonOptions (cyclomatic 18): daemon.withCommonOptions has cyclomatic complexity 18 (threshold 15). Most of this is not in the body itself: 1 of the 18 points is its own statement and the rest belongs to one function literal inside it that branches (line 756). 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":"daemon/oci_linux.go"},"region":{"startLine":755}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e6296feaf4c8cddb66bc86a77a0edb8737dd74f0eedf5cf7bd8bc71d85ca0f6"}},{"ruleId":"D1","level":"warning","message":{"text":"ImageService.resolveImage (cyclomatic 18): ImageService.resolveImage has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/containerd/image.go"},"region":{"startLine":276}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4e58bc20b4625f57435ecffe13ed6503c9b5b1ccfacad91aa82067906361121"}},{"ruleId":"D1","level":"warning","message":{"text":"Daemon.containerExtractToDir (cyclomatic 18): Daemon.containerExtractToDir 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":"daemon/archive_unix.go"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"294b8d79b27303598e3a36d4992c13a7dfefe90d8367f17483907625e2f8bf5e"}},{"ruleId":"D1","level":"warning","message":{"text":"Daemon.generateSecurityOpt (cyclomatic 18): Daemon.generateSecurityOpt has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/create.go"},"region":{"startLine":277}}}],"partialFingerprints":{"codehealthFindingId/v1":"10a8919d884e4af8dcd6a129740a72bc9aff99856d0d9f474e758a3fc74f3ad6"}},{"ruleId":"D1","level":"warning","message":{"text":"Daemon.setWindowsCredentialSpec (cyclomatic 18): Daemon.setWindowsCredentialSpec has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/oci_windows.go"},"region":{"startLine":342}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3b94b07a47d4e8b00f04caf50316b4c489bb068cc64b99e390f7a05f8981ce5"}},{"ruleId":"D1","level":"warning","message":{"text":"Driver.Get (cyclomatic 18): Driver.Get has cyclomatic complexity 18 (threshold 15). Of this number, 12 points are the body\u0027s own statements and 6 belong to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/graphdriver/fuse-overlayfs/fuseoverlayfs.go"},"region":{"startLine":301}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd4acf38f77e9895c6c334911ccf88d7c39bb065bde1f784931fd1ae219c9bd8"}},{"ruleId":"D1","level":"warning","message":{"text":"Driver.create (cyclomatic 18): Driver.create has cyclomatic complexity 18 (threshold 15). Of this number, 17 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/graphdriver/overlay2/overlay.go"},"region":{"startLine":347}}}],"partialFingerprints":{"codehealthFindingId/v1":"db37698b5024cbe63d68da83a574939fe57ed6f43e6400e9790d851e9b611424"}},{"ruleId":"D1","level":"warning","message":{"text":"jsonfilelog.New (cyclomatic 18): jsonfilelog.New has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/logger/jsonfilelog/jsonfilelog.go"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"506f93936ad135bbad78e83da37536d536e3a0fee72d26735aff715eab549a19"}},{"ruleId":"D1","level":"warning","message":{"text":"loggerutils.fixLongPath (cyclomatic 18): loggerutils.fixLongPath has cyclomatic complexity 18 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/logger/loggerutils/file_windows.go"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8ff0d1687d72a22275fb77c41543534bd23613f18fe5be7da506f5490924f1c"}},{"ruleId":"D1","level":"warning","message":{"text":"pushDescriptor.layerAlreadyExists (cyclomatic 18): pushDescriptor.layerAlreadyExists has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"distribution/push_v2.go"},"region":{"startLine":531}}}],"partialFingerprints":{"codehealthFindingId/v1":"560c3f5732f1e589118d9af43039485666574616359d734f28dd6e47c6899ef9"}},{"ruleId":"D1","level":"warning","message":{"text":"cache.getLocalCachedImage (cyclomatic 18): cache.getLocalCachedImage has cyclomatic complexity 18 (threshold 15). Most of this is not in the body itself: 7 of the 18 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 239, 226). 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":"image/cache/cache.go"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"73ac2786af4e0e899da25187424d5d4f8c62db6582896b76577347f2b0113de5"}},{"ruleId":"D1","level":"warning","message":{"text":"saveSession.saveConfigAndLayer (cyclomatic 18): saveSession.saveConfigAndLayer 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":"image/tarexport/save.go"},"region":{"startLine":460}}}],"partialFingerprints":{"codehealthFindingId/v1":"a68c33f9074447a5296f20187d0ad60b0e4d8a94482dd5f7e0a814575f7e4fa4"}},{"ruleId":"D1","level":"warning","message":{"text":"driver.EventNotify (cyclomatic 18): driver.EventNotify 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":"libnetwork/drivers/overlay/joinleave.go"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"00f7233d565f12cf0cd4c1cddeb285a3c83a1a958f4dd4a22650abbdc4a3c2ba"}},{"ruleId":"D1","level":"warning","message":{"text":"Namespace.AddInterface (cyclomatic 18): Namespace.AddInterface has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/osl/interface_linux.go"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c0eb5a8a7620a1bdc98ad46105a60215fc7816c36fbcd0e5df7ef13df726960"}},{"ruleId":"D1","level":"warning","message":{"text":"LocalRegistry.Scan (cyclomatic 18): LocalRegistry.Scan has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/plugins/discovery.go"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"eaa4cc1a86768f5e25e86f1f307bdbe44ac5cb253e6137dd2869ff392abdc2f9"}},{"ruleId":"D1","level":"warning","message":{"text":"stdcopy.StdCopy (cyclomatic 18): stdcopy.StdCopy has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/stdcopy/stdcopy.go"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3cfdab71574109d925ecdf040cb1c390e6f71298860dbec5d1d220b5947f301"}},{"ruleId":"D1","level":"warning","message":{"text":"ContainerConfigWrapper.getHostConfig (cyclomatic 18): ContainerConfigWrapper.getHostConfig has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"runconfig/config_unix.go"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e5424b1d4f83436e228074297b652753a108bd2d24df1b4f54017566f262e33"}},{"ruleId":"D1","level":"warning","message":{"text":"Driver.create (cyclomatic 18): Driver.create has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/graphdriver/windows/windows.go"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"28e41d8dd93bf2b5298079052a5d90bf60d46827934e65d17c6dea50cbeb3920"}},{"ruleId":"D1","level":"warning","message":{"text":"driver.EventNotify (cyclomatic 18): driver.EventNotify 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":"libnetwork/drivers/windows/overlay/joinleave_windows.go"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"3aa2ed32682047322ab457202a6992346c0ece9e8f497f168d20e8d102ddd5b8"}},{"ruleId":"D1","level":"warning","message":{"text":"container.handleMACAddressBC (cyclomatic 17): container.handleMACAddressBC 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":"api/server/router/container/container_routes.go"},"region":{"startLine":675}}}],"partialFingerprints":{"codehealthFindingId/v1":"d91bd1db658c9548da36e61f059dc11df1cd60b99cf0b39295c0d9a69b87dfa9"}},{"ruleId":"D1","level":"warning","message":{"text":"distributionRouter.fetchManifest (cyclomatic 17): distributionRouter.fetchManifest 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":"api/server/router/distribution/distribution_routes.go"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"83739f3894644f0e911d8f638b618ff5a25b5d9b16183ca6d85c1c23132d4183"}},{"ruleId":"D1","level":"warning","message":{"text":"systemRouter.getEvents (cyclomatic 17): systemRouter.getEvents 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":"api/server/router/system/system_routes.go"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"148e931f6e37be5252778c2ee30ba2a4de62327d719f4f94da2a212b85797b2e"}},{"ruleId":"D1","level":"warning","message":{"text":"copier.calcCopyInfo (cyclomatic 17): copier.calcCopyInfo 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":"builder/dockerfile/copy.go"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"789938996ffe30783423bb2ed19641424047594830dab0b13b69759124afb9ab"}},{"ruleId":"D1","level":"warning","message":{"text":"daemon.validateEndpointSettings (cyclomatic 17): daemon.validateEndpointSettings 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":"daemon/container_operations.go"},"region":{"startLine":523}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2c13d62767beb3d7c26277709ff3e42fc45056d516c68f45b6089dc0e4ace5b"}},{"ruleId":"D1","level":"warning","message":{"text":"daemon.parseRemappedRoot (cyclomatic 17): daemon.parseRemappedRoot 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":"daemon/daemon_unix.go"},"region":{"startLine":1096}}}],"partialFingerprints":{"codehealthFindingId/v1":"b87b094f23ac6836486be28f2ec19ed5f6ee7290afdde5b1f74d461b4d554212"}},{"ruleId":"D1","level":"warning","message":{"text":"config.Validate (cyclomatic 17): config.Validate has cyclomatic complexity 17 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/config/config.go"},"region":{"startLine":637}}}],"partialFingerprints":{"codehealthFindingId/v1":"809cceab943a8354444f02e62a08526869fa637e0a6a5479b08c66a19d2325a2"}},{"ruleId":"D1","level":"warning","message":{"text":"localCache.GetCache (cyclomatic 17): localCache.GetCache 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":"daemon/containerd/cache.go"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fe4f5055a61de57847e4618281d26ce6125f71e8380ecd6cab4d467d58d1955"}},{"ruleId":"D1","level":"warning","message":{"text":"ImageService.GetImageAndReleasableLayer (cyclomatic 17): ImageService.GetImageAndReleasableLayer 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":"daemon/containerd/image_builder.go"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"8387179fb84042a0f2e97cada72b4ff5f26a6e436a07913a835647f9b7432fc4"}},{"ruleId":"D1","level":"warning","message":{"text":"Daemon.updateContainerNetworkSettings (cyclomatic 17): Daemon.updateContainerNetworkSettings has cyclomatic complexity 17 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/container_operations.go"},"region":{"startLine":362}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1c0f9f7205730bed0df56f776eb3f20fafe17fb4a4daa67435adedb6836f624"}},{"ruleId":"D1","level":"warning","message":{"text":"Daemon.containerCreate (cyclomatic 17): Daemon.containerCreate has cyclomatic complexity 17 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/create.go"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdc7dbb68a0890bae91b38832aea5021b4ecd566083420823509c184df4e3eb5"}},{"ruleId":"D1","level":"warning","message":{"text":"Daemon.cleanupContainer (cyclomatic 17): Daemon.cleanupContainer 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":"daemon/delete.go"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb14ef2a28970996cf7796321fc4fcabc611383b5f9a8342f8b58b1b153293d1"}},{"ruleId":"D1","level":"warning","message":{"text":"Driver.Create (cyclomatic 17): Driver.Create 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":"daemon/graphdriver/btrfs/btrfs.go"},"region":{"startLine":487}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bdddf2bb12bb0d2c3b428e8c96b8f103edf39013cce2353eb201cbd39f62e1b"}},{"ruleId":"D1","level":"warning","message":{"text":"LayerDownloadManager.Download (cyclomatic 17): LayerDownloadManager.Download has cyclomatic complexity 17 (threshold 15). Of this number, 15 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":"distribution/xfer/download.go"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"20f8a10bdae64fc818587c7672a51d1b9526a9f41ec69572b91e1fc92a72bcd7"}},{"ruleId":"D1","level":"warning","message":{"text":"Controller.NewSandbox (cyclomatic 17): Controller.NewSandbox has cyclomatic complexity 17 (threshold 15). Of this number, 14 points are the body\u0027s own statements and 3 belong to 2 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/controller.go"},"region":{"startLine":884}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cd939037330e2a2edacd6b2ca3472003904d11a16f31165f4edeff2a2f10f74"}},{"ruleId":"D1","level":"warning","message":{"text":"driver.configure (cyclomatic 17): driver.configure has cyclomatic complexity 17 (threshold 15). Of this number, 15 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":"libnetwork/drivers/bridge/bridge_linux.go"},"region":{"startLine":395}}}],"partialFingerprints":{"codehealthFindingId/v1":"df24dcdeedc6c495089880f3b887e0202f86578a6e718cfd00d957342c35a3ab"}},{"ruleId":"D1","level":"warning","message":{"text":"Endpoint.Delete (cyclomatic 17): Endpoint.Delete has cyclomatic complexity 17 (threshold 15). Of this number, 14 points are the body\u0027s own statements and 3 belong to one function literal inside it that branches. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/endpoint.go"},"region":{"startLine":775}}}],"partialFingerprints":{"codehealthFindingId/v1":"cab241396f53274df706c726b1379edc84a14ed9c168a53063ae1a94538931c1"}},{"ruleId":"D1","level":"warning","message":{"text":"NetworkDB.Watch (cyclomatic 17): NetworkDB.Watch has cyclomatic complexity 17 (threshold 15). Most of this is not in the body itself: 7 of the 17 points are its own statements and the rest belongs to 3 function literals inside it that branch (lines 61, 95, 116). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/networkdb/watch.go"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6d6e31cf3d3285c266efd9fba49299d01f7e836d8c334c33510134faad2a86f"}},{"ruleId":"D1","level":"warning","message":{"text":"Sandbox.delete (cyclomatic 17): Sandbox.delete has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/sandbox.go"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"efe36fa4a9e0e9ee075de5032824ae6dee2afe1bfb7a753d6c9c3ea12e43caeb"}},{"ruleId":"D1","level":"warning","message":{"text":"Sandbox.clearNetworkResources (cyclomatic 17): Sandbox.clearNetworkResources 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":"libnetwork/sandbox.go"},"region":{"startLine":589}}}],"partialFingerprints":{"codehealthFindingId/v1":"521da68acfb62b17bb96cb0d627cb78f1f58148e1572844119d215e825e31b0b"}},{"ruleId":"D1","level":"warning","message":{"text":"runconfig.validateNetContainerMode (cyclomatic 17): runconfig.validateNetContainerMode has cyclomatic complexity 17 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"runconfig/hostconfig.go"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f53a1e4e5f17f819d7db79510eccc9a179038386be4a633fa4f44822efb780d"}},{"ruleId":"D1","level":"warning","message":{"text":"Daemon.StopWithError (cyclomatic 17): Daemon.StopWithError has cyclomatic complexity 17 (threshold 15). Of this number, 14 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":"testutil/daemon/daemon.go"},"region":{"startLine":679}}}],"partialFingerprints":{"codehealthFindingId/v1":"c231995363bd291232aa9af6d5134dfde5c68bff6fd3d2b6aeba2c0936a7dc26"}},{"ruleId":"D1","level":"warning","message":{"text":"MountPoint.Setup (cyclomatic 17): MountPoint.Setup has cyclomatic complexity 17 (threshold 15). Of this number, 12 points are the body\u0027s own statements and 5 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":"volume/mounts/mounts.go"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"714a9f67fc4c106da61975024f4769ad5ea94627303db8696fdbc4fa429b9af1"}},{"ruleId":"D1","level":"warning","message":{"text":"reader.drainJournal (cyclomatic 17): reader.drainJournal 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":"daemon/logger/journald/read.go"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"c788552e8cf52ec6705cebb08a0c05d85a9a5aa2fd7b41cead3bc50a6f7e27b4"}},{"ruleId":"D1","level":"warning","message":{"text":"swarm.adjustForAPIVersion (cyclomatic 16): swarm.adjustForAPIVersion 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":"api/server/router/swarm/helpers.go"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"95fa58401369cd3f9c43830e361f6efa24d9cb5c9f83c769f7bd87b41b2f0d83"}},{"ruleId":"D1","level":"warning","message":{"text":"containerimage.showProgress (cyclomatic 16): containerimage.showProgress 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":"builder/builder-next/adapters/containerimage/pull.go"},"region":{"startLine":675}}}],"partialFingerprints":{"codehealthFindingId/v1":"7348b2dbd80dc8f7dd41562089411977978d66e6b6962c3cff687fa0183e78be"}},{"ruleId":"D1","level":"warning","message":{"text":"snapshotter.Usage (cyclomatic 16): snapshotter.Usage has cyclomatic complexity 16 (threshold 15). Of this number, 12 points are the body\u0027s own statements and 4 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":"builder/builder-next/adapters/snapshot/snapshot.go"},"region":{"startLine":418}}}],"partialFingerprints":{"codehealthFindingId/v1":"b22c0ee48c8bb6dcfa138b130f1e6634b606428aeff7c135ef41a32d4b4871ce"}},{"ruleId":"D1","level":"warning","message":{"text":"Client.ServiceCreate (cyclomatic 16): Client.ServiceCreate 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/service_create.go"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"78ff153aa5977e16055ce0075df843ec9c78164ddd063c902450e599b9afb68e"}},{"ruleId":"D1","level":"warning","message":{"text":"Container.StartLogger (cyclomatic 16): Container.StartLogger 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":"container/container.go"},"region":{"startLine":397}}}],"partialFingerprints":{"codehealthFindingId/v1":"5df12fbf082011c6a97de6cf800f88ae6cddc1d81be088669d41132982a845cc"}},{"ruleId":"D1","level":"warning","message":{"text":"config.findConfigurationConflicts (cyclomatic 16): config.findConfigurationConflicts has cyclomatic complexity 16 (threshold 15). Of this number, 8 points are the body\u0027s own statements and 8 belong to 3 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/config/config.go"},"region":{"startLine":551}}}],"partialFingerprints":{"codehealthFindingId/v1":"c38df1c4b007576d118eb84ea1c0735ccf95039e2328a79e883e37b549bc2b44"}},{"ruleId":"D1","level":"warning","message":{"text":"containerd.setupLabelFilter (cyclomatic 16): containerd.setupLabelFilter has cyclomatic complexity 16 (threshold 15). Most of this is not in the body itself: 5 of the 16 points are its own statements and the rest belongs to one function literal inside it that branches (line 467). 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":"daemon/containerd/image_list.go"},"region":{"startLine":433}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3d5e3388af25b4edb4f8a44066ccab8afd93b3f1fdae67b9d5164b8fd60b2a3"}},{"ruleId":"D1","level":"warning","message":{"text":"ImageService.deleteAll (cyclomatic 16): ImageService.deleteAll has cyclomatic complexity 16 (threshold 15). Of this number, 13 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":"daemon/containerd/image_delete.go"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"84dabad7da514fabaa2f87e5ad6c92d0892f317b355b40203da5f1f9d0deac88"}},{"ruleId":"D1","level":"warning","message":{"text":"ImageService.getSameReferences (cyclomatic 16): ImageService.getSameReferences 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":"daemon/containerd/image_delete.go"},"region":{"startLine":276}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4986e3814acca0bf60e604e84f9ab441f2a4369aa88481074311d5bda7599b0"}},{"ruleId":"D1","level":"warning","message":{"text":"ImageService.ImageHistory (cyclomatic 16): ImageService.ImageHistory has cyclomatic complexity 16 (threshold 15). 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, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/containerd/image_history.go"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"3dd590211f02b6be89d50775ec55f6da04ba7418838dddfd7752e4285007098b"}},{"ruleId":"D1","level":"warning","message":{"text":"Daemon.Shutdown (cyclomatic 16): Daemon.Shutdown has cyclomatic complexity 16 (threshold 15). Of this number, 13 points are the body\u0027s own statements and 3 belong to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/daemon.go"},"region":{"startLine":1301}}}],"partialFingerprints":{"codehealthFindingId/v1":"5905898a5a73c6a49d62566a89c8b8ed1f8d057dd9ee17ca38460e0462fe4ef9"}},{"ruleId":"D1","level":"warning","message":{"text":"Daemon.filterByNameIDMatches (cyclomatic 16): Daemon.filterByNameIDMatches 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":"daemon/list.go"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"de9b55f30f4a1c45e19cf5e859e7044860cf6284126ad530c06a1b989bc7134d"}},{"ruleId":"D1","level":"warning","message":{"text":"Daemon.foldFilter (cyclomatic 16): Daemon.foldFilter has cyclomatic complexity 16 (threshold 15). Of this number, 11 points are the body\u0027s own statements and 5 belong to 4 function literals inside it that branch. To reduce it, 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":"daemon/list.go"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9ed367ee4e48da117f6f3faf0f4577628e34b7b8404910225cb5beec535e0ff"}},{"ruleId":"D1","level":"warning","message":{"text":"Daemon.ContainerStart (cyclomatic 16): Daemon.ContainerStart 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":"daemon/start.go"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cb28a32ae00f14824cd28cc9d2246bb62d68e34ae912f4b221edda3be8337ba"}},{"ruleId":"D1","level":"warning","message":{"text":"btrfs.subvolDelete (cyclomatic 16): btrfs.subvolDelete has cyclomatic complexity 16 (threshold 15). Of this number, 8 points are the body\u0027s own statements and 8 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":"daemon/graphdriver/btrfs/btrfs.go"},"region":{"startLine":262}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4ea7306a5e88f8b8bbdfb553d0f47ff4bcd8db33af0bcda61adda499f0a8cc2"}},{"ruleId":"D1","level":"warning","message":{"text":"ImageService.manifestMatchesPlatform (cyclomatic 16): ImageService.manifestMatchesPlatform 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":"daemon/images/image.go"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"532e7120a9d455ccccf74f8226c027039deef6ea07da64820310b6272e9a29d3"}},{"ruleId":"D1","level":"warning","message":{"text":"gcplogs.New (cyclomatic 16): gcplogs.New has cyclomatic complexity 16 (threshold 15). Of this number, 14 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. To reduce it, 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":"daemon/logger/gcplogs/gcplogging.go"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5c23fd813f59c0a34b4e802b037ef27b52cdb397687d10379444d4d7f8bbde7"}},{"ruleId":"D1","level":"warning","message":{"text":"splunkLogger.tryPostMessages (cyclomatic 16): splunkLogger.tryPostMessages 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: splunk.ValidateLogOpt (cyclomatic 20) 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":"daemon/logger/splunk/splunk.go"},"region":{"startLine":474}}}],"partialFingerprints":{"codehealthFindingId/v1":"f241b253ea946565804a16cfa57b8852b762ecb88d9092f12a7f0928d71ca3b5"}},{"ruleId":"D1","level":"warning","message":{"text":"distribution.pullEndpoints (cyclomatic 16): distribution.pullEndpoints 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":"distribution/pull.go"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"316edf9b4326d556fdd228f5ffce20565b59f78a2214499ba7659320dbe8487c"}},{"ruleId":"D1","level":"warning","message":{"text":"puller.pullManifestList (cyclomatic 16): puller.pullManifestList 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":"distribution/pull_v2.go"},"region":{"startLine":749}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d5656b5e6d932c7dda6388c8a3fb8015781d9cbf0340dafa842a13f41e80e4f"}},{"ruleId":"D1","level":"warning","message":{"text":"saveSession.saveImage (cyclomatic 16): saveSession.saveImage 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":"image/tarexport/save.go"},"region":{"startLine":383}}}],"partialFingerprints":{"codehealthFindingId/v1":"de929109538adb90bc4c683a56a4bdf731db6b27c0b84aa86ced398e00f991fc"}},{"ruleId":"D1","level":"warning","message":{"text":"client.newStdioPipes (cyclomatic 16): client.newStdioPipes has cyclomatic complexity 16 (threshold 15). Most of this is not in the body itself: 7 of the 16 points are its own statements and the rest belongs to 6 function literals inside it that branch (lines 78, 111, 144, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libcontainerd/remote/client_io_windows.go"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e1b4dcc4c7d84af9972f29b67ba7a5fea04f88a4e08a77da38889d30872d118"}},{"ruleId":"D1","level":"warning","message":{"text":"cnmNetworkAllocator.allocatePools (cyclomatic 16): cnmNetworkAllocator.allocatePools 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":"libnetwork/cnmallocator/networkallocator.go"},"region":{"startLine":848}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d2ab5867ee41655be145b6d2dd563d6bd3d0ba9776de916daf2f8c526e10145"}},{"ruleId":"D1","level":"warning","message":{"text":"bridge.setupIPChains (cyclomatic 16): bridge.setupIPChains has cyclomatic complexity 16 (threshold 15). Of this number, 8 points are the body\u0027s own statements and 8 belong to 4 function literals inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/drivers/bridge/setup_ip_tables_linux.go"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"fba2a5c16c88b9f4b604c4790eec600113ad14f40ea840fd2b77d6b8c4547ed6"}},{"ruleId":"D1","level":"warning","message":{"text":"driver.Join (cyclomatic 16): driver.Join 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":"libnetwork/drivers/remote/driver.go"},"region":{"startLine":252}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e119a41b9f520bed332c353f98127a1748182b6f3d2ee5aaa6bfffd644c9ddb"}},{"ruleId":"D1","level":"warning","message":{"text":"archive.ReplaceFileTarWrapper (cyclomatic 16): archive.ReplaceFileTarWrapper has cyclomatic complexity 16 (threshold 15). Most of this is not in the body itself: 1 of the 16 points is its own statement and the rest belongs to one function literal inside it that branches (line 323). 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":"pkg/archive/archive.go"},"region":{"startLine":320}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1f8ff3c6fed8cf834d0eecea56bf60d6e1f39cfc4e53dafb263785008f99d34"}},{"ruleId":"D1","level":"warning","message":{"text":"jsonmessage.DisplayJSONMessagesStream (cyclomatic 16): jsonmessage.DisplayJSONMessagesStream 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":"pkg/jsonmessage/jsonmessage.go"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f40322b9957188098158e15308feecd6580a41423803a795c5849b39d89fdea"}},{"ruleId":"D1","level":"warning","message":{"text":"JSONProgress.String (cyclomatic 16): JSONProgress.String 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":"pkg/jsonmessage/jsonmessage.go"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"378ebcdf51d7a6bb6c741ea23c1039b11e756deb120da3d73273d995d7d6d5e8"}},{"ruleId":"D1","level":"warning","message":{"text":"main.Parse (cyclomatic 16): main.Parse 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":"pkg/plugins/pluginrpc-gen/parser.go"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca00322bf190369c0be6ff965b4b227260d269c49bcb768a00570904496e2c9a"}},{"ruleId":"D1","level":"warning","message":{"text":"Service.Search (cyclomatic 16): Service.Search 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":"registry/search.go"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ab234a7ae03e9a13a2c7b2d65c80e9bf4dae10402219b881c94d45e0bbcc64e"}},{"ruleId":"D2","level":"warning","message":{"text":"Daemon.restore (cognitive 147): Daemon.restore has cognitive complexity 147 (threshold 15). Drivers by points: if/else 47 (117 pts), match/switch 3 (11 pts), boolean chains 10, loops 8 (9 pts) (nesting depth added 79). Most of this is not in the body itself: 12 of the 147 points are its own statements and the rest belongs to 7 function literals inside it that branch (lines 350, 596, 280, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/daemon.go"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdfc2f49df7ae0d72f4ee4f3137bc9b0d9426271e6ea58954603e6f2be1c1b80"}},{"ruleId":"D2","level":"warning","message":{"text":"ImageService.Images (cognitive 136): ImageService.Images has cognitive complexity 136 (threshold 15). Drivers by points: if/else 44 (101 pts), loops 8 (20 pts), boolean chains 13, match/switch 1 (2 pts) (nesting depth added 70). Of this number, 125 points are the body\u0027s own statements and 11 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":"daemon/images/image_list.go"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f30a0021ec59475c2add3f3325273a7905cb50958ce3ee167a9988e10dcc43d"}},{"ruleId":"D2","level":"warning","message":{"text":"daemon.withMounts (cognitive 131): daemon.withMounts has cognitive complexity 131 (threshold 15). Drivers by points: if/else 44 (109 pts), loops 6 (9 pts), boolean chains 8, match/switch 2 (5 pts) (nesting depth added 71). None of this is in the body itself: all 131 points belong to one function literal inside it that branches (line 504). 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":"daemon/oci_linux.go"},"region":{"startLine":503}}}],"partialFingerprints":{"codehealthFindingId/v1":"80b6e5e4e8c9bdd0736880691c9ac10ea03d9480382d617f92de713ea60c9608"}},{"ruleId":"D2","level":"warning","message":{"text":"archive.UnpackLayer (cognitive 113): archive.UnpackLayer has cognitive complexity 113 (threshold 15). Drivers by points: if/else 36 (108 pts), boolean chains 3, loops 2 (nesting depth added 72). Of this number, 96 points are the body\u0027s own statements and 17 belong to one function literal inside it that branches. 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":"pkg/archive/diff.go"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"e83a111dd66dd275a3de902ba43c7a8a7e02dcfb335dba01e099247dd06899b4"}},{"ruleId":"D2","level":"warning","message":{"text":"Daemon.registerMountPoints (cognitive 99): Daemon.registerMountPoints has cognitive complexity 99 (threshold 15). Drivers by points: if/else 34 (84 pts), loops 7 (9 pts), boolean chains 6 (nesting depth added 52). Of this number, 90 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":"daemon/volumes.go"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"2dbf1768b835917aee666a92bb6846fab5ccb89543f91dfc9843b964a8cb91e6"}},{"ruleId":"D2","level":"warning","message":{"text":"daemon.NewDaemon (cognitive 92): daemon.NewDaemon has cognitive complexity 92 (threshold 15). Drivers by points: if/else 65 (87 pts), boolean chains 4, loops 1 (nesting depth added 22). Of this number, 81 points are the body\u0027s own statements and 11 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":"daemon/daemon.go"},"region":{"startLine":752}}}],"partialFingerprints":{"codehealthFindingId/v1":"3768408a57d0693a9ba41e5bc55cd8aeed0ff6e89516e058874576c399d98fe5"}},{"ruleId":"D2","level":"warning","message":{"text":"containerRouter.postContainersCreate (cognitive 87): containerRouter.postContainersCreate has cognitive complexity 87 (threshold 15). Drivers by points: if/else 38 (68 pts), loops 5 (11 pts), boolean chains 8 (nesting depth added 36). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/router/container/container_routes.go"},"region":{"startLine":480}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0b5e39a11b4f24ff9ea5d3fbc5e6156f8ddcf89a4c1b69ecd9c3b6f824a0247"}},{"ruleId":"D2","level":"warning","message":{"text":"daemon.verifyPlatformContainerResources (cognitive 83): daemon.verifyPlatformContainerResources has cognitive complexity 83 (threshold 15). Drivers by points: if/else 42 (48 pts), boolean chains 35 (nesting depth added 6). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/daemon_unix.go"},"region":{"startLine":404}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b000016c640fe6899149f7593e391845b8ea634a5a400cb665b7441f20585a2"}},{"ruleId":"D2","level":"warning","message":{"text":"seccomp.setupSeccomp (cognitive 82): seccomp.setupSeccomp has cognitive complexity 82 (threshold 15). Drivers by points: if/else 24 (63 pts), loops 4 (11 pts), jumps 6, boolean chains 2 (nesting depth added 46). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"profiles/seccomp/seccomp_linux.go"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"96d0e6a5cb2962fa26e4765fee53e5122d7bd8316c96c3363bb779ded5015fec"}},{"ruleId":"D2","level":"warning","message":{"text":"daemon.includeContainerInList (cognitive 77): daemon.includeContainerInList has cognitive complexity 77 (threshold 15). Drivers by points: if/else 37 (62 pts), loops 5 (10 pts), boolean chains 5 (nesting depth added 30). Of this number, 61 points are the body\u0027s own statements and 16 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":"daemon/list.go"},"region":{"startLine":388}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d36a27972ebf9c60461e908b5d7707d30535e94d064452c42b513f52d17ce5f"}},{"ruleId":"D2","level":"warning","message":{"text":"Copier.copySrc (cognitive 75): Copier.copySrc has cognitive complexity 75 (threshold 15). Drivers by points: if/else 18 (62 pts), match/switch 2 (6 pts), loops 2 (4 pts), boolean chains 3 (nesting depth added 50). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/logger/copier.go"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"69330f349979980eb9ac3f49ba25c0227698bf59454645ab6b807732f650f6a8"}},{"ruleId":"D2","level":"warning","message":{"text":"Daemon.initNetworkController (cognitive 74): Daemon.initNetworkController has cognitive complexity 74 (threshold 15). Drivers by points: if/else 23 (55 pts), loops 7 (14 pts), boolean chains 5 (nesting depth added 39). Of this number, 72 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/daemon_unix.go"},"region":{"startLine":838}}}],"partialFingerprints":{"codehealthFindingId/v1":"d50bc7ffc1b38881627ae868f3cde1a515fc98403bb9045376ace01539ad3afc"}},{"ruleId":"D2","level":"warning","message":{"text":"ImageService.resolveAllReferences (cognitive 73): ImageService.resolveAllReferences has cognitive complexity 73 (threshold 15). Drivers by points: if/else 30 (65 pts), loops 2 (5 pts), boolean chains 3 (nesting depth added 38). 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":"daemon/containerd/image.go"},"region":{"startLine":425}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfae1d5dd10754b5255684da810b45738ba80f2c61722ab7a158673f6f928ebc"}},{"ruleId":"D2","level":"warning","message":{"text":"cache.compare (cognitive 70): cache.compare has cognitive complexity 70 (threshold 15). Drivers by points: if/else 40 (57 pts), loops 9 (10 pts), boolean chains 3 (nesting depth added 18). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"image/cache/compare.go"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"6304807e77666d3579740997b7460340721f7d60fe28a24376fd373fae940b13"}},{"ruleId":"D2","level":"warning","message":{"text":"tarexporter.Load (cognitive 70): tarexporter.Load has cognitive complexity 70 (threshold 15). Drivers by points: if/else 30 (64 pts), loops 4 (6 pts) (nesting depth added 36). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"image/tarexport/load.go"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff7a8efc8e0b735c51db20b63fa9673ba8755a9994291403a4cb129c8b8e8a71"}},{"ruleId":"D2","level":"warning","message":{"text":"Tarballer.Do (cognitive 68): Tarballer.Do has cognitive complexity 68 (threshold 15). Drivers by points: if/else 26 (58 pts), loops 3 (7 pts), boolean chains 3 (nesting depth added 36). Most of this is not in the body itself: 6 of the 68 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 974, 919). 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":"pkg/archive/archive.go"},"region":{"startLine":911}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e0b8546886f6b79556de25ef6eba79d53ebf77393ace39be59638e673a269e9"}},{"ruleId":"D2","level":"warning","message":{"text":"Daemon.createSpec (cognitive 65): Daemon.createSpec has cognitive complexity 65 (threshold 15). Drivers by points: if/else 36 (58 pts), loops 3 (5 pts), boolean chains 2 (nesting depth added 24). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/oci_linux.go"},"region":{"startLine":1060}}}],"partialFingerprints":{"codehealthFindingId/v1":"15e37bf038b52976d2e8c886bcaf804a99458c4f9446da2a6920f02c6118e058"}},{"ruleId":"D2","level":"warning","message":{"text":"Controller.NewNetwork (cognitive 65): Controller.NewNetwork has cognitive complexity 65 (threshold 15). Drivers by points: if/else 42 (57 pts), boolean chains 7, jumps 1 (nesting depth added 15). Of this number, 46 points are the body\u0027s own statements and 19 belong to 6 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":"libnetwork/controller.go"},"region":{"startLine":471}}}],"partialFingerprints":{"codehealthFindingId/v1":"834241823b28fd73260e6fd225118c0376e05785f69f244406db322193829164"}},{"ruleId":"D2","level":"warning","message":{"text":"client.createWindows (cognitive 65): client.createWindows has cognitive complexity 65 (threshold 15). Drivers by points: if/else 30 (54 pts), loops 5 (9 pts), boolean chains 2 (nesting depth added 28). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libcontainerd/local/local_windows.go"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"aefcb956441340e6a788ed74f670d5206959e84d8a12b3962705577210067485"}},{"ruleId":"D2","level":"warning","message":{"text":"daemon.merge (cognitive 64): daemon.merge has cognitive complexity 64 (threshold 15). Drivers by points: if/else 28 (54 pts), loops 5 (10 pts) (nesting depth added 31). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/commit.go"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1efa4179f98c17892ac506b50555efac77fc4da82a6800ef7729f4cf2fde7c8"}},{"ruleId":"D2","level":"warning","message":{"text":"ImageService.ImageDelete (cognitive 64): ImageService.ImageDelete has cognitive complexity 64 (threshold 15). Drivers by points: if/else 23 (52 pts), boolean chains 6, loops 2 (6 pts) (nesting depth added 33). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/containerd/image_delete.go"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"9998e7f6676a754f69f80604d08a869bb0b9ea19012d447fe77532bac856dc7d"}},{"ruleId":"D2","level":"warning","message":{"text":"ImageService.ImagesPrune (cognitive 63): ImageService.ImagesPrune has cognitive complexity 63 (threshold 15). Drivers by points: if/else 19 (43 pts), loops 5 (11 pts), boolean chains 4, match/switch 2 (4 pts), jumps 1 (nesting depth added 32). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/images/image_prune.go"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"9105d15285bcc13195792ec94da6d44cb15b5d08fa227f8f9982b8b736b4e4e3"}},{"ruleId":"D2","level":"warning","message":{"text":"archive.createTarFile (cognitive 63): archive.createTarFile has cognitive complexity 63 (threshold 15). Drivers by points: if/else 29 (54 pts), boolean chains 7, loops 1, match/switch 1 (nesting depth added 25). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/archive/archive.go"},"region":{"startLine":678}}}],"partialFingerprints":{"codehealthFindingId/v1":"39ebafd036a67037122a231aa4472627c1ea7eb6cd5e5add4798df41029b3e3f"}},{"ruleId":"D2","level":"warning","message":{"text":"driver.Join (cognitive 62): driver.Join has cognitive complexity 62 (threshold 15). Drivers by points: if/else 24 (60 pts), match/switch 1 (2 pts) (nesting depth added 37). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/drivers/ipvlan/ipvlan_joinleave.go"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"658858250a5c2f084e2b56281a8698cf3356863c7e9d6d326c088e6750b966ec"}},{"ruleId":"D2","level":"warning","message":{"text":"Builder.Build (cognitive 61): Builder.Build has cognitive complexity 61 (threshold 15). Drivers by points: if/else 37 (52 pts), boolean chains 5, loops 3, match/switch 1 (nesting depth added 15). Of this number, 52 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":"builder/builder-next/builder.go"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"c456d39612c7608e02eacdd341a1b16cf39d62b12d7be7fbdf1604c279205436"}},{"ruleId":"D2","level":"warning","message":{"text":"ImageService.ImageDelete (cognitive 61): ImageService.ImageDelete has cognitive complexity 61 (threshold 15). Drivers by points: if/else 19 (48 pts), loops 3 (10 pts), boolean chains 3 (nesting depth added 36). 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":"daemon/images/image_delete.go"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa5e6b385f5416ba96e073ddba1309e207f893a455772c1e7280d11b40744bca"}},{"ruleId":"D2","level":"warning","message":{"text":"Endpoint.sbJoin (cognitive 61): Endpoint.sbJoin has cognitive complexity 61 (threshold 15). Drivers by points: if/else 35 (57 pts), boolean chains 4 (nesting depth added 22). Of this number, 46 points are the body\u0027s own statements and 15 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":"libnetwork/endpoint.go"},"region":{"startLine":428}}}],"partialFingerprints":{"codehealthFindingId/v1":"baa628388e8ba5814439b96ff950d8e1f89d02ac06bd1c17efc426fe2aeac51e"}},{"ruleId":"D2","level":"warning","message":{"text":"IPTable.ProgramChain (cognitive 61): IPTable.ProgramChain has cognitive complexity 61 (threshold 15). Drivers by points: if/else 27 (51 pts), boolean chains 9, match/switch 1 (nesting depth added 24). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/iptables/iptables.go"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f7917d778cb6c022a520dff794335a2a0c294c6381130f1c7c58ce747e49d8e"}},{"ruleId":"D2","level":"warning","message":{"text":"Manager.reload (cognitive 60): Manager.reload has cognitive complexity 60 (threshold 15). Drivers by points: if/else 16 (53 pts), loops 3 (4 pts), boolean chains 3 (nesting depth added 38). Of this number, 16 points are the body\u0027s own statements and 44 belong to one function literal inside it that branches. 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":"plugin/manager.go"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"79040595e90c8047aba47fe6810225724bc5a80c7a6b81e94fa26a202c32ef59"}},{"ruleId":"D2","level":"warning","message":{"text":"puller.Snapshot (cognitive 59): puller.Snapshot has cognitive complexity 59 (threshold 15). Drivers by points: if/else 31 (52 pts), loops 3, boolean chains 2, match/switch 1 (2 pts) (nesting depth added 22). Of this number, 42 points are the body\u0027s own statements and 17 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":"builder/builder-next/adapters/containerimage/pull.go"},"region":{"startLine":382}}}],"partialFingerprints":{"codehealthFindingId/v1":"27e081c7b19f2ec9aec4586d8cd580cda550d50113f03e2ac2a8d33495cc904e"}},{"ruleId":"D2","level":"warning","message":{"text":"Namespace.Restore (cognitive 59): Namespace.Restore has cognitive complexity 59 (threshold 15). Drivers by points: if/else 15 (48 pts), loops 3 (9 pts), boolean chains 2 (nesting depth added 39). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/osl/namespace_linux.go"},"region":{"startLine":483}}}],"partialFingerprints":{"codehealthFindingId/v1":"99d780a22d5a86ee0c19dd3733717c2adb8fcc21536c220032f0f867555f765b"}},{"ruleId":"D2","level":"warning","message":{"text":"archive.Unpack (cognitive 59): archive.Unpack has cognitive complexity 59 (threshold 15). Drivers by points: if/else 21 (50 pts), boolean chains 4, loops 3 (4 pts), jumps 1 (nesting depth added 30). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/archive/archive.go"},"region":{"startLine":1088}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa88b3710c30908342f8e3875fd2ca32d3871a518c4118754020cdef0981a3fd"}},{"ruleId":"D2","level":"warning","message":{"text":"tarexporter.parseNames (cognitive 58): tarexporter.parseNames has cognitive complexity 58 (threshold 15). Drivers by points: if/else 21 (52 pts), loops 3 (6 pts) (nesting depth added 34). Of this number, 44 points are the body\u0027s own statements and 14 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":"image/tarexport/save.go"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"352f4708afead5d8af7c0dc28571d93441779e8416f2e421f77b1a9a14c23838"}},{"ruleId":"D2","level":"warning","message":{"text":"pushDescriptor.Upload (cognitive 57): pushDescriptor.Upload has cognitive complexity 57 (threshold 15). Drivers by points: if/else 19 (42 pts), match/switch 2 (6 pts), boolean chains 5, loops 2 (4 pts) (nesting depth added 29). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"distribution/push_v2.go"},"region":{"startLine":299}}}],"partialFingerprints":{"codehealthFindingId/v1":"eec07da07ccab838ef854c4e991be62a85c50ce6061323fdecc00110e86c8251"}},{"ruleId":"D2","level":"warning","message":{"text":"Daemon.buildSandboxOptions (cognitive 55): Daemon.buildSandboxOptions has cognitive complexity 55 (threshold 15). Drivers by points: if/else 24 (40 pts), loops 8 (12 pts), boolean chains 3 (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":"daemon/container_operations.go"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"741958f0b291600d1dbc3f13becb7d4bd679c3b956f6b4a0338e39c61fdb41cf"}},{"ruleId":"D2","level":"warning","message":{"text":"ImageService.DeltaCreate (cognitive 55): ImageService.DeltaCreate has cognitive complexity 55 (threshold 15). Drivers by points: if/else 29 (53 pts), loops 2 (nesting depth added 24). Of this number, 37 points are the body\u0027s own statements and 18 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":"daemon/images/image_delta.go"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"7706cb0c05716c429a473eecd04acf487e0518c42a7ed47dfb7935d9ab3bc1ec"}},{"ruleId":"D2","level":"warning","message":{"text":"ssd.check_network (cognitive 55): ssd.check_network has cognitive complexity 55 (threshold 15). Drivers by points: if/else 13 (32 pts), loops 10 (23 pts) (nesting depth added 32). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/cmd/ssd/ssd.py"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5575b463131d8efcbc31d40af2e3ac2d4463c3bc29ce940dd0b04c1a8b0f736"}},{"ruleId":"D2","level":"warning","message":{"text":"ImageService.Images (cognitive 54): ImageService.Images has cognitive complexity 54 (threshold 15). Drivers by points: if/else 23 (42 pts), loops 5 (9 pts), boolean chains 3 (nesting depth added 23). Of this number, 38 points are the body\u0027s own statements and 16 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":"daemon/containerd/image_list.go"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"8efb6ea37087720c76099c063f3fd31970449b685c3a7f4836a1c98ac7c312bc"}},{"ruleId":"D2","level":"warning","message":{"text":"driver.CreateNetwork (cognitive 52): driver.CreateNetwork has cognitive complexity 52 (threshold 15). Drivers by points: if/else 21 (45 pts), loops 3 (7 pts) (nesting depth added 28). Of this number, 50 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. 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":"libnetwork/drivers/windows/windows.go"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"98de20696ecc9c7e9317ad937beb125e4d994245b6afa5ef96e9d8f6690a9c7f"}},{"ruleId":"D2","level":"warning","message":{"text":"Info.ExtraAttributes (cognitive 51): Info.ExtraAttributes has cognitive complexity 51 (threshold 15). Drivers by points: if/else 15 (38 pts), loops 5 (9 pts), boolean chains 4 (nesting depth added 27). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/logger/loginfo.go"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"e323494fa607cedbf47d76d5f336546fe6adc9470823d62f3b176878fe284dd8"}},{"ruleId":"D2","level":"warning","message":{"text":"tarSum.Read (cognitive 51): tarSum.Read has cognitive complexity 51 (threshold 15). Drivers by points: if/else 19 (49 pts), match/switch 1 (2 pts) (nesting depth added 31). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/tarsum/tarsum.go"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c4f359a969e4086f78ecbe2a10b2686f7ad6fa437e5d1dd07e211460a717044"}},{"ruleId":"D2","level":"warning","message":{"text":"Plugin.Set (cognitive 51): Plugin.Set has cognitive complexity 51 (threshold 15). Drivers by points: if/else 16 (40 pts), loops 4 (7 pts), jumps 4 (nesting depth added 27). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugin/v2/plugin.go"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"38fdf9e00fa8100a4cdf32c995c1b4ab03437dc944c0bf7b487402496cbac786"}},{"ruleId":"D2","level":"warning","message":{"text":"copy.DirCopy (cognitive 50): copy.DirCopy has cognitive complexity 50 (threshold 15). Drivers by points: if/else 29 (47 pts), boolean chains 1, loops 1, match/switch 1 (nesting depth added 18). Most of this is not in the body itself: 4 of the 50 points are its own statements and the rest belongs to one function literal inside it that branches (line 132). 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":"daemon/graphdriver/copy/copy.go"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8769823e3c200a96fc8c05148332493037a3040c515c69c0bf594e544bf52cf"}},{"ruleId":"D2","level":"warning","message":{"text":"dockerd.loadListeners (cognitive 49): dockerd.loadListeners has cognitive complexity 49 (threshold 15). Drivers by points: if/else 13 (45 pts), boolean chains 3, loops 1 (nesting depth added 32). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/dockerd/daemon.go"},"region":{"startLine":810}}}],"partialFingerprints":{"codehealthFindingId/v1":"21784fea2ab8298b81cb195e3ae8c0e671d3306250128e4cfb18586d344f4fd2"}},{"ruleId":"D2","level":"warning","message":{"text":"Daemon.ProcessEvent (cognitive 49): Daemon.ProcessEvent has cognitive complexity 49 (threshold 15). Drivers by points: if/else 18 (48 pts), match/switch 1 (nesting depth added 30). Of this number, 45 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":"daemon/monitor.go"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a3f64f907b77453208466a41a0cca4d4929b509e893fca1f2952b310d63fc5e"}},{"ruleId":"D2","level":"warning","message":{"text":"Network.UnmarshalJSON (cognitive 49): Network.UnmarshalJSON has cognitive complexity 49 (threshold 15). Drivers by points: if/else 33 (44 pts), loops 2 (5 pts) (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/network.go"},"region":{"startLine":578}}}],"partialFingerprints":{"codehealthFindingId/v1":"586491d4301409cac53fd25f04dd6147101e6af11d0987f3670cd35973a8e84c"}},{"ruleId":"D2","level":"warning","message":{"text":"imageRouter.postImagesCreate (cognitive 48): imageRouter.postImagesCreate has cognitive complexity 48 (threshold 15). Drivers by points: if/else 23 (46 pts), loops 1 (2 pts) (nesting depth added 24). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/router/image/image_routes.go"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"db0adf2a8c5621333e9c9bfad20956b89fb456161670fcf1e90da5b7a3e701f9"}},{"ruleId":"D2","level":"warning","message":{"text":"DaemonCli.start (cognitive 48): DaemonCli.start has cognitive complexity 48 (threshold 15). Drivers by points: if/else 34 (41 pts), match/switch 2 (4 pts), boolean chains 2, loops 1 (nesting depth added 9). Of this number, 37 points are the body\u0027s own statements and 11 belong to 4 function literals inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, 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":"cmd/dockerd/daemon.go"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d42a3e82e8dd3548a58fcb5095641108711b5ad3341e2aefb5ee0616cdda262"}},{"ruleId":"D2","level":"warning","message":{"text":"Daemon.ContainerRename (cognitive 48): Daemon.ContainerRename has cognitive complexity 48 (threshold 15). Drivers by points: if/else 22 (39 pts), loops 5 (7 pts), boolean chains 2 (nesting depth added 19). Of this number, 30 points are the body\u0027s own statements and 18 belong to 4 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":"daemon/rename.go"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"0917c1dd3b984c87e893508b249af9b20633e2c280d8333210f836d709b5c1ca"}},{"ruleId":"D2","level":"warning","message":{"text":"Controller.handleEpTableEvent (cognitive 48): Controller.handleEpTableEvent has cognitive complexity 48 (threshold 15). Drivers by points: if/else 20 (46 pts), boolean chains 2 (nesting depth added 26). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/agent.go"},"region":{"startLine":902}}}],"partialFingerprints":{"codehealthFindingId/v1":"428b17a569620099f0faecaa5f74bc1d41d78c9699bc94c56fcec16c9b48bb43"}},{"ruleId":"D2","level":"warning","message":{"text":"Controller.reservePools (cognitive 47): Controller.reservePools has cognitive complexity 47 (threshold 15). Drivers by points: if/else 13 (30 pts), boolean chains 9, loops 4 (8 pts) (nesting depth added 21). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/controller.go"},"region":{"startLine":739}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f219bd56dc2bcdd7f674768c8f6ec6d54805472ffbf41b765381d7664d170bd"}},{"ruleId":"D2","level":"warning","message":{"text":"walker.walk (cognitive 47): walker.walk has cognitive complexity 47 (threshold 15). Drivers by points: if/else 18 (34 pts), boolean chains 7, loops 4, match/switch 1 (2 pts) (nesting depth added 17). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/archive/changes_linux.go"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1b4716307321c2e2b8a17ffb646a839ebd90317ed5ac98f0e0c064838319894"}},{"ruleId":"D2","level":"warning","message":{"text":"puller.pullTag (cognitive 46): puller.pullTag has cognitive complexity 46 (threshold 15). Drivers by points: if/else 24 (44 pts), boolean chains 1, match/switch 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":"distribution/pull_v2.go"},"region":{"startLine":284}}}],"partialFingerprints":{"codehealthFindingId/v1":"20b9cc35b66a22b9bbc7cabb8ea6e8d29b2ba9b044f4c6907ce27c100107b172"}},{"ruleId":"D2","level":"warning","message":{"text":"remote.monitorDaemon (cognitive 46): remote.monitorDaemon has cognitive complexity 46 (threshold 15). Drivers by points: if/else 13 (34 pts), match/switch 3 (10 pts), boolean chains 1, loops 1 (nesting depth added 28). Of this number, 45 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":"libcontainerd/supervisor/remote_daemon.go"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"a73ff12aaa9fdc1d38d98b679ea61ecba612e1565846342cb3b71c99d08f3d05"}},{"ruleId":"D2","level":"warning","message":{"text":"PortMapper.MapRange (cognitive 46): PortMapper.MapRange has cognitive complexity 46 (threshold 15). Drivers by points: if/else 22 (45 pts), match/switch 1 (nesting depth added 23). Of this number, 40 points are the body\u0027s own statements and 6 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":"libnetwork/portmapper/mapper.go"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fa2b04f672af80fb56435cf71cad0834cc01839c728db64b51251bff3b93bb7"}},{"ruleId":"D2","level":"warning","message":{"text":"Daemon.StartWithLogFile (cognitive 46): Daemon.StartWithLogFile has cognitive complexity 46 (threshold 15). Drivers by points: if/else 23 (35 pts), match/switch 2 (6 pts), boolean chains 3, loops 2 (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"testutil/daemon/daemon.go"},"region":{"startLine":434}}}],"partialFingerprints":{"codehealthFindingId/v1":"30163766115042241c72a333d8bc47ae5f54e7fac9363dc85cd369923a3859ed"}},{"ruleId":"D2","level":"warning","message":{"text":"ImageService.pruneUnused (cognitive 45): ImageService.pruneUnused has cognitive complexity 45 (threshold 15). Drivers by points: if/else 15 (35 pts), loops 5 (6 pts), boolean chains 4 (nesting depth added 21). Of this number, 42 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":"daemon/containerd/image_prune.go"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"abd08909f5533a4d818cb796771e6a7f722a28545e5cfba8b5a56d3f3311683b"}},{"ruleId":"D2","level":"warning","message":{"text":"ImageService.ExportImage (cognitive 44): ImageService.ExportImage has cognitive complexity 44 (threshold 15). Drivers by points: if/else 19 (35 pts), loops 3 (4 pts), match/switch 1 (3 pts), boolean chains 2 (nesting depth added 19). Of this number, 28 points are the body\u0027s own statements and 16 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":"daemon/containerd/image_exporter.go"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"13dd804a7398a09d0c4448d68d4191c1a6511a6a852bbd91c284e05b49f70958"}},{"ruleId":"D2","level":"warning","message":{"text":"Controller.sandboxCleanup (cognitive 44): Controller.sandboxCleanup has cognitive complexity 44 (threshold 15). Drivers by points: if/else 16 (37 pts), loops 3 (5 pts), boolean chains 2 (nesting depth added 23). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/sandbox_store.go"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d14724a3fdff68cda77746df282090c1f6a65efa9269f8976f4548a2453ba20"}},{"ruleId":"D2","level":"warning","message":{"text":"daemon.verifyPlatformContainerResources (cognitive 43): daemon.verifyPlatformContainerResources has cognitive complexity 43 (threshold 15). Drivers by points: if/else 29 (36 pts), boolean chains 7 (nesting depth added 7). 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":"daemon/daemon_windows.go"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"6dfffdbaf856c94b55b20fe2d64af2cbe8eb94b34a805534a41cc5e4779b9117"}},{"ruleId":"D2","level":"warning","message":{"text":"network.FilterNetworks (cognitive 43): network.FilterNetworks has cognitive complexity 43 (threshold 15). Drivers by points: if/else 18 (39 pts), match/switch 1 (2 pts), boolean chains 1, loops 1 (nesting depth added 22). Of this number, 41 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/network/filter.go"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b44939447e60ab9d3cad61ae5ff830d5afa91652ab6487e02c6291eece78d90"}},{"ruleId":"D2","level":"warning","message":{"text":"saveSession.save (cognitive 43): saveSession.save has cognitive complexity 43 (threshold 15). Drivers by points: if/else 22 (35 pts), loops 5 (8 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":"image/tarexport/save.go"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"312fac6b3725e189a943bd003c8b48215d686c02f2d6a9a44d5cb5d50ad1440b"}},{"ruleId":"D2","level":"warning","message":{"text":"driver.CreateEndpoint (cognitive 43): driver.CreateEndpoint has cognitive complexity 43 (threshold 15). Drivers by points: if/else 31 (40 pts), loops 1 (2 pts), boolean chains 1 (nesting depth added 10). Of this number, 36 points are the body\u0027s own statements and 7 belong to 3 function literals inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/drivers/bridge/bridge_linux.go"},"region":{"startLine":918}}}],"partialFingerprints":{"codehealthFindingId/v1":"122f946f3c601fed26132396c8713338b3845e71ab8b9a64c7241af79fb07113"}},{"ruleId":"D2","level":"warning","message":{"text":"Driver.Remove (cognitive 43): Driver.Remove has cognitive complexity 43 (threshold 15). Drivers by points: if/else 16 (37 pts), boolean chains 4, loops 2 (nesting depth added 21). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/graphdriver/windows/windows.go"},"region":{"startLine":265}}}],"partialFingerprints":{"codehealthFindingId/v1":"215890b8272e0a922cc43bd0057b371a42d4b26f874ed81647174e589ec9bf82"}},{"ruleId":"D2","level":"warning","message":{"text":"ImageService.getSameReferences (cognitive 42): ImageService.getSameReferences has cognitive complexity 42 (threshold 15). Drivers by points: if/else 16 (41 pts), loops 1 (nesting depth added 25). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/containerd/image_delete.go"},"region":{"startLine":276}}}],"partialFingerprints":{"codehealthFindingId/v1":"d21df464556e6ed711cd0aa0dead86e0f11b229ac47d18e14408bda660650ef1"}},{"ruleId":"D2","level":"warning","message":{"text":"Daemon.openContainerFS (cognitive 42): Daemon.openContainerFS has cognitive complexity 42 (threshold 15). Drivers by points: if/else 20 (38 pts), boolean chains 2, loops 2 (nesting depth added 18). Most of this is not in the body itself: 3 of the 42 points are its own statements and the rest belongs to 4 function literals inside it that branch (lines 82, 147, 60, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/containerfs_linux.go"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"38417f1dceebbafcd97d385a417c0d0bdfe40476d7daec7f737fbc767332a7cd"}},{"ruleId":"D2","level":"warning","message":{"text":"splunk.New (cognitive 42): splunk.New has cognitive complexity 42 (threshold 15). Drivers by points: if/else 25 (35 pts), match/switch 2 (3 pts), boolean chains 2, loops 1 (2 pts) (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/logger/splunk/splunk.go"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"291acbb351c9be471e5890bc7d5128a540a24db9898db1efe124450fb1c0a914"}},{"ruleId":"D2","level":"warning","message":{"text":"cnmNetworkAllocator.IsServiceAllocated (cognitive 42): cnmNetworkAllocator.IsServiceAllocated has cognitive complexity 42 (threshold 15). Drivers by points: if/else 10 (24 pts), loops 4 (10 pts), boolean chains 5, jumps 3 (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":"libnetwork/cnmallocator/networkallocator.go"},"region":{"startLine":351}}}],"partialFingerprints":{"codehealthFindingId/v1":"127cb71e3a53fdc3ed55e3b550803d1e4fd87b0f7410bea8dae08661ee68b8a3"}},{"ruleId":"D2","level":"warning","message":{"text":"tarAppender.addTarFile (cognitive 42): tarAppender.addTarFile has cognitive complexity 42 (threshold 15). Drivers by points: if/else 23 (37 pts), boolean chains 5 (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":"pkg/archive/archive.go"},"region":{"startLine":563}}}],"partialFingerprints":{"codehealthFindingId/v1":"74cda9362bf3acd9f04f81d7968da1cffac9dbce9d32417de19e5eea4d79a5ae"}},{"ruleId":"D2","level":"warning","message":{"text":"specconv.toRootless (cognitive 42): specconv.toRootless has cognitive complexity 42 (threshold 15). Drivers by points: if/else 18 (37 pts), loops 1 (3 pts), boolean chains 2 (nesting depth added 21). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/rootless/specconv/specconv_linux.go"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"89dc573ec73a286ee6d4d644450d196ca5c2923b4dee57b150ce141f80c49e0b"}},{"ruleId":"D2","level":"warning","message":{"text":"windowsParser.validateMountConfigReg (cognitive 42): windowsParser.validateMountConfigReg has cognitive complexity 42 (threshold 15). Drivers by points: if/else 19 (39 pts), boolean chains 1, loops 1, match/switch 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":"volume/mounts/windows_parser.go"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f88fafa6fc53b931a7b90b46b58c8365e6279369994efdc4ce63a3f181ab945"}},{"ruleId":"D2","level":"warning","message":{"text":"VolumeStore.filter (cognitive 42): VolumeStore.filter has cognitive complexity 42 (threshold 15). Drivers by points: if/else 12 (34 pts), loops 2 (4 pts), match/switch 2 (4 pts) (nesting depth added 26). 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":"volume/service/store.go"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"386cabd61d03b3184df51bea57fd5b9b401d8262cbbce7b5ddfbcd01b2deb670"}},{"ruleId":"D2","level":"warning","message":{"text":"View.transform (cognitive 41): View.transform has cognitive complexity 41 (threshold 15). Drivers by points: if/else 14 (27 pts), loops 6 (13 pts), boolean chains 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":"container/view.go"},"region":{"startLine":301}}}],"partialFingerprints":{"codehealthFindingId/v1":"b18898910aa859aaf4a43c4683af7243e2f0bac87ad4aaa753dc849fb542bbd9"}},{"ruleId":"D2","level":"warning","message":{"text":"Daemon.containerAttach (cognitive 41): Daemon.containerAttach has cognitive complexity 41 (threshold 15). Drivers by points: if/else 15 (30 pts), boolean chains 4, match/switch 1 (3 pts), jumps 2, loops 1 (2 pts) (nesting depth added 18). Of this number, 38 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":"daemon/attach.go"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcb770e279df79c64e3ffdfb04d4a2ada5edb59be20df2cf0502bd90ed1ccab1"}},{"ruleId":"D2","level":"warning","message":{"text":"puller.pullSchema2Layers (cognitive 41): puller.pullSchema2Layers has cognitive complexity 41 (threshold 15). Drivers by points: if/else 24 (35 pts), loops 3 (4 pts), boolean chains 1, match/switch 1 (nesting depth added 12). Of this number, 39 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"distribution/pull_v2.go"},"region":{"startLine":547}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccf8f4470d8a9c7f597a39226cfab812899a036e3663c1eb5d9886897f35298d"}},{"ruleId":"D2","level":"warning","message":{"text":"driver.link (cognitive 41): driver.link has cognitive complexity 41 (threshold 15). Drivers by points: if/else 16 (34 pts), loops 3 (4 pts), boolean chains 3 (nesting depth added 19). Of this number, 39 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/drivers/bridge/bridge_linux.go"},"region":{"startLine":1456}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f2b343826ecadcf5952137d38db7168f617e662425361f1612738d62548b4be"}},{"ruleId":"D2","level":"warning","message":{"text":"Network.ipamAllocateVersion (cognitive 41): Network.ipamAllocateVersion has cognitive complexity 41 (threshold 15). Drivers by points: if/else 13 (34 pts), loops 2 (4 pts), boolean chains 2, match/switch 1 (nesting depth added 23). Of this number, 36 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":"libnetwork/network.go"},"region":{"startLine":1565}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ebcdb086ddf450773781cc38abc3b14b1fa78b2cf7746b294e9180a21247153"}},{"ruleId":"D2","level":"warning","message":{"text":"LocalRegistry.Scan (cognitive 41): LocalRegistry.Scan has cognitive complexity 41 (threshold 15). Drivers by points: if/else 10 (28 pts), loops 4 (8 pts), match/switch 1 (3 pts), boolean chains 2 (nesting depth added 24). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/plugins/discovery.go"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6d648d5f0931d6a47f0bed7fb886f2b4c0e8f88ff6d1ff1a0f43cd575e3fe82"}},{"ruleId":"D2","level":"warning","message":{"text":"linuxParser.validateMountConfigImpl (cognitive 41): linuxParser.validateMountConfigImpl has cognitive complexity 41 (threshold 15). Drivers by points: if/else 17 (36 pts), boolean chains 4, match/switch 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":"volume/mounts/linux_parser.go"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"255a3bbdcd32048e204f423086a499f307fbeab5bc967835a49bdb5573428a1b"}},{"ruleId":"D2","level":"warning","message":{"text":"driver.CreateNetwork (cognitive 41): driver.CreateNetwork has cognitive complexity 41 (threshold 15). Drivers by points: if/else 16 (27 pts), loops 6 (11 pts), match/switch 1 (2 pts), boolean chains 1 (nesting depth added 17). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/drivers/windows/overlay/ov_network_windows.go"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"8713c728fd918a1e967720c05708185e7a599affdfddfaa52169d9869bab84e4"}},{"ruleId":"D2","level":"warning","message":{"text":"build.newImageBuildOptions (cognitive 40): build.newImageBuildOptions has cognitive complexity 40 (threshold 15). Drivers by points: if/else 25 (36 pts), boolean chains 4 (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":"api/server/router/build/build_routes.go"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"c116b602749db76162c57c35bc74f8c6c9d485d7182b623e4c60215f8339db4f"}},{"ruleId":"D2","level":"warning","message":{"text":"ImageService.resolveImage (cognitive 40): ImageService.resolveImage has cognitive complexity 40 (threshold 15). Drivers by points: if/else 16 (34 pts), loops 2 (6 pts) (nesting depth added 22). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/containerd/image.go"},"region":{"startLine":276}}}],"partialFingerprints":{"codehealthFindingId/v1":"537623dd61f950b3fd98c9a3ab783579a9f8c0c910ea84ec61697f11889c20e4"}},{"ruleId":"D2","level":"warning","message":{"text":"LayerDownloadManager.makeDownloadFunc (cognitive 39): LayerDownloadManager.makeDownloadFunc has cognitive complexity 39 (threshold 15). Drivers by points: if/else 14 (22 pts), match/switch 6 (12 pts), loops 2 (3 pts), boolean chains 1, jumps 1 (nesting depth added 15). None of this is in the body itself: all 39 points belong to one function literal inside it that branches (line 239). 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":"distribution/xfer/download.go"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b6e8825d8248214c237f3588d68007c9fec540fc6da2a61ea3289bdee773ba8"}},{"ruleId":"D2","level":"warning","message":{"text":"containerimage.showProgress (cognitive 38): containerimage.showProgress has cognitive complexity 38 (threshold 15). Drivers by points: if/else 10 (29 pts), loops 3 (6 pts), match/switch 1 (2 pts), boolean chains 1 (nesting depth added 23). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"builder/builder-next/adapters/containerimage/pull.go"},"region":{"startLine":675}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2a69388054fe32c399a21e9ac0c4f26e569393005643917935c807bb80a6a21"}},{"ruleId":"D2","level":"warning","message":{"text":"ImageService.createDiff (cognitive 38): ImageService.createDiff has cognitive complexity 38 (threshold 15). Drivers by points: if/else 22 (38 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":"daemon/containerd/image_commit.go"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf3c9a923ab727dde4d360e06ce9caab3f7de1be228aaa24dff1be197a69007d"}},{"ruleId":"D2","level":"warning","message":{"text":"Daemon.ContainerLogs (cognitive 38): Daemon.ContainerLogs has cognitive complexity 38 (threshold 15). Drivers by points: if/else 17 (25 pts), match/switch 3 (8 pts), boolean chains 4, loops 1 (nesting depth added 13). Of this number, 18 points are the body\u0027s own statements and 20 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":"daemon/logs.go"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"0caf2199baa18c299d94e99e9e06aa4e1c027402c27580106743279b9bedb4bc"}},{"ruleId":"D2","level":"warning","message":{"text":"cnmNetworkAllocator.AllocateService (cognitive 38): cnmNetworkAllocator.AllocateService has cognitive complexity 38 (threshold 15). Drivers by points: if/else 12 (25 pts), loops 5 (8 pts), jumps 3, boolean chains 2 (nesting depth added 16). Of this number, 37 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":"libnetwork/cnmallocator/networkallocator.go"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e873bae90983565a9876215cb6d4c4e592d8bf29fc5f7463a1a059ab7d67258"}},{"ruleId":"D2","level":"warning","message":{"text":"daemon.buildCreateEndpointOptions (cognitive 37): daemon.buildCreateEndpointOptions has cognitive complexity 37 (threshold 15). Drivers by points: if/else 14 (27 pts), loops 3 (7 pts), boolean chains 3 (nesting depth added 17). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/network.go"},"region":{"startLine":612}}}],"partialFingerprints":{"codehealthFindingId/v1":"253386cb9624f9f7a7bbcf71caec4f9e24c637528f57b8e5b3a3dacf30bfb2c5"}},{"ruleId":"D2","level":"warning","message":{"text":"Controller.handleKeyChange (cognitive 37): Controller.handleKeyChange has cognitive complexity 37 (threshold 15). Drivers by points: if/else 16 (31 pts), loops 4 (6 pts) (nesting depth added 17). Of this number, 33 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":"libnetwork/agent.go"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"11acfeb68c8bba12bac8f18942f0d5b98995587ef131885e16b2452df68a0fd2"}},{"ruleId":"D2","level":"warning","message":{"text":"Endpoint.UnmarshalJSON (cognitive 37): Endpoint.UnmarshalJSON has cognitive complexity 37 (threshold 15). Drivers by points: if/else 16 (31 pts), loops 2 (6 pts) (nesting depth added 19). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/endpoint.go"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c394f75768924f34c7099678b7d82180ef13515c1ed53e2d930d8fe5494909f"}},{"ruleId":"D2","level":"warning","message":{"text":"archive.changes (cognitive 37): archive.changes has cognitive complexity 37 (threshold 15). Drivers by points: if/else 16 (29 pts), boolean chains 6, loops 1 (2 pts) (nesting depth added 14). Most of this is not in the body itself: 2 of the 37 points are its own statements and the rest belongs to one function literal inside it that branches (line 122). 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":"pkg/archive/changes.go"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6ad71df17f2d03dcb6f3f6dd65931a5e3d40c9118073fcd1d20628544367b0b"}},{"ruleId":"D2","level":"warning","message":{"text":"ImageService.setupFilters (cognitive 36): ImageService.setupFilters has cognitive complexity 36 (threshold 15). Drivers by points: if/else 20 (29 pts), boolean chains 4, loops 2 (3 pts) (nesting depth added 10). Most of this is not in the body itself: 9 of the 36 points are its own statements and the rest belongs to 5 function literals inside it that branch (lines 322, 342, 402, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/containerd/image_list.go"},"region":{"startLine":320}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf47cd0144350aa7bfcfddb5c617622d4f4b872589524065367cccd48e4a3ae6"}},{"ruleId":"D2","level":"warning","message":{"text":"Daemon.ContainerStats (cognitive 36): Daemon.ContainerStats has cognitive complexity 36 (threshold 15). Drivers by points: if/else 13 (24 pts), boolean chains 5, loops 2 (5 pts), match/switch 1 (2 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":"daemon/stats.go"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"8987d62fd6454efb08833081dab402ddcce828f3780ea8948eccf6f06703f327"}},{"ruleId":"D2","level":"warning","message":{"text":"mobyexporter.normalizeLayersAndHistory (cognitive 35): mobyexporter.normalizeLayersAndHistory has cognitive complexity 35 (threshold 15). Drivers by points: if/else 13 (27 pts), loops 6 (8 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":"builder/builder-next/exporter/mobyexporter/writer.go"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"99306a43dea6680fab31e9bb11b3024ae773a1f73b4826660598012e9ef98406"}},{"ruleId":"D2","level":"warning","message":{"text":"Client.doRequest (cognitive 35): Client.doRequest has cognitive complexity 35 (threshold 15). Drivers by points: if/else 14 (31 pts), boolean chains 4 (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":"client/request.go"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"d30d9550037267053411578c5e76803abfaddd6eb229d29c60a5beb1db61c92a"}},{"ruleId":"D2","level":"warning","message":{"text":"daemon.handleProbeResult (cognitive 35): daemon.handleProbeResult has cognitive complexity 35 (threshold 15). Drivers by points: if/else 16 (32 pts), boolean chains 2, match/switch 1 (nesting depth added 16). Of this number, 25 points are the body\u0027s own statements and 10 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":"daemon/health.go"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f666f7e603e5031ba9b97dc7e7da3b0289b4f65fe4fb86e42f737f071121b81"}},{"ruleId":"D2","level":"warning","message":{"text":"Daemon.connectToNetwork (cognitive 35): Daemon.connectToNetwork has cognitive complexity 35 (threshold 15). Drivers by points: if/else 24 (32 pts), boolean chains 3 (nesting depth added 8). Of this number, 32 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":"daemon/container_operations.go"},"region":{"startLine":642}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3ac8865ceece9745053e843b4d35bcd83338b721a87447fc8dd41d9cdf29ee2"}},{"ruleId":"D2","level":"warning","message":{"text":"Daemon.containerStart (cognitive 35): Daemon.containerStart has cognitive complexity 35 (threshold 15). Drivers by points: if/else 24 (32 pts), boolean chains 3 (nesting depth added 8). Of this number, 19 points are the body\u0027s own statements and 16 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":"daemon/start.go"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"02bacc901f697576104813a7a4bc24be2b24404bdbdb57b528698e533637f85a"}},{"ruleId":"D2","level":"warning","message":{"text":"ImageService.manifestMatchesPlatform (cognitive 35): ImageService.manifestMatchesPlatform has cognitive complexity 35 (threshold 15). Drivers by points: if/else 12 (29 pts), loops 2 (3 pts), match/switch 1 (3 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":"daemon/images/image.go"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbc581d842f8b9bf230abbc0fffb7900084d0bef69be821cbab26708e87e0260"}},{"ruleId":"D2","level":"warning","message":{"text":"driver.Join (cognitive 35): driver.Join has cognitive complexity 35 (threshold 15). Drivers by points: if/else 19 (35 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":"libnetwork/drivers/macvlan/macvlan_joinleave.go"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b99ddea183a4ad64847c96635ba64cc9b7e659c177a49707ab3faeb9cbd6a71"}},{"ruleId":"D2","level":"warning","message":{"text":"Endpoint.sbLeave (cognitive 35): Endpoint.sbLeave has cognitive complexity 35 (threshold 15). Drivers by points: if/else 22 (32 pts), boolean chains 3 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/endpoint.go"},"region":{"startLine":661}}}],"partialFingerprints":{"codehealthFindingId/v1":"f41eaf3eb32f620c97a19276f84291e7a71d10f5418da4c1ab9df1bbef66d276"}},{"ruleId":"D2","level":"warning","message":{"text":"Network.delete (cognitive 35): Network.delete has cognitive complexity 35 (threshold 15). Drivers by points: if/else 22 (32 pts), boolean chains 2, jumps 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":"libnetwork/network.go"},"region":{"startLine":953}}}],"partialFingerprints":{"codehealthFindingId/v1":"e78a24c3ca07a28634350b80cfee37bbeb1a2a4de5230354081f11abef5b6933"}},{"ruleId":"D2","level":"warning","message":{"text":"stdcopy.StdCopy (cognitive 35): stdcopy.StdCopy has cognitive complexity 35 (threshold 15). Drivers by points: if/else 10 (28 pts), loops 3 (5 pts), match/switch 1 (2 pts) (nesting depth added 21). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/stdcopy/stdcopy.go"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"91cfe0147c01a5d3d4f88cc81c329515b74eede52fe908cd36b68b0ea36024e6"}},{"ruleId":"D2","level":"warning","message":{"text":"randomAccessTarStream.ReadAt (cognitive 35): randomAccessTarStream.ReadAt has cognitive complexity 35 (threshold 15). Drivers by points: if/else 10 (32 pts), match/switch 1 (2 pts), loops 1 (nesting depth added 23). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/tarsplitutils/tarstream.go"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"0576aae92fa0a4e1e5b8a03f8bdb27970e3ff3e00502dbec79e78af3b21a33f7"}},{"ruleId":"D2","level":"warning","message":{"text":"daemon.parseRemappedRoot (cognitive 34): daemon.parseRemappedRoot has cognitive complexity 34 (threshold 15). Drivers by points: if/else 17 (33 pts), boolean chains 1 (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/daemon_unix.go"},"region":{"startLine":1096}}}],"partialFingerprints":{"codehealthFindingId/v1":"7efa2dd0cf274593615bbe857851f6d871e57f2aef7f20ce574a2b306ffae9eb"}},{"ruleId":"D2","level":"warning","message":{"text":"Daemon.ContainerExecStart (cognitive 34): Daemon.ContainerExecStart has cognitive complexity 34 (threshold 15). Drivers by points: if/else 23 (31 pts), boolean chains 2, match/switch 1 (nesting depth added 8). Of this number, 31 points are the body\u0027s own statements and 3 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/exec.go"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"00194f1c6ae825e23d321522d2953eb76973001e6ed38e51528f654f6d03f821"}},{"ruleId":"D2","level":"warning","message":{"text":"loggerutils.volumeName (cognitive 34): loggerutils.volumeName has cognitive complexity 34 (threshold 15). Drivers by points: if/else 7 (21 pts), loops 2 (7 pts), boolean chains 6 (nesting depth added 19). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/logger/loggerutils/file_windows.go"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"199b8cccdc1a0915bfcee21edefd44880d877cf0e2c11115edca98a39b1bc6fb"}},{"ruleId":"D2","level":"warning","message":{"text":"LayerDownloadManager.Download (cognitive 34): LayerDownloadManager.Download has cognitive complexity 34 (threshold 15). Drivers by points: if/else 13 (31 pts), loops 2, match/switch 1 (nesting depth added 18). Of this number, 31 points are the body\u0027s own statements and 3 belong to 2 function literals inside it that branch. 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":"distribution/xfer/download.go"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"85562525babe4e40a6b85191b97c8053010894684699bd289e0b6ffdb6bab42d"}},{"ruleId":"D2","level":"warning","message":{"text":"localCache.GetCache (cognitive 33): localCache.GetCache has cognitive complexity 33 (threshold 15). Drivers by points: if/else 14 (30 pts), boolean chains 2, 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":"daemon/containerd/cache.go"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebc2b22301aab5eddcc613e3be4b3ff8d46fb28cc967b46074dea69150697af0"}},{"ruleId":"D2","level":"warning","message":{"text":"jsonmessage.DisplayJSONMessagesStream (cognitive 33): jsonmessage.DisplayJSONMessagesStream has cognitive complexity 33 (threshold 15). Drivers by points: if/else 12 (29 pts), boolean chains 3, loops 1 (nesting depth added 17). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/jsonmessage/jsonmessage.go"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"43655747d3b5ed66d14780025f6e1980f48c005400709b29cbba5dd1cd326e3b"}},{"ruleId":"D2","level":"warning","message":{"text":"main.Parse (cognitive 33): main.Parse has cognitive complexity 33 (threshold 15). Drivers by points: if/else 11 (26 pts), loops 4 (7 pts) (nesting depth added 18). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/plugins/pluginrpc-gen/parser.go"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4da1a3b5cf27a7e22ef3ad07114edcd507fd94cd18338c18968b8503ce1dda7"}},{"ruleId":"D2","level":"warning","message":{"text":"imageExporterInstance.Export (cognitive 32): imageExporterInstance.Export has cognitive complexity 32 (threshold 15). Drivers by points: if/else 16 (25 pts), loops 3 (5 pts), boolean chains 1, match/switch 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":"builder/builder-next/exporter/mobyexporter/export.go"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"b28341bcb8c4c0bdabc89fc1f38bb3eeea6c41cec4a8c804a24f0f449268b5da"}},{"ruleId":"D2","level":"warning","message":{"text":"Config.CopyStreams (cognitive 32): Config.CopyStreams has cognitive complexity 32 (threshold 15). Drivers by points: if/else 18 (30 pts), boolean chains 1, match/switch 1 (nesting depth added 12). Most of this is not in the body itself: 3 of the 32 points are its own statements and the rest belongs to 3 function literals inside it that branch (lines 65, 134, 100). 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":"container/stream/attach.go"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a884787d2a93e015ec86404abb69ad839695f000e95b57fa9c5f988dbcadc66"}},{"ruleId":"D2","level":"warning","message":{"text":"Daemon.create (cognitive 32): Daemon.create has cognitive complexity 32 (threshold 15). Drivers by points: if/else 24 (31 pts), boolean chains 1 (nesting depth added 7). Of this number, 29 points are the body\u0027s own statements and 3 belong to one function literal inside it that branches. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/create.go"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bfac4be8912593b0f2f01c6c9ef02aa0fc9e82ce4f9d17ae1a2913eb7569785"}},{"ruleId":"D2","level":"warning","message":{"text":"initlayer.Setup (cognitive 32): initlayer.Setup has cognitive complexity 32 (threshold 15). Drivers by points: if/else 7 (25 pts), match/switch 1 (4 pts), loops 2 (3 pts) (nesting depth added 22). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/initlayer/setup_unix.go"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"a065880fe9350f53922c377a834a522a8af33a654a7102f9f34aa8d423a791ab"}},{"ruleId":"D2","level":"warning","message":{"text":"logStream.collectBatch (cognitive 32): logStream.collectBatch has cognitive complexity 32 (threshold 15). Drivers by points: if/else 9 (26 pts), boolean chains 3, match/switch 1 (2 pts), loops 1 (nesting depth added 18). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/logger/awslogs/cloudwatchlogs.go"},"region":{"startLine":553}}}],"partialFingerprints":{"codehealthFindingId/v1":"b90c5621b3c2fd341b012f78f60a3c5cef3cf55dbe0ab6eaf1f26043c9900e60"}},{"ruleId":"D2","level":"warning","message":{"text":"fluentd.parseConfig (cognitive 32): fluentd.parseConfig has cognitive complexity 32 (threshold 15). Drivers by points: if/else 19 (28 pts), boolean chains 4 (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":"daemon/logger/fluentd/fluentd.go"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd19e6a4b61897e99b042609d3aeb32e74ad72c9a87db42823a46f637ea2d76a"}},{"ruleId":"D2","level":"warning","message":{"text":"distribution.pullEndpoints (cognitive 32): distribution.pullEndpoints has cognitive complexity 32 (threshold 15). Drivers by points: if/else 11 (26 pts), match/switch 1 (3 pts), boolean chains 2, loops 1 (nesting depth added 17). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"distribution/pull.go"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"a69fb977fbbf2102e169929d86845fd45b2d6d3b673ae4cf709cc4de0fb2fec4"}},{"ruleId":"D2","level":"warning","message":{"text":"Network.validateConfiguration (cognitive 32): Network.validateConfiguration has cognitive complexity 32 (threshold 15). Drivers by points: if/else 10 (25 pts), match/switch 1 (4 pts), boolean chains 3 (nesting depth added 18). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/network.go"},"region":{"startLine":345}}}],"partialFingerprints":{"codehealthFindingId/v1":"13eccb17a8e9d19bda90f272edac6746944755ee2328c50179d8bccdae9df360"}},{"ruleId":"D2","level":"warning","message":{"text":"Sandbox.setupDNS (cognitive 32): Sandbox.setupDNS has cognitive complexity 32 (threshold 15). Drivers by points: if/else 18 (30 pts), boolean chains 2 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/sandbox_dns_unix.go"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"33dd36853e3703e5f92b4fd1c3a9b6121850df118e0f43c9f610d8a1cb849286"}},{"ruleId":"D2","level":"warning","message":{"text":"containerd.setupLabelFilter (cognitive 31): containerd.setupLabelFilter has cognitive complexity 31 (threshold 15). Drivers by points: if/else 13 (27 pts), loops 3 (4 pts) (nesting depth added 15). 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 467). 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":"daemon/containerd/image_list.go"},"region":{"startLine":433}}}],"partialFingerprints":{"codehealthFindingId/v1":"f60bfa4105048a5c126494934e996ffe4c5524b7626199dbfe7f4396686586b8"}},{"ruleId":"D2","level":"warning","message":{"text":"ImageService.GetImage (cognitive 31): ImageService.GetImage has cognitive complexity 31 (threshold 15). Drivers by points: if/else 14 (29 pts), loops 1 (2 pts) (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/containerd/image.go"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c1f5559acb44af1a8cd57d8521325fcad548bdcb1b357ec775bdb9cf49ae49e"}},{"ruleId":"D2","level":"warning","message":{"text":"Driver.Get (cognitive 31): Driver.Get has cognitive complexity 31 (threshold 15). Drivers by points: if/else 20 (29 pts), boolean chains 1, loops 1 (nesting depth added 9). Of this number, 21 points are the body\u0027s own statements and 10 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":"daemon/graphdriver/overlay2/overlay.go"},"region":{"startLine":515}}}],"partialFingerprints":{"codehealthFindingId/v1":"19fa4e2c153049ac5330d7efc62e0df688cc22d2fee97c25daaa4067234ef0ee"}},{"ruleId":"D2","level":"warning","message":{"text":"cache.getLocalCachedImage (cognitive 31): cache.getLocalCachedImage has cognitive complexity 31 (threshold 15). Drivers by points: if/else 12 (25 pts), boolean chains 3, loops 2 (3 pts) (nesting depth added 14). Most of this is not in the body itself: 13 of the 31 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 239, 226). 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":"image/cache/cache.go"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"64f6179e0ac2ea273acd289e4c76a21cc1d272b598632214cd83dafd74954604"}},{"ruleId":"D2","level":"warning","message":{"text":"Network.createEndpoint (cognitive 31): Network.createEndpoint has cognitive complexity 31 (threshold 15). Drivers by points: if/else 20 (27 pts), boolean chains 3, loops 1 (nesting depth added 7). Of this number, 22 points are the body\u0027s own statements and 9 belong to 4 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":"libnetwork/network.go"},"region":{"startLine":1137}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7efe4bb348867e06f174fdc2fc1575d6489668268f4af8edb43c2acfa6c6dd7"}},{"ruleId":"D2","level":"warning","message":{"text":"Network.addLBBackend (cognitive 31): Network.addLBBackend has cognitive complexity 31 (threshold 15). Drivers by points: if/else 14 (25 pts), loops 4 (5 pts), boolean chains 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/service_linux.go"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"46c038b7ca8ca5ed917c21f0784c5cbe4b5ad5198ff4b4a849b8a35cb68f2b39"}},{"ruleId":"D2","level":"warning","message":{"text":"VolumeStore.getVolume (cognitive 31): VolumeStore.getVolume has cognitive complexity 31 (threshold 15). Drivers by points: if/else 15 (25 pts), match/switch 2 (4 pts), boolean chains 1, loops 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"volume/service/store.go"},"region":{"startLine":680}}}],"partialFingerprints":{"codehealthFindingId/v1":"a11615e7f8852b880856189816d7245c206d8c6478989899d7b170bbe5f96d2a"}},{"ruleId":"D2","level":"warning","message":{"text":"driver.CreateEndpoint (cognitive 31): driver.CreateEndpoint has cognitive complexity 31 (threshold 15). Drivers by points: if/else 24 (28 pts), boolean chains 3 (nesting depth added 4). 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, 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":"libnetwork/drivers/windows/windows.go"},"region":{"startLine":601}}}],"partialFingerprints":{"codehealthFindingId/v1":"66ff4d595380cbb7d6c00aeb7fd28eece157f110b617c7bd466ad8c42d05c72b"}},{"ruleId":"D2","level":"warning","message":{"text":"Daemon.allocateNetwork (cognitive 30): Daemon.allocateNetwork has cognitive complexity 30 (threshold 15). Drivers by points: if/else 15 (27 pts), loops 2, boolean chains 1 (nesting depth added 12). Of this number, 27 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":"daemon/container_operations.go"},"region":{"startLine":438}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ca5bc0cc65e68030ecebe7c2866f57e674097d51c4d61054cf20aa4bc6f0303"}},{"ruleId":"D2","level":"warning","message":{"text":"client.newStdioPipes (cognitive 30): client.newStdioPipes has cognitive complexity 30 (threshold 15). Drivers by points: if/else 15 (30 pts) (nesting depth added 15). Most of this is not in the body itself: 9 of the 30 points are its own statements and the rest belongs to 6 function literals inside it that branch (lines 78, 111, 144, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libcontainerd/remote/client_io_windows.go"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e77d6abf1eb0b1de51b839ae3576e3b817cf13d71fb5cbdf2fc10ff02d00169"}},{"ruleId":"D2","level":"warning","message":{"text":"networkConfiguration.fromLabels (cognitive 30): networkConfiguration.fromLabels has cognitive complexity 30 (threshold 15). Drivers by points: if/else 9 (27 pts), match/switch 1 (2 pts), 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":"libnetwork/drivers/bridge/bridge_linux.go"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ebb1dc1ec26a9eca5d85b764ba95b92523c107ae349d246205102eb2a9a3f78"}},{"ruleId":"D2","level":"warning","message":{"text":"daemon.NewDaemon (cognitive 30): daemon.NewDaemon has cognitive complexity 30 (threshold 15). Drivers by points: if/else 17 (29 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":"testutil/daemon/daemon.go"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"92aa313255271743e8d97469889e30019211cc1f5300f396a57bf7d299df8ad3"}},{"ruleId":"D2","level":"warning","message":{"text":"Driver.create (cognitive 30): Driver.create has cognitive complexity 30 (threshold 15). Drivers by points: if/else 18 (30 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":"daemon/graphdriver/windows/windows.go"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8097e51728f583378f4398de6aa93d9bf4c4af0c637fc408df1c1557edac643"}},{"ruleId":"D2","level":"warning","message":{"text":"time.GetTimestamp (cognitive 29): time.GetTimestamp has cognitive complexity 29 (threshold 15). Drivers by points: if/else 15 (20 pts), match/switch 2 (6 pts), boolean chains 3 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/types/time/timestamp.go"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"1796fa3edb6837e3dcf517cfa9e5437d9d5ff01e92c8a09ec473a97c6e589a35"}},{"ruleId":"D2","level":"warning","message":{"text":"ImageService.pullTag (cognitive 29): ImageService.pullTag has cognitive complexity 29 (threshold 15). Drivers by points: if/else 17 (25 pts), boolean chains 4 (nesting depth added 8). Most of this is not in the body itself: 12 of the 29 points are its own statements and the rest belongs to 3 function literals inside it that branch (lines 116, 84, 96). 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":"daemon/containerd/image_pull.go"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"376a33faecdae29e7d1a570e14fb011cbcca4fdaf76e9aea7dfac677e08245c5"}},{"ruleId":"D2","level":"warning","message":{"text":"Daemon.cleanupContainer (cognitive 29): Daemon.cleanupContainer has cognitive complexity 29 (threshold 15). Drivers by points: if/else 15 (26 pts), boolean chains 2, loops 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/delete.go"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"58a5ee208aab9727c69b610f6cdab80b7d52666b0aa260fa59a2f0d3ef0287e7"}},{"ruleId":"D2","level":"warning","message":{"text":"Daemon.ContainerStart (cognitive 29): Daemon.ContainerStart has cognitive complexity 29 (threshold 15). Drivers by points: if/else 15 (28 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":"daemon/start.go"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"1048684184d684e0a4c75eae71cd05747f463eb186e061738ec5a2de41e2eace"}},{"ruleId":"D2","level":"warning","message":{"text":"LogFile.openRotatedFiles (cognitive 29): LogFile.openRotatedFiles has cognitive complexity 29 (threshold 15). Drivers by points: if/else 10 (23 pts), loops 4 (6 pts) (nesting depth added 15). Most of this is not in the body itself: 11 of the 29 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 496, 485). 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":"daemon/logger/loggerutils/logfile.go"},"region":{"startLine":478}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f13d8112491a60e73e7a4437b62fd79946fe5654cd7064a3ce1f317ae042c5d"}},{"ruleId":"D2","level":"warning","message":{"text":"tarexporter.legacyLoadImage (cognitive 29): tarexporter.legacyLoadImage has cognitive complexity 29 (threshold 15). Drivers by points: if/else 20 (27 pts), loops 1 (2 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"image/tarexport/load.go"},"region":{"startLine":311}}}],"partialFingerprints":{"codehealthFindingId/v1":"2477f7fc7298200f8a1c0cde8c375c71de35d0483299e3fef36bc3e064231d5b"}},{"ruleId":"D2","level":"warning","message":{"text":"plugin.splitConfigRootFSFromTar (cognitive 29): plugin.splitConfigRootFSFromTar has cognitive complexity 29 (threshold 15). Drivers by points: if/else 11 (26 pts), boolean chains 2, loops 1 (nesting depth added 15). None of this is in the body itself: all 29 points belong to one function literal inside it that branches (line 743). 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":"plugin/backend_linux.go"},"region":{"startLine":741}}}],"partialFingerprints":{"codehealthFindingId/v1":"59c25ac28ed659577ebc55cfa678a3dd493c072f84d07ac402aaebaae24bdad4"}},{"ruleId":"D2","level":"warning","message":{"text":"Service.Search (cognitive 29): Service.Search has cognitive complexity 29 (threshold 15). Drivers by points: if/else 13 (26 pts), loops 2 (3 pts) (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"registry/search.go"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d6d2924c5bdb21a786aac838147b94bc5b2c261d4c0905525bffe1de3a60739"}},{"ruleId":"D2","level":"warning","message":{"text":"containerRouter.postContainerExecStart (cognitive 28): containerRouter.postContainerExecStart has cognitive complexity 28 (threshold 15). Drivers by points: if/else 17 (27 pts), boolean chains 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/router/container/exec.go"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdf9f30787d40d61b17e805d071ce87572511eef4c3dff7d162f5ce08f5373b1"}},{"ruleId":"D2","level":"warning","message":{"text":"swarm.adjustForAPIVersion (cognitive 28): swarm.adjustForAPIVersion has cognitive complexity 28 (threshold 15). Drivers by points: if/else 12 (23 pts), loops 1 (3 pts), boolean chains 2 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/router/swarm/helpers.go"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9ed6d72e31852c5cf9a8b7300f3558448c69260eda85a460a2d491fbe5d4b5d"}},{"ruleId":"D2","level":"warning","message":{"text":"dockerd.loadDaemonCliConfig (cognitive 28): dockerd.loadDaemonCliConfig has cognitive complexity 28 (threshold 15). Drivers by points: if/else 20 (25 pts), boolean chains 3 (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":"cmd/dockerd/daemon.go"},"region":{"startLine":510}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b882938d9d60ef0fa05399e1e26c76d2057d2e2cb419ef416dd53c8b6eebc5b"}},{"ruleId":"D2","level":"warning","message":{"text":"daemon.WithNamespaces (cognitive 28): daemon.WithNamespaces has cognitive complexity 28 (threshold 15). Drivers by points: if/else 15 (24 pts), match/switch 3 (4 pts) (nesting depth added 10). None of this is in the body itself: all 28 points belong to one function literal inside it that branches (line 252). 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":"daemon/oci_linux.go"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"a810b6703d3d1b5d5a69c5e288e2eaa216d1ad761b1e20a0ec01c197e9282b82"}},{"ruleId":"D2","level":"warning","message":{"text":"ImageService.deleteAll (cognitive 28): ImageService.deleteAll has cognitive complexity 28 (threshold 15). Drivers by points: if/else 12 (23 pts), loops 3 (4 pts), boolean chains 1 (nesting depth added 12). Of this number, 22 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":"daemon/containerd/image_delete.go"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"6967d667ecd29abccda835b689bbbc65d67224502309ab15974dfadfe421aac2"}},{"ruleId":"D2","level":"warning","message":{"text":"ImageService.unleaseSnapshotsFromDeletedConfigs (cognitive 28): ImageService.unleaseSnapshotsFromDeletedConfigs has cognitive complexity 28 (threshold 15). Drivers by points: if/else 10 (23 pts), boolean chains 3, loops 2 (nesting depth added 13). Of this number, 26 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/containerd/image_prune.go"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0ee1c16530e2e7b4426988f6e99646a9c0a3ad405b86593af362b13e508dae5"}},{"ruleId":"D2","level":"warning","message":{"text":"Daemon.filterByNameIDMatches (cognitive 28): Daemon.filterByNameIDMatches has cognitive complexity 28 (threshold 15). Drivers by points: if/else 9 (19 pts), loops 4 (7 pts), boolean chains 2 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/list.go"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8c94a295234c29462191cfd960491bd4c6140a496d206453069586eb75a2cd0"}},{"ruleId":"D2","level":"warning","message":{"text":"graphdriver.New (cognitive 28): graphdriver.New has cognitive complexity 28 (threshold 15). Drivers by points: if/else 9 (21 pts), loops 4 (7 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":"daemon/graphdriver/driver.go"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6695ba3f539a5ca99c1f19469c6430e257ed94dace066838d87a9327c46d262"}},{"ruleId":"D2","level":"warning","message":{"text":"Driver.Get (cognitive 28): Driver.Get has cognitive complexity 28 (threshold 15). Drivers by points: if/else 16 (26 pts), boolean chains 1, loops 1 (nesting depth added 10). Of this number, 14 points are the body\u0027s own statements and 14 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":"daemon/graphdriver/fuse-overlayfs/fuseoverlayfs.go"},"region":{"startLine":301}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a4f455ad0cc4faed290a00e78ba6bf05a5d126f6b67deb3ba1f49db90d92e00"}},{"ruleId":"D2","level":"warning","message":{"text":"pusher.pushTag (cognitive 28): pusher.pushTag has cognitive complexity 28 (threshold 15). Drivers by points: if/else 17 (26 pts), loops 1, match/switch 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":"distribution/push_v2.go"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"046b209a90aa877e02630ecf3b56653463fb4517560450305e5b2ab5964caa0c"}},{"ruleId":"D2","level":"warning","message":{"text":"driver.Join (cognitive 28): driver.Join has cognitive complexity 28 (threshold 15). Drivers by points: if/else 22 (26 pts), boolean chains 1, loops 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":"libnetwork/drivers/overlay/joinleave.go"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"568d3c9884cc68ee622d6993284f7eca0ca2b7416c647bdcea980e8147d3d710"}},{"ruleId":"D2","level":"warning","message":{"text":"driver.CreateNetwork (cognitive 28): driver.CreateNetwork has cognitive complexity 28 (threshold 15). Drivers by points: if/else 19 (24 pts), loops 2 (3 pts), boolean chains 1 (nesting depth added 6). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/drivers/overlay/ov_network.go"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"203f918e6e0a14320a09fcdedbe79e988b82da04ec0b5ad13ed1db652ab5bf23"}},{"ruleId":"D2","level":"warning","message":{"text":"NetworkDB.Watch (cognitive 28): NetworkDB.Watch has cognitive complexity 28 (threshold 15). Drivers by points: if/else 13 (23 pts), boolean chains 5 (nesting depth added 10). Most of this is not in the body itself: 10 of the 28 points are its own statements and the rest belongs to 3 function literals inside it that branch (lines 61, 95, 116). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/networkdb/watch.go"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"b89e7c13c5fbad0abfd4eae8e2b4710998521cf3db9cbae0e28226681d4ebc87"}},{"ruleId":"D2","level":"warning","message":{"text":"Namespace.AddInterface (cognitive 28): Namespace.AddInterface has cognitive complexity 28 (threshold 15). Drivers by points: if/else 17 (26 pts), boolean chains 1, loops 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/osl/interface_linux.go"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"6867c804b3f2c9573bf38a3f8870f68c7a4c275bdc0a332c9d28d4af88998fef"}},{"ruleId":"D2","level":"warning","message":{"text":"Resolver.serveDNS (cognitive 28): Resolver.serveDNS has cognitive complexity 28 (threshold 15). Drivers by points: if/else 14 (24 pts), boolean chains 3, match/switch 1 (nesting depth added 10). Of this number, 22 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":"libnetwork/resolver.go"},"region":{"startLine":354}}}],"partialFingerprints":{"codehealthFindingId/v1":"c365b848fcffafc89d45bd46800973c6b3e534b5f2253e196be10bc6ecabcb5f"}},{"ruleId":"D2","level":"warning","message":{"text":"parsers.parseUintList (cognitive 28): parsers.parseUintList has cognitive complexity 28 (threshold 15). Drivers by points: if/else 9 (22 pts), loops 2 (4 pts), boolean chains 2 (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/parsers/parsers.go"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"002643ad0013cebf235f052ee7b028d3bd45778cd35f067a14f79a29481d2538"}},{"ruleId":"D2","level":"warning","message":{"text":"registry.ReadCertsDirectory (cognitive 28): registry.ReadCertsDirectory has cognitive complexity 28 (threshold 15). Drivers by points: if/else 10 (26 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":"registry/registry.go"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf15a6080e905e42a7da786aae4a8d0a6159e642b96c9827ce83b496f2259b10"}},{"ruleId":"D2","level":"warning","message":{"text":"reader.drainJournal (cognitive 28): reader.drainJournal has cognitive complexity 28 (threshold 15). Drivers by points: if/else 9 (20 pts), boolean chains 4, match/switch 1 (3 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":"daemon/logger/journald/read.go"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"28b529262899bfe866f72c8a0c19a1d1ee6655698a64f9be5762e48f2cdc62ed"}},{"ruleId":"D2","level":"warning","message":{"text":"systemRouter.getDiskUsage (cognitive 27): systemRouter.getDiskUsage has cognitive complexity 27 (threshold 15). Drivers by points: if/else 12 (14 pts), loops 4 (8 pts), match/switch 1 (3 pts), boolean chains 2 (nesting depth added 8). Of this number, 23 points are the body\u0027s own statements and 4 belong to one function literal inside it that branches. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/router/system/system_routes.go"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"f34293aeebf9ce790f6e009040a8f4736bb25fb2240905cb755263d414a722d5"}},{"ruleId":"D2","level":"warning","message":{"text":"Container.StartLogger (cognitive 27): Container.StartLogger has cognitive complexity 27 (threshold 15). Drivers by points: if/else 13 (26 pts), match/switch 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":"container/container.go"},"region":{"startLine":397}}}],"partialFingerprints":{"codehealthFindingId/v1":"94d768491a49aef695d6d8681fb8d2349b3cfbbb2316d3fd8e3cff2946392ccd"}},{"ruleId":"D2","level":"warning","message":{"text":"daemon.WithDevices (cognitive 27): daemon.WithDevices has cognitive complexity 27 (threshold 15). Drivers by points: if/else 11 (22 pts), loops 3 (5 pts) (nesting depth added 13). None of this is in the body itself: all 27 points belong to one function literal inside it that branches (line 900). 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":"daemon/oci_linux.go"},"region":{"startLine":899}}}],"partialFingerprints":{"codehealthFindingId/v1":"29f8f1c5aaf526c4eecd2b2a7aa7ad5253b378f3d390bca21faa00f227a2390c"}},{"ruleId":"D2","level":"warning","message":{"text":"config.getConflictFreeConfiguration (cognitive 27): config.getConflictFreeConfiguration has cognitive complexity 27 (threshold 15). Drivers by points: if/else 12 (24 pts), loops 1 (2 pts), boolean chains 1 (nesting depth added 13). Of this number, 19 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":"daemon/config/config.go"},"region":{"startLine":437}}}],"partialFingerprints":{"codehealthFindingId/v1":"7be7ac7a217e8ba3ba424cdadbc1a920a9df9ae29f723c8a08c7592dbe7d9b98"}},{"ruleId":"D2","level":"warning","message":{"text":"ImageService.GetImageAndReleasableLayer (cognitive 27): ImageService.GetImageAndReleasableLayer has cognitive complexity 27 (threshold 15). Drivers by points: if/else 14 (25 pts), boolean chains 2 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/containerd/image_builder.go"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"933f3e51eab24e75d26ba5008c656f9a73b6e8edd940112348d01ec6e8d729c4"}},{"ruleId":"D2","level":"warning","message":{"text":"Daemon.createNetwork (cognitive 27): Daemon.createNetwork has cognitive complexity 27 (threshold 15). Drivers by points: if/else 17 (22 pts), loops 2 (3 pts), boolean chains 2 (nesting depth added 6). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, 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":"daemon/network.go"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"43969abba36bae783d0208c3ca6bc55b62bc9140a27d29e4cd9a01729146c4ad"}},{"ruleId":"D2","level":"warning","message":{"text":"Daemon.setWindowsCredentialSpec (cognitive 27): Daemon.setWindowsCredentialSpec has cognitive complexity 27 (threshold 15). Drivers by points: if/else 10 (22 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":"daemon/oci_windows.go"},"region":{"startLine":342}}}],"partialFingerprints":{"codehealthFindingId/v1":"30270d6732b71916f4eb743336dea6140586b3d71f238c7ac88cd876342b70b0"}},{"ruleId":"D2","level":"warning","message":{"text":"puller.pullManifestList (cognitive 27): puller.pullManifestList has cognitive complexity 27 (threshold 15). Drivers by points: if/else 10 (24 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":"distribution/pull_v2.go"},"region":{"startLine":749}}}],"partialFingerprints":{"codehealthFindingId/v1":"5256dd2fea5d4ad373de08c84ff4b878f30701552afb66c41570521d7dc84bc7"}},{"ruleId":"D2","level":"warning","message":{"text":"pushDescriptor.layerAlreadyExists (cognitive 27): pushDescriptor.layerAlreadyExists has cognitive complexity 27 (threshold 15). Drivers by points: if/else 8 (19 pts), loops 3, boolean chains 2, match/switch 1 (2 pts), jumps 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":"distribution/push_v2.go"},"region":{"startLine":531}}}],"partialFingerprints":{"codehealthFindingId/v1":"817f4944468daef8e507a1a12807d5df9a62f9777b7f6009c4093ce11a7ed3df"}},{"ruleId":"D2","level":"warning","message":{"text":"Network.Services (cognitive 27): Network.Services has cognitive complexity 27 (threshold 15). Drivers by points: if/else 9 (17 pts), loops 5 (10 pts) (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/agent.go"},"region":{"startLine":469}}}],"partialFingerprints":{"codehealthFindingId/v1":"6712cec1f651374f86d2999067894497702b0fdbc51d9bb8fb942bcbe39a67e1"}},{"ruleId":"D2","level":"warning","message":{"text":"MountPoint.Setup (cognitive 27): MountPoint.Setup has cognitive complexity 27 (threshold 15). Drivers by points: if/else 15 (26 pts), boolean chains 1 (nesting depth added 11). Of this number, 22 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":"volume/mounts/mounts.go"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb02e471693db03d125e3b58cd196ca71c6a343e06d05d26da0c79819412e6c0"}},{"ruleId":"D2","level":"warning","message":{"text":"container.handleMACAddressBC (cognitive 26): container.handleMACAddressBC has cognitive complexity 26 (threshold 15). Drivers by points: if/else 11 (19 pts), loops 2 (5 pts), boolean chains 2 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/router/container/container_routes.go"},"region":{"startLine":675}}}],"partialFingerprints":{"codehealthFindingId/v1":"aac1073d3296b1625419b64dddca65af499505a6c6edca745a52828a30eed00d"}},{"ruleId":"D2","level":"warning","message":{"text":"daemon.buildIPAMResources (cognitive 26): daemon.buildIPAMResources has cognitive complexity 26 (threshold 15). Drivers by points: if/else 7 (17 pts), loops 4 (8 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":"daemon/network.go"},"region":{"startLine":522}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfd91bd9c3a11f3d8085ed84a5f17100d1e540931eb7982400c5716b50e79dee"}},{"ruleId":"D2","level":"warning","message":{"text":"Daemon.generateSecurityOpt (cognitive 26): Daemon.generateSecurityOpt has cognitive complexity 26 (threshold 15). Drivers by points: if/else 12 (21 pts), loops 2 (3 pts), boolean chains 2 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/create.go"},"region":{"startLine":277}}}],"partialFingerprints":{"codehealthFindingId/v1":"31843353041f91d8b07a991ae784b7e68d2afb0b62884a73d35ca439704aeef9"}},{"ruleId":"D2","level":"warning","message":{"text":"Daemon.killWithSignal (cognitive 26): Daemon.killWithSignal has cognitive complexity 26 (threshold 15). Drivers by points: if/else 15 (25 pts), boolean chains 1 (nesting depth added 10). Of this number, 19 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":"daemon/kill.go"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"f68b84d94bd3e3c12a8e5097ede89dd5285a94162f5725d48bdd5dc321ee9334"}},{"ruleId":"D2","level":"warning","message":{"text":"Driver.Create (cognitive 26): Driver.Create has cognitive complexity 26 (threshold 15). Drivers by points: if/else 16 (25 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":"daemon/graphdriver/btrfs/btrfs.go"},"region":{"startLine":487}}}],"partialFingerprints":{"codehealthFindingId/v1":"9407bbae148458d76bb4d2d5e729502d7ceca92124587848c51fba822914c037"}},{"ruleId":"D2","level":"warning","message":{"text":"jsonlog.ffjsonWriteJSONBytesAsString (cognitive 26): jsonlog.ffjsonWriteJSONBytesAsString has cognitive complexity 26 (threshold 15). Drivers by points: if/else 8 (19 pts), boolean chains 3, match/switch 1 (3 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":"daemon/logger/jsonfilelog/jsonlog/jsonlogbytes.go"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec3055d78ff6a9112cc07b28321c2035578661fd4eb3c1cb21ef5068362a9c75"}},{"ruleId":"D2","level":"warning","message":{"text":"bridgeNetwork.allocatePortsInternal (cognitive 26): bridgeNetwork.allocatePortsInternal has cognitive complexity 26 (threshold 15). Drivers by points: if/else 8 (22 pts), boolean chains 3, 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":"libnetwork/drivers/bridge/port_mapping_linux.go"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9616d7d6916bf69fafa2ceba4eb1d36f896f203ca8c58b9f93192d636e843d6"}},{"ruleId":"D2","level":"warning","message":{"text":"Sandbox.rebuildDNS (cognitive 26): Sandbox.rebuildDNS has cognitive complexity 26 (threshold 15). Drivers by points: if/else 9 (21 pts), loops 2 (4 pts), jumps 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":"libnetwork/sandbox_dns_unix.go"},"region":{"startLine":364}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fd6ad2f65a57994315b07c08be75fa38ac572a5a068979df9b7786effc52c72"}},{"ruleId":"D2","level":"warning","message":{"text":"Client.callWithRetry (cognitive 26): Client.callWithRetry has cognitive complexity 26 (threshold 15). Drivers by points: if/else 9 (24 pts), loops 2 (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/plugins/client.go"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c39897e6524795cd2b3a2a79da8f57b8a44a53072bf6340e13d52bda510315c"}},{"ruleId":"D2","level":"warning","message":{"text":"daemon.setResourcesInSpec (cognitive 25): daemon.setResourcesInSpec has cognitive complexity 25 (threshold 15). Drivers by points: if/else 12 (23 pts), boolean chains 2 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/oci_windows.go"},"region":{"startLine":412}}}],"partialFingerprints":{"codehealthFindingId/v1":"1df0c98c583eebee1c1d828e44debbb85055fb00c63a07884f9f835ae20c937b"}},{"ruleId":"D2","level":"warning","message":{"text":"ImageService.GetImageManifest (cognitive 25): ImageService.GetImageManifest has cognitive complexity 25 (threshold 15). Drivers by points: if/else 13 (25 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":"daemon/containerd/image.go"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"41f893fc39ebc8d7b64f6fd924653d90b861f6fbc9ed707f21da249fb637f281"}},{"ruleId":"D2","level":"warning","message":{"text":"ImageService.ImageHistory (cognitive 25): ImageService.ImageHistory has cognitive complexity 25 (threshold 15). Drivers by points: if/else 10 (19 pts), loops 4 (5 pts), boolean chains 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":"daemon/containerd/image_history.go"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb4636b02926eed01259c4e7c621947066f5fbacf6088f0aba993cdde334d683"}},{"ruleId":"D2","level":"warning","message":{"text":"Daemon.handleContainerExit (cognitive 25): Daemon.handleContainerExit has cognitive complexity 25 (threshold 15). Drivers by points: if/else 15 (24 pts), boolean chains 1 (nesting depth added 9). Of this number, 15 points are the body\u0027s own statements and 10 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":"daemon/monitor.go"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"eefc1c3a6bd1d59af7ceb0deddf155610422859107a091fba7587e09f0c72c66"}},{"ruleId":"D2","level":"warning","message":{"text":"graphtest.changeManyFiles (cognitive 25): graphtest.changeManyFiles has cognitive complexity 25 (threshold 15). Drivers by points: if/else 6 (18 pts), loops 2 (3 pts), match/switch 1 (3 pts), boolean chains 1 (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/graphdriver/graphtest/testutil.go"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b2e6680f0a1d6b950176b252b66eb27ad8e70df084e092fa1df7f7f1310fd0d"}},{"ruleId":"D2","level":"warning","message":{"text":"distribution.Push (cognitive 25): distribution.Push has cognitive complexity 25 (threshold 15). Drivers by points: if/else 9 (20 pts), match/switch 1 (3 pts), boolean chains 1, 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":"distribution/push.go"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bf0e1f7fd5f3b86d805db5575fa479eae2ba96a5d3d1b7d26be6463a680ec7a"}},{"ruleId":"D2","level":"warning","message":{"text":"ImageCache.GetCache (cognitive 25): ImageCache.GetCache has cognitive complexity 25 (threshold 15). Drivers by points: if/else 10 (21 pts), loops 2 (3 pts), boolean chains 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"image/cache/cache.go"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1f60dfb867bb211d9e79e15ea198c1058e88f3c5d03c7eac7357dbbecde3e0e"}},{"ruleId":"D2","level":"warning","message":{"text":"saveSession.saveImage (cognitive 25): saveSession.saveImage has cognitive complexity 25 (threshold 15). Drivers by points: if/else 14 (24 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":"image/tarexport/save.go"},"region":{"startLine":383}}}],"partialFingerprints":{"codehealthFindingId/v1":"0204b94a4d47eb1a442121bfb1e714d86e94f569b1007625f8b3424d95dfb528"}},{"ruleId":"D2","level":"warning","message":{"text":"fileMetadataStore.getOrphan (cognitive 25): fileMetadataStore.getOrphan has cognitive complexity 25 (threshold 15). Drivers by points: if/else 7 (21 pts), loops 2 (3 pts), boolean chains 1 (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"layer/filestore.go"},"region":{"startLine":341}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c26606825236fa53c4a7bb740cbef20f3ebaf7b801a6c714a4ac168d11c7019"}},{"ruleId":"D2","level":"warning","message":{"text":"client.processEventStream (cognitive 25): client.processEventStream has cognitive complexity 25 (threshold 15). Drivers by points: if/else 5 (18 pts), match/switch 2 (5 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":"libcontainerd/remote/client.go"},"region":{"startLine":604}}}],"partialFingerprints":{"codehealthFindingId/v1":"1150c6aec3833c63239b5baf2eb5a8e380f84da1d98be726ef7031cd29aa26ac"}},{"ruleId":"D2","level":"warning","message":{"text":"cnmNetworkAllocator.allocateNetworkIPs (cognitive 25): cnmNetworkAllocator.allocateNetworkIPs has cognitive complexity 25 (threshold 15). Drivers by points: if/else 9 (20 pts), loops 2 (3 pts), boolean chains 2 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/cnmallocator/networkallocator.go"},"region":{"startLine":644}}}],"partialFingerprints":{"codehealthFindingId/v1":"04bbae03f5adf5279299d240a16d06c940e565c7c34c4d31ad99e88967c44c32"}},{"ruleId":"D2","level":"warning","message":{"text":"cnmNetworkAllocator.allocatePools (cognitive 25): cnmNetworkAllocator.allocatePools has cognitive complexity 25 (threshold 15). Drivers by points: if/else 13 (23 pts), boolean chains 1, loops 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/cnmallocator/networkallocator.go"},"region":{"startLine":848}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdb1a850cfe3cbb8a22f801bf8887426cdedb787989cc6215b7d041e26694184"}},{"ruleId":"D2","level":"warning","message":{"text":"driver.DeleteNetwork (cognitive 25): driver.DeleteNetwork has cognitive complexity 25 (threshold 15). Drivers by points: if/else 11 (24 pts), loops 1 (nesting depth added 13). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/drivers/ipvlan/ipvlan_network.go"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbf5c11689818ac09da0a9b49cf6c8d316ee6e6be2961594518c2c50d4f5d0c7"}},{"ruleId":"D2","level":"warning","message":{"text":"driver.DeleteNetwork (cognitive 25): driver.DeleteNetwork has cognitive complexity 25 (threshold 15). Drivers by points: if/else 11 (24 pts), loops 1 (nesting depth added 13). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/drivers/macvlan/macvlan_network.go"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"34a7a3b7143f300dba003962db75b16d44cbb2210ad13c6e6ae13105e3330ea3"}},{"ruleId":"D2","level":"warning","message":{"text":"Network.ipamReleaseVersion (cognitive 25): Network.ipamReleaseVersion has cognitive complexity 25 (threshold 15). Drivers by points: if/else 7 (19 pts), loops 2 (4 pts), boolean chains 1, match/switch 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":"libnetwork/network.go"},"region":{"startLine":1666}}}],"partialFingerprints":{"codehealthFindingId/v1":"5787ada7a23ac35135a74dff8e7e3e5879283f64d56f1208e5ea06c27c279dde"}},{"ruleId":"D2","level":"warning","message":{"text":"Sandbox.delete (cognitive 25): Sandbox.delete has cognitive complexity 25 (threshold 15). Drivers by points: if/else 13 (22 pts), boolean chains 2, loops 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/sandbox.go"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"369540e145cb57fdd83341b2f00fdf85b7195e8cb060514a04fadffe64699b41"}},{"ruleId":"D2","level":"warning","message":{"text":"Daemon.StopWithError (cognitive 25): Daemon.StopWithError has cognitive complexity 25 (threshold 15). Drivers by points: if/else 10 (16 pts), match/switch 2 (4 pts), jumps 2, loops 2, boolean chains 1 (nesting depth added 8). 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 into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"testutil/daemon/daemon.go"},"region":{"startLine":679}}}],"partialFingerprints":{"codehealthFindingId/v1":"e616ab6b57043f1cf2bd2b8e127b73d538aa419777fef6e36436308f41ca763f"}},{"ruleId":"D2","level":"warning","message":{"text":"buildkit.getGCPolicy (cognitive 24): buildkit.getGCPolicy has cognitive complexity 24 (threshold 15). Drivers by points: if/else 8 (21 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":"builder/builder-next/controller.go"},"region":{"startLine":395}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d6f067f095efb8e8227828e222509610e87c7feda5ff760d8ad9dfe97a3b892"}},{"ruleId":"D2","level":"warning","message":{"text":"Client.imageBuildOptionsToQuery (cognitive 24): Client.imageBuildOptionsToQuery has cognitive complexity 24 (threshold 15). Drivers by points: if/else 21 (24 pts) (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/image_build.go"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"989e1c634a7d993605a048b0891c180eede177cd043fdb036ddf3acc6b05d288"}},{"ruleId":"D2","level":"warning","message":{"text":"Container.NetworkMounts (cognitive 24): Container.NetworkMounts has cognitive complexity 24 (threshold 15). Drivers by points: if/else 15 (24 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":"container/container_unix.go"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"59ffac2c1ba6aa558dfdf82d199f147a9d32a38a1b562a49c59d4166ed00187e"}},{"ruleId":"D2","level":"warning","message":{"text":"Daemon.cleanupMountsFromReaderByID (cognitive 24): Daemon.cleanupMountsFromReaderByID has cognitive complexity 24 (threshold 15). Drivers by points: if/else 7 (19 pts), loops 2 (5 pts) (nesting depth added 15). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/daemon_linux.go"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"83ac7d7697cbca455aab7a0d0dfaa2c75c7e32fb90e2f5749875605fe5533b58"}},{"ruleId":"D2","level":"warning","message":{"text":"Daemon.ContainersPrune (cognitive 24): Daemon.ContainersPrune has cognitive complexity 24 (threshold 15). Drivers by points: if/else 9 (20 pts), match/switch 1 (2 pts), boolean chains 1, loops 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/prune.go"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"9119d930ebd3e28934c02622b487f67186707cdf7d425fbf62242a89fc700c81"}},{"ruleId":"D2","level":"warning","message":{"text":"btrfs.subvolDelete (cognitive 24): btrfs.subvolDelete has cognitive complexity 24 (threshold 15). Drivers by points: if/else 13 (21 pts), boolean chains 2, loops 1 (nesting depth added 8). Most of this is not in the body itself: 11 of the 24 points are its own statements and the rest belongs to one function literal inside it that branches (line 273). 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":"daemon/graphdriver/btrfs/btrfs.go"},"region":{"startLine":262}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d23ba5633efa2170528a595520fb2547a07848cac8bd2ab9adeb9d587b9dbe3"}},{"ruleId":"D2","level":"warning","message":{"text":"gelf.ValidateLogOpt (cognitive 24): gelf.ValidateLogOpt has cognitive complexity 24 (threshold 15). Drivers by points: if/else 6 (16 pts), match/switch 2 (5 pts), boolean chains 2, loops 1 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/logger/gelf/gelf.go"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c21b146ab40c6b3b108bb6043611d64236491450800bbb4513f9043a55ba0b4"}},{"ruleId":"D2","level":"warning","message":{"text":"jsonfilelog.New (cognitive 24): jsonfilelog.New has cognitive complexity 24 (threshold 15). Drivers by points: if/else 15 (22 pts), boolean chains 2 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/logger/jsonfilelog/jsonfilelog.go"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"660dced7359ef9ab44c00545732edb3fdd740e2ce3f92abc1e02e4daebb41ea3"}},{"ruleId":"D2","level":"warning","message":{"text":"follow.Do (cognitive 24): follow.Do has cognitive complexity 24 (threshold 15). Drivers by points: if/else 9 (22 pts), boolean chains 1, loops 1 (nesting depth added 13). Of this number, 22 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/logger/loggerutils/follow.go"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ff5eab74320fbac75a411b03b065db4bea1fdd61aa1d270d2efcf577559ffbc"}},{"ruleId":"D2","level":"warning","message":{"text":"unshare.Go (cognitive 24): unshare.Go has cognitive complexity 24 (threshold 15). Drivers by points: if/else 10 (21 pts), loops 2 (3 pts) (nesting depth added 12). Most of this is not in the body itself: 1 of the 24 points is its own statement and the rest belongs to one function literal inside it that branches (line 109). 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":"internal/unshare/unshare_linux.go"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7e680961df65cb41b96053bc5214d9b8063a818738b4224598c52474c01e22c"}},{"ruleId":"D2","level":"warning","message":{"text":"main.fetchTable (cognitive 24): main.fetchTable has cognitive complexity 24 (threshold 15). Drivers by points: if/else 10 (17 pts), loops 2 (4 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":"libnetwork/cmd/diagnostic/main.go"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebdc99257f55b163583347a4c0d73af64fc318039667011529df9fb0fc82c98c"}},{"ruleId":"D2","level":"warning","message":{"text":"Controller.cleanupLocalEndpoints (cognitive 24): Controller.cleanupLocalEndpoints has cognitive complexity 24 (threshold 15). Drivers by points: if/else 8 (18 pts), loops 4 (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":"libnetwork/endpoint.go"},"region":{"startLine":1133}}}],"partialFingerprints":{"codehealthFindingId/v1":"186980111cfe6c03629f94f5f1ebd42d1006d315bd2a6645faf09703621c1bc7"}},{"ruleId":"D2","level":"warning","message":{"text":"driver.Join (cognitive 24): driver.Join has cognitive complexity 24 (threshold 15). Drivers by points: if/else 13 (21 pts), loops 1 (2 pts), boolean chains 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/drivers/remote/driver.go"},"region":{"startLine":252}}}],"partialFingerprints":{"codehealthFindingId/v1":"91347633ccbb01d3115bb61831b61e3dfd59b6892022f99a1df6a6ff7efcaf7e"}},{"ruleId":"D2","level":"warning","message":{"text":"archive.ReplaceFileTarWrapper (cognitive 24): archive.ReplaceFileTarWrapper has cognitive complexity 24 (threshold 15). Drivers by points: if/else 11 (21 pts), loops 2, match/switch 1 (nesting depth added 10). None of this is in the body itself: all 24 points belong to one function literal inside it that branches (line 323). 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":"pkg/archive/archive.go"},"region":{"startLine":320}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1b3283fb708fbff1958f4f5b01084c75f08dc070f5364e6884527d1dd1061cc"}},{"ruleId":"D2","level":"warning","message":{"text":"plugin.withFetchProgress (cognitive 24): plugin.withFetchProgress has cognitive complexity 24 (threshold 15). Drivers by points: if/else 10 (20 pts), match/switch 2 (3 pts), loops 1 (nesting depth added 11). None of this is in the body itself: all 24 points belong to one function literal inside it that branches (line 199). 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":"plugin/fetch_linux.go"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6d149583908964b1dde876b4f81956e2949b9dc23f159f07de4040e38ac8774"}},{"ruleId":"D2","level":"warning","message":{"text":"VolumeStore.restore (cognitive 24): VolumeStore.restore has cognitive complexity 24 (threshold 15). Drivers by points: if/else 8 (21 pts), loops 2, boolean chains 1 (nesting depth added 13). Most of this is not in the body itself: 1 of the 24 points is its own statement and the rest belongs to 2 function literals inside it that branch (lines 31, 77). 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":"volume/service/restore.go"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"8400fc56a92cf4f9b6e9efcf4fa1d7d9f2d4d77817e0f60981bf527e86bada6b"}},{"ruleId":"D2","level":"warning","message":{"text":"VolumeStore.list (cognitive 24): VolumeStore.list has cognitive complexity 24 (threshold 15). Drivers by points: if/else 8 (14 pts), loops 6 (10 pts) (nesting depth added 10). Of this number, 20 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":"volume/service/store.go"},"region":{"startLine":404}}}],"partialFingerprints":{"codehealthFindingId/v1":"210fe401401ecdb4b8a99beb4c6a386e4a3ce961a01157b566c5b9a468cb7c7a"}},{"ruleId":"D2","level":"warning","message":{"text":"imageRouter.getImagesJSON (cognitive 23): imageRouter.getImagesJSON has cognitive complexity 23 (threshold 15). Drivers by points: if/else 12 (21 pts), boolean chains 1, loops 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/router/image/image_routes.go"},"region":{"startLine":379}}}],"partialFingerprints":{"codehealthFindingId/v1":"dda015b5f5d52e88549dda1be05083223ea11efd353f48dac0e967e5599eb50d"}},{"ruleId":"D2","level":"warning","message":{"text":"config.findConfigurationConflicts (cognitive 23): config.findConfigurationConflicts has cognitive complexity 23 (threshold 15). Drivers by points: if/else 9 (14 pts), loops 3 (5 pts), boolean chains 3, match/switch 1 (nesting depth added 7). Most of this is not in the body itself: 9 of the 23 points are its own statements and the rest belongs to 3 function literals inside it that branch (lines 590, 563, 580). 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":"daemon/config/config.go"},"region":{"startLine":551}}}],"partialFingerprints":{"codehealthFindingId/v1":"f81a07dffc24fc72deb4f75bf0f4fca5f37e8f5680cc55492a0073b6ecf46758"}},{"ruleId":"D2","level":"warning","message":{"text":"pushProgress.UpdateProgress (cognitive 23): pushProgress.UpdateProgress has cognitive complexity 23 (threshold 15). Drivers by points: if/else 9 (21 pts), boolean chains 1, loops 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/containerd/progress.go"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"68ae1b381e455ff6888ca278a518bc35828279b543ae348362b3fc2aeab2ba40"}},{"ruleId":"D2","level":"warning","message":{"text":"ImageService.LoadImage (cognitive 23): ImageService.LoadImage has cognitive complexity 23 (threshold 15). Drivers by points: if/else 12 (21 pts), boolean chains 1, loops 1 (nesting depth added 9). Most of this is not in the body itself: 8 of the 23 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 279, 251). 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":"daemon/containerd/image_exporter.go"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"56983fb261994bb0838c9ec352ea6ad73b9c779265c66b8c1fd1526111cd8b8c"}},{"ruleId":"D2","level":"warning","message":{"text":"Daemon.initializeNetworkingPaths (cognitive 23): Daemon.initializeNetworkingPaths has cognitive complexity 23 (threshold 15). Drivers by points: if/else 8 (21 pts), loops 1 (2 pts) (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/container_operations_unix.go"},"region":{"startLine":292}}}],"partialFingerprints":{"codehealthFindingId/v1":"49ba05b5b72243b60540ca2dac726ce5405739b3a6c15270934759794d8c102d"}},{"ruleId":"D2","level":"warning","message":{"text":"awslogs.ValidateLogOpt (cognitive 23): awslogs.ValidateLogOpt has cognitive complexity 23 (threshold 15). Drivers by points: if/else 11 (16 pts), boolean chains 4, match/switch 1 (2 pts), loops 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/logger/awslogs/cloudwatchlogs.go"},"region":{"startLine":741}}}],"partialFingerprints":{"codehealthFindingId/v1":"690751a8e0c436c7ed2e0c0df7213073e3f22ea77c519f7a4990cb483b611d74"}},{"ruleId":"D2","level":"warning","message":{"text":"splunkLogger.postMessages (cognitive 23): splunkLogger.postMessages has cognitive complexity 23 (threshold 15). Drivers by points: if/else 6 (17 pts), loops 2 (5 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":"daemon/logger/splunk/splunk.go"},"region":{"startLine":436}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0f3151072a50fc7b5048544d0cd37ad0e22568446354dfcd60d05c878793d12"}},{"ruleId":"D2","level":"warning","message":{"text":"tarexporter.legacyLoad (cognitive 23): tarexporter.legacyLoad has cognitive complexity 23 (threshold 15). Drivers by points: if/else 10 (19 pts), loops 3 (4 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"image/tarexport/load.go"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b8205cae1857d1818fe9f28c6ece6bbb798d55507268fe5618688185aef4c90"}},{"ruleId":"D2","level":"warning","message":{"text":"fileMetadataStore.List (cognitive 23): fileMetadataStore.List has cognitive complexity 23 (threshold 15). Drivers by points: if/else 8 (18 pts), loops 3 (4 pts), boolean chains 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"layer/filestore.go"},"region":{"startLine":390}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2abe56a7e75fbbeb1f56319dac0efb109ed62d986e156ccb49b48a432e79506"}},{"ruleId":"D2","level":"warning","message":{"text":"driver.configure (cognitive 23): driver.configure has cognitive complexity 23 (threshold 15). Drivers by points: if/else 12 (21 pts), boolean chains 1, match/switch 1 (nesting depth added 9). Of this number, 19 points are the body\u0027s own statements and 4 belong to 2 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/drivers/bridge/bridge_linux.go"},"region":{"startLine":395}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3d83eb7ff0b7d303252397ed3366b0e59636f94399f68bee264fde05e3ef550"}},{"ruleId":"D2","level":"warning","message":{"text":"driver.deleteNetwork (cognitive 23): driver.deleteNetwork has cognitive complexity 23 (threshold 15). Drivers by points: if/else 10 (20 pts), loops 2, match/switch 1 (nesting depth added 10). Of this number, 20 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":"libnetwork/drivers/bridge/bridge_linux.go"},"region":{"startLine":827}}}],"partialFingerprints":{"codehealthFindingId/v1":"839ad4752c5c432d44aeef3483767e5dbcd904eb428b95d7a6f95c2e203e430e"}},{"ruleId":"D2","level":"warning","message":{"text":"ContainerConfigWrapper.getHostConfig (cognitive 23): ContainerConfigWrapper.getHostConfig has cognitive complexity 23 (threshold 15). Drivers by points: if/else 9 (15 pts), boolean chains 8 (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":"runconfig/config_unix.go"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"d987334c02c71cadb5a096247cef03549937ec7e0ac6d3b5eb1847f74af45c2b"}},{"ruleId":"D2","level":"warning","message":{"text":"windowsParser.splitRawSpec (cognitive 23): windowsParser.splitRawSpec has cognitive complexity 23 (threshold 15). Drivers by points: if/else 12 (20 pts), boolean chains 2, loops 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"volume/mounts/windows_parser.go"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed92e5777caecab450e6148dd62ba3513b38ae3888c89f10b731f70d5540c57a"}},{"ruleId":"D2","level":"warning","message":{"text":"distributionRouter.fetchManifest (cognitive 22): distributionRouter.fetchManifest has cognitive complexity 22 (threshold 15). Drivers by points: if/else 10 (15 pts), match/switch 2 (3 pts), boolean chains 2, loops 1 (2 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/router/distribution/distribution_routes.go"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"0550a26c64f8f6c30abd0686617bf6527331e6151c32b03b37f5363a0e40953b"}},{"ruleId":"D2","level":"warning","message":{"text":"systemRouter.getEvents (cognitive 22): systemRouter.getEvents has cognitive complexity 22 (threshold 15). Drivers by points: if/else 11 (18 pts), loops 2, match/switch 1 (2 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/router/system/system_routes.go"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"4490745e0e1228678b7f82f8b40a211dcfa75cada00193483011a53f71e17cb2"}},{"ruleId":"D2","level":"warning","message":{"text":"snapshotter.getLayer (cognitive 22): snapshotter.getLayer has cognitive complexity 22 (threshold 15). Drivers by points: if/else 9 (22 pts) (nesting depth added 13). 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":"builder/builder-next/adapters/snapshot/snapshot.go"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef572722bf25cd1ada38de6d373a7507333ea1b439bb4a382eb1c73cb262af92"}},{"ruleId":"D2","level":"warning","message":{"text":"Client.ContainerCreate (cognitive 22): Client.ContainerCreate has cognitive complexity 22 (threshold 15). Drivers by points: if/else 13 (16 pts), boolean chains 6 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/container_create.go"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a0b19a7ac88c71244799d4028542aac773aba8f409168adc43e1024f9d6fed5"}},{"ruleId":"D2","level":"warning","message":{"text":"daemon.validateEndpointSettings (cognitive 22): daemon.validateEndpointSettings has cognitive complexity 22 (threshold 15). Drivers by points: if/else 11 (15 pts), loops 2 (4 pts), boolean chains 3 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/container_operations.go"},"region":{"startLine":523}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba8797711c9b2be286a3768f188e5adfafa55eff39d02d7af358ae61ce89c8d2"}},{"ruleId":"D2","level":"warning","message":{"text":"Daemon.containerExtractToDir (cognitive 22): Daemon.containerExtractToDir has cognitive complexity 22 (threshold 15). Drivers by points: if/else 17 (21 pts), boolean chains 1 (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/archive_unix.go"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"baf55b7eaf77142347e5af0e410be50d3da3f84c99d0f3bf792a41f5ac976370"}},{"ruleId":"D2","level":"warning","message":{"text":"Daemon.fillRootlessVersion (cognitive 22): Daemon.fillRootlessVersion has cognitive complexity 22 (threshold 15). Drivers by points: if/else 12 (21 pts), match/switch 1 (nesting depth added 9). Most of this is not in the body itself: 10 of the 22 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 266, 294). 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":"daemon/info_unix.go"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b9d81d069ac225ce21a48ecd1f525bed6a0bad3e360d4d6cd5ddcde6ce0007a"}},{"ruleId":"D2","level":"warning","message":{"text":"Driver.create (cognitive 22): Driver.create has cognitive complexity 22 (threshold 15). Drivers by points: if/else 16 (21 pts), boolean chains 1 (nesting depth added 5). 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, 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":"daemon/graphdriver/overlay2/overlay.go"},"region":{"startLine":347}}}],"partialFingerprints":{"codehealthFindingId/v1":"67514b559832833f0fdaa842ff7fdc7f1153e7fb0a1a84867a1579c079f79d1f"}},{"ruleId":"D2","level":"warning","message":{"text":"ImageService.GetImageAndReleasableLayer (cognitive 22): ImageService.GetImageAndReleasableLayer has cognitive complexity 22 (threshold 15). Drivers by points: if/else 11 (20 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":"daemon/images/image_builder.go"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"df3bc17c8be46c3a055b1360a2d4e23b783237fd9386c092e49a31ee5ae2a2a8"}},{"ruleId":"D2","level":"warning","message":{"text":"ImageService.ImageHistory (cognitive 22): ImageService.ImageHistory has cognitive complexity 22 (threshold 15). Drivers by points: if/else 8 (18 pts), loops 3 (4 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":"daemon/images/image_history.go"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"3891d5a01b53813b122aa848fcdf6b2b7cb61d4e4b98ed5b8dfb85521593ccba"}},{"ruleId":"D2","level":"warning","message":{"text":"LogFile.rotate (cognitive 22): LogFile.rotate has cognitive complexity 22 (threshold 15). Drivers by points: if/else 12 (18 pts), boolean chains 4 (nesting depth added 6). Most of this is not in the body itself: 6 of the 22 points are its own statements and the rest belongs to 3 function literals inside it that branch (lines 217, 201, 255). 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":"daemon/logger/loggerutils/logfile.go"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"d68da99e8ed2260ab27ef4299d309364a5d0d95ba95f2dbcdb8cd88d9a62287b"}},{"ruleId":"D2","level":"warning","message":{"text":"splunkLogger.tryPostMessages (cognitive 22): splunkLogger.tryPostMessages has cognitive complexity 22 (threshold 15). Drivers by points: if/else 15 (21 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":"daemon/logger/splunk/splunk.go"},"region":{"startLine":474}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7a5b1f49fe662a97e1ef0f03f06a89c4cbd0982f40872a12d6237699d400938"}},{"ruleId":"D2","level":"warning","message":{"text":"container.createIO (cognitive 22): container.createIO has cognitive complexity 22 (threshold 15). Drivers by points: if/else 9 (20 pts), match/switch 1 (2 pts) (nesting depth added 12). Most of this is not in the body itself: 3 of the 22 points are its own statements and the rest belongs to one function literal inside it that branches (line 507). 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":"libcontainerd/remote/client.go"},"region":{"startLine":491}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f74830f2147b29443173464e9060ce9bfe3e6d3bbfaa67efbdb46f94898e84c"}},{"ruleId":"D2","level":"warning","message":{"text":"driver.updateKeys (cognitive 22): driver.updateKeys has cognitive complexity 22 (threshold 15). Drivers by points: if/else 9 (13 pts), boolean chains 7, loops 2 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/drivers/overlay/encryption.go"},"region":{"startLine":466}}}],"partialFingerprints":{"codehealthFindingId/v1":"8db2806989bde8c5cdf4427152d3bbc4dae08e296296e3b26f33a8a864b4e138"}},{"ruleId":"D2","level":"warning","message":{"text":"driver.DeleteNetwork (cognitive 22): driver.DeleteNetwork has cognitive complexity 22 (threshold 15). Drivers by points: if/else 9 (19 pts), loops 2 (3 pts) (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/drivers/overlay/ov_network.go"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1e0229461d13c0b8bc184f5fb4e588ee4351b7e7161475d7df6ae3cf76203b9"}},{"ruleId":"D2","level":"warning","message":{"text":"NetworkDB.rejoinClusterBootStrap (cognitive 22): NetworkDB.rejoinClusterBootStrap has cognitive complexity 22 (threshold 15). Drivers by points: if/else 8 (18 pts), loops 2 (4 pts) (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/networkdb/cluster.go"},"region":{"startLine":277}}}],"partialFingerprints":{"codehealthFindingId/v1":"94c7ac08ff263cbf38a2a0d97b7b983df5179b93bb64edfb9f6de053d323c0cc"}},{"ruleId":"D2","level":"warning","message":{"text":"NetworkDB.bulkSyncTables (cognitive 22): NetworkDB.bulkSyncTables has cognitive complexity 22 (threshold 15). Drivers by points: if/else 6 (15 pts), loops 4 (7 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":"libnetwork/networkdb/cluster.go"},"region":{"startLine":518}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e99f100d1a3f16d639cccb868ff44320c57820d0253111bf433bcd8395547f3"}},{"ruleId":"D2","level":"warning","message":{"text":"Control.findNextProjectID (cognitive 22): Control.findNextProjectID has cognitive complexity 22 (threshold 15). Drivers by points: if/else 10 (18 pts), loops 2 (3 pts), boolean chains 1 (nesting depth added 9). Of this number, 19 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":"quota/projectquota.go"},"region":{"startLine":324}}}],"partialFingerprints":{"codehealthFindingId/v1":"33f160d188085f7e00968da356984a8d578f85bd422293295fabb916c2416104"}},{"ruleId":"D2","level":"warning","message":{"text":"serviceConfig.loadInsecureRegistries (cognitive 22): serviceConfig.loadInsecureRegistries has cognitive complexity 22 (threshold 15). Drivers by points: if/else 8 (16 pts), loops 2 (4 pts), boolean chains 1, jumps 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":"registry/config.go"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e295e9e65d39bc88d117af90d93a4bd58e1ee67f91bc08a95bcf31b21c3aa9c"}},{"ruleId":"D2","level":"warning","message":{"text":"driver.CreateEndpoint (cognitive 22): driver.CreateEndpoint has cognitive complexity 22 (threshold 15). Drivers by points: if/else 19 (22 pts) (nesting depth added 3). 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, 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":"libnetwork/drivers/windows/overlay/ov_endpoint_windows.go"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e7d9ea59c9e2a9baa4268858c136edbdf079eba7d9e48e5000b606a5a4e5626"}},{"ruleId":"D2","level":"warning","message":{"text":"network.ValidateIPAM (cognitive 21): network.ValidateIPAM has cognitive complexity 21 (threshold 15). Drivers by points: if/else 9 (17 pts), loops 2 (3 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":"api/types/network/ipam.go"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"d874c77ccb4867a736975569d0d198dfc199a448b96cb487a32b1142f0b6ad95"}},{"ruleId":"D2","level":"warning","message":{"text":"buildkit.newGraphDriverController (cognitive 21): buildkit.newGraphDriverController has cognitive complexity 21 (threshold 15). Drivers by points: if/else 20, loops 1. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"builder/builder-next/controller.go"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"3143f9696ca44cff3731f5fa0d9f5016ae1187febb8a08f8ebaac043c8fb2b2a"}},{"ruleId":"D2","level":"warning","message":{"text":"Builder.dispatchDockerfileWithCancellation (cognitive 21): Builder.dispatchDockerfileWithCancellation has cognitive complexity 21 (threshold 15). Drivers by points: if/else 6 (13 pts), loops 4 (5 pts), match/switch 1 (3 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"builder/dockerfile/builder.go"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e804bd6e61fe785def86196037d628be3be414392c79154a0601bbdd1925032"}},{"ruleId":"D2","level":"warning","message":{"text":"daemon.buildPortsRelatedCreateEndpointOptions (cognitive 21): daemon.buildPortsRelatedCreateEndpointOptions has cognitive complexity 21 (threshold 15). Drivers by points: if/else 5 (10 pts), loops 5 (9 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":"daemon/network.go"},"region":{"startLine":706}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bbbf45919f7ddb199925820803333f4d22ad147f919bf4af2085dd45bce34a4"}},{"ruleId":"D2","level":"warning","message":{"text":"daemon.withCommonOptions (cognitive 21): daemon.withCommonOptions has cognitive complexity 21 (threshold 15). Drivers by points: if/else 11 (16 pts), boolean chains 5 (nesting depth added 5). None of this is in the body itself: all 21 points belong to one function literal inside it that branches (line 756). 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":"daemon/oci_linux.go"},"region":{"startLine":755}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a5fa85c9d3378dd29fac1dfafd6ae1eae085501a01010d965a780d218170a02"}},{"ruleId":"D2","level":"warning","message":{"text":"config.Validate (cognitive 21): config.Validate has cognitive complexity 21 (threshold 15). Drivers by points: if/else 11 (14 pts), match/switch 2 (4 pts), loops 3 (nesting depth added 5). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/config/config.go"},"region":{"startLine":637}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a45decba2d29fe091af247c3e5df82067034107799a60c11cab6660000e300c"}},{"ruleId":"D2","level":"warning","message":{"text":"ImageService.singlePlatformImage (cognitive 21): ImageService.singlePlatformImage has cognitive complexity 21 (threshold 15). Drivers by points: if/else 14 (19 pts), loops 1 (2 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/containerd/image_list.go"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"a06ee10f8c41ec3713d5dcf7ebd403f4273f35c998f11ee4a828fa9d181a32a5"}},{"ruleId":"D2","level":"warning","message":{"text":"Daemon.updateContainerNetworkSettings (cognitive 21): Daemon.updateContainerNetworkSettings has cognitive complexity 21 (threshold 15). Drivers by points: if/else 14 (18 pts), loops 1 (2 pts), boolean chains 1 (nesting depth added 5). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/container_operations.go"},"region":{"startLine":362}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2fde958a50a5d4df407a1a800f4b9f0bfb8f01e8bbae414ed26e6aaac260817"}},{"ruleId":"D2","level":"warning","message":{"text":"Daemon.Shutdown (cognitive 21): Daemon.Shutdown has cognitive complexity 21 (threshold 15). Drivers by points: if/else 13 (19 pts), boolean chains 2 (nesting depth added 6). Of this number, 15 points are the body\u0027s own statements and 6 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/daemon.go"},"region":{"startLine":1301}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ad984d09cb4ecf0d6e6e99e86329bddc24aa89444ee87df9e71fc5eaeff006d"}},{"ruleId":"D2","level":"warning","message":{"text":"local.getTailReader (cognitive 21): local.getTailReader has cognitive complexity 21 (threshold 15). Drivers by points: if/else 9 (16 pts), boolean chains 2, match/switch 1 (2 pts), loops 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/logger/local/read.go"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"a32925115c3770579cfccdc88586c41804c2b4de471e7fa73754f02832bb32c6"}},{"ruleId":"D2","level":"warning","message":{"text":"LogFile.readLogsLocked (cognitive 21): LogFile.readLogsLocked has cognitive complexity 21 (threshold 15). Drivers by points: if/else 8 (14 pts), loops 2 (4 pts), match/switch 1 (3 pts) (nesting depth added 10). Of this number, 19 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/logger/loggerutils/logfile.go"},"region":{"startLine":400}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c5af99f1be7a9b1c30eb2c540a00bf705302c2ab5bbbeead50c30dadb50d9a4"}},{"ruleId":"D2","level":"warning","message":{"text":"saveSession.saveConfigAndLayer (cognitive 21): saveSession.saveConfigAndLayer has cognitive complexity 21 (threshold 15). Drivers by points: if/else 16 (19 pts), loops 1 (2 pts) (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"image/tarexport/save.go"},"region":{"startLine":460}}}],"partialFingerprints":{"codehealthFindingId/v1":"de629d065694f7d1db5cbcef016458c4f1ed6920ad0a4ea94d941d587e447bf1"}},{"ruleId":"D2","level":"warning","message":{"text":"Controller.NewSandbox (cognitive 21): Controller.NewSandbox has cognitive complexity 21 (threshold 15). Drivers by points: if/else 14 (19 pts), boolean chains 1, loops 1 (nesting depth added 5). Of this number, 17 points are the body\u0027s own statements and 4 belong to 2 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/controller.go"},"region":{"startLine":884}}}],"partialFingerprints":{"codehealthFindingId/v1":"676b620e49b593a83fcb668b3e492997c56fdebc3848d4ad54a5b476afa42741"}},{"ruleId":"D2","level":"warning","message":{"text":"bridge.setupIPForwarding (cognitive 21): bridge.setupIPForwarding has cognitive complexity 21 (threshold 15). Drivers by points: if/else 10 (21 pts) (nesting depth added 11). Of this number, 16 points are the body\u0027s own statements and 5 belong to 2 function literals inside it that branch. 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":"libnetwork/drivers/bridge/setup_ip_forwarding.go"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac20be76bfa845c14f52c598156e0a0b13ada60e4b7a5a4f9b568c0fb1c7650a"}},{"ruleId":"D2","level":"warning","message":{"text":"overlay.programSA (cognitive 21): overlay.programSA has cognitive complexity 21 (threshold 15). Drivers by points: if/else 11 (21 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/drivers/overlay/encryption.go"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"6efbf1da8c8808d5275dcee62e536fd3db5235e2d5be8efed37b429205a899d0"}},{"ruleId":"D2","level":"warning","message":{"text":"driver.NetworkAllocate (cognitive 21): driver.NetworkAllocate has cognitive complexity 21 (threshold 15). Drivers by points: if/else 10 (18 pts), loops 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":"libnetwork/drivers/overlay/ovmanager/ovmanager.go"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"0369d70abde4da64e7bc833979ab83dbd667383b81a09692793d128d6fe56336"}},{"ruleId":"D2","level":"warning","message":{"text":"windows.parseEndpointOptions (cognitive 21): windows.parseEndpointOptions has cognitive complexity 21 (threshold 15). Drivers by points: if/else 16 (21 pts) (nesting depth added 5). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, 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":"libnetwork/drivers/windows/windows.go"},"region":{"startLine":525}}}],"partialFingerprints":{"codehealthFindingId/v1":"4afdea8ae8cbdb3897966f55773c023bb9d8cad9bcaa9945ccaaa6509ba5ca58"}},{"ruleId":"D2","level":"warning","message":{"text":"Endpoint.deleteServiceInfoFromCluster (cognitive 21): Endpoint.deleteServiceInfoFromCluster has cognitive complexity 21 (threshold 15). Drivers by points: if/else 12 (20 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":"libnetwork/agent.go"},"region":{"startLine":684}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fdd00ce4c5f949c3093d6e81714b29c48841e5f1a9af8fbfb7400cf4fe8beab"}},{"ruleId":"D2","level":"warning","message":{"text":"NetworkDB.gossip (cognitive 21): NetworkDB.gossip has cognitive complexity 21 (threshold 15). Drivers by points: if/else 8 (16 pts), loops 3 (4 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":"libnetwork/networkdb/cluster.go"},"region":{"startLine":445}}}],"partialFingerprints":{"codehealthFindingId/v1":"41cbe7aff3c2a2f71ccca6151331c7a93bc0c1c2e39121d22832dbc593569deb"}},{"ruleId":"D2","level":"warning","message":{"text":"NetworkDB.handleTableEvent (cognitive 21): NetworkDB.handleTableEvent has cognitive complexity 21 (threshold 15). Drivers by points: if/else 8 (12 pts), boolean chains 6, jumps 1, loops 1, match/switch 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":"libnetwork/networkdb/delegate.go"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6b841a7693127c1eb412875fe9560ec61aa8689f4290c7886ae8c76e3a8dd6e"}},{"ruleId":"D2","level":"warning","message":{"text":"Sandbox.clearNetworkResources (cognitive 21): Sandbox.clearNetworkResources has cognitive complexity 21 (threshold 15). Drivers by points: if/else 11 (16 pts), boolean chains 3, 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":"libnetwork/sandbox.go"},"region":{"startLine":589}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba0341b0d52a885d555be984d6156bb8eb0a7bd4b118c244a49e232e1e643ae6"}},{"ruleId":"D2","level":"warning","message":{"text":"archive.ChangesSize (cognitive 21): archive.ChangesSize has cognitive complexity 21 (threshold 15). Drivers by points: if/else 6 (18 pts), boolean chains 2, loops 1 (nesting depth added 12). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/archive/changes.go"},"region":{"startLine":365}}}],"partialFingerprints":{"codehealthFindingId/v1":"8121aff33b3788569fe7eaa00a8a5cff76937d57bbf7a677f7f502e59942676e"}},{"ruleId":"D2","level":"warning","message":{"text":"BytesPipe.Write (cognitive 21): BytesPipe.Write has cognitive complexity 21 (threshold 15). Drivers by points: if/else 7 (16 pts), loops 2 (3 pts), boolean chains 1, jumps 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/ioutils/bytespipe.go"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c84b372b9dc010ba148ae6cdd1c519f44889931d48ff2f8b9bcfaaa078be77d"}},{"ruleId":"D2","level":"warning","message":{"text":"scanner.Scan (cognitive 21): scanner.Scan has cognitive complexity 21 (threshold 15). Drivers by points: if/else 7 (16 pts), boolean chains 2, match/switch 1 (2 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/tailfile/tailfile.go"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1e49d93320a2d34cfdc2e7a2bd3cc6f25725b45fda0061cb2241ef3f5f3f843"}},{"ruleId":"D2","level":"warning","message":{"text":"local.getMountOptions (cognitive 21): local.getMountOptions has cognitive complexity 21 (threshold 15). Drivers by points: if/else 8 (18 pts), boolean chains 2, 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":"volume/local/local_unix.go"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"197a9a6a071ac0957eac383424adc104a8ff646253f22288fedd384d890d0ab1"}},{"ruleId":"D2","level":"warning","message":{"text":"client.extractResourcesFromSpec (cognitive 21): client.extractResourcesFromSpec has cognitive complexity 21 (threshold 15). Drivers by points: if/else 8 (21 pts) (nesting depth added 13). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libcontainerd/local/local_windows.go"},"region":{"startLine":360}}}],"partialFingerprints":{"codehealthFindingId/v1":"c99c13b108d8cc1a7944867885884f072e096a9c2d18987afd0ff5f53c18bc15"}},{"ruleId":"D2","level":"warning","message":{"text":"driver.parseNetworkOptions (cognitive 21): driver.parseNetworkOptions has cognitive complexity 21 (threshold 15). Drivers by points: if/else 5 (15 pts), loops 2 (4 pts), match/switch 1 (2 pts) (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/drivers/windows/windows.go"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"70015dc1f7019a92b0ef2d810fc4e3d1c16e28eed2b867f164548b2a3b506990"}},{"ruleId":"D2","level":"warning","message":{"text":"reader.readLogs (cognitive 21): reader.readLogs has cognitive complexity 21 (threshold 15). Drivers by points: if/else 15 (20 pts), boolean chains 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/logger/journald/read.go"},"region":{"startLine":359}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca7bb731a71075fa44fbb62e180ae1f0a326d194f6c84179de4ca0074f42655b"}},{"ruleId":"D2","level":"warning","message":{"text":"networkRouter.getNetwork (cognitive 20): networkRouter.getNetwork has cognitive complexity 20 (threshold 15). Drivers by points: if/else 11 (15 pts), loops 3 (5 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/router/network/network_routes.go"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"29cd6577a5eeebb0f8276479b1cce565503e6f25301f498c20c826e4d932c160"}},{"ruleId":"D2","level":"warning","message":{"text":"snapshotter.Usage (cognitive 20): snapshotter.Usage has cognitive complexity 20 (threshold 15). Drivers by points: if/else 16 (20 pts) (nesting depth added 4). Of this number, 15 points are the body\u0027s own statements and 5 belong to 2 function literals inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"builder/builder-next/adapters/snapshot/snapshot.go"},"region":{"startLine":418}}}],"partialFingerprints":{"codehealthFindingId/v1":"c756e84ead16c1c5b2860ac4ea8b888ca1cb2380e1ff3c6f5458686424c918c8"}},{"ruleId":"D2","level":"warning","message":{"text":"pullProgress.UpdateProgress (cognitive 20): pullProgress.UpdateProgress has cognitive complexity 20 (threshold 15). Drivers by points: if/else 9 (17 pts), loops 2, 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":"daemon/containerd/progress.go"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a3ea320f308310254d129b8f9d019a21b0011d97627aba8ba2e94aff1d8ac58"}},{"ruleId":"D2","level":"warning","message":{"text":"ImageService.PushImage (cognitive 20): ImageService.PushImage has cognitive complexity 20 (threshold 15). Drivers by points: if/else 6 (17 pts), loops 1 (3 pts) (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/containerd/image_push.go"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"03ac59674e6382bcf8ce92a9c29cd465670cabf4813e99dd3fc3c44894e5271d"}},{"ruleId":"D2","level":"warning","message":{"text":"Daemon.containerCreate (cognitive 20): Daemon.containerCreate has cognitive complexity 20 (threshold 15). Drivers by points: if/else 13 (17 pts), boolean chains 3 (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/create.go"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcc1c9d91482b5f70186c02930d4c6a1b54bcb10417248c6e2138210d479ba4a"}},{"ruleId":"D2","level":"warning","message":{"text":"Daemon.getInspectData (cognitive 20): Daemon.getInspectData has cognitive complexity 20 (threshold 15). Drivers by points: if/else 10 (17 pts), boolean chains 2, loops 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/inspect.go"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d8a335593e6c286bae3b0f84eb74774c53a6a4ca9ede169a7b2c63c4c975446"}},{"ruleId":"D2","level":"warning","message":{"text":"overlay2.doesSupportNativeDiff (cognitive 20): overlay2.doesSupportNativeDiff has cognitive complexity 20 (threshold 15). Drivers by points: if/else 19 (20 pts) (nesting depth added 1). Of this number, 18 points are the body\u0027s own statements and 2 belong to 2 function literals inside it that branch. To reduce it, split the body: 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":"daemon/graphdriver/overlay2/check.go"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc64e86315b2332595f05e26b412c78250211acef63a5e303d8baedf23abc739"}},{"ruleId":"D2","level":"warning","message":{"text":"manifestStore.Get (cognitive 20): manifestStore.Get has cognitive complexity 20 (threshold 15). Drivers by points: if/else 11 (19 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":"distribution/manifest.go"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"eaf1fed534eca97ff9a72de1f0353bef249a9977343c45987e41920cfdf64a55"}},{"ruleId":"D2","level":"warning","message":{"text":"mounttree.SwitchRoot (cognitive 20): mounttree.SwitchRoot has cognitive complexity 20 (threshold 15). Drivers by points: if/else 13 (19 pts), boolean chains 1 (nesting depth added 6). Of this number, 10 points are the body\u0027s own statements and 10 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":"internal/mounttree/switchroot_linux.go"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"f04abaebc6479fed797a7832885b4d07d5b0818cb1e4d2a5480a88f29c189f71"}},{"ruleId":"D2","level":"warning","message":{"text":"layerStore.registerWithDescriptor (cognitive 20): layerStore.registerWithDescriptor has cognitive complexity 20 (threshold 15). Drivers by points: if/else 15 (20 pts) (nesting depth added 5). Of this number, 13 points are the body\u0027s own statements and 7 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":"layer/layer_store.go"},"region":{"startLine":301}}}],"partialFingerprints":{"codehealthFindingId/v1":"57130f9a122ce7160aadf2dd7da6cf96ec73bccdb789f822b4e9e0461115a6de"}},{"ruleId":"D2","level":"warning","message":{"text":"driver.EventNotify (cognitive 20): driver.EventNotify has cognitive complexity 20 (threshold 15). Drivers by points: if/else 14 (18 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":"libnetwork/drivers/overlay/joinleave.go"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ab818f71c4ea6af7fe33cd7c7f59d6ec26a56362e537eb0859a976316ad3f64"}},{"ruleId":"D2","level":"warning","message":{"text":"Network.rmLBBackend (cognitive 20): Network.rmLBBackend has cognitive complexity 20 (threshold 15). Drivers by points: if/else 9 (20 pts) (nesting depth added 11). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/service_linux.go"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"d93626fe6182cc6fb5d3f84adc8e96b296799742e66d84d384a43492128721c3"}},{"ruleId":"D2","level":"warning","message":{"text":"Sandbox.resolveName (cognitive 20): Sandbox.resolveName has cognitive complexity 20 (threshold 15). Drivers by points: if/else 8 (17 pts), boolean chains 2, loops 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/sandbox.go"},"region":{"startLine":494}}}],"partialFingerprints":{"codehealthFindingId/v1":"f06f2e92bffbb145543c8349ac5900114bc0fc19b5478da038bbce3632554645"}},{"ruleId":"D2","level":"warning","message":{"text":"VolumesService.volumesToAPI (cognitive 20): VolumesService.volumesToAPI has cognitive complexity 20 (threshold 15). Drivers by points: if/else 6 (14 pts), match/switch 2 (4 pts), loops 2 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"volume/service/convert.go"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"d36b629f6818a391e01945aaa0fc45208777974ae3b17bab82255272ce6bb052"}},{"ruleId":"D2","level":"warning","message":{"text":"driver.EventNotify (cognitive 20): driver.EventNotify has cognitive complexity 20 (threshold 15). Drivers by points: if/else 14 (18 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":"libnetwork/drivers/windows/overlay/joinleave_windows.go"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6ca3182ef86d57af6b4ea27230eac7093bb3857356ecae1b9a215bdd92c9f07"}},{"ruleId":"D2","level":"warning","message":{"text":"reader.readJournal (cognitive 20): reader.readJournal has cognitive complexity 20 (threshold 15). Drivers by points: if/else 7 (13 pts), boolean chains 4, match/switch 1 (2 pts), 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":"daemon/logger/journald/read.go"},"region":{"startLine":322}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e403e76a014106cadf77cb5b7f169c3c03fcd2c7a9fcb3053c0843ad3718a4a"}},{"ruleId":"D2","level":"warning","message":{"text":"Backend.Build (cognitive 19): Backend.Build has cognitive complexity 19 (threshold 15). Drivers by points: if/else 12 (18 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":"api/server/backend/build/backend.go"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1e776d30214a74cfec5c26be23f28bc28a1f5f3ce87cec66d9ea544e153e6ea"}},{"ruleId":"D2","level":"warning","message":{"text":"plugin.getName (cognitive 19): plugin.getName has cognitive complexity 19 (threshold 15). Drivers by points: if/else 10 (19 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":"api/server/router/plugin/plugin_routes.go"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b7b8e9190fc8003867f4f97085c08fdf943cae38a61960e91dbda2746073095"}},{"ruleId":"D2","level":"warning","message":{"text":"snapshotter.EnsureLayer (cognitive 19): snapshotter.EnsureLayer has cognitive complexity 19 (threshold 15). Drivers by points: if/else 15 (19 pts) (nesting depth added 4). Most of this is not in the body itself: 9 of the 19 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 72, 53). 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":"builder/builder-next/adapters/snapshot/layer.go"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"34c484e77f4c7d9755bfae4d8a63cf4e4ab5700315485affcab9c88447eedb3d"}},{"ruleId":"D2","level":"warning","message":{"text":"buildkit.toBuildkitPruneInfo (cognitive 19): buildkit.toBuildkitPruneInfo has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (13 pts), match/switch 2 (4 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":"builder/builder-next/builder.go"},"region":{"startLine":627}}}],"partialFingerprints":{"codehealthFindingId/v1":"c163047c1f67b254f4e5e64e728cd43026f5da568c27cc298a6213e834737a76"}},{"ruleId":"D2","level":"warning","message":{"text":"main.main (cognitive 19): main.main has cognitive complexity 19 (threshold 15). Drivers by points: if/else 9 (17 pts), loops 1 (2 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/mobynit/main.go"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"db14d1842c8aa663ef0b779187244e1e31643a5b61daf132595912e9b88a7f71"}},{"ruleId":"D2","level":"warning","message":{"text":"daemon.idOrNameFilter (cognitive 19): daemon.idOrNameFilter has cognitive complexity 19 (threshold 15). Drivers by points: if/else 4 (12 pts), loops 2 (5 pts), boolean chains 2 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/list.go"},"region":{"startLine":342}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f87989f7afbef896e28312b9171b56dcae42c24ac4bc928f4b76ad069338c69"}},{"ruleId":"D2","level":"warning","message":{"text":"daemon.getEndpointPortMapInfo (cognitive 19): daemon.getEndpointPortMapInfo has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (14 pts), loops 2 (5 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/network.go"},"region":{"startLine":794}}}],"partialFingerprints":{"codehealthFindingId/v1":"c48fee3e2dbd1ede34684bb38cf16567d9a78b33239f56c111ac947b5b3e693c"}},{"ruleId":"D2","level":"warning","message":{"text":"ImageService.PrepareSnapshot (cognitive 19): ImageService.PrepareSnapshot has cognitive complexity 19 (threshold 15). Drivers by points: if/else 11 (19 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":"daemon/containerd/image_snapshot.go"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"c62e441cc53ac4dd6843fd85a27897df98fc4d287c7c8241b3d671e32fd9c1be"}},{"ruleId":"D2","level":"warning","message":{"text":"Daemon.DisconnectFromNetwork (cognitive 19): Daemon.DisconnectFromNetwork has cognitive complexity 19 (threshold 15). Drivers by points: if/else 10 (15 pts), boolean chains 4 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/container_operations.go"},"region":{"startLine":1016}}}],"partialFingerprints":{"codehealthFindingId/v1":"f114f92c6564e108f764766a903ab4a4ec767f46a233bd27bb2116a2c77f6d96"}},{"ruleId":"D2","level":"warning","message":{"text":"Daemon.setupIPCDirs (cognitive 19): Daemon.setupIPCDirs has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (18 pts), match/switch 1 (nesting depth added 11). 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":"daemon/container_operations_unix.go"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfbc4326d6f449852914e457bcc5629d75ee40f5f4bb06b8f286b365a892baaa"}},{"ruleId":"D2","level":"warning","message":{"text":"graphtest.DriverTestDiffApply (cognitive 19): graphtest.DriverTestDiffApply has cognitive complexity 19 (threshold 15). Drivers by points: if/else 19. 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":"daemon/graphdriver/graphtest/graphtest_unix.go"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1d0f2064a057a6ac04567d43709548c9d65503129efacf27b41da0fac3cba79"}},{"ruleId":"D2","level":"warning","message":{"text":"Sender.Send (cognitive 19): Sender.Send has cognitive complexity 19 (threshold 15). Drivers by points: if/else 13 (17 pts), boolean chains 1, loops 1 (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/logger/journald/internal/fake/sender.go"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b8d38a72bb1157de3060388e2b57391f4c4aee3f7bf8484c014c9e6dfce65a1"}},{"ruleId":"D2","level":"warning","message":{"text":"puller.pullRepository (cognitive 19): puller.pullRepository has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (16 pts), loops 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":"distribution/pull_v2.go"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"78c5eaf9172b8ec25d9506d73bae6b0ced5a4853822fcbcc4ccf24233bc2f71e"}},{"ruleId":"D2","level":"warning","message":{"text":"LayerUploadManager.makeUploadFunc (cognitive 19): LayerUploadManager.makeUploadFunc has cognitive complexity 19 (threshold 15). Drivers by points: if/else 3 (8 pts), match/switch 3 (6 pts), loops 2 (3 pts), boolean chains 1, jumps 1 (nesting depth added 9). None of this is in the body itself: all 19 points belong to one function literal inside it that branches (line 116). 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":"distribution/xfer/upload.go"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d2259a3e2f2b8b120280bf83059d5bbc53339e3c3f51f6aa6b5a6fa83894067"}},{"ruleId":"D2","level":"warning","message":{"text":"container.NewTask (cognitive 19): container.NewTask has cognitive complexity 19 (threshold 15). Drivers by points: if/else 12 (19 pts) (nesting depth added 7). Of this number, 12 points are the body\u0027s own statements and 7 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":"libcontainerd/remote/client.go"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"3141027087c91ebd0727a9bd054ea34b92ad3ec4039f3e90d238d33bc2541a4b"}},{"ruleId":"D2","level":"warning","message":{"text":"bridge.setupIPChains (cognitive 19): bridge.setupIPChains has cognitive complexity 19 (threshold 15). Drivers by points: if/else 15 (19 pts) (nesting depth added 4). Most of this is not in the body itself: 7 of the 19 points are its own statements and the rest belongs to 4 function literals inside it that branch (lines 49, 61, 73, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/drivers/bridge/setup_ip_tables_linux.go"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdd4364573569c146f8879eb3ade2d382f59898deeb498250be1ecf1d40d4944"}},{"ruleId":"D2","level":"warning","message":{"text":"driver.CreateEndpoint (cognitive 19): driver.CreateEndpoint has cognitive complexity 19 (threshold 15). Drivers by points: if/else 12 (19 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":"libnetwork/drivers/macvlan/macvlan_endpoint.go"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"af73aa79a25a57e64c08c5f379685b4747ce92292e7935f6490367be772f87d1"}},{"ruleId":"D2","level":"warning","message":{"text":"network.setupSubnetSandbox (cognitive 19): network.setupSubnetSandbox has cognitive complexity 19 (threshold 15). Drivers by points: if/else 10 (17 pts), loops 1 (2 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/drivers/overlay/ov_network.go"},"region":{"startLine":425}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ff6296c7825a2e57748af2f8c867cd48b892fc56e9340f41324070827293795"}},{"ruleId":"D2","level":"warning","message":{"text":"driver.DiscoverNew (cognitive 19): driver.DiscoverNew has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (16 pts), loops 1 (2 pts), match/switch 1 (nesting depth added 9). 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":"libnetwork/drivers/overlay/overlay.go"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc3713e4c542152590cea4e0ebd2a3a1b5352305bf3846d2055a50dec8a7b553"}},{"ruleId":"D2","level":"warning","message":{"text":"EndpointInterface.UnmarshalJSON (cognitive 19): EndpointInterface.UnmarshalJSON has cognitive complexity 19 (threshold 15). Drivers by points: if/else 10 (16 pts), loops 2 (3 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/endpoint_info.go"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"8349a70713d7516db2d248ec79024b04c59a8441ff3a9362c23a09b60212b120"}},{"ruleId":"D2","level":"warning","message":{"text":"Resolver.forwardExtDNS (cognitive 19): Resolver.forwardExtDNS has cognitive complexity 19 (threshold 15). Drivers by points: if/else 5 (11 pts), match/switch 2 (5 pts), loops 2 (3 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/resolver.go"},"region":{"startLine":484}}}],"partialFingerprints":{"codehealthFindingId/v1":"08f10c00ec36c3b88a8b0dabb9d55babc77c749e89431e97fa6f94f3b3e4b42b"}},{"ruleId":"D2","level":"warning","message":{"text":"Sandbox.needDefaultGW (cognitive 19): Sandbox.needDefaultGW has cognitive complexity 19 (threshold 15). Drivers by points: if/else 6 (13 pts), boolean chains 3, loops 2 (3 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/default_gateway.go"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"8909468876cf7a46acb971bc1199941dd74b23f51395b7f4eb105756a06f81be"}},{"ruleId":"D2","level":"warning","message":{"text":"containerfs.EnsureRemoveAll (cognitive 19): containerfs.EnsureRemoveAll has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (18 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/containerfs/rm.go"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9351ea3e1b5d83e2dd90f693a7bd022711a85bb9f079424b8324e760824e4a6"}},{"ruleId":"D2","level":"warning","message":{"text":"puller.resolveLocal (cognitive 18): puller.resolveLocal has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (17 pts), boolean chains 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 235). 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":"builder/builder-next/adapters/containerimage/pull.go"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"92a87f8e71883eb7666ddeb278ce7336920727ee36c44ed885fba4c599a02bd2"}},{"ruleId":"D2","level":"warning","message":{"text":"puller.CacheKey (cognitive 18): puller.CacheKey has cognitive complexity 18 (threshold 15). Drivers by points: if/else 10 (14 pts), boolean chains 4 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"builder/builder-next/adapters/containerimage/pull.go"},"region":{"startLine":318}}}],"partialFingerprints":{"codehealthFindingId/v1":"afc88a85e44e55b95ada5491a9129d8a131df94ef01c5ab1cffb4cac4a1bddac"}},{"ruleId":"D2","level":"warning","message":{"text":"Client.ServiceCreate (cognitive 18): Client.ServiceCreate has cognitive complexity 18 (threshold 15). Drivers by points: if/else 11 (15 pts), boolean chains 2, match/switch 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/service_create.go"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"25c91ff004ff8e67af0e9b5ac74d09d0880dd2da41e01034f569554ba1177abb"}},{"ruleId":"D2","level":"warning","message":{"text":"Daemon.updateNetworkSettings (cognitive 18): Daemon.updateNetworkSettings has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (14 pts), boolean chains 3, loops 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/container_operations.go"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"e39c71a17ce81a431af70360602120a08db8ed5146a694c55f0e1cc324803ada"}},{"ruleId":"D2","level":"warning","message":{"text":"Daemon.foldFilter (cognitive 18): Daemon.foldFilter has cognitive complexity 18 (threshold 15). Drivers by points: if/else 15 (18 pts) (nesting depth added 3). Of this number, 11 points are the body\u0027s own statements and 7 belong to 4 function literals inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/list.go"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfe43c968345b1547cf3bf75ef6298eaf02179dde095552544e5ae3ea24cb9f5"}},{"ruleId":"D2","level":"warning","message":{"text":"Daemon.setupConfigDir (cognitive 18): Daemon.setupConfigDir has cognitive complexity 18 (threshold 15). Drivers by points: if/else 10 (17 pts), loops 1 (nesting depth added 7). Of this number, 15 points are the body\u0027s own statements and 3 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/container_operations_windows.go"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"504c9f632dd0df1e9fa444c905dd0fb4555251ba529c80915fb01ea567318bb8"}},{"ruleId":"D2","level":"warning","message":{"text":"Daemon.createSpecWindowsFields (cognitive 18): Daemon.createSpecWindowsFields has cognitive complexity 18 (threshold 15). Drivers by points: if/else 12 (18 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":"daemon/oci_windows.go"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"d188cb3ee06257c5aa948032f8dd9cdeb27b0cf5bc2192d1be80704be5e3298f"}},{"ruleId":"D2","level":"warning","message":{"text":"graphtest.DriverBenchDiffApplyN (cognitive 18): graphtest.DriverBenchDiffApplyN has cognitive complexity 18 (threshold 15). Drivers by points: if/else 11 (17 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":"daemon/graphdriver/graphtest/graphbench_unix.go"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa634e8441ac660c94787c5a0f8d648ef7b0e93164c20c8a564cc5d2baa1febb"}},{"ruleId":"D2","level":"warning","message":{"text":"overlay2.usingMetacopy (cognitive 18): overlay2.usingMetacopy has cognitive complexity 18 (threshold 15). Drivers by points: if/else 13 (17 pts), loops 1 (nesting depth added 4). 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: 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":"daemon/graphdriver/overlay2/check.go"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"83f5353b3f67431ebce56af2eaf589265efc8a3c8c790129acb4c678858bea63"}},{"ruleId":"D2","level":"warning","message":{"text":"overlay2.Init (cognitive 18): overlay2.Init has cognitive complexity 18 (threshold 15). Drivers by points: if/else 16 (17 pts), match/switch 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":"daemon/graphdriver/overlay2/overlay.go"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"3649849049e63f1ecec45125f898f3b1a21e6c80c63c66a1fad35d9cb5a66629"}},{"ruleId":"D2","level":"warning","message":{"text":"Link.ToEnv (cognitive 18): Link.ToEnv has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (11 pts), loops 3 (4 pts), boolean chains 3 (nesting depth added 6). Of this number, 16 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/links/links.go"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"20323a8fb67b4277d3035780fc6f83d734db88590d1871570a9c4d5cfde62b5d"}},{"ruleId":"D2","level":"warning","message":{"text":"distribution.detectManifestBlobMediaType (cognitive 18): distribution.detectManifestBlobMediaType has cognitive complexity 18 (threshold 15). Drivers by points: if/else 5 (9 pts), boolean chains 7, match/switch 2 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"distribution/manifest.go"},"region":{"startLine":262}}}],"partialFingerprints":{"codehealthFindingId/v1":"e075d32d106fba6e80da5d88ea687d86b5ac4cd31ff03063fb253767f4af6514"}},{"ruleId":"D2","level":"warning","message":{"text":"xfer.broadcast (cognitive 18): xfer.broadcast has cognitive complexity 18 (threshold 15). Drivers by points: match/switch 3 (9 pts), if/else 3 (5 pts), loops 2 (4 pts) (nesting depth added 10). 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":"distribution/xfer/transfer.go"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"adcffd8e799224986b848d082fc1d567b204ee6d0774e52814c66c2d5fea0546"}},{"ruleId":"D2","level":"warning","message":{"text":"Network.applyConfigurationTo (cognitive 18): Network.applyConfigurationTo has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (12 pts), loops 3 (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":"libnetwork/network.go"},"region":{"startLine":393}}}],"partialFingerprints":{"codehealthFindingId/v1":"25b44b0f4b2ea856a0651182abb109e7959de359c6f1700b271470eab8ae572a"}},{"ruleId":"D2","level":"warning","message":{"text":"Network.CopyTo (cognitive 18): Network.CopyTo has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (10 pts), loops 7 (8 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":"libnetwork/network.go"},"region":{"startLine":431}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecaf0ee3a813226f2de23d5414602a111ba5414838aaeced464cb9f0af1db258"}},{"ruleId":"D2","level":"warning","message":{"text":"Sandbox.ResolveName (cognitive 18): Sandbox.ResolveName has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (15 pts), loops 2 (3 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/sandbox.go"},"region":{"startLine":427}}}],"partialFingerprints":{"codehealthFindingId/v1":"56380e0a86c4d914d5ebc79cfe6c09511f0b7a326a9acbe9fe86d3d6d094bc6e"}},{"ruleId":"D2","level":"warning","message":{"text":"JSONProgress.String (cognitive 18): JSONProgress.String has cognitive complexity 18 (threshold 15). Drivers by points: if/else 9 (13 pts), match/switch 2 (3 pts), boolean chains 2 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/jsonmessage/jsonmessage.go"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"414df179ef1c4a5b6d35a1221020240834570478877a713a813f150c2cc76305"}},{"ruleId":"D2","level":"warning","message":{"text":"main.parseInterface (cognitive 18): main.parseInterface 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":"pkg/plugins/pluginrpc-gen/parser.go"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea3c463fa606385829a23e239e40a8c9333f9c52c807932ee369b252c7588cf1"}},{"ruleId":"D2","level":"warning","message":{"text":"Store.lookup (cognitive 18): Store.lookup has cognitive complexity 18 (threshold 15). Drivers by points: if/else 9 (18 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"volume/drivers/extpoint.go"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9502f9fa77f21c8feb2311f56308edd05b37d7efad39addc69993cc8ac57fd1"}},{"ruleId":"D2","level":"warning","message":{"text":"windows.writeLayerFromTar (cognitive 18): windows.writeLayerFromTar has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (17 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":"daemon/graphdriver/windows/windows.go"},"region":{"startLine":724}}}],"partialFingerprints":{"codehealthFindingId/v1":"f83d33a44075565b9f54272cc032793191b656e2dad1df5c4aee49faaeea18f6"}},{"ruleId":"D2","level":"warning","message":{"text":"task.Exec (cognitive 18): task.Exec has cognitive complexity 18 (threshold 15). Drivers by points: if/else 14 (18 pts) (nesting depth added 4). 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: 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":"libcontainerd/local/local_windows.go"},"region":{"startLine":563}}}],"partialFingerprints":{"codehealthFindingId/v1":"34f60b9c2cfb08eb4214a54d6070a0450bddd2707d756f139536058c1ca8892f"}},{"ruleId":"D2","level":"warning","message":{"text":"reader.wait (cognitive 18): reader.wait has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (15 pts), match/switch 1 (2 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":"daemon/logger/journald/read.go"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"26327614c22bd4454abab2f7df6e56329113312386dc8f3ddf8611c0daa2a07a"}},{"ruleId":"D2","level":"warning","message":{"text":"imageRouter.postImagesPush (cognitive 17): imageRouter.postImagesPush has cognitive complexity 17 (threshold 15). Drivers by points: if/else 11 (16 pts), loops 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/router/image/image_routes.go"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bf1eaa7adac84ea561813caa6fff4fc91389050b80621099188c0fd43b8c43d"}},{"ruleId":"D2","level":"warning","message":{"text":"Worker.FromRemote (cognitive 17): Worker.FromRemote has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (14 pts), loops 3 (nesting depth added 6). Of this number, 16 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"builder/builder-next/worker/worker.go"},"region":{"startLine":360}}}],"partialFingerprints":{"codehealthFindingId/v1":"af9aa82987966b05ff89fa36f40a1cd75d440b0c51bd8b1d097aae7ed3a397ae"}},{"ruleId":"D2","level":"warning","message":{"text":"Builder.performCopy (cognitive 17): Builder.performCopy has cognitive complexity 17 (threshold 15). Drivers by points: if/else 10 (15 pts), boolean chains 1, loops 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"builder/dockerfile/internals.go"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f2f267de58d8d599cc499c000c4bfc526d5f83e47d8cc64d420c92be59544d1"}},{"ruleId":"D2","level":"warning","message":{"text":"copier.calcCopyInfo (cognitive 17): copier.calcCopyInfo has cognitive complexity 17 (threshold 15). Drivers by points: if/else 9 (12 pts), boolean chains 4, match/switch 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":"builder/dockerfile/copy.go"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"044b4e648fbfa18dddd08e26adeb95b9f29d3dd538d742dc4d2ae68ac0384ef2"}},{"ruleId":"D2","level":"warning","message":{"text":"Client.ServiceUpdate (cognitive 17): Client.ServiceUpdate has cognitive complexity 17 (threshold 15). Drivers by points: if/else 12 (16 pts), match/switch 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/service_update.go"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d29ea0a1fed6f42c19e250e929746c1dccb05ece28739fe0f4244bbb65f94cc"}},{"ruleId":"D2","level":"warning","message":{"text":"daemon.withCgroups (cognitive 17): daemon.withCgroups has cognitive complexity 17 (threshold 15). Drivers by points: if/else 14 (16 pts), boolean chains 1 (nesting depth added 2). None of this is in the body itself: all 17 points belong to one function literal inside it that branches (line 830). 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":"daemon/oci_linux.go"},"region":{"startLine":829}}}],"partialFingerprints":{"codehealthFindingId/v1":"92d0eab7dd2a662aefa994e48f32e04599b2bbbf79194ca7d62dd291ea134095"}},{"ruleId":"D2","level":"warning","message":{"text":"ImageService.getImage (cognitive 17): ImageService.getImage has cognitive complexity 17 (threshold 15). Drivers by points: if/else 11 (15 pts), boolean chains 2 (nesting depth added 4). Of this number, 12 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":"daemon/images/image.go"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"2211c271c18377213fd893237d7fa35e8c8a87123501834f05cf2cf2940b0cd0"}},{"ruleId":"D2","level":"warning","message":{"text":"awslogs.New (cognitive 17): awslogs.New has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (15 pts), loops 1 (2 pts) (nesting depth added 8). Most of this is not in the body itself: 6 of the 17 points are its own statements and the rest belongs to one function literal inside it that branches (line 166). 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":"daemon/logger/awslogs/cloudwatchlogs.go"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9d188b80fce21f8d3325a9d3e18b3d0a1a2ce3f7636a650778790ea44e7042c"}},{"ruleId":"D2","level":"warning","message":{"text":"puller.pullSchema1 (cognitive 17): puller.pullSchema1 has cognitive complexity 17 (threshold 15). Drivers by points: if/else 11 (16 pts), loops 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"distribution/pull_v2.go"},"region":{"startLine":450}}}],"partialFingerprints":{"codehealthFindingId/v1":"1539aeec436e999a02a1cf3ecf41c0ecff77efa11e107af404e67ad7dc1ce252"}},{"ruleId":"D2","level":"warning","message":{"text":"store.restore (cognitive 17): store.restore has cognitive complexity 17 (threshold 15). Drivers by points: if/else 9 (16 pts), loops 1 (nesting depth added 7). Most of this is not in the body itself: 7 of the 17 points are its own statements and the rest belongs to one function literal inside it that branches (line 82). 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":"image/store.go"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"48f1db8b2c780868006ffe7b6ace45d1df1903fca63669ec69d92e0fb5db91cb"}},{"ruleId":"D2","level":"warning","message":{"text":"Controller.rmServiceBinding (cognitive 17): Controller.rmServiceBinding has cognitive complexity 17 (threshold 15). Drivers by points: if/else 13 (16 pts), boolean chains 1 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/service_common.go"},"region":{"startLine":314}}}],"partialFingerprints":{"codehealthFindingId/v1":"dce6eb96d7b8fd219a5233931c7f0ead33d8dc175ee165151a8628408c0e94b4"}},{"ruleId":"D2","level":"warning","message":{"text":"driver.CreateEndpoint (cognitive 17): driver.CreateEndpoint has cognitive complexity 17 (threshold 15). Drivers by points: if/else 11 (17 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":"libnetwork/drivers/ipvlan/ipvlan_endpoint.go"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"828e65c61a1fbe20b1aa30861402c7bc2f252310d63067f362171ef5f1c78a0b"}},{"ruleId":"D2","level":"warning","message":{"text":"driver.createNetwork (cognitive 17): driver.createNetwork has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (16 pts), loops 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/drivers/ipvlan/ipvlan_network.go"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"690fb8e639adc86976bbe7c170588074a14f75adbb41dfe445454bd3471da7da"}},{"ruleId":"D2","level":"warning","message":{"text":"driver.createNetwork (cognitive 17): driver.createNetwork has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (16 pts), loops 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/drivers/macvlan/macvlan_network.go"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"f48825623d53079e01fa561dcdbd9cbee635185f885ab9be1a783e78cccb8e23"}},{"ruleId":"D2","level":"warning","message":{"text":"Endpoint.Delete (cognitive 17): Endpoint.Delete has cognitive complexity 17 (threshold 15). Drivers by points: if/else 11 (13 pts), boolean chains 4 (nesting depth added 2). 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: 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":"libnetwork/endpoint.go"},"region":{"startLine":775}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab65a1a8e1f79f5b39367a969b957e4f41cc89e53e3a723b6a352d6d61a1f8d0"}},{"ruleId":"D2","level":"warning","message":{"text":"Sandbox.SetKey (cognitive 17): Sandbox.SetKey has cognitive complexity 17 (threshold 15). Drivers by points: if/else 10 (15 pts), boolean chains 1, loops 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/sandbox_linux.go"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"3232091a0cf171e333159f4c97455844864a778d897185a19aee7f25317ac981"}},{"ruleId":"D2","level":"warning","message":{"text":"Sandbox.addRedirectRules (cognitive 17): Sandbox.addRedirectRules has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (14 pts), loops 3 (nesting depth added 7). 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 651). 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":"libnetwork/service_linux.go"},"region":{"startLine":626}}}],"partialFingerprints":{"codehealthFindingId/v1":"2670082af3cbed0c496ba14ec8775f6290e27d8d054e295d15cd16934516b2db"}},{"ruleId":"D2","level":"warning","message":{"text":"archive.CopyInfoDestinationPath (cognitive 17): archive.CopyInfoDestinationPath has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (14 pts), boolean chains 2, 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/archive/copy.go"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c24c914f369b7793c827131c7792522c90bcac14b43e4e4dd32fdebbea058f0"}},{"ruleId":"D2","level":"warning","message":{"text":"refStore.addReference (cognitive 17): refStore.addReference has cognitive complexity 17 (threshold 15). Drivers by points: if/else 10 (16 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":"reference/store.go"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"0244bce95ed9255cc791f73a057fca5990c12ef0de4f81c3add1d5374bdb75bc"}},{"ruleId":"D2","level":"warning","message":{"text":"requestReader.Read (cognitive 17): requestReader.Read has cognitive complexity 17 (threshold 15). Drivers by points: if/else 11, boolean chains 6. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"registry/resumable/resumablerequestreader.go"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"26d3171cb01326b66d80e89c9743154bbd832541a7a84eb74a4993b057217757"}},{"ruleId":"D2","level":"warning","message":{"text":"runconfig.validateNetContainerMode (cognitive 17): runconfig.validateNetContainerMode has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (9 pts), boolean chains 8 (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":"runconfig/hostconfig.go"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fa67c737c108decbc36ab4b7312f0213d36c2b670786d0aa12824a339ada6a0"}},{"ruleId":"D2","level":"warning","message":{"text":"windowsParser.parseMountSpec (cognitive 17): windowsParser.parseMountSpec has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (14 pts), boolean chains 2, match/switch 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"volume/mounts/windows_parser.go"},"region":{"startLine":366}}}],"partialFingerprints":{"codehealthFindingId/v1":"5878805cbb845b06855b29822fc9cecde07f284a7a73624f69628c62c3e2627d"}},{"ruleId":"D2","level":"warning","message":{"text":"VolumeStore.create (cognitive 17): VolumeStore.create has cognitive complexity 17 (threshold 15). Drivers by points: if/else 12 (17 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":"volume/service/store.go"},"region":{"startLine":587}}}],"partialFingerprints":{"codehealthFindingId/v1":"82dacf7c8ddfd5dff2f7264b38ef592005af2c845d7b4bb4e42e1c8ab3b732e2"}},{"ruleId":"D2","level":"warning","message":{"text":"httputils.WriteLogStream (cognitive 16): httputils.WriteLogStream has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (13 pts), boolean chains 2, 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":"api/server/httputils/write_log_stream.go"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"55041a0b5ca139646810516eb021ac36502dec75b0080ecc3ff9031e9715ecb3"}},{"ruleId":"D2","level":"warning","message":{"text":"networkRouter.findUniqueNetwork (cognitive 16): networkRouter.findUniqueNetwork has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (10 pts), loops 3 (5 pts), boolean chains 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/router/network/network_routes.go"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"b66e0abd16a0f110cea3a99d352d4ec8fa15e7eb99929e27a942494221e4b6c7"}},{"ruleId":"D2","level":"warning","message":{"text":"dockerfile.normalizeDest (cognitive 16): dockerfile.normalizeDest has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (14 pts), boolean chains 2 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"builder/dockerfile/copy_unix.go"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"202502baaf626ded1ffda76ba8f6bf7ceac82585dc2df0e2d5503cb3c9aa1ff2"}},{"ruleId":"D2","level":"warning","message":{"text":"UDPProxy.Run (cognitive 16): UDPProxy.Run has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (13 pts), loops 2 (3 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/docker-proxy/udp_proxy.go"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea609d3f94ee648aa17daee04d1996c86f0be26f0c8f9267aa25f116003743fe"}},{"ruleId":"D2","level":"warning","message":{"text":"daemonOptions.setDefaultOptions (cognitive 16): daemonOptions.setDefaultOptions has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (14 pts), boolean chains 2 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/dockerd/options.go"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"142274088e615548843f0bf7400880bcde2b361e6a783db47267494a80642bbc"}},{"ruleId":"D2","level":"warning","message":{"text":"daemon.validateHostConfig (cognitive 16): daemon.validateHostConfig has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9 (12 pts), loops 3, 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":"daemon/container.go"},"region":{"startLine":266}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb7e818c391f01c7657d7f85c8a15918415d9eef5f0defea206a756da09494ad"}},{"ruleId":"D2","level":"warning","message":{"text":"daemon.configureNetworking (cognitive 16): daemon.configureNetworking has cognitive complexity 16 (threshold 15). Drivers by points: if/else 10 (15 pts), boolean chains 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/daemon_unix.go"},"region":{"startLine":864}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ea9e5771ddb5c7885215dcd4414a0fb6017bc791403972fd4a9230ec13cf347"}},{"ruleId":"D2","level":"warning","message":{"text":"daemon.parsePSOutput (cognitive 16): daemon.parsePSOutput has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (14 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":"daemon/top_unix.go"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"540e73a3e5ccb8cda80770fba1dc215bc52a58cee46aef5ab6bcdcdb76374353"}},{"ruleId":"D2","level":"warning","message":{"text":"ImageService.TagImage (cognitive 16): ImageService.TagImage has cognitive complexity 16 (threshold 15). Drivers by points: if/else 10 (16 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/containerd/image_tag.go"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fd2037ad4e013acbed8f13674adcecf5fe47a91eb30f9ccf33bedb14cf6800b"}},{"ruleId":"D2","level":"warning","message":{"text":"Daemon.findAndAttachNetwork (cognitive 16): Daemon.findAndAttachNetwork has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (13 pts), boolean chains 3 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/container_operations.go"},"region":{"startLine":320}}}],"partialFingerprints":{"codehealthFindingId/v1":"aab39662ee8f2c8861950812e92d5a65095cbc4c87d869f5e01461edc5de9c5b"}},{"ruleId":"D2","level":"warning","message":{"text":"Daemon.setupSecretDir (cognitive 16): Daemon.setupSecretDir has cognitive complexity 16 (threshold 15). Drivers by points: if/else 10 (15 pts), loops 1 (nesting depth added 5). Of this number, 13 points are the body\u0027s own statements and 3 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/container_operations_unix.go"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7f60fe25e41ce3bc597fc39d6cb26c0f385f80bf4da1f51145ad54d2c5f6f27"}},{"ruleId":"D2","level":"warning","message":{"text":"Daemon.restartSwarmContainers (cognitive 16): Daemon.restartSwarmContainers has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (13 pts), boolean chains 2, loops 1 (nesting depth added 9). Of this number, 8 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":"daemon/daemon.go"},"region":{"startLine":689}}}],"partialFingerprints":{"codehealthFindingId/v1":"0244783603087937514cbccfb34b87a0853bf1fcb45d2b568a55726c9d506d4d"}},{"ruleId":"D2","level":"warning","message":{"text":"Daemon.setDefaultIsolation (cognitive 16): Daemon.setDefaultIsolation has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (13 pts), match/switch 1 (2 pts), loops 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/daemon_unix.go"},"region":{"startLine":1407}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed83ff05af1bb3dd827c856d143634ae9e89b5a68e4c54c6394d965f421c0aa2"}},{"ruleId":"D2","level":"warning","message":{"text":"Daemon.containerStop (cognitive 16): Daemon.containerStop has cognitive complexity 16 (threshold 15). Drivers by points: if/else 14 (16 pts) (nesting depth added 2). 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: 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":"daemon/stop.go"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"1967fc1e5b6bb51344f1228f8d1664b01b7a5e169c83dcfb16cd3b832d790a6a"}},{"ruleId":"D2","level":"warning","message":{"text":"gcplogs.New (cognitive 16): gcplogs.New has cognitive complexity 16 (threshold 15). Drivers by points: if/else 14 (15 pts), boolean chains 1 (nesting depth added 1). Of this number, 12 points are the body\u0027s own statements and 4 belong to one function literal inside it that branches. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/logger/gcplogs/gcplogging.go"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8db8727fd7b7fb75e5371b0594c7603250b673f364af467e504972397a8e3d2"}},{"ruleId":"D2","level":"warning","message":{"text":"loggerutils.fixLongPath (cognitive 16): loggerutils.fixLongPath has cognitive complexity 16 (threshold 15). Drivers by points: boolean chains 6, if/else 4, loops 2 (4 pts), match/switch 1 (2 pts) (nesting depth added 3). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/logger/loggerutils/file_windows.go"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd333861c13f432f533e6ea6d8661990ae6ef0f92ce72289b70602330e17d072"}},{"ruleId":"D2","level":"warning","message":{"text":"forwarder.Do (cognitive 16): forwarder.Do has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (12 pts), match/switch 1 (2 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":"daemon/logger/loggerutils/logfile.go"},"region":{"startLine":625}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5a1b1fc79391112151bcd8a8bcdd2586000a7b3fee1987fabd1c6ade67cf2c0"}},{"ruleId":"D2","level":"warning","message":{"text":"layerDescriptor.Read (cognitive 16): layerDescriptor.Read has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (13 pts), loops 1 (2 pts), match/switch 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":"distribution/pull_v2.go"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"2484256a9e3b035929b14a6943965f087ec48c0a00a661042f4ff802b0c66b52"}},{"ruleId":"D2","level":"warning","message":{"text":"mod.moduleVersion (cognitive 16): mod.moduleVersion has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (13 pts), boolean chains 2, 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":"internal/mod/mod.go"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"64b1475b565bd8283baccf1b8d6b967c9e465839c8e0d5eac105074aaa3af9c6"}},{"ruleId":"D2","level":"warning","message":{"text":"main.main (cognitive 16): main.main has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9 (14 pts), boolean chains 1, match/switch 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":"libnetwork/cmd/diagnostic/main.go"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"d82eba2f3fb171be03ac990d42587f317450396fb0de223417005008529504b9"}},{"ruleId":"D2","level":"warning","message":{"text":"Controller.handleFirewallReloadService (cognitive 16): Controller.handleFirewallReloadService has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (15 pts), loops 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/firewall_linux.go"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7379115841aadd001b0f874f09c8a4944986bc42779f76dad1b57831e2faa82"}},{"ruleId":"D2","level":"warning","message":{"text":"IPAMData.Validate (cognitive 16): IPAMData.Validate has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (8 pts), boolean chains 6, loops 2 (nesting depth added 2). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/driverapi/ipamdata.go"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"622504b57e1b2110b3488dd72dc70f13f382653690b3c7cafd325e3975b65385"}},{"ruleId":"D2","level":"warning","message":{"text":"bridge.setINC (cognitive 16): bridge.setINC has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (15 pts), loops 1 (nesting depth added 10). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/drivers/bridge/setup_ip_tables_linux.go"},"region":{"startLine":352}}}],"partialFingerprints":{"codehealthFindingId/v1":"88190830de182210d34e4c5ec24d52bf67b9e1af2d2596238d508e19c0719289"}},{"ruleId":"D2","level":"warning","message":{"text":"bridge.setupBridgeIPv4 (cognitive 16): bridge.setupBridgeIPv4 has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (16 pts) (nesting depth added 9). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/drivers/bridge/setup_ipv4_linux.go"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fe21a42a5173ed24fd513ff97e402b99ca88d6661ec8c60158a707a4616923a"}},{"ruleId":"D2","level":"warning","message":{"text":"driver.createNetwork (cognitive 16): driver.createNetwork has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9 (11 pts), boolean chains 4, loops 1 (nesting depth added 2). Of this number, 12 points are the body\u0027s own statements and 4 belong to 2 function literals inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/drivers/bridge/bridge_linux.go"},"region":{"startLine":689}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a2fde8714ceab50661b3fee527d534c5cc233fe8dfddcd5ac8ed75daae08d34"}},{"ruleId":"D2","level":"warning","message":{"text":"overlay.deleteVxlanByVNI (cognitive 16): overlay.deleteVxlanByVNI has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (13 pts), boolean chains 2, 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":"libnetwork/drivers/overlay/ov_utils.go"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9d1a09b55ca32c09b5f48233d12a754b0eeeaf022944402e5f3c32405bc4cac"}},{"ruleId":"D2","level":"warning","message":{"text":"driver.CreateEndpoint (cognitive 16): driver.CreateEndpoint has cognitive complexity 16 (threshold 15). Drivers by points: if/else 13 (16 pts) (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/drivers/remote/driver.go"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"894e7803615ce31747b3c3837b86d0fdbe7b7348f790a024dfba51e42654bcbf"}},{"ruleId":"D2","level":"warning","message":{"text":"remote.parseInterface (cognitive 16): remote.parseInterface has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (16 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":"libnetwork/drivers/remote/driver.go"},"region":{"startLine":403}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bf8d462e6fcffc91ba9bac4253dcfb59e98596be5991bba819ea359a1e731c6"}},{"ruleId":"D2","level":"warning","message":{"text":"Endpoint.Less (cognitive 16): Endpoint.Less has cognitive complexity 16 (threshold 15). Drivers by points: if/else 12 (16 pts) (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/sandbox.go"},"region":{"startLine":700}}}],"partialFingerprints":{"codehealthFindingId/v1":"35009ebec1b5bc95599af435708c627d8feee93b82fb3ae8e703b1b72f9b1aeb"}},{"ruleId":"D2","level":"warning","message":{"text":"NetworkDB.reapNetworks (cognitive 16): NetworkDB.reapNetworks has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (12 pts), loops 3 (4 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/networkdb/cluster.go"},"region":{"startLine":372}}}],"partialFingerprints":{"codehealthFindingId/v1":"259b630a5d1946570f04be360d415b9b6c49b3f871a39b6c0b91e32b7e2b2a1b"}},{"ruleId":"D2","level":"warning","message":{"text":"resolvconf.Build (cognitive 16): resolvconf.Build has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (15 pts), 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":"libnetwork/resolvconf/resolvconf.go"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4ccd878c4fb23a63ab9e810560876fc6f4aad4cace1ab3c265efd2fe7b13598"}},{"ruleId":"D2","level":"warning","message":{"text":"oci.AppendDevicePermissionsFromCgroupRules (cognitive 16): oci.AppendDevicePermissionsFromCgroupRules 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":"oci/oci.go"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"07f99d0cfddebba8c8d5579b5250fbd3b2a2545c57907c1fe3f7ad4b98ef06fa"}},{"ruleId":"D2","level":"warning","message":{"text":"idtools.parseSubidFile (cognitive 16): idtools.parseSubidFile has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (13 pts), boolean chains 2, loops 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/idtools/idtools.go"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"15194dafea0d7acd9ae57908f7b69f63e2753dbc534dc89bb29ebd608873cdfa"}},{"ruleId":"D2","level":"warning","message":{"text":"loopback.openNextAvailableLoopback (cognitive 16): loopback.openNextAvailableLoopback has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (15 pts), loops 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/loopback/attach_loopback.go"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"0301435bcbdfa123ed885fe924c2bfe65bfbb345c77af8e89f0a64e5056b13da"}},{"ruleId":"D2","level":"warning","message":{"text":"Service.lookupV2Endpoints (cognitive 16): Service.lookupV2Endpoints has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (12 pts), boolean chains 2, loops 1 (2 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"registry/service_v2.go"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"de57ab309edb2a21d0efe9dc0c55f4672bed7bfd012b70c822170ee97956769f"}},{"ruleId":"D2","level":"warning","message":{"text":"linuxParser.parseMountSpec (cognitive 16): linuxParser.parseMountSpec has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (14 pts), boolean chains 1, match/switch 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":"volume/mounts/linux_parser.go"},"region":{"startLine":284}}}],"partialFingerprints":{"codehealthFindingId/v1":"188650d73ff8ec6babdbab6c56ceb94271771a511319122358ec37102ee255f9"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Daemon: TooManyMethods \u2014 286 methods, declared across 71 files: daemon/daemon.go (37), daemon/container_operations.go (20), daemon/network.go (16), daemon/container.go (14), \u002B67 more file(s). The bar is 30 methods; this is 256 over it, 9.53\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":"daemon/daemon.go"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"60569b1d63b4308ddca9fbf2a7622ff8d79ecb739a1eb2c9e4f2dd7b4521277f"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Client: TooManyMethods \u2014 152 methods, declared across 108 files: client/client.go (12), client/request.go (12), client/container_exec.go (4), client/plugin_install.go (4), \u002B104 more file(s). The bar is 30 methods; this is 122 over it, 5.07\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":"client/client.go"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a2e76c2a7dcf3d8fbd21d22ccafe8ed505e33166ed0fddcf2b175e4239c688d"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Controller: TooManyMethods \u2014 86 methods, declared across 13 files: libnetwork/controller.go (40), libnetwork/agent.go (11), libnetwork/service_common.go (9), libnetwork/store.go (9), \u002B9 more file(s). The bar is 30 methods; this is 56 over it, 2.87\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":"libnetwork/controller.go"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"a87682c464ac900fd8942c86ec21982066def71fbd33ebcfc8363697536ae1b7"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Network: TooManyMethods \u2014 86 methods, declared across 5 files: libnetwork/network.go (73), libnetwork/agent.go (7), libnetwork/service_linux.go (3), libnetwork/store.go (2), \u002B1 more file(s). The bar is 30 methods; this is 56 over it, 2.87\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":"libnetwork/network.go"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"4758bbd9421ed9dfb423204644e999c5507f0c0ef480b96b83110934737873c3"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: daemon.NewDaemon: FunctionTooLong \u2014 NewDaemon runs 286 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 186 over it, 2.86\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":"daemon/daemon.go"},"region":{"startLine":752}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3e1035fd47f3802c86efab83f93d16c8fdbd7bcddec6edd00f66b91fe6ee1fe"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Daemon: TooManyMethods \u2014 82 methods, declared across 9 files: daemon/daemon.go (37), daemon/swarm.go (16), daemon/service.go (8), daemon/config.go (5), \u002B5 more file(s). The bar is 30 methods; this is 52 over it, 2.73\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":"testutil/daemon/daemon.go"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"b090eaed0b678cdfe43aa9ff3b0b0660733b18c215769ef367e577338af17085"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Network: ClassTooLong \u2014 1041 significant lines (blank, comment-only and punctuation-only lines excluded), 86 methods, 74 blocks, lines 172-2215. The bar is 400 significant lines; this is 641 over it, 2.60\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/network.go"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f0f169dc09366f503cc072929c8dfbb6dedffa014ad121c1dbf9f21f0de8aef"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: seccomp.DefaultProfile: FunctionTooLong \u2014 DefaultProfile runs 260 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 160 over it, 2.60\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"profiles/seccomp/default_linux.go"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"a35632269a32efe2688172c05fbc0b1ed7a39dc0104e78861375b0175c75f4b2"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: libnetwork/network.go: FileTooLong \u2014 1270 significant lines (blank, comment-only and punctuation-only lines excluded), about 82% of them inside a single declaration: Network (74 blocks, 172-2215). The bar is 500 significant lines; this is 770 over it, 2.54\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":"libnetwork/network.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f626f85a110f2eb33936e61dd330285caa3a1d31f018d8f801d4460ce26be93"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ImageService: TooManyMethods \u2014 76 methods, declared across 27 files: containerd/service.go (11), containerd/image.go (9), containerd/image_delete.go (5), containerd/image_builder.go (4), \u002B23 more file(s). The bar is 30 methods; this is 46 over it, 2.53\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":"daemon/containerd/service.go"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"91ad3eb665a03e59a87d2df1b208a53a7ab75d93ea30c1745ada69828f1b0111"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Daemon.restore: MethodTooLong \u2014 restore runs 252 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 152 over it, 2.52\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":"daemon/daemon.go"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f597e06a8039df78fb7f7ac3695a086608672b68052bc5c661b6a529da97308"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: NetworkDB: TooManyMethods \u2014 71 methods, declared across 8 files: networkdb/networkdb.go (22), networkdb/cluster.go (19), networkdb/networkdbdiagnostic.go (12), networkdb/delegate.go (9), \u002B4 more file(s). The bar is 30 methods; this is 41 over it, 2.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":"libnetwork/networkdb/networkdb.go"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"97bae556472150b194d39c3e4d82d45dd5a42b02d7cc9565815cb979be2f7154"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Container: TooManyMethods \u2014 64 methods, declared across 5 files: container/container.go (42), container/container_unix.go (15), container/container_windows.go (4), container/archive_windows.go (2), \u002B1 more file(s). The bar is 30 methods; this is 34 over it, 2.13\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":"container/container.go"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"4833ab2ee6a0ba66fd2b204b6e54a36d6d62e38148e6c94ab698a9a58b8ce7bf"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: Info: TooManyFields \u2014 63 stored fields. The bar is 30 stored fields; this is 33 over it, 2.10\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":"api/types/system/info.go"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecd3ee0f80444881453d1a81f01515c7a4add60d27d79c48065d52861a86812a"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Endpoint: TooManyMethods \u2014 59 methods, declared across 6 files: libnetwork/endpoint.go (38), libnetwork/endpoint_info.go (14), libnetwork/agent.go (4), libnetwork/default_gateway.go (1), \u002B2 more file(s). The bar is 30 methods; this is 29 over it, 1.97\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":"libnetwork/endpoint.go"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0ff88190c3bc66b791dad0999ce36f0c88b92b894a2bbb9babd73807de6fa93"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Sandbox: TooManyMethods \u2014 56 methods, declared across 6 files: libnetwork/sandbox.go (27), libnetwork/sandbox_dns_unix.go (12), libnetwork/sandbox_linux.go (7), libnetwork/default_gateway.go (5), \u002B2 more file(s). The bar is 30 methods; this is 26 over it, 1.87\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":"libnetwork/sandbox.go"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"b58d47ad3d33da2056bae9987f1285f19b7fb692b7187b260d26c3e674864431"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: daemon/daemon.go: FileTooLong \u2014 927 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 427 over it, 1.85\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":"daemon/daemon.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c39b28f09e47ba6a417cc434388e8238dd94eb553c58700e80f71b88a6338fe3"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: bridge/bridge_linux.go: FileTooLong \u2014 921 significant lines (blank, comment-only and punctuation-only lines excluded), about 63% of them inside a single declaration: driver (23 blocks, 138-1536). The bar is 500 significant lines; this is 421 over it, 1.84\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":"libnetwork/drivers/bridge/bridge_linux.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"61d59420e829eff0e96e68e38443d14545a277d2f6451cb157a8b2f2a583d0f4"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: daemon/daemon_unix.go: FileTooLong \u2014 848 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 348 over it, 1.70\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":"daemon/daemon_unix.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb5a89f8379579629b15ab42929f9d66a2c964ac2fb261afdb32524eb2e11b79"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ImageService: TooManyMethods \u2014 49 methods, declared across 20 files: images/service.go (13), images/image_delete.go (6), images/image.go (5), images/image_builder.go (3), \u002B16 more file(s). The bar is 30 methods; this is 19 over it, 1.63\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":"daemon/images/service.go"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1ef4dc6cdd01dccf2e58aacf8d81260df01cad042256ecf48882a48a9b8fb2c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: archive/archive.go: FileTooLong \u2014 800 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 300 over it, 1.60\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":"pkg/archive/archive.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"692b2bead1fdbe7f176fe2488fcf634ed193e9807819ae9ae7bcf655252dd9c4"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Reader.TestFollow: MethodTooLong \u2014 TestFollow runs 156 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 56 over it, 1.56\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":"daemon/logger/loggertest/logreader.go"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec6bda7c7321f85ef1a0a050fd72d74f7feb8dfe5cf44b390d3b1ff3372d6f3a"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: CommonConfig: TooManyFields \u2014 45 stored fields. The bar is 30 stored fields; this is 15 over it, 1.50\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":"daemon/config/config.go"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ae0caa9369fa39aade40d5982ad4e21b1059cf85e20cffbae20f8622b7d6f9a"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Endpoint: ClassTooLong \u2014 590 significant lines (blank, comment-only and punctuation-only lines excluded), 59 methods, 39 blocks, lines 29-1131. The bar is 400 significant lines; this is 190 over it, 1.48\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":"libnetwork/endpoint.go"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f77451c8659e947ae3a9a21609fe9c6a6fd3cfb45211083fe9ecb143f03fa97"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: driver: ClassTooLong \u2014 579 significant lines (blank, comment-only and punctuation-only lines excluded), 27 methods, 23 blocks, lines 138-1536. The bar is 400 significant lines; this is 179 over it, 1.45\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":"libnetwork/drivers/bridge/bridge_linux.go"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"154992cfb52f71ee13ea14d972401a43cd76740ab59e678651830f0d7d673230"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: DaemonCli.start: MethodTooLong \u2014 start runs 144 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 44 over it, 1.44\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":"cmd/dockerd/daemon.go"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"678ef9f5b21b2eed10a4358749324f1af5355a5ba116199c48c303c394f896b7"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: Daemon: TooManyFields \u2014 43 stored fields beside 286 methods. The bar is 30 stored fields; this is 13 over it, 1.43\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":"daemon/daemon.go"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"47520a654a088346b657a2a7b61de89da923f7d769b42502936c2cd165b296b6"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Builder.Build: MethodTooLong \u2014 Build runs 143 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 43 over it, 1.43\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":"builder/builder-next/builder.go"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"63d47dad0f1c9257006f733150d8fa10f8fcfbb073d58dc539ab44d01ee048d4"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: local/local_windows.go: FileTooLong \u2014 712 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 212 over it, 1.42\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":"libcontainerd/local/local_windows.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c480ed9e928032ef2095a1433fe1b6b3cc617b36ce6c61ab5834e7a05e42bece"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: puller.Snapshot: MethodTooLong \u2014 Snapshot runs 142 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 42 over it, 1.42\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"builder/builder-next/adapters/containerimage/pull.go"},"region":{"startLine":382}}}],"partialFingerprints":{"codehealthFindingId/v1":"30ecd31f980b39cc783cbd645451cead84498bb2d7fe7f7fa0f1f11d45fc79d9"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: libnetwork/endpoint.go: FileTooLong \u2014 700 significant lines (blank, comment-only and punctuation-only lines excluded), about 84% of them inside a single declaration: Endpoint (39 blocks, 29-1131). The bar is 500 significant lines; this is 200 over it, 1.40\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":"libnetwork/endpoint.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f085e70659ac30fc91d95df1f72d04bfafba38c87f00cf3ab729130f40857a22"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: buildkit.newGraphDriverController: FunctionTooLong \u2014 newGraphDriverController runs 140 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 40 over it, 1.40\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"builder/builder-next/controller.go"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ccba8788580cd8d72d49d0e30f9c25ac5b42f61855f7e3b752f4f4f8b57e57f"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ImageService.DeltaCreate: MethodTooLong \u2014 DeltaCreate runs 139 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 39 over it, 1.39\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":"daemon/images/image_delta.go"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"9eaecb9eee09af388ac87bc6fd7fd97fa886222d31c08d7393b506cce559df7c"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ImageService.Images: MethodTooLong \u2014 Images runs 137 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 37 over it, 1.37\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/images/image_list.go"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"95bc09a3af05ea9e3c694a5cf7b29062d3e3f8f6fc46f6a235826ef80e304d40"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: HostConfig: TooManyFields \u2014 41 stored fields. The bar is 30 stored fields; this is 11 over it, 1.37\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":"api/types/container/hostconfig.go"},"region":{"startLine":418}}}],"partialFingerprints":{"codehealthFindingId/v1":"c32aa341d39938c82c6a9a14bf2c002fd89b582c7b90c26ad8d8082f007cf698"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: daemon/oci_linux.go: FileTooLong \u2014 683 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 183 over it, 1.37\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":"daemon/oci_linux.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"48d38a2b4146f4874e56bfc4240687094f8c40e9a049538d5e853a699ae1923c"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: splunk.New: FunctionTooLong \u2014 New runs 133 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 33 over it, 1.33\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":"daemon/logger/splunk/splunk.go"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"b38de8bdc608e5c6e551866eb8bc8c1709c1ff31a438795687f49caef921324e"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Controller: ClassTooLong \u2014 531 significant lines (blank, comment-only and punctuation-only lines excluded), 86 methods, 41 blocks, lines 82-1130. The bar is 400 significant lines; this is 131 over it, 1.33\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/controller.go"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"c107848a97faf3ea252830fefab8bd1f8db9116146fbbd29867f5e340b903a9a"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: daemon.withMounts: FunctionTooLong \u2014 withMounts runs 131 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 31 over it, 1.31\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/oci_linux.go"},"region":{"startLine":503}}}],"partialFingerprints":{"codehealthFindingId/v1":"69a1ed61c730323e458688f0d84bee62ddf10a164aea74e2f24cea7359b0b294"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: distribution/pull_v2.go: FileTooLong \u2014 646 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 146 over it, 1.29\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":"distribution/pull_v2.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bd3ddb8165504d9f377b3b8629cd520e7f91a6090137baf533eafc16e06e5c1"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Daemon: ClassTooLong \u2014 514 significant lines (blank, comment-only and punctuation-only lines excluded), 286 methods, 38 blocks, lines 101-1575. The bar is 400 significant lines; this is 114 over it, 1.29\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/daemon.go"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"24c772544a6cd8be6047682e4b71657b8ea0078b861defb50f2250d386d3bfc0"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: saveSession.save: MethodTooLong \u2014 save runs 127 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 27 over it, 1.27\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":"image/tarexport/save.go"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"688449342148e0397e28cb8c79f30dce2c4101859427cb18ba67a4242f78e01e"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: Container: TooManyFields \u2014 38 stored fields beside 64 methods. The bar is 30 stored fields; this is 8 over it, 1.27\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":"container/container.go"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb71b2a6ae04323f10115d8ea0109f23e34cd8dc31928b89b85a8c743b59c2c9"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: daemon/container_operations.go: FileTooLong \u2014 626 significant lines (blank, comment-only and punctuation-only lines excluded), about 82% of them inside a single declaration: Daemon (20 blocks, 45-1085). The bar is 500 significant lines; this is 126 over it, 1.25\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/container_operations.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a18920e0af75accb196d4574297548178de031f5c114fed7d8c5231c2b82c1eb"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: daemon/daemon.go: FileTooLong \u2014 620 significant lines (blank, comment-only and punctuation-only lines excluded), about 74% of them inside a single declaration: Daemon (38 blocks, 64-962). The bar is 500 significant lines; this is 120 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":"testutil/daemon/daemon.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"87019a882da9712e89b12b8414412978b27b3a74fb7659eb4b47eaf93092929b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: libnetwork/agent.go: FileTooLong \u2014 618 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 118 over it, 1.24\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/agent.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5af20ab0cd3fc4205f76109ef2f15d4869782dc02582afa130910c20cc507225"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Daemon.registerMountPoints: MethodTooLong \u2014 registerMountPoints runs 123 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 23 over it, 1.23\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/volumes.go"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e87a1205dde7044a746f85f9d3e0890fd74327e302762ac9f05a48d00b3e558"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: libnetwork/controller.go: FileTooLong \u2014 609 significant lines (blank, comment-only and punctuation-only lines excluded), about 87% of them inside a single declaration: Controller (41 blocks, 82-1130). The bar is 500 significant lines; this is 109 over it, 1.22\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":"libnetwork/controller.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d70e5b90aa0ab5e80ba605e2c386b127a1c3c78d1b893e4312ff32a35eb4b714"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: layerStore: ClassTooLong \u2014 475 significant lines (blank, comment-only and punctuation-only lines excluded), 31 methods, 28 blocks, lines 33-917. The bar is 400 significant lines; this is 75 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":"layer/layer_store.go"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebabe4dd37dbc2a7c1a759e065bbe231cfe169f18eb74fa51ad9504446a74071"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Daemon.ContainerExecStart: MethodTooLong \u2014 ContainerExecStart runs 117 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 17 over it, 1.17\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":"daemon/exec.go"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2d225ca5c4bce54914105e33568bb98e718cb17d1a25d9188dce3e2b7cbec77"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: Network: TooManyFields \u2014 35 stored fields beside 86 methods. The bar is 30 stored fields; this is 5 over it, 1.17\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":"libnetwork/network.go"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"000ae4088411b8db2321678c62fb1289de86b85a151abf06e74718164c2e1f55"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: ImageBuildOptions: TooManyFields \u2014 35 stored fields. The bar is 30 stored fields; this is 5 over it, 1.17\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":"api/types/client.go"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"db53d1cac6c4a7c8fcb984748eef69995a145d3c56d19ef3fdd368780944049a"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Controller.NewNetwork: MethodTooLong \u2014 NewNetwork runs 116 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 16 over it, 1.16\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/controller.go"},"region":{"startLine":471}}}],"partialFingerprints":{"codehealthFindingId/v1":"99a7883d8dc8b3e0e99c236d81248b72ebb615744673a5039f5c2e2bdf446c77"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: containerimage/pull.go: FileTooLong \u2014 574 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 74 over it, 1.15\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":"builder/builder-next/adapters/containerimage/pull.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8222339ed3bc5954262296042a0e4e9066df1e68c115dc49d919a6ee4a09362a"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Daemon: ClassTooLong \u2014 459 significant lines (blank, comment-only and punctuation-only lines excluded), 82 methods, 38 blocks, lines 64-962. The bar is 400 significant lines; this is 59 over it, 1.15\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":"testutil/daemon/daemon.go"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"044141337bcaa57c57d5a5cbec51423c96c4dd28d5e8f911a07014f6940efb82"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: layer/layer_store.go: FileTooLong \u2014 573 significant lines (blank, comment-only and punctuation-only lines excluded), about 83% of them inside a single declaration: layerStore (28 blocks, 33-917). The bar is 500 significant lines; this is 73 over it, 1.15\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":"layer/layer_store.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fe7c4fabd20c4542c475f7ad4d704d4ae6edaa097fa219a6712de6462f7e521"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Manager: TooManyMethods \u2014 34 methods, declared across 7 files: plugin/backend_linux.go (13), plugin/manager.go (8), plugin/manager_linux.go (8), plugin/registry.go (2), \u002B3 more file(s). The bar is 30 methods; this is 4 over it, 1.13\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":"plugin/manager.go"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"f978639fe3b8eb0a492ac8ad6cce4f216a3d3e8faa7cf98cc7f3c9b904284f39"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: dockerd/daemon.go: FileTooLong \u2014 563 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 63 over it, 1.13\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/dockerd/daemon.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cc0bd5f264148638717a051ee07e715827515c7cd9a0400a75a73cb31f13cd3"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: client.createWindows: MethodTooLong \u2014 createWindows runs 111 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 11 over it, 1.11\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libcontainerd/local/local_windows.go"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"44ec469f6e3c97b9284e6ab24f769920c1b9e82ca855f5294bde4a7df369138c"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: containerRouter: TooManyMethods \u2014 33 methods, declared across 5 files: container/container_routes.go (22), container/copy.go (4), container/exec.go (4), container/container.go (2), \u002B1 more file(s). The bar is 30 methods; this is 3 over it, 1.10\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":"api/server/router/container/container.go"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"acd1c9f96d932c38ea3e413a60ddb77b7591b5359b25b1e9f513d6aba25888ea"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: swarmRouter: TooManyMethods \u2014 33 methods, declared across 3 files: swarm/cluster_routes.go (30), swarm/cluster.go (2), swarm/helpers.go (1). The bar is 30 methods; this is 3 over it, 1.10\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":"api/server/router/swarm/cluster.go"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1b1a627c8fab1db9d82269e9045904d04bbfabf42efee01d540e28728a03f47"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Daemon.StartWithLogFile: MethodTooLong \u2014 StartWithLogFile 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":"testutil/daemon/daemon.go"},"region":{"startLine":434}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce261a069da7b24fbf23e88f4d053678cdcc9aad86fadb765e22d5b22f258e55"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: windows/windows.go: FileTooLong \u2014 540 significant lines (blank, comment-only and punctuation-only lines excluded), about 62% of them inside a single declaration: Driver (25 blocks, 86-928). The bar is 500 significant lines; this is 40 over it, 1.08\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":"daemon/graphdriver/windows/windows.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"85564b64fe978c1c03d142f6a0fd7b395eb43a093408f8f25691048be53c361a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: windows/windows.go: FileTooLong \u2014 540 significant lines (blank, comment-only and punctuation-only lines excluded), about 64% of them inside a single declaration: driver (17 blocks, 101-899). The bar is 500 significant lines; this is 40 over it, 1.08\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":"libnetwork/drivers/windows/windows.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a69a9edfed251fac332642e1117f9f7182b31a54f3a2c479b71fcf00eddecc4e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: container/container_routes.go: FileTooLong \u2014 536 significant lines (blank, comment-only and punctuation-only lines excluded), about 88% of them inside a single declaration: containerRouter (22 blocks, 33-943). The bar is 500 significant lines; this is 36 over it, 1.07\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/router/container/container_routes.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"352f4830aabacf4e716869b71cb6ef43d35abe1a79491642aedc33dd195d4c47"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: puller.pullSchema2Layers: MethodTooLong \u2014 pullSchema2Layers runs 107 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 7 over it, 1.07\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"distribution/pull_v2.go"},"region":{"startLine":547}}}],"partialFingerprints":{"codehealthFindingId/v1":"9367086bd578b0142f5473fc7c01646a4400bc6a151f5da385e2c7e33124ba3e"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: cnmNetworkAllocator: ClassTooLong \u2014 426 significant lines (blank, comment-only and punctuation-only lines excluded), 25 methods, 26 blocks, lines 33-960. The bar is 400 significant lines; this is 26 over it, 1.07\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/cnmallocator/networkallocator.go"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"25ae92ef6c3f2e02f5f773894460052171f49bf5101e918d658ebfa78b70ecb6"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: daemon/network.go: FileTooLong \u2014 532 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 32 over it, 1.06\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/network.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bec3fd2e0ae74cf6f8f2fc17796bef25e9657e6cff967292d5e71453d785a59"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: service/store.go: FileTooLong \u2014 532 significant lines (blank, comment-only and punctuation-only lines excluded), about 75% of them inside a single declaration: VolumeStore (19 blocks, 138-891). The bar is 500 significant lines; this is 32 over it, 1.06\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"volume/service/store.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b50594a33cd5a321fe198b6250a641203c37070c2523d6e4d9a1fe2b746b6bd9"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Daemon.buildSandboxOptions: MethodTooLong \u2014 buildSandboxOptions runs 106 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 6 over it, 1.06\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/container_operations.go"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ec99b05de2f0b84c49009268d5c31cea80a2a5b6adc4bce7c5b65ec5cc16ab4"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: daemon.verifyPlatformContainerResources: FunctionTooLong \u2014 verifyPlatformContainerResources runs 106 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 6 over it, 1.06\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/daemon_unix.go"},"region":{"startLine":404}}}],"partialFingerprints":{"codehealthFindingId/v1":"b015c6e7211d4d91efa2b078cc5d9a7449d0d3b95a2e68ed8f227e6d3b4d6f6d"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: awslogs/cloudwatchlogs.go: FileTooLong \u2014 517 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 17 over it, 1.03\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":"daemon/logger/awslogs/cloudwatchlogs.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"be1204a96dc3d6c25a87c3f5b961574350262257a19d72bc69a83ab00ba43f4b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: plugin/backend_linux.go: FileTooLong \u2014 517 significant lines (blank, comment-only and punctuation-only lines excluded), about 65% of them inside a single declaration: Manager (13 blocks, 51-739). The bar is 500 significant lines; this is 17 over it, 1.03\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugin/backend_linux.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b34db91bbef1405969a88c115d996b10095fd50fa79070404dbd06f9b4cc44f"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: layerStore: TooManyMethods \u2014 31 methods, declared across 4 files: layer/layer_store.go (27), layer/migration.go (2), layer/layer_store_windows.go (1), layer/layer_unix.go (1). The bar is 30 methods; this is 1 over it, 1.03\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":"layer/layer_store.go"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb616d7e0c02ade8d3c4c72036d516a1b1b10ab625463259c5607d87ed948121"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Namespace: TooManyMethods \u2014 31 methods, declared across 4 files: osl/namespace_linux.go (13), osl/route_linux.go (12), osl/interface_linux.go (3), osl/neigh_linux.go (3). The bar is 30 methods; this is 1 over it, 1.03\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":"libnetwork/osl/namespace_linux.go"},"region":{"startLine":323}}}],"partialFingerprints":{"codehealthFindingId/v1":"27220f06cd0f6a8c27edf85d4b11483a9127110765c2bb4c417a9a13970894ae"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: Resources: TooManyFields \u2014 31 stored fields. The bar is 30 stored fields; this is 1 over it, 1.03\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":"api/types/container/hostconfig.go"},"region":{"startLine":365}}}],"partialFingerprints":{"codehealthFindingId/v1":"a993a37d4b2db5381935adf86730ccbb61b69b35a288c4b54358c1a0d99ee058"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: LayerDownloadManager.makeDownloadFunc: MethodTooLong \u2014 makeDownloadFunc runs 103 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 3 over it, 1.03\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"distribution/xfer/download.go"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"07dcd8cbb7c855bb7c615bb7cdc70f4d17900718d178eacd7419035e393c3954"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: tarexporter.Load: MethodTooLong \u2014 Load runs 103 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 3 over it, 1.03\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"image/tarexport/load.go"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"05727d16bcae6af4134d5a6e91bae69bd32068aa438835912e63f4c38438b0de"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: driver.CreateEndpoint: MethodTooLong \u2014 CreateEndpoint runs 103 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 3 over it, 1.03\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/drivers/bridge/bridge_linux.go"},"region":{"startLine":918}}}],"partialFingerprints":{"codehealthFindingId/v1":"73c01b8b4e1b87e2ae4503426801a2612d4ab866215cc7690acef1a07d4e2a6d"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: oci.DefaultLinuxSpec: FunctionTooLong \u2014 DefaultLinuxSpec runs 103 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 3 over it, 1.03\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"oci/defaults.go"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c12aa2c58e2dee7d56be2196048b67edc90c627d6cf8ac9e5b80f1a66ddb52a"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (39 shared lines): daemon/container_operations.go:45-214 | daemon/network.go:706-776 \u2014 These two members are variants of one another: 39 of their lines are already reported as duplicated blocks below, spread through both bodies rather than gathered into one. Read them as a single construct written twice. The repair is at the members\u0027 grain \u2014 factor the shared pipeline into one implementation the two call with their differences as parameters or as an injected step, or, where the difference is systematic (sync against async, one transport against another), generate one from the other. Extracting the individual blocks below is not the same fix: it leaves the two bodies in place and the next edit still has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/container_operations.go"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"8844d578bf6eb2b95730f85484e7170cbcdd96080c6a3796998e7436a7ea6dfe"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (37 shared lines): distribution/xfer/download.go:238-396 | distribution/xfer/download.go:405-488 \u2014 These two members are variants of one another: 37 of their lines are already reported as duplicated blocks below, spread through both bodies rather than gathered into one. Read them as a single construct written twice. The repair is at the members\u0027 grain \u2014 factor the shared pipeline into one implementation the two call with their differences as parameters or as an injected step, or, where the difference is systematic (sync against async, one transport against another), generate one from the other. Extracting the individual blocks below is not the same fix: it leaves the two bodies in place and the next edit still has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"distribution/xfer/download.go"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"c499ebde34f5352d830ff2741fee2b9ca9147f51b7d4fcb75b5cc7b71f1ec089"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (37 shared lines): libnetwork/drivers/ipvlan/ipvlan_joinleave.go:29-136 | libnetwork/drivers/macvlan/macvlan_joinleave.go:17-97 \u2014 These two members are variants of one another: 37 of their lines are already reported as duplicated blocks below, spread through both bodies rather than gathered into one. Read them as a single construct written twice. The repair is at the members\u0027 grain \u2014 factor the shared pipeline into one implementation the two call with their differences as parameters or as an injected step, or, where the difference is systematic (sync against async, one transport against another), generate one from the other. Extracting the individual blocks below is not the same fix: it leaves the two bodies in place and the next edit still has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/drivers/ipvlan/ipvlan_joinleave.go"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"c02398ec62b2819835f4f4891703982291ceddc509abe1c9f2be2c45b3e9cf89"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (34 shared lines): daemon/graphdriver/fuse-overlayfs/fuseoverlayfs.go:168-228 | daemon/graphdriver/overlay2/overlay.go:347-422 \u2014 These two members are variants of one another: 34 of their lines are already reported as duplicated blocks below, spread through both bodies rather than gathered into one. Read them as a single construct written twice. The repair is at the members\u0027 grain \u2014 factor the shared pipeline into one implementation the two call with their differences as parameters or as an injected step, or, where the difference is systematic (sync against async, one transport against another), generate one from the other. Extracting the individual blocks below is not the same fix: it leaves the two bodies in place and the next edit still has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/graphdriver/fuse-overlayfs/fuseoverlayfs.go"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbdb0472203d591813b12186e245e679cfcd2c9aebb424b56c9a3f1280b55848"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (11 members, 50\u002B identical tokens): libnetwork/networkdb/networkdbdiagnostic.go:38-69 | libnetwork/networkdb/networkdbdiagnostic.go:71-103 | libnetwork/networkdb/networkdbdiagnostic.go:105-126 | libnetwork/networkdb/networkdbdiagnostic.go:128-175 | libnetwork/networkdb/networkdbdiagnostic.go:177-223 | libnetwork/networkdb/networkdbdiagnostic.go:225-260 | libnetwork/networkdb/networkdbdiagnostic.go:262-306 | libnetwork/networkdb/networkdbdiagnostic.go:308-338 | libnetwork/networkdb/networkdbdiagnostic.go:340-370 | libnetwork/networkdb/networkdbdiagnostic.go:372-418 | libnetwork/networkdb/networkdbdiagnostic.go:420-455 \u2014 These 11 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 11 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 11 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/networkdb/networkdbdiagnostic.go"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"3264edc04aba3139753d7811fd5696a22d46033737ce53f3d58e18adcc9dde04"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): client/container_prune.go:13-36 | client/image_prune.go:13-36 | client/network_prune.go:13-36 | client/volume_prune.go:13-36 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/container_prune.go"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b9e21b8cd112c7b467447887e42a386daad52ff5637d8b8bdd95b6fbe59fabb"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): daemon/graphdriver/plugin.go:25-55 | daemon/metrics.go:145-165 | libnetwork/drivers/remote/driver.go:69-89 | libnetwork/ipams/remote/remote.go:67-87 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/graphdriver/plugin.go"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"2db8401bf9ed080825f4db76a38e516e59297e4c1cca94c07c05d921dac54b3d"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): libnetwork/drivers/bridge/bridge_store.go:26-50 | libnetwork/drivers/ipvlan/ipvlan_store.go:45-68 | libnetwork/drivers/macvlan/macvlan_store.go:44-67 | libnetwork/drivers/windows/windows_store.go:23-47 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/drivers/bridge/bridge_store.go"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"753afe4702b4b3d0e7356a713d68157375e045078c27c4ae3fd7bf7737b1a896"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): libnetwork/drivers/bridge/bridge_store.go:116-134 | libnetwork/drivers/ipvlan/ipvlan_store.go:132-149 | libnetwork/drivers/macvlan/macvlan_store.go:131-148 | libnetwork/drivers/windows/windows_store.go:116-134 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/drivers/bridge/bridge_store.go"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"4797d47efff1dd41f296cb382f1cffc911bdae0b0d0ade1e073619caf8677915"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): libnetwork/drivers/ipvlan/ipvlan_endpoint.go:64-87 | libnetwork/drivers/ipvlan/ipvlan_network.go:118-163 | libnetwork/drivers/macvlan/macvlan_endpoint.go:69-94 | libnetwork/drivers/macvlan/macvlan_network.go:108-153 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/drivers/ipvlan/ipvlan_endpoint.go"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"90131f9ea2315e7a71c0d7d88751c41b5655cc12eaaae5ab05971792c86e5610"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (41 corresponding lines): libnetwork/drivers/bridge/bridge_store.go:291-337 | libnetwork/drivers/windows/windows_store.go:243-283 \u2014 These two members are one piece of code written twice and then edited apart: 41 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/drivers/bridge/bridge_store.go"},"region":{"startLine":291}}}],"partialFingerprints":{"codehealthFindingId/v1":"a68e15cdc910266d6fb928bec6b9ac92e7f8999431b6b1d0ffdac84a0210b696"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (69 corresponding lines): volume/mounts/linux_parser.go:48-116 | volume/mounts/windows_parser.go:215-293 \u2014 These two members are one piece of code written twice and then edited apart: 69 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":"volume/mounts/linux_parser.go"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"255376979e333e06787d9ab254a571add3896b1642777f3d354cf6d72af65cb4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (64 corresponding lines): libnetwork/drivers/overlay/joinleave.go:153-221 | libnetwork/drivers/windows/overlay/joinleave_windows.go:49-112 \u2014 These two members are one piece of code written twice and then edited apart: 64 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":"libnetwork/drivers/overlay/joinleave.go"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"4355546ccaeff6e511026505a8a37b334ab6f390892e51090bf04aa09dc182e4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (63 corresponding lines): client/service_create.go:20-82 | client/service_update.go:18-86 \u2014 These two members are one piece of code written twice and then edited apart: 63 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/service_create.go"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f15c40e61e521fc22e3b3f5e3ca69a21b58e770e994c8320f25e6d666819402"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (56 corresponding lines): daemon/container_operations_windows.go:20-76 | daemon/container_operations_windows.go:92-147 \u2014 These two members are one piece of code written twice and then edited apart: 56 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":"daemon/container_operations_windows.go"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"ace99db308182470e7dd9bcf4017c950e86ecd7e96186af392af85ffe6272b86"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (46 corresponding lines): daemon/containerd/image_builder.go:137-194 | daemon/images/image_builder.go:152-197 \u2014 These two members are one piece of code written twice and then edited apart: 46 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/containerd/image_builder.go"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7aacf45b11f7aff4c8dc6d3a47c71c898333a35c9cc0d177250d73eadaa78bd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (58 corresponding lines): volume/mounts/linux_parser.go:209-278 | volume/mounts/windows_parser.go:303-360 \u2014 These two members are one piece of code written twice and then edited apart: 58 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"volume/mounts/linux_parser.go"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"6eefc2e8f341617520bef6436d6586cd345972fb8f5f3c1fb83624d931a20fe5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (39 corresponding lines): libcontainerd/local/local_windows.go:776-814 | libcontainerd/local/local_windows.go:817-855 \u2014 These two members are one piece of code written twice and then edited apart: 39 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libcontainerd/local/local_windows.go"},"region":{"startLine":776}}}],"partialFingerprints":{"codehealthFindingId/v1":"409c0d5c7fc8808ee5683343a5c21f4bf084c5ec9fabee82a1970c0b0474c8f9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (72 corresponding lines): daemon/archive_windows.go:56-143 | daemon/archive_windows.go:263-334 \u2014 These two members are one piece of code written twice and then edited apart: 72 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":"daemon/archive_windows.go"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce0f328abe317d6fcdfd883df3bf614cd51b2cbda1136c177cf06b32b2b38a19"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (45 corresponding lines): libnetwork/drivers/ipvlan/ipvlan_endpoint.go:17-61 | libnetwork/drivers/macvlan/macvlan_endpoint.go:18-66 \u2014 These two members are one piece of code written twice and then edited apart: 45 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/drivers/ipvlan/ipvlan_endpoint.go"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"08894a90d2ccd7200e90eadab921a251f19100d8ca003bd76d86d645c79c2e79"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (55 corresponding lines): libnetwork/drivers/bridge/port_mapping_linux.go:131-185 | libnetwork/drivers/windows/port_mapping.go:46-106 \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":"libnetwork/drivers/bridge/port_mapping_linux.go"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"2012d848842ebb603c4020188ae349bc6a4218050714bd69fec9b4773e207449"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (42 corresponding lines): libnetwork/service_common.go:14-55 | libnetwork/service_common.go:75-119 \u2014 These two members are one piece of code written twice and then edited apart: 42 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/service_common.go"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b7cdd5c7f39034e543866f73dc04547e6d9dbf27681a8d2a93bc9807b3b1a7e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (31 corresponding lines): libnetwork/drivers/ipvlan/ipvlan_store.go:277-307 | libnetwork/drivers/macvlan/macvlan_store.go:271-301 \u2014 These two members are one piece of code written twice and then edited apart: 31 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/drivers/ipvlan/ipvlan_store.go"},"region":{"startLine":277}}}],"partialFingerprints":{"codehealthFindingId/v1":"636e719351d1824bfc89304d046d6f65538c62f6372e8f2f925207cf0f43567a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (39 corresponding lines): libnetwork/osl/namespace_linux.go:182-226 | libnetwork/osl/namespace_linux.go:233-271 \u2014 These two members are one piece of code written twice and then edited apart: 39 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/osl/namespace_linux.go"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"3078d1d4921690ae2be90d055e459e61d3b6150f3e7b15aecbd7968cfd82b658"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (28 corresponding lines): libnetwork/drivers/ipvlan/ipvlan_store.go:178-211 | libnetwork/drivers/macvlan/macvlan_store.go:176-203 \u2014 These two members are one piece of code written twice and then edited apart: 28 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/drivers/ipvlan/ipvlan_store.go"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a32cb9be057bc7ab6ab3ade24a180a60fc4efeae61afaeef897d3f4b97bf607"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 27\u002B corresponding lines): libnetwork/drivers/bridge/bridge_store.go:74-101 | libnetwork/drivers/ipvlan/ipvlan_store.go:90-116 | libnetwork/drivers/macvlan/macvlan_store.go:89-115 | libnetwork/drivers/windows/windows_store.go:72-101 \u2014 These 4 members are one piece of code written 4 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 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/drivers/bridge/bridge_store.go"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"5740c259247b01a21c11a72f2348820f370d24f8bbfecefa5ce0917a237c1032"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (34 corresponding lines): api/server/router/plugin/plugin_routes.go:82-115 | api/server/router/plugin/plugin_routes.go:117-150 \u2014 These two members are one piece of code written twice and then edited apart: 34 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":"api/server/router/plugin/plugin_routes.go"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"400aff931b292a3ad59fe6947d4fb22812905f44c29262fd7edf805ad464a33b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (48 corresponding lines): daemon/archive_unix.go:39-92 | daemon/archive_unix.go:164-211 \u2014 These two members are one piece of code written twice and then edited apart: 48 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":"daemon/archive_unix.go"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b693612172b898a5d25a874c7c905454184647e3e5b6dccfcbd488d20ad5c3e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 37\u002B corresponding lines): client/container_logs.go:36-80 | client/service_logs.go:16-52 | client/task_logs.go:15-51 \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":"client/container_logs.go"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"2612cec21e22fb22514612789f7789e56345242b8e67b9b21f0bc6845db09183"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (35 corresponding lines): daemon/containerd/image_import.go:217-251 | daemon/containerd/image_import.go:254-289 \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":"daemon/containerd/image_import.go"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b63ccfe400901fcd401a72ea0079ebad61f4040504b6c0992b0567a864014a1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (32 corresponding lines): daemon/graphdriver/fuse-overlayfs/fuseoverlayfs.go:384-417 | daemon/graphdriver/overlay2/overlay.go:621-652 \u2014 These two members are one piece of code written twice and then edited apart: 32 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/graphdriver/fuse-overlayfs/fuseoverlayfs.go"},"region":{"startLine":384}}}],"partialFingerprints":{"codehealthFindingId/v1":"51dd6a4c438554b83e781fe3bd2320c0f6d17f036d91473039ffda829b3d12bb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): libnetwork/network.go:1793-1816 | libnetwork/network.go:1818-1841 \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":"libnetwork/network.go"},"region":{"startLine":1793}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ffc7b83ac1a6d82766cb1afabb9d9030a6271cabe0a49e44ef26c28e2381436"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (31 corresponding lines): pkg/chrootarchive/archive_unix_nolinux.go:61-91 | pkg/chrootarchive/archive_unix_nolinux.go:135-170 \u2014 These two members are one piece of code written twice and then edited apart: 31 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/chrootarchive/archive_unix_nolinux.go"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f35a2363bada92c232285ebbfc4629748de2fc8c5e1c0a7dd05dfd524d1658f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): libnetwork/drivers/ipvlan/ipvlan_store.go:151-176 | libnetwork/drivers/macvlan/macvlan_store.go:150-174 \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":"libnetwork/drivers/ipvlan/ipvlan_store.go"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae5caef38abf418c3736e541fb7e8968cd50fcd0d73515adf2fdd66f246df242"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): daemon/graphdriver/graphtest/graphbench_unix.go:60-85 | daemon/graphdriver/graphtest/graphbench_unix.go:190-220 \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":"daemon/graphdriver/graphtest/graphbench_unix.go"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"c988fc090815f1eb7a5c0238c581ae373782bc6cb9912db4c9cb191a83254e74"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (30 corresponding lines): libnetwork/drivers/ipvlan/ipvlan_setup.go:23-58 | libnetwork/drivers/macvlan/macvlan_setup.go:21-50 \u2014 These two members are one piece of code written twice and then edited apart: 30 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/drivers/ipvlan/ipvlan_setup.go"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e4dfdeb4187bfcbf2199c3a7cd85e63dca7613dc551bdcb9b2fec03fc1085c2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (31 corresponding lines): libnetwork/cnmallocator/networkallocator.go:512-554 | libnetwork/cnmallocator/networkallocator.go:611-641 \u2014 These two members are one piece of code written twice and then edited apart: 31 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/cnmallocator/networkallocator.go"},"region":{"startLine":512}}}],"partialFingerprints":{"codehealthFindingId/v1":"713a712ed0296b6b1e35b16a52aef301c618f8f08455347285de0f145f41e6cd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (31 corresponding lines): libnetwork/network.go:1360-1390 | libnetwork/network.go:1392-1423 \u2014 These two members are one piece of code written twice and then edited apart: 31 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/network.go"},"region":{"startLine":1360}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b12124140984656dcc038e428a9f9a86c49576b9844f60c7c8c1a35fab40640"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (34 corresponding lines): integration-cli/cli/cli.go:59-92 | integration-cli/daemon/daemon.go:103-137 \u2014 These two members are one piece of code written twice and then edited apart: 34 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":"integration-cli/cli/cli.go"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"208bd700b3ca278a1caf9f8107747b8985f76102d8f37132343015d569fe3215"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (34 corresponding lines): cmd/docker-proxy/sctp_proxy.go:40-75 | cmd/docker-proxy/tcp_proxy.go:38-71 \u2014 These two members are one piece of code written twice and then edited apart: 34 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":"cmd/docker-proxy/sctp_proxy.go"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4997dcd7b99a3bc87099e2491130ea70288f6dfdd4af53f7eb51ffe7abb9e95"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): cmd/dockerd/metrics.go:14-38 | daemon/metrics_unix.go:24-46 \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":"cmd/dockerd/metrics.go"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"49bf557b6f32177fe167558b68b09976afac141224490b9a48a2be80553a9bfa"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): daemon/logger/plugin.go:49-68 | volume/drivers/extpoint.go:216-237 \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":"daemon/logger/plugin.go"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0883b9fb380fe263d888a558e24fb7a0f3788f6709e2561a51ed92424f49cb9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (36 corresponding lines): libnetwork/drivers/ipvlan/ipvlan_network.go:166-212 | libnetwork/drivers/macvlan/macvlan_network.go:156-191 \u2014 These two members are one piece of code written twice and then edited apart: 36 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/drivers/ipvlan/ipvlan_network.go"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5a6017ccb7a7aec56ec4cb0912cda2dbfa2a4f5fb9ac4731ee6ab0e6d9d1153"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (28 corresponding lines): client/image_pull.go:22-49 | client/image_push.go:20-51 \u2014 These two members are one piece of code written twice and then edited apart: 28 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/image_pull.go"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"067a12e359103c70ae2296aa84961bc5a15c97bcd1d67cbf82e31a88d5c9970c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): daemon/info_unix.go:203-228 | daemon/info_unix.go:479-508 \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":"daemon/info_unix.go"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"44b5c22645e7a7fb8cbe3eec907910ed751673b9573f1e4e8ccade0877925096"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): libnetwork/endpoint_info_unix.go:8-31 | libnetwork/endpoint_info_windows.go:8-46 \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":"libnetwork/endpoint_info_unix.go"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd026899b6afe5037c694417a1c3ea6895b816329f95a8c34cfd2f821d8666d2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): api/server/router/container/container_routes.go:230-256 | api/server/router/container/container_routes.go:283-309 \u2014 These two members are one piece of code written twice and then edited apart: 27 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/router/container/container_routes.go"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"f60698c432243dbc3048455133fc86afacaab54e3e9732c8f59ba118cc412e30"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): daemon/containerd/image_snapshot_unix.go:45-65 | daemon/containerd/image_snapshot_unix.go:67-94 \u2014 These two members are one piece of code written twice and then edited apart: 21 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/containerd/image_snapshot_unix.go"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"0945c2569d0253e7dd6afeeb82ab22664d652c788a94a1c98f0766c823368c80"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): daemon/graphdriver/graphtest/testutil.go:32-50 | daemon/graphdriver/graphtest/testutil.go:250-268 \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":"daemon/graphdriver/graphtest/testutil.go"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"6dcefedf3b2474e920aca568010875a1cc4864a6969cfdac60ff3a40cc9197b2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): daemon/graphdriver/graphtest/testutil.go:122-143 | daemon/graphdriver/graphtest/testutil.go:196-221 \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":"daemon/graphdriver/graphtest/testutil.go"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0bab3d83512d724dcc3d96714c0910a6c171d48f0f165dd6364f6b093b84850"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (28 corresponding lines): daemon/pause.go:23-57 | daemon/unpause.go:22-49 \u2014 These two members are one piece of code written twice and then edited apart: 28 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/pause.go"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"2969aaae39b4f6d2bc3377764679e17185f375a730053a454e986c54b013a885"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): daemon/daemon_unix.go:180-197 | daemon/daemon_unix.go:254-270 \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":"daemon/daemon_unix.go"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"29282b8813bd0b064e511192721295d62ce5ae282557be7c1519276b79d89c23"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 22\u002B corresponding lines): libnetwork/networkdb/networkdb.go:405-427 | libnetwork/networkdb/networkdb.go:433-454 | libnetwork/networkdb/networkdb.go:485-510 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 22 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":"libnetwork/networkdb/networkdb.go"},"region":{"startLine":405}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e27413775a1e4c4f17350a0ec5cc0d8d2fba1077883552df19f9e2a459eea17"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (6 members, 20\u002B corresponding lines): client/config_inspect.go:13-36 | client/container_inspect.go:30-53 | client/image_inspect.go:13-32 | client/node_inspect.go:13-32 | client/service_inspect.go:16-37 | client/task_inspect.go:13-32 \u2014 These 6 members are one piece of code written 6 times and then edited apart: every two of them correspond over at least 20 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 6 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/config_inspect.go"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ed4d8dbf9eaad0bc95c13b27ee4726d4f8f59a1eaf58c8efadd0c78e3c88f02"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): libnetwork/drivers/bridge/bridge_linux.go:1578-1602 | libnetwork/drivers/windows/windows.go:576-599 \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":"libnetwork/drivers/bridge/bridge_linux.go"},"region":{"startLine":1578}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bf2685efd54c1a1f6ab435b89fc374675652974da61b587e43c777a02fd4e97"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): container/container.go:175-203 | container/container.go:246-272 \u2014 These two members are one piece of code written twice and then edited apart: 27 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"container/container.go"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d17068a970df609e36e3e34b5d1ea542d85e532846fbb4492999e9fc618deea"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): daemon/images/image_prune.go:185-204 | daemon/prune.go:172-191 \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":"daemon/images/image_prune.go"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"41adf16995542f925c328a7ff10bed40f846ae2c2b7070b193c4863c0a86624e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): integration-cli/daemon/daemon_swarm.go:101-119 | integration-cli/daemon/daemon_swarm.go:122-140 \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":"integration-cli/daemon/daemon_swarm.go"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"c913e4b2ab3335174e0be2cc8defc5e0e667b97a1a4daef3e9934d8cbd799c18"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): libnetwork/types/types.go:81-92 | libnetwork/types/types.go:95-106 \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":"libnetwork/types/types.go"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"478adee20bf1b8e9bfd101dad585506d5f1ea13d68e488f8c3f4eb48dffefb4d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): libnetwork/iptables/firewalld.go:255-277 | libnetwork/iptables/firewalld.go:281-302 \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":"libnetwork/iptables/firewalld.go"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc4248c48161f9f1fcb21a101a03d25f78de33ea17cd2d0bbb4fc1aacf93015c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): builder/builder-next/adapters/containerimage/pull.go:365-380 | builder/builder-next/worker/worker.go:342-357 \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":"builder/builder-next/adapters/containerimage/pull.go"},"region":{"startLine":365}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae366293d0ff1d03b42a00ebce99dd248ed6e2dac9f14b0237dec545fff21937"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): client/container_restart.go:15-36 | client/container_stop.go:19-40 \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":"client/container_restart.go"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"8170a4066fe6e45afd008bbf895da8bbacd26c20e17f417cc1e9af505578444c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (42 corresponding lines): libnetwork/drivers/ipvlan/ipvlan.go:15-62 | libnetwork/drivers/macvlan/macvlan.go:15-56 \u2014 These two members are one piece of code written twice and then edited apart: 42 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/drivers/ipvlan/ipvlan.go"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc046983961ef850f5f7b01d45fcbb0b6ffc4160f2cca5547adfb500b16c91d8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): libnetwork/networkdb/networkdb.go:797-808 | libnetwork/networkdb/networkdb.go:812-823 \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":"libnetwork/networkdb/networkdb.go"},"region":{"startLine":797}}}],"partialFingerprints":{"codehealthFindingId/v1":"509a67b6382147ca36fe718cbe5e0a7fd152d430981b0928ecc2a285eb3dbdcf"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): api/server/router/swarm/cluster_routes.go:435-453 | api/server/router/swarm/cluster_routes.go:506-525 \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":"api/server/router/swarm/cluster_routes.go"},"region":{"startLine":435}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9d1e85aa639f93dd35124276f5c25ba1a3355af0dd07b7ec93e89b7a8a836c3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): libnetwork/drivers/bridge/bridge_store.go:273-289 | libnetwork/drivers/windows/windows_store.go:223-241 \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":"libnetwork/drivers/bridge/bridge_store.go"},"region":{"startLine":273}}}],"partialFingerprints":{"codehealthFindingId/v1":"c389ef29289dfc48eea6293398aab2a5ce1c01637d4fcec6e1d0f1b3bab1960b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): libnetwork/drivers/ipvlan/ipvlan_setup.go:181-201 | libnetwork/drivers/macvlan/macvlan_setup.go:161-181 \u2014 These two members are one piece of code written twice and then edited apart: 21 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/drivers/ipvlan/ipvlan_setup.go"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"a727a1eb44ba16ee89e5dcd5c5d996b9b7fc17db3d951c6d0e796da049b52bc9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): libnetwork/drivers/ipvlan/ipvlan_setup.go:160-178 | libnetwork/drivers/macvlan/macvlan_setup.go:140-158 \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":"libnetwork/drivers/ipvlan/ipvlan_setup.go"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"488ffcd8aa18520853c9628f428a4c0e88f72baed12f40fa9f24e8f9e655cee6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): libnetwork/drivers/ipvlan/ipvlan_setup.go:204-221 | libnetwork/drivers/macvlan/macvlan_setup.go:184-201 \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":"libnetwork/drivers/ipvlan/ipvlan_setup.go"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d3c33ce0510ec7410a6d9b064ea3e7ffb1001d186898570a72237205c18dd10"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): pkg/sysinfo/cgroup2_linux.go:115-133 | pkg/sysinfo/sysinfo_linux.go:228-249 \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":"pkg/sysinfo/cgroup2_linux.go"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4bc29281612e474e295f032808c5024e596a5e84ca0f73bccf4cbc997464f0e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): libnetwork/networkdb/delegate.go:305-324 | libnetwork/networkdb/delegate.go:326-347 \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":"libnetwork/networkdb/delegate.go"},"region":{"startLine":305}}}],"partialFingerprints":{"codehealthFindingId/v1":"7762babc78ef8c17a5e06e341621674a6ccb6228ebd5ac2ededc26dec05edf37"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): client/container_exec.go:13-39 | client/network_create.go:12-40 \u2014 These two members are one piece of code written twice and then edited apart: 27 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/container_exec.go"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"83cde2d86bb0ab166b8d72b68cd792568937395fcaaf76387db9be7bee461df9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (7 members, 20\u002B corresponding lines): client/config_list.go:14-38 | client/network_list.go:13-32 | client/node_list.go:14-35 | client/secret_list.go:14-38 | client/service_list.go:14-39 | client/task_list.go:14-35 | client/volume_list.go:13-33 \u2014 These 7 members are one piece of code written 7 times and then edited apart: every two of them correspond over at least 20 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 7 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/config_list.go"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbb6d277462b340f6f005803b349101b8dd3a5e058ba880fe09648e6c0dbe4e9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): volume/mounts/linux_parser.go:326-350 | volume/mounts/windows_parser.go:411-430 \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":"volume/mounts/linux_parser.go"},"region":{"startLine":326}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f940f09c3540791e7c5bfc3d271202f9289e44ba66273b7c314873b6b92c625"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): libnetwork/drvregistry/ipams.go:66-84 | libnetwork/drvregistry/networks.go:32-50 \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":"libnetwork/drvregistry/ipams.go"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"630ddb17e6d556f7838ec9d6c8d0d215697ba8cdbfa35284a6d7191918f88ff9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): container/container_windows.go:40-58 | container/container_windows.go:90-108 \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":"container/container_windows.go"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf429d8b8792e3200da6d3ad966e55d0186c2d64c97c3eb47b59068b43131233"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 18\u002B corresponding lines): libnetwork/drivers/bridge/bridge_store.go:52-72 | libnetwork/drivers/ipvlan/ipvlan_store.go:71-88 | libnetwork/drivers/macvlan/macvlan_store.go:70-87 | libnetwork/drivers/windows/windows_store.go:49-70 \u2014 These 4 members are one piece of code written 4 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 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/drivers/bridge/bridge_store.go"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3f5a5fcb491131d08ab041bc90faf3f5aaf31a4ec8ae445c9c60bbf072c50a5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): api/server/router/container/container_routes.go:772-787 | api/server/router/container/exec.go:162-176 \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":"api/server/router/container/container_routes.go"},"region":{"startLine":772}}}],"partialFingerprints":{"codehealthFindingId/v1":"1dd7cde43f2f97e1623d7bde6b321ef30381c48fbf2d64743b8a3169a6a4edff"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): libnetwork/agent.go:570-587 | libnetwork/agent.go:589-606 \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":"libnetwork/agent.go"},"region":{"startLine":570}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d8af81ad4fdce437a11ff1437ad517bfcf7f0bf38e4390dd4153bd4dd30a82f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): libnetwork/datastore/cache.go:83-109 | libnetwork/datastore/cache.go:111-132 \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":"libnetwork/datastore/cache.go"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"58457916a071a7425658f36453e6d872a1efa19a2ece76e0fea3b58ecdc512ee"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): daemon/graphdriver/fuse-overlayfs/fuseoverlayfs.go:448-467 | daemon/graphdriver/overlay2/overlay.go:683-707 \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":"daemon/graphdriver/fuse-overlayfs/fuseoverlayfs.go"},"region":{"startLine":448}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bb5a01f5345b3f3e0f1ebfadee481a22a3143d1d61e393c2617e58009a1df48"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): api/server/router/swarm/cluster_routes.go:473-487 | api/server/router/swarm/cluster_routes.go:545-559 \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":"api/server/router/swarm/cluster_routes.go"},"region":{"startLine":473}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f78ccc716d2f3fa907a37bcb1d7463011104a2feeb0dbac654d17a701d6bb41"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): libnetwork/diagnostic/server.go:137-156 | libnetwork/diagnostic/server.go:158-170 \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":"libnetwork/diagnostic/server.go"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"334cfc574459df4c370cec2df5296f801a68fa1e4ade6b70f865b02f9c566568"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): client/container_stats.go:12-28 | client/container_stats.go:32-46 \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":"client/container_stats.go"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"f354b6aab278263748989861eddc9290823d3d06fad9a3393fc00ef23e2b866a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): libnetwork/networkdb/cluster.go:57-71 | libnetwork/networkdb/cluster.go:91-104 \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":"libnetwork/networkdb/cluster.go"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c5851bb5dfc7bb2bed2d87ed83e51636af5c2b0ce18a09c662213ede8f8d5c3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 11\u002B corresponding lines): integration/internal/container/ops.go:128-138 | integration/internal/container/ops.go:141-154 | integration/internal/container/ops.go:157-170 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 11 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"integration/internal/container/ops.go"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7ec87d60eb3dfa00097b10733cd34d069f305ea381842a5d3e9ebde6d4a084a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): builder/dockerfile/internals_linux.go:53-70 | builder/dockerfile/internals_linux.go:72-89 \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":"builder/dockerfile/internals_linux.go"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7680aaf9b92e604e1d74600ad39e23787b1b71acc79cf4ea7754b56f3889195"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): container/container_unix.go:456-471 | container/container_windows.go:190-203 \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":"container/container_unix.go"},"region":{"startLine":456}}}],"partialFingerprints":{"codehealthFindingId/v1":"375bb53168c3e38642d12db4891636a35cd434430c668abb3eda3b9b669e7152"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): api/server/router/image/image_routes.go:241-255 | api/server/router/plugin/plugin_routes.go:241-258 \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":"api/server/router/image/image_routes.go"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"611a089c1063cc292af9e3927bbcbea1cf9bca21d5460a78b3191d572185f6b7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): client/service_create.go:84-98 | client/service_create.go:100-114 \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":"client/service_create.go"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ba67b26b7ef28d8b587320b54986410efa2631681418637cee5df1f1405630e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): container/container.go:681-698 | container/exec.go:53-65 \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":"container/container.go"},"region":{"startLine":681}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e710fba2119fe4e43261d3c0f4bb2db90f59a9d0fb7940eb70a8f44da5aaf81"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 18\u002B corresponding lines): daemon/graphdriver/btrfs/btrfs.go:342-366 | daemon/graphdriver/btrfs/btrfs.go:368-389 | daemon/graphdriver/btrfs/btrfs.go:391-408 \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":"daemon/graphdriver/btrfs/btrfs.go"},"region":{"startLine":342}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdc09c98907d0601139a59286288215a4bc631a72ced96e4d931c490d9dc5c8c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): integration-cli/daemon/daemon_swarm.go:67-77 | integration-cli/daemon/daemon_swarm.go:80-90 \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":"integration-cli/daemon/daemon_swarm.go"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa0e8b9cb4a7a5be3967a1eacb66f6b32daac5f989173b071e56e34f01996e2f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): libnetwork/controller.go:1044-1061 | libnetwork/controller.go:1063-1080 \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":"libnetwork/controller.go"},"region":{"startLine":1044}}}],"partialFingerprints":{"codehealthFindingId/v1":"3137362010d9e453e30ab34ee582d9effaefc0b26b01b0541437bb51602a6f7b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): libnetwork/service_common.go:57-73 | libnetwork/service_common.go:121-137 \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":"libnetwork/service_common.go"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"699482f948c60705b7ac458025333c991d4c6702759d6fc521b1fe8748125cee"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): pkg/idtools/idtools_unix.go:246-261 | pkg/idtools/idtools_unix.go:263-278 \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":"pkg/idtools/idtools_unix.go"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"364b1e58b5e4ee59b75f50f9323659c0f87351f95fccf6e8a890399bba5ec686"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): libnetwork/iptables/iptables.go:431-443 | libnetwork/iptables/iptables.go:446-457 \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":"libnetwork/iptables/iptables.go"},"region":{"startLine":431}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d06708f0a0d2d745733d77068db2f72dc6cf7869a5573d75705bff69ce77440"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): client/config_create.go:12-25 | client/secret_create.go:12-25 \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/config_create.go"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"aae8fb0ad400f82c213e1dd7bb6a4846da5129868327d9ea66649cbe1fe3ccf8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): daemon/disk_usage.go:19-32 | daemon/disk_usage.go:36-51 \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":"daemon/disk_usage.go"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"e07e3c294134e632c6fb72fae8b07d8d4a61309c75c62fa150d00236e29057ab"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): libnetwork/drivers/bridge/setup_ip_tables_linux.go:104-120 | libnetwork/drivers/bridge/setup_ip_tables_linux.go:122-142 \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":"libnetwork/drivers/bridge/setup_ip_tables_linux.go"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ab809fe8729e193d50e9af414e493eb6041dea27312b81804756d487137bd2b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (8 members, 15\u002B corresponding lines): api/server/router/container/container_routes.go:928-943 | api/server/router/image/image_routes.go:510-525 | api/server/router/network/network_routes.go:206-221 | api/server/router/plugin/plugin_routes.go:272-286 | api/server/router/swarm/cluster_routes.go:316-332 | api/server/router/swarm/cluster_routes.go:387-403 | api/server/router/swarm/cluster_routes.go:418-433 | api/server/router/swarm/cluster_routes.go:489-504 \u2014 These 8 members are one piece of code written 8 times and then edited apart: every two of them correspond over at least 15 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 8 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/router/container/container_routes.go"},"region":{"startLine":928}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba186260ac54631614b4551101d3b8ee19d178dc08ae96163b3f4f1347de262d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): libnetwork/drivers/overlay/peerdb.go:50-63 | libnetwork/drivers/overlay/peerdb.go:65-79 \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":"libnetwork/drivers/overlay/peerdb.go"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"277d54ce4468e50111bb85a650bcb2d1d453f277d8eb6f9017a0a1fa1b466dba"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): libnetwork/types/types.go:259-273 | libnetwork/types/types.go:278-292 \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":"libnetwork/types/types.go"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"93cce551700b8662c0b509a471297913c4331c11c1160f4245e29b8f623a0e78"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): daemon/graphdriver/vfs/driver.go:231-244 | layer/filestore.go:116-131 \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":"daemon/graphdriver/vfs/driver.go"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"34291e559dee9b60458c562aa35629686930313dda21678d6ed123b6fb005a9d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): integration/internal/container/states.go:35-48 | integration/internal/container/states.go:51-65 \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":"integration/internal/container/states.go"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"e91389763663d7e8fb4823c177e332f7968738d040fe3a7fac61734208f68e4a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): pkg/idtools/idtools.go:75-86 | pkg/idtools/idtools.go:91-102 \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":"pkg/idtools/idtools.go"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ef8d723169bb63e6f19a7eb81c0d1289ac47a12e37b9e4955ce21ec54d18653"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): builder/builder-next/adapters/containerimage/pull.go:88-102 | builder/builder-next/adapters/localinlinecache/inlinecache.go:39-54 \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":"builder/builder-next/adapters/containerimage/pull.go"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"89218bb0f60cbf57d17185361157a87960d5a890629527686ce83c88fd61aa6e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 17\u002B corresponding lines): cmd/docker-proxy/sctp_proxy.go:21-38 | cmd/docker-proxy/tcp_proxy.go:19-36 | cmd/docker-proxy/udp_proxy.go:57-73 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 17 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/docker-proxy/sctp_proxy.go"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"49f3c97e8ac8ef0106239fa589795917453f68187e26efd1575a368784bb5d51"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): libnetwork/network.go:1708-1723 | libnetwork/network.go:1725-1742 \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":"libnetwork/network.go"},"region":{"startLine":1708}}}],"partialFingerprints":{"codehealthFindingId/v1":"8845c2fb4c21022b8167ef006f5f8eca0099212002dd1fd60f9a82a3e83f8cce"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): daemon/archive.go:13-28 | daemon/archive.go:32-47 \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":"daemon/archive.go"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cb48f1cf3923d2c244169685d95f0118700c9a8704d040139a0a71e0f42a966"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): libnetwork/drivers/windows/windows.go:823-852 | libnetwork/drivers/windows/windows.go:855-875 \u2014 These two members are one piece of code written twice and then edited apart: 21 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/drivers/windows/windows.go"},"region":{"startLine":823}}}],"partialFingerprints":{"codehealthFindingId/v1":"a26cb9640047db17473dafb9d2256c25e73bab16ab8abf2895304169d3031dad"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): testutil/daemon/plugin.go:34-45 | testutil/daemon/plugin.go:57-68 \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":"testutil/daemon/plugin.go"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"43521fa15c4b80199bd4b745a379d4119067462649e40fa99423bc20e6aa7e5e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): pkg/tarsum/fileinfosums.go:110-115 | pkg/tarsum/fileinfosums.go:123-128 \u2014 These two members are one piece of code written twice and then edited apart: 6 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/tarsum/fileinfosums.go"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cfd5643730ffab6046e19852c171a4c877006b8a0056ddca205d4a18fa266d8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 13\u002B corresponding lines): testutil/daemon/config.go:60-72 | testutil/daemon/secret.go:61-74 | testutil/daemon/swarm.go:158-170 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 13 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"testutil/daemon/config.go"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2c98925a7b8874a5b5ceb53fc8f1028dcce0f9fba6fa83539cbada4c9c34593"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 11\u002B corresponding lines): libnetwork/drivers/bridge/bridge_store.go:103-114 | libnetwork/drivers/ipvlan/ipvlan_store.go:119-129 | libnetwork/drivers/macvlan/macvlan_store.go:118-128 | libnetwork/drivers/windows/windows_store.go:103-114 \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":"libnetwork/drivers/bridge/bridge_store.go"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"58f3d6ea921d74854c748f45e8f45bc997241c5bd5ed7540d566811d74297f10"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): libnetwork/drivers/bridge/port_mapping_linux.go:191-205 | libnetwork/drivers/windows/port_mapping.go:109-123 \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":"libnetwork/drivers/bridge/port_mapping_linux.go"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"58845d07204c55691ffde2c2102ab39ede29eb3d5998d69a39d15e2ecce0efbb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): daemon/graphdriver/btrfs/btrfs.go:558-575 | daemon/graphdriver/overlay2/overlay.go:425-442 \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":"daemon/graphdriver/btrfs/btrfs.go"},"region":{"startLine":558}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e4b0bed20549562f9494f78a2f78ded43f5b2b52d0807466c401318503cf0cb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): daemon/graphdriver/proxy.go:221-235 | daemon/graphdriver/proxy.go:248-261 \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":"daemon/graphdriver/proxy.go"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c3820caaa2edccf7c18b5ce28705de1b9dce78ab1e92613dc8c3fbfdf690f5c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): daemon/logger/journald/internal/sdjournal/sdjournal.go:50-57 | daemon/logger/journald/internal/sdjournal/sdjournal.go:65-74 \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":"daemon/logger/journald/internal/sdjournal/sdjournal.go"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ae7f413de0429ae3c675a3ff3288b32e3e8c9f1d2c12f5098b88c1be3343d7b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): libnetwork/service_linux.go:369-391 | libnetwork/service_linux.go:393-409 \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":"libnetwork/service_linux.go"},"region":{"startLine":369}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca94d99bd3d476677e3daece376d851c64aef41c3dc368e735cab3622f3a5db9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): pkg/ioutils/fswriters.go:31-45 | pkg/ioutils/fswriters.go:123-136 \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":"pkg/ioutils/fswriters.go"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a834e72ef98b7fa9aa293ec3205935bc15dacecd02cfc7d2a17dfe65f9dd304"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): daemon/containerd/image_commit.go:322-332 | daemon/images/image_commit.go:120-130 \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":"daemon/containerd/image_commit.go"},"region":{"startLine":322}}}],"partialFingerprints":{"codehealthFindingId/v1":"5187f96842703c1d6fafdbbc11fe237151b63c1a1abcdb81da5bd1acb7bd2472"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): libnetwork/iptables/iptables.go:631-640 | libnetwork/iptables/iptables.go:644-652 \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":"libnetwork/iptables/iptables.go"},"region":{"startLine":631}}}],"partialFingerprints":{"codehealthFindingId/v1":"639a318115933d6d85cbfb286be1827b364337e5acef707f783dd56f99dd185c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 10\u002B corresponding lines): client/config_update.go:11-20 | client/secret_update.go:11-20 | client/volume_update.go:13-24 \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":"client/config_update.go"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f78d0a2b9af01956b5bef4c8c89a50bf423b9505984f23f6892b4660338655f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): cmd/docker-proxy/sctp_proxy.go:78-89 | cmd/docker-proxy/tcp_proxy.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":"cmd/docker-proxy/sctp_proxy.go"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"866ab643b4629754072361b677226213395466965370b24b4b8324b7dad44ba0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): daemon/container_operations.go:908-923 | daemon/exec.go:78-94 \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":"daemon/container_operations.go"},"region":{"startLine":908}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4a5644eba99f5c2c876f2eb50ba642935dee9426ed27455d5b5573f32dac992"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): libnetwork/drivers/overlay/encryption.go:403-415 | libnetwork/drivers/overlay/encryption.go:417-429 \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":"libnetwork/drivers/overlay/encryption.go"},"region":{"startLine":403}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9ed5bb2c3aef3dcd1255e918e0d34e8bb9771cbb55ed0d61f14170e1f9a252a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): libnetwork/osl/route_linux.go:110-122 | libnetwork/osl/route_linux.go:125-137 \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":"libnetwork/osl/route_linux.go"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"811c4e695dc97f17ac02d752679a87a770ff1d122db4016e159d682317cdf490"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): api/server/router/checkpoint/checkpoint_routes.go:30-43 | api/server/router/container/container_routes.go:413-424 \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":"api/server/router/checkpoint/checkpoint_routes.go"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"03d7d230349df698842e119379efa154abbef5828aecd783f6bf14f43013f0cc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): daemon/graphdriver/fsdiff.go:160-175 | daemon/graphdriver/windows/windows.go:607-625 \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":"daemon/graphdriver/fsdiff.go"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"76a3da69f965cb47c6c1451d79ad4681d007d3b5bf7a70ad6965768322843b04"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 16\u002B corresponding lines): layer/filestore.go:202-217 | layer/filestore.go:307-322 | layer/filestore.go:324-339 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 16 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"layer/filestore.go"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"df79fca734f1b1cbaea526a85f7639861b611c90f51c229e88a19e6c7bcd24b4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): libnetwork/osl/route_linux.go:61-74 | libnetwork/osl/route_linux.go:158-172 \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":"libnetwork/osl/route_linux.go"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"223130eb477ce3d6a9aa458b38eada5ce6fa921b22b6743237a00295a4de7c5c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): daemon/logger/splunk/splunk.go:647-658 | daemon/logger/splunk/splunk.go:660-671 \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":"daemon/logger/splunk/splunk.go"},"region":{"startLine":647}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4e31eeece844b3e2bf919424f86a0b18cd869341770f60ca77ba9bec12e8ca0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): libnetwork/controller.go:853-872 | libnetwork/network.go:1256-1277 \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":"libnetwork/controller.go"},"region":{"startLine":853}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6110387771f8af5ed86921860f15b5341154ad2ca235cd3a1d89c4a2427ecc4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 12\u002B corresponding lines): testutil/environment/protect.go:71-84 | testutil/environment/protect.go:157-168 | testutil/environment/protect.go:186-201 \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":"testutil/environment/protect.go"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"95f12f3fbd01ac8d7e238e1f0d69b60ac8ec4b44fa071c2015f7f201781f088e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): libnetwork/drivers/windows/overlay/ov_network_windows.go:351-364 | libnetwork/drivers/windows/overlay/ov_network_windows.go:367-383 \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":"libnetwork/drivers/windows/overlay/ov_network_windows.go"},"region":{"startLine":351}}}],"partialFingerprints":{"codehealthFindingId/v1":"d39a18ec9e9484379d985da847170baeeb31dd488e191726bd46177cc324b452"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): builder/builder-next/adapters/snapshot/leasemanager.go:55-65 | builder/builder-next/adapters/snapshot/leasemanager.go:67-77 \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":"builder/builder-next/adapters/snapshot/leasemanager.go"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"270266272a8b9bbe28166553f37be55c82c85ee6041335cb605cafcc5a20de26"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 11\u002B corresponding lines): client/container_diff.go:12-23 | client/image_history.go:12-22 | client/info.go:13-26 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 11 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/container_diff.go"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ced73ea3af1b20d4ab2d227fe7e671d2ab8f97fd29ad41078b14244acf906a8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): client/container_update.go:11-21 | client/volume_create.go:11-20 \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":"client/container_update.go"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"71c9cc36aae987b2dc2e2fcbd7ab7b54af004ced40a51812b34c87260cd43467"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 12\u002B corresponding lines): integration-cli/daemon/daemon_swarm.go:18-31 | integration-cli/daemon/daemon_swarm.go:35-48 | integration-cli/daemon/daemon_swarm.go:143-154 \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":"integration-cli/daemon/daemon_swarm.go"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"7042a3389b8de92112c1f81e6ffbe9dcd6fbc578176e46c34d731e53bebd1913"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): api/server/router/container/container_routes.go:426-438 | api/server/router/plugin/plugin_routes.go:184-199 \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":"api/server/router/container/container_routes.go"},"region":{"startLine":426}}}],"partialFingerprints":{"codehealthFindingId/v1":"4862410641dc2aac81c582bddf04005a16cfcaa9ee334defbfda8550f9d49102"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 10\u002B corresponding lines): api/server/router/swarm/cluster_routes.go:281-290 | api/server/router/swarm/cluster_routes.go:334-345 | api/server/router/swarm/cluster_routes.go:405-416 \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":"api/server/router/swarm/cluster_routes.go"},"region":{"startLine":281}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7d699d9d5d0498e9e94c1c7ded5a7f407384e6a2a27f8e56c1fcf8b2892f024"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): daemon/configs.go:11-23 | daemon/secrets.go:11-25 \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":"daemon/configs.go"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bd2b26fd4649faad9feff818b1d3c52962746004bffbfc627042fd6124e05f4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 12\u002B corresponding lines): api/server/router/checkpoint/checkpoint_routes.go:11-28 | api/server/router/network/network_routes.go:160-175 | api/server/router/network/network_routes.go:177-188 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 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":"api/server/router/checkpoint/checkpoint_routes.go"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"07a75c7868529a1471cab9970563eff7eb036490b5b060b8920bca23ea752263"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 10\u002B corresponding lines): libnetwork/sandbox_options.go:116-125 | libnetwork/sandbox_options.go:129-141 | libnetwork/sandbox_options.go:145-155 \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":"libnetwork/sandbox_options.go"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"63977994ccfb336f8cc38874ede35c51551a8cd20c8f2c5ac8c37bf8d095f83a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 9\u002B corresponding lines): builder/builder-next/adapters/containerimage/pull.go:804-813 | daemon/containerd/progress.go:98-107 | libnetwork/internal/setmatrix/setmatrix.go:107-115 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 9 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"builder/builder-next/adapters/containerimage/pull.go"},"region":{"startLine":804}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c8b9a54adfc70dff11e33739e92d08e7a6ccb670da9235573b8c80910c1ebbb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): libnetwork/network.go:1892-1902 | libnetwork/sandbox.go:122-130 \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":"libnetwork/network.go"},"region":{"startLine":1892}}}],"partialFingerprints":{"codehealthFindingId/v1":"069c474aac26d91b54e2963281a2aaa63ae5e38d82349ff871b3064227349f07"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): pkg/system/lstat_unix.go:14-20 | pkg/system/stat_unix.go:60-66 \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":"pkg/system/lstat_unix.go"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"47fe5a0ec7ee8d3af35a92f4422fb13298eaa602587b940a3425ee7730afbbf6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): daemon/graphdriver/windows/windows.go:791-798 | builder/dockerfile/copy_windows.go:37-43 \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":"daemon/graphdriver/windows/windows.go"},"region":{"startLine":791}}}],"partialFingerprints":{"codehealthFindingId/v1":"4386fbdf64bc72156cd15898e0da40c1175e235b6181055256f18cef69b335c8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): pkg/system/stat_bsd.go:8-17 | pkg/system/stat_linux.go:6-16 \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":"pkg/system/stat_bsd.go"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"8da1afd887961a660d1a35be09c62d74a69917edb90a30d8058e6482b0ca7699"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 9\u002B corresponding lines): client/node_remove.go:11-20 | client/plugin_disable.go:11-19 | client/plugin_remove.go:11-20 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 9 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/node_remove.go"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fc444bc2162d31ecf177ad8847fe3d892043c7ec30ff3d8b05e17c5ef3b27ee"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): daemon/logger/gcplogs/gcplogging.go:45-53 | daemon/logger/journald/journald.go:69-76 \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":"daemon/logger/gcplogs/gcplogging.go"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5352b25ccdf4fb1c6bfe690dd1321fc45af2ebc2c2302907f127cd216a6dc6a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): libnetwork/drivers/bridge/setup_ip_tables_linux.go:249-255 | libnetwork/iptables/iptables.go:703-709 \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":"libnetwork/drivers/bridge/setup_ip_tables_linux.go"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"a07373c95d434e40d91bd1e94d9253ebd2b3f1d9de9d385a32781c53ed6db6da"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): builder/dockerfile/copy_unix.go:62-72 | builder/dockerfile/copy_windows.go:128-136 \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":"builder/dockerfile/copy_unix.go"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"453921c69101a76367b2bcbff0aaa1a75284f23edfa7adbc4d77a0fd501a543d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): libnetwork/drivers/overlay/overlay.go:60-70 | libnetwork/drivers/windows/overlay/overlay_windows.go:27-38 \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":"libnetwork/drivers/overlay/overlay.go"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"723540cadd6c93c8ef59bfce764e05f1146851dd2796633d291e6f81075712a8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): pkg/progress/progressreader.go:23-32 | pkg/progress/progresssink.go:23-31 \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":"pkg/progress/progressreader.go"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fba6d8606e9037036c9259fb64ce3624a66cdc462d0ee605afc17099384fa4e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): daemon/graphdriver/btrfs/btrfs.go:183-192 | quota/projectquota.go:382-391 \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":"daemon/graphdriver/btrfs/btrfs.go"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"723da3c547fa9a54ad1c4bdd245ad81f79a917cb07af16c3682c9d51a2146204"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): daemon/logger/journald/journald.go:143-156 | daemon/logger/jsonfilelog/jsonfilelog.go:155-171 \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":"daemon/logger/journald/journald.go"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c2cff15aba0b8e437bab29689cde852f095b5539a016bacc983fc53ef30e789"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): libnetwork/endpoint.go:301-308 | libnetwork/sandbox.go:297-305 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/endpoint.go"},"region":{"startLine":301}}}],"partialFingerprints":{"codehealthFindingId/v1":"04902bdaa3ec429e19eb537382094f0f56c57ba40c2f3b7e1233c1bad00f3063"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): builder/builder-next/adapters/containerimage/pull.go:862-870 | image/image.go:178-186 \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":"builder/builder-next/adapters/containerimage/pull.go"},"region":{"startLine":862}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8e9941567bad401df7e68a1c8bcc1eb458994c66a9554fccdc1ddf03b77dbdf"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): distribution/xfer/download.go:39-50 | distribution/xfer/upload.go:30-40 \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":"distribution/xfer/download.go"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"9550eca1ee480933b87107419a92fedc6cdffa9180a262e0a826f7b11dc35622"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): libnetwork/drivers/ipvlan/ipvlan_network.go:234-251 | libnetwork/drivers/macvlan/macvlan_network.go:213-227 \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":"libnetwork/drivers/ipvlan/ipvlan_network.go"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9846246deacbf0260e2994345c4ab41d5a2952d33861ebebae47892abe5cc7b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 7\u002B corresponding lines): api/server/router/container/container_routes.go:404-411 | api/server/router/container/exec.go:19-26 | api/server/router/image/image_routes.go:437-444 | api/server/router/plugin/plugin_routes.go:288-294 | api/server/router/swarm/cluster_routes.go:464-471 \u2014 These 5 members are one piece of code written 5 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 5 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/router/container/container_routes.go"},"region":{"startLine":404}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bd2073315b5993754de41ee720529dee3b9f9c71f85a043478fd48e8fbdb059"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): daemon/containerd/image_delete.go:410-418 | daemon/images/image_delete.go:264-273 \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":"daemon/containerd/image_delete.go"},"region":{"startLine":410}}}],"partialFingerprints":{"codehealthFindingId/v1":"81d9e42aad66dd360fc3c03f469f6a24de377ea3800b467cc4c19923b62afe5e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): volume/mounts/lcow_parser.go:56-62 | volume/mounts/windows_parser.go:295-301 \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":"volume/mounts/lcow_parser.go"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcf349aada165f8d911b9acb61b0467fd368969dc01ab8da88f7b7f2bc6ebff4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): cmd/dockerd/service_windows.go:64-73 | plugin/manager.go:310-320 \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":"cmd/dockerd/service_windows.go"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"48e8bd7f52be5d0d6658a82efd4b606698bee6a75c4f0a15d455ed688aa5ccad"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): container/container.go:711-717 | container/container_unix.go:475-481 \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":"container/container.go"},"region":{"startLine":711}}}],"partialFingerprints":{"codehealthFindingId/v1":"60c0a8edd4d5e8756cb6b127d5a9b53c4f7dd70f76aac798a4e1e45f3771c1a2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): daemon/graphdriver/fuse-overlayfs/fuseoverlayfs.go:152-157 | daemon/graphdriver/vfs/driver.go:155-161 \u2014 These two members are one piece of code written twice and then edited apart: 6 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/graphdriver/fuse-overlayfs/fuseoverlayfs.go"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3e8b1b53e719462fcd39b6143e941570428507b5c4364b54ecd4fe9c2a351c4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): distribution/pull_v2.go:54-64 | distribution/push_v2.go:41-49 \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":"distribution/pull_v2.go"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd413cbea635bd9cf551ae297b1c4bbed8598b1ba2bf8c4abf152066cf8b67e3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): libnetwork/endpoint_cnt.go:35-44 | libnetwork/network.go:257-265 \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":"libnetwork/endpoint_cnt.go"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"112178b04d65b840b7eb24490fb3c69fe496245232a9ba9c8baf30c030e4e5e3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): daemon/graphdriver/graphtest/graphtest_unix.go:293-300 | internal/testutils/specialimage/multilayer.go:145-152 \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":"daemon/graphdriver/graphtest/graphtest_unix.go"},"region":{"startLine":293}}}],"partialFingerprints":{"codehealthFindingId/v1":"95ea94cd9a84066cc8e374625035477795bcfa2a964f578bbcf0588f7ac6b916"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (49 lines \u00D7 2): libnetwork/drivers/ipvlan/ipvlan_network.go:67-115 | libnetwork/drivers/macvlan/macvlan_network.go:57-105 \u2014 \u0060libnetwork/drivers/ipvlan/ipvlan_network.go\u0060 and \u0060libnetwork/drivers/macvlan/macvlan_network.go\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 7 separate duplicated blocks between them, totalling at least 171 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/drivers/ipvlan/ipvlan_network.go"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"07934d7ca82443f6b0549cbee2c6f63fed95e46185e50966c4a852190c615885"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (33 lines \u00D7 2): client/service_create.go:37-69 | client/service_update.go:41-73 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/service_create.go"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"540e07335afe1f4fb629c4299dd47183f6673419c42b38e65c8d602e68a6a5d4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (33 lines \u00D7 2): libnetwork/drivers/ipvlan/ipvlan_network.go:31-63 | libnetwork/drivers/macvlan/macvlan_network.go:21-53 \u2014 \u0060libnetwork/drivers/ipvlan/ipvlan_network.go\u0060 and \u0060libnetwork/drivers/macvlan/macvlan_network.go\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 7 separate duplicated blocks between them, totalling at least 171 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libnetwork/drivers/ipvlan/ipvlan_network.go:31\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":"libnetwork/drivers/ipvlan/ipvlan_network.go"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"e75b513b3b77b6148f70171496ae057cf4e86b54ea4e23287ebdd485ea96d552"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (31 lines \u00D7 2): libnetwork/drivers/ipvlan/ipvlan.go:32-62 | libnetwork/drivers/macvlan/macvlan.go:26-56 \u2014 \u0060libnetwork/drivers/ipvlan/ipvlan.go\u0060 and \u0060libnetwork/drivers/macvlan/macvlan.go\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 2 separate duplicated blocks between them, totalling at least 43 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libnetwork/drivers/ipvlan/ipvlan.go:32\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":"libnetwork/drivers/ipvlan/ipvlan.go"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cb466f10542af24631b6902fbd28402a9b0694a5b32a2a71097e6478e15dc37"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u201333 lines \u00D7 4): libnetwork/drivers/ipvlan/ipvlan_endpoint.go:76-82 | libnetwork/drivers/ipvlan/ipvlan_network.go:119-151 | libnetwork/drivers/macvlan/macvlan_endpoint.go:81-87 | libnetwork/drivers/macvlan/macvlan_network.go:109-141 \u2014 \u0060libnetwork/drivers/ipvlan/ipvlan_endpoint.go\u0060 and \u0060libnetwork/drivers/macvlan/macvlan_endpoint.go\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 3 separate duplicated blocks between them, totalling at least 61 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libnetwork/drivers/ipvlan/ipvlan_endpoint.go:76\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/drivers/ipvlan/ipvlan_endpoint.go"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ea7ff355b39f1695d366ac297ce742de6e293f6ddb81ffb5aa53a9b6663e5ff"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (35 lines \u00D7 2): libnetwork/drivers/ipvlan/ipvlan_setup.go:96-130 | libnetwork/drivers/macvlan/macvlan_setup.go:76-110 \u2014 \u0060libnetwork/drivers/ipvlan/ipvlan_setup.go\u0060 and \u0060libnetwork/drivers/macvlan/macvlan_setup.go\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 6 separate duplicated blocks between them, totalling at least 112 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/drivers/ipvlan/ipvlan_setup.go"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"33c92941bf76d948305a18aec2838826fdd1183216f731f85a4457e6e7a31313"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2): daemon/containerd/cache.go:171-195 | image/cache/cache.go:184-208 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/containerd/cache.go"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"a92a207e87ecba9417c4603f4f1522d3ce1aaef9993fc226aaefe34b2576a26a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24\u201325 lines \u00D7 2): pkg/directory/directory_unix.go:16-39 | pkg/directory/directory_windows.go:12-36 \u2014 before extracting anything, compare \u0060pkg/directory/directory_unix.go\u0060 and \u0060pkg/directory/directory_windows.go\u0060 as WHOLE FILES: 89% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060pkg/directory/directory_unix.go:16\u0060 it does not close everything it opens, so those exact lines cannot be lifted 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/directory/directory_unix.go"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa64df7f8c5a0ed7f41abbaa65761d9e18ffa9851b2dabd5bf8d4a59036f8717"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): daemon/graphdriver/fuse-overlayfs/fuseoverlayfs.go:231-254 | daemon/graphdriver/overlay2/overlay.go:445-468 \u2014 before extracting anything, compare \u0060daemon/graphdriver/fuse-overlayfs/fuseoverlayfs.go\u0060 and \u0060daemon/graphdriver/overlay2/overlay.go\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 220 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/graphdriver/fuse-overlayfs/fuseoverlayfs.go"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"052c92f6d2f298407651361674789b33f57ef62fa7f6ce4d1b6f1fdef9e61ab4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): daemon/graphdriver/fuse-overlayfs/fuseoverlayfs.go:302-325 | daemon/graphdriver/overlay2/overlay.go:516-539 \u2014 before extracting anything, compare \u0060daemon/graphdriver/fuse-overlayfs/fuseoverlayfs.go\u0060 and \u0060daemon/graphdriver/overlay2/overlay.go\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 220 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060daemon/graphdriver/fuse-overlayfs/fuseoverlayfs.go:302\u0060 it does not close everything it opens, so those exact 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, \u0060daemon/graphdriver/fuse-overlayfs/fuseoverlayfs.go:326\u0060 calls \u0060fusermountU\u0060 and \u0060daemon/graphdriver/overlay2/overlay.go:540\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":"daemon/graphdriver/fuse-overlayfs/fuseoverlayfs.go"},"region":{"startLine":302}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbf61e4664c5d12288a2a09a59fcf55c2d09ebb0d568462dd7320fc0256f819d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): libnetwork/drivers/ipvlan/ipvlan_setup.go:134-157 | libnetwork/drivers/macvlan/macvlan_setup.go:114-137 \u2014 \u0060libnetwork/drivers/ipvlan/ipvlan_setup.go\u0060 and \u0060libnetwork/drivers/macvlan/macvlan_setup.go\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 6 separate duplicated blocks between them, totalling at least 112 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/drivers/ipvlan/ipvlan_setup.go"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7a9208dc2983669bfe6cf48d9ea6e0bdb8d81203d34ded62b43dea9140d5e97"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21\u201324 lines \u00D7 2): libnetwork/networkdb/networkdb.go:533-556 | libnetwork/networkdb/networkdb.go:562-582 \u2014 both copies are in the same file, so extract the block 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 \u0060libnetwork/networkdb/networkdb.go:533\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060string\u0060 to \u0060node\u0060 in one and \u0060nDB *NetworkDB) deleteNodeTableEntries(node\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/networkdb/networkdb.go"},"region":{"startLine":533}}}],"partialFingerprints":{"codehealthFindingId/v1":"cab4bb840f00bdbfee0fc2b3e5b47ecc8d6bc387f49f646a7cfe5d2a07366f37"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): daemon/graphdriver/fuse-overlayfs/fuseoverlayfs.go:332-353 | daemon/graphdriver/overlay2/overlay.go:544-565 \u2014 before extracting anything, compare \u0060daemon/graphdriver/fuse-overlayfs/fuseoverlayfs.go\u0060 and \u0060daemon/graphdriver/overlay2/overlay.go\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 220 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060daemon/graphdriver/fuse-overlayfs/fuseoverlayfs.go:332\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":"daemon/graphdriver/fuse-overlayfs/fuseoverlayfs.go"},"region":{"startLine":332}}}],"partialFingerprints":{"codehealthFindingId/v1":"494f4635b06355498f5c3bb3a6d49487f3dddba33ab3bd542fd3abfd2b9f0e85"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): libnetwork/drivers/overlay/encryption.go:365-386 | libnetwork/drivers/overlay/encryption.go:567-588 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/drivers/overlay/encryption.go"},"region":{"startLine":365}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b68f69d476ad3817b93c77449075770e5ac634ba63b0619babed61576f90dcd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): cmd/docker-proxy/sctp_proxy.go:55-75 | cmd/docker-proxy/tcp_proxy.go:51-71 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060cmd/docker-proxy/sctp_proxy.go:55\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":"cmd/docker-proxy/sctp_proxy.go"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc4b8e5700c321598592fc26c679b6b0c78776dd6f59b4389cb4a9acbeef35e2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): daemon/graphdriver/fuse-overlayfs/fuseoverlayfs.go:121-141 | daemon/graphdriver/overlay2/overlay.go:284-304 \u2014 before extracting anything, compare \u0060daemon/graphdriver/fuse-overlayfs/fuseoverlayfs.go\u0060 and \u0060daemon/graphdriver/overlay2/overlay.go\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 220 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/graphdriver/fuse-overlayfs/fuseoverlayfs.go"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"73bfe176b4b2d7dba3f32e5ee436622e2f4b1418ac4edebe82e16b1fb68d231f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): daemon/archive_unix.go:132-151 | daemon/archive_windows.go:233-252 \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":"daemon/archive_unix.go"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"f726077797683568172df69873ad1b04f8795ae1e0bc44c971110158207f007a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): daemon/container_operations_windows.go:177-196 | daemon/oci_windows.go:151-170 \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 \u0060daemon/container_operations_windows.go:177\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/container_operations_windows.go"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"86e05d445b350930fc9bc4925d07df55462fd6d4d07fa2930ccb4fc9cba42c2f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): daemon/graphdriver/fuse-overlayfs/fuseoverlayfs.go:279-298 | daemon/graphdriver/overlay2/overlay.go:493-512 \u2014 before extracting anything, compare \u0060daemon/graphdriver/fuse-overlayfs/fuseoverlayfs.go\u0060 and \u0060daemon/graphdriver/overlay2/overlay.go\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 220 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/graphdriver/fuse-overlayfs/fuseoverlayfs.go"},"region":{"startLine":279}}}],"partialFingerprints":{"codehealthFindingId/v1":"57481712bce337a787aa1259815a69b85067c47dd198e395ccd29b17a682f1c9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19\u201320 lines \u00D7 2): libnetwork/drivers/bridge/bridge_linux.go:1200-1219 | libnetwork/drivers/windows/windows.go:802-820 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libnetwork/drivers/bridge/bridge_linux.go:1200\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/drivers/bridge/bridge_linux.go"},"region":{"startLine":1200}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea7a1e85021ad458d6688ea3d4127477a8ac819cb44babb51a7cc833ab7df905"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): libnetwork/drivers/remote/driver.go:70-89 | libnetwork/ipams/remote/remote.go:68-87 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/drivers/remote/driver.go"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"88c869e3fb2a146a08481ea8881b97fe31628e2ae71cf5b726a6615ff9f32635"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): daemon/container_operations.go:96-114 | daemon/network.go:714-732 \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":"daemon/container_operations.go"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"07418e502b350ad1a23df3a9277736a4edffe442a652942d6be7bb209eb085d8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): layer/layer_store.go:306-324 | layer/layer_store.go:539-557 \u2014 both copies are in the same file, so extract the block 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 \u0060layer/layer_store.go:306\u0060 it does not close everything it opens, so those exact 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":"layer/layer_store.go"},"region":{"startLine":306}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c0275c93cf7fc4239fb89b7c85aaed89fdc89e0f3aa95a1e397f1b9dd6fbd8b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): libnetwork/drivers/ipvlan/ipvlan_store.go:158-176 | libnetwork/drivers/macvlan/macvlan_store.go:156-174 \u2014 \u0060libnetwork/drivers/ipvlan/ipvlan_store.go\u0060 and \u0060libnetwork/drivers/macvlan/macvlan_store.go\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 12 separate duplicated blocks between them, totalling at least 148 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libnetwork/drivers/ipvlan/ipvlan_store.go:158\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":"libnetwork/drivers/ipvlan/ipvlan_store.go"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8d6058a5359b7cb12920d7a5bdbf3ff325decd7eb8cd380d1079c0c25448d2e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): api/server/router/container/container_routes.go:231-248 | api/server/router/container/container_routes.go:284-301 \u2014 both copies are in the same file, so extract the block 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":"api/server/router/container/container_routes.go"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"477044e5ef0a142e1a8b9decffccb4c3e319eaffc490c316274ea183cf47bcf4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201318 lines \u00D7 2): daemon/containerd/image_snapshot_unix.go:76-92 | daemon/containerd/image_snapshot_unix.go:99-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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060daemon/containerd/image_snapshot_unix.go:76\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note 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":"daemon/containerd/image_snapshot_unix.go"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"73155a9fcafd33815fd4021ce40fd5e30fedafaf7be2c6db9846dfe2f3e673e6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): daemon/graphdriver/fuse-overlayfs/fuseoverlayfs.go:428-445 | daemon/graphdriver/overlay2/overlay.go:663-680 \u2014 before extracting anything, compare \u0060daemon/graphdriver/fuse-overlayfs/fuseoverlayfs.go\u0060 and \u0060daemon/graphdriver/overlay2/overlay.go\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 220 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/graphdriver/fuse-overlayfs/fuseoverlayfs.go"},"region":{"startLine":428}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1d63a0eb85a768d95be41c60feeab090fd5881481317a06da5bb07e22ed90cf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): daemon/graphdriver/graphtest/graphbench_unix.go:91-108 | daemon/graphdriver/graphtest/graphbench_unix.go:126-143 \u2014 both copies are in the same file, so extract the block 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":"daemon/graphdriver/graphtest/graphbench_unix.go"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"bde04d0526a24a93219481ce975619a1be713bb5b0f0f4270cecc87cfe14bc99"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201318 lines \u00D7 2): libcontainerd/local/local_windows.go:443-460 | libcontainerd/local/local_windows.go:612-628 \u2014 both copies are in the same file, so extract the block 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 \u0060libcontainerd/local/local_windows.go:443\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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libcontainerd/local/local_windows.go"},"region":{"startLine":443}}}],"partialFingerprints":{"codehealthFindingId/v1":"647ad2ea9b995dcd55224cfd2dac9da26a759ea630702a24b420781d62eb807a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): libnetwork/drivers/ipvlan/ipvlan_joinleave.go:181-198 | libnetwork/drivers/macvlan/macvlan_joinleave.go:127-144 \u2014 \u0060libnetwork/drivers/ipvlan/ipvlan_joinleave.go\u0060 and \u0060libnetwork/drivers/macvlan/macvlan_joinleave.go\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 5 separate duplicated blocks between them, totalling at least 70 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/drivers/ipvlan/ipvlan_joinleave.go"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"24032902709023228efde368c7df1ccd9b6c7da09d6ada7121c00409de9439fb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): client/container_restart.go:16-32 | client/container_stop.go:20-36 \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":"client/container_restart.go"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"5175b0835c4972f5a185d555e96b5b64a033e286460d93fff976db9145a6b5a6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): daemon/containerd/image_builder.go:161-177 | daemon/images/image_builder.go:176-192 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060daemon/containerd/image_builder.go:161\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/containerd/image_builder.go"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c7912b65399abe70f11dc04a2e01c6de9f605f1c5ccd99fba3fc29e424ddd8c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): daemon/containerd/image_events.go:13-29 | daemon/images/image_events.go:12-28 \u2014 \u0060daemon/containerd/image_events.go\u0060 and \u0060daemon/images/image_events.go\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 1 separate duplicated blocks between them, totalling at least 17 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/containerd/image_events.go"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"72f2d232c449b839df6425b23bc1448f67fe915c6ccee03914408b12aea937c6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): daemon/graphdriver/graphtest/graphbench_unix.go:224-240 | daemon/graphdriver/graphtest/graphtest_unix.go:141-157 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. 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":"daemon/graphdriver/graphtest/graphbench_unix.go"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"395f2f1e66e7ee32957440886555af96e38ca2dc57369a3c1cc8842b1ac8ae36"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): daemon/top_unix.go:149-165 | daemon/top_windows.go:35-51 \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 \u0060daemon/top_unix.go:149\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. 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, \u0060daemon/top_windows.go:54\u0060 calls \u0060Summary\u0060, \u0060Background\u0060 and \u0060daemon/top_unix.go:167\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":"daemon/top_unix.go"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"3322f4556264044d6ef5ad7d2dbeb40518c9ef413ee3b9a76850d0ade024d393"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): distribution/xfer/download.go:380-396 | distribution/xfer/download.go:472-488 \u2014 both copies are in the same file, so extract the block 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 \u0060distribution/xfer/download.go:380\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060distribution/xfer/download.go:378\u0060 calls \u0060Update\u0060, \u0060ID\u0060 and \u0060distribution/xfer/download.go:470\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":"distribution/xfer/download.go"},"region":{"startLine":380}}}],"partialFingerprints":{"codehealthFindingId/v1":"4360bb1c6861bc82beda16e9e0845c72faf5bcddaab492c3bd53197efc111bb6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): libnetwork/drivers/bridge/bridge_linux.go:932-948 | libnetwork/drivers/bridge/bridge_linux.go:1112-1128 \u2014 both copies are in the same file, so extract the block 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":"libnetwork/drivers/bridge/bridge_linux.go"},"region":{"startLine":932}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c5d7c4d097b6cbc6b84a5203f6d3944bade0e5b986d2c99b5dcb4b3d6895d91"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): libnetwork/drivers/bridge/port_mapping_linux.go:157-173 | libnetwork/drivers/windows/port_mapping.go:75-91 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libnetwork/drivers/bridge/port_mapping_linux.go:157\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/drivers/bridge/port_mapping_linux.go"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"14d44c313617f38e883205deb16381bbe8550a30c829868afd6a32432784a718"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): libnetwork/drivers/ipvlan/ipvlan_setup.go:162-178 | libnetwork/drivers/macvlan/macvlan_setup.go:142-158 \u2014 \u0060libnetwork/drivers/ipvlan/ipvlan_setup.go\u0060 and \u0060libnetwork/drivers/macvlan/macvlan_setup.go\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 6 separate duplicated blocks between them, totalling at least 112 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/drivers/ipvlan/ipvlan_setup.go"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"eda3688d270a4583e56a30c55ef5742ea3f376ab8192441ed1136fc819077936"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): volume/mounts/linux_parser.go:295-311 | volume/mounts/windows_parser.go:380-396 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060volume/mounts/linux_parser.go:295\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"volume/mounts/linux_parser.go"},"region":{"startLine":295}}}],"partialFingerprints":{"codehealthFindingId/v1":"25ee7630b33ff8a6b8a3ef597e903ed57d86b98f866ac992672108d1d9289ac8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201316 lines \u00D7 4): libnetwork/drivers/bridge/bridge_store.go:119-134 | libnetwork/drivers/ipvlan/ipvlan_store.go:135-149 | libnetwork/drivers/macvlan/macvlan_store.go:134-148 | libnetwork/drivers/windows/windows_store.go:119-134 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 4 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 4 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libnetwork/drivers/bridge/bridge_store.go:119\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":"libnetwork/drivers/bridge/bridge_store.go"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"361963c9793e90c89d6aebbb98376c79c74f4ca274a604ee24e612a3f1f9bb46"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201316 lines \u00D7 3): daemon/graphdriver/graphtest/graphbench_unix.go:70-85 | daemon/graphdriver/graphtest/graphbench_unix.go:107-121 | daemon/graphdriver/graphtest/graphbench_unix.go:205-220 \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 \u0060daemon/graphdriver/graphtest/graphbench_unix.go:70\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":"daemon/graphdriver/graphtest/graphbench_unix.go"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a0a1492e6ca25527dcd1c03c50ad2168a58a69c49d16b82b02582e597780b02"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201316 lines \u00D7 2): daemon/graphdriver/fuse-overlayfs/fuseoverlayfs.go:84-99 | daemon/graphdriver/overlay2/overlay.go:167-181 \u2014 before extracting anything, compare \u0060daemon/graphdriver/fuse-overlayfs/fuseoverlayfs.go\u0060 and \u0060daemon/graphdriver/overlay2/overlay.go\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 220 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060daemon/graphdriver/fuse-overlayfs/fuseoverlayfs.go:84\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/graphdriver/fuse-overlayfs/fuseoverlayfs.go"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"47a1766f1f9f099706c48689411f4810f9945e7aef8fe6dce7659c58b50fa88d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): daemon/graphdriver/fuse-overlayfs/fuseoverlayfs.go:385-400 | daemon/graphdriver/overlay2/overlay.go:622-637 \u2014 before extracting anything, compare \u0060daemon/graphdriver/fuse-overlayfs/fuseoverlayfs.go\u0060 and \u0060daemon/graphdriver/overlay2/overlay.go\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 220 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. 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, \u0060daemon/graphdriver/fuse-overlayfs/fuseoverlayfs.go:401\u0060 calls \u0060fusermountU\u0060 and \u0060daemon/graphdriver/overlay2/overlay.go:638\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":"daemon/graphdriver/fuse-overlayfs/fuseoverlayfs.go"},"region":{"startLine":385}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a3be51af90765984eeeafe1bf43f8a167a80308becb2b5e358e61b184a6f6ab"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201316 lines \u00D7 2): distribution/pull.go:95-109 | distribution/push.go:41-56 \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 \u0060distribution/pull.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":"distribution/pull.go"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"c980081ce7df86e303d718e1757d7c17df255b150ecfb21e08e6d97ad141704a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): libnetwork/drivers/bridge/bridge_linux.go:1285-1300 | libnetwork/drivers/bridge/bridge_linux.go:1341-1356 \u2014 both copies are in the same file, so extract the block 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. 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":"libnetwork/drivers/bridge/bridge_linux.go"},"region":{"startLine":1285}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7ac0cc33df6f9fccef0247b08280b7555fa8699846b3acb7ffc4e5293e5b80b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): libnetwork/drivers/ipvlan/ipvlan_network.go:216-231 | libnetwork/drivers/macvlan/macvlan_network.go:195-210 \u2014 \u0060libnetwork/drivers/ipvlan/ipvlan_network.go\u0060 and \u0060libnetwork/drivers/macvlan/macvlan_network.go\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 7 separate duplicated blocks between them, totalling at least 171 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/drivers/ipvlan/ipvlan_network.go"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ffbef89f8ec63ae82fcfb0fa23e54e49183313bcc3440f75ac6ad9f60d0d810"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): libnetwork/drivers/ipvlan/ipvlan_setup.go:206-221 | libnetwork/drivers/macvlan/macvlan_setup.go:186-201 \u2014 \u0060libnetwork/drivers/ipvlan/ipvlan_setup.go\u0060 and \u0060libnetwork/drivers/macvlan/macvlan_setup.go\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 6 separate duplicated blocks between them, totalling at least 112 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/drivers/ipvlan/ipvlan_setup.go"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"330d2691b690ec92d03131f086b963978e3b92a8800045a5a5d5f45c5ee76bbd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 3): builder/builder-next/adapters/containerimage/pull.go:831-845 | builder/builder-next/exporter/mobyexporter/writer.go:211-225 | builder/builder-next/worker/worker.go:518-532 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"builder/builder-next/adapters/containerimage/pull.go"},"region":{"startLine":831}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c1098da0cce011480502c78f86731dd6f0bb335540c3213497f9ae7c14ae102"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): client/service_logs.go:31-45 | client/task_logs.go:30-44 \u2014 before extracting anything, compare \u0060client/service_logs.go\u0060 and \u0060client/task_logs.go\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 39 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060client/service_logs.go:31\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":"client/service_logs.go"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c68b3382431621d1126233e47f1ba4abab643595c083ad12bee744abefed2ef"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201315 lines \u00D7 2): daemon/containerd/image_delete.go:95-109 | daemon/containerd/image_delete.go:126-139 \u2014 both copies are in the same file, so extract the block 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 \u0060daemon/containerd/image_delete.go:95\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. 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":"daemon/containerd/image_delete.go"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a55541768511557226b5475e7b828f65ef1e8f1ae1598ea19a32be8e077755d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): daemon/graphdriver/fuse-overlayfs/fuseoverlayfs.go:172-186 | daemon/graphdriver/overlay2/overlay.go:356-370 \u2014 before extracting anything, compare \u0060daemon/graphdriver/fuse-overlayfs/fuseoverlayfs.go\u0060 and \u0060daemon/graphdriver/overlay2/overlay.go\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 220 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060daemon/graphdriver/fuse-overlayfs/fuseoverlayfs.go:172\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. 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":"daemon/graphdriver/fuse-overlayfs/fuseoverlayfs.go"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce1c6bc7843f7582ef311bae95e200e5fd0eb2bc924c8a59aa7b9c04a5f45ec6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201315 lines \u00D7 2): daemon/logger/splunk/splunk.go:527-540 | daemon/logger/splunk/splunk.go:627-641 \u2014 both copies are in the same file, so extract the block 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 \u0060daemon/logger/splunk/splunk.go:527\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. 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, \u0060daemon/logger/splunk/splunk.go:525\u0060 calls \u0060Set\u0060, \u0060String\u0060 and \u0060daemon/logger/splunk/splunk.go:625\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":"daemon/logger/splunk/splunk.go"},"region":{"startLine":527}}}],"partialFingerprints":{"codehealthFindingId/v1":"14103948c0f2fb6a8317318da1b9cacc174012185ab5c96db3c231b815a987fb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): image/tarexport/save.go:314-328 | image/tarexport/save.go:332-346 \u2014 both copies are in the same file, so extract the block 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":"image/tarexport/save.go"},"region":{"startLine":314}}}],"partialFingerprints":{"codehealthFindingId/v1":"f637f0fa23b59aad3bbc99caf19d14160ef549e185827cef4b836eed46566caf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): libnetwork/datastore/cache.go:84-98 | libnetwork/datastore/cache.go:112-126 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libnetwork/datastore/cache.go:84\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/datastore/cache.go"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad64fd273aae4dd03aa31a387c293de09adffe78addc2c65c24c1353fd17adc8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): libnetwork/drivers/ipvlan/ipvlan_network.go:167-181 | libnetwork/drivers/macvlan/macvlan_network.go:157-171 \u2014 \u0060libnetwork/drivers/ipvlan/ipvlan_network.go\u0060 and \u0060libnetwork/drivers/macvlan/macvlan_network.go\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 7 separate duplicated blocks between them, totalling at least 171 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/drivers/ipvlan/ipvlan_network.go"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5a0b2938971a465e3e7ba92d9c5d141a4299949112cf53a129668068230c717"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): libnetwork/drivers/ipvlan/ipvlan_store.go:261-275 | libnetwork/drivers/macvlan/macvlan_store.go:255-269 \u2014 \u0060libnetwork/drivers/ipvlan/ipvlan_store.go\u0060 and \u0060libnetwork/drivers/macvlan/macvlan_store.go\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 12 separate duplicated blocks between them, totalling at least 148 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/drivers/ipvlan/ipvlan_store.go"},"region":{"startLine":261}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb5d5ed0a811ba32bf916bf411bde0538c02993d49318cb7ce81fbeb4475a954"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): libnetwork/osl/namespace_linux.go:194-208 | libnetwork/osl/namespace_linux.go:243-257 \u2014 both copies are in the same file, so extract the block 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":"libnetwork/osl/namespace_linux.go"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e51f614b0f01728ffd58373645dde9123a5f61e2b25fb6b476067e5463fbad6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): volume/mounts/linux_parser.go:249-263 | volume/mounts/windows_parser.go:336-350 \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":"volume/mounts/linux_parser.go"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a37cbe7754cb3cf07a5f2938317b62c42627b1c78d64540e2c2eda325529b02"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3): daemon/logger/loggertest/logreader.go:236-249 | daemon/logger/loggertest/logreader.go:365-378 | daemon/logger/loggertest/logreader.go:394-407 \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 \u0060daemon/logger/loggertest/logreader.go:236\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 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":"daemon/logger/loggertest/logreader.go"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"fad6e238000360f32febf4fd155b6254b5589e3c678142258a56e306ee59379b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): api/server/router/plugin/plugin_routes.go:83-96 | api/server/router/plugin/plugin_routes.go:118-131 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. 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":"api/server/router/plugin/plugin_routes.go"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"03fdad4bb955f5d9e156213662a29b929b7b4826304cdfd59286bd3759605210"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): client/container_logs.go:39-52 | client/service_logs.go:19-32 \u2014 before extracting anything, compare \u0060client/container_logs.go\u0060 and \u0060client/service_logs.go\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 38 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060client/container_logs.go:39\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/container_logs.go"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"442f47a45653745822c9643fbce966b0ed533b3a53ddcc4ea7907ebe4d0026f8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 2): daemon/create.go:296-308 | daemon/create.go:309-322 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/create.go"},"region":{"startLine":296}}}],"partialFingerprints":{"codehealthFindingId/v1":"44ec9d80e37e61905e36dfd8bfb0f4fa1a9876a1bf40e764c46ed91a8f5eb1c4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): layer/filestore.go:204-217 | layer/filestore.go:326-339 \u2014 both copies are in the same file, so extract the block 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 \u0060layer/filestore.go:204\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":"layer/filestore.go"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"51130c082e66418a9b8dffc12435d04989354523c81ed49f4348ce53d2dc8be1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): libnetwork/cnmallocator/networkallocator.go:206-219 | libnetwork/cnmallocator/networkallocator.go:284-297 \u2014 both copies are in the same file, so extract the block 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 \u0060libnetwork/cnmallocator/networkallocator.go:206\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/cnmallocator/networkallocator.go"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"24cccab3889388137657b16bb8b8b0eb34ac716aa5211f477214cc7fcdb47998"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): libnetwork/drivers/ipvlan/ipvlan_store.go:197-211 | libnetwork/drivers/macvlan/macvlan_store.go:189-203 \u2014 \u0060libnetwork/drivers/ipvlan/ipvlan_store.go\u0060 and \u0060libnetwork/drivers/macvlan/macvlan_store.go\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 12 separate duplicated blocks between them, totalling at least 148 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libnetwork/drivers/ipvlan/ipvlan_store.go:197\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":"libnetwork/drivers/ipvlan/ipvlan_store.go"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"224ba909c6937693b655dde0539e339b59cf35cb86bfaee9cce8e7d487b2a189"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): libnetwork/endpoint.go:123-136 | libnetwork/endpoint.go:145-158 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libnetwork/endpoint.go:123\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/endpoint.go"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e05fd3f21440d664f007283f5e526752a0511bc5f7498d8cf248e2c5e68a383"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201316 lines \u00D7 2): libnetwork/networkdb/watch.go:96-110 | libnetwork/networkdb/watch.go:117-132 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libnetwork/networkdb/watch.go:96\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/networkdb/watch.go"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"347a4d1d8429880a8a81165994176d1c08102dfcfe93edd5928a3b08d903aac6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): libnetwork/portmapper/mapper.go:83-96 | libnetwork/portmapper/mapper.go:114-127 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libnetwork/portmapper/mapper.go:83\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":"libnetwork/portmapper/mapper.go"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec8258dea49fba024dfb44c6280dfd8a2ecbf915f7d031f3a2b2864886bee152"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): plugin/backend_linux.go:235-248 | plugin/backend_linux.go:281-294 \u2014 both copies are in the same file, so extract the block 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. 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":"plugin/backend_linux.go"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"72acb4fa32a99e2d21db971b1e4e15f6da18da54fc8493f52c3396c9f965367f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201313 lines \u00D7 3): libnetwork/drivers/ipvlan/ipvlan_endpoint.go:65-75 | libnetwork/drivers/macvlan/macvlan_endpoint.go:70-80 | libnetwork/drivers/windows/overlay/ov_endpoint_windows.go:224-236 \u2014 \u0060libnetwork/drivers/ipvlan/ipvlan_endpoint.go\u0060 and \u0060libnetwork/drivers/macvlan/macvlan_endpoint.go\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 3 separate duplicated blocks between them, totalling at least 61 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/drivers/ipvlan/ipvlan_endpoint.go"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"86da1476203a27640fe4c94bf57d12cdc8b60d394c3270cacbab2e4954ae9beb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3): libnetwork/portmapper/mapper.go:69-81 | libnetwork/portmapper/mapper.go:100-112 | libnetwork/portmapper/mapper.go:131-143 \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 \u0060libnetwork/portmapper/mapper.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. 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":"libnetwork/portmapper/mapper.go"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad1feb149bba3546f7c2e3f9f882e242689c8e131de9dc79bd286cde34bc6052"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): client/network_inspect.go:37-49 | client/volume_inspect.go:26-38 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060client/network_inspect.go:37\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. 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":"client/network_inspect.go"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"662799131eeb2cbfc33f78095bad7162766779ec303a416bc8cf0ac60ee2fc46"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): daemon/graphdriver/fuse-overlayfs/fuseoverlayfs.go:261-275 | daemon/graphdriver/overlay2/overlay.go:475-489 \u2014 before extracting anything, compare \u0060daemon/graphdriver/fuse-overlayfs/fuseoverlayfs.go\u0060 and \u0060daemon/graphdriver/overlay2/overlay.go\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 220 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/graphdriver/fuse-overlayfs/fuseoverlayfs.go"},"region":{"startLine":261}}}],"partialFingerprints":{"codehealthFindingId/v1":"06b30bf4d0c91e712e581693eb38dd6689e32b94af9acafc8b5956225a356ad7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): daemon/network.go:527-539 | daemon/network.go:541-553 \u2014 both copies are in the same file, so extract the block 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":"daemon/network.go"},"region":{"startLine":527}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cb76c669b15f7b9ef4769fd056006aa616c292711be255cc59d400bec17ca99"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): integration/network/helpers.go:47-59 | integration/network/helpers_windows.go:14-26 \u2014 before extracting anything, compare \u0060integration/network/helpers.go\u0060 and \u0060integration/network/helpers_windows.go\u0060 as WHOLE FILES: 88% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 2 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"integration/network/helpers.go"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"f14219e618ba1269badf1f0f61e1bd2c6b3ec992234a07b3e4807d8e76c47268"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): integration/network/helpers.go:63-75 | integration/network/helpers_windows.go:30-42 \u2014 before extracting anything, compare \u0060integration/network/helpers.go\u0060 and \u0060integration/network/helpers_windows.go\u0060 as WHOLE FILES: 88% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 2 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"integration/network/helpers.go"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec8f74bcfd48fe36b169535d9c3fcd23695a99440b70f5c884f395fc2a8398a7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): libnetwork/drivers/ipvlan/ipvlan_joinleave.go:82-94 | libnetwork/drivers/macvlan/macvlan_joinleave.go:44-56 \u2014 \u0060libnetwork/drivers/ipvlan/ipvlan_joinleave.go\u0060 and \u0060libnetwork/drivers/macvlan/macvlan_joinleave.go\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 5 separate duplicated blocks between them, totalling at least 70 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libnetwork/drivers/ipvlan/ipvlan_joinleave.go:82\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/drivers/ipvlan/ipvlan_joinleave.go"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"3faabdfbb74dd8d651c9a925d3154c98cb3eb94b4f3a0d2306bec2ce0debea9c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): libnetwork/drivers/ipvlan/ipvlan_joinleave.go:99-111 | libnetwork/drivers/macvlan/macvlan_joinleave.go:61-73 \u2014 \u0060libnetwork/drivers/ipvlan/ipvlan_joinleave.go\u0060 and \u0060libnetwork/drivers/macvlan/macvlan_joinleave.go\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 5 separate duplicated blocks between them, totalling at least 70 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libnetwork/drivers/ipvlan/ipvlan_joinleave.go:99\u0060 it does not close everything it opens, so those exact 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":"libnetwork/drivers/ipvlan/ipvlan_joinleave.go"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f94f52edbf0e1a95d54fc5966f89432aa0922bd8789d8cc6f72913a5c580883"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): libnetwork/drivers/ipvlan/ipvlan_network.go:255-267 | libnetwork/drivers/macvlan/macvlan_network.go:231-243 \u2014 \u0060libnetwork/drivers/ipvlan/ipvlan_network.go\u0060 and \u0060libnetwork/drivers/macvlan/macvlan_network.go\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 7 separate duplicated blocks between them, totalling at least 171 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/drivers/ipvlan/ipvlan_network.go"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd76c93d8197d413163b16b860f7a7047559f369637a37e617e7df1509c2f069"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): libnetwork/networkdb/networkdbdiagnostic.go:148-160 | libnetwork/networkdb/networkdbdiagnostic.go:197-209 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libnetwork/networkdb/networkdbdiagnostic.go:148\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":"libnetwork/networkdb/networkdbdiagnostic.go"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"c59ca07674bd21cbbd945cf36fe883c3b9999ba443baabd9774b586641e4d860"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): client/container_logs.go:37-48 | client/service_logs.go:17-28 | client/task_logs.go:16-27 \u2014 before extracting anything, compare \u0060client/container_logs.go\u0060 and \u0060client/service_logs.go\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 38 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060client/container_logs.go:37\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/container_logs.go"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcbfb809eff7c099eaa1f10b661489d529ac2019d85fa6520abbf7faea5c4693"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): client/container_logs.go:62-73 | client/service_logs.go:34-45 | client/task_logs.go:33-44 \u2014 before extracting anything, compare \u0060client/container_logs.go\u0060 and \u0060client/service_logs.go\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 38 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/container_logs.go"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f8965b114cb6bc4e3371e5831e75eae829e4db524928bfae33e945014ba03fd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 2): api/server/router/container/container_routes.go:773-784 | api/server/router/container/exec.go:163-173 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/router/container/container_routes.go"},"region":{"startLine":773}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2a9480e6ea03eabeb6efc060e9cb1c93ccdbe7ad3067941d079163bc8b4e9c2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): builder/builder-next/controller.go:146-157 | builder/builder-next/controller.go:368-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 \u0060builder/builder-next/controller.go:146\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060builder/builder-next/controller.go:366\u0060 calls \u0060Add\u0060 and \u0060builder/builder-next/controller.go:145\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":"builder/builder-next/controller.go"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"e20eb1833727972d46ad96df7e8a91306ef4f54dc25056f6c2a49c86f3a6d296"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): client/config_list.go:16-27 | client/secret_list.go:16-27 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060client/config_list.go:16\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":"client/config_list.go"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"d378dca15d940f6a3df5923e1edb613d7b9b3c3f15344c1b3dee61122b724e13"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): daemon/inspect.go:122-133 | daemon/inspect_linux.go:24-35 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. 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":"daemon/inspect.go"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d9b6bb81adf239fc4f413b90996e759d9e32ebbf6f6b5de1597fa8b3f677539"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): distribution/xfer/download.go:308-319 | distribution/xfer/upload.go:163-174 \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 \u0060distribution/xfer/download.go:308\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"distribution/xfer/download.go"},"region":{"startLine":308}}}],"partialFingerprints":{"codehealthFindingId/v1":"d552591963960e81119483af421f7227e508e25385976e2c6b44c236e93954b6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): integration/plugin/logging/cmd/dummy/main.go:10-21 | integration/plugin/volumes/cmd/dummy/main.go:10-21 \u2014 before extracting anything, compare \u0060integration/plugin/logging/cmd/dummy/main.go\u0060 and \u0060integration/plugin/volumes/cmd/dummy/main.go\u0060 as WHOLE FILES: 100% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"integration/plugin/logging/cmd/dummy/main.go"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"9399e1e3a8d2d79ce65c4c8293cacabdded89f329bb79364673f2ff41454cec8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 7): libnetwork/networkdb/networkdbdiagnostic.go:39-49 | libnetwork/networkdb/networkdbdiagnostic.go:72-82 | libnetwork/networkdb/networkdbdiagnostic.go:106-116 | libnetwork/networkdb/networkdbdiagnostic.go:226-236 | libnetwork/networkdb/networkdbdiagnostic.go:309-319 | libnetwork/networkdb/networkdbdiagnostic.go:341-351 | libnetwork/networkdb/networkdbdiagnostic.go:421-431 \u2014 all 7 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/networkdb/networkdbdiagnostic.go"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bda6a978e4ffcbca478ebdf64e4e562036c6779be94d5f76c2c03059c19b401"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 4): libnetwork/networkdb/networkdbdiagnostic.go:129-139 | libnetwork/networkdb/networkdbdiagnostic.go:178-188 | libnetwork/networkdb/networkdbdiagnostic.go:263-273 | libnetwork/networkdb/networkdbdiagnostic.go:373-383 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/networkdb/networkdbdiagnostic.go"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ab1bc7771cbc6d5fbff29795b338ddae057af0aeabb77c875c8b8b702682b8d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): daemon/oci_linux.go:277-287 | daemon/oci_linux.go:310-320 | daemon/oci_linux.go:346-356 \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 \u0060daemon/oci_linux.go:277\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":"daemon/oci_linux.go"},"region":{"startLine":277}}}],"partialFingerprints":{"codehealthFindingId/v1":"c230e9cf0de41a401e29c33e7dbdc01bc7a7421ef7770c4f6369b15006738019"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): libnetwork/drivers/bridge/bridge_linux.go:492-504 | libnetwork/drivers/ipvlan/ipvlan_state.go:93-104 | libnetwork/drivers/macvlan/macvlan_state.go:92-102 \u2014 \u0060libnetwork/drivers/ipvlan/ipvlan_state.go\u0060 and \u0060libnetwork/drivers/macvlan/macvlan_state.go\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 5 separate duplicated blocks between them, totalling at least 57 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/drivers/bridge/bridge_linux.go"},"region":{"startLine":492}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fd241357901e168e5f4e74294964709d6501028c3d38e373e5b905bb20448e9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): client/container_prune.go:26-36 | client/image_prune.go:26-36 \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/container_prune.go:26\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. 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":"client/container_prune.go"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a0900b1e712b3d57ad71a0be6d3c12422a8e9f60a93d8cb633e4dcfa1a1365e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): daemon/container_operations.go:124-134 | daemon/network.go:742-752 \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 \u0060daemon/container_operations.go:124\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/container_operations.go"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a418d94aca1380162c1818edc4ddb3a36a310470af75485ee4c021cf8c139ac"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): daemon/containerd/image_builder.go:143-153 | daemon/images/image_builder.go:159-169 \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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060daemon/images/image_builder.go:157\u0060 calls \u0060TagNameOnly\u0060 and \u0060daemon/containerd/image_builder.go:141\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":"daemon/containerd/image_builder.go"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4722f3ce8ebaba367608098e771036e6280dd1c35533670b941eb242612d59e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): daemon/graphdriver/fuse-overlayfs/fuseoverlayfs.go:201-211 | daemon/graphdriver/overlay2/overlay.go:395-405 \u2014 before extracting anything, compare \u0060daemon/graphdriver/fuse-overlayfs/fuseoverlayfs.go\u0060 and \u0060daemon/graphdriver/overlay2/overlay.go\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 220 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060daemon/graphdriver/fuse-overlayfs/fuseoverlayfs.go:201\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":"daemon/graphdriver/fuse-overlayfs/fuseoverlayfs.go"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cf10f2795c41c660099ca9177e140d6fcabf00891d382c76b71f7bebdb4dc53"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): daemon/graphdriver/graphtest/graphbench_unix.go:17-27 | daemon/graphdriver/graphtest/graphbench_unix.go:36-46 \u2014 both copies are in the same file, so extract the block 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 \u0060daemon/graphdriver/graphtest/graphbench_unix.go:17\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also 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":"daemon/graphdriver/graphtest/graphbench_unix.go"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"01f29a2b635eb62c8bfdbb78fb8d98c6e8a8d0f8e90a82956b864a72298c48f9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): daemon/graphdriver/graphtest/graphbench_unix.go:61-71 | daemon/graphdriver/graphtest/graphbench_unix.go:191-201 \u2014 both copies are in the same file, so extract the block 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":"daemon/graphdriver/graphtest/graphbench_unix.go"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"3061162b068d50e0e815ae433a604e069626049fd9578a1b2ba6e823d4d87a88"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): daemon/info_unix.go:208-218 | daemon/info_unix.go:483-493 \u2014 both copies are in the same file, so extract the block 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 \u0060daemon/info_unix.go:208\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":"daemon/info_unix.go"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"273408954d16e5749a3cae2c1cf143f09f8a93e48611ddc29323eaaf60270aa1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): daemon/logger/loggertest/logreader.go:335-345 | daemon/logger/loggertest/logreader.go:362-372 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. 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":"daemon/logger/loggertest/logreader.go"},"region":{"startLine":335}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ad612d8582b677e82097eda52fc6f38b80f22054342c8a0e05f3e9f8f2070d4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): integration-cli/daemon/daemon_swarm.go:102-112 | integration-cli/daemon/daemon_swarm.go:123-133 \u2014 both copies are in the same file, so extract the block 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 \u0060integration-cli/daemon/daemon_swarm.go:102\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. 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":"integration-cli/daemon/daemon_swarm.go"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c42fe3ecb57e00dc2d5f6e73027441044d12cc45174fb27fb36f9e2f066e94c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): libnetwork/agent.go:571-581 | libnetwork/agent.go:590-600 \u2014 both copies are in the same file, so extract the block 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 \u0060libnetwork/agent.go:571\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/agent.go"},"region":{"startLine":571}}}],"partialFingerprints":{"codehealthFindingId/v1":"9351cd5d6e25af469746ff49adfcee6b5fac377bd6ac94ca27c290d684b22824"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): libnetwork/drivers/ipvlan/ipvlan_joinleave.go:30-40 | libnetwork/drivers/macvlan/macvlan_joinleave.go:18-28 \u2014 \u0060libnetwork/drivers/ipvlan/ipvlan_joinleave.go\u0060 and \u0060libnetwork/drivers/macvlan/macvlan_joinleave.go\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 5 separate duplicated blocks between them, totalling at least 70 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libnetwork/drivers/ipvlan/ipvlan_joinleave.go:30\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/drivers/ipvlan/ipvlan_joinleave.go"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"defc96a980d95f03bd1dbd6c3cae385578cba7bfdc784ffa92be4cf6629bf60b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): libnetwork/drivers/ipvlan/ipvlan_store.go:179-189 | libnetwork/drivers/macvlan/macvlan_store.go:177-187 \u2014 \u0060libnetwork/drivers/ipvlan/ipvlan_store.go\u0060 and \u0060libnetwork/drivers/macvlan/macvlan_store.go\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 12 separate duplicated blocks between them, totalling at least 148 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/drivers/ipvlan/ipvlan_store.go"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe0fb0b9e40597f21a2dbb51838ce3ec88743af9b9fcb409e22a46a6c91fb85b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): container/view.go:443-452 | container/view.go:478-487 | container/view.go:503-512 \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. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"container/view.go"},"region":{"startLine":443}}}],"partialFingerprints":{"codehealthFindingId/v1":"72b95546e33b217baf390260aa3b618cef9c85edeb950f2b708e98ad91d1878c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): daemon/graphdriver/graphtest/graphbench_unix.go:99-108 | daemon/graphdriver/graphtest/graphbench_unix.go:134-143 | daemon/graphdriver/graphtest/graphtest_unix.go:192-201 \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 \u0060daemon/graphdriver/graphtest/graphbench_unix.go:99\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, \u0060daemon/graphdriver/graphtest/graphtest_unix.go:203\u0060 calls \u0060removeAll\u0060, \u0060Fatal\u0060 and \u0060daemon/graphdriver/graphtest/graphbench_unix.go:144\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/graphdriver/graphtest/graphbench_unix.go"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f3d8be76c98cc3248c4c937bfab4d0cc5ac2c75e34883042be097b1a899865a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): client/container_stats.go:19-28 | client/container_stats.go:37-46 \u2014 both copies are in the same file, so extract the block 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/container_stats.go:19\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/container_stats.go"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe532e124548b0d574cfb3363c7397981e5a5ed003daf8811797a5542ef3d5b5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): client/node_list.go:15-24 | client/task_list.go:15-24 \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":"client/node_list.go"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"912e55d0486e1be8b06a5cec4e4bfb7971580e35b0ac85ab5222a8ad7549902f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): client/plugin_install.go:19-28 | client/plugin_upgrade.go:20-29 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/plugin_install.go"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"38eda1b589819b5b26f5b70ae57d9650d138f8446181e39cf87e82154b188f8a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): daemon/containerd/image_list.go:323-332 | daemon/containerd/image_list.go:343-352 \u2014 both copies are in the same file, so extract the block 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 \u0060daemon/containerd/image_list.go:323\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/containerd/image_list.go"},"region":{"startLine":323}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6b27c022e0e7ab85bb8860a74b85876577200539484c4e902a406e414cf52be"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): daemon/containerd/image_snapshot_unix.go:46-55 | daemon/containerd/image_snapshot_unix.go:97-106 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060daemon/containerd/image_snapshot_unix.go:46\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/containerd/image_snapshot_unix.go"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"273b536fb3d94f435cc9254cb2b605e80f8a5fec3331a86debacc3d8c3388657"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): distribution/xfer/download.go:239-248 | distribution/xfer/download.go:406-415 \u2014 both copies are in the same file, so extract the block 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 \u0060distribution/xfer/download.go:239\u0060 it does not close everything it opens, so those exact 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":"distribution/xfer/download.go"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"05d9fd36e80686942bf3624375a1fad6cbb5fd3a99855e7947f63d5e7d0c71b1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): distribution/xfer/download.go:359-368 | distribution/xfer/download.go:458-467 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060distribution/xfer/download.go:359\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060distribution/xfer/download.go:356\u0060 calls \u0060DeltaBase\u0060, \u0060DecorateWithDeltaPatcher\u0060 and \u0060distribution/xfer/download.go:456\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":"distribution/xfer/download.go"},"region":{"startLine":359}}}],"partialFingerprints":{"codehealthFindingId/v1":"55403f3ba1ffe14912615a1c4e863574e13cff83f1a190f3489034471e874a55"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): libnetwork/drivers/ipvlan/ipvlan_setup.go:183-192 | libnetwork/drivers/macvlan/macvlan_setup.go:163-172 \u2014 \u0060libnetwork/drivers/ipvlan/ipvlan_setup.go\u0060 and \u0060libnetwork/drivers/macvlan/macvlan_setup.go\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 6 separate duplicated blocks between them, totalling at least 112 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libnetwork/drivers/ipvlan/ipvlan_setup.go:183\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/drivers/ipvlan/ipvlan_setup.go"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"f31223c20fd2e79b8401d91561ae68b9a2b66cfb4e2b563388b179ee6cee403b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): libnetwork/service_linux.go:89-105 | libnetwork/service_linux.go:178-194 \u2014 both copies are in the same file, so extract the block 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 \u0060libnetwork/service_linux.go:89\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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/service_linux.go"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"76967a64b2f413f6651cacebc3de2c5c8d9a04fc815354ffa84f8fe740ebcd05"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): daemon/containerd/image_snapshot_unix.go:47-55 | daemon/containerd/image_snapshot_unix.go:75-83 | daemon/containerd/image_snapshot_unix.go:98-106 \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 \u0060daemon/containerd/image_snapshot_unix.go:47\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/containerd/image_snapshot_unix.go"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"801d30434b36de0f3d81c3952181bbf1882495e0a7b28e65259634b463f01f08"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): builder/builder-next/adapters/containerimage/pull.go:366-374 | builder/builder-next/worker/worker.go:343-351 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. The matched lines also 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":"builder/builder-next/adapters/containerimage/pull.go"},"region":{"startLine":366}}}],"partialFingerprints":{"codehealthFindingId/v1":"5dbe63a3b5ded5157ae4a83e59c830a4feaac3b9cff500df12c554550149c09c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): daemon/container_operations.go:138-146 | daemon/network.go:756-764 \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 \u0060daemon/container_operations.go:138\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":"daemon/container_operations.go"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"78259bb4658b491d4c8fbeaa1e79b6a4ec87e5d4d77d5a2acfef25757fae011f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): daemon/containerd/image_import.go:239-247 | daemon/containerd/image_import.go:278-286 \u2014 both copies are in the same file, so extract the block 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":"daemon/containerd/image_import.go"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"8354e45b9247ab492189075c294bc46d911fb2f2a64ef4f426fcb5257296e31c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): daemon/containerd/image_list.go:363-371 | daemon/images/image_list.go:65-73 \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":"daemon/containerd/image_list.go"},"region":{"startLine":363}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9e9ba77020053491d30095151b65499b6daf5c6dbbd627afbce3c970e283243"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): daemon/debugtrap_unix.go:20-28 | daemon/debugtrap_windows.go:38-46 \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 \u0060daemon/debugtrap_unix.go:20\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":"daemon/debugtrap_unix.go"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0c06e75cf0da0210dfb8903d218c8421c649fa13dfe23f95a803478e66f2aa0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): daemon/graphdriver/fuse-overlayfs/fuseoverlayfs.go:450-458 | daemon/graphdriver/overlay2/overlay.go:685-694 \u2014 before extracting anything, compare \u0060daemon/graphdriver/fuse-overlayfs/fuseoverlayfs.go\u0060 and \u0060daemon/graphdriver/overlay2/overlay.go\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 220 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060daemon/graphdriver/fuse-overlayfs/fuseoverlayfs.go:450\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, \u0060daemon/graphdriver/fuse-overlayfs/fuseoverlayfs.go:461\u0060 calls \u0060RunningInUserNS\u0060 and \u0060daemon/graphdriver/overlay2/overlay.go:696\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":"daemon/graphdriver/fuse-overlayfs/fuseoverlayfs.go"},"region":{"startLine":450}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2d00fdce58934ece43422e685ce657468a826b15ef8190db70589917d0e9014"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): libcontainerd/local/local_windows.go:781-789 | libcontainerd/local/local_windows.go:822-830 \u2014 both copies are in the same file, so extract the block 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. 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":"libcontainerd/local/local_windows.go"},"region":{"startLine":781}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b965066c5946e6615ea8f0bc5b79b173666832b6d86a7649736628f3307a41f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): libnetwork/diagnostic/server.go:138-146 | libnetwork/diagnostic/server.go:159-167 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libnetwork/diagnostic/server.go:138\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/diagnostic/server.go"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"98369e17fea0e0fd13112b5efe6d715e44dda16fc0c50e711f1a8121e9b28022"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 4): libnetwork/drivers/bridge/bridge_store.go:27-34 | libnetwork/drivers/ipvlan/ipvlan_store.go:46-53 | libnetwork/drivers/macvlan/macvlan_store.go:45-52 | libnetwork/drivers/windows/windows_store.go:24-31 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 4 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 4 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libnetwork/drivers/bridge/bridge_store.go:27\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/drivers/bridge/bridge_store.go"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"fba973d2a27003f35ec5bb09baebc47e9f8c9705d09b13189149018e1980a897"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): daemon/logger/loggertest/logreader.go:261-268 | daemon/logger/loggertest/logreader.go:286-293 | daemon/logger/loggertest/logreader.go:311-318 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. 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":"daemon/logger/loggertest/logreader.go"},"region":{"startLine":261}}}],"partialFingerprints":{"codehealthFindingId/v1":"54fd132fa2eeb648ab12dc60ad75d6cead30f6205eebcc6af01c950ad555f8ba"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): api/server/router/swarm/cluster_routes.go:208-215 | api/server/router/swarm/cluster_routes.go:240-247 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. 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":"api/server/router/swarm/cluster_routes.go"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3f8c5a1d89ae6c88a1a2f497ceccf5c56e3898fe4021857a0f4cb41fd014b31"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): container/container_unix.go:457-464 | container/container_windows.go:191-198 \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 \u0060container/container_unix.go:457\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"container/container_unix.go"},"region":{"startLine":457}}}],"partialFingerprints":{"codehealthFindingId/v1":"af0febdc8770e26747de491b2df56e5428e058b7d12364102c289447ab120b75"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): daemon/daemon.go:321-328 | daemon/daemon.go:348-355 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060daemon/daemon.go:321\u0060 it does not close everything it opens, so those exact 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":"daemon/daemon.go"},"region":{"startLine":321}}}],"partialFingerprints":{"codehealthFindingId/v1":"7254650ac764dde1e2dfa73bccab1fba37589749dedd0ffeb7f801785eee12bf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): daemon/daemon_windows.go:284-291 | daemon/daemon_windows.go:389-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 \u0060daemon/daemon_windows.go:284\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/daemon_windows.go"},"region":{"startLine":284}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1979a026cbb582a3ab88fe18336b078058b5f2b29610f641e1ce8e8a3082722"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): daemon/graphdriver/fuse-overlayfs/fuseoverlayfs.go:190-197 | daemon/graphdriver/overlay2/overlay.go:384-391 \u2014 before extracting anything, compare \u0060daemon/graphdriver/fuse-overlayfs/fuseoverlayfs.go\u0060 and \u0060daemon/graphdriver/overlay2/overlay.go\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 220 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/graphdriver/fuse-overlayfs/fuseoverlayfs.go"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"250a6e91cdf38d5598fd9511902e43c9c0d96b84a78fa1d146e74b030581bd86"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): integration/internal/container/ops.go:144-151 | integration/internal/container/ops.go:160-167 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060integration/internal/container/ops.go:144\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"integration/internal/container/ops.go"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f782f2837d2eed4ed90962a076596f7f17551d5b23f88f7473c0832bcee305e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): libnetwork/drivers/overlay/joinleave.go:205-212 | libnetwork/drivers/windows/overlay/joinleave_windows.go:96-103 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libnetwork/drivers/overlay/joinleave.go:205\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":"libnetwork/drivers/overlay/joinleave.go"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"9297dce4668de15d09231093b4eeae726f3b440d12a2962a3297604ee8b68739"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): libnetwork/networkdb/networkdb.go:413-420 | libnetwork/networkdb/networkdb.go:440-447 \u2014 both copies are in the same file, so extract the block 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":"libnetwork/networkdb/networkdb.go"},"region":{"startLine":413}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cc0eab54b334bf45c97c2e38c23f24b3cd3c4a2d352ef4de0b66590b2ac1624"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): volume/local/local_unix.go:68-75 | volume/local/local_unix.go:98-105 \u2014 both copies are in the same file, so extract the block 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 \u0060volume/local/local_unix.go:68\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. 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":"volume/local/local_unix.go"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"25e45c14827130ca7e25e913e5b35ed176595aafabc4ea191dc36413abb378a6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): daemon/graphdriver/graphtest/graphbench_unix.go:90-96 | daemon/graphdriver/graphtest/graphbench_unix.go:125-131 | daemon/graphdriver/graphtest/graphtest_unix.go:262-268 \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. 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":"daemon/graphdriver/graphtest/graphbench_unix.go"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb849c6669f4a84b7f2b7b74190a52b00479b61e8a5ad5a8e46673d0ec824762"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): integration/internal/container/ops.go:129-135 | integration/internal/container/ops.go:142-148 | integration/internal/container/ops.go:158-164 \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 \u0060integration/internal/container/ops.go:129\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"integration/internal/container/ops.go"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b1eb7e1aea3e38bc6383089aee825890c1ea59aa3e43d81fe725cf519bb5fd8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): api/server/router/swarm/cluster_routes.go:475-481 | api/server/router/swarm/cluster_routes.go:547-553 \u2014 both copies are in the same file, so extract the block 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 \u0060api/server/router/swarm/cluster_routes.go:475\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/router/swarm/cluster_routes.go"},"region":{"startLine":475}}}],"partialFingerprints":{"codehealthFindingId/v1":"e54255f1c10ba8f30750ddff6d1783793a7c2f6bd34a8bd3d7338a9abc657741"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): builder/builder-next/adapters/containerimage/pull.go:321-327 | builder/builder-next/adapters/containerimage/pull.go:341-347 \u2014 both copies are in the same file, so extract the block 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":"builder/builder-next/adapters/containerimage/pull.go"},"region":{"startLine":321}}}],"partialFingerprints":{"codehealthFindingId/v1":"851f3dc58ec96238b3bdb2ea829836d839ff1c07edaab2388e1f85a2e72d7f88"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): cmd/dockerd/metrics.go:29-36 | daemon/metrics_unix.go:36-43 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060cmd/dockerd/metrics.go:29\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/dockerd/metrics.go"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6f3f4ed6bfbbb4ec99374d3fe75248f0a247e7f68b26b0c3ff152b99880bb77"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): daemon/graphdriver/overlay2/overlay.go:534-540 | daemon/graphdriver/zfs/zfs.go:369-375 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060daemon/graphdriver/overlay2/overlay.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. 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":"daemon/graphdriver/overlay2/overlay.go"},"region":{"startLine":534}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef60f27748a37f0c925899b1c3937b6980b3366642f936e2a0b2fe065fa29b41"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): daemon/logger/plugin.go:58-64 | volume/drivers/extpoint.go:226-232 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060daemon/logger/plugin.go:58\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/logger/plugin.go"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"7de28643207af3f807bedbd63ac226a6c29f6b302acad91aa0b3f6c6616b6d52"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): integration-cli/daemon/daemon_swarm.go:68-74 | integration-cli/daemon/daemon_swarm.go:81-87 \u2014 both copies are in the same file, so extract the block 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 \u0060integration-cli/daemon/daemon_swarm.go:68\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"integration-cli/daemon/daemon_swarm.go"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"959f7e541d3d34b90bcc9a52cd6a6ede05d688c19aadca957d62640e411fdddc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): libnetwork/drivers/bridge/bridge_store.go:329-337 | libnetwork/drivers/windows/windows_store.go:275-283 \u2014 \u0060libnetwork/drivers/bridge/bridge_store.go\u0060 and \u0060libnetwork/drivers/windows/windows_store.go\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 4 separate duplicated blocks between them, totalling at least 48 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libnetwork/drivers/bridge/bridge_store.go:329\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/drivers/bridge/bridge_store.go"},"region":{"startLine":329}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ad5d796d8417b78a6f953d86bdc14f1fa24f5f31841d68712f410087ee49826"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 11): libnetwork/networkdb/networkdbdiagnostic.go:44-49 | libnetwork/networkdb/networkdbdiagnostic.go:77-82 | libnetwork/networkdb/networkdbdiagnostic.go:111-116 | libnetwork/networkdb/networkdbdiagnostic.go:134-139 | libnetwork/networkdb/networkdbdiagnostic.go:183-188 | libnetwork/networkdb/networkdbdiagnostic.go:231-236 | libnetwork/networkdb/networkdbdiagnostic.go:268-273 | libnetwork/networkdb/networkdbdiagnostic.go:314-319 | libnetwork/networkdb/networkdbdiagnostic.go:346-351 | libnetwork/networkdb/networkdbdiagnostic.go:378-383 | libnetwork/networkdb/networkdbdiagnostic.go:426-431 \u2014 all 11 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":"libnetwork/networkdb/networkdbdiagnostic.go"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"60f3cfc488ac5e97e779c7faaeb07668fee8eb96f186cf805f14058eaa223849"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): daemon/containerd/image.go:327-332 | daemon/containerd/image.go:451-456 \u2014 both copies are in the same file, so extract the block 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 \u0060daemon/containerd/image.go:327\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/containerd/image.go"},"region":{"startLine":327}}}],"partialFingerprints":{"codehealthFindingId/v1":"c221e5f9373298d39507d6e45536d4dbeb592b7519eb13d8218ab550abb95c18"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): libnetwork/drivers/bridge/bridge_linux.go:848-854 | libnetwork/drivers/bridge/bridge_linux.go:1152-1158 \u2014 both copies are in the same file, so extract the block 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 \u0060libnetwork/drivers/bridge/bridge_linux.go:848\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/drivers/bridge/bridge_linux.go"},"region":{"startLine":848}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cf43d8b13d4eafe46a47d0666d7c4911e85daa20bc9640b368f4915ed9c7a74"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): libnetwork/drivers/bridge/setup_ip_forwarding.go:50-56 | libnetwork/drivers/bridge/setup_ip_forwarding.go:65-71 \u2014 both copies are in the same file, so extract the block 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 \u0060libnetwork/drivers/bridge/setup_ip_forwarding.go:50\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":"libnetwork/drivers/bridge/setup_ip_forwarding.go"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e8bdd520f17886e464d4035d18a43c993d8918099ce7e5f066f67eb3e8b606e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): daemon/graphdriver/plugin.go:44-48 | libnetwork/drivers/remote/driver.go:83-87 | libnetwork/ipams/remote/remote.go:81-85 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/graphdriver/plugin.go"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9ea83e974006b6f4698ab81508996f53462be0789b10b5d1cc0cd26cea65f23"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): daemon/graphdriver/graphtest/testutil.go:171-175 | daemon/graphdriver/graphtest/testutil.go:178-182 \u2014 both copies are in the same file, so extract the block 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":"daemon/graphdriver/graphtest/testutil.go"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"46308d6ccbd0524dbc0669fef5a2fbada624d1ab7cc9bb7f30037d73196f0ea5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): daemon/graphdriver/plugin.go:42-46 | daemon/metrics.go:156-161 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060daemon/graphdriver/plugin.go:42\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":"daemon/graphdriver/plugin.go"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc28d4569a38cbdea2cd48b7de755d9dfcfdf35bce78593409c86a9ceebfe737"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): integration-cli/daemon/daemon_swarm.go:19-23 | integration-cli/daemon/daemon_swarm.go:36-40 \u2014 both copies are in the same file, so extract the block 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 \u0060integration-cli/daemon/daemon_swarm.go:19\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"integration-cli/daemon/daemon_swarm.go"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"a17f46cde8ab742b82477df22a2f844a0bb2409e8454e24b1455fe3654086b0e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): libnetwork/service_common.go:293-297 | libnetwork/service_common.go:363-367 \u2014 both copies are in the same file, so extract the block 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 \u0060libnetwork/service_common.go:293\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/service_common.go"},"region":{"startLine":293}}}],"partialFingerprints":{"codehealthFindingId/v1":"8567e3b216fde982514a69f4516fa4156045bac412a819452c2ffc4c64a53661"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): builder/builder-next/executor_linux.go:180-186 | daemon/container_operations.go:37-43 \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":"builder/builder-next/executor_linux.go"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"247804a9b1d6ba95363a96da29e54c62ac5bb7e15ae644b2eb2fe9259ee7c932"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): daemon/containerd/image_delete.go:254-262 | daemon/images/image_delete.go:207-217 \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":"daemon/containerd/image_delete.go"},"region":{"startLine":254}}}],"partialFingerprints":{"codehealthFindingId/v1":"1320071f6f267a196211ef0785f3cfeef7c8894ae7390163dd0ade9ca074a79e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): daemon/containerd/image_prune.go:22-31 | daemon/images/image_prune.go:24-33 \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":"daemon/containerd/image_prune.go"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e75a53ff62bcce92a360614fd060722c85f92918dc9e97d46ef3fa2d7307da3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): daemon/images/image_prune.go:171-183 | daemon/prune.go:193-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":"daemon/images/image_prune.go"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c4e586bd184a9787b91a7fe0fcebfa8cb866be9f5330645e1bd9664dc6725ec"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 4): daemon/logger/awslogs/cloudwatchlogs.go:114-121 | daemon/logger/fluentd/fluentd.go:64-71 | daemon/logger/gelf/gelf.go:28-35 | daemon/logger/syslog/syslog.go:54-61 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 4 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/logger/awslogs/cloudwatchlogs.go"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"540501f7ba912c0ddad0a3e01064c6c64b8d6b682844f474105269ef1d38ff0a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): daemon/logger/jsonfilelog/jsonfilelog.go:37-44 | daemon/logger/local/local.go:55-62 \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":"daemon/logger/jsonfilelog/jsonfilelog.go"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e016ce9bce0af96b8074c7d5abd40ffec15dee0814553ee6889d414089c6a5b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): libnetwork/drivers/host/host.go:33-44 | libnetwork/drivers/null/null.go:33-44 \u2014 \u0060libnetwork/drivers/host/host.go\u0060 and \u0060libnetwork/drivers/null/null.go\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 1 separate duplicated blocks between them, totalling at least 12 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. 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":"libnetwork/drivers/host/host.go"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"df6d1572d316cc11704dad97726715f016df850a781e6703faae9e1de744a15d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): libnetwork/drivers/ipvlan/ipvlan.go:65-76 | libnetwork/drivers/macvlan/macvlan.go:59-70 \u2014 \u0060libnetwork/drivers/ipvlan/ipvlan.go\u0060 and \u0060libnetwork/drivers/macvlan/macvlan.go\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 2 separate duplicated blocks between them, totalling at least 43 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/drivers/ipvlan/ipvlan.go"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"2eea90c038f23e9168a2f8730b2edd8e300efc5343c6550155ba755009a8eab0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): libnetwork/drivers/ipvlan/ipvlan_joinleave.go:139-153 | libnetwork/drivers/macvlan/macvlan_joinleave.go:100-114 \u2014 \u0060libnetwork/drivers/ipvlan/ipvlan_joinleave.go\u0060 and \u0060libnetwork/drivers/macvlan/macvlan_joinleave.go\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 5 separate duplicated blocks between them, totalling at least 70 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/drivers/ipvlan/ipvlan_joinleave.go"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"e183d8fa07b3cfd2b4e46bc872ba83c5255f8ed522affde6e591f46a5af8d8c0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): libnetwork/drivers/ipvlan/ipvlan_state.go:13-22 | libnetwork/drivers/macvlan/macvlan_state.go:13-22 \u2014 \u0060libnetwork/drivers/ipvlan/ipvlan_state.go\u0060 and \u0060libnetwork/drivers/macvlan/macvlan_state.go\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 5 separate duplicated blocks between them, totalling at least 57 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/drivers/ipvlan/ipvlan_state.go"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"c678a21c94fe286e26036658158ceb3f7eb802204e52ccae99665b8b817df862"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): libnetwork/drivers/ipvlan/ipvlan_state.go:37-47 | libnetwork/drivers/macvlan/macvlan_state.go:37-47 \u2014 \u0060libnetwork/drivers/ipvlan/ipvlan_state.go\u0060 and \u0060libnetwork/drivers/macvlan/macvlan_state.go\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 5 separate duplicated blocks between them, totalling at least 57 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. The matched lines also 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":"libnetwork/drivers/ipvlan/ipvlan_state.go"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"e976a659d77ddc037be9e83642fd59a28f25f9def58f43511ba5d2705633a270"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): libnetwork/drivers/ipvlan/ipvlan_state.go:68-79 | libnetwork/drivers/macvlan/macvlan_state.go:68-79 \u2014 \u0060libnetwork/drivers/ipvlan/ipvlan_state.go\u0060 and \u0060libnetwork/drivers/macvlan/macvlan_state.go\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 5 separate duplicated blocks between them, totalling at least 57 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. The matched lines also 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":"libnetwork/drivers/ipvlan/ipvlan_state.go"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecfad5247bda36640eab9e097728c6371c8f4594fd550cb1da0156b3f5e80cf7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 4): libnetwork/drivers/ipvlan/ipvlan_state.go:81-90 | libnetwork/drivers/macvlan/macvlan_state.go:81-89 | libnetwork/drivers/overlay/ov_utils.go:21-31 | libnetwork/drivers/windows/overlay/ov_endpoint_windows.go:41-51 \u2014 \u0060libnetwork/drivers/ipvlan/ipvlan_state.go\u0060 and \u0060libnetwork/drivers/macvlan/macvlan_state.go\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 5 separate duplicated blocks between them, totalling at least 57 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/drivers/ipvlan/ipvlan_state.go"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ac524553389506f8f556567cbf58e964feea7bae1aff87567bbe3ebe0db2c01"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): libnetwork/drivers/ipvlan/ivmanager/ivmanager.go:14-19 | libnetwork/drivers/macvlan/mvmanager/mvmanager.go:14-19 \u2014 before extracting anything, compare \u0060libnetwork/drivers/ipvlan/ivmanager/ivmanager.go\u0060 and \u0060libnetwork/drivers/macvlan/mvmanager/mvmanager.go\u0060 as WHOLE FILES: 89% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/drivers/ipvlan/ivmanager/ivmanager.go"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"80d64daa64f435878c31df9c98f12df43c88175eb9593ca6349496799d7b5b54"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): libnetwork/drvregistry/ipams.go:27-33 | libnetwork/drvregistry/networks.go:53-59 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. 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":"libnetwork/drvregistry/ipams.go"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"eca159bfcaaf7696697b9785cf6d367c986e8068ae9f24001e9854fcf037ed05"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): pkg/parsers/operatingsystem/operatingsystem_unix.go:12-18 | pkg/platform/platform_unix.go:10-16 \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":"pkg/parsers/operatingsystem/operatingsystem_unix.go"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2de50ac8f86f326adf4b0421757e2a2299288d24ae22d9021cff82118379436"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): distribution/metadata/metadata.go:31-38 | layer/filestore.go:52-59 \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":"distribution/metadata/metadata.go"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"e31c4887af8f5901d2eb2b97d695281fe9caaa66cb1da380c24515528c46a909"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): libnetwork/drivers/bridge/brmanager/brmanager.go:14-19 | libnetwork/drivers/host/host.go:18-23 \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":"libnetwork/drivers/bridge/brmanager/brmanager.go"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ebb7d0fa71515f260bc9bd4613a02205764527c4f60fca8fc6ff83c693982fd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): testutil/daemon/config.go:16-24 | testutil/daemon/secret.go:16-25 \u2014 before extracting anything, compare \u0060testutil/daemon/config.go\u0060 and \u0060testutil/daemon/secret.go\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 36 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. 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":"testutil/daemon/config.go"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0936d3d4babf69437a10601b7723354aa7d42cb9fa447d8555d1ac049f4f609"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): testutil/daemon/config.go:27-35 | testutil/daemon/secret.go:28-36 \u2014 before extracting anything, compare \u0060testutil/daemon/config.go\u0060 and \u0060testutil/daemon/secret.go\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 36 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. 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":"testutil/daemon/config.go"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1c5e896ed372df36749b0f07af57963f619ad9fc74b402922879a68b8c92ac7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): testutil/daemon/config.go:38-46 | testutil/daemon/secret.go:39-47 \u2014 before extracting anything, compare \u0060testutil/daemon/config.go\u0060 and \u0060testutil/daemon/secret.go\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 36 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. 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":"testutil/daemon/config.go"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"ada140551019f157b44b32f26dd948a243937a6f91bb8bdea7d544a2fb65dbad"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): testutil/daemon/config.go:49-56 | testutil/daemon/secret.go:50-57 \u2014 before extracting anything, compare \u0060testutil/daemon/config.go\u0060 and \u0060testutil/daemon/secret.go\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 36 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. 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":"testutil/daemon/config.go"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"21d9f51d509dd4a2c0eb0b849ba36218b9ebc98591e205ed7cdf7a99ac6a5625"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): testutil/daemon/node.go:72-81 | testutil/daemon/service.go:100-108 \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 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":"testutil/daemon/node.go"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"75a71dff9b6b1482f1723112c68c06f6d8052ca1de66de20630154fc847d87b4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): daemon/logger/loginfo.go:37-49 | daemon/logger/loginfo.go:72-84 \u2014 both copies are in the same file, so extract the block 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 \u0060daemon/logger/loginfo.go:37\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/logger/loginfo.go"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"542fa73569139bf92724abb6f2c604183676cf12090669b1bbd018f83520b4f0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 4): client/container_prune.go:17-29 | client/image_prune.go:17-29 | client/network_prune.go:17-29 | client/volume_prune.go:17-29 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 4 call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060client/container_prune.go:17\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. 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":"client/container_prune.go"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfe5623cd3c99e579edcb089f3b34be9caf3c6b320f9a477342f254e1962a066"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): libnetwork/drivers/overlay/joinleave.go:24-36 | libnetwork/drivers/overlay/ov_endpoint.go:87-99 \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 \u0060libnetwork/drivers/overlay/joinleave.go:24\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. 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":"libnetwork/drivers/overlay/joinleave.go"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"2375978b89f8c371fd816f02dfdfd0c52fd9fe950e10e5a892874610f019f635"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): libnetwork/drivers/ipvlan/ipvlan_network.go:152-163 | libnetwork/drivers/macvlan/macvlan_network.go:142-153 \u2014 \u0060libnetwork/drivers/ipvlan/ipvlan_network.go\u0060 and \u0060libnetwork/drivers/macvlan/macvlan_network.go\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 7 separate duplicated blocks between them, totalling at least 171 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libnetwork/drivers/ipvlan/ipvlan_network.go:152\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":"libnetwork/drivers/ipvlan/ipvlan_network.go"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"eab2df127c26690bf64d970b1942a8282ca985d8ceb7dd84b8164734c32bc3ad"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): libnetwork/drivers/ipvlan/ipvlan_store.go:93-103 | libnetwork/drivers/macvlan/macvlan_store.go:92-102 \u2014 \u0060libnetwork/drivers/ipvlan/ipvlan_store.go\u0060 and \u0060libnetwork/drivers/macvlan/macvlan_store.go\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 12 separate duplicated blocks between them, totalling at least 148 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libnetwork/drivers/ipvlan/ipvlan_store.go:93\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":"libnetwork/drivers/ipvlan/ipvlan_store.go"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"887dc74e7321f1eab4c34ab5ce05c78b72a519bb16dedbdd3a5c610cdb78e8ea"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): pkg/archive/changes_linux.go:65-73 | pkg/archive/changes_other.go:67-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 \u0060pkg/archive/changes_linux.go:65\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/archive/changes_linux.go"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"adcbbca26229f38a20918cb40f4d42c9bce18815c7c83dbec02a33ccf5fef1e7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): client/config_create.go:15-25 | client/secret_create.go:15-25 \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/config_create.go:15\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. 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":"client/config_create.go"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"9179b8505aea1f56fa038053ae16c69cc4d302d050c71447506d0d20e516e1f7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): libnetwork/drivers/ipvlan/ipvlan_store.go:78-88 | libnetwork/drivers/macvlan/macvlan_store.go:77-87 \u2014 \u0060libnetwork/drivers/ipvlan/ipvlan_store.go\u0060 and \u0060libnetwork/drivers/macvlan/macvlan_store.go\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 12 separate duplicated blocks between them, totalling at least 148 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libnetwork/drivers/ipvlan/ipvlan_store.go:78\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":"libnetwork/drivers/ipvlan/ipvlan_store.go"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"91f89f5634de3db427c171f1e3efa07fbcca7e682d660cb74d7e143f1f1641c2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): client/plugin_list.go:20-29 | client/volume_list.go:20-29 \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/plugin_list.go:20\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. 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":"client/plugin_list.go"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b04e60b75ecf8b45515d23b67fb463c62905e67b03464948b3c8709e928e6ed"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): api/server/router/swarm/cluster_routes.go:196-205 | api/server/router/swarm/cluster_routes.go:271-279 \u2014 both copies are in the same file, so extract the block 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 \u0060api/server/router/swarm/cluster_routes.go:196\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":"api/server/router/swarm/cluster_routes.go"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"14e207c47d837aedcddca33eb456ea64ad35bca8d52b2feedd6eabe5ef260863"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): libnetwork/drivers/windows/overlay/joinleave_windows.go:64-73 | libnetwork/drivers/windows/overlay/joinleave_windows.go:75-82 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libnetwork/drivers/windows/overlay/joinleave_windows.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":"libnetwork/drivers/windows/overlay/joinleave_windows.go"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"439e7e05ded13654ebb3300a24725c92796d999aa1bf1a8a2d5ee4c76ccf2f9b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): libnetwork/drivers/ipvlan/ipvlan_setup.go:31-40 | libnetwork/drivers/macvlan/macvlan_setup.go:24-33 \u2014 \u0060libnetwork/drivers/ipvlan/ipvlan_setup.go\u0060 and \u0060libnetwork/drivers/macvlan/macvlan_setup.go\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 6 separate duplicated blocks between them, totalling at least 112 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libnetwork/drivers/ipvlan/ipvlan_setup.go:31\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/drivers/ipvlan/ipvlan_setup.go"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e23c74134ec1d221200625832f039804d0aa24549c2de8e359145865342a64b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): libnetwork/drivers/ipvlan/ipvlan_store.go:278-287 | libnetwork/drivers/macvlan/macvlan_store.go:272-281 \u2014 \u0060libnetwork/drivers/ipvlan/ipvlan_store.go\u0060 and \u0060libnetwork/drivers/macvlan/macvlan_store.go\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 12 separate duplicated blocks between them, totalling at least 148 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libnetwork/drivers/ipvlan/ipvlan_store.go:278\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/drivers/ipvlan/ipvlan_store.go"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"946c6e5f90ee8655e50ca6cccc1d6b2bacdca638ca4f874279f5b5569a2512e9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201315 lines \u00D7 2): libnetwork/drivers/bridge/bridge_store.go:292-306 | libnetwork/drivers/windows/windows_store.go:244-257 \u2014 \u0060libnetwork/drivers/bridge/bridge_store.go\u0060 and \u0060libnetwork/drivers/windows/windows_store.go\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 4 separate duplicated blocks between them, totalling at least 48 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libnetwork/drivers/bridge/bridge_store.go:292\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/drivers/bridge/bridge_store.go"},"region":{"startLine":292}}}],"partialFingerprints":{"codehealthFindingId/v1":"466b4c5bcf8a0a2dcff1f2b6ebffbcfb22ded88ba5684608edaeb5e626488331"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): libnetwork/drivers/ipvlan/ipvlan_store.go:107-116 | libnetwork/drivers/macvlan/macvlan_store.go:106-115 | libnetwork/drivers/windows/windows_store.go:92-101 \u2014 \u0060libnetwork/drivers/ipvlan/ipvlan_store.go\u0060 and \u0060libnetwork/drivers/macvlan/macvlan_store.go\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 12 separate duplicated blocks between them, totalling at least 148 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libnetwork/drivers/ipvlan/ipvlan_store.go:107\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":"libnetwork/drivers/ipvlan/ipvlan_store.go"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"9673ae68b45a1c678abd1d06b4285e3d97851be319217287a68ba0b60e9c1dba"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): libnetwork/drivers/overlay/encryption.go:302-310 | libnetwork/drivers/overlay/encryption.go:329-337 \u2014 both copies are in the same file, so extract the block 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 \u0060libnetwork/drivers/overlay/encryption.go:302\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/drivers/overlay/encryption.go"},"region":{"startLine":302}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec64ade487854b2bf592edc29e37b1a7ce6e35d2234960f52ab84c5ef098c9c8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): api/server/router/swarm/cluster_routes.go:75-83 | api/server/router/swarm/cluster_routes.go:350-358 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060api/server/router/swarm/cluster_routes.go:75\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":"api/server/router/swarm/cluster_routes.go"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"0feabae075fa30b4b79f19968f06537f1ca7986359ffe59602c6879c2787100d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): libnetwork/drivers/ipvlan/ipvlan_store.go:299-307 | libnetwork/drivers/macvlan/macvlan_store.go:293-301 \u2014 \u0060libnetwork/drivers/ipvlan/ipvlan_store.go\u0060 and \u0060libnetwork/drivers/macvlan/macvlan_store.go\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 12 separate duplicated blocks between them, totalling at least 148 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libnetwork/drivers/ipvlan/ipvlan_store.go:299\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":"libnetwork/drivers/ipvlan/ipvlan_store.go"},"region":{"startLine":299}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc014a0061f8f24811b89175eced5d27ca1b039c5e24971096d67045b96f955f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): libnetwork/controller.go:662-670 | libnetwork/controller.go:674-682 \u2014 both copies are in the same file, so extract the block 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 \u0060libnetwork/controller.go:662\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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/controller.go"},"region":{"startLine":662}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ed512c566952a32f48fc436dbe772b4c3559ef47484378a0c4829b77f59d42b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 6): daemon/logger/loggertest/logreader.go:246-253 | daemon/logger/loggertest/logreader.go:271-278 | daemon/logger/loggertest/logreader.go:297-303 | daemon/logger/loggertest/logreader.go:322-328 | daemon/logger/loggertest/logreader.go:348-355 | daemon/logger/loggertest/logreader.go:375-382 \u2014 all 6 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060daemon/logger/loggertest/logreader.go:246\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":"daemon/logger/loggertest/logreader.go"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"61559c42e7c0e3978ce2bac6f67bdd5a1f2ed46056436b963b2d7182e24c8911"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): libnetwork/types/types.go:261-268 | libnetwork/types/types.go:280-287 \u2014 both copies are in the same file, so extract the block 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 \u0060libnetwork/types/types.go:261\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/types/types.go"},"region":{"startLine":261}}}],"partialFingerprints":{"codehealthFindingId/v1":"75358bcba76780027b101f5ece7a0d02863b75037b8943ab8c43876da0342a36"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 4): libnetwork/networkdb/networkdbdiagnostic.go:147-154 | libnetwork/networkdb/networkdbdiagnostic.go:196-203 | libnetwork/networkdb/networkdbdiagnostic.go:243-250 | libnetwork/networkdb/networkdbdiagnostic.go:280-287 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libnetwork/networkdb/networkdbdiagnostic.go:147\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":"libnetwork/networkdb/networkdbdiagnostic.go"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"c64d08cb067f92a370f53b93d3dd91fedf36e2b02752578835f42f6e7149d0ac"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): daemon/logger/loggertest/logreader.go:226-233 | daemon/logger/loggertest/logreader.go:354-360 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/logger/loggertest/logreader.go"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9d6cdc75a0e4083a464dbbec0e5f6459f5092a3a4aac58b5665d317823e2969"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): libnetwork/network.go:1363-1370 | libnetwork/network.go:1395-1402 \u2014 both copies are in the same file, so extract the block 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":"libnetwork/network.go"},"region":{"startLine":1363}}}],"partialFingerprints":{"codehealthFindingId/v1":"1014b71e28dcb5e72781eb278ce99ada9a7b3d732777002617991cc64e2298df"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): api/server/router/swarm/cluster_routes.go:437-443 | api/server/router/swarm/cluster_routes.go:508-515 \u2014 both copies are in the same file, so extract the block 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":"api/server/router/swarm/cluster_routes.go"},"region":{"startLine":437}}}],"partialFingerprints":{"codehealthFindingId/v1":"32e8bb9f4401d3853a80c235d6ad0a5470f99dd562b8f9f8194366d311a0a3da"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): libnetwork/drivers/ipvlan/ipvlan_endpoint.go:40-54 | libnetwork/drivers/macvlan/macvlan_endpoint.go:45-59 \u2014 \u0060libnetwork/drivers/ipvlan/ipvlan_endpoint.go\u0060 and \u0060libnetwork/drivers/macvlan/macvlan_endpoint.go\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 3 separate duplicated blocks between them, totalling at least 61 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libnetwork/drivers/ipvlan/ipvlan_endpoint.go:40\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":"libnetwork/drivers/ipvlan/ipvlan_endpoint.go"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e0171d717f5c1e65de28df4a7f4ccfd80e3735e286db1f77bd779edc38b7314"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): internal/testutils/specialimage/dangling.go:20-26 | internal/testutils/specialimage/emptyfs.go:14-20 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/testutils/specialimage/dangling.go"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4697041290bd7f0f6088a154ccfad616504a62333d08980a8582c663699b2e5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): libnetwork/drivers/overlay/joinleave.go:205-211 | libnetwork/drivers/overlay/joinleave.go:214-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 \u0060libnetwork/drivers/overlay/joinleave.go:205\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":"libnetwork/drivers/overlay/joinleave.go"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"04b2735484aff67a02b2464c5c70196bdc283e5940ea1d88d16c9ffa4619d08d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): libnetwork/networkdb/networkdbdiagnostic.go:323-329 | libnetwork/networkdb/networkdbdiagnostic.go:355-361 \u2014 both copies are in the same file, so extract the block 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 \u0060libnetwork/networkdb/networkdbdiagnostic.go:323\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":"libnetwork/networkdb/networkdbdiagnostic.go"},"region":{"startLine":323}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff24bd48bf646ac0bcd2d39a146944c1740166c304ae0a867bdf57f12b9463c2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): libnetwork/drivers/bridge/port_mapping_linux.go:45-51 | libnetwork/drivers/bridge/port_mapping_linux.go:71-77 \u2014 both copies are in the same file, so extract the block 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":"libnetwork/drivers/bridge/port_mapping_linux.go"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"db7ade57ac6e4e5ee54015e510e71f3d69188ca35b930fab671af0cf4a307912"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): libnetwork/drivers/bridge/bridge_linux.go:998-1004 | libnetwork/drivers/bridge/bridge_linux.go:1011-1017 \u2014 both copies are in the same file, so extract the block 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 \u0060libnetwork/drivers/bridge/bridge_linux.go:998\u0060 it does not close everything it opens, so those exact 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":"libnetwork/drivers/bridge/bridge_linux.go"},"region":{"startLine":998}}}],"partialFingerprints":{"codehealthFindingId/v1":"96b81caa854b4ff30d263beb02abfa67e54aac56539eee381a5fbadff6ae2dc5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): libnetwork/networkdb/networkdbdiagnostic.go:140-146 | libnetwork/networkdb/networkdbdiagnostic.go:189-195 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libnetwork/networkdb/networkdbdiagnostic.go:140\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/networkdb/networkdbdiagnostic.go"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ee7958746b7bc550f70b6d739ea76ca87313b54735352ebb3590ac4ccfc69b4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): libnetwork/agent.go:634-639 | libnetwork/agent.go:703-708 \u2014 both copies are in the same file, so extract the block 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":"libnetwork/agent.go"},"region":{"startLine":634}}}],"partialFingerprints":{"codehealthFindingId/v1":"27cf5f84f32bc1e1c52c5d99a35d9e171508c8dca7cb5720e0eb7c118629f1e8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): daemon/logger/loggertest/logreader.go:99-104 | daemon/logger/loggertest/logreader.go:106-111 \u2014 both copies are in the same file, so extract the block 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 \u0060daemon/logger/loggertest/logreader.go:99\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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/logger/loggertest/logreader.go"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"a31eb0f16c4c49e1c9ac26fd327fa4b2f6578122cf12ae3d16b70d41c4fd42fc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): libnetwork/diagnostic/server.go:127-132 | libnetwork/diagnostic/server.go:163-168 \u2014 both copies are in the same file, so extract the block 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, \u0060libnetwork/diagnostic/server.go:124\u0060 calls \u0060WrongCommand\u0060, \u0060Sprintf\u0060 and \u0060libnetwork/diagnostic/server.go:160\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":"libnetwork/diagnostic/server.go"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"7dd8f50f6ed6dfbe905c5931104ddda4ed0c5b29822d34d95b1c555c47bf7d5a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): libnetwork/cmd/diagnostic/main.go:121-126 | libnetwork/cmd/diagnostic/main.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 \u0060libnetwork/cmd/diagnostic/main.go:121\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. 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":"libnetwork/cmd/diagnostic/main.go"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0eeac0b8e7ad7b2843b0fd29f5e540e8e858f5547488a5d2e76c1a1d958ef70"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3): libnetwork/drivers/bridge/bridge_store.go:306-318 | libnetwork/drivers/ipvlan/ipvlan_store.go:292-304 | libnetwork/drivers/macvlan/macvlan_store.go:286-298 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/drivers/bridge/bridge_store.go"},"region":{"startLine":306}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd0636d1e0749a40133e32f46ec5ce0217ef4e07bb97c008e774d472670977c6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): daemon/logger/loggertest/logreader.go:125-130 | daemon/logger/loggertest/logreader.go:132-137 | daemon/logger/loggertest/logreader.go:139-144 \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 \u0060daemon/logger/loggertest/logreader.go:125\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. The matched lines also 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":"daemon/logger/loggertest/logreader.go"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"c73bf56312884df438d00f8814b6f21fb14c2a20890db678583cd23c770c3afe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): libnetwork/networkdb/delegate.go:54-59 | libnetwork/networkdb/delegate.go:64-69 \u2014 both copies are in the same file, so extract the block 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 \u0060libnetwork/networkdb/delegate.go:54\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/networkdb/delegate.go"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"b00816f371ca7e6a54283db5819445b6f01d851dcbbc25657a23bc4309aa8b07"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): libnetwork/portallocator/portallocator_freebsd.go:19-24 | libnetwork/portallocator/portallocator_freebsd.go:34-39 \u2014 both copies are in the same file, so extract the block 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":"libnetwork/portallocator/portallocator_freebsd.go"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c9164af3008ef129ab9bee9beb477b09996611cea6caccdae2513ae5e2d274b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): daemon/logger/loggertest/logreader.go:111-116 | daemon/logger/loggertest/logreader.go:118-123 \u2014 both copies are in the same file, so extract the block 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 \u0060daemon/logger/loggertest/logreader.go:111\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. The matched lines also 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":"daemon/logger/loggertest/logreader.go"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4ac6ececeb1c8388e0fb0d14fa21c75aba5d8c76ea41047067d4971e1506c0f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): libnetwork/networkdb/nodemgmt.go:100-104 | libnetwork/networkdb/nodemgmt.go:108-112 \u2014 both copies are in the same file, so extract the block 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 \u0060libnetwork/networkdb/nodemgmt.go:100\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":"libnetwork/networkdb/nodemgmt.go"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"e156c7fe25c20d2c38556df57fa848182041c2585a7595b2ec0c2becfb3856de"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): daemon/logger/loggertest/logreader.go:254-258 | daemon/logger/loggertest/logreader.go:304-308 \u2014 both copies are in the same file, so extract the block 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 \u0060daemon/logger/loggertest/logreader.go:254\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":"daemon/logger/loggertest/logreader.go"},"region":{"startLine":254}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4c6ce001f053fa5064b8330e68cd7b1d59473340aff87add5943051884f3d0d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): libnetwork/networkdb/nodemgmt.go:100-104 | libnetwork/networkdb/nodemgmt.go:108-112 | libnetwork/networkdb/nodemgmt.go:116-120 \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 \u0060libnetwork/networkdb/nodemgmt.go:100\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":"libnetwork/networkdb/nodemgmt.go"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"37edd36eb59feca8049d01e6dfe30c604ce6fb2e2a7597a5dca061fa2b501274"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): libnetwork/networkdb/networkdbdiagnostic.go:237-241 | libnetwork/networkdb/networkdbdiagnostic.go:274-278 \u2014 both copies are in the same file, so extract the block 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 \u0060libnetwork/networkdb/networkdbdiagnostic.go:237\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/networkdb/networkdbdiagnostic.go"},"region":{"startLine":237}}}],"partialFingerprints":{"codehealthFindingId/v1":"8aa820fbdfc86d1e74d3132607e2d1f848f7ad3101a6590119949fbc6afdb10f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): libnetwork/iptables/iptables.go:269-273 | libnetwork/iptables/iptables.go:290-294 \u2014 both copies are in the same file, so extract the block 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 \u0060libnetwork/iptables/iptables.go:269\u0060 it does not close everything it opens, so those exact 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":"libnetwork/iptables/iptables.go"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"742573955c5225869a810ca224f236c75296c400f9eee8fac243749f1332d2b3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): libnetwork/iptables/iptables.go:276-280 | libnetwork/iptables/iptables.go:297-301 \u2014 both copies are in the same file, so extract the block 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 \u0060libnetwork/iptables/iptables.go:276\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":"libnetwork/iptables/iptables.go"},"region":{"startLine":276}}}],"partialFingerprints":{"codehealthFindingId/v1":"68c845dfce4c61e7f73b41e2ea6784e64453d2dbf9d2424e40cc2dcdc4f72412"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (6 members, 50\u002B identical tokens): libnetwork/cmd/networkdb-test/dbclient/ndbClient.go:530-564 | libnetwork/cmd/networkdb-test/dbclient/ndbClient.go:567-599 | libnetwork/cmd/networkdb-test/dbclient/ndbClient.go:602-628 | libnetwork/cmd/networkdb-test/dbclient/ndbClient.go:631-674 | libnetwork/cmd/networkdb-test/dbclient/ndbClient.go:677-710 | libnetwork/cmd/networkdb-test/dbclient/ndbClient.go:713-760 \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":"libnetwork/cmd/networkdb-test/dbclient/ndbClient.go"},"region":{"startLine":530}}}],"partialFingerprints":{"codehealthFindingId/v1":"6879a6d47a7b17a40cc82892be10a1c5dcd853d4aaa0212477e8d90fea70f7b5"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): libnetwork/cmd/networkdb-test/dbclient/ndbClient.go:464-494 | libnetwork/cmd/networkdb-test/dbclient/ndbClient.go:497-527 | libnetwork/cmd/networkdb-test/dbclient/ndbClient.go:530-564 | libnetwork/cmd/networkdb-test/dbclient/ndbClient.go:567-599 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/cmd/networkdb-test/dbclient/ndbClient.go"},"region":{"startLine":464}}}],"partialFingerprints":{"codehealthFindingId/v1":"d82afa53115145fd2a2e05bc95e1c7d057413191ca45cf93d8cc4b05ba691c0b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (30 corresponding lines): libnetwork/cmd/networkdb-test/dbclient/ndbClient.go:336-365 | libnetwork/cmd/networkdb-test/dbclient/ndbClient.go:396-426 \u2014 These two members are one piece of code written twice and then edited apart: 30 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/cmd/networkdb-test/dbclient/ndbClient.go"},"region":{"startLine":336}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc159de64c72d9de86bf61345438a87f7cc15a655554d0f43d3f6f7da6fc1cdd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 11\u002B corresponding lines): libnetwork/cmd/networkdb-test/dbclient/ndbClient.go:79-90 | libnetwork/cmd/networkdb-test/dbclient/ndbClient.go:92-103 | libnetwork/cmd/networkdb-test/dbclient/ndbClient.go:105-115 | libnetwork/cmd/networkdb-test/dbclient/ndbClient.go:117-127 | libnetwork/cmd/networkdb-test/dbclient/ndbClient.go:136-146 \u2014 These 5 members are one piece of code written 5 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 5 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/cmd/networkdb-test/dbclient/ndbClient.go"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb6387dc0bdcf1e85e3cb1533acde012283e2cb9c761027ed1058a13c208e8af"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): libnetwork/cmd/networkdb-test/dbclient/ndbClient.go:184-200 | libnetwork/cmd/networkdb-test/dbclient/ndbClient.go:202-223 \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":"libnetwork/cmd/networkdb-test/dbclient/ndbClient.go"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"40084083ea626816bbe7d13f91d1e6997c8eb941fe62ca37b84d5886a2307b07"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): libnetwork/cmd/networkdb-test/dbclient/ndbClient.go:345-365 | libnetwork/cmd/networkdb-test/dbclient/ndbClient.go:406-426 \u2014 both copies are in the same file, so extract the block 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 \u0060libnetwork/cmd/networkdb-test/dbclient/ndbClient.go:345\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":"libnetwork/cmd/networkdb-test/dbclient/ndbClient.go"},"region":{"startLine":345}}}],"partialFingerprints":{"codehealthFindingId/v1":"f01a5250c36c38f6d1aa8d7b41d7f1612511ad74677501bed12483f6388cc20e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): libnetwork/cmd/networkdb-test/dbclient/ndbClient.go:657-670 | libnetwork/cmd/networkdb-test/dbclient/ndbClient.go:743-756 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/cmd/networkdb-test/dbclient/ndbClient.go"},"region":{"startLine":657}}}],"partialFingerprints":{"codehealthFindingId/v1":"3dc98945631dcdc4ec958f2fc3fbb189a7d710f8516eca8013e57e9aedf8b053"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 2): libnetwork/cmd/networkdb-test/dbclient/ndbClient.go:186-197 | libnetwork/cmd/networkdb-test/dbclient/ndbClient.go:204-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 \u0060libnetwork/cmd/networkdb-test/dbclient/ndbClient.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 transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060libnetwork/cmd/networkdb-test/dbclient/ndbClient.go:216\u0060 calls \u0060Sleep\u0060, \u0060leaveNetwork\u0060, \u0060joinNetwork\u0060 and \u0060libnetwork/cmd/networkdb-test/dbclient/ndbClient.go:198\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":"libnetwork/cmd/networkdb-test/dbclient/ndbClient.go"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"239b6ec4ddf96bad41924fa298e9354c80d27f6c1521254dcde380d72fe5cc15"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): libnetwork/cmd/networkdb-test/dbclient/ndbClient.go:470-481 | libnetwork/cmd/networkdb-test/dbclient/ndbClient.go:503-514 \u2014 both copies are in the same file, so extract the block 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 \u0060libnetwork/cmd/networkdb-test/dbclient/ndbClient.go:470\u0060 it does not close everything it opens, so those exact 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":"libnetwork/cmd/networkdb-test/dbclient/ndbClient.go"},"region":{"startLine":470}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cd4ec7977e9dd3a3b74e2e312d9275b94ac94d19cdc6faba4fe779a2c428b9c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 4): libnetwork/cmd/networkdb-test/dbclient/ndbClient.go:465-475 | libnetwork/cmd/networkdb-test/dbclient/ndbClient.go:498-508 | libnetwork/cmd/networkdb-test/dbclient/ndbClient.go:531-541 | libnetwork/cmd/networkdb-test/dbclient/ndbClient.go:568-578 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060libnetwork/cmd/networkdb-test/dbclient/ndbClient.go:582\u0060 calls \u0060WithTimeout\u0060, \u0060Background\u0060, \u0060Duration\u0060 and \u0060libnetwork/cmd/networkdb-test/dbclient/ndbClient.go:479\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":"libnetwork/cmd/networkdb-test/dbclient/ndbClient.go"},"region":{"startLine":465}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0cbb79233091ee29ae923aa82541c47e33ec402c8a4d5837485526d7bdf2733"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 3): libnetwork/cmd/networkdb-test/dbclient/ndbClient.go:169-179 | libnetwork/cmd/networkdb-test/dbclient/ndbClient.go:185-195 | libnetwork/cmd/networkdb-test/dbclient/ndbClient.go:203-212 \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 \u0060libnetwork/cmd/networkdb-test/dbclient/ndbClient.go:169\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060libnetwork/cmd/networkdb-test/dbclient/ndbClient.go:197\u0060 calls \u0060deleteTableKey\u0060 and \u0060libnetwork/cmd/networkdb-test/dbclient/ndbClient.go:180\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":"libnetwork/cmd/networkdb-test/dbclient/ndbClient.go"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"55c19ab6962e73b2f11ab58c2274d33b057627bcccae5099936e4bc25f03b673"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): libnetwork/cmd/networkdb-test/dbclient/ndbClient.go:648-657 | libnetwork/cmd/networkdb-test/dbclient/ndbClient.go:694-703 \u2014 both copies are in the same file, so extract the block 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":"libnetwork/cmd/networkdb-test/dbclient/ndbClient.go"},"region":{"startLine":648}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ccc26b7933e13eb49fb0440974200ad8d40819485069ac445026a83d1910a7e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): libnetwork/cmd/networkdb-test/dummyclient/dummyClient.go:36-44 | libnetwork/cmd/networkdb-test/dummyclient/dummyClient.go:59-67 \u2014 both copies are in the same file, so extract the block 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":"libnetwork/cmd/networkdb-test/dummyclient/dummyClient.go"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bed6d556ae7419dc546280befb1aa1978de683e13dfb0be9fec32294935b37d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): libnetwork/cmd/networkdb-test/dbclient/ndbClient.go:583-592 | libnetwork/cmd/networkdb-test/dbclient/ndbClient.go:687-696 | libnetwork/cmd/networkdb-test/dbclient/ndbClient.go:724-733 \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":"libnetwork/cmd/networkdb-test/dbclient/ndbClient.go"},"region":{"startLine":583}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fb2b91a71190c564311287c3adef9ca259c8c85b2f0901ad2485aa48ca568e2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): libnetwork/cmd/networkdb-test/dbclient/ndbClient.go:603-610 | libnetwork/cmd/networkdb-test/dbclient/ndbClient.go:632-639 | libnetwork/cmd/networkdb-test/dbclient/ndbClient.go:678-685 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. The matched lines also 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":"libnetwork/cmd/networkdb-test/dbclient/ndbClient.go"},"region":{"startLine":603}}}],"partialFingerprints":{"codehealthFindingId/v1":"13977e011a396d729a2aeef6de150dbd223658b79c4cd91ea823a43c54b38cd1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): libnetwork/cmd/networkdb-test/dbclient/ndbClient.go:545-554 | libnetwork/cmd/networkdb-test/dbclient/ndbClient.go:641-650 \u2014 both copies are in the same file, so extract the block 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":"libnetwork/cmd/networkdb-test/dbclient/ndbClient.go"},"region":{"startLine":545}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a7da20f53b1041347fcac7bc5003aca3e75ad0dddd0894fa3e81587dacbfda2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (3\u20137 lines \u00D7 6): libnetwork/cmd/networkdb-test/dbclient/ndbClient.go:544-546 | libnetwork/cmd/networkdb-test/dbclient/ndbClient.go:582-584 | libnetwork/cmd/networkdb-test/dbclient/ndbClient.go:605-611 | libnetwork/cmd/networkdb-test/dbclient/ndbClient.go:634-640 | libnetwork/cmd/networkdb-test/dbclient/ndbClient.go:680-686 | libnetwork/cmd/networkdb-test/dbclient/ndbClient.go:717-723 \u2014 all 6 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libnetwork/cmd/networkdb-test/dbclient/ndbClient.go:544\u0060 it does not close everything it opens, so those exact 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. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060libnetwork/cmd/networkdb-test/dbclient/ndbClient.go:581\u0060 calls \u0060close\u0060 and \u0060libnetwork/cmd/networkdb-test/dbclient/ndbClient.go:541\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":"libnetwork/cmd/networkdb-test/dbclient/ndbClient.go"},"region":{"startLine":544}}}],"partialFingerprints":{"codehealthFindingId/v1":"54fd45978f60e481c2360fc8936f8761487dc4e256cbd957f585438799a04cc7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): libnetwork/cmd/networkdb-test/dbclient/ndbClient.go:83-90 | libnetwork/cmd/networkdb-test/dbclient/ndbClient.go:96-103 | libnetwork/cmd/networkdb-test/dbclient/ndbClient.go:109-115 \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 \u0060libnetwork/cmd/networkdb-test/dbclient/ndbClient.go:83\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060string\u0060 to \u0060port\u0060 in one and \u0060networkName\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/cmd/networkdb-test/dbclient/ndbClient.go"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bf4ca5d5f13a9fac1b5b5814ab06bcc887257661491c08da7d932aa36fbe42b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): libnetwork/cmd/networkdb-test/dbclient/ndbClient.go:552-557 | libnetwork/cmd/networkdb-test/dbclient/ndbClient.go:590-595 \u2014 both copies are in the same file, so extract the block 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":"libnetwork/cmd/networkdb-test/dbclient/ndbClient.go"},"region":{"startLine":552}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd74d26cd9eb0801dcbfd685a9de65a9ff5bcaf79d33ae184b566c2a5dbdce5a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): libnetwork/cmd/networkdb-test/dbclient/ndbClient.go:667-672 | libnetwork/cmd/networkdb-test/dbclient/ndbClient.go:703-708 \u2014 both copies are in the same file, so extract the block 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":"libnetwork/cmd/networkdb-test/dbclient/ndbClient.go"},"region":{"startLine":667}}}],"partialFingerprints":{"codehealthFindingId/v1":"904a19e70d4797121bfc50dad061cb5d0d39bc302b3ac0f4339ecf34107da63f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): libnetwork/cmd/networkdb-test/dbclient/ndbClient.go:486-490 | libnetwork/cmd/networkdb-test/dbclient/ndbClient.go:519-523 \u2014 both copies are in the same file, so extract the block 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":"libnetwork/cmd/networkdb-test/dbclient/ndbClient.go"},"region":{"startLine":486}}}],"partialFingerprints":{"codehealthFindingId/v1":"08c094835f41ba11a6c763b974ab287027d09a7c1985514f8ffaf7f87d6fb7cd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 5): libnetwork/cmd/networkdb-test/dbclient/ndbClient.go:83-90 | libnetwork/cmd/networkdb-test/dbclient/ndbClient.go:96-103 | libnetwork/cmd/networkdb-test/dbclient/ndbClient.go:109-115 | libnetwork/cmd/networkdb-test/dbclient/ndbClient.go:121-127 | libnetwork/cmd/networkdb-test/dbclient/ndbClient.go:140-146 \u2014 all 5 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libnetwork/cmd/networkdb-test/dbclient/ndbClient.go:83\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060string\u0060 to \u0060port\u0060 in one and \u0060networkName\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/cmd/networkdb-test/dbclient/ndbClient.go"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea5b4ab77b595ce7ae6bf279f1a7987d33832b8f6a91f037edc9f2804a13efe2"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: Daemon (LCOM4 17): Daemon\u0027s methods fall into 17 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 17 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":"daemon/daemon.go"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"103b9a7af3575910810ef7ac7f35a0788577e3c9eb6e42a7552a2e7c0e7cd4fa"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: Daemon (LCOM4 13): Daemon\u0027s methods fall into 13 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 13 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":"integration-cli/daemon/daemon.go"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"acd9f8eed64e53d23dad88fdcba1ccf1444a2c9464ed6cd6c045af4774cad7c6"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: Daemon (LCOM4 6): Daemon\u0027s methods fall into 6 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 6 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"testutil/daemon/daemon.go"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"d36d99ad580fc6085b74e124b5bed19939d523f3d4789d1f88775ef7d2a4d879"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: networkConfiguration (LCOM4 5): networkConfiguration\u0027s methods fall into 5 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 5 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/drivers/windows/windows.go"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"6531a74d3265f9868c3b4fe0c665f8facc92d05ff97682336926fedd540576e5"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: Config (LCOM4 4): Config\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":"daemon/config/config_linux.go"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e35fc0fe9ffe4b66cdc27cc387e93b0b401254c7b4f04609deb8afed8e07557"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: task (LCOM4 4): task\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":"libcontainerd/remote/client.go"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"585ee1b43b5d37aa2eeeecb301351bb59125599171edf7c9cbd424727396c584"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: networkConfiguration (LCOM4 4): networkConfiguration\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":"libnetwork/drivers/bridge/bridge_linux.go"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"40f1412d132bd74a4e65f592edc7e4ae2b0497a8bd1c6060297e4ea940861188"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: bridgeEndpoint (LCOM4 4): bridgeEndpoint\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":"libnetwork/drivers/bridge/bridge_linux.go"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"6785c6e3e009ecbb261b309dd73aa2dde6f0ed8d51f0ba0b61a95192167622fc"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: endpoint (LCOM4 4): endpoint\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":"libnetwork/drivers/ipvlan/ipvlan.go"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0d1f92b76ee3946cd8ae03d51ad892f0454ae992beff3947ce972b0af900908"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: configuration (LCOM4 4): configuration\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":"libnetwork/drivers/ipvlan/ipvlan_store.go"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffaeaa4db23d80fe314d3d945468686a295b351fe3dbf407c8548f519832d7c5"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: endpoint (LCOM4 4): endpoint\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":"libnetwork/drivers/macvlan/macvlan.go"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7e9c1e2e71388dfbd47b9793c9e076a1f411c45f74978b8d87a97f728e29be1"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: configuration (LCOM4 4): configuration\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":"libnetwork/drivers/macvlan/macvlan_store.go"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d946bc814b9dcd5af714c2a7f6cfae3fb2d09a2f87091395d383cc0d0c04d79"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: Execution (LCOM4 4): Execution\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":"testutil/environment/environment.go"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"44f7cab4dd7d3a2202b2201eaa59ce335b577734b7b1960073b7df25590486a9"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: volumeWrapper (LCOM4 4): volumeWrapper\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":"volume/service/store.go"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"2330f81a0dc3340f5aba9fbb5fcff2404e9f68470571b4775c11e597029cd4ae"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: hnsEndpoint (LCOM4 4): hnsEndpoint\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":"libnetwork/drivers/windows/windows.go"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"82551a6335f84817972dde927766e82aedbbce0ed979dfeae80ec87e4a1f5607"}},{"ruleId":"D11","level":"error","message":{"text":"Test declared unreliable: TestBuildWCOWSandboxSize: This test is disabled or skipped with a reason naming unreliability \u2014 the repository\u0027s own words: \u0022FLAKY_TEST that needs to be fixed; see https://github.com/moby/moby/issues/42743\u0022. A test that is skipped for flakiness is neither passing nor protecting the code it covers; either stabilise it or delete it, but do not leave it disabled indefinitely. (Found by reading the repository\u0027s own test source \u2014 the suite itself was not re-run, since the reliability runner does not support this ecosystem.)"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"integration/build/build_test.go"},"region":{"startLine":521}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea4f7b879d9cc3c531f9aad065b42f787bcbf77f30bf46a6e77ac5a2896ccc70"}},{"ruleId":"D11","level":"error","message":{"text":"Test declared unreliable: TestServiceRemoveKeepsIngressNetwork: This test is disabled or skipped with a reason naming unreliability \u2014 the repository\u0027s own words: \u0022FLAKY_TEST\u0022. A test that is skipped for flakiness is neither passing nor protecting the code it covers; either stabilise it or delete it, but do not leave it disabled indefinitely. (Found by reading the repository\u0027s own test source \u2014 the suite itself was not re-run, since the reliability runner does not support this ecosystem.)"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"integration/network/service_test.go"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"16bd90cc2dc1c0f043b3cf51437c076b198b5649af903ff77dcacd78363489ed"}},{"ruleId":"D13","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e9c670e01b18dfbeef53c43c65ed9bbfe3059c762e785a83ba9df69041f66be9"},"taxa":[{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #1: If anonymized user #1 becomes unavailable, 7 significant file(s) lose their only recent owner: pkg/archive/archive.go, container/container.go, image/store.go, distribution/config.go, pkg/ioutils/readers.go, pkg/ioutils/fswriters.go, pkg/tarsplitutils/tarstream.go. Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"64aad68f7ec77730f39809f9e3aafaff5ec83c96f1f13be57272ce16c86a973b"}},{"ruleId":"D16","level":"note","message":{"text":"Further sole-owners (lower concentration): 2 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 (9 single-owned of 511 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; 511 of the 1263 production source files in this repository met that bar). They are anonymized user #2 (1 file(s)), anonymized user #3 (1 file(s)) \u2014 spread or document their files in the same way, at lower priority than the named off-boarding risks above. The files folded here: image/tarexport/load.go, daemon/top_unix.go."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"6eac528f2429e724e1a97ed868f79eefbcf1888dab4af9a9e673429369bb5b2f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(@cpuguy83): It would be nice to optimize this by looking at the list \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"volume/service/store.go"},"region":{"startLine":274}}}],"partialFingerprints":{"codehealthFindingId/v1":"eea90861aaab272f6b11df40ac97f40449edf63d24bc9ecea0dfbe9c96d66ff5"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(@cpuguy83): plumb context through \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"volume/service/store.go"},"region":{"startLine":403}}}],"partialFingerprints":{"codehealthFindingId/v1":"72c8dd6a8a94a33bcb4cbe09ec6dae07bf65c7d243e7a89612f8f489330d66cc"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(cpuguy83): With v2 plugins this shouldn\u0027t be a problem. Could also potentially \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"volume/service/store.go"},"region":{"startLine":521}}}],"partialFingerprints":{"codehealthFindingId/v1":"be7b54cc598e40f94de39e0607713464a39e4fa2cb7d26bea0d78926c8a833b0"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: there could be some inconsistent details such as labels 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":"volume/service/store.go"},"region":{"startLine":604}}}],"partialFingerprints":{"codehealthFindingId/v1":"f17bba8ec0dd30ef34c8887cf4a4ea103c1a1bd6a7dce03327460c5c778f6e3c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(@cpuguy83): plumb through the context to lower level components \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"volume/service/store.go"},"region":{"startLine":765}}}],"partialFingerprints":{"codehealthFindingId/v1":"46930733eae20cad43d7aadbddcd3fbb746ea5a44157eef1644f3e7efd69197f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Remove once the real bug is fixed: https://github.com/moby/moby/issues/46508"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"volume/mounts/mounts.go"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc9e75f222e8c3aeeead320932f6d70b4261f16f438001fbab694d04b9393080"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Remove once the real bug is fixed: https://github.com/moby/moby/issues/46508"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"volume/local/local.go"},"region":{"startLine":339}}}],"partialFingerprints":{"codehealthFindingId/v1":"87a5cd2dea9a81265390cab68c5c24d22a29e7763c23e6ab9dbb8a0049c857cc"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO should windows mounts produce an error if any mode was provided (they\u0027re a no-op on windows) \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"volume/mounts/windows_parser.go"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf0e5fdb7bca173b5a9c878df9ec264daf4a2977a3ec4a635c774305b68e25d6"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(thaJeztah) is there a reason we\u0027re evaluating the data-path here, and not the volume\u0027s rootPath? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"volume/local/local.go"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b3018e52227534cbe34a95e179db9b41ee0571a576a078c8a5c98d5d0a1f0ea"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment repeated across 28 files: The identical FixmeComment appears in 28 files (28 occurrences) \u2014 almost certainly one boilerplate line from a single migration or decision, not 28 independent debts. Fix the systemic cause once rather than file-by-file. Text: \u0022// FIXME(thaJeztah): remove once we are a module; the go:build directive prevents go from downgrading language version to go1.16:\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":"testutil/helpers.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a8207c51494bcc783b411bd7faf3a1aec3d23a4b9a8d55e4bfd362700da09fb"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Share more code with client.defaultHTTPClient \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"testutil/request/request.go"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"1347aa062440f288bf5658918a54eb2163ac9ea979dd1440e11a1452a4976163"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME(vdemeester) 10*time.Second timeout of SockRequest\u2026 ? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"testutil/request/request.go"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"e37b7a2cb93b552a38e1acb77d5955822d779e1d2bcd97ac24821283e7611cd2"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME(vdemeester) use a defer/clean func \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"testutil/registry/registry.go"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e1166aebf0c179842e898f739a0e6457c4ed91187307a089d50c180b571ea4a"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME(vdemeester) use a defer/clean func \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"testutil/registry/registry.go"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"270311c1b602d0f7d82cb08d92cad14a8b2d73f96f8ef7049c4b5f69ec56e07b"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME(vdemeester) use a defer/clean func \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"testutil/registry/registry.go"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"6056fbec043344e434580bf8d17feb6cf6959c46541e50da254e2aa0cfffdbdd"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: This loads whatever is in the frozen image dir, regardless of what \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"testutil/fixtures/load/frozen.go"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"260af6708c793ea810e4ddbdc05c16a658052889407e35f307f90fcee5ddb585"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: decouple this package from environment \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"testutil/fakestorage/storage.go"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8b7318bb03ed643b183c78a71ad9856a730878c6d1cc9e2422f3664fdef484f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: decouple this package from environment \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"integration-cli/cli/cli.go"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f47a6310101e6ebce84ad907fc0665ea07020f6ab6c6d63e8f1bc11e0035d5f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: print everything \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"testutil/environment/environment.go"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9eab116dcc4ff6d1ff2456f773e36230f0cec09a4c340f536099965c55750d5"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME(vdemeester) should probably not be exported \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"testutil/daemon/daemon.go"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"526171123427dd40af37d5a025bf5d8df8e36a2f8a19cb1fc5ea4b130038f104"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(dmcgowan): Attempt to further interpret result, status code and error code string \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"registry/auth.go"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a09ed7c8a1ea37f2e9747d17ebc75a4ec024386abceac279722b6f9369f97db"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(thaJeztah) both the \u0022index.docker.io\u0022 and \u0022registry-1.docker.io\u0022 domains \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"registry/config.go"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3fe7f6de0f0ec0ac30652edbd0ef91436ab8e740f586a38668104b4ad732f97"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: upstream this to check to reference package \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"registry/config.go"},"region":{"startLine":347}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ebfc94bdad43e3d11655c19d6cb2fdd705702cd99fdf2ec975e09e1fcd9326e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(dmcgowan): Call close idle connections when complete and use keep alive \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"registry/registry.go"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"4744688a05fc18cda3b9f9a04d542b18a0bb6a8bbd766a51557b1e7c57ddf941"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(dmcgowan): Call close idle connections when complete and use keep alive \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"distribution/registry.go"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"648a3925981dc067aa15182084a8b68cc5a31fb226851ad60f67f67ca7acb027"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(thaJeztah): the \u0022is-automated\u0022 field is deprecated; reset the field for the next release (v26.0.0). Return early when using \u0022is-automated=true\u0022, and ignore \u0022is-automated=false\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":"registry/search.go"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa30b4dc50bbe083421bd25d52042d131054811cf9e2fac7966f65371362fb07"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(thaJeztah): the \u0022is-automated\u0022 field is deprecated. Reset the field for the next release (v26.0.0) if any \u0022true\u0022 values are present. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"registry/search.go"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"774d043602272d4c5a6323163e665d1aba6c1dae79d975ccfefc0811ef47e392"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO Use ctx when searching for repositories \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"registry/search.go"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"a561153f4b2a38695db5e277d9ab1ff56d3104c8ece8ae5c343eb5d85485eefd"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO Use ctx when searching for repositories \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"registry/service.go"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"57b2bd835d3099ea359c9f37feadb66a5c0ee73b24398dce21778a93495f0931"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(thaJeztah); is there a reason not to include other headers here? (originally added in 19d48f0b8ba59eea9f2cac4ad1c7977712a6b7ac) \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"registry/search.go"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"b64841be048898f726530bd4a91a534dded1e436e2a859448b4b2b1c33029978"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(thaJeztah) this function is only used by the CLI, and used to get \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"registry/search.go"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"44b6d31ea4b4fcdcb7fff2d45b66c06c6ea68ea5982f3ff6ebd32d6282eadbb0"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: remove. This is only used by search. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"registry/search_endpoint_v1.go"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cd48befba7232bea2545fb5c92b7585707043f8c546deac976bbe76dffa40df"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(tiborvass): make sure a ConnectTimeout transport is used \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"registry/search_endpoint_v1.go"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcadc220812f8d136cdfb13e2dd810b185e29a54146bafaae481364f9d38cbc3"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(thaJeztah): return upstream response body for errors (see https://github.com/moby/moby/issues/27286)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"registry/search_session.go"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"230e9bf6ff296af2edb5bc6fcb83588714bba9de9e969e256bb4589663b8611b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // The mock v1 registry does not support that, (TODO(tiborvass): support it), 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":"registry/search_test.go"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"c826e9c94c9d9b2354ded8dff4b64d5d912b5ab449bbbf6ebf43b2744256c777"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: use generic quota control ioctl FS_IOC_FS{GET,SET}XATTR \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quota/projectquota.go"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"b600df720bfe97ab4e85530d143266e9ac24077cc872e6c3195dda79a4338cb8"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: When we implement this under EXT4, we need to shed CAP_SYS_RESOURCE, otherwise \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quota/projectquota_test.go"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"87cd817283e75f4e1680571d414a2bc915a33153489d8c737cf9f4022aa9bd91"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME: try to fix omitempty for this \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"profiles/seccomp/seccomp_test.go"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"55df7a0a26bef4a5dd462c56a54a7aad79d6fe45640b7cf12e2033887eca6d84"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Move this to a common project so we can maintain it in one spot. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"profiles/apparmor/template.go"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"694af433a42b71b0044ce848cf0c031252cd0c1f7fe48bd92b4ffed02ab32e5a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: replace reference package usage with simpler url.Parse semantics \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugin/backend_linux.go"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5b8d173a1796caf434ec0bad24acc96c92ae43e30ff4b80cbd8f4c9abafc4bc"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: replace reference package usage with simpler url.Parse semantics \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugin/backend_linux.go"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5378d23409b3f942e1507efb0eb4994e2d57b5f30c9c4141243687173ac24f9"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: tmpRootFSDir is empty but should have layers in 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":"plugin/backend_linux.go"},"region":{"startLine":303}}}],"partialFingerprints":{"codehealthFindingId/v1":"95948e9322c41c2a76d422548977c81f42d4842dbc0e28583ca0b2b625476b9b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: If a layer already exists on the registry, the progress output just says \u0022Preparing\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":"plugin/backend_linux.go"},"region":{"startLine":403}}}],"partialFingerprints":{"codehealthFindingId/v1":"acc9123da46bde5104fbb1a999f7a7381beedcee7038a91364f446a4f78c3c38"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: How to check if the layer already exists? Is it worth 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":"plugin/backend_linux.go"},"region":{"startLine":456}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c3e0325803581f793ac418ec8353bfa3fc141d9e97cdc7bff647bb9c31645bb"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: This is assuming everything is a gzip compressed layer, but that may not be true. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugin/backend_linux.go"},"region":{"startLine":499}}}],"partialFingerprints":{"codehealthFindingId/v1":"6171a815d372bb21eb74a9e143b491ff4fd228751eb5a1eb8b36df1ae43bc74d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugin/backend_linux.go"},"region":{"startLine":738}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc52011d1582de5b223a9cf99591488624555511024b22b1bac613fa62ac4233"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(@cpuguy83) This gets run sequentially after layer pull (makes sense), however \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugin/fetch_linux.go"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4d275212257554436fcc4e771bf995696df39e2eaf26833c02179d152187be6"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Might need to add some sort of 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":"plugin/fetch_linux.go"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"10fc0bccd690415728dbea0fbdff5d0cbc5f28bc1d2e4633597fe8f84056b7ce"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: remove \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugin/manager.go"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"008b043a390137c73a6d845cc8bd9f1ea42bdda58988fea82177d7a5297ecb7d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: remove \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/daemon.go"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"66a9aaacdd8c9823b61efea69f75225d4de675541f327a4aa4731a41ccadf37b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // todo: 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":"plugin/manager.go"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"b949adfbdc1ee21f0b36a1a8d1776178e303b2d2245a577495d44d8e92bac88f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(@cpuguy83): Should we always just re-attach to the running plugin instead of doing this? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugin/manager_linux.go"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"76238391c94849abdf8f0a18ef83f9a47b5a6a9f9bfbebb8b489bf5baefa3bba"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // todo: this check is wrong. remove store \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugin/manager_linux.go"},"region":{"startLine":299}}}],"partialFingerprints":{"codehealthFindingId/v1":"efd38bbba9ef96d68e8a43cbe70159e40d0ef795cd14a094a180b38117b2d1c5"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // todo: remove \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugin/manager_linux.go"},"region":{"startLine":342}}}],"partialFingerprints":{"codehealthFindingId/v1":"b78771c6173295567e0af02fbb3c86e18be337f85e8c71f98cfc5e9256692979"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // todo: embed 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":"plugin/v2/plugin.go"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"c800f5bda748303eb03bacd1994cb05d591952edbbef3d859379241a5846ac28"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: make private \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugin/v2/plugin.go"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"df5efbf9f228a79d8b705f9dae3a6f3cdd23aae7fdbd83c759944dc1ba05b074"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(vieux): lots of code duplication here, needs to be refactored. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugin/v2/plugin.go"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad36a54b2e263715d443224cdc62ddeee092386c56320d9857d63f3a63c5ba96"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: all plugins should be readonly? settable 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":"plugin/v2/plugin_linux.go"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb5e6a8871dafadaaf152265af7c6a2c1c6afb867ecc58b9582096ae4a1782f7"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: if net == bridge, use libnetwork controller to create a new plugin-specific bridge, bind mount /etc/hosts and /etc/resolv.conf look at the docker code (allocateNetwork, initialize) \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugin/v2/plugin_linux.go"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"991457d5de7c5cb505b5e976fc01265e72342784e4acf7826564a1ff93375522"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(vbatts) it would be nice to get individual sums of each \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \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/tarsum/tarsum_test.go"},"region":{"startLine":418}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd18d25efe74ff9a1b0592bf1e0f4e5c5643ebc97dd563b14ec47d0aa727fc3c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO Windows: Factor out platform specific capabilities. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \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/sysinfo/sysinfo.go"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"82dac39447b36fe8b0fd6e97742823f61e9bd3c845eee250b491ecd11cd78c29"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME: workaround for panic in #37735"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/progress/progress.go"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"4779478bdd4575934579e039a330dfbf5eb0478cfe49642be120a1f67864a1c4"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO Windows: Factor out the unix:// variants. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \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/plugins/discovery_test.go"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"02cbac12ea5ee8e9bb13d3ce92c242559f7d1aeadac9fa417752d00d508a4ffb"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO Windows: Enable a similar version for Windows named pipes \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \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/plugins/discovery_unix_test.go"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"601b185c58a590822bd152ece4593e62c4901ad2103d46d1e3c873ba027f44f1"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: t.Parallel() \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \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/plugins/plugin_test.go"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"34b644f82c848b39bcd528627481bec71ff10dbe541436d431603a1d3fe8c608"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: t.Parallel() \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \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/plugins/plugin_test.go"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7b88156049b62f7a7a4004c50d573877f6fc9fa743027260518cde30c8111f6"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: change to nil \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \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/plugins/plugins.go"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"4711e62399d849f5647b961dc636fca6e7d65adeae07573f5a5316ddd9a4371a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(thaJeztah): rewrite this to use \u0022GetNativeSystemInfo\u0022 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/platform/platform_windows.go"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bf2dd2b463c780dcbbe5e6af0a3657ec76a3e073e420c2a5ec615c5f8331326"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Implement jail detection for freeBSD \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \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/parsers/operatingsystem/operatingsystem_unix.go"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"7190a4c1a896272525fe67737587667e7b0ac86d33507398fbd1d9c92517f497"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO remove once https://github.com/opencontainers/go-digest/pull/64 is merged."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/ioutils/readers.go"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"83bc914a061b6f63035cb6acbc794e51f5f93e3407474175fbb002f08cc093f8"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO Windows: Port this 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":"pkg/fileutils/fileutils_test.go"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cf91cc6fa4808916370c837ad2b2e0d0abd893b01f50815a8bcb654d9879960"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO Windows: Port this 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":"pkg/fileutils/fileutils_test.go"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed7d82a477d3305263176053206a9ee1e1be50169efd3924c653208d5bd66a43"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO Windows: This uses a Unix socket for testing. This might be possible \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \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/authorization/authz_unix_test.go"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fec46cbb057a022c684f125e6a6c1c24ab1a3f83307c31f3433600376d2c907"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME: Non trivial authorization mechanisms (such as advanced certificate validations, kerberos 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":"pkg/authorization/middleware.go"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"264df7de008b11c3cab05a01ab873084104c5ce50b11cdfa9d900f59507b84cc"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(@cpuguy83): there is now a relatively small buffer limit, instead of discarding our buffer here 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":"pkg/authorization/response.go"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"9085373f83619a87de97d8212ab24ecd3b2d833f41309a5d70d346f60e48530f"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME: specify behavior when target path exists vs. doesn\u0027t exist. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \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/archive/archive.go"},"region":{"startLine":1243}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc79483c90bc923ae114b7e3bda341ede70e05f83cc0caa4c720181920852354"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO Windows: Figure out why this is failing in CI but not locally \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \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/archive/archive_test.go"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc8a16c4abe6163a97ca753dd33e66e3b4ed9a6969ff136422d8ba361245aa67"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME Check the content \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \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/archive/archive_test.go"},"region":{"startLine":504}}}],"partialFingerprints":{"codehealthFindingId/v1":"caf422bbafe86268dd3ae541d3cd52ed7cfe13cf041c52fefe07e1c577cf18c4"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME Check the content (the file inside) \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \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/archive/archive_test.go"},"region":{"startLine":533}}}],"partialFingerprints":{"codehealthFindingId/v1":"d31118fd44c01bd8ec27a7f8a068c3acade1feb382696ec286dab5cb35a99742"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME Test the src file and content \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \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/archive/archive_test.go"},"region":{"startLine":577}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfe206ecf0434c4ad38b3526ca8311f284c17a8b87a9d40b51a3e58cd3e357c6"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO Windows: This is currently failing. Not sure what has \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \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/archive/archive_windows_test.go"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb1c19a1cc39f1532888c97d1895b384134becbcfb609c1c1e40cf9f9ce8dbae"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO Windows. Needs further investigation to identify the failure \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \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/archive/changes_test.go"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfc89e140ac6696f79e9487dcf2dda8bd2be0413c6618969b22ce55f6bacf362"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO Windows. This is very close to working, but it fails with changes \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \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/archive/changes_test.go"},"region":{"startLine":427}}}],"partialFingerprints":{"codehealthFindingId/v1":"251d3fcfcab72df7376b30af5e7c494f4dbd3c85c2ef1effcaa5dc5ee6050853"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO Windows. Needs further investigation. Likely in ChangeSizes 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":"pkg/archive/changes_test.go"},"region":{"startLine":466}}}],"partialFingerprints":{"codehealthFindingId/v1":"390045a0b01be8f69bdefac8969dcf274a7ada757fbf4e10d9a6ce180fbf715a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO Windows: Some of these tests may be salvageable and portable to Windows. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \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/archive/copy_unix_test.go"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d76e45e9d5d58d787b0402059ff6424e5e7143018cdf92f84b7f9991bb6a4b9"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO Windows. Once the registry is aware of what images are Windows- \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \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/archive/diff.go"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"17ba3218a984acec161e589ec711a2420101d76a90d93dcb69c8251901a8ef4f"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME(thaJeztah): we should get rid of these hacks if possible. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \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/archive/diff_unix.go"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fd9b68c6961341cab77693dec00720e2eb99d87c6da017c98978b68678ea038"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: cannot check for fi.ModTime() change \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \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/archive/utils_test.go"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"75fa9964125940e9da42c72af5205acbed4e6ab5ece1e9ab53483c0a6684d0b9"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME: stream content instead of buffering \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \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/archive/wrap.go"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae15a168486b3d360711aa3e99ccc4835729be6b86d54b2d87fb7c2feb28e372"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME: specify permissions and other archive metadata \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \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/archive/wrap.go"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ba695ad676c096731047c1526e647b5eb0b8d6c15a26b4ee81c3733ddf69e67"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(thaJeztah): this should not be case-insensitive. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"opts/address_pools.go"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"7911a31ccc580729a1f904af8ec8091b22cb22f076188b21dc4a533326c32786"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(thaJeztah): this should not be case-insensitive. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"opts/runtime.go"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"c01576a2e1da267f09ffa9f7656393bcb2a980c692235e8bc778d0dec7624170"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO Windows. Identify bug in GOLang 1.5.1\u002B and/or Windows Server 2016 TP5. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"opts/hosts_windows.go"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"d77bbb88b3d744138b81aa3917b23452dcf0c29c08f569cd1837f8fa720abe78"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(thaJeztah): this should not accept spaces. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"opts/runtime.go"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"c771af1a5db5237f632700b6381214f3a480035ea7bb6bc9e1732e434f805ec3"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(thaJeztah): remove once we are a module; the go:build directive prevents go from downgrading language version to go1.16: \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"oci/defaults.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd6c51a48e47d7d59db37cf6a4618c67202ca65ce62f3e5213e12334d184367e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(thaJeztah) align Windows default with BuildKit; see https://github.com/moby/buildkit/pull/1747"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"oci/defaults.go"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b0a6a51675378d25969412d22d8fee1530bcce4913ce17292e682b5ad16b0ef"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(thaJeztah) use defaults from containerd (but align it with BuildKit; see https://github.com/moby/buildkit/pull/1747)"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"oci/defaults.go"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"56d00f60d9d9689f18bd169d76636e194aabc53f7c350254b7aa60869ae85dde"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO check if additional errors should be handled or logged \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"oci/devices_linux.go"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cfcab5766a78c569736b8577a45a16d04ca0ad8ba86a71be02b18b6d129c172"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO verify if this regex is correct for \u0022a\u0022 (all); \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"oci/oci.go"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbce978992f8af73122e2ce7ef639faeca0df38b66097e104b9c3c18eb4c8f74"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(thaJeztah): why are we swapping order here? This code was added in https://github.com/moby/libnetwork/commit/e83d68b7d1fd9c479120914024242238f791b4dc"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/agent.go"},"region":{"startLine":291}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd20e0141508c64a23b9996ffb6dbd6253f949279cee3a3460557101df5f61b9"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME(thaJeztah): defOsSbox is always nil on non-Linux: move these fields to Linux-only 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":"libnetwork/controller.go"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"68e11b9052d6306418c342fe10cdd90496d669e39ee4d23271ad20288b05791b"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME: every driver instance constructs a new DataStore \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/controller.go"},"region":{"startLine":347}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d2e9e9b2e74168d153cc0857e0c2eacff89634819c17b6dcf2daf3e18b005d4"}},{"ruleId":"D17","level":"warning","message":{"text":"XxxComment: // XXX  This should be made driver agnostic.  See comment below. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/controller.go"},"region":{"startLine":466}}}],"partialFingerprints":{"codehealthFindingId/v1":"f80c6ea3435136fead97fbcc7c98dc3c76d5565b1cc047acc5c8c1086703f8e9"}},{"ruleId":"D17","level":"warning","message":{"text":"XxxComment: // XXX If the driver type is \u0022overlay\u0022 check the options for DSR \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/controller.go"},"region":{"startLine":641}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0cc116f2a1c0d56338ac0dcb28d62d8833cbc4ffc64eed4410d13495be89fe3"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(thaJeztah): given that a \u0022containerID\u0022 must be unique in the list of sandboxes, is there any reason we\u0027re not using containerID as sandbox ID on non-Windows? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/controller.go"},"region":{"startLine":913}}}],"partialFingerprints":{"codehealthFindingId/v1":"86884e31ed7ca5aef0341e343fb2fd1b8a092f591cb8a61336bee20a451df0be"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO v6 needs to be handled. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/default_gateway.go"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"9eb96a90c8aa3c545be2aa8183a2bcafc94ddc42bfe740d7fa07ec7951443da3"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: pass address pools as arguments to builtinIpam.Init instead of \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/drivers_ipam.go"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d361a2888299e1112e47146c05e3d9422709abe52cf9627189fe609d077c99f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(cpuguy83): So yeah, this isn\u0027t checking any errors anywhere. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/endpoint.go"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"90526f14cca32bdb98d1c7523d1fb7eb7f5157cc13789d28529e7106b6b7a22b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(aker): remove this migration code in v27 \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/endpoint.go"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7710d64e598333bb26e9448809bbd2cc4cb368f47348a3787eb072ff9859e76"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(cpuguy83): linter noticed we don\u0027t check the error here... no idea why but it seems like it could introduce problems if we start 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":"libnetwork/endpoint_info.go"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"f88eaf15e8411ce5cbbcbeb896abeaadef7dd3fbe974e6ace070c7097c2ead06"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(thaJeztah): make sure that Endpoint is always fully hydrated, and remove the EndpointInfo interface, and use Endpoint directly. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/endpoint_info.go"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"1229c8e796eb0b8a0e48f1aa0cd4af4621782ad8bce0d4f35ad911cf10e124cc"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(cpuguy83): Linter caught that we aren\u0027t checking errors 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":"libnetwork/endpoint_info.go"},"region":{"startLine":434}}}],"partialFingerprints":{"codehealthFindingId/v1":"d73fa0711c47cea0a6384bab124db5749f9672d0bd2a446c0190ab91b5289b58"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(aker): use proper net/* structs instead of string literals. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/network.go"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"63aa7d747be74c1fc23eed5f691fa881f72ceb46f39d16256ab51c0dd45e872d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO : Can be made much more generic with the help of reflection (but has some golang limitations) \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/network.go"},"region":{"startLine":520}}}],"partialFingerprints":{"codehealthFindingId/v1":"b90023bbd2bf88bc0906f8934c56c27b9c71b3eee560a131f54d8811e6bbfac0"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO : Can be made much more generic with the help of reflection (but has some golang limitations) \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/network.go"},"region":{"startLine":577}}}],"partialFingerprints":{"codehealthFindingId/v1":"309082fdde09a58bccc09968aef0d42c3b7e70105d663e3e906a042eb708d98e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Remove this option setter once we support endpoint ipam options \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/network.go"},"region":{"startLine":829}}}],"partialFingerprints":{"codehealthFindingId/v1":"1eafec5bdfce1e21bfe5c0ef69b572deac088185625e0f1382ec3fd565b58e77"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(aker): remove ipMapUpdate param and add a proper method dedicated to update PTR records. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/network.go"},"region":{"startLine":1359}}}],"partialFingerprints":{"codehealthFindingId/v1":"9beb307d7159e4bb6c581ab7e60665ce861afa03286adcd32494b288d592aa4f"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME(thaJeztah): why are we ignoring invalid pools 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":"libnetwork/network.go"},"region":{"startLine":1534}}}],"partialFingerprints":{"codehealthFindingId/v1":"987a957f94d6947e556282b39afe2ca0595c85a4f4cb8a6ce405ac3014eee17a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(aker): release the lock earlier \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/network.go"},"region":{"startLine":1956}}}],"partialFingerprints":{"codehealthFindingId/v1":"2673ef9807b46b6ae692d216605c6a1e67a423ba1c6e58e02e5a1a102ecfd3cf"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO IPv6 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":"libnetwork/resolver_unix.go"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebef6dd76f3cc9db2bdeddd4406193ecf9c844b4cf48aeacb9bb07de9d7abcaa"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO IPv6 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":"libnetwork/service_linux.go"},"region":{"startLine":351}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa52366df2758b27421c702e01c35066ab52f9ce18e8976113d9f3cca247359f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO IPv6 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":"libnetwork/service_linux.go"},"region":{"startLine":370}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d3ae0c66321b55844ff4a77412644922442681ded3164155755d927fc66397f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO IPv6 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":"libnetwork/service_linux.go"},"region":{"startLine":394}}}],"partialFingerprints":{"codehealthFindingId/v1":"246448dab2389b83437ed27823d2b69f733fb9694fc4301a2564368be6fbbba2"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO IPv6 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":"libnetwork/service_linux.go"},"region":{"startLine":488}}}],"partialFingerprints":{"codehealthFindingId/v1":"f53a4a4f68686e246658286192b1481517500327240bfe446afd348d765d21ce"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO IPv6 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":"libnetwork/service_linux.go"},"region":{"startLine":574}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe1595ec3fa2fb83feaf01439c21bc36a2a8f970e41bb747e010c6c617e85c92"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO IPv6 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":"libnetwork/service_linux.go"},"region":{"startLine":627}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d08daeca744aec326bb2bbecc98d4b7bfec247860ee847f0683ac8be23ff9d0"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(thaJeztah): was it intentional for this loop to re-use prior results of pSB? If not, we should make pSb local and always replace 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":"libnetwork/sandbox_dns_unix.go"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"688077ef0e869ea89b658e5f534a8f429882a78545964d54fc4c67ed08a324a7"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(thaJeztah): should this actually be registered on FreeBSD, or only on Linux? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/sandbox_externalkey_unix.go"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"354b3e5a4d37f11f36d0543614f8bec07f4209c6c29d56fd714e992de71cbf60"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME(thaJeztah): osSbox (and thus defOsSbox) is always nil on non-Linux: move this code to Linux-only 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":"libnetwork/sandbox_store.go"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"95a67ccd6f7babd72fc35713f000885b21a8aac85aa5922fa482056bdb027deb"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: get endpoint from store?  See EndpointInfo() \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/service_linux.go"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3ef9a0e1863bf8f064cf18b24db7152258b2a3e413a8129b9939ea79987e42a"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME: unify with c.getNetworks() \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/store.go"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4aa8a211c1fe26c6522e490be7439ea85dc2d39182a0480b5f49e24ec4656c9"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME(thaJeztah): GetObject uses the given key for lookups if no cache-store is present, but the KvObject\u0027s Key() to look up in 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":"libnetwork/store_linux_test.go"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"19cf98a7a00bd2fd9a71956f60d0f719fde6fcb81a42518df1959f52e677e310"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME(thaJeztah): GetObject uses the given key for lookups if no cache-store is present, but the KvObject\u0027s Key() to look up in 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":"libnetwork/store_test.go"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"49e2dd18c3cba6fa42008718af3ddb320f183ff92c1d720cbf413e1442043b99"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME(thaJeztah): both stopping the proxy and deleting iptables rules can produce an error, and both are not currently handled. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/portmapper/mapper.go"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"500de7cb3ea85ccfead8d94b8f6c70feb8f83937c97a6c28ba373e8f0487135c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(thaJeztah): use multi-error instead of returning early. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/osl/interface_linux.go"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"2255f1cf5346d1bfb56c00e6466f7345fb0473b647b863b7eaa3bc2ec657ffe3"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(aker): Why are we doing this? This would fail if the initial interface set up failed before the \u0022dest interface\u0022 was moved into its own namespace; see https://github.com/moby/moby/pull/46315/commits/108595c2fe852a5264b78e96f9e63cda284990a6#r1331253578"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/osl/interface_linux.go"},"region":{"startLine":282}}}],"partialFingerprints":{"codehealthFindingId/v1":"adf10374d7b08da37144982eddacfb7bd459fda99f34582264979f5f73a20d5e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(aker): What\u0027s this really doing? There are no calls to LinkDel in this package: is this code really used? (Interface.Remove() has 3 callers); see https://github.com/moby/moby/pull/46315/commits/108595c2fe852a5264b78e96f9e63cda284990a6#r1331265335"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/osl/interface_linux.go"},"region":{"startLine":296}}}],"partialFingerprints":{"codehealthFindingId/v1":"3db4108dccb26e859a1c5eef80aa97aa30e223a4e4920992ad46124d1d3c8aa3"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(aker): This function will disable IPv6 on lo interface if the removed interface was the last one offering IPv6 connectivity. That\u0027s a weird behavior, and shouldn\u0027t be hiding this deep down in this function. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/osl/interface_linux.go"},"region":{"startLine":312}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bb311708e7333e6be1b37fc8362f2a6a5d62e89634bb188c159f946cd8e5b3e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(aker): This garbage-collection was for a kernel bug in kernels 3.18-4.0.1: is this still needed on current kernels (and on kernel 3.10)? see https://github.com/moby/moby/pull/46315/commits/c0a6beba8e61d4019e1806d5241ba22007072ca2#r1331327103"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/osl/namespace_linux.go"},"region":{"startLine":308}}}],"partialFingerprints":{"codehealthFindingId/v1":"1aa6ed7806402411bcade5d82d1343a4fee38baf5dd3fd6b709dfc96dee70456"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO : Use appropriate windows APIs to identify non-overlapping subnets \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/netutils/utils_windows.go"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"3140ed51ebeecba5e1c51116218d4449a04036040ab4dd51653cb7e6f200b82f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(thaJeztah): does D-Bus require optional fields to be passed 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":"libnetwork/iptables/firewalld.go"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"00ad1b8d65aaf1943e5332a71f173740038bff012668d4062c07bcfa37d99081"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO remove this check once we drop support for CentOS/RHEL 7, which uses an older version of iptables \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/iptables/iptables.go"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c8f33e86ab5901c1286fe03501e25bf83b3abafc3286452f86a877d20c2fca1"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO For now the ip mask is not in the info generated by HNS \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/drivers/windows/windows.go"},"region":{"startLine":709}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c8f2c359cc909c422b5d4ffc8183e54ae7b2d274fcaff1c9342e478ef5f3c35"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // Todo: Add port bindings and qos policies 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":"libnetwork/drivers/windows/overlay/ov_endpoint_windows.go"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"f01a7f570e95342057b8b3539d062dbb930ce4090f033dd33c2a7892fc3ded0b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: if we could get peer name from (sboxLnk.(*netlink.Veth)).PeerName \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/drivers/bridge/network_linux_test.go"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e20e0e620ae6b5345d110bfd72bc6f4083d4ed2c2807991b92c1bdf50e15421"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(aker): remove this once we drop support for CentOS/RHEL 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":"libnetwork/drivers/bridge/setup_device_linux.go"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ac3e943730598649adae2edc73efff742ae723d059809de4cda88ca284048ba"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(aker): the bridge driver panics if its bridgeIPv4 field isn\u0027t set. Once bridge subnet and bridge IP address \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/drivers/bridge/setup_ipv4_linux.go"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc62e12f5b3e599c47ef5eb107a0c23a56a1ab2c4909eeb3176b7fdc7ec5add7"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME(thaJeztah): ExecRoot is only used for Controller.startExternalKeyListener(), but \u0022libnetwork-setkey\u0022 is only implemented on Linux. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/config/config.go"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f49762b532663c3d64d69d8aac3b61439900a3b67ab584ffb91c1d886083060"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME(thaJeztah): ExecRoot is only used for Controller.startExternalKeyListener(), but \u0022libnetwork-setkey\u0022 is only implemented on Linux. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/config/config_freebsd.go"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"a18b660db809b3b34345b289f67b57c1eccc76025adebf9aeff1231feda783f7"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Optimization: only attempt merge from start to end sequence, no need to scan till the end of the list \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/bitmap/sequence.go"},"region":{"startLine":558}}}],"partialFingerprints":{"codehealthFindingId/v1":"1061d8fe11981bc82ed95ca514e4e2b47f3ca7686f7f682941de4dcde5ea17a4"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // Resources defines updatable container resource values. TODO: it must match containerd upcoming 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":"libcontainerd/types/types_linux.go"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"c90b169c500684f538ddb06940197313c147b49f79f55467d74e2a19c24001b6"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //nolint:staticcheck // TODO(thaJeztah): ignore SA1019 for deprecated options: see https://github.com/moby/moby/issues/47437"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libcontainerd/supervisor/remote_daemon.go"},"region":{"startLine":305}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3974aa4c2bf6713421f59701df55b790790e79ab5051f9f42e1dd86b2d1d83e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //nolint:staticcheck // TODO(thaJeztah): ignore SA1019 for deprecated options: see https://github.com/moby/moby/issues/47437"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libcontainerd/supervisor/remote_daemon.go"},"region":{"startLine":306}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cbacfc3079de5a4f49927b88a1c1666b0077af8e825e41d744490512fd75396"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //nolint:staticcheck // TODO(thaJeztah): ignore SA1019 for deprecated options: see https://github.com/moby/moby/issues/47437"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/daemon.go"},"region":{"startLine":930}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3d277ec7773ee17d7445a5753daffde0cbbe6887b7cd89d6c4513f767bfa51b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //nolint:staticcheck // TODO(thaJeztah): ignore SA1019 for deprecated options: see https://github.com/moby/moby/issues/47437"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/daemon.go"},"region":{"startLine":931}}}],"partialFingerprints":{"codehealthFindingId/v1":"600417d9a185344c7d4c580c14f579086ff0898de19888e51abe3a0c0abb7ef2"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //nolint:staticcheck // TODO(thaJeztah): ignore SA1019 for deprecated options: see https://github.com/moby/moby/issues/47437"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/router/grpc/grpc.go"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7425fd8f48bcd8a263a3d74056ac91babae9ee450eb50d82bcf52cb752db069"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //nolint:staticcheck // TODO(thaJeztah): ignore SA1019 for deprecated options: see https://github.com/moby/moby/issues/47437"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/router/grpc/grpc.go"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3487588fcc30eca162d93fa3f6df9932e4ad7e6c6e37201ae4e7ccb4c7da14d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: (containerd) Determine if we need to use system.MkdirAllWithACL 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":"libcontainerd/remote/client_windows.go"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"20ff5c2c1110907094e5cb7fc7041c44325fe41dd94919cb1cfaad9a1dfce614"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: (containerd): Not implemented, but don\u0027t 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":"libcontainerd/remote/client_windows.go"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7e17f6ed385fcab2d76d55b03d48b77b9632fef8000ee9244611bdc58c3b5d4"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: (containerd): Not implemented, but don\u0027t 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":"libcontainerd/remote/client_windows.go"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"6463145a3e0aa308c3dee44e9e2f5be08440f3295924ead8b3839e2513531d84"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO circa RS5, this may be re-locatable. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libcontainerd/local/local_windows.go"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"592bfd98e146c3f2f70ffbc732e9321e9e3e9a23852bec98f12f7a92a0d7f280"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO Windows: On RS1, a re-attach isn\u0027t possible. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libcontainerd/local/local_windows.go"},"region":{"startLine":879}}}],"partialFingerprints":{"codehealthFindingId/v1":"98da6fcfcad86c1a6f1b31cb1c29d376d70db014fec0f576d98fb9d8f73714a5"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO Windows: Figure out why this is failing \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"layer/layer_test.go"},"region":{"startLine":289}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb4053019cae95db47b9e76297082a6e1a1937a9a17ee6e54cff42e382d34e91"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO Windows: Figure out why this is failing \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"layer/layer_test.go"},"region":{"startLine":338}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7f82b5c3732ac58d946c1dd43cafeb09d5a39c98ef1b554d9cdb5786b4f1db5"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO Windows: Figure out why this is failing \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"layer/layer_test.go"},"region":{"startLine":453}}}],"partialFingerprints":{"codehealthFindingId/v1":"b91d52fbd89ee091ff950b13b22eaa8f1d4c1b46cd62e0face8eac0a136352fe"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO Windows: Figure out why this is failing \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"layer/layer_test.go"},"region":{"startLine":682}}}],"partialFingerprints":{"codehealthFindingId/v1":"c403895576cc8fc32ab1831c7cc8ed35527cbfc990dc7bde41ef7fcc17d2e99a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO Windows: Figure out why this is failing \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"layer/migration_test.go"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e9afe4fb948fd7835e59fa63b1d4812bc30095a2f8d789e5c14fac31ff5d71f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO Windows: Figure out why this is failing \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"layer/migration_test.go"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c5cc25e3ae3364ed17bec6ffd3d493826506dfa20163932cfa1667e6badb5db"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO Windows: Figure out why this is failing \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"layer/mount_test.go"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbc1a6dafba589be96b99de2096f801a1afd1ce66723958f2eab6b2ca0c07b13"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO Windows: Figure out why this is failing \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"layer/mount_test.go"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcd440315ce376305f66d7a806bb23aebfd1a8c055f13010e373ebfc6158b3f6"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO Windows: Figure out why this is failing \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"layer/mount_test.go"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"a49a2cf0a22f44458e8bef84360108523079750353562d19a3db81b4e27b460c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO Windows: Figure out why this is failing \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"layer/mount_test.go"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b33c6f38c6c26c2cceb3a5ba374b41f662a998450fbfb3456ec4b49d83da67b"}},{"ruleId":"D17","level":"warning","message":{"text":"HackComment: // hack layer to add file \u2014 a workaround marked in source: record what it is compensating for and what would allow its removal (the upstream fix, the API it is waiting on, the invariant it restores), so the next reader can judge whether it is still needed rather than rediscovering why it is there."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"layer/layer_test.go"},"region":{"startLine":486}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1dcc58686a2ba3f5edb3aebbf3ba9404c2ad0060c4b577154ddbbdb89528869"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Move to github.com/moby/sys/mount, and update BuildKit copy of this code as well (https://github.com/moby/buildkit/blob/v0.13.0/util/rootless/mountopts/mountopts_linux.go#L11-L18)"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/rootless/mountopts/mountopts_linux.go"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"151dbebd52b48f9707912c9152bb79e937cb2a35d3c830776ee5596f1a20fdac"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME. Temporarily turning this off for Windows as GH16039 was breaking \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"integration-cli/check_test.go"},"region":{"startLine":414}}}],"partialFingerprints":{"codehealthFindingId/v1":"900ac840ddf97227adf21dac8d7558e39a3ce71e5c2d4060002769ab7f6d128a"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME use testutil/request newHTTPClient \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"integration-cli/docker_api_attach_test.go"},"region":{"startLine":261}}}],"partialFingerprints":{"codehealthFindingId/v1":"66c119cc06c8631ea682460b558353c0f659289a8b515605a1449a9b285950d5"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO Windows to Windows CI - Port this 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":"integration-cli/docker_api_containers_test.go"},"region":{"startLine":501}}}],"partialFingerprints":{"codehealthFindingId/v1":"df2bd238c06172f641cd0ee714c6181ca9a46464f8123141446348aff868c485"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO Windows to Windows CI. The CpuShares part could be ported. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"integration-cli/docker_api_containers_test.go"},"region":{"startLine":591}}}],"partialFingerprints":{"codehealthFindingId/v1":"b13e830739ae74874563eee0d7f53927603e9a9b7994e500faf0e3d14f2bcaee"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO Windows: Port once memory is 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":"integration-cli/docker_api_containers_test.go"},"region":{"startLine":797}}}],"partialFingerprints":{"codehealthFindingId/v1":"47254119d3c8318416e5b8e1a14d488c4cef2897ee265e3bd92daf936cd919a3"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO Windows: Port once memory is 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":"integration-cli/docker_deprecated_api_v124_test.go"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"99fde9dff1adbd52c6cc2e12119652c7b5024bd4ea79a36f975763e7e743aaf4"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(tibor): figure out why this doesn\u0027t work on windows \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"integration-cli/docker_api_containers_test.go"},"region":{"startLine":899}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fd6148451d8dc5962ff450966f38fba9bf1af0a5521aac25afb03ae7cb76aba"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME(vdemeester) fails into e2e, migrate to integration/container anyway \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"integration-cli/docker_api_containers_test.go"},"region":{"startLine":1606}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f987ad125dbdbfc796ca12fc6b9df2e4ad6ff488f839f24764bd5a5944c31bb"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO add checks for statuscode returned by 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":"integration-cli/docker_api_containers_test.go"},"region":{"startLine":1847}}}],"partialFingerprints":{"codehealthFindingId/v1":"b33135d5af698cac6abe6157810b132fa6d1cb0fc09d91fcb6090a73652d2da5"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: @runcom incomplete tests, why old integration tests had this headers \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"integration-cli/docker_api_test.go"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8b4e92fcf35aa4f344abd1ad7707331d311887b8807feec13e6ceefd9b08379"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Figure out how to get this running again reliable on Windows. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"integration-cli/docker_cli_attach_test.go"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"de7e2aea58c8d0653144e6a6b659c4a6f58c58a7fe5a7f84926b00d3ce21f57f"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME(vdemeester) why we disabled cache 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":"integration-cli/docker_cli_build_test.go"},"region":{"startLine":344}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a87896ed2df7cb6eb0c55377be4504fa197f07642e3e4daab2c1047a4b531d9"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME(vdemeester) why we disabled cache 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":"integration-cli/docker_cli_build_test.go"},"region":{"startLine":361}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb899ed832e14f8d1282390f049b71f30a38e8c6870230196cc50ca5004d4e60"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // Temporary fix for #30890. TODO: figure out what"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"integration-cli/docker_cli_build_test.go"},"region":{"startLine":399}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cd8dfa53976d0fab3de9e510e96e03f80d377bd862aff4587d56011a5d82cc8"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO Windows. Needs a follow-up PR to 22181 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":"integration-cli/docker_cli_build_test.go"},"region":{"startLine":1348}}}],"partialFingerprints":{"codehealthFindingId/v1":"702c46b88f1ade69e498f57817a75f3d30107018d78328a9f9187e905c074765"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME(vdemeester) should be unit 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":"integration-cli/docker_cli_build_test.go"},"region":{"startLine":1438}}}],"partialFingerprints":{"codehealthFindingId/v1":"98e09f52d7a225aec98b9df75d9ca6d09703c6546866f50fe1b2a52fa4fe5c3f"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME(vdemeester) this really seems to test the same thing as before (TestBuildAddMultipleLocalFileWithAndWithoutCache) \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"integration-cli/docker_cli_build_test.go"},"region":{"startLine":1904}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa30843dbf7d3f871a3320360a35a0542b5f59bd25b0028807a025a98ce887df"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME(vdemeester) this really seems to test the same thing as before (combined) \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"integration-cli/docker_cli_build_test.go"},"region":{"startLine":1991}}}],"partialFingerprints":{"codehealthFindingId/v1":"97e6d6884f8b0251c4040f24aa952bdce385df9bc3fb8f9806f026e754bf2df6"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME(vdemeester) migrate to docker/cli e2e \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"integration-cli/docker_cli_build_test.go"},"region":{"startLine":2062}}}],"partialFingerprints":{"codehealthFindingId/v1":"f13e17141b1df6a3e09641dce8f3002bff5bb7731a45e8d8b69700ffc5449381"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME(vdemeester) migrate to docker/cli tests (unit or e2e) \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"integration-cli/docker_cli_build_test.go"},"region":{"startLine":2082}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e1d3a6aa0818463da2f660802ad669be3ec14ef018c92fd7aaa09a8605c340a"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME(vdemeester) why twice ? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"integration-cli/docker_cli_build_test.go"},"region":{"startLine":2391}}}],"partialFingerprints":{"codehealthFindingId/v1":"e94d9eddd543e519547b430ea733d296df98f7b68103507bc0beae0a9a171df7"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME(vdemeester) why twice ? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"integration-cli/docker_cli_build_test.go"},"region":{"startLine":2411}}}],"partialFingerprints":{"codehealthFindingId/v1":"56e02c5bb453e0f8c1bfdbee35864293ddcfd41b6b5f020b494fa25b22db9ae5"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME(vdemeester) rename this test (and probably \u0022merge\u0022 it with the one below TestBuildEnvUsage2) \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"integration-cli/docker_cli_build_test.go"},"region":{"startLine":2701}}}],"partialFingerprints":{"codehealthFindingId/v1":"03181c0a12497f6b7c2568a316ea0212f2a6dbbe91ae01fb224b3fd08aafbc01"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME(vdemeester) rename this test (and probably \u0022merge\u0022 it with the one above TestBuildEnvUsage) \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"integration-cli/docker_cli_build_test.go"},"region":{"startLine":2732}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2494b0f126824b2f883892b0fe17ad5a6f1d2f903a6c785ae680ac6c6306608"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME(vdemeester) most of the from git tests could be moved to \u0060docker/cli\u0060 e2e 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":"integration-cli/docker_cli_build_test.go"},"region":{"startLine":3037}}}],"partialFingerprints":{"codehealthFindingId/v1":"751e91d4c8dbf2a6da9663b6a5f91e2a7f64de300144c44437b92d6514c4be1b"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME(vdemeester) should be a unit 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":"integration-cli/docker_cli_build_test.go"},"region":{"startLine":3181}}}],"partialFingerprints":{"codehealthFindingId/v1":"80f83e441b46194ad6ea5c0101e7c32531142aed379119112aaa084733f89a0f"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME(vdemeester) should be a unit 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":"integration-cli/docker_cli_build_test.go"},"region":{"startLine":3783}}}],"partialFingerprints":{"codehealthFindingId/v1":"20de7ff673ff6018a76236d87c9ffe0741c0428f799c1b7efa065ac688517fb1"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME(vdemeester) should be a unit 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":"integration-cli/docker_cli_build_test.go"},"region":{"startLine":3878}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6a2411a357e04494e7db58907c2c12b9fd08e4a0928ae52e0b70bb596d15fcf"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME(vdemeester) should be a unit 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":"integration-cli/docker_cli_build_test.go"},"region":{"startLine":6083}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b00a06feede3d58e04fc1aac520801a58f5b3f830d38b4404bf69ce49dd2c53"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME(vdemeester) should be a unit 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":"integration-cli/docker_cli_build_test.go"},"region":{"startLine":6094}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7fee49317ffb486c2ca9e9ae8d11d03ff09932136a1ce1d2481c05828029341"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME(vdemeester) should be a unit 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":"integration-cli/docker_cli_build_test.go"},"region":{"startLine":6108}}}],"partialFingerprints":{"codehealthFindingId/v1":"17f50bfb650721636eb03c53d8d741512b8bad06449fc53d31acfe1939ffc8e8"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME(vdemeester) should be a unit 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":"integration-cli/docker_cli_build_test.go"},"region":{"startLine":6125}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b678f6824b698cc624ca862e5d716e2764833bd330e108c9cc87b8ae49c80af"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME(vdemeester) should be a unit 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":"integration-cli/docker_cli_run_test.go"},"region":{"startLine":3665}}}],"partialFingerprints":{"codehealthFindingId/v1":"daedc36f7b31936f002129ec6dc1edda2d20913139625bcc4b8d8833b87463bc"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME(vdemeester) should be a unit 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":"integration-cli/docker_cli_run_test.go"},"region":{"startLine":3674}}}],"partialFingerprints":{"codehealthFindingId/v1":"aaa575932aea2bd4c2b68144bf6a514b69db50d20667ad89fcc48f9c6c8d9a00"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME(vdemeester) port to docker/cli e2e tests (api tests should test suppressOutput option though) \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"integration-cli/docker_cli_build_test.go"},"region":{"startLine":3417}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1304f7c082d201b92ed6c6d0408bb4ad39d0e98ece5d2f03aa151be3539cde4"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME(vdemeester) migrate to docker/cli 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":"integration-cli/docker_cli_build_test.go"},"region":{"startLine":3467}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f22759b8a0c550bec4f66a4235d6a812768767dd533dc20cc8b72d405c49358"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME(vdemeester) migrate to docker/cli 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":"integration-cli/docker_cli_build_test.go"},"region":{"startLine":3488}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f725981b0a74fbb4798822c5829ea2c304fe1badae6652b9f233e4cdb4adbe1"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME(vdemeester) migrate to docker/cli 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":"integration-cli/docker_cli_build_test.go"},"region":{"startLine":3516}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6dcb498eb68d0f3c18f5b42fd401212211dcf0e7491af115d2f821b926a4b33"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME(vdemeester) migrate to docker/cli 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":"integration-cli/docker_cli_build_test.go"},"region":{"startLine":3546}}}],"partialFingerprints":{"codehealthFindingId/v1":"71d0534510af3046641864b16fda47c3772a5c8ed828662f3357ac4ddefac906"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(vdemeester) with cobra, stdout has a carriage return too much so this test should not check stdout \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"integration-cli/docker_cli_build_test.go"},"region":{"startLine":3520}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d07f6ddfeeba986dfb3e18636ad91c11bba73604ecca50f3831f1c568d22cbf"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO Windows: Issue #20127"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"integration-cli/docker_cli_build_test.go"},"region":{"startLine":3666}}}],"partialFingerprints":{"codehealthFindingId/v1":"40fda8201074b7ad8064525c7ab284395e9369f6493ea3018c26cfb3a6694f6a"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME(vdemeester) should migrate to docker/cli 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":"integration-cli/docker_cli_build_test.go"},"region":{"startLine":3715}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7f1fbd61a1a8e5e6a984f659878286868a0cf17300f9553e5540f114fa1bf49"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME(vdemeester) should migrate to docker/cli 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":"integration-cli/docker_cli_build_test.go"},"region":{"startLine":3741}}}],"partialFingerprints":{"codehealthFindingId/v1":"128c95bf68d69366477105be2cb7bef8bfdc352e9e24109dd9cc7ef4a780ffb9"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME(vdemeester) should migrate to docker/cli 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":"integration-cli/docker_cli_build_test.go"},"region":{"startLine":4887}}}],"partialFingerprints":{"codehealthFindingId/v1":"c394be035bd25eb312792ba51ed8bcfae274fcea3fe43e533d217c9359a88060"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME(vdemeester) should migrate to docker/cli 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":"integration-cli/docker_cli_build_test.go"},"region":{"startLine":6158}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1350a533c60bd8da98a4ca6654372b41f43913cbac0058fa47a4b3fbcb47658"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME(vdemeester) should migrate to docker/cli 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":"integration-cli/docker_cli_build_test.go"},"region":{"startLine":6183}}}],"partialFingerprints":{"codehealthFindingId/v1":"facb4910ed6d3b02038c51a05a2c4dd6a536119f46182a74daa2c2d027d94e52"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO Windows: This test is flaky; no idea why \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"integration-cli/docker_cli_build_test.go"},"region":{"startLine":3743}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e586904b46079ebfbe942cc73dd39646172ecb5f5f9520623a763684498409a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO Windows: This should error out \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"integration-cli/docker_cli_build_test.go"},"region":{"startLine":3867}}}],"partialFingerprints":{"codehealthFindingId/v1":"2008bcc3c329177090e4d4ec50ee57ed05c6c2308b6b37d224f7acca2859dbd5"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME(vdemeester) could be a unit 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":"integration-cli/docker_cli_build_test.go"},"region":{"startLine":3988}}}],"partialFingerprints":{"codehealthFindingId/v1":"38662fcbbfb3f0c6405986b47c545ee49be28e0f33b84bbb99b6a4eeb287aa7f"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME(vdemeester) could be a unit 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":"integration-cli/docker_cli_build_test.go"},"region":{"startLine":4005}}}],"partialFingerprints":{"codehealthFindingId/v1":"86b5ebd645f35bf9a387f7b1a72d941b3ebe0b4c01545b2a95279568e8650217"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME(vdemeester) might be useful to merge with the one above ? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"integration-cli/docker_cli_build_test.go"},"region":{"startLine":4278}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a08e7aef8a5ebdb8a0e4a863c937ae5a1ed3dba2b05f67f47aa36673e960d52"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO Windows: Figure out why this test is flakey on TP5. If you add \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"integration-cli/docker_cli_build_test.go"},"region":{"startLine":5139}}}],"partialFingerprints":{"codehealthFindingId/v1":"c42d7540f7aff75fcb8cddecf92546021e70ab72518e66472120fb0b375f04a9"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(buildkit): this test needs to be rewritten for buildkit. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"integration-cli/docker_cli_build_unix_test.go"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"6aada51566e5a3f34794ef525139ac48877af4579f0dcedd4f2c63d7ddd438d5"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: move to docker/cli and/or integration/container/copy_test.go \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"integration-cli/docker_cli_cp_from_container_test.go"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d1c6f0988f40e1077a12b74682c080ee6a3d2a8fcb4348a771f8c6b276c42ab"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: rewrite this test to not use \u0060docker cp\u0060 for verifying that the WORKDIR was created \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"integration-cli/docker_cli_create_test.go"},"region":{"startLine":291}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddb4b727d6b412dcc749bddfc5614f29f29ed7583706f2333fcc64e8d6f36c5e"}},{"ruleId":"D17","level":"warning","message":{"text":"HackComment: // Hack to get the right IPv6 address on balena0, which has already been created \u2014 a workaround marked in source: record what it is compensating for and what would allow its removal (the upstream fix, the API it is waiting on, the invariant it restores), so the next reader can judge whether it is still needed rather than rediscovering why it is there."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"integration-cli/docker_cli_daemon_test.go"},"region":{"startLine":1540}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d9046958c395bab68443abf0ab1de4f3ef52baf101a3db1bacd786dd4486f9b"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME(vdemeester) Use a new daemon instance instead of the Suite one \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"integration-cli/docker_cli_daemon_test.go"},"region":{"startLine":1658}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfb9421f5e05b32ae4676740bb79cad52b7fab7db60b6c5e6047624aa3ef71b2"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME(vdemeester) Use a new daemon instance instead of the Suite one \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"integration-cli/docker_cli_daemon_test.go"},"region":{"startLine":1669}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec0bb87c972baeee0d0cd0502abe869b1b4fee6c9894da7349f2794abf6e6d7b"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME(vdemeester) should we check it doesn\u0027t error out ? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"integration-cli/docker_cli_daemon_test.go"},"region":{"startLine":1994}}}],"partialFingerprints":{"codehealthFindingId/v1":"09b9879f32cf9a6feb7dffae6ebad8647ca806facd2c9bfb8789251f0723b039"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO Windows: Enable this test once pull and reliable image names are available \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"integration-cli/docker_cli_events_test.go"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e6f7e0d1bd492498c6e3f2146a8e00be573c0207d1aa29bc7456e0aa5ffb09c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO Windows CI. This should be portable once export/import are \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"integration-cli/docker_cli_events_test.go"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb1ff22193e377222a85b59e175e0eb56fd58265ac3aa000766733f1efeb805b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO Windows CI: Figure out why this test fails intermittently (TP5). \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"integration-cli/docker_cli_events_test.go"},"region":{"startLine":473}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1d6ca24a1934f07e709a1ff15c2adca35d025d671553d6ac356d422aa0502af"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME(vdemeester) fails on e2e run \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"integration-cli/docker_cli_events_test.go"},"region":{"startLine":558}}}],"partialFingerprints":{"codehealthFindingId/v1":"0974681dd4024af775bda7ccc4d2afacd0539825178bb9725d652a9faef5b851"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO Windows CI: DockerDaemonSuite doesn\u0027t run on Windows, and requires a little work to get this ported. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"integration-cli/docker_cli_exec_test.go"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"430cba6c82d6249ea5d387f8201b6c027016cb3a9e6c1d372524cd703179b1e9"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO Windows CI: This one is interesting and may just end up being a feature \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"integration-cli/docker_cli_exec_test.go"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"776f2b4d79eec21b3f97dab539a6e3c24ead7aaaa19685a9308006f061006303"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO Windows CI: This requires some work to port to Windows. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"integration-cli/docker_cli_exec_test.go"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"c93038793d484dd93054474cc685071caa34815b802c7dc4ef8e3075318c01ca"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME(vdemeester) this should be a unit tests on cli/command/container package \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"integration-cli/docker_cli_exec_test.go"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"0462642107968f1ef7e0a894b2e9850585ac3ad089560bd620ccfbfb5c058167"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO Windows CI: Requires some extra work. Consider copying 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":"integration-cli/docker_cli_exec_test.go"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b87d2af49e486c6e9e98aaa81b7bb8485c20d8b1b20bf86b7386ef4dba0a384"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO Windows CI: Requires some extra work. Consider copying 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":"integration-cli/docker_cli_exec_test.go"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"5372456e74164f9b0ddddab20869b6704a1e023071d615833ab85be451e1fdd4"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO Windows CI: This may be fixable in the future once Windows \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"integration-cli/docker_cli_exec_test.go"},"region":{"startLine":436}}}],"partialFingerprints":{"codehealthFindingId/v1":"564bf1daecdb6943764a4bfeaef1795c7005f97f995972940643b87e36a1bf31"}},{"ruleId":"D17","level":"warning","message":{"text":"HackComment: // hack used to trigger a null volume return on \u0060Get\u0060 \u2014 a workaround marked in source: record what it is compensating for and what would allow its removal (the upstream fix, the API it is waiting on, the invariant it restores), so the next reader can judge whether it is still needed rather than rediscovering why it is there."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"integration-cli/docker_cli_external_volume_driver_test.go"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"bed69481f1c6b29445271fdd5c5cf11a25bc1ac9fdaedfe392438c3408c90a02"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(@cpuguy83): This test is testing internal implementation. In all the cases here, there may not even be a path available because the volume is not even mounted. Consider removing this 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":"integration-cli/docker_cli_external_volume_driver_test.go"},"region":{"startLine":536}}}],"partialFingerprints":{"codehealthFindingId/v1":"3575316212bf1d4cb5542f0e2e922518c3bf9be96a349f5e8e6cd53109880c6d"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME(vdemeester) should be a unit test on \u0060docker image ls\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":"integration-cli/docker_cli_images_test.go"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cad55409e27be577e65762a12dfd20141a485e35f0e874ea9d9ca0753781507"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME(vdemeester) should be a unit test for \u0060docker image ls\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":"integration-cli/docker_cli_images_test.go"},"region":{"startLine":265}}}],"partialFingerprints":{"codehealthFindingId/v1":"2eb3327098093db4dce9f12c5759c31a5cfe3729d751f86e0e6d45c501cdc3fa"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO Windows: Needs investigation why this fails. Obtained string 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":"integration-cli/docker_cli_logs_test.go"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"18b4243d10b529ec5ad563d02bb103dec54ca97f53dafd6d0a2752a20f805379"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO Windows TP5 - Figure out why this test is so flakey. Disabled 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":"integration-cli/docker_cli_logs_test.go"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a95fbf80412b49cad86714e0fac734064cddc37b2b11cb29d0973a119dc3bc9"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO Windows: Fix this test for TP5. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"integration-cli/docker_cli_logs_test.go"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"7dca313c633a5e3bdf5c0ea8cae09b336469677b5c9a7026b8cc7b1d5dfd2c41"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO Flaky on  Windows CI [both RS1 and RS5] \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"integration-cli/docker_cli_ps_test.go"},"region":{"startLine":453}}}],"partialFingerprints":{"codehealthFindingId/v1":"372e69eef8a1416f84b5275e5d736499c8cd5439a43d4bcad5be088cfecd761e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO Investigate further why this fails on Windows to Windows CI \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"integration-cli/docker_cli_ps_test.go"},"region":{"startLine":484}}}],"partialFingerprints":{"codehealthFindingId/v1":"038320eb4fdc72681feb1066c396331d1e90f7a25e4180cad60d267515711eee"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Investigate why this fails on Windows to Windows CI further. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"integration-cli/docker_cli_ps_test.go"},"region":{"startLine":551}}}],"partialFingerprints":{"codehealthFindingId/v1":"6da85579d128b90e06f39b4c39fe4644e1ba671c0085d5eb361f0f9cb63c2442"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO default network on Windows is not called \u0022bridge\u0022, and creating 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":"integration-cli/docker_cli_ps_test.go"},"region":{"startLine":715}}}],"partialFingerprints":{"codehealthFindingId/v1":"7af8dcb5e119d96dd366a04c908b1fbe85ff68e663b760279e27e7cc64f85211"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: isolate test so that it can be guaranteed that the 503 will trigger xfer retries \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"integration-cli/docker_cli_push_test.go"},"region":{"startLine":308}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8d640ba6378727138ce537069bdac61986e6dbaae72d08cc705eea78c8c8e36"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO Windows. This may be portable following HNS integration post TP5. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"integration-cli/docker_cli_restart_test.go"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"4327904cbfcfe649ba314dee1aaf7b0b7fdf6c4f570545ea334985985d9b3276"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO Windows: This needs some work to make compatible. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"integration-cli/docker_cli_run_test.go"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"a370b7389d51316830c5e14ab12095c62c0a06b55ffc7d286d1939d34ee5a692"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO Windows: This test cannot run on a Windows daemon as the networking \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"integration-cli/docker_cli_run_test.go"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3ba423380c5ba053b4b55d8a8d07962247d58df7fd9e8b38cf08a8e1affc091"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO Windows: This test cannot run on a Windows daemon as the networking \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"integration-cli/docker_cli_run_test.go"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"299836d1cb87779304a890334598d436e7f4d3f91ec05de8775c8c0c436b7986"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO Windows: This test cannot run on a Windows daemon as Windows does \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"integration-cli/docker_cli_run_test.go"},"region":{"startLine":726}}}],"partialFingerprints":{"codehealthFindingId/v1":"327ca96db8b47883bf97bd4ce14b3faae0092194e164833146ef989c6c687d14"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO Windows: This test cannot run on a Windows daemon as Windows does \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"integration-cli/docker_cli_run_test.go"},"region":{"startLine":736}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cd73663d5becd2e9ba854bd60fac739f3c52a3d54fb5f67266eef1cd23054e0"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO Windows: This test cannot run on a Windows daemon as Windows does \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"integration-cli/docker_cli_run_test.go"},"region":{"startLine":746}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c4a93600ba8f74803c9849048445d11a3cddcfa7899f08d79033fb47f5b23f9"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO Windows: This test cannot run on a Windows daemon as Windows does \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"integration-cli/docker_cli_run_test.go"},"region":{"startLine":759}}}],"partialFingerprints":{"codehealthFindingId/v1":"60473e4eb889d488b3465d976187668fcc4435f0358191d3fc2d7d0c9a7bb5fe"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO Windows: This test cannot run on a Windows daemon as Windows does \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"integration-cli/docker_cli_run_test.go"},"region":{"startLine":772}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fddbe3944e2bf17674f697fedd1c03c267282b6f7c7a269ffaf63b4c494ef2e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO Windows: This test cannot run on a Windows daemon as Windows does \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"integration-cli/docker_cli_run_test.go"},"region":{"startLine":785}}}],"partialFingerprints":{"codehealthFindingId/v1":"eab230b75b68a859529341ef04ac99f240580eb0caf4863d57c8c0057a05d7f1"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO Windows: Environment handling is different between Linux 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":"integration-cli/docker_cli_run_test.go"},"region":{"startLine":817}}}],"partialFingerprints":{"codehealthFindingId/v1":"3540b61d9d34329b669b6d2c5c7c3ac83bd241135800407e3ff3ecd383669339"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO Windows: Environment handling is different between Linux 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":"integration-cli/docker_cli_run_test.go"},"region":{"startLine":856}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0617a3dfecc07df7c0bb18f3b75a4c113fe1ddca6ae4e7dc3cbbde5cbc058f4"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO Windows: Environment handling is different between Linux 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":"integration-cli/docker_cli_run_test.go"},"region":{"startLine":889}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9f75a30390b68774add9dd266f5c442a9e35804ee1d0f87dec735996cf5883c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO Windows: This is Linux specific as --link is not supported 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":"integration-cli/docker_cli_run_test.go"},"region":{"startLine":931}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4fbc6f7d7bed8ef4acfa143ca248cdb1c77e68f7d730d3adaf5700a7416e2e1"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO Windows: -h is not yet functional. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"integration-cli/docker_cli_run_test.go"},"region":{"startLine":948}}}],"partialFingerprints":{"codehealthFindingId/v1":"e700347537224ddac453b8d5b104e9120e5d745605c24919be765330febca2cd"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: NotUserNamespace could be removed here if \u0022root\u0022 \u0022root\u0022 is replaced w user \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"integration-cli/docker_cli_run_test.go"},"region":{"startLine":1142}}}],"partialFingerprints":{"codehealthFindingId/v1":"6034f2d39df663b1c06acb0ca14901aff545e7da0063d59627ac98ec9cf64e93"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO Windows: This needs some rework as Windows busybox does not support top \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"integration-cli/docker_cli_run_test.go"},"region":{"startLine":1621}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cd547c8212103a4cc92004f7170ce83a9574bd636dc1d433bfbd1f0714076da"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO Windows, post RS1. Windows does not yet support volume functionality \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"integration-cli/docker_cli_run_test.go"},"region":{"startLine":1676}}}],"partialFingerprints":{"codehealthFindingId/v1":"94c969449c8b173b29016dc2788d2b2bc4415f789910150f1dfcc03a4b7d990d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO Windows. Network settings are not propagated back to inspect. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"integration-cli/docker_cli_run_test.go"},"region":{"startLine":1995}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6c2941ac48de93ec2c55e45f0d673f580aea07dfeb7d98d99fdfc83be4aaebb"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO Windows. Network settings are not propagated back to inspect. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"integration-cli/docker_cli_run_test.go"},"region":{"startLine":2017}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fbe1729a0643618d2eaf22360c6d0c4c818ceb55f45b5c03f7147ba03447d66"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO Windows. The duplicate NAT message returned by Windows will be \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"integration-cli/docker_cli_run_test.go"},"region":{"startLine":2033}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c789c7de93f5a348ad6b1da65265b6eee274a684887e6e40a26a2a3b105904e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO Windows. -P is not yet 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":"integration-cli/docker_cli_run_test.go"},"region":{"startLine":2052}}}],"partialFingerprints":{"codehealthFindingId/v1":"fade82681b8e588fc7c837bbd6787fd39a872c87978eb01b77eb8844d594fce4"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO Windows: Post RS1. Windows does not support nested mounts. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"integration-cli/docker_cli_run_test.go"},"region":{"startLine":2072}}}],"partialFingerprints":{"codehealthFindingId/v1":"c33f70db23e4efeca983687071a372f2c2b6c6d2095761873e623dabd0034e1a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO Windows (Post RS1). Windows does not support volumes which \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"integration-cli/docker_cli_run_test.go"},"region":{"startLine":2164}}}],"partialFingerprints":{"codehealthFindingId/v1":"8adcc8297df38ab2c30ae796312fc7965befc2ee4b3ee5ea8b794105b234a1b0"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO Windows: This should be able to run on Windows if can find an \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"integration-cli/docker_cli_run_test.go"},"region":{"startLine":2228}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ebe560d449b07b71d33ad3b8ea4fb40da8330fe1e68ad30bf0f4857c5a4a1b3"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO Windows: -P is not currently supported. Also network \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"integration-cli/docker_cli_run_test.go"},"region":{"startLine":2256}}}],"partialFingerprints":{"codehealthFindingId/v1":"dafee1bd570a8643a82a2d06f0331a890494c511675df89fc4545381941d05ac"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO Windows. Once moved to libnetwork/CNM, this may be able to be \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"integration-cli/docker_cli_run_test.go"},"region":{"startLine":2462}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5120789ffabca0af0e164a3f3fd2bf76876ed479d72c094bc0b202c4fccb26c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO Windows. As Windows networking evolves and converges towards \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"integration-cli/docker_cli_run_test.go"},"region":{"startLine":2562}}}],"partialFingerprints":{"codehealthFindingId/v1":"e41fbd8426d2ad24a134b5da7e5848b13e63be5fca5e38847e62ac0e4beb55d3"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO Windows. This may be possible to enable in the future. However, \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"integration-cli/docker_cli_run_test.go"},"region":{"startLine":2589}}}],"partialFingerprints":{"codehealthFindingId/v1":"6dcbab5ff69fc690ea2454748aa71875017cb7433811d16a3f50b8e12b9d72e8"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO Windows. This may be possible to enable once Windows supports memory limits on containers \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"integration-cli/docker_cli_run_test.go"},"region":{"startLine":2798}}}],"partialFingerprints":{"codehealthFindingId/v1":"f64678e288c0c997bb579f27054547f27c715f0236298f0b78d9eb9ef51f4f01"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO Windows: This may be possible once Windows moves to libnetwork and CNM \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"integration-cli/docker_cli_run_test.go"},"region":{"startLine":2950}}}],"partialFingerprints":{"codehealthFindingId/v1":"63340d6d9b25c2616dc295eba7e37b3ccff6556525f31bf3498bf2d1de74c0d8"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO Windows. This may be possible to enable once link is 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":"integration-cli/docker_cli_run_test.go"},"region":{"startLine":3173}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fd5b74eaf1023004e475cf2450158504cf2d1240a17b1477667232750fff39a"}},{"ruleId":"D17","level":"warning","message":{"text":"XxxComment: // XXX: This may include a daemon crash. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"integration-cli/docker_cli_run_test.go"},"region":{"startLine":3256}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9d9d6f78a76ad4289a618879fcd1d849d6520e6258e290acf6742779782c662"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO Windows: This may be possible to convert. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"integration-cli/docker_cli_run_test.go"},"region":{"startLine":3360}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6fe3afcd6b85d1190d7df2e7192f96866b7f050fd1cb0f77a0cf6e11dd95075"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO Windows: Network settings are not currently propagated. This may \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"integration-cli/docker_cli_run_test.go"},"region":{"startLine":3407}}}],"partialFingerprints":{"codehealthFindingId/v1":"489550038ed2017bd06a0284a7c74990c4b3767e3fc7c15239b373a7226d3fee"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO Windows: This needs validation (error out) in the daemon. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"integration-cli/docker_cli_run_test.go"},"region":{"startLine":3610}}}],"partialFingerprints":{"codehealthFindingId/v1":"35f16f8010e4be6f2bb79707b6b69c93c7fe4d3580a31d2c8be25a5bf87a36db"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO Windows: This needs validation (error out) in the daemon. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"integration-cli/docker_cli_run_test.go"},"region":{"startLine":3621}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6229f4329b2e23fba4819b0e70b57e57c109c2a80c8d4c4f7b00c37c51f2894"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO Windows Post TP5. Fix the error message string \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"integration-cli/docker_cli_run_test.go"},"region":{"startLine":3845}}}],"partialFingerprints":{"codehealthFindingId/v1":"58dff929937c8299d3930769148ee870d6fe028452e0d06fe63712ccbe83be0a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(thaJeztah): migrate this test to docker/cli, and run on Windows as well (using USERPROFILE for home-dir) \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"integration-cli/docker_cli_run_unix_test.go"},"region":{"startLine":254}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb9f83031be8514df162d9e96870001baa0a9923d0747fa96bf522b048788795"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(thaJeztah): migrate this test to docker/cli, and run on Windows as well (using USERPROFILE for home-dir) \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"integration-cli/docker_cli_run_unix_test.go"},"region":{"startLine":335}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0077dcbb17940b894ea9278b137defa749d8ea7cb91aba4495937df1a26a04c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO Windows (Post TP5): This test cannot run on a Windows daemon as \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"integration-cli/docker_cli_run_unix_test.go"},"region":{"startLine":799}}}],"partialFingerprints":{"codehealthFindingId/v1":"418001c2656ea80945059ad3c6af76e513db19d10101f4808ae70c2b911b1750"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO test that root user can drop default capability CAP_FOWNER \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"integration-cli/docker_cli_run_unix_test.go"},"region":{"startLine":1187}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c6067a956e3da28de9845b333279a6b7f913c922f4dec567290a9362e002374"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO CAP_KILL \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"integration-cli/docker_cli_run_unix_test.go"},"region":{"startLine":1190}}}],"partialFingerprints":{"codehealthFindingId/v1":"4487a6fb7016c01b090888ff9626a70523b6e6608bfa3f08eaeae58d2753fabd"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO CAP_SETPCAP \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"integration-cli/docker_cli_run_unix_test.go"},"region":{"startLine":1228}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c064731ed263bd99ecd11f537f5604f725c80d6c4f881b470d3a38a958b3026"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO CAP_AUDIT_WRITE \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"integration-cli/docker_cli_run_unix_test.go"},"region":{"startLine":1322}}}],"partialFingerprints":{"codehealthFindingId/v1":"10fe8cdbc8b303ae80163b86ff4e78a921a68a67cd7fbbf5760cda9ad1d4071d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO CAP_SETFCAP \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"integration-cli/docker_cli_run_unix_test.go"},"region":{"startLine":1323}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8f55ccded48d7f583a4733733a560ac9b5031dbbd4b948149fbd68f159c4412"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(vvoland): Create an OCI image with 0 bytes layer. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"integration-cli/docker_cli_save_load_test.go"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9c71d3d6e959cc1dd3a071bc71fa512064fea45d544869dd3711575e99fc166"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(vvoland): https://github.com/moby/moby/issues/43910"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"integration-cli/docker_cli_save_load_unix_test.go"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"67e3823cea9048926fe42d3221f7f5ba0428d619501e8a3fa64889b8c3ca3218"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO Windows CI: Requires further porting work. Should be possible. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"integration-cli/docker_cli_start_test.go"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"615854a0f477e8bad6a4735dc2f2f85c70b56f9706e5719cc7645a8afaf56ef1"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME(vdemeester) the intent is not clear and potentially racey \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"integration-cli/docker_cli_start_test.go"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc4cb2bb9186b2cdaf132c26ed90f4026165a540694c1517fa58e63d9da6e12c"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME(vdemeester) should be a unit test in cli/command/volume package \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"integration-cli/docker_cli_volume_test.go"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c746e0ac2b301851b7572743e859248499e631e4a49e080e8cc1ebc949bb8a7"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO Windows CI: Investigate further why this fails on Windows to Windows CI. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"integration-cli/docker_deprecated_api_v124_test.go"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"15bfa5031eb504bb06ea4f0f6983ccc942f495f68a7b641b93f4773ad445f335"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO Windows to Windows CI - Port this \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"integration-cli/docker_deprecated_api_v124_test.go"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a28bbdda5ab3647ab338640f75b7d4f1eb342f5e127c782d67ca3f8912cb703"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO Windows to Windows CI - Port this \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"integration-cli/docker_deprecated_api_v124_test.go"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea286821a52ccef9227aba5b3bf71661180f68415804f99f854e92e8dbc8ac1e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO Windows to Windows CI - Port this \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"integration-cli/docker_deprecated_api_v124_test.go"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2e6d7e989fea61787c9ddfe29d94a31c348ad0455f3e94971f04fd403d60416"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO Windows: Windows doesn\u0027t support supplying a hostconfig on start. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"integration-cli/docker_deprecated_api_v124_test.go"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"324bf9d94c3ecf18a1018f2bde54a719c451fce838c3206d9e2e1c93bdf8ebb8"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO Windows: Windows doesn\u0027t support supplying a hostconfig on start. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"integration-cli/docker_deprecated_api_v124_test.go"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac84cc24c60d512bed4e70dad503cdc27e1a9c50332581adedd40c65a13bb5cd"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO Windows: Add once DNS is 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":"integration-cli/docker_deprecated_api_v124_test.go"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdc2a452785239c6efeea08d426441a6bdaad3ae0982460d49577b718e831dbb"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: update code to call cmd.RunCmd directly, and remove this function \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"integration-cli/utils_test.go"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"910e9fca48071c35b6737bc0d8beeaf5aefddf85ff97f75d01e8b27be3b4ac31"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: why doesn\u0027t this use os.TempDir() ? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"integration-cli/utils_test.go"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"2af02b226cfaf19d1e9e11514528497f6835ada5495823e618230df0e122c036"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME(vdemeester) should re-use ActivateContainers in some way \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"integration-cli/daemon/daemon.go"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"49e16e1dec0d20800de6e63535ebe3399c8e498bd2d79fba6eeeadcf4680a5f3"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Investigate https://github.com/moby/moby/issues/47119"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"integration/system/disk_usage_test.go"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5d845d52132d53270e1d7f81f9d3e25552380126b6b1430b868af8d8be794a5"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Run in parallel once https://github.com/moby/moby/pull/42560 is merged."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"integration/system/disk_usage_test.go"},"region":{"startLine":263}}}],"partialFingerprints":{"codehealthFindingId/v1":"c34a0018f3e9875eab3e730bcd000e5c2dd4c734191ad8365971dec144bbbe76"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(thaJeztah): make sure we have other tests that run a local daemon and check other fields based on known 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":"integration/system/info_test.go"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"e426351559726aaa315eafa760c616ba08a16b0da4c2fc8ad4cb322631806537"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO need a stable way to generate event listeners \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"integration/system/info_test.go"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"6eebf051e5045b91cdd40ef0faa8ed9e3e7fdff24538bb2db4fe1644bcd5c856"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(dperny): using strings.Contains for error checking is awful, \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"integration/service/create_test.go"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"afe7077b370cadb7f1a4cd5273c7794a84670500b9c57aaca0f46db227e1e970"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: use helpers from gotest.tools/assert/opt when available \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"integration/service/inspect_test.go"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7ab65b1fd10a1458b1129316ffe63090be9ebc16f33e285c79203288b85bf96"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(@cpuguy83): This is horribly hacky but is the only way to really test this case right 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":"integration/plugin/logging/logging_linux_test.go"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0b802d26890b328329f752375bc776c74cf0cc2d36adbc37a216d7b38795c1d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: test insecure registry with https \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"integration/plugin/common/plugin_test.go"},"region":{"startLine":252}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffe9fbb7f13c0189180ad47dc252d6b6ce91c8e3dba4a2000bc8b484b711f335"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO find out why removing networks is needed; other tests fail if the network is not removed, even though they run on a new daemon. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"integration/network/inspect_test.go"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"c790aeb8c8c057f6a25d7ceb07753f2fcdf37db426736843402d05df65af7071"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME(vdemeester) clean network \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"integration/network/macvlan/macvlan_test.go"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"67aa253d38e367f58d360cccd681e0f81f98eb6084b1bd17e66ea91db4ba934a"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME(vdemeester) clean network \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"integration/network/ipvlan/ipvlan_test.go"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"16e673cb6a5da3073cb3c222fb92953112fb29309c6bb1ede47fa16de7477d5c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO we should not use an error as indication that the tasks are gone. There may be other reasons for an error to occur. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"integration/internal/swarm/states.go"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"911c86555e4443fa935883995e3541be856bb3a9c6e174965cd3f40574ab1520"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: platforms.Normalize() only validates os or arch if a single component is passed, \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"integration/image/import_test.go"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"68ce8dd66e78d60e96fe3512ec4b647b22137c5c289ef6f0ade8e43e29ccf134"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(vvoland): Not sure what\u0027s actually being tested here. Is is still doing anything useful? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"integration/image/tag_test.go"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb16e49bf2514d600224134832f7b62a09f9bfba54936a82e52ffaa5b2ac134f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO probably use gotest.tools/poll \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"integration/hostapp/mobynit_test.go"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"53a21259cd7aae096c8d838c6daa3bdeb7a01dfdb84b047c1a23a7094a2f3ad4"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: This restriction can be relaxed with https://github.com/moby/moby/pull/46158"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"integration/container/cdi_test.go"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ed819d7c7c999f4ddbb7070ecf29ef9cd8c075b7091c8484e66d9d32f6b8b18"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME: ipv6 iptables modules are not uploaded in the test environment \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"integration/container/checkpoint_test.go"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae18f3cfe85ef5772d49cd5bc16a58970f9b38f4ac9fd261b439226b06eb2901"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(thaJeztah) Add utilities to the client to make steps below less complicated. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"integration/container/copy_test.go"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"7039678f9cb3a0d007e4a652c2b6db73f94bd29980a34781708d08604dc71a48"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: This should be using subtests \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"integration/container/create_test.go"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bf3c957840df995437932ced687f2d50932049b464122428548b548c988398b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Once https://github.com/moby/moby/issues/43395 is resolved,"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"integration/container/devices_windows_test.go"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"55e8d9eef0fc332f2ae890590c31e474ad1112675f1b0b1e1ebc7d4fdb4582e7"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO Windows: Windows does not yet support -u (Feb 2016). \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"integration/container/kill_test.go"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"418bbd096ceacd8166e075a9ca0b0a9ae67cda0c445f5383a48c41718983830f"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME(vdemeester) fails on a e2e run on linux... \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"integration/container/logs_test.go"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d4a0d1d6faa6f7bb62d85653cd6fbfe5f00686348d0ccce47e89becd45bff86"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Remove when MinSupportedAPIVersion \u003E= 1.44 \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"integration/container/mounts_linux_test.go"},"region":{"startLine":483}}}],"partialFingerprints":{"codehealthFindingId/v1":"96dc7a6bdd8235e142edd611605e9256cf13d3eb8e7a04da0e24d80a211eb370"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME(vdemeester) this is a really weird behavior as it fails otherwise \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"integration/container/rename_test.go"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"35678d17d82750e4a04295bd2252f8621c0b760aa85555976372c37f0053c0c3"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: should be a unit 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":"integration/container/rename_test.go"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"518e33fbf78dc023983a85b4b4385de83f052fa457dc89c40d4e356677fba748"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(thaJeztah): also check if the resize happened \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"integration/container/resize_test.go"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"29ffb4ba6f1e2b7331be491c092b9f975a3ff3465ef846ef965879595d293a28"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(cpuguy83): test pause states... this seems to be rather undefined currently \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"integration/container/restart_test.go"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"13653e165264eaa87218cdf5b34b6fc1b9b1a972843fa7c63efcc7be038e8b11"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // todo: maybe optional \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"image/fs.go"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"de7d6d601892a0f23fd41a97f4ebfda47a9ec7ad1d2c5662e87261dd42a30bd3"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Load(net.Context, io.ReadCloser, \u003C- chan StatusMessage) 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":"image/image.go"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed629013c4141da00ff91a037c046d4407360bd512886d1fa3e83813c0dae9b5"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // todo: Check if image is in images \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"image/store.go"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"907afa5540c9f745e21b3c0d2b21087f25dcd041dfd91df258466046678efcc2"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // todo: Detect manual insertions and start using them \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"image/store.go"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6d8088402a76a9b48a136a208b92f1545ae133c667e886322833de5ae6a9f67"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // todo: validate? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"image/store.go"},"region":{"startLine":325}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e6eea305364f6e11fab7c3c0142198ad1415832a7d03482fe526d7693b2b762"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME: note that this is slightly incompatible with RootFS logic \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"image/v1/imagev1.go"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"2aee2d272711c4d7f38f6241dca2ba35d35832ec684c8fff8526e5834f5238a2"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // todo: this message is wrong in case of multiple tags \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"image/tarexport/load.go"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"2154ca2f6411dc1d2a13471202022778f0757a8193d6c6a4773ed1cf594a4f71"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // todo: try to connect with migrate 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":"image/tarexport/load.go"},"region":{"startLine":354}}}],"partialFingerprints":{"codehealthFindingId/v1":"16aef2eafe9ff25e5cf496c1920742e676253ffd7b5d715dc4e9fa604a4b6837"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // todo: maybe save layer created timestamp? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"image/tarexport/save.go"},"region":{"startLine":533}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4467db18470576d2fe949a645dded29e9e3b0ce677e13d7bac463826b55d9d5"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // todo: make this format better than join that loses data \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"image/cache/cache.go"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"145e882432ab07dfbc816ae83c96c945ddbe337730071712c9fe9aa275b2e9ad"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // todo: make this format better than join that loses data \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/containerd/cache.go"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"e54d5702d87adfd4f410e555a99b512c688d7edaa3db18af996e11ed703615ef"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Remove once containerd image service directly uses the ImageCache 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":"image/cache/compare.go"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fcf0163d274b2f2c18dcd7d7ba4c8fefa6605962f38f7c07b2ee38b8d977820"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(tiborvass): was ReceiveTimeout \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"distribution/pull_v2.go"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cb850c7da384b5308439ebdfd1feb6bfc0a1dd163fecb80617a92ed46112014"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(tiborvass): should we change the name of \u0060layersDownload\u0060? What about message in WriteStatus? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"distribution/pull_v2.go"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"5913580bd17b8d467914f25648d978bc8d0a6339e3ede292dc953aef028a8b77"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO Windows: Fix this unit text \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"distribution/pull_v2_test.go"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"9081db1d3bcef5714bb0f14b53a64b60bcf975174bd87902cbf69d8d1fb3edb5"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO Windows: Fix this unit text \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"distribution/pull_v2_test.go"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"49ff15b95974b3925a93484b537718add9487ef61e1b7b4554ee4f8a04d713c5"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO Windows: Fix this unit text \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"distribution/xfer/download_test.go"},"region":{"startLine":282}}}],"partialFingerprints":{"codehealthFindingId/v1":"c94f930841aaff11819e45880500d52550869c75a23565e6a2817fbe2d958977"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(thaJeztah): should we also check for the user-provided architecture (if any)? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"distribution/pull_v2_windows.go"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"87d3699379df515d3a04349be1218da3c8f738c1898df5667a80d5e60f6f072a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(thaJeztah): should we also take the user-provided platform into account (if any)? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"distribution/pull_v2_windows.go"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e6d973644c609bb6d2162194b896cfe19a99bd582a7086897fb7a8dab2f1ffa"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Split version by parts and compare \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"distribution/pull_v2_windows.go"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2367e063816b5d4cec2d12c24674c7dd67ff3b7ad7a276a8a44c5adbf3bcc64"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Prefer versions which have a greater version 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":"distribution/pull_v2_windows.go"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"5839c7badd6a26b6ec19fdacd2aac619485ab6cc0803c0d63268f08c114f5d13"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME: Allow to interrupt current push when new push of same image is done. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"distribution/push.go"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9c96ce9e5188d82ac9acfc6754bd4ca3310c7b90639016f3fec15abe3ca8802"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(tiborvass): have push() take a reference to repository \u002B tag, so that the pusher itself is repository-agnostic. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"distribution/push_v2.go"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f1019dd9a4aedd8d0177ac104f8d6d70ff621b2fca22262440d93a09fff7df3"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(dmcgowan): Call close idle connections when complete, use keep alive \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"distribution/registry.go"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"71cb889b0b524e0a3f01fc1729ce03266f5a3db98ae5ae775754d2ae4e61e0a0"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO existing implementations in distribution and builder-next swallow 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":"distribution/xfer/download.go"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cf00bf2025cc6c5b3cccd97cfe889814a29588368450c0bd87e09aecee1930d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO implement a test for DeltaBase \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"distribution/xfer/download_test.go"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"147db6bd9958e47f38de10a77e2f4dff3c46f3837d8f7dbb817b5ac4a26254dc"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: implement in memory 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":"distribution/metadata/v2_metadata_service.go"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1fcaf289c71b2fee84849b3767fe29cb24ceb7938a90bbaf75aacf70d12f5d1"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: implement in memory 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":"distribution/metadata/v2_metadata_service.go"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"f32b89510f21d0d8fce06e35b77d54c84b21f08a2201cf988f8f397b7792988a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // extracting to a mount point inside a volume. TODO Windows: FIXME Post-TP5 \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/archive_windows.go"},"region":{"startLine":341}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ff5c3c483e26a53ee138be467fc20848da7d722913352985d3b60c162b354ef"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME: de-duplicate from 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":"daemon/container.go"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b182f3933ff6e95f76cc22fd13965d89f015fb89c5e81ef024c307ef6f9a468"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO consider returning warnings if \u0022Privileged\u0022 is combined with Capabilities, CapAdd and/or CapDrop \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/container.go"},"region":{"startLine":314}}}],"partialFingerprints":{"codehealthFindingId/v1":"e349db24a34ee6a00d2d64ab10337d97ec7f7ec536df3ac3d4114fdb0bc26868"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(thaJeztah): Move this code to a method on nat.PortSet. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/container_operations.go"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"18a97469b85247cd4aaca28a15260788b3ed8141fa6d5153bcd5a0ae424e077d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(thaJeztah): Move this code to a method on nat.PortSet. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/network.go"},"region":{"startLine":727}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5f1f2344e95bd99d43d07a007a09a986e80aa329cb352883d95af33a1431a9f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(aker): move this into api/types/network/endpoint.go once enableIPOnPredefinedNetwork 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":"daemon/container_operations.go"},"region":{"startLine":535}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a49c8860b4724c73dde946553217f24ca8ec24e5cd4eb4f273ade22dcb06846"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(aker): add a proper multierror.Append \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/container_operations.go"},"region":{"startLine":548}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cb1455d0cdfec1f9b849c39b141f09cc3666e828e4b6c1ce10774833899b866"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(aker): add a proper multierror.Append \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/container_operations.go"},"region":{"startLine":564}}}],"partialFingerprints":{"codehealthFindingId/v1":"de749b2fd6228538728ae500090f9cd3b2c9b6ad7b26f9cf6886b19d3a02bf1b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(thaJeztah): should this fail early if no sandbox was found? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/container_operations.go"},"region":{"startLine":689}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f689b072c0fcd10edf46ad584db73ca81245fc68db80d45704334b86da8b2db"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(aker): transform ID into name when the referenced network is one of the predefined. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/container_operations.go"},"region":{"startLine":858}}}],"partialFingerprints":{"codehealthFindingId/v1":"61db0f7ce9a418627e97c0c3d235ee6ffd976fa50be5d9324b75e837b2e5ab2c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(aker): If we hit this case, the endpoint state won\u0027t be cleaned up (ie. no call to cleanOperationalData). \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/container_operations.go"},"region":{"startLine":929}}}],"partialFingerprints":{"codehealthFindingId/v1":"264acc4b4641177dec6e188467688ec086c5c036fa67ae6577df81de14f0b3e5"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(aker): remove when we make the default bridge network behave like any other network \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/container_operations_unix.go"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2b746d15663b969e78faddf55cfb5effe4be2530606e1f1f042e22b1b11e43d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(aker): remove when we make the default bridge network behave like any other network \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/container_operations_unix.go"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"43f8ad5e893c0cfd3a94ec29c328a8428e9ac17ce073f79b1f5b133bed9f4663"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO (ehazlett): use type switch when more are 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":"daemon/container_operations_windows.go"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"64c52d74f0831c68f60f3be82f17b4e4eb52dd55ff833dee0ad3146d605db0ce"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO (ehazlett): use type switch when more are 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":"daemon/container_operations_windows.go"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"530f4bacb355109c9eaeaecedf71b3632dfa7acf550bd2dc8a9c308aba151c00"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO Windows: Fix Post-TP5. This is a hack to allow docker cp to work \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/container_operations_windows.go"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"8081ae697a4d161df276d5c64c206d58b9994a4d60e679405ff4ec3f380aad1a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(thaJeztah): remove logentries check and migration code in release v26.0.0. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/create.go"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e5009383906ad1e90a4c10c938aa7735e580acecdf5d93861035c50d6c12503"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(thaJeztah): remove logentries check and migration code in release v26.0.0. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/daemon.go"},"region":{"startLine":375}}}],"partialFingerprints":{"codehealthFindingId/v1":"30ac997a6591eafe6f378250e0bac38a5dd42064d28fcc616ecfe3efad16512f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(thaJeztah): remove logentries check and migration code in release v26.0.0. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \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/server/router/swarm/cluster_routes.go"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"2123fbb2fc458875f1aeaad69db2fd6a5e52bc82bdac19e9c307c77bae192b5b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(thaJeztah): remove logentries check and migration code in release v26.0.0. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \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/server/router/swarm/cluster_routes.go"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"68ce80609d001f36dce55dc28a9f48a2e2ca28bf9d831f95700c2caefbfe17d3"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(thaJeztah): we should have a more visible, more canonical location for this. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/create.go"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bb7ea7a02ea9a24f769eee250420c87bb8af9d57a1ffc0a09c9a988061d4199"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME Windows: This code block is present in the Linux version 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":"daemon/create_windows.go"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e12de7612ace6b18fd100700ac48e6eb11ff4e451f7ee5cccf4b23e08ed40f1"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(thaJeztah): this should be called before we try to create the daemon; perhaps together with the config validation. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/daemon.go"},"region":{"startLine":754}}}],"partialFingerprints":{"codehealthFindingId/v1":"19ae1c67e997c43c129856938e5904e808871dd23ffce3a113f14ac9f862eaa9"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(stevvooe): We may need to allow configuration of this on the 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":"daemon/daemon.go"},"region":{"startLine":927}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff3aac076623a991c65fa768b6649753d1cbb4de74f9628b95bd0db0788ae503"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // todo: make private \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/daemon.go"},"region":{"startLine":982}}}],"partialFingerprints":{"codehealthFindingId/v1":"12cd0deee22309c9397ef1596f8cf25d496a535b2e2c1f6bc980e9986d2a2037"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(thaJeztah) add a utility to only collect the CgroupDevicesEnabled 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":"daemon/daemon.go"},"region":{"startLine":1038}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f3353aacf68ac0c6b2ae72892500ac01c3146cc31bddf6a478bef37ce4364fe"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME(thaJeztah): implement automatic snapshotter-selection similar to graph-driver selection; see https://github.com/moby/moby/issues/44076"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/daemon.go"},"region":{"startLine":1084}}}],"partialFingerprints":{"codehealthFindingId/v1":"621cf5c701b2ee8816624cf7ae1a3bce5510360b62e0ee99f10d59f975e346d3"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: imageStore, distributionMetadataStore, and ReferenceStore are only \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/daemon.go"},"region":{"startLine":1191}}}],"partialFingerprints":{"codehealthFindingId/v1":"1de657b23a808b0804d3ab3df78a5242a0fbec20fc3a7e7fc5fb6eeeaad62dc2"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(thaJeztah): set expected labels here (or \u0022partial\u0022 if depends on host) \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/daemon_unix_test.go"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"bac5899280c39322d47295650a29ff8572bd3f18e22d7d5e3a3406620be02a3a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: it would be nice to get some better errors from containerd so we can return better errors 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":"daemon/errors.go"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"23b2f1606ba8df35c1dac19fa21512acfa2d84a2b3afd90778291b01c77adb58"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME: execSetPlatformOpts prefers custom profiles over \u0022privileged\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":"daemon/exec_linux_test.go"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a7387343f4ef67d021bdadb94b82bda342fbc17ac0c6524ca3aabb7f14e7b90"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME(vdemeester) This takes around 3s\u2026 This is *way* too long \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/health_test.go"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a56dc336394a27ac2c67d5c79d9e21d3faf3e576e013b19609b457728081602"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: make generic again once we are a go module, \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/info.go"},"region":{"startLine":358}}}],"partialFingerprints":{"codehealthFindingId/v1":"32f3030bdac82d4c44b8be6aeecabdfb5f26770e4e049b722d04de88584e39e3"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO add fields for these options in types.Info \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/info_unix.go"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2d65d0fa1a698fd51e99d34ce594ae76233ce49b87c97d03df74b4e0f583f39"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME(thaJeztah): should we check for config.Type here as well? (i.e., skip bind-mounts etc) \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/mounts.go"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1af528ef9807e1f372ec3798d8a774c6dc1cb9e67f83bb3a013c0acf3c4d78d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(thaJeztah): Look if we can provide a more minimal function for getPortMapInfo, as it does a lot, and we only need the \u0022length\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":"daemon/network.go"},"region":{"startLine":709}}}],"partialFingerprints":{"codehealthFindingId/v1":"99ea04742611eac57faf6ba0deb13904eede3299ef4ccfe8285ee0a38c42b20f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: nvidia should not be hard-coded, and should be a device plugin instead on the daemon object. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/nvidia_linux.go"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"11a45bab3a279282d6a7f28662b0faa3158e810ecc29187b235a51f8fafe767b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: add list of device capabilities in daemon/node info \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/nvidia_linux.go"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"137864279e78d72c6d493f1353b7401e02c32eb695b18e7a3de56641ed8e62a8"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: nvidia.WithRequiredCUDAVersion \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/nvidia_linux.go"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"3917bbadd9e82722cad62fa88e56cc85f7d48f0b79aa227e591d721e3da33abc"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME(thaJeztah): this will silently overwrite an earlier user namespace when joining multiple containers: https://github.com/moby/moby/issues/46210"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/oci_linux.go"},"region":{"startLine":281}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc3e1cb865c8bb3431e54dbe5d989f9f2b617ee6f6a47b2969481ff99a240066"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME(thaJeztah): this will silently overwrite an earlier user namespace when joining multiple containers: https://github.com/moby/moby/issues/46210"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/oci_linux.go"},"region":{"startLine":314}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb8b7be9d18bc9f5cebc287801b03df690c72358cab6fc67735becefd7d762a8"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME(thaJeztah): this will silently overwrite an earlier user namespace when joining multiple containers: https://github.com/moby/moby/issues/46210"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/oci_linux.go"},"region":{"startLine":350}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b723ef508739e9235d06821506c282e696b7662a5116a5b9610fc4a22a97186"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: until a kernel/mount solution exists for handling remount in a user namespace, \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/oci_linux.go"},"region":{"startLine":732}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fc917da658fa0a496be04b080335da25650adc85e4dd276d1785dcec4de8fb1"}},{"ruleId":"D17","level":"warning","message":{"text":"HackComment: // HORRIBLE HACK: clean up shm mounts leaked by some tests. Otherwise the \u2014 a workaround marked in source: record what it is compensating for and what would allow its removal (the upstream fix, the API it is waiting on, the invariant it restores), so the next reader can judge whether it is still needed rather than rediscovering why it is there."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/oci_linux_test.go"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"77e5941d4a8ad4a5618a2bdff6260eb98dfe37952a21d659bcb2f61b7b605d67"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: is this actually true? I\u0027m guilty of following the cargo cult 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":"daemon/oci_linux_test.go"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0c6060f3da77a7d8598b9408a5d01beb8b78446cfa5850a048b9819109a0b44"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Upstream this into the mount package. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/oci_windows.go"},"region":{"startLine":301}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce7419c0096f5d3af5c09e170c7a877e4316304a039cbbea5dce55a419eb26e3"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO (jrouge/wk8): if provided with several security options, we silently ignore \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/oci_windows.go"},"region":{"startLine":347}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f7e5c0f8bad7aa18bc31277d69591fe11791ec9b00c994c75bc0b18c5ba2cf2"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(thaJeztah): extract validating and parsing SecurityOpt to a reusable function. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/oci_windows.go"},"region":{"startLine":352}}}],"partialFingerprints":{"codehealthFindingId/v1":"ede641929eeed5fbb980e22d0d366004970fa81497b41cc3f17abe70d1646290"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME(thaJeztah): options should not be case-insensitive \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/oci_windows.go"},"region":{"startLine":358}}}],"partialFingerprints":{"codehealthFindingId/v1":"f206d4d87a2187162f7599d89a79ed103662539e03ac91b1e6bff2f300d08d94"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME(thaJeztah): options should not be case-insensitive \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/graphdriver/windows/windows.go"},"region":{"startLine":935}}}],"partialFingerprints":{"codehealthFindingId/v1":"38245e6fdfa2512e06cbf4260046394c0583cd6176f875726d79f2455d5da8c5"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: sets RmLink to true? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/prune.go"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"9605ed2d2d5ece1bc94824cbf439cd974345619c125f8f644b35b076b28e0a37"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: the timeout is hardcoded here, it would be more flexible to make 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":"daemon/resize.go"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd9c3bbefc41be74a35eeb2e60d37923d59a0e7aafd4bd8dbca64a430b85f7b9"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: the expect running time for this test is 10s, which would be too long for unit 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":"daemon/resize_test.go"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"577131719cd61803e8c45503d3922d355574e842024aa7ff86d887fe694bddc1"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(mlaventure): how would we support that? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/start.go"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"1017bb55862ac73bd5b71be4c2e2e7b7d573090cdba2fc10d097ee9812a1cf93"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(mlaventure): we need to specify checkpoint options 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":"daemon/start.go"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a3e1357381a2d4441150f2decb01e7a16a026640df0f4a74653b3477a5dfbe6"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME: remove once reference counting for graphdrivers has been refactored \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/start.go"},"region":{"startLine":267}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a5ad8b82e1411296aa6f4a987c3c28544bdfff9ddc1553c566f2bb90e7ab81e"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME: move to containerd on Linux (not Windows) \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/stats.go"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b9d0e4a7212420490c687638969e830efe31eb11e3169f7c0f6e0d0a42159ed"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME(vdemeester) move this elsewhere \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/stats_collector.go"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"608bf7bedb489150ac7d066e64503c1b9004935c9cd48b94632ea385fce73edf"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME: we do not need to prohibit this \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/top_unix_test.go"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"6db6da2a7c0bc1697aefdb27fbbb0ab62f34cb1786474d7a4e67c6e0a379c511"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: it would be nice if containerd responded with better errors here so we can classify this better. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/update.go"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d81bb254c1659d4632b6f3e0557555f0def497f8b97ddd3a458d1ab163f0629"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: tmpfs mounts should be part of Mountpoints \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/volumes_unix.go"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d135d5e987ff601c0de8324f8337f4d9c1d38d2dc6cba0db2f0db10f5a3f453"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // BUGBUG TODO Windows containerd. This would be much better if it 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":"daemon/volumes_windows.go"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"96b38831cdf272fb0b01e2380d64d5bb0c247e1f5cd3ae1dedd4fca73576ea03"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO Windows. Many of these fields can be factored out., \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/network/settings.go"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"d01fde38eeb73cac4bddcd05dc233e30a224fddb59c4da4ca704ea823d65c2c4"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME set minimum TLS version for splunk (see https://github.com/moby/moby/issues/42443)"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/logger/splunk/splunk.go"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"a42f444590ca7c0b1ccd00141097d398be16133d61a48369762521364170b6ee"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(@cpuguy83): Instead of opening every file, only get the files which \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/logger/loggerutils/logfile.go"},"region":{"startLine":417}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d080b66b39f8798ef6d51b25cb1e03944d72b8dd4022eb49f256256e93b1826"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(@cpuguy83): we should plumb a context through instead of dealing with \u0060WatchClose()\u0060 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":"daemon/logger/loggerutils/logfile.go"},"region":{"startLine":581}}}],"partialFingerprints":{"codehealthFindingId/v1":"2077c49119f31715a25b8110946ecedfaf6a0ea5343e874591b7ce81a0040eac"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO fluentd-async-connect is deprecated in driver v1.4.0. Remove after two stable releases \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/logger/fluentd/fluentd.go"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"67bb5b3442f03f4b34e1bf9eb39950f34ba2faaaedf331a87f661c2813a0e8c9"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Clean up the fact that socketGroup and tlsConfig aren\u0027t always used. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/listeners/listeners_linux.go"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"757954377461c21ea1a5475f126e22382a2b58c4b77680585186bff288f5b475"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: An optimization would be to handle empty layers before returning \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/images/image_builder.go"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"eac3e16b8f0585fe8634fba58e462c5518dca810cab8527d0c5b2a29fc4cd06a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: could this use the regular daemon PullImage ? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/images/image_builder.go"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"72a5a49f236005ae29283814e3db643a06604b34dede100f49866bf7442a4b10"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: this mount call is not necessary as we assume that TarStream() should \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/images/image_commit.go"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd7a734629800f913c43ec02def2e16674930c036adb4cedfaa84fc2f34b6bd7"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: use typed 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":"daemon/images/image_commit.go"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"704b5cb8fc1fc4a6f649367c44b461a8f29ea38a5cddf6999ea26e3c9ebb37f5"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: use typed 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":"daemon/containerd/image_commit.go"},"region":{"startLine":325}}}],"partialFingerprints":{"codehealthFindingId/v1":"01681bd80db28d3d64b9a6067dc57b4d46e985ca281b6d87900e84a93fad3464"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME: GetSize should return an error. Not changing it now in case \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/images/image_unix.go"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"154ca42a7efe62df56c11cd5fbc1736290dec6519b6ddabdb7ca1ff14ab0f0f4"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO Windows \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/images/image_windows.go"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c39e3e97efbb31dfd975d639cf90351de119e8a61d92bb52c8251bf41c5dce9"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME: why does this mutate the RootFS? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/images/image_windows.go"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"90df711e179c0a2d4514bd33e65dd26176f7b8bb1c0c07d1a825ad5ec381b883"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: is it OK to register a namespace with the same name? Or does this \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/images/locals.go"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"149d3ba37d8f70b18adc11a6da2f77d63949be4ec809580a097149d580998182"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: combine these fields \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/images/mount.go"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"1879c9f2a8478eabf232dc5034d7223cb384c35c094c8ab563b6ed35830eb1f2"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: remove, only used for CommitBuildStep \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/images/service.go"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b546993222938e1bf16ed99fe82bdd7e3c3554e56a5599b4f556f3fa5e7bf95"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: refactor to expose an ancestry for image.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":"daemon/images/service.go"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fea472135974b50ae11c88f71e4d551483b5180890facda78ce2116cb439d4a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: accept an opt struct instead of container? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/images/service.go"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ccc4844109cc33d8c8d4940a4b488e83ee1fe59f7ed27b9b0876e5c6fe72890"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: accept an opt struct instead of container? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/containerd/service.go"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"0695fbac52afb6a354061b75a70cb896c9a160d362e4dc6a9fcc1ec7d107c3ec"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: needs to be refactored to Unmount (see callers), or removed and replaced with GetLayerByID \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/images/service.go"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"351b10e3f02c2ec76e8973cb289e9f8f938d0b1031ef67b13d5305aec0f230a5"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: needs to be refactored to Unmount (see callers), or removed and replaced with GetLayerByID \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/containerd/service.go"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"ceaab0e9c9b24038b49d0e2ac1200aea4233822e6d2fc73ddc4949250b783350"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(@cpuguy83): Walk layer tree and check mounts? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/graphdriver/zfs/zfs.go"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f1cae38856cea643cb7b870cdcdbd3c38369b1c903bc541d8973a470f3078de"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: For RS3, we can remove the retries. Also consider \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/graphdriver/windows/windows.go"},"region":{"startLine":289}}}],"partialFingerprints":{"codehealthFindingId/v1":"bce339bb4f216708120ec15408c4622e7f48487e1796e48b3d09fb31b883dd68"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Include time component, counter component, random component \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/graphdriver/overlayutils/randomid.go"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ebc62cdc669fb587b25da2a57aab58cfc83eb0d88f3cd24a7042fb8e0c69d33"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME: Instead of syncing all the filesystems we should be fsyncing each \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/graphdriver/overlay2/overlay.go"},"region":{"startLine":701}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a90474beb10a42c39b479582b8d5c4339fa4f187e54f218fe057e234a7ddd82"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: enforce this \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/graphdriver/graphtest/graphbench_unix.go"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d939b003173bf3634d726580e31ab020cf2c516863262aeedd55d61b5c1620d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // Todo: check size, and ctim is not equal on filesystems that have granular ctimes \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/graphdriver/copy/copy_test.go"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce686b0728a5490faecc66abb8d0cb442c39e6d3def17f5159f31cb56a328d51"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO remove this once we removed the deprecated \u0060ID\u0060, \u0060Status\u0060, and \u0060From\u0060 fields. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/events/events_test.go"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"b550bcffa8beb4a54e794abe167f2c08b4b223ec909d7d9cb46c7e9226f43b89"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(containerd): error translation can use common function \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/containerd/image.go"},"region":{"startLine":318}}}],"partialFingerprints":{"codehealthFindingId/v1":"57a0435e18a092811db516ab4137dc7181cc7fc031da610e4dc16522b1dcdfcc"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Convert containerd error to Docker 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":"daemon/containerd/image.go"},"region":{"startLine":400}}}],"partialFingerprints":{"codehealthFindingId/v1":"f21b723fa5d3b26cea0d64c01872d73a1dcea3c5fbebfd0748478c1c28f5776c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(laurazard): same as below \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/containerd/image_builder.go"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"c396abb7480a2b7aed5682ab254d1057724d69a03af1518942290726da0bd6a7"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(laurazard): do we really need a new method here to pull the image? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/containerd/image_builder.go"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ba63c878275fd775e6faf9d720be071dfcab6f7630a465d353c1dd0a0a92af3"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(laurazard): pullForBuilder should return whatever we \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/containerd/image_builder.go"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f8c2b2f760fb36150eedb29b3afd20eac53bd14385aae22fd708eed8e9b2088"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(vvoland): Check if image is unpacked, and unpack it if it\u0027s 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":"daemon/containerd/image_builder.go"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"8eea88beb5a6208204846ddd91f7e99390b0df9332047b998555961356bb4f64"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Optimize this for overlay mounts, can use parent \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/containerd/image_commit.go"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e3c4f187cbeb8e448496e6cab9d2637bee32db995ff7a960854ffc563300999"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(thaJeztah): image delete should send prometheus counters; see https://github.com/moby/moby/issues/45268"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/containerd/image_delete.go"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8e2865079a9a201be08e3d4ebb179661c9d5ca0791c70e9e779a7594093f37e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Add with target \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/containerd/image_delete.go"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"be6c592d1bafa18ac092668d56766a829289ae3e44a9dcbbe2518c10854c9382"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Add with target \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/containerd/image_delete.go"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"71f9b6debbfd3ba7724d432bed8e7e7773c5bf950fb86b5f7c98dee3bac6c4c9"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Consider keeping the conflict and changing active \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/containerd/image_delete.go"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"57a1f81aa85e7cc2a7040b1b90259f3a29ded0e0bc0a1acca04b15870e0742f2"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Should this also check parentage 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":"daemon/containerd/image_delete.go"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb02d99cab63065ac1c6313f48c22e90bbcba499debd11fc3bd80431b95db525"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(dmcgowan): Consider using GC labels to walk for deletion \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/containerd/image_delete.go"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"8320e52d08523017183006d38af8568dbb1ac93b2e019809ea996ab483744f27"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Add target option \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/containerd/image_delete.go"},"region":{"startLine":384}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3e473e6e2482cd2365b373643b65eeb2043dd2f303e7d0e7b9aa23ee0c1e908"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Count unexpired references... \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/containerd/image_delete.go"},"region":{"startLine":456}}}],"partialFingerprints":{"codehealthFindingId/v1":"1084d01ba59eee61c13f2204a41997c3b240325f396cd8936bf12f89047327ef"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Records \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/containerd/image_delete_test.go"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3cd98ddfeefd04951c7d7e943b6809d8af383e014fe01414f4e27894d983db6"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Containers \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/containerd/image_delete_test.go"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b54d3a62198b38df1860e9921ab553150698f7e4df8cbebf9bc7b3c50e52a81"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Events \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/containerd/image_delete_test.go"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"71d4f5c0c260cd779897660f57f666eb507289701184f1ec747be20e00275fe4"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Check labels too \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/containerd/image_delete_test.go"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"23ba0dc98edf00cb442e26240b0f10fc730beec1c973b503b9135d6091ece3a3"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(thaJeztah): produce JSON stream progress response and image events; see https://github.com/moby/moby/issues/43910"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/containerd/image_exporter.go"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd57ee6237b8a57fa68d781955df7d339afe76a4088436cbcbcef14569492045"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(vvoland): Allow user to pass platform \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/containerd/image_exporter.go"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"4db58f49575e71adf9a0613a0e1af1be5bc4e971aadabb7aa33d897406548bb0"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: pass platform in from the CLI \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/containerd/image_history.go"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"abf06f644560a360a72b65e903f9b42cde2a1c49b6c785455cee2fabe09fef87"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(thaJeztah): implement opts.ContainerCount (used for docker system df); see https://github.com/moby/moby/issues/43853"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/containerd/image_list.go"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cceef8b36a77053e5769a71e10b00937b9f75c18f7bab9f3014f64f6d8bbe22"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(thaJeztah): verify behavior of \u0060RepoDigests\u0060 and \u0060RepoTags\u0060 for images without (untagged) or multiple tags; see https://github.com/moby/moby/issues/43861"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/containerd/image_list.go"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd2ab38a893982a1e032afd57e6059c324bb4eff1da737591d8d3aa237fe025c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(thaJeztah): verify \u0022Size\u0022 vs \u0022VirtualSize\u0022 in images; see https://github.com/moby/moby/issues/43862"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/containerd/image_list.go"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb019d8f7e00b777ade60a34ff78e2d9c4efcd71477119c3192b6b5e1c14fb3f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(thaJeztah): do we need to take multiple snapshotters into account? See https://github.com/moby/moby/issues/45273"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/containerd/image_list.go"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"11fc4f57a0a01f012c4292b7bb7844c190811652c3b445ec1d80416fbcd329bf"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(thaJeztah): do we need to take multiple snapshotters into account? See https://github.com/moby/moby/issues/45273"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/containerd/image_list.go"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb5adb5d3dc2aa45590be7b244abd8973003986c9ea2888cbf3c5fe2c63db8ac"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(thaJeztah): do we need to take multiple snapshotters into account? See https://github.com/moby/moby/issues/45273"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/containerd/service.go"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6494979dfb1b39651bdf897c04ae798e54364f196f00d52b110629d6903f81d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Reconsider when containerd is more strict on image names, see: \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/containerd/image_list.go"},"region":{"startLine":258}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1762731d3e03ac148c3d30b4386d8ed6a51c86bd9c70021ab584f9e551a210d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(thaJeztah): reimplement filters using containerd filters if possible: see https://github.com/moby/moby/issues/43845"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/containerd/image_list.go"},"region":{"startLine":319}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa682113786d6de5999fbcd203b2a2d895f8c5805dbefa0b057bafd37774d9bd"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(thaJeztah): we may have to pass the snapshotter to use if the pull is part of a \u0022docker run\u0022 (container create -\u003E pull image if missing). See https://github.com/moby/moby/issues/45273"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/containerd/image_pull.go"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"aac16270fb486dfc3ed916a61e395bcc09d63b1fc996446f8088206291f7408c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Respect max concurrent downloads/uploads \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/containerd/image_push.go"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"9451998bce8ab3a6e6afaa153257fc48f7297da0468610bcfcf8eeb3fd210244"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Update CopyDir to support remap directly \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/containerd/image_snapshot_unix.go"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"211fdeccb609c922a94ab06bd591df2046ec965c111a07e98be935e890f92e69"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(thaJeztah) do we want to add more details about the driver 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":"daemon/containerd/service.go"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d8263bbe1c339fb002645b74f28b666220a35b29b6534efe511f61d4f519e4c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(thaJeztah): include content-store size for the image (similar to \u0022GET /images/json\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":"daemon/containerd/service.go"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"204602702bcdc00ed1e3a829e34838ce5a45774c1e6d333901eaea7dceb967d9"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Add with target option \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/containerd/soft_delete.go"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"323e9b02fba7fcfe54462db4865a3edaa3932b0b3e0a264aab71f522a9e473a6"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Also check for expired \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/containerd/soft_delete.go"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"4760a3b5c937e5e12f7839e7c401de957b31d691370cb38e9b126550fb750c60"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME(vdemeester) This part is not that clear and is mainly dependent on cli flags \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/config/config.go"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2f816f4b5bb45ead729b4c4d68f20718581285ec5292e417d35d273f5f2504e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(thaJeztah) This logic is problematic and needs a 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":"daemon/config/config.go"},"region":{"startLine":377}}}],"partialFingerprints":{"codehealthFindingId/v1":"65977393e29e8dc04198ed2e3be39e1438b1ec9e9b9f295214ca1fff830d8465"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Rewrite configuration logic to avoid same issue with other nullable values, like numbers. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/config/config.go"},"region":{"startLine":496}}}],"partialFingerprints":{"codehealthFindingId/v1":"7595db9a5bb1560a51edd49ffcf9989f5f0d37f25b5687e37da07ae7f47a404e"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME(thaJeztah): find a better way for this; this depends on knowledge of containerd\u0027s log package internals. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/config/config.go"},"region":{"startLine":640}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2996032b1b67d87c63080e1c4ccbe37d0e417b721e91e7bbc02eeb7c5de2d4a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(thaJeztah) Validations below should not accept \u00220\u0022 to be valid; see Validate() for a more in-depth description of this problem \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/config/config.go"},"region":{"startLine":674}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8d2c5c7ae0260bde1d74fd1b7dd450f1567ea8b4aeb32580725beee4ed3c471"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(thaJeztah) temporarily excluding this test as it assumes defaults are set before validating and applying updated configs \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/config/config_test.go"},"region":{"startLine":305}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd8874c496bd99eed697a84a2b21ee31be72618e8bfb1d5ba90742721a10be8b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(@cpuguy83): Setup here based on log driver is a little weird. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"container/container.go"},"region":{"startLine":418}}}],"partialFingerprints":{"codehealthFindingId/v1":"08e7399a8eb99a58dfe8d027e39b5e3268bf5a2051856bf05dbb7a87aa4f52b7"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Right now Windows doesn\u0027t really have a \u0022secure\u0022 storage for secrets, \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"container/container_windows.go"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"67f2128d19447c6f5ae504a601727f81b35019a0f1d77f838f81c1484f5c6e1a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(thaJeztah): Used to produce a deprecation error; remove the flag and the OOMScoreAdjust field for the next release after v25.0.0. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/dockerd/config_unix.go"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"f05c091a74f43103f79dc62ceb7d962253d5ce59aac6fa53e3c2691f1a7c1d0e"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME(thaJeztah): better separate runtime and config data? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/dockerd/daemon.go"},"region":{"startLine":304}}}],"partialFingerprints":{"codehealthFindingId/v1":"91384af0a6b68e5aa65e023f6c893b9403f17b34e7673e6f4e3067eee0e5b082"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: This can be removed after buildkit is updated to use http/protobuf as the 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":"cmd/dockerd/daemon.go"},"region":{"startLine":369}}}],"partialFingerprints":{"codehealthFindingId/v1":"42bc73d606494dea713311c1db7690af24aa901526cdc9d6704b65d8ce808f50"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(thaJeztah) implement a cleaner way for this; this depends on 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":"cmd/dockerd/daemon.go"},"region":{"startLine":624}}}],"partialFingerprints":{"codehealthFindingId/v1":"57216b0d163c64b6e130a20e90623e92d0873261aa7c7f9c9c6312a856df87d9"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME(thaJeztah): this needs a better solution: containerd doesn\u0027t allow disabling colors, and this code is depending on internal knowledge of \u0022log.SetFormat\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":"cmd/dockerd/daemon.go"},"region":{"startLine":922}}}],"partialFingerprints":{"codehealthFindingId/v1":"4aa43342c9dc91d6d10d724673e7a475335f76315903d3e82428fbf7222281fa"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Remove Workaround OTEL memory leak in cmd/dockerd/daemon.go \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/dockerd/daemon_test.go"},"region":{"startLine":311}}}],"partialFingerprints":{"codehealthFindingId/v1":"217a54cd048b9bca9395afd326a5965ac0a8a923946fe8402ed27232af905a81"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME(thaJeztah): config.New also looks up default binary-path, but this code is also executed when running \u0022--version\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":"cmd/dockerd/docker.go"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9a4989f8415305e309771d617d62b6a37ba537d570dc0e2a72f4f03632a6759"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Remove this workaround after upgrading to v1.30.0 \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/dockerd/docker.go"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c552286db87f52c3cb63d2a8bb44bd5e2a4012e07598277e3f881d576325ac8"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(thaJeztah): deprecate DOCKER_CONFIG and re-design daemon config locations. See https://github.com/moby/moby/issues/44640"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/dockerd/options.go"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"42f5066fd33c98cc8809cf1b1a26b5a5aa3d564b00254de6955671f13a3f5c1f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(thaJeztah): set default TLSOptions in config.New() \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/dockerd/options.go"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"45a7fbc9708fd249a69c1680c8c82562dac75a13c3a288e4f721eed804a417fc"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(stevvooe): This isn\u0027t really the right way to write clients in Go. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \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/client.go"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"4721f5baab8f61d2dbea67effcbab9919bb5161d0227fd618c1783f545e7689c"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME(thaJeztah): Ping returns an error when failing to connect to the API; we should not swallow the error here, and instead returning 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":"client/client.go"},"region":{"startLine":317}}}],"partialFingerprints":{"codehealthFindingId/v1":"96ff8b89af3a06c9285d290511947538617e549562268dd2be2135cf36705db4"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME validate the content is the given ExecConfig ? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \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/container_exec_test.go"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed614612fa3ab1672639c3a100cc06c8f03e9ff5be00d4e041db9542cfa0afee"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME(vdemeester): there is currently used in a few way in docker/docker \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \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/image_pull.go"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"19f3655e58fae18f67058401787ec306ca8864c4a6bcd2f8c922f4034bad004c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // todo: the client should probably be designed more around the actual 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":"client/plugin_install.go"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a590162faefec3dbb750fb7d2375475ce64ea570c5fe685107ccb6fb3c370ae"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // todo: do inspect before to check existing name before checking privileges \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \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/plugin_install.go"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"3323ace390985ca942e7b3808d3296e580b3c62fcd4f4455fa9d20e997e4be7d"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME(thaJeztah): Should this actually return a serverResp when a connection error occurred? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \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/request.go"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"afcfecf57e443cb39e23a6833d229777a4d986278876bdf9b14fc028b17094ff"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME(thaJeztah): any net.Error should be considered a connection error (but we should include the original 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":"client/request.go"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"d941107a71c451fdc0ac5506683d68b895da8e3d4c719b6d22c59085e43547b5"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // backwards compat TODO: see if really 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":"builder/remotecontext/archive.go"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"da7bc7825d2c5989dbf6936698476c933f9c3eb19e198d301944214bc683114a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: change this to NewLazySource \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"builder/remotecontext/detect.go"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b3f17ab89f475c01c86a545eebc2f6660735ce12c2ec39caa007fbddad94be9"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: remove after moving to a separate pkg \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"builder/remotecontext/detect_test.go"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e5eb35638e0d984fc425a35e52e61c8a3d0de65fa6872cce5db6ce4bcc529e7"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: make this persistent \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"builder/dockerfile/builder.go"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"c17598b47722cbe150a900db1fea7a33b2565b8e37e5804ad32060c793404c10"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: remove once config.Platform is of type specs.Platform \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"builder/dockerfile/builder.go"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"78b1558acc4d5647a4a1a797ab61c846f67cde159270acfdd403686e0a13a3d3"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Remove? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"builder/dockerfile/builder.go"},"region":{"startLine":322}}}],"partialFingerprints":{"codehealthFindingId/v1":"300eba5bfe0edf3b93cdced02e4f5ac26f0145dbea0450244ac9a8a74c69857a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // for cleanup. TODO: having copier.cleanup() is error prone and hard 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":"builder/dockerfile/copy.go"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9eee9bef6ebecabe2b46b16798b02e729eac3f2a97cb8fcfd8775917a535d17"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: allowWildcards can probably be removed by refactoring this function further. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"builder/dockerfile/copy.go"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"57c92c5760a76aaade9c55f7c3c69aa9d31a7f2de2a0315937494c10ea156047"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: do this when creating copier. Requires validateCopySourcePath \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"builder/dockerfile/copy.go"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"092d440bd2494bf6bb5a3af85b5ce8aa6aa47795ed680c96157f05b22b41fc2b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: remove, handle dirs in Hash() \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"builder/dockerfile/copy.go"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"d351a903cebeb6c2d46c485746d2ab0fd72352c64617acdb6f0ad7ea8cb609d8"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: dedupe with copyWithWildcards() \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"builder/dockerfile/copy.go"},"region":{"startLine":298}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b209bca6af20562c963d3614fd0c2e13ddb0af19b4f630a983f675ec5744a7f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: add filehash directly \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"builder/dockerfile/copy.go"},"region":{"startLine":404}}}],"partialFingerprints":{"codehealthFindingId/v1":"7773993cb5532b4b485b8d977a8245065f30557557d61500a06bec3f35f7bdfb"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: how important is this random blank line to the output? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"builder/dockerfile/copy.go"},"region":{"startLine":409}}}],"partialFingerprints":{"codehealthFindingId/v1":"41c544df9ab82c7a51eed32acbf8dec0f7643b3bf78134a3fd50eed62078913e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: this could return the source in the default case 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":"builder/dockerfile/dispatchers.go"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee15ab591ddb62bfc1d9061ac0b77748666983770c85616ee1251d665e1cb3dd"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: scratch should not have an os. It should be nil image. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"builder/dockerfile/dispatchers.go"},"region":{"startLine":252}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c384a88d0a5f88cefdf6c5c495017a00fb485c140d41ec0bd080d51932fe60d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: change error type, because jsonmessage.JSONError assumes HTTP \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"builder/dockerfile/dispatchers.go"},"region":{"startLine":380}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee010f0727eb795e7f644e125cae467314e9bee684b5eec9449a6669d2d06028"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(thaJeztah): use github.com/moby/buildkit/util/system.DefaultPathEnv() once https://github.com/moby/buildkit/pull/3158 is resolved."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"builder/dockerfile/dispatchers_test.go"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"c15b7c9e0b26248cd8253de30aaf782caaaef1ea77bfdba1e26d5d2a525741c0"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(thaJeztah): use github.com/moby/buildkit/util/system.DefaultPathEnv() once https://github.com/moby/buildkit/pull/3158 is resolved."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"builder/dockerfile/evaluator.go"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"edadb8e79e4fe1fa1a4f7047f44d27fe03b0c304c59e9e2a55b6e556be954163"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: this copy should be done by Commit() \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"builder/dockerfile/internals.go"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee965bab52f3794c3437e8676a57fc1f6d53fa63a337358f36ad11e37abb267c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: it seems strange to marshal this here instead of just passing in 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":"builder/dockerfile/internals.go"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3c30fa41e6975dcca1f1fd831609646ed9301d4c10f39a40434c9471ac2d2c2"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: should this have been using origPaths instead of srcHash in the comment? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"builder/dockerfile/internals.go"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"db9b1cec8a8de3adfa38459df925f71f158a8830748063659cc0511f32a55dcf"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: could this be moved into containerManager.Create() ? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"builder/dockerfile/internals.go"},"region":{"startLine":368}}}],"partialFingerprints":{"codehealthFindingId/v1":"01301ba42d08694d4482ebda66f39405a25a0e6b9dc47e596cd122eea202c44d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(tiborvass): handle label \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"builder/builder-next/builder.go"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"4043f8d44f9730d684fb5fcb90fc7e05f257ecfd05005230729e35878df84973"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(tiborvass): handle label! \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"builder/builder-next/builder.go"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"39d658a8be0c700022bb7a4a3616395d1d389b54cbe49947b59992a2cfd177dd"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: remove once opt.Options.Platform is of type specs.Platform \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"builder/builder-next/builder.go"},"region":{"startLine":329}}}],"partialFingerprints":{"codehealthFindingId/v1":"220984b0e16c6a05d8f32789689d74a4c3b592521a6166cc9dd2f796207699c2"}},{"ruleId":"D17","level":"warning","message":{"text":"HackComment: // HACK! Windows doesn\u0027t have \u0027host\u0027 mode networking. \u2014 a workaround marked in source: record what it is compensating for and what would allow its removal (the upstream fix, the API it is waiting on, the invariant it restores), so the next reader can judge whether it is still needed rather than rediscovering why it is there."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"builder/builder-next/controller.go"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b00793a257cdb01a0c37bdf5b039376f886c17928869802bc6c16336363332b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(neersighted): Unstub Sample(), and collect data from the libnetwork 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":"builder/builder-next/executor_linux.go"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"792f36073364cbd32ae02b2cedee0146a07850da6d82f96a41fc68acabba4c02"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: s/Worker/OpWorker/g ? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"builder/builder-next/worker/worker.go"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a9ca0b61a2384114a42455ec5f66a93d32c25d34c0b251829378f514f4e81a8"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO do we need to pass a value here? Where should it come from? https://github.com/moby/buildkit/commit/b3cf7c43cfefdfd7a945002c0e76b54e346ab6cf"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"builder/builder-next/worker/worker.go"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"32c17721fb3f58305da9798bbb1cb86bf5260487a5d6b899e0a4493652f7ca41"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO should this write output to progressOutput? Or use something similar to loggerFromContext()? see https://github.com/moby/buildkit/commit/aa29e7729464f3c2a773e27795e584023c751cb8"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"builder/builder-next/worker/worker.go"},"region":{"startLine":461}}}],"partialFingerprints":{"codehealthFindingId/v1":"63c0645ba14e069d9d108557ba15014cf668eba4fa9ef797d25d4e1b0dd0d921"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: set error on status \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"builder/builder-next/worker/worker.go"},"region":{"startLine":525}}}],"partialFingerprints":{"codehealthFindingId/v1":"740ec407387f91c1f1e1d959e18feb2686adbea2cfacbca71e880366557f0240"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: set error on status \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"builder/builder-next/exporter/mobyexporter/writer.go"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a886ca8f5f8518b14078edb6af64cd79403ba014f440a2775ad5de80568da8e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: set error on status \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"builder/builder-next/adapters/containerimage/pull.go"},"region":{"startLine":838}}}],"partialFingerprints":{"codehealthFindingId/v1":"97eda262f3483548d0cc667bcc1180ba443f0f8d9ed12003d2a42019678d643c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: add flightcontrol \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"builder/builder-next/adapters/snapshot/layer.go"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"d89994a0daa8f502d6f44491d3610d3c7a6143107365640445747b3c9014ef22"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: pull should fallback to local in case of failure to allow offline behavior \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"builder/builder-next/adapters/containerimage/pull.go"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"066cc3d389574c217e56b73f21c8dde383179126c6aa94d9e7ec32ae38b5dbd8"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Optimize to do dispatch and integrate pulling with download manager, \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"builder/builder-next/adapters/containerimage/pull.go"},"region":{"startLine":453}}}],"partialFingerprints":{"codehealthFindingId/v1":"95d0933ba8358a6f43b1061ab043038e6d63aa03f79a00f3912906e8f32aa562"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: need a wrapper snapshot interface that combines content \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"builder/builder-next/adapters/containerimage/pull.go"},"region":{"startLine":456}}}],"partialFingerprints":{"codehealthFindingId/v1":"78c7c8501ba74e08247698dc55b454d7d629e93c6346d6f0c9f1223dfb624d8f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: handle windows layers for cross platform builds \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"builder/builder-next/adapters/containerimage/pull.go"},"region":{"startLine":601}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0508244392037880cf769874ef0b0ac451b19e686b0b636e2c51fb78f66b06c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(stevvooe): Consider moving the version parameter of ServiceUpdate \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \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/types/client.go"},"region":{"startLine":277}}}],"partialFingerprints":{"codehealthFindingId/v1":"e81776e902745bcf1d74fe9f22fb4a7b9fdad524804ffd5580b475cde4cbc9f6"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(vishh): Export these as stronger types. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \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/types/stats.go"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c9e5336974032eadeba1a50690eb763e826a3fe425cea11dfe2a25e5fc30ecb"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: \u0060domain\u0060 is not supported yet. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \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/types/swarm/container.go"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"df45cdbefef0d86f3fdda96b937b0b03b41361b7cd8b88d3dc1f4211ddeaa28b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(stevvooe): These should be used generally, not just for PortConfig. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \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/types/swarm/network.go"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc881492248f7e6f61690dc89f32ccdffc8abc8ae0eaddab3df795c53285560a"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME(thaJeztah): this should have \u0022omitempty\u0022 in the generated 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":"api/types/swarm/service_create_response.go"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdad064acdb40080f03cb941a7283c238ffd8640abda08fd0de645984fe7cdeb"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(stevvooe): There are several more tmpfs flags, specified in 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":"api/types/mount/mount.go"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"d38b4159906f76ef73ef4141090ab60263ea85761b3bbfdcc88d69bbebc4789b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO consider making isolation-mode strict (case-sensitive) \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \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/types/container/hostconfig.go"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"7dea2d9e06190e73781c96107d1daf2710f22fc13df4161af30cbd2f512a66b6"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO consider making isolation-mode strict (case-sensitive) \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \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/types/container/hostconfig.go"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"92fdc14d7392eeb3093906465b7d176d506bf10615631b9dbba03343cb636512"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO consider making isolation-mode strict (case-sensitive) \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \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/types/container/hostconfig.go"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"a34a53f2a832bf723cf6cbed2743805d43067f6f4de80604019401af1d518583"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(thaJeztah): align with PidMode, and consider container-mode without a container name/ID to be invalid. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \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/types/container/hostconfig.go"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"58f41dde7be81be43bbad5ed89b057b5fa207c1dfebb2712c7cab470fed92da7"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(thaJeztah): align with PidMode, and consider container-mode without a container name/ID to be invalid. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \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/types/container/hostconfig.go"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"75883c819d88f18c2950f0438111cfb3f0a0f730f9615bc3290ba03f275a0d49"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO Windows: This will need addressing for a Windows daemon. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \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/types/container/hostconfig_unix_test.go"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"195a3da594a154970d10e1c72602e54238c8364e018e040972053637f65811c5"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(thaJeztah): we should consider the cases with a colon (\u0022:\u0022) in the network name to be invalid. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \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/types/container/hostconfig_unix_test.go"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"89c3c746b2c5c63b0130e50b68d2f51f7ffa767e659bb00cbfba9301e18eeb67"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(@cpuguy83): naming is hard, this is pulled from what was being used in the router before moving 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":"api/types/backend/backend.go"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"19d2998c73b51e6bfdb800a63558440ad83a95ca492bfd1873067e921d566850"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO return types need to be refactored into pkg \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \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/server/router/volume/backend.go"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"7403e9093709d438597eea813e6b11ef802db9eba88b46fb04fd9419f611a081"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(dperny): return appropriate error 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":"api/server/router/volume/volume_routes_test.go"},"region":{"startLine":601}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3c89e289aaf0aef479940dbdedf2a380d8ab9c37e514f915f066d512c45c142"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(dperny): return appropriate already exists 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":"api/server/router/volume/volume_routes_test.go"},"region":{"startLine":694}}}],"partialFingerprints":{"codehealthFindingId/v1":"34d0c904f588a77d30baf8b182e47a46b41b463bd13f269639c39b85afa462ac"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: handle this conversion in engine-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":"api/server/router/system/system_routes.go"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"c048b472cb739a5ccfe7f6f9335fb90c4051336286424d95175a53ab83bbf1de"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: log change in name to out stream \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \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/server/router/plugin/plugin_routes.go"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"b884533471dcba9ad034bdcab8416d6146e4a32ae090a5ae988d2dce915af9be"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: send progress bar \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \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/server/router/plugin/plugin_routes.go"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bfffab9911e333ac19b12c52e4f3c19645ce664d7aa5de9b20e772ecc7f8bdc"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO (yongtang): should we wrap with version here for backward compatibility? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \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/server/router/network/network_routes.go"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1094df6de2975080c9948573b326c35da9e96798a4442345fe272819fec75de"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO (yongtang): should we wrap with version here for backward compatibility? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \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/server/router/network/network_routes.go"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"f93971b036dcc62886fe2e71a47c53f89c4706872f3fa4a38a473bcc44f2b809"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(@cpuguy83): All this logic for figuring out which network to return does not belong 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":"api/server/router/network/network_routes.go"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"16bb614b00cb56d5f518f2df277520910c0d1dacf3b8dba2f2d05ae5c900ac5f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(thaJeztah) this could use a WithTagOrDigest() utility \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \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/server/router/image/image_routes.go"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"033ae49662c89bd9c7fbdf979b2b7e54c93db959b22be9e85e9d3d1170aa7d26"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: is it a problem that conn has already been written 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":"api/server/router/grpc/grpc_routes.go"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"75090b57283a89de32d80695c7c4cb18cb2086f5b5885f9dfc0279ae258dae54"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO why is reference.ParseAnyReference() / reference.ParseNormalizedNamed() not using the reference.ErrTagInvalidFormat (and so on) 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":"api/server/router/distribution/distribution_routes.go"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"12de2332b45823cc04d49f59f6ac1a861d116bda31bc60043dd6fd6560d19c71"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME(thaJeztah): construct \u0022repositories\u0022 on-demand; \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \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/server/router/distribution/distribution_routes.go"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"df401cdba13fbedf128c43267b2dc86a55a6f5980754b568b2a8fbf263dccb24"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(nishanttotla): Once manifests can be looked up as a blob, 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":"api/server/router/distribution/distribution_routes.go"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7eb0b45203d46f9c75ea9f2327a95aeaacc143ff05b55d158d6294e9955d0fd"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: remove pause arg, and always pause in backend \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \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/server/router/container/container_routes.go"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"72b607cbaa2e6a87bda0d472f68bc74a9ad2afbe34247ebae0da673862cf50f0"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME(thaJeztah): we should not ignore errors here; see https://github.com/moby/moby/pull/48359#discussion_r1725562802"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/router/container/container_routes.go"},"region":{"startLine":818}}}],"partialFingerprints":{"codehealthFindingId/v1":"a91acc14b51786aaf842253095d9ed293181de4b8b8bd62845a3e0efaa6212b4"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME(thaJeztah): we should not ignore errors here; see https://github.com/moby/moby/pull/48359#discussion_r1725562802"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/router/container/container_routes.go"},"region":{"startLine":821}}}],"partialFingerprints":{"codehealthFindingId/v1":"84fce7dc77b0916378a4ef25548593d88480323d46ebb6922074648ce5dc65c8"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(vishh): Refactor the code to avoid having to specify stream config as part of both create and start. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \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/server/router/container/exec.go"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7d3f5d12209492c107505a438537c1f29d6f88c2b2afacb500387793c0db2e3"}},{"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 \u0060pkg/plugins/pluginrpc-gen/main.go\u0060 makes this repository a deployable product (line 1)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/plugins/pluginrpc-gen/main.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9ecfce9d6ca8b74965690fc4338c35cbf8128822ae6c1404a43acb6444a42c1"}},{"ruleId":"D21","level":"note","message":{"text":"\u0060blockMAX\u0060 spells \u0060MAX\u0060 where 21 names in the project spell it \u0060Max\u0060: 21 of 22 names in project gopath.local/repository spell the token \u0060Max\u0060 (21 of 22; unit: names in project gopath.local/repository containing \u0060Max\u0060). Peers: config.DefaultMaxConcurrentDownloads (daemon/config/config.go:30); config.DefaultMaxConcurrentUploads (daemon/config/config.go:34); daemon.linuxMaxCPUShares (daemon/daemon_unix.go:59); daemon.configureMaxThreads (daemon/daemon_unix.go:774); daemon.windowsMaxCPUShares (daemon/daemon_windows.go:40). Rename to \u0060blockMax\u0060. [rule N6]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/bitmap/sequence.go"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bbdee4193b5dcc63fb6d61e54a01b866105832ca65214ff1a2d8327f8b4f32a"}},{"ruleId":"D21","level":"note","message":{"text":"\u0060setDefaultVLAN\u0060 spells \u0060VLAN\u0060 where 12 names in the project spell it \u0060Vlan\u0060: 12 of 13 names in project gopath.local/repository spell the token \u0060Vlan\u0060 (12 of 13; unit: names in project gopath.local/repository containing \u0060Vlan\u0060). Peers: network.CreateVlanInterface (integration/network/helpers.go:25); ipvlan.createIPVlan (libnetwork/drivers/ipvlan/ipvlan_setup.go:23); ipvlan.setIPVlanMode (libnetwork/drivers/ipvlan/ipvlan_setup.go:61); ipvlan.setIPVlanFlag (libnetwork/drivers/ipvlan/ipvlan_setup.go:75); ipvlan.createVlanLink (libnetwork/drivers/ipvlan/ipvlan_setup.go:95). Rename to \u0060setDefaultVlan\u0060. [rule N6]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/drivers/overlay/ov_network.go"},"region":{"startLine":490}}}],"partialFingerprints":{"codehealthFindingId/v1":"a741ec7cb0546a3ea5508e9706d499f909250a46ea4edb0c01d2bbc4cd5ea1c1"}},{"ruleId":"D21","level":"note","message":{"text":"\u0060defaultIPv4Dns\u0060 spells \u0060Dns\u0060 where 33 names in the project spell it \u0060DNS\u0060: 33 of 35 names in project gopath.local/repository spell the token \u0060DNS\u0060 (33 of 35; unit: names in project gopath.local/repository containing \u0060DNS\u0060). Peers: buildkit.getDNSConfig (builder/builder-next/executor_linux.go:169); Container.InitDNSHostConfig (container/container.go:582); daemon.buildEndpointDNSNames (daemon/container_operations.go:622); daemon.buildCreateEndpointOptions(daemonDNS) (daemon/network.go:612); windows.DisableDNS (libnetwork/drivers/windows/labels.go:41). Rename to \u0060defaultIPv4DNS\u0060. [rule N6]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/resolvconf/resolvconf.go"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6b0ea7d6fa44e4779da83dfedca4966b7cf0299c00dad17f046ffa9aa51ea9f"}},{"ruleId":"D21","level":"note","message":{"text":"\u0060defaultIPv6Dns\u0060 spells \u0060Dns\u0060 where 33 names in the project spell it \u0060DNS\u0060: 33 of 35 names in project gopath.local/repository spell the token \u0060DNS\u0060 (33 of 35; unit: names in project gopath.local/repository containing \u0060DNS\u0060). Peers: buildkit.getDNSConfig (builder/builder-next/executor_linux.go:169); Container.InitDNSHostConfig (container/container.go:582); daemon.buildEndpointDNSNames (daemon/container_operations.go:622); daemon.buildCreateEndpointOptions(daemonDNS) (daemon/network.go:612); windows.DisableDNS (libnetwork/drivers/windows/labels.go:41). Rename to \u0060defaultIPv6DNS\u0060. [rule N6]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/resolvconf/resolvconf.go"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a58eb623c84ece5e04a2b5748f3c4cd1e0a7fce1938c4fde0a71044b27e33a0"}},{"ruleId":"D22","level":"warning","message":{"text":"\u0060Worker.Labels\u0060 returns a map (\u0060map[K]V\u0060) where its 4 siblings return a slice (\u0060[]T\u0060): 4 of 5 collection-returning members of \u0060Worker\u0060 return a slice (\u0060[]T\u0060) (4 of 5). Siblings: Worker.Platforms (builder/builder-next/worker/worker.go:155); Worker.GCPolicy (builder/builder-next/worker/worker.go:174); Worker.DiskUsage (builder/builder-next/worker/worker.go:246); Worker.GetRemotes (builder/builder-next/worker/worker.go:274). Return a slice (\u0060[]T\u0060). [rule A4]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"builder/builder-next/worker/worker.go"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ef16942891c799e4290a82122ed7a9956b860ddb789c766dc396b18c0d434a7"}},{"ruleId":"D22","level":"warning","message":{"text":"\u0060Daemon.Features\u0060 returns a map (\u0060map[K]V\u0060) where its 4 siblings return a slice (\u0060[]T\u0060): 4 of 5 collection-returning members of \u0060Daemon\u0060 return a slice (\u0060[]T\u0060) (4 of 5). Siblings: Daemon.Subnets (daemon/daemon.go:1380); Daemon.SubscribeToEvents (daemon/events.go:78); Daemon.List (daemon/list.go:53); Daemon.GetNetworkDriverList (daemon/network.go:327). Return a slice (\u0060[]T\u0060). [rule A4]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/daemon.go"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"76d19f68d06bc9cebf25559fd96521228ee137990b1d8abae1b3dee081989318"}},{"ruleId":"D22","level":"warning","message":{"text":"\u0060distribution.DeltaBaseImageFromConfig\u0060 takes no context.Context; its 4 sibling operations take one: 4 of 5 fallible operations of \u0060package distribution\u0060 take a \u0060ctx context.Context\u0060 (4 of 5). Siblings: distribution.Pull (distribution/pull.go:19); distribution.Tags (distribution/pull.go:34); distribution.Push (distribution/push.go:20); distribution.GetRepositories (distribution/repository.go:19). Take \u0060ctx context.Context\u0060 as the first parameter, like its siblings, and pass it on. [rule A1]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"distribution/pull_v2.go"},"region":{"startLine":1017}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e6f6118ee62efa215c97db4ff0fc813334113e2befbb0f1fcf18c6f441884bd"}},{"ruleId":"D22","level":"warning","message":{"text":"\u0060Store.Map\u0060 returns a map (\u0060map[K]V\u0060) where its 3 siblings return a slice (\u0060[]T\u0060): 3 of 4 collection-returning members of \u0060Store\u0060 return a slice (\u0060[]T\u0060) (3 of 4). Siblings: Store.Release (layer/layer.go:181); Store.ReleaseRWLayer (layer/layer.go:185); Store.DriverStatus (layer/layer.go:187). Return a slice (\u0060[]T\u0060). [rule A4]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"layer/layer.go"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b0f6de0dafdcbe456e8732bd8bd72e3b74f0c26b1da9215db5fc0cb40ee66df"}},{"ruleId":"D22","level":"warning","message":{"text":"\u0060Endpoint.DriverInfo\u0060 returns a map (\u0060map[K]V\u0060) where its 4 siblings return a slice (\u0060[]T\u0060): 4 of 5 collection-returning members of \u0060Endpoint\u0060 return a slice (\u0060[]T\u0060) (4 of 5). Siblings: Endpoint.MarshalJSON (libnetwork/endpoint.go:58); Endpoint.Key (libnetwork/endpoint.go:338); Endpoint.KeyPrefix (libnetwork/endpoint.go:346); Endpoint.Value (libnetwork/endpoint.go:354). Return a slice (\u0060[]T\u0060). [rule A4]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/endpoint_info_unix.go"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"358c097cb7336d8732f65911ea634493187e6e5f4dc6e8010cf94d6611096ee3"}},{"ruleId":"D22","level":"warning","message":{"text":"\u0060testutil.SetContext\u0060 takes its context.Context last where 2 members of the package take it first: 2 of 3 members of package testutil with a context take it as the first parameter, the context package\u0027s own rule (2 of 3). Siblings: testutil.StartSpan (testutil/helpers.go:89); testutil.RunCommand (testutil/helpers.go:101). Move \u0060ctx context.Context\u0060 to the front of the parameter list. [rule A2]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"testutil/helpers.go"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f5e2c2a3018d8b96a7761abaf2f0ebfcd70e04a116517133950e1c15e75fbca"}},{"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":"6ed381e37a581101856f94777ed7db1b0709320e15a72d21a2f93da2d3f93875"},"properties":{"commitSha":"a777ebcee6326bed2f7e99eedf6edbb922175e2d"}},{"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":"2d1acfc622e8dccdef92cff8db5f34ed68dd968885ebfe17b9178706fe9cf9b1"},"properties":{"commitSha":"37186d9ef40b31730940409a7acb21e02688b707"}},{"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":"1649e863b75ab64126910c171c93772424a759c76871e4f9a1ccf5d1b5f75fa1"},"properties":{"commitSha":"9cad4c2a1bdf5c81c69343a3ec5b7034d4b21ec9"}},{"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":"a5204d9ddddcb9df5407ee191be1602b73dc55289dbdfeca7a2a695f9543c869"},"properties":{"commitSha":"9cad4c2a1bdf5c81c69343a3ec5b7034d4b21ec9"}},{"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":"5acdca7b9a633ebec5dd8893dd41a9d991a19f94b6396c032187585d7d4132cd"},"properties":{"commitSha":"6fcf874626a08ee36bf4dbe9cf5158060e00cd11"}},{"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":"ab42841f19ca6fb16d1cd2ccbf436adbba8b018f409cb7d63b0c6320e5229660"},"properties":{"commitSha":"011b4f01f4aca365c88900b196b1c96f7889631d"}},{"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":"5ce825d4819153637d66685a4222f01916c0fa5fe063b67f90f36d1e313c21d8"}},{"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":"2600e4bdcc298f6c84bfac9a59ccd861eac5865c75996b886eed6a4e7b65a4cf"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"42ba28145665b96428f1b5ec239334c4cff0e0ef61c038fab64e7e1e7b4cae3d"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"390ce3fb512f272aa626e8327e6019b6e1a49c90ed2f2c6912eabd5926989b36"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"45e255b45979d57c7fdf5336df3eb5bb74ad6f86d662ac2439565507f6531365"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c278dc682bc6335dd6b7753c5f51b1b39c8c5fdeae4b225c2440383b80007e5a"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"bd9aeec42e76adb98c4ed6dcf42942e5f44aa9e0fa2f09e504be411e45b78ea1"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a66a6d5c3f9a3bf16161637c6dc84e13dfa09f0a19238450ec3b743c13d3253c"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"38f5bf46567ea1e4fc8b2c9cad10d524f96d5896c7dee4fa24fee658e50cb2ed"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e59e8dec14ca5b91e251cab2a4c49b29e71f5a16bec3e1cb3b080e7568aea4d1"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"34b46e8e0637f2eb9eb6309365ca021514536d854e2d29fd6fe6303739b39d3c"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3149d1ca2100839b90d0902cba9bc0e33e4f770891921e8ac62136062089489e"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1ebb9bb293d135415a709907d2f592ce00804d202ee27c98e3825831d0997412"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"67561e79e5710a1846c4a493872c2933552bf6dd854c7e065e7bb50efa65ec8a"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1d6bd0de03d44c370cb7044db4b7d368f9b36f45fac92f0e69d6e6d30dd628e9"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"5007c85e49986bb306c0f5baec4b027df9d0bf6a082208c4ab98c64f1a061787"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c3ab7c261712f74482151e4915cfa29b9b257d012e40683d87769911f3c5537d"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"4d89a4e338c55c9dd66cd341397bcbdf4e5737f7f56dc161bf04c37ffa722f77"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ee4a3c3cc844c4acffd4ee9db954fcaf71670f853ab1ff1a07c3a373c38520c5"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"958b2192e504ddfb7e29edef2e862ce49fed60dd06cc982dbea6af9c8198e250"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"47cdf74ca6299bf037ccce0e56f71de85156eb912bf6fa06ac7d694c4b76edef"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"48b83cfdeef7eb734ec04f27f21b8f7bbcff20acc0211e39a5a313806646132c"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"2b9ca03cbffec1ee484f425ceb629db97722792195d6abfbf84943c97af2d375"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"cba1b9f637fac6d85862fcf8b78665033bffb9c152c8883d5299f287326a27fa"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"5206baadd3795f6dc5173178a3d3a712e4abd85eaf20db3d9d76e09d0b6676bb"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f33ed728eb225cc6f9936bde03e0ef55cc5aa83fad340d56e3455d8ac46dc1fe"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c35c9e01991b42fae7dc751a0a669d81a5cb3d9f59a6927fc245f5956ef939f9"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"87d83d16b24bcd521920cd96303e5c3e738f22aa305cc6565917ec3f41cfb255"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"827d28f0542e6e7c0edcf7c69e029cf0da1538a70e8a71daccce675468b100b7"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ffb0edc7fad45e9622568f6c0ac0c42421115eaccc10e897c77fc5e951795001"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b67e8d5e90e49948ed20e08ceb9fa08e99a0c821a228bdc0ddf20604a6694652"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ea8798c92f190ccafe88dd027cfce86fc6991112add7513c0650886d5c8fdc69"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"211c8481527b46371d754459505e6c9a50deae1a957a0b44207eede3855db78a"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3cec8bed53e7c3657bc54d8b65c6e38a0c1c770b70db03c6a64ac9be46a1c2da"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"13054bd22a75179e7550713b11e7b57dbf78b1ce9d8f8da1c9550995ea20cbfe"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3bb8d06578dc8a791e3542eee4f9012d13101baa206383b894b41b05dcf8f603"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"4bb183cb361afe7d9a329e91f0b453160b5796306dd345320f682254b3069bce"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"107c63cbe60b0a3b6fef0c054f1621d5a44a1c0b7192b4fb3e36896819a5ec45"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"70590e581f0ecf1ddad5f78bf3cf0f1088d5d3772274534da7d6d8fcad885442"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3d133b266ebb7f639f5cb0ad233b75dabd035f537df2dbb045ce9c284dc8d9af"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"12a73fa2b8bc1c462cbaccbe5c033f78cd7c7a7378f0f626ed5ba0204218a70a"},"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":"3d9109e3e543a07e19e39cddda5f027a8df78711e7532a73f0a3cd2b0c7ba556"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"069a4b62aeb659eeb9253a44242b00f6589c41d849c85161f758c4a0d8da55bc"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"47c2b8df49cd80b77965d8f0c716565323e5a7fb62cb8e24b8644d1f20e87f5a"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"dda4d90a400260a67e36687b3671697d80971254191e6a3fee5e914bf962a866"},"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":"0069f09d41888fd084073ba5291b7c0abd3f6f76fe68eea5f5571884f36a9201"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"865644c74513fc4837e2d548084cf429520b0bc816895e7eaa7f6bea67d69ec9"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a70317455b798a7b765e7f894f751dfc325ffce101dbac3f7b9b9fc1d6c4fccf"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"8a98b1534ca436c6c6e530da13ec2afea80528efbe2b070a0667229d32461bb5"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"60417a70c1d9c66c2dff146cf14449725dd0b97288364982ffefd33e26d6966e"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"314a7ac132d27ed8c1d4f9aa32e05a2d642dbc3fa89722ea798c02b9dc3353a3"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"6a5e5e01f49aca49220c3058d86d14df7065330b03176acab79b601bcb0f9fcf"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"6a4a8b1470c298eb5777606c8e930cc699b9f8058e87f8924a7fe2d0a35694f9"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"8f1aaedc68a001d92880cfd46a8dcdb2483f31af220761d3c833b59f1198db26"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"dbadde13dcf7514d7eb40c444ef2ab9179eb89f478a4ef92258239c685b5f71c"},"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":"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":"5c539b4242bb2135cc7483e049ebadebda15e33fd8fce4829c9f64acce8a4f42"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"766ac7d2b342839d1e3b81c6a960ee5be60f0aff9bd19e7f56fdfd9a8a62b776"},"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":"3e562479a14abfd6ffcc23a60b45dbb89ac1db1823434541a9673eac6e8af331"},"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":"9fdd8ce8930b2ba4aa39d0ec092039d2c3219da0476f20050d834a60db1895c3"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"58cf37a9f4e9ebed0a5eb9ec471f69e323ba1c918c25513b5364ee8eb366b0a9"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c698596e028cd3af958a3d5b712e596af5a7c5d63b59cfc9b394749325bf6c38"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"6df1c34fa1ad3f254ba4bc87e9c0d1ceb89b83f74d62453576a06c08975bbfac"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"9f0cf141e21726f2f4d60817859f4f50742031eadb63393065684805c4132eed"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"2a4254a93e1db9edd062972cf721469cb4d60dfe5182e383f526d46a8045550e"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f351c0bb856629597d5ec52436fe4b77ec3ba0ebb2a307b6d3d6da553083b398"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"228448f7ca4b7460e742127cf357b377a04ceaa15706a0fcb9a3c30306cc66ac"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"356bf4e251faf5ecc364c50e2888a3bc6777e99edda90910210b1bea46c035a5"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"da24f89f634db8e96d4a45bb4c5f1f0773a5bbd00a98730fb567dcd6f7a42d74"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"94e828226bd3d224f7cb52be38c1f72bc6916809aa30882df97950f4422cb823"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"52eb32bf8dabb52d8556c8c52da151ad677307762a1e8be295c130741a8a34a6"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"49dea93cf6c4a8ce588e24467cd9f472a61075829db0ed630e6a77860ddd96cf"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"05c99ce4749689481af0262a6f39c1d8a95a07c3b0d599cea18a6c0c373d4b0a"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0ab7fe9023586e6b5db0aa39906d691075c62da932446cbdb8690db56cfecd32"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"abf9982848c144c3d76cd1a43eabe7b41b4c9d139092113eb45c9a804874f19a"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"771022d380696858ddddabc71d7ec74e69c558fb0b35bb0e135591faddb0640b"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"75f4efb177af3106281e05d7819333faf06fa4e96b07f522f1b77b7052d10425"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"2b903bcac4394e4f498a781f6d87766f18b99b9f3c56c53605c4cb384f62750f"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a42353b055c9e94d8513db0849c268b50276d3dbe9bf1c86ac7dc7ee805d3cee"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"fc46260b5b79dac763b5e77320bcd02c359a2d33a49efe87b44960b18996c6db"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"763612c856dffeda962482365f5559c646d55bd700ef62e43e30321fb8703b4b"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"009e2097445989904fc0c19a5457a36cdad7981ab9cb3dcf982f250fcbd2d4cd"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"8de5aaa227bf812e3160d9161e8dc0b5a6ea9e879cac979deb596bc53f414e6a"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d364352e9c29f00125aa9b6ca1430f0d9adcdd0286109923cee5d40bf3ef0990"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"36c3b9454f6eb4956520c9a2280397746cda6229c03ee34f707d6dcff4f023e4"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"9084f7bc9e8b5def4517036e5234fb3c0fd7b4795d3ccaa36bf49103cd0d1677"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"2f2bb05e76abae0b7871cb4f363685cb01347d77e0253e8a849a1b123305ff9d"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"46cce10c832120bc05bbc74a3accd14f1aab54d05f4546e49443f76a4c3cbecd"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c90b87942ac288d21fbd3c5f8c02bbeb0ac0fe05c866110a3ffef34a0ce68bee"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"89d2256c80f09b5ffb93f7b02ebfde88eaa6184a8515acaf02e502cbe99e6488"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"8816b721f50cc695e9d4e0189100adedef8f6835feb000b4b5b9324dc33fab51"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"8399e2c1cbf7f91b585d8df3135f7fa7e35b70d78c6e681f8b5323d47b02821d"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b1d53cf19d388978ecc8b060d7ec2d08233b878d02d2b77d6b28bae75e008b27"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"60bac3eafba6c54f61d9bd0d5ddac307e0dd2905651f39a9e4d4e5ddde491235"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"7e69466db383c37c3bfec78c3bba3408bfb7b45ea57481d776e88926da946bfd"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"7c4799b37dfa5d08b9cfe4e67ce88420952b650b765ed6bfd869058a9a400e67"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"7b04e46567b826793c94e620db298e8f2076b4c5f42997d873a3e74ac5a22380"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"19175c7ed0f02d307dd4978c62c37706256028c19c7d1f5a872334e6d79e3690"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"6f914d68a4c2bb3625fe2ec352fca63835ba9d7b766270108dc775dcadf6816b"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"bbd01517adad70a32303393c0b00658b5d6559354628591c8c7699612d461123"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"30dd96bfb4d961350f3ea5b649ffca7401bb541906324fdccf426fa793628087"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"4751dfbdfe2ecda930a7e270bfd311aa4ee5d230f72bb96ff0cebc8bc49b7556"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f4692358c272e30d1cbcd3c41b69a6f7acaddab81c974e3d5b8ad0a0be923f35"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a5db25a1d833e555f17debf84bcfd5d46f98e0ada4d35bdf036454fc8c97c0be"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"4d06f1ddcbd0a9fe977566e04e3f0e02ce0b30c3027b35154bea0d41f9ae1ecc"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c6114a2c59ac72a3cdcafe9a2b3f600020f749b6ea9ead0b640a63bcc7bf0bdb"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c603d4c90f925be782174f4da9abe21e3d1ae6c277b48a427572af4cb5c48e86"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d2ee60ccbd70947db3362685b7d327c55b3589d06c58e33bf5ed7db780534289"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"783845ad66e5c682c0002f79f431d193d7a1fea6b16fd117a40ddd7efafda6f2"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f7c9438ffaf08f927dc15eca93949c6f3546cd8bf4f2ff70a4f04f59f2c69ad6"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"90f8f5b8c3a8e100ba228d7a7717fc83fea49d9de7901fe7e2296a215bf8cf77"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"73e835e5e13c693f98b831412ed7cf3091262a58adf83c183434475f78c14889"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"bc9e966c680dd5687ef7127d208232cc9fbf3985ccaa7dc07b8c375cc201259f"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"399402f36cd9279b89139f2b63656d182383ce98fe8e9a292cf3b3800c80e089"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a6c7d336e1444e3c74638b5428ccae0648ce40f9d01138a02d9f6873a5994140"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"613343d1b752f35745826fe8d15b453cf20383607c0f92f58d6658c1e8f77558"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"60342e3b019d5782b1fd90aaa432de8e3f4a1e170dbc069721eb86b6dd79f0e9"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"86be6d7f5f155064c1a9ccdd431ac8b14ab8c149df91763731e85c7f09288a56"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"538923676aea5a5edd6aeb538339322f7c6d6c533f6ae7086e1e5c7e4d0fb4be"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"440f2643ca8d54f1402416a18c13f4bfb162ab2ed99c66065c41af5d01bf5d6b"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"131c54f7a5d5dfb6cef5b88dce8f897ca75926e736b1e20f2e3aa5263c160c9a"},"taxa":[{"id":"CWE-250","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":"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":"6c2bb6e48ba198d464ab91a1bff4548c621984de3f57f09feeb3a586b65963ef"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ad802125a4a401fcc72dd926f520e28347e5b710636c8418e0301f554098ab3f"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f885b52d3b514cbf5bffa0405a1888f8c59cdfadd5a82c0f57aef387feeff821"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3bc77529ea38ab508f9a514c0a5afe78862f9054f1214c23043fb9666197fc0b"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"259fe18d928b2f254a51fcb8cd6aaac8f4090a638cfdc5742b1659786ae9b901"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"7e761d3ecc05de2e124b4ae4f9959a25c1d899a1846e288a36b422c9fec4a2a9"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"00b611f7b1925f48add59caff0d1ead755ed4d11fc6ce0674526da9cb8a2dce8"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"905362f5937d7a3e20f0ce805aba486772cc10dfec3963bf3e46e26c27a7e3b8"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"6b856cd8fe25855cffabc23eda384ab08cb09a79b4a388558c9c396f4fc813a8"},"taxa":[{"id":"CWE-250","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":"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":"19ae69638f7a8baea871d03d4bd805671f68c3e719a9f34c24817cfe031e52ea"},"taxa":[{"id":"CWE-250","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":"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":"8509bfb3b439fe56f92f98902d88181f9f313e90b5685064758366f9152b0206"},"taxa":[{"id":"CWE-22","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":"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":"68170e0e1e12170990b88887d3cc63b3ec6af9fc6c9e18fc2be038916cf54b0d"},"taxa":[{"id":"CWE-94","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e7a2cc7e12ca0cf49842f57d1f51d60e5cce28a6311c6d3d1587ffeadf326feb"},"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":"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":"4c7c0c73890c9b3c76515c2821d8eafe35057571c542d73f368e5d2e35f1b6f3"},"taxa":[{"id":"CWE-94","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"116efcdac602d8bf808ef281132acb855dfb8ca57e9d5d0955b253a53e67619a"},"taxa":[{"id":"CWE-94","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a2d3d1c3bb9e7e48927d90b74cfbe872bfd37320276f72553fd33ad6a1cb3e38"},"taxa":[{"id":"CWE-94","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"fecbd7dfaac13d66a37e34741b300701aeb15bb704ce1008d1f87212f8bb84bd"},"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":"1c7ed29588ccedce7598de58a4450033b8a41555bc168d5db49449904277bd41"},"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":"c1f727228c94c25f4295a99f68a21057e5a901dbc666f3bec40261150fea7214"},"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":"012920ef2ef647ea148329c9671fd3757bc35af210e3bed16a9bc914b9d82a90"},"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":"2ac241914cef8cf98328d92326f4f6ef1e01dcd5a5f9c11a464a4596b712155e"},"taxa":[{"id":"CWE-548","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":"4a1039aaffd18e125deedf1d562ab252a21bc2fdeadd95f32d803e0a59891a84"},"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":"ffb9b91e575d859cf7c344131f32662118694591b7e5f177830553169a7c3ea5"},"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":"8269e7f284b1ebe183f92fd830cf623f1179ebc581432cf46aaa5b7ba77eb7d6"},"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":"08a0b2055df3772d0447b9f24c02d00c4d9d02fb3c099ea9f9459f491a96261a"},"taxa":[{"id":"CWE-330","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":"3fef93c83198d19f47f08177722b72b87449269e32c609e268aad58c5d167ae2"},"taxa":[{"id":"CWE-248","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-704","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":"8157e42c2e8e107dcbc68ae48244753db211f2ab14b2acf8f609f60fbebce8d1"},"taxa":[{"id":"CWE-125","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-129","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-248","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d92ab2d2ab022a35a0907ef92d5565d56fa2cae76a37cbf580d5a0088d17fc74"},"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":"7353c832f4221dd0fe3012443e111982e24f9c0e54f0b8c58b580c543a022783"},"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":"273a969cc4cd38788b6e926cd8a65586792e8c70222c5942854ad0a6112d4b1e"},"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":"a3f9a23dcf52d2d6b4e99962a46739a569acd9eac2cd2b6bbeb73d2012cc2f61"},"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":"14751b4f581d860518c3d72b36180941d26c54492b15614ef008072c50fb330b"},"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":"48b2e33d7e35f9f6f9069a054944ad402313ac62fbdf837f33bee4f6d55af994"},"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":"55949545d0dc07815cf03c26f067164c65f4f232c49ff3f412e9fa33fc788434"},"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":"557b6d26f31524389876f354c456f147af5377b03e4526c779750231b46d8e66"},"taxa":[{"id":"CWE-248","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-704","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":"38d2a8de22b81f82585ac81651ccdc3b86f9565c77119e43a0e775b3420d4051"},"taxa":[{"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":"09b9aadc6115b6d7de9406df4caac1d417af5a2568fe6da069a3cdc2b3f3d925"},"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":"51c7ba1b6400886b6105b6ac423c194d4c592ad684765a0a62c7ff4cb9b6bb17"},"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":"643665c70a583c9305a0efca627c943ce47881ba44c8ae54c73c603694896fef"},"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":"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":"b8d7374e597513ec9c06f5c0821e8fafab563436a5640e8730f9332ec4f20c4b"},"taxa":[{"id":"CWE-248","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-704","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":"0f85412a2d5acd302b6f8c0bc432d284ff3bc18597a20fe7ca7f130bab50314a"},"taxa":[{"id":"CWE-248","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-704","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":"fa9c3bb8588d29c7943d7c561714dd61a1aee2215f0fe35775560b3a34616aea"},"taxa":[{"id":"CWE-248","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-704","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":"b14def8062a3d5795bc585d6ecbbe1444a4b8c5ec06aae6203b051cfc0c7cc04"},"taxa":[{"id":"CWE-248","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-704","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":"d9ffd69f579d046fadf1eb4eb21459e17d85d0053442bdc2813868cfb8d3d8e1"},"taxa":[{"id":"CWE-248","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-704","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":"96686e37f76e12d3db32c33a4b7fc90a34d78d49f75a7c2c91bd3ecd59dc04c9"},"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":"3cd3ac95078afd8c182ad31d5e4eb59c3cff9a30c1c0eb146958d63b9dcb1dec"},"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":"7a83801bc2784bd2456592167f8e2e46319083cfae6b20b7413d595544cd1467"},"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":"e8a8a3363090548af6f6e9a5ebfd45aaf50206268b32c8718b56bd7ad616d8c9"},"taxa":[{"id":"CWE-400","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"8bc77ebb0346a0bf6dd7dd2b681d3758f8f157a54ad1e79c1c3630195063f546"},"taxa":[{"id":"CWE-775","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":"5f091434e636e18bec38feb26076b0156b6317b1e4828c8c13fc5140503fceec"},"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":"e2b955c3db5a63e69ecff8c9faccfb10e2c4ae1b6547fcd2a5fbd03b301297f7"},"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":"c4e7d0f93719556c6c6cc80b66f2631f1538bdad200b98c25a9e17edc7d1934e"},"taxa":[{"id":"CWE-193","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-670","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":"7acc19a85ee9a630b8f7af5c99c53f2d65fcd667d88cee3a64a5a2ce25926942"},"taxa":[{"id":"CWE-400","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1f318339f5c39de33fe7b6c03f51097f50d3c4d9fd51f3b3ca91c25c2d0294d2"},"taxa":[{"id":"CWE-193","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-670","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":"7a4a5abf0158f251066de2438058105984aad11a8d866a217ae2e94bfa6708e2"},"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":"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":"896cc6c78423d951d15297f56bdca6f693a3adc5f59120756310db04dbc94d2c"},"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":"c0e0d5315aa6b6163356a1cb1c0ac5a9f1720aa3477e3d3cf910b53bcd541153"},"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":"dea25fe5d6b2fe3746c5d55d240874b96a2ca8db3933446b750708c1419ca7a0"},"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":"cbe6a3d9214cd74486c477fb499af9e80a4850d81f22a453bc1a8c981d5e5810"},"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":"56cd92c0434d5c5cd150667dd43497a42e6c43eac4e995708daefc9fffeec341"},"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":"b6defb61abf8d7698ad73acbaacacac692e3db389415cd126387015573ed470f"},"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":"0a5a378989082d9116a446c8c9ca8c9bab5d09e2c583526475c8f6a02d050790"},"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":"3e9f474d82c10066e9efecb389c65bee693ac99f59fa84d19d049186d486a5f6"},"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":"dd13c1506474d492e3be661de4dbdfef1772f049cdf72d31137572b53f376051"},"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":"985dde020da2f9fcf0ecfa5b78289073ca94cb8682d10f80f3d8ffbfb059df72"},"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":"24d0634970e264bad49acf43f8c80861e2e594c93e912809b209fa56c0c36e69"},"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":"4c605c2b80dc3725d4e33bebffebd69e886dfdd39796f794b3d2b7ed09a91562"},"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":"874ca38893ff67e52e0ba139da158a26afa0a30df535eb775c1f638b9220edcd"},"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":"617a4563e351a7688fd4ec0db58a6ebf2b4753661b9559817284332a942e89e8"},"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":"f03ee3261df67461f3ee27db8bebb960a8416414e235447f81f9f5fdbe407a35"},"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":"764285955aa4ffd13794d94bdfbff55bfe599b6105760685b6f52a4fa70df5fb"},"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":"5dc21980137cc057b3b80ece08d9d87ab5fd321137198508bee7231e517e1e3c"},"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":"2655c2aabdee2f255684366e2b633f9e769b9ff1f01f679cc0388c2d384c1e09"},"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":"136c210d4c9d0b34acb818cca0d2dd4036cf8aa4f1607ab0ef5db0566a228bc1"},"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":"73f7a1d796585f1593cbee26201bfef2f035a52ee0d8fb6237d502a2986344be"},"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":"b2f069972e95fbfe34de5cd633edc544de4f605454f13be70a5d7484f374bf0d"},"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":"dd8fb5f6a5ef5ec884422665c003bf7ec8fc1464f7aa6f248ad2c6618ba5c216"},"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":"783c9cd836e64241e8d7927d3e9392bfa2142d1ac6b2831bde6a62d9efa717bc"},"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":"4faf8e28c41806492fc8d730627636a316be25748ca4f908277abe1b3934ddd5"},"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":"9935ebb2b1d25117362fedcbb695d574968de54361fbd055e6e3e67639c02799"},"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":"94a53fb7f7a37267c440607b1c3fa3a247aec40509fa7a5495b98f48d7b3d977"},"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":"fd2c3212ca462965850a7be1be58b13ca0c248138abeaf32d730eefe9a456aa2"},"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":"f70847456cab5f1fce984832e33ebc8a5083ee85ae4332214222891eca2c3ef9"},"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":"08c9335eb83b86395ffcf3cc631f07a89a4ac662e14458956d1c6441f81f738c"},"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":"8a676f9f843e886469b4363e05628c562f3ae39d64cd34ffcb483093a8478b02"},"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":"81c4cf5300ef773c520e351798a90f5c6d5f9d10fdcf1808e67ba4f69a8f4cd1"},"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":"f64aaf81cc1876908f74ca37a16f2cefe121b9aa6091d88c9e3f18ea5ea7998b"},"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":"67ec674fb2c06e41ef89fbd43a6c014ae018f42d467f725bccc5baee58ba2085"},"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":"2279d03a0112917d13ed4393649b171902a25a861169b9b02246616c3660e713"},"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":"46d193d5ace8c6a27911aec709aa46cbbf4c496b88ca15b96f92a4d87ebbc8b7"},"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":"7b8c048f972ca2b5334b24f86b7db6ba62f2d288c954281aca62750eca38573f"},"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":"039ef51a4c0ff7350f5433842a87eb4e779a3479c0fea6a41ecb2d2af897fe71"},"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":"95b348562404cb97f67e0106337724938062d90cdaddedc72df1d9eef63a60ef"},"properties":{"dependency":{"package":"stdlib","version":"1.19.99","advisory":"GO-2025-4006","aliases":["BIT-golang-2025-47912","BIT-golang-2025-58183","BIT-golang-2025-58185","BIT-golang-2025-58186","BIT-golang-2025-58187","BIT-golang-2025-58188","BIT-golang-2025-58189","BIT-golang-2025-61723","BIT-golang-2025-61724","BIT-golang-2025-61725","BIT-golang-2025-61726","BIT-golang-2025-61727","BIT-golang-2025-61728","BIT-golang-2025-61729","BIT-golang-2025-61730","BIT-golang-2025-68121","BIT-golang-2026-111943","BIT-golang-2026-25679","BIT-golang-2026-27139","BIT-golang-2026-27142","BIT-golang-2026-27145","BIT-golang-2026-32280","BIT-golang-2026-32281","BIT-golang-2026-32282","BIT-golang-2026-32283","BIT-golang-2026-32288","BIT-golang-2026-32289","BIT-golang-2026-33811","BIT-golang-2026-33814","BIT-golang-2026-33818","BIT-golang-2026-39820","BIT-golang-2026-39822","BIT-golang-2026-39823","BIT-golang-2026-39825","BIT-golang-2026-39826","BIT-golang-2026-39836","BIT-golang-2026-42499","BIT-golang-2026-42504","BIT-golang-2026-42505","BIT-golang-2026-42507","BIT-golang-2026-56853","BIT-golang-2026-56857","BIT-golang-2026-56858","BIT-golang-2026-56859","BIT-golang-2026-56860","BIT-golang-2026-56862","BIT-golang-2026-56866","BIT-golang-2026-78659","BIT-golang-2026-78660","BIT-golang-2026-78663","BIT-golang-2026-78667","BIT-golang-2026-78669","BIT-golang-2026-94439","BIT-golang-2026-94440","BIT-golang-2026-94448","BIT-golang-2026-97030","BIT-golang-2026-97031","BIT-golang-2026-97032","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","GO-2025-4007","GO-2025-4008","GO-2025-4009","GO-2025-4010","GO-2025-4011","GO-2025-4012","GO-2025-4013","GO-2025-4014","GO-2025-4015","GO-2025-4155","GO-2025-4175","GO-2026-4337","GO-2026-4340","GO-2026-4341","GO-2026-4342","GO-2026-4601","GO-2026-4602","GO-2026-4603","GO-2026-4864","GO-2026-4865","GO-2026-4869","GO-2026-4870","GO-2026-4918","GO-2026-4946","GO-2026-4947","GO-2026-4970","GO-2026-4971","GO-2026-4976","GO-2026-4977","GO-2026-4980","GO-2026-4981","GO-2026-4982","GO-2026-4986","GO-2026-5026","GO-2026-5037","GO-2026-5038","GO-2026-5039","GO-2026-5856","GO-2026-5972","GO-2026-6088","GO-2026-6089","GO-2026-6090","GO-2026-6091","GO-2026-6218","GO-2026-6599","GO-2026-6600","GO-2026-6603","GO-2026-6604","GO-2026-6605","GO-2026-6607","GO-2026-6608","GO-2026-6609","GO-2026-6610","GO-2026-6611","GO-2026-6612","GO-2026-6613","GO-2026-6617","GO-2026-6809","GO-2026-6859","RUSTSEC-2026-0381","RUSTSEC-2026-0382","RUSTSEC-2026-0383"],"severity":"medium","fixedVersion":"1.24.8","relation":"direct","declaredRange":"1.19","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":"c96961451f04aafa179b2c2107c46849aa33bd7c0d2520a7d77bd3171ab52c99"}},{"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":"340381b6687d2c43534d0cdbede22765c892b00da6a2152b4fa2ee00b597b40d"}},{"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":"5941a8c6a7d612e91ebe87103169314baf496b49a360765e594e2160ec016745"},"taxa":[{"id":"CWE-1104","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","level":"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":"d4500cff04ae339c634f7453afff1a04a32745dee9d494bf66e7e51101182f88"},"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"}},{"id":"CICD-SEC-3","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"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":"4b344116b8c1d6c5cb5d323df09e590e29962ad37becb96c8431ce32a9c36782"}},{"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":"e94ab596160a133f65eeec37e1973f738aece35bdc199a764839a2ff4b29ea8e"}},{"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":"02647d7c55dbba75d06b226f464a8238281f671603ceaa9c7caecef0f86ef510"}},{"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":"6d34e1ff6b202ea8421c64d71f300a7c2c29ebd6d3962a09c590d9f811ff4a1c"}},{"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":"d3ad3dd562be30a3af9b8c7bfc376b4141f43f15597036a21f22cec56a273631"}},{"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":"423322f67092ac5c1ea7dc43adce81a01db704c5cae5956ef6e3e8845e523f96"},"taxa":[{"id":"CWE-1104","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","level":"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":"1719c8fdc79fb8bcc19dbabd2b6aa06a12adba270274c6fd737073cd1681e3e4"}},{"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":"b3d72354492fc97c51df57c0ef6728e86fddf70b9847ca592ba6f8e0902704af"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"6dcf0d1d10a51af71e9586044fada2be94bd88ea2967c39dda660a7cbd967d17"}},{"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":"8c856817c48c2f6676cfd899e521473e8e635a32808052a72e346af2e3c4848e"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f2e66714b81d9bf326d8b530a2ffff2d79f6e6899fe967813ebf4e5fe653dbdb"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3b9b51d7871b174df8b9e32e9f284a23ed14c3916ec2f822e6f2dc494bd1cbee"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"eb8ef84976dcf6afb26dda35618db1ae775a92752c70c42fa4314015d36ebec6"}},{"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":"95371c61b9b357a430abeddb7637d71e62ad5230e773d0a950a029f3125f55a4"}},{"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":"b218ba3d26ec36256f654761aad685eccbe7742e351e8c7503c9d500a64fe54b"}},{"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":"4c8cff74fa9c1cf28f16cbc373e7c24b0a9850f4efcaa9cac45dde1ed9b2575c"}},{"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":"cee953e6164dc6485fc8aae3e058258409980105650a50a8cf6e3d50932df73b"}},{"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":"3211c9da06ae7c763d8f57f16ed7c94f76b8bb0993861dd2fa7feb60e98a5c99"}},{"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":"9ff1ee9dd5615e2d512c1b5a7eb9a731208830cdc6ec1c07d8913d2a5c081e3c"}},{"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":"9e0f3459b79638a37e60cbd02c38023fe12af07a9f4389344a1f2c17a05fb726"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-3","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"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":"004c7ad14e89ff92fad1513500a6b2cdb2d402c647e3df1f57a1082045695aeb"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"71608d8f840811287b074158daed5e0d3bd668b2411f4330e4dd712b43820c7b"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c964a8e7749870c26973544ad5cd35c422f190e026c2310e77b1e481f5956dd1"}},{"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":"7b7958276d8730a485b45e1ef321d1e9f7912639eb8dc3b8fec83d81b4cb1bea"}},{"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":"567e57216be2752b58c9f488e869e6a075823f972c31b673a5e98a1723048196"}},{"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":"e0c43f21e4e7ccdced57933141ac749c78154ce2673dd4688a7c365b326714e3"}},{"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":"caac45029793eefed9119f522c0127a5315ed2b4b374db133d394604c4b1a68c"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"5167a4e3ed7305a20dadeeaf838731f9f3709f58bc6604024fd157e9f542edda"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"92bccfb815c4ea60f44b187907a9a843b0de7564b3bff140de7886376c1a1df5"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"073446deec279b8534e8529dca82f7f0f1af1cd9d5c4dcc2fed0c054f14a475d"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"cb52fd4a49729c66e7d8477bd6e89719be69f3ac39328c7d0c70ede5e9aa023d"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b86345ff895cb07f2d316a2c520652c8a17048ab9e7e3c4e87c8370eb1e5ac16"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"62e041fc84353620c92d3d0ea7a0d247bb87ebae5ab4bc2b03dca64d2e46ba4f"}},{"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":"9317e3069decbd6a95a37e6f8b6382739e344af254acc1244ec213ef8a135170"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3c86264d711956de3f121ffdc1c88302073e5d096c6ebe90e8ded1a5ca8c27e6"}},{"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":"9af2a33c8e06418c5eefab8c1c7e89837e31c11da23623ac697c444af5ede3de"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d5baad36ad7aef1bdba709328b0802eb04047443846aea838769f1067b650de1"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d5dc065a52df7d5f282d722da71f9bf448b9f47b56e523ad18a68331a547bdb4"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","level":"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":"be0f0e57a17629c2a5868c04c9fbcb45cb94344d0b8a648c7237eb21e0250ce0"}},{"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":"2c78e0002af5419350913f69c4423feeec033a0eb65a97ad395134b0d0de69c1"}},{"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":"450218bbc962a4ae0487a048bb83686eba5cb30e12cdb118c5c9dcfd231c416a"}},{"ruleId":"D34","level":"note","message":{"text":"Concentrated knowledge decay: 513 of 533 significant files have no living knowledge, while the repository is still being changed at a low rate (4 commit(s) in the last 90 days) \u2014 so this is one repo-wide knowledge-decay state, not 513 separate risks. Counted over 533 of the 1263 production source files in this repository: the rest are under the ~2,400-byte size floor this dimension measures over. The code moved on without the people who understood these files: document them or schedule a read-through before the next change lands in them."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"008bd8d3156a7f5206da709f59f1f87af76671c6b9becea72c8c9cffbcbd4f8e"}},{"ruleId":"D34","level":"note","message":{"text":"Most significant orphaned file: One of the orphaned files carrying the most lost knowledge \u2014 ranked by size weighted by the file\u0027s role in the codebase, the same weighting behind the score above, so core code outranks equally large plumbing. A reasonable place to start a read-through before the aggregate risk above bites."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/network.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b6f969d6e71e42252f88599c1fa3da121d69beb4617517e17f0705f82e3540a"}},{"ruleId":"D34","level":"note","message":{"text":"Most significant orphaned file: One of the orphaned files carrying the most lost knowledge \u2014 ranked by size weighted by the file\u0027s role in the codebase, the same weighting behind the score above, so core code outranks equally large plumbing. A reasonable place to start a read-through before the aggregate risk above bites."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/daemon_unix.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d39c26da7911b8d0da2aa6e69b62d9050737ec8cc36a27083ec44464eede845a"}},{"ruleId":"D34","level":"note","message":{"text":"Most significant orphaned file: One of the orphaned files carrying the most lost knowledge \u2014 ranked by size weighted by the file\u0027s role in the codebase, the same weighting behind the score above, so core code outranks equally large plumbing. A reasonable place to start a read-through before the aggregate risk above bites."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/drivers/bridge/bridge_linux.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"18a4c6261c2efc3bc46f97a4336f05fc171c073a8ce2307b09e09c44c9231401"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libcontainerd/local/local_windows.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e4af244ad6c738e56a45e7c4c2d35265a69db51f30cd5b246388cd2ce1ccd1d"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/oci_linux.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad4788dedd2534217b16e6b585004cc5825255b78a4bfccd87c287942aef565c"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/container_operations.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"87f3b4e9a795927fce23f8e1599ba5bfbd2e9b3373bbda1418803cdf2514c2bf"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/controller.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc06e4426b4995e15a2268d0c7e37ddba586ad057808dc38c362b3f221a15977"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/endpoint.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f064f503bcefe53ebb6768136d1ca4595c416fff0125fee0382ec7e71995a9c1"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/logger/awslogs/cloudwatchlogs.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"83c8eb128b3d6e5b4e36757a4e801bdaf13b39a7970ebae134c00d4be069f27b"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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/server/router/container/container_routes.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"92828dbf54e5cf72bd3ce98c252fc503323c8789ecd11ccf0ced72934bac955c"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/agent.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9caa8f7198da055fb93800ae3bae6ae0aff67ecd0212e94955770004a9844f87"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/cmd/networkdb-test/dbclient/ndbClient.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"675c803bb90fe894fe172a3465efdecf6782dc6bc68d515175e1c332f3bb83fc"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/network.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"94afc184b282a9a253cbe0b83038326599d5a90f9fe261f7e0270bd4ef270ad8"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"testutil/daemon/daemon.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c44d36a0f0bf9026bb6a806960bf8da1da4c407066cf8b951fa4fbc156558b11"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/cnmallocator/networkallocator.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7af88a579b71e46c13ce604935bd753c3b1c7e190f5618e18168f8ea0436c57"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/config/config.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fc4f05775927126d08ad0c12b20d3ddc0e8e5e0e44578b6ca24494727fbfe05"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/graphdriver/windows/windows.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bb429796bdf30d4a3736a8802185a7200a8c80d31fad5e836c5e00d7b2c103c"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/networkdb/networkdb.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9dcc0f0b8ddd8932c614d28d03a83db10c50240b1d1c895bfb99b71b5b92d202"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"distribution/push_v2.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1924ccce806c10978bdbc9d306bf2a0c83e49824ade6528d8a57d31f29916134"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"volume/service/store.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"28ba461dad8e5c448c5f2c1b348e6c9b36c0d95e34a24c036ac2323a40f2a620"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"builder/builder-next/adapters/containerimage/pull.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d23676fe8d0e5ee4d35b9a9e34b3e1dfe1d987df07934383cf4e7015febfcd1"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugin/backend_linux.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0d6ad692cf4d83796b425f3996eb35f19f99def8c9c297ea6d624ce73e3a84a"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/drivers/windows/windows.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c676933e973d989d80c4a6424afdd435631c5e1327a3d11db4299c2afe15593"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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/types/types.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3537a8dd37ffbe35c511abaac0e7b5e245bdada9ccc12127bbc7426b4a2330be"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/service_linux.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1b00fa24189d4b38fb6b8fea8e946441298af96dba7b49b52f49b6750fda941"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libcontainerd/remote/client.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1809abba8306fddb0d1d544e095a19007bf884f7f425ea0fb70709bc06a7c0a"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/iptables/iptables.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a3dde40eba665c7357f8cc0cfbaec4d3b4087a81a26c6ee3e563f48b818f08d"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"builder/dockerfile/dispatchers.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e822e12b23a0e12ab1195a58fdca2db8c22ebc79e6052086cdbf47608a936f89"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/networkdb/cluster.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"252c7dd0bc285216a8dd064c7efed57d4529c9c729c029c3c8d4c1804eee64fd"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/daemon_windows.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"65be01c5dcda69fa3a5915855b2c53e5133d508c7cb65750d43fd02267046b68"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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/types/container/hostconfig.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"13b8ae616e4440f1a8a57fb0f147e556ef869dfe80f606f61f1303a85ef2e99a"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/containerd/image_builder.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5d8e45fd92fc4d019b6b1a03242669c5189078f70a482be5f1ae322389cd4ec"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/sandbox.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b2c348db08bb1dd6027ec0076d9673fd0352bafd54525e04f23bc5fb27ba88e"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/list.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ab137b5a115c8f6fea9ffcaca8be0c4315341f28e2fbae14203e895fc469cad"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/logger/splunk/splunk.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bbda65c4248b7c681625e959d7b6c03eab4bdc077b57e3570621fb6bcc88d62"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/drivers/overlay/ov_network.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"301537d9b651ad0401219d349498c3a03ed8ddfad76483b6fd5d793ff8d0126c"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/logger/loggerutils/logfile.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf645d89c8be77bb3434b04dc578386a0e96227e328a007d10fceff8a6069284"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/resolver.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"934786946efa3f97963fe6407b03fdd0679346a72574b3afcb5e2aa8ccdbebd1"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/osl/namespace_linux.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a325aabab6b59fd5f12f8ba41338d052570b4350c6fc7d8e2f7db6494b409931"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/oci_windows.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"68de0eb5defc186a6eb84d069391970484360656d9dee78ba192434645418a90"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/containerd/image.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2dcb3e9089ab88ede28779de2b0b30273689fddad406d3326dbaa23bce666daa"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/graphdriver/btrfs/btrfs.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9323d434c350c32da91020e53f5a2fb828fcef4154b5a5b34e66f13d8a93b60e"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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/server/router/swarm/cluster_routes.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0e748181766ab6b8897d33fc496776d3183f0f9766cd07516857c9a2c4fa85b"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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/archive/copy.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"43a3dc4649e189585448c19835c2b743902a4097de63f4b3fd1605fa93a2aabb"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"builder/builder-next/builder.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"556fb2d8bf686ca6265ff09e8c5f59a6ac9ec9602ba60b6d2abef5ba43c8bc8c"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/bitmap/sequence.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d61dadbe54148bb6c9befdbf21a87d21f8972a178286510dd30990365c5bd5b7"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/logger/loggertest/logreader.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"379326f7a471f7008b7e6cda2539ae03c085b300cd9ea0e9824a1a8c5c0f9a79"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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/types/volume/cluster_volume.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"15df441e71b15042d7253515ee922e6f25c524847ea7b6d6ad4ee5148b9e4a21"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/drivers/bridge/setup_ip_tables_linux.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ce71dc229cf7baff3e042f366fe16aff59e0000e045be15c9f7f9c32e7e67c9"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/drivers/overlay/encryption.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"02af34c004d9128576ddf83953f80ed3f1cd80597db1a79a0900b7a4c7444bd8"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/info_unix.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d90a9edcf6ba05ef7de1f0da185e5cb822e1932f4b19fdf5dd0baa489a98e60a"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"image/tarexport/save.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca84bbbc99f1594a4dc9452856696fbaedd14bf0df65eb0e6a8473b1c77b93bb"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"profiles/seccomp/default_linux.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"51c713ea1dad2c30e388dd32364890e7a10b52bafacfef758685d6b703a932e8"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/containerd/image_list.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"24bba55ccc459424a98b9eeb52d8800188ec3cb574cabd60de4622c65b6dcd75"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"builder/builder-next/worker/worker.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a971a89328ab4fa8a7d629e274f6d4950220844cba40102296f6490068b29ff9"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"builder/dockerfile/copy.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a184af39824e93f7a36aafd2cba42e0e614fd69844e4711d894da596f6f68ff0"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/containerd/image_delete.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b3d2370d2579f286ad415d0787605eeed59c48c4615d256c95d7d874ab4f638"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"registry/config.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"64c1fceed3379ed00c574e8ecc027a867f649d10baf6a48136230f5bcc1a5d51"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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/client.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba515233f864d365c9940a307c255ec767dc7b06fa89ef9e169a57fa18ada3ff"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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/server/router/image/image_routes.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"20c8375e2c64453e8f431103d644b2dcc652256b10d5e6db79f67f4688fe961f"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/graphdriver/fuse-overlayfs/fuseoverlayfs.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"078b73fccdab34b48300637eb259fbd99db0e0851589775a74afd7670f270922"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"container/container_unix.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d122e5a4346f60057919e8dd040b8267a601322cc449262db6c08ef1317407a1"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/logger/journald/read.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca6e32c00b77fbf9c4f5fddce6dc737d359114b0de7c4135ae790a8f07809ead"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"container/view.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b617b3c094336dc92552b52a3c34d3ea187cd5579043eac8ef8fc3bfe8f25d2"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/networkdb/delegate.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b1c975d6905641f297f9c4e56d66f8907aeb4f6adc6c7b4d82d2863be4feba7"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/images/image_delete.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bc2dc887bfe5d01fd1936edf3ce9513ad9524089311866d8109efd182922572"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/health.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fab5811327287e3ef5ac4b432abb52c04d7feaf15b5f1673e107da7bba0e4089"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"volume/mounts/windows_parser.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ca12ac1763e563b0ac7079df958d6b6caeabd58b78599a93c2f804474216ef7"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"builder/builder-next/controller.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"42857dda4ff3846248ad30b5f6d23add6190c90e8a0ded78d2ca718973d95d89"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/sandbox_dns_unix.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bff17fc08e8be0098f54497c514b1033a5622615f40da05bd66b82b0896e8e05"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/osl/interface_linux.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"82466641bc5df3e3d5358db2cd1f6a2fac262c93207cbea988f968a32a88ab6d"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"builder/dockerfile/internals.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"903cbf3f6516431f21862c4b53cebdf082cef12c992a1cd7c0fefdba703c4390"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/networkdb/networkdbdiagnostic.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"144cd03fe92ee3609ad4d554fc94a5a3aa28e06a6ca3df5b181adae4ff314778"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/endpoint_info.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7310d991349dab73c17eccbd485ff4d2223fc7315cffc13bcaecc631e0316310"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/service_common.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d7a1d432547b9724e01dc09ae7a0830e6f61051ff925133dceb56ac934349d8"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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/interface.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"874266cefb67b0b332dbf4be4f8eb62eb2594442431dabef57095a5da0f2dae3"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/ipam/allocator.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"67f0c96ad8dca433175ff3d30bf2f26bbec8fb73f114ce9c28ab0426cbe11baa"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/drivers/remote/driver.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5c664286be4ea9d9dae077ca78c4869566e0138b75c2656b46befd054f50cbb"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/containerd/image_import.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b633a3b2925c2d8db8198f9c55d09d0d096ac399b1b59c570cbf56e512991b7"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/types/types.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"148b499469258f25fb13b49b1862618fdc05c52a2a5259d4bc1e583e5cfb74c6"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/info.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"84f19da0e45971992630a659214f94236fcef372b24ef79a8cfc82a9544a3aad"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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/archive/changes.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b11b7b81703e4526cf9e33c1e602811c2cbdc62f834cb9b44852e3e20afc95a1"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/container.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"81ca0d267a820d20da2e36dcb4110df4b27b44eeecce84864915a9e2ae3dd598"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/reload.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"03bc4ceb5a66aee2e63b52c62cb4da3caa873c0baca7b95aa39d552514124aaf"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"layer/filestore.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d9545d6eb736afaaf657efc904f945f2f64d6b75f87c3130900d9bcf03be733"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"builder/builder-next/adapters/snapshot/snapshot.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5af45cc9a2a64d7a184ba0feaad1e673b0004495ede2f7d8d8f9ae30dcb3f428"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"volume/local/local.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ece51126ff5b48449e4602e063546de1a54982bfc456e85751b6f84a61d1456"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/graphdriver/zfs/zfs.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9ff2be99b68c9d6b3d128dbb45373e351ee8728c0df3cbca158909bac012e95"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/stats_unix.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"47308b3c8f5bd9ab1dc58b2223beaf4b75dd959d7e8b506c12052ea422165142"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"builder/dockerfile/builder.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"140a965f7f508297dd8ec81c3e389754dfb086d1dd6f4eb94941dfa195190c42"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"opts/opts.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"186926216f81c1b35cab534e29c17e2b1a7e100d0942ada2c03d4f76b8c40341"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"container/state.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d43f0f21db6d8a36404002a980d5ae1181413ccf370af2a524c1d02824134c1c"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/drivers/bridge/bridge_store.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3677631fb88bfffb36bbf82946979c9f9c94944915d2c8ec1bad43d903a6906f"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quota/projectquota.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"efca12771f12d88c9e03fbcd4777cc81bc31b14ed1862bb2e631ad5c00a11436"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/archive_windows.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe5a407f685205cb30b74b082096b743f66d8ca2c47ad113e6c26674be111332"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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/types/client.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1a5bf9eed2fc0906a3efc63ae07f603d662395e3721bb890fb3ec3f10c9e5ad"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/graphdriver/driver.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"73548a0aa668eb15f644656fcf93443e09a78e480cfcc3a709da9cbd0e5b106a"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/inspect.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0087f900675825d7ece6f1142168817b9660a07a367c4699f5082e973f0cba1a"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"distribution/manifest.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"50a933ef61d69413c281ad0b287c2a559a2b3b50414cbdfddd99e05235f60fb8"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/start.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a4984270e28a1de85efee4278fb9b251d8692a03981537a4c5c20b369b761a2"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/container_operations_unix.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b86d2c3554ac66343b21cc290984b26c750bf51f24c16e50e92fefc03a67293"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"distribution/xfer/transfer.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"09b137a204bcf0fc6bf4f96f30630cce047abccd50a0c3bbfffc6548b73e5b9a"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"volume/mounts/linux_parser.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"55b21e446b530b25789c0ad4184d240d700c9a7a67cffb0ecddbb896bc3f17a6"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/containerd/image_push.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"56a39aac3f6d961b0659c060ab4686f1f1ca0dc91262340bee01982b5edba3db"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"integration/internal/container/ops.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b300098134766558c89572aaf51050ad5e10ac173aa834bdfa0933e59ac1d57f"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/config/config_linux.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4315d29676b6d845badb8435510e6bbaf8ffecc473371da6b083a0e0a2efaabc"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugin/manager.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3236cafb979773300b5159b22c99b14fdbdaf0a528dfffd8fad35e396d84d695"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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/request.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"10d8b6e7dc9aca09922832bad3e3811ed835c8988557667b652b1ff810f065a5"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/exec.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"881636f0459f30e01095bfbb9046e4f8b52e8b32fd2128d6f6af889f2490a345"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugin/manager_linux.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a8cbe5f4dc77eb9fde36bf841adc4f24f29716279bd828c49de440a255c4443"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/containerd/image_exporter.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fc4662dc5801523798d0de763312f44958647aa52efcd316af78419ad2a3d0f"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/containerd/image_commit.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e351e98f5e2aa69166bcd091ed57d7fc231be946833c7797227d6bad0635aa5"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/images/image.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"775d4b7e618bf623dd9e038ed4604e7c4bc7f5325e8ee072a7620f2927ea8be6"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugin/fetch_linux.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcd3fd1b1b1decd3274f17fe77d9524457a9ef45bfed52a960ac12a12002ed68"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/graphdriver/graphtest/graphtest_unix.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"43d75db19a85897511709989a9b37fb7d5cf61ad20384e11e238c2c98d8521d0"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"reference/store.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"808b7b2ae37dca21b0aeea2d3f742478b2d6bc9a812d03d103cb83ae3c29b595"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libcontainerd/supervisor/remote_daemon.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b806bf6cb368224e382b476f6006d011991c47c059ddb9f17612216feb36d6b1"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/monitor.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"48043200182bed995ec5999bcd989e1afacdfffdd2e14dae1f3b14acc569821d"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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/jsonmessage/jsonmessage.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c94badac6ae58a0d711801f11cf02a86a79687164e950693431b9aa55e5f012"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/runtime_unix.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fc0b0d9e0da31e4bfcce7da15580f5dbd4a9c891b383c7853b02070864dc48c"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"volume/service/service.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c9e5c571d5dd1066b4d3e24c9d61e69bab093ad917d6ca6dd938a22402f794d"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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/sysinfo/sysinfo_linux.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"384768a6f112487390b9d66187e140872a57d03dd9e40ccc6ecb5ad842ceef25"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/drivers/ipvlan/ipvlan_store.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"30ca5b1b9dbc9f5a16a9765a88f064b6ec6cb005ce4deda8d40d4f490a147cac"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/volumes.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d31cdd206d139275457d862fcf01a8db379f0d5d56642bacc7db862a81242c2"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/resolvconf/resolvconf.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bbc6912a73b3675edee4c78a076353085a38e3b88f896085188197c6f016a56"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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/server/router/network/network_routes.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d78d70783b6f141eca4265e5a25549f59dd7bbf102e319a30b99af6348e1fef"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/drivers/macvlan/macvlan_store.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"51fb3fed00c07112f1260cc4570472f5abdf3a4703567bca62e012df98342dcf"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/logger/journald/internal/sdjournal/sdjournal.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"65437de5701a7c1084a1d924ca04543e2930e6fee825b54e2ebaeae8e29d3767"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"image/image.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fca924d721bcf50c86239fa56ef746c46ee4ab7eb4a816d4171142f0fe0f99e"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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/server/router/system/system_routes.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f17dbb125da9a92fd48dadb9a945f169624fd6e3c6facb19d0f19af567eb8f5e"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/drivers/ipvlan/ipvlan_network.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"92c90d322392f6912fe6d86bef321adfa67fb8dca5baafd76e2567b9019c176f"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/drivers/windows/windows_store.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bce8c18f260bb8e00290dfb1116b6ca9dd7c238a5edd1652cdf13b91b53df66d"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/graphdriver/graphtest/testutil.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"28564f2d7112699f25fcb1233751552034e528977d91da8c8be49726735cfe11"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugin/v2/plugin.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4eca6185db107730e4847d247b586a7aeb2038e1012dab2ed08bbf589aad224"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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/types/filters/parse.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"935ce447ed8a302f956ad08d8b0de06c9b2128aebd1606657d08f2160db12490"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/dockerd/service_windows.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4f3a370d9787f531b7e886c9dead0b493c0c1a432415a00ef10982dccf8c736"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/logger/fluentd/fluentd.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c8e8667d74bd0a1432235258c23387f3f6a2f732c6f58126538ce355e464626"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/drivers/overlay/peerdb.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e49191fb9efd7efeee55146c8d0e3393f00eca68e56ee71b079a496ea61bf5c"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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/idtools/idtools_unix.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5abcf402df182982664fd6e6036b528cb47362717b6e672ecfa9a9223e37ebc1"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"integration/internal/swarm/service.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b6583211a9a2c2e72098d48ea03bbbc4ce41387b514c4998b2e2e20de3334bd"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/images/image_list.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"80a756fd5ebfee8d29747e4a204bbf32705e10597f662ded8f86f9f243e7544e"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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/plugins/plugins.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7d2bd4a7e216c80306628f4fb37208bdf0619f6ce0982e917c3addda639edde"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/images/service.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c893c8d3d8fb7c21edc9f0f07e8e55343affccf73b1b8c4f2b89090e387e8f5"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/containerd/image_prune.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"59c41802d1131eaf7df8f8f4ec8f7787ff80539d43c6fa7afa479142046b8089"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"image/cache/cache.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"698e276ee6f3427e9a4af93978af73ff30e1def53cbfcd2c81471bd48ae82ef1"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/datastore/datastore.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5d77d4d06101e6e8c76a3b09c8c7a81afcfba282f014faa678f5e782d023dab"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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/server/router/plugin/plugin_routes.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f31f1266b1ff2b2c29c12c7413dc9ea848dfbf69d7fa44a5b344c63574992c79"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/sandbox_linux.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5672ecbddf7bec102bd7e40c728eb5484c7e8bb37a22527dab7a72c77ccacd8"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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/tarsum/tarsum.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2711fa95062face0bbdbd5da4e9cf58611276200f3bdd3749bb88b52b3e58fb"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/iptables/firewalld.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9535a769717e9cf10d8cdc03c10ad49fad53ba0ad34198e2d0f656ad19f14936"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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/types/swarm/task.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf53e0ce238bb0cf5dcd52a693d37c1a29017495f73750a98da7ceed264380fb"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/drivers/windows/overlay/ov_network_windows.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c2232139a8c3b73777c561686e13475f3f06f01500186ced615ad46c9c91642"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/driverapi/driverapi.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"43c34617110af1c3a13abb87d6de39bf4c579bfa8857d80fa444d641d87dee05"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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/archive/diff.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dafb62900955e0cbcee694b7c82ecb0a6ad9079e6974b84330f32fc9382b4040"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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/types/swarm/service.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bae67cad2ad9f15c7389d2e3d39929e27ebec405b9d0f28d9aa55dd2e0944a2"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/containerfs_linux.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"40648b4cc1d65e7098cdb363ba37f315ebbab051e0278dac8eba7fc1e5ba632a"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/containerd/image_pull.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdab38146c88254c52b8bc97f52be3631cc70228cfdbda71c9ee6b22e1535681"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"builder/dockerfile/evaluator.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"af6c64e5c81e2df770e94d543941cb24e04d63c3e270d6f42f5cdb0ba3287ec6"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugin/store.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d05fa931b454cb88144e53c39c4159ba017e4dfadeb0ef823b26ef4349766d5e"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/images/image_builder.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b02be36a38ebbf2322157903df35cd7b14a3125ce2c8bc14693da4a35e59b91a"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/drivers/ipvlan/ipvlan_setup.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a129ed8c6d5479652c0fd67206d2cebf1ff46caa998dd11f69c631c750f15e2"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/drivers/macvlan/macvlan_network.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5853dfe8722592696b0ebbe74db54fea4e749a5c48f4cdd848361ee2fa222205"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/portmapper/mapper.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8114791b418a5e8e7a0eea2621c18d268d246797dd15976eb0554fbfcca25a6"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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/archive/changes_linux.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a6ddcbcfd3cdc831e6267e5e79837b6ee0dad799e8e3118ebc9253087c1d331"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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/server/router/volume/volume_routes.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b817896d7d029ec75bcc46f9aa00c89a9fe1721d73663849eecaca88e58bc82d"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/drivers/bridge/port_mapping_linux.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2880815e8cd90d2b7b6bc11f0d5443ddd165d6fe67acbcdb77e3cb42e2b21634"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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/plugins/client.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bf0ad5e56843412ac5582356578caa1957bb91366a744f35de316c709f6d2d6"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"testutil/environment/environment.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e5789fad411a35f9a7c306e5b408201b378cb1d33de6a6b55d620ca6a942ce7"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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/types/swarm/swarm.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"412aea5e1b846c82f0420abc5ef3f906fce0683b8071848ecd1bbff286da89aa"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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/options.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"027d3fcdfa002d73597c676946a06b200cea79c2352e143946b32631650202fd"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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/service_create.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c603d37ac6e16c255e86e9b8bd1805843810030fb27b89e8aa7da84071f84b34"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/cmd/ssd/ssd.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a168a84710256e0431ad27c300827a23eb83b847c0e969f2bd6f128b1a99599"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"distribution/metadata/v2_metadata_service.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"39510f946a883b49af5a3c91244e9376f75b034cc31c5fe349226b51840bbdf1"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"testutil/request/request.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e7984c8422c390d201cea0e4afe778378a89767788e26dddb771edcbcce00f9"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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/idtools/idtools.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed0bdcf4124c9000fbc13fff8402435d276718b8b432c8d92cb3fbd4370724a3"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/logger/loggerutils/file_windows.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"248f70bff059e389cc8ba3bca74ddf16979139d65d556b900e76fcde1286adc5"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"layer/layer.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c17400c7811454b216c546397ebeaf6b7d98cf734311ef5439f566c965f698aa"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/internal/kvstore/boltdb/boltdb.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce207e28ba2d80ff3c4eabfd5d300c6598486bf94f589e61da729c81e14c09b6"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/logger/syslog/syslog.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8dcfad49f9e50092019bb7e048b270dfcfc9d72fd81d3400df2e062f89852a8a"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"volume/mounts/mounts.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d46bdb28e0016f0299c82b49f1c77d752c9da2e5a7158631e043290998305a6c"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"integration-cli/daemon/daemon_swarm.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"60f7c087fcbbf9ea2df9f092a4ceb83ab6c55378fe769e17ca5e8b31087f25cc"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/drivers/macvlan/macvlan_setup.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"175f4470d2b66ad44749eef0e6081466ffd83be60679473c3337e68d8a46eac6"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/cmd/diagnostic/main.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a94a0a240b9a0e8b5011b03eb70cbd507e34c6af96f3129e38b125a5b5806110"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"registry/search_session.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"21cb304fd9f61b8242a989b7613caaf794d2c8519c89c0a75808686607613557"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/graphdriver/copy/copy.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac013ef4fc6138a0b7afa7d7abd3a9eff07f8c1dbdfd3f0323076a195b20d703"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/graphdriver/overlay2/check.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"594ba7490b116dee93f066ab685a93ca6af59b8db80c5d2fe63ef8a054604455"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/unshare/unshare_linux.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"072ac87e9c74a912141187e1beff6d7109b52498ad6b5573b8d2cad6ff76ca66"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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/types/stats.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"34afd82ca16d404f4991294134d7c3e9c818b4ceae00cecbee54f32423b4272c"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"testutil/environment/protect.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"51b46791dba7fbae3715c7922a227149ea8d3cc92e9f2ad8828093269ca664ef"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/sandbox_store.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"02e1ca8519e21087ce5b0184aab070375a9f63a759239f4f868cd531f73abe2c"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/daemon_linux.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4530dd2dd042db2293ab1332759621ec9c7174a3b7a2a5468e2ebe957a7ba2cb"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"container/container_windows.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"738e3d1c4e7675837c8d1d52e78194d38d575fa3d273cc984a9a1cf54c6e7296"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/graphdriver/vfs/driver.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a439c51c0f69bc182370d9150e0e53814399296448149e5bec15ee3893b3c5d"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"volume/drivers/extpoint.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d01928a14a0689abc9e3512558421d35afd999e3097cee8157d71486f01dad5"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/diagnostic/server.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"931c600b174d67ccec9cacf18cde3640f35f6015e19b66ade7459d9df53643bd"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/drivers/overlay/joinleave.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"077c0559136f4c6fe5d52cffeebdc988e5821b948ec6a766df0cfa2e05907bbd"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/logger/loggerutils/sharedtemp.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d83f96aeefadf3f75296b3dc84b8a2e432cc4612b74631c191883a6344250c44"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/containerd/service.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"409090b42229a05ed17227159d0b3aa6d3b95b720d4d786dd34f0f0dac7ee7c5"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/delete.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0acffa6c016371c920f49562929321bbb287a6aef945e7259d083883353e646e"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"volume/testutils/testutils.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f9d75927d0305fe2d00b994b76da789b913ab3f59b7cdd90ba78825a24bd221"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"opts/hosts.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"37308aabf5a7edcc2d074c387c80dd9cef951639aaaa3ce170153e4f346f132a"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"distribution/errors.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a79ff55d65ce59fae79052509fd2f6b484c681ca5c2630198b770cdf7597556"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/kill.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1dabbba9ac0b7fe55ac9ee7faa528e6063c635e3c3546cee7e5720aa478b16f7"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/logger/gelf/gelf.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"256d832cc142d34bac7fa540ae52896aa4ab08f0264488d97f290f15d4876678"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"registry/search_endpoint_v1.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c74a004f44a8e677c95c0f64dfba8b670ae71262cc5a481bb012610605548185"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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/authorization/authz.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5b19b74a9b114c4b615a9ac5b20dd82978ab6f1cd3daeddd798260b837f3b3b"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"testutil/registry/registry.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dda0388df792ae5461b6f3a72f23e73580808e6a9960ad0cfda31b261512548c"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/dockerd/config.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0324d56c7d1e22919790eafb772a7373aad28e2f682cc6d0d754618c5e5d4a83"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"volume/local/local_unix.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2746c456a9a28af237994a22fe864e807bc2e9fe5a1f4aabc66203d9a24f85f"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/archive_unix.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3508a4fe4467431bd76addf08f31bc1ea53e0399025d60c2972caab2893eec1"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/graphdriver/proxy.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2059a594d8d292389c5e441ab5b8df8472fa5a5ae4bb30d67a99c460bc1a7a5"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/portallocator/portallocator.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dce89a920f914eb8a4393835807c62c001c5bd63e3fb4fe82e66b80a92c8bdd0"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/logger/journald/internal/fake/sender.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd76b59cecb276516efed1ae7fbdc6b2fc0ee5312406917c451e2468382f86c6"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"builder/remotecontext/git/gitutils.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f2421c2e2a948a8b01aa512c168e24049e6979847f24a8dc45b82b4d7b27b70"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/dockerd/options.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c28f05df4a23a5a8cbdd9f9e4999460b0f2a2d194bdbf639cfcbd3e5e23c1118"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/drivers/ipvlan/ipvlan_joinleave.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"825c874c95c44ee1974915e9413c5fac76541636637c4115fba654c2de5ab25a"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/graphdriver/graphtest/graphbench_unix.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d2192bd768cd4d60564de72b74cacc2559829d5b620a2d48be76bb94a9e111f"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/drivers/windows/overlay/ov_endpoint_windows.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfb97c385a117164ddd5eb927e63fac83a9187a4bece6f6fe64391fe1c62c29f"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"registry/auth.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"81b5cc750b4f0a4b2618516b11fb63e41388f9dc2579a3d95085d7949fea2dee"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/drivers/bridge/errors.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a939cf6ee061b130ef30a1867732be272dd4e2d2309b2f11fb7df6c75f9369c5"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/logs.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2859f2b56ce55fdec44027317cd6412a06956bd8f1a6aea45de316bbc8aefa1c"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/logger/gcplogs/gcplogging.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1dcb2acd666a76e96d989985e7ceba346d4fa025aa9241c94a964e60e448fcbb"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"builder/dockerfile/dispatchers_windows.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bbff8d2f709d8adb53c1e0fbdd9a4b9fcb410b5f1d662b656c657c29309616a"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"builder/remotecontext/detect.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c2163688ae61889df1f787e49970fd45a521ac71a0629cf56fcf0031431a5b7"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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/server/router/distribution/distribution_routes.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e01213c2ad8521bac4d7e5d6379427bbd356c968cff5ad16665cf0598921faa"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/drivers/remote/api/api.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9813e39a2ceba6f0cc3b6b476712ec4fc56fce97aa95d3cecb5d1edb31d01b8"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/container_operations_windows.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d050958c67876fc4915651ad051b6056e7ec7b4987aea50f460994bba42db6ca"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"integration-cli/cli/cli.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8f7d8f3f3b5e1d47eede8219ac56e13ddeac06e590c315eddd06c4d8deec662"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/content.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a9a26995b2161ddd4e666ee5fafa108b12c80338d0f4bdba2176d7e5d514185"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"integration/internal/container/container.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e597eea4803204f0f6620244b8b97e5098c5e68dddb4f0ead443e6735d573057"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/logger/local/local.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1ff9efe8bf0ffb5ea4a893d64a7896f76010dd32ea1d85507f4be5b445c89da"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/errors.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff6ae6858ef554a7708e3e35deb0ae879ec98a68a0c0b626605a1fc0873eeb2e"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/containerd/progress.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"68d6256444971c4c63a488ffae087d63f5c6125f54b8d5a537b46c2a3055a01f"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/dockerd/config_unix.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"05321b639486f386381c707d7e617c708a57848c7bbc354d22e508210f1af4a0"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/prune.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"09db088e3e6bafe1efd126cd474b892ef15d065ef24a07357ce4d03619e24d93"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/metrics.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"18dd3beb9c5443f9d213a92eb73d2faf572f9e45a52b97f61f07f1b138764c30"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugin/executor/containerd/containerd.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cebba08d9c9c8294bdf4f5d494b4af2160e8d17b20b0bf5df05ae1845ae5c292"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/drivers/bridge/interface_linux.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"12e4fa535d371a80f3891c8a681ccd3663bfdd552a441a5bd677e887de2cef9f"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/sandbox_options.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b52a54f497f4a50553de1ce102bdfd28d0778752221b4e8aaf68417c7f82a0d9"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"testutil/daemon/swarm.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"795dd5c7153c28f51d8ca9d842d286a3c2bf7e22ee972e98b841752d7a4d89dc"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"errdefs/helpers.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"979a24ba83b15f50f130fd99cfac7d180e33a1d813e614177b7e304c82143a3c"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugin/v2/plugin_linux.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6565fe858eea6ae2a0c113c5d9880f54a85c26ef5da24d8cbb8ab18a5619f5a"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"testutil/environment/clean.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c36f0f2c24fb8e7f5dab22e301d0d1696c4c4fd9a4d3378f4f4f0efd1f9d6fb0"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"distribution/pull_v2_windows.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c8604bf954e373fc1c172cb522abea46e5d07a9a3dd55faa04dc2951c80a6d6"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/drivers/overlay/ovmanager/ovmanager.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"08e3e63a950235730eb29ec51775bd0e972b9431a3c27b0bd0927fb8c81c6d44"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"registry/search.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0489d57dbf9065709c4e4df5ec8a9a8e85b1a2172887edd1861c46d94effadee"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"builder/builder-next/exporter/mobyexporter/writer.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"be822add6340e14c2567aec4f7e446b6aa9d97a98ce730e39365dd1aca230dec"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/ipams/remote/remote.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a9861b928dff96b2e6638c0e16fd5222cf8f72bee0124e61f21f341662f1ce5"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/commit.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca96a0e95e65691675409a56def595f8dce44cc1dc57970963928364386a086a"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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/apparmor/template.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c9c8637f937c0c23446ddd38095d041591a1a79e61f99e137a9a069e655d2eb"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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/types/events/events.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"11a1501ce7a442e02eac629b2fbe39c10daff6e5cbd280df9ab82ecb5f71a601"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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/rootless/specconv/specconv_linux.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1d10981c4bfd169fcf5b78aef60dbe0c0805ba1c88f83dd7678ea2872fe9cb2"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/images/image_prune.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4e537fb07cc45e16901a3b58886eb700d7eb54358787fd7f445f869f7b8fb0d"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/logger/journald/journald.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"65cad54a8785ccc6c1ef98023c4452f979a4428ccfd82ef3500e3bbac8cef4dc"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/graphdriver/fsdiff.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b25bddcc12805b2e93f4b70ab518327560dbcaeb13770dc60e0bb6a307fdfe86"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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/server/router/swarm/helpers.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a77e71fc9159e154be16f2439912dae9757ea80a37a490bfb627cc000e74f26"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/testutils/netnsutils/context_unix.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"72e54bbae4c3db3e278e150bcf87bcc1c2633420132ed47c0f043381d1a78c3e"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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/types/backend/backend.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0837b92634052e5bef19b5d52a11709c9cb9efaf997d8e33ae9b8cf97b155e5a"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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/idtools/usergroupadd_linux.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"712c8c99f4be7bb3f94017ef3ef24f77e6a7af79d0768a34e53a41c611f09006"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"builder/dockerfile/buildargs.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7492e5405f0459b90bb7a1cd01f2d7ab82b342ca32eb1ea4c825a15cb01a028"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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/server/router/container/exec.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"198699bddcdcacffae6042503cc33e34c5f96ee7d014d460fc5de6abd4b4e0bc"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/logger/ring.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b60718a85238df13b3f9f7dbf4352e1c6742e1b986e899e4ffc1053bdd4f86ab"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"oci/defaults.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"664100870947e4223d2f4b32b62a8328e12f7ab95b18dd5f8cbdc1339734aa10"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"builder/builder-next/executor_linux.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"61054dedf9f3066def5e5442e67dfb34178ac0d6ca74663d70063255793aee25"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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/stdcopy/stdcopy.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a714ae5e41899a0918e4d730c24ada0cf70ecbc68e6064655148f47787371c3"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"distribution/xfer/upload.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d72f6d2a741af5a0acdf24de8547fcd2d87da3e32aa925e3e6186f289909f20b"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/containerd/cache.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6c869be46428d030badb6c47990d7e721d36d5cb5289357f6921728bb5fcda6"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/config/config.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fe8ef345ab3e7e731a7971845bcfcdcb6cb1463261b1c7975d1d0e2f4b6ae3d"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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/tailfile/tailfile.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f496ea3edd88062d1d5dd69456199282a38786395453f781145c82a2e7360e77"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/stats.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b8f40ae7995f2ce2ee32aaf99ca796e56ca313e06d8e0467cf1ab7fbd52f12e"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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/sysinfo/sysinfo.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"07f943cb742d55b0564f45c18253fb97c3f42de168ddd86c441404c1a165984a"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/default_gateway.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"afb53965070625ff8d9274fcfbac32a3eebfb5a9838f89ccd5498248e312852b"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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/authorization/response.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"16d9c13ef4161e3c3c59de2080368dde5456b702a91aef83e511e4db15b5fa45"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"testutil/fakestorage/storage.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1d662a3027273aad785c0fa9b6590d67ea9a3a87f5094a4ed575951a1810f41"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"testutil/helpers.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"09d1b15845b18037dd7f5970a0a4b80559a9176a3be450a79b2e06e9cff1838e"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"distribution/registry.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"15a76731cf071bfd3e4fcd1a85e4e0666237f05dc108ea98373295797ced9598"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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/chrootarchive/archive_unix_nolinux.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b196c00e36a793671266e5e3be5e2cfe17d8b0084b2f1c60f3491f0eab219b8"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/testutils/specialimage/multilayer.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d9ce8619c227a6bd52800fadf0aabb67b4240a418a194827574d2d3fed1e8bb"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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/tarsum/versioning.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d96895f83c9fd87ac2040dcb1890a891f80a235af1efb6f21f5ff690c577f7b9"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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/envvars.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ef62cb89654216b4859dfdc7d0b13ab0554efee32a466381ccf10dc1b88692f"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"integration/internal/swarm/states.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"473ce5a69e93299056dc52b7d6543222a1a596341ff7e9ab73d306f1d99c4666"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"distribution/pull.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"75ad577f11e455af9968ff04d3470b7a8df45974a36db036c47c5336af2d831e"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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/types/mount/mount.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcd8cee8d360359eca2f163a426fbc9d6e34a64af871e20a8b7770bc664f0107"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/logger/etwlogs/etwlogs_windows.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"315cb092a29faceea7867cf4af63e536a0ba194512ed23440d7e6cea7d38a3f3"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/images/image_pull.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e8935d4d6d625745e694212fecf0c27b4094e8b39b203559034a8012dc33cf4"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/logger/local/read.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1aab9b4ab8e4e2b0e9d975c8e408b36e2cc44a3a0d2f160b7c11b6407f9d6f12"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"builder/dockerfile/copy_windows.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9cee1437808c53a2fa1606cba2ac120f3ed645767517826504933a160f335c9"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/attach.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b7c999403ab3e88f18f7f32d210859af178351b82688a036540f5f26d890c7b"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"profiles/seccomp/seccomp_linux.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b710a40d9bc9136860137a25f217e4c76749931a9071334fb55744b59b00817"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/drivers/overlay/overlay.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"65f3431b18320694a6db61383c7319b24a006a2411c176b745f2c60a87e1704d"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"builder/builder-next/exporter/mobyexporter/export.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fd2fc164fcb3ea8301878272b43a71d7402aaf148b7cf6a3c2129d3b178e345"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"builder/builder-next/adapters/localinlinecache/inlinecache.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"81d9bc081b6da887869a9a49f7020764d5830bf09c3960ff5a8a220679120d4f"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/docker-proxy/udp_proxy.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d4beded02368bc95639e83a4d8a31e5a67b9af6815fd2d0786a4288f9ec1a37"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/store.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f63d5d642bac1d2f556febcfadb1ff5cd6c2e4c087bbf483a4601104cfee7a5b"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"image/fs.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bef83d320cb9ecd1c3c3a2a814089ddfe658daf6927b94ff1eba9528676aa4b6"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/logger/jsonfilelog/jsonfilelog.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e52e41fd120380cdafd3a9df00a2f30fae997a801ae5cb7bccee7349bf4efafc"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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/streamformatter/streamformatter.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"349ca63ff850ab67c0ad3d1c46215a0c1e2bd84615375f70db88f7e5fa227d49"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/rename.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6431b07aca64c27aa3e5a7540903eac4ece38bdd5bdebd00d324b9dcf9112bdc"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/logger/copier.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a31d6bee0158a0a7e93d6a97cacf5ac483b6211bb2b68e0cea32d29b68c2af4"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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/server/httpstatus/status.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"732fa6e3a4d091a6528a5ef6e552724b90322201b85615396b331b0ff8ccd925"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/volumes_unix.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0ce74da63e86f26b2d3ffccc0bdb9f6a944348cd59776dcae46462b04de4ae4"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/osl/route_linux.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d4dc1de042183bba277194a804ee76cf7024d789746703f93bf83cc94c5062e"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/logger/factory.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"00dac8a5e34c814e559be060dc289fffe5240067e8bcaea69774e15318b388a3"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"registry/service.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"91867f69ebc947672e394a6c4a2d5cc8c5f506e1a36a8553ea5407155a4aa3b3"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/sandbox_externalkey_unix.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a787b1b89ce9544a0a111faf67d39c2a0516a7bd71e6857b5f2a05bcd9b9b53"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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/types/swarm/node.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e6fc3f145cc1620a30dec8f263ca08ad4e10a60726e682a83dac693346b067d"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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/plugins/discovery.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f4867a3fecc22be4a52a007680a0a391b1cbf08d35dcfbb7855c9fedb05fdb8"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/netutils/utils.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"206babec87d82aab9d1c3f333a6d879c4afb71444003d959c467d4f5b1c4a440"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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/types/container/config.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6dfa718f7a4594612ac783f620414f0ffcae79878744744936e6c4bc6b43defd"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"profiles/seccomp/seccomp.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"624194e37355a37a73ac333ba44250c2418757c2beca9db36482ec36f7b1a775"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/ipam/structures.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"997142ac57ee11210751bc969dedff051dd906939a4fb8198e0fd7063d75accd"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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/hijack.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd0d67d60c69b4f84eb80a6ea36ed6263a79f54e7a772e794a1b1acc296e90e9"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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/types/swarm/container.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"53c73b84691dafe25dcc7aa7859d30f309934af3616ac13a78f1bdb44248490d"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"container/stream/streams.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"da406d2ac05b103432c95b7458d8e546990185a9f4ec934fb4e5898090367380"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"container/stream/attach.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"80c42f5ba8718bdba3074aabf767df2aed7338e8f63ad5b88869e65038515d1c"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/drivers/macvlan/macvlan_joinleave.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"582e769d4efe205e9180a1c8aa6406337f40170499d8ed924cd3106bddc8de62"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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/types/time/timestamp.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6329680c4ebbb0a4dad03f2f8b675cc98f2cb71ac3ada7e958b4a1d715952370"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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/ioutils/bytespipe.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4334965b28b718335dc15f12af0795ea54bf7399722f57ebb0f9f60dfddc494"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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/types/types_deprecated.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ab7a20d296d3b064442f68a8b71b4af07a551260696c8e737b6defd42fbf012"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/etchosts/etchosts.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccf65dbb03a7818c7bfdbfd7e236e87bd71e5096bea4bab985a455c0fe6ab633"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/images/store.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6cc8279cfc2060ccd9692eb2c0bfa137eba81566bac00264178f18497d128be"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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/types/network/endpoint.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2801393aaae4f3f5b6d19c052b6245f5c4e659f6b4d61efa70dc95ee06baa98"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/links/links.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9afe62c7aa6642143a84eb8bbdc68b8f43d45b2ef17a83dad5b086312b0da8a7"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/service_windows.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"763c74dcf10a5191326b8f540cdea779696ff80f28650ace671020ca4d7014da"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"integration-cli/daemon/daemon.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f997f9b2720503f295f1efd093d077b058e1435832859d2ef9c5c0cf4cd0b81"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"builder/builder.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"92d2b6fd1cf2298e733bbdb172d5c18c5ee8e047f987fcb652733fb3e0925379"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/containerd/image_manifest.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3dbcbd1f677202bf34b0336a19c9184e92d0c680626f827e66cd6f44bbe7f34"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/events/events.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf5e06741da06e0e27f7b4619d3aca6c92586a9669f5bb21623a4a4b213cacad"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/stop.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0eb855e0e97dc48c81443be779401506737ebccaafa7083e58f8b4d26f050d9b"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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/container_create.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cac281bbcc90d1c7395b33ccc3196fb4b61f83b1aa8650a3025ea72278dd5dd"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/containerd/image_snapshot.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"02308e1dcf1adb109786e867692a65af582a6a6518244785f4cdbee54d0c6ee6"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"image/cache/compare.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"494c229468085decf9913a25f50ebaefae5f9acbc59c9b6999b9d2fdc73a6aad"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/image_service.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"43f23026c6ddb980bc624d60062710529d96c0011290ae2d4877cc13c3dfb155"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"volume/drivers/adapter.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"662e3023c714fb40b36305cbabfa4e80bfa85ed5d38d8615981cbfa852e9be35"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"layer/ro_layer.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"476536a7f2d0f340003fbf1803553f978fcfbb404fc3dd12308afc6579d79063"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/containerd/image_snapshot_unix.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a275ca29442ad9efd67ec2565c170780dfa312749a056bb9fd0209d25ce5354"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"registry/registry.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3950b3933970101eb7bfabbed99c0865fdb43e7fbcab5b9c1351a0e89b5e7299"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/logger/logger.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9771c37bc51f5e8adc12c600bc352b7d87e27b69ec94982b14c74ffe3bf8d6d6"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"builder/remotecontext/remote.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdfd39f4a954296f38f71036a41f5d69c428bf605091a0fca687c2f9c78e1608"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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/server/httputils/httputils.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"61c32031341b858e5b54f124135909421b000bb4c52db3e2269e34801ac735db"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/drivers/bridge/setup_bridgenetfiltering.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"60ef6f68900667294b923d1e27ce0b719cf802e894ea09d627b5c64019ee7cbc"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/events/filter.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"67009edaf6d03c84c6b9db72a56a95958a1c437938dfe1e1941ac0bf368ff88c"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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/image_build.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd439ceb67060132fb81e28d81d3e67a6ba3a5d6db25359924004c6df94e1ed2"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"builder/dockerfile/containerbackend.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8015f9ec2b0491d4be577deba421ba7a91aad0decdbf7d426db13af192dfab27"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"distribution/push.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"45245926bf1661a77d063ae545606541f050addbb10fdf34a537548a07b41f3e"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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/server/router/container/backend.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa445b8e673fe5df7deb03f96b6b563f5f764664aa57e7c58febee6ceec64596"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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/types/registry/registry.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8d14cd6e429952909a8653a51b4b10ef8567a4f509aba69990a86df9b9837fa"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"builder/remotecontext/urlutil/urlutil.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fe07174b30bfb42c7554a1a60ccc81bd41c66d4ec80a325d48a1741c076ea07"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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/archive/archive_unix.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"141eb97bb117eb6c506e8382526418c3867de7e03ff238e1948e84b93161de46"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/containerd/resolver.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"26a54897af1829d3dad9b5674c47ac061a549b66c9387d54b73e9ed944841457"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libcontainerd/types/types.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0540b1ca8913425b178da6a0c0b48c93151c7fa78b44e3cfa57ec66d337dd92b"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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/system/filesys_windows.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fecd644c175bf2728c5b4ff144688d5dc262afb2089c25a4033399ff529a4c3c"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/dockerd/daemon_unix.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8882ea619b0f97338e55d7d4ffa95bb0f82a2ee0eee7593f3f0db6d9c223b75a"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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/loopback/attach_loopback.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5397a53d5fe29a3fb8cf38df7f9682ddc66063353f9cb899e11def7b486ee4d6"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/drivers/overlay/ov_utils.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bde3505676e0d2b49564db9756d6a603450f9fac9d1bb873367ded6d562d984a"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/ipamutils/utils.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"be9ed04bfeca145889f41fd7b65a1a7ff67fbbfe1e29cff0f606c8707bb9ceca"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/drivers/windows/port_mapping.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bdc768febf862882cf3a3653434d8925bb52d1386af89deb434434e54bddacb"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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/types/system/info.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"929b9857ab8c20ebc0f6ab9fb0771a9771f4a2e59918f9b716a995249527b3e7"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/containerd/image_history.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"93e3d90043d9eab7f2e19044d66aed174fda2c096c66209350cae8a2d5d8494c"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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/types/swarm/network.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6990dfe99e3bccd0615ee54b3d74cea1a8d86b851874017f241c21d5cd8b9bbe"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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/pools/pools.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c0b56c12f08ff092e7df016955d6c6a3c1421ab8f80d7f8440a1e541a97836e"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/ipamapi/contract.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2df8ee0b8403148cec7598ef3594affd779948407d979d1dde0b8335afc4c228"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/logger/loggerutils/follow.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cbe19a738fcd9d94d70684ee7355e70173014471869f04957445267c9a2aec2"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/disk_usage.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e20d3b81059e84a373ac0f28b0e95e394f3e74db2f2e061f94cdf8b4dd8b218"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/snapshotter/mount.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"51bc2c07c715b89ac077da0802d72b32dca1e54154ee3c84d2606fcfacd5d50d"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/events.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e85d154e8cfb6aa78d63e7ccec702f0d2f989d42fda9e8c69264491eda2a03a"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/checkpoint.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"457bd980a26c547c010d0c8d68298c3bee6ff9d7d7c4a1a5186e6d699878c647"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"runconfig/errors.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"24e058dbcafb30ab6c173ccbe99e363831a71a6dc3859b173ca0442d079ac7b0"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/osl/neigh_linux.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcb13382ec6f816a8d5806ea3196e46392835d724e7dc59b702f64145d9f1b59"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quota/testhelpers.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d03ecdbf3ba9a6db1c5c5a4b16beb0d1a9643f10c482c84e0d90576295158ce7"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/graphdriver/driver_linux.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f3c77c0c1ef134ab1a93ed136ec9cccd34e58110cb162d92698169c174c7ff0"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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/container_wait.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"146ddbad5aca542ca47f5e4f75abc45a1bb3d0541b4810b9f633a480e2991b8e"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/iptables/conntrack.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ce17912233cc168edaec19321d435b1e845dda9a901f612e50247de897d5449"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"oci/caps/utils.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d5b2361dc34661ed5f0c470790fd8de1a5cf15cb187864e8ab1db6f72716c45"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/cdi.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"edde5f5dc210cc2fecac8e55f4515fc3c3be9ec1c6d502d721adb2c786b15249"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libcontainerd/remote/client_io_windows.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f85564b156a37ec523d34bec403486b8100871ef116792a165b8fa1075e81f15"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/networkdb/nodemgmt.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c2f9ca7a6b0026c9a2dea8ba852ee950e12d56160e5532d8a012d60c58b211b"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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/tarsum/fileinfosums.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4b035b768abeecd46136adef245929d0a2e501fd363076b1e5d9eedc57a764e"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"opts/hosts_windows.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"948e423d758eb93f25aef746f83a53829eeb4b9619b419d5915cb38a97529eed"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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/server/router/container/copy.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"db3841ae3ff158200e7cd7e127e78b9733ebc92f055a58175dc8e3b438f57f5e"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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/types/registry/authconfig.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"422f0eb1a4582d2ea389feaa7074db11e2695318e443fdba3d789d53edcd1eb6"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/networkdb/broadcast.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2e3c2df9527aa102abdab4f60cfe31b0ff625d03b9a414487f2786e64080705"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/dockerd/docker.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"84b30f51581f440ace273c6f700def3df2c9532a106b6c951787d41e325c4a02"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"builder/dockerfile/internals_windows.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"332474d814ffe44bfc691d209e5d5464a7ea44fb3f9c0404fd83de0f2bf4431e"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/logger/loginfo.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"85373d083349ee18e3e4456c87442e48322478df361c6fc8027ddde1b235dd99"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"builder/dockerfile/imagecontext.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"91a81e42853084d6159984470267878a2921265225c2bddfb029e17834665997"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/drivers/bridge/setup_device_linux.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2430e7d294d60b697e259dd9b2ccd6acdd3372384adf5ca396b95ec36c657199"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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/plugin_install.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ba501af5ad501c141b0a137414f0b78fa2c6d950b0605bf671f4c1c34a74400"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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/types/network/ipam.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c118bee7cb4ea06df8566e28971d9c4902274b77685914286264fd77d641b78"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/networkdb/watch.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"55cc553ba52be69fd108c09f6e8873f6ea275e4c1f7ebd63786bf3e01a66dfe6"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"layer/migration.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"861bd99d6f5ee80b03d31fde35a5dc2a7c2d43dbf7646bbc6f96839735f02bbf"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/images/image_commit.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2bbb2b91ce94c70b8d8fd6d11702b307d03cd4870d2b592240b878c3d325296"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"builder/remotecontext/archive.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8dbeb9a616ed0615199afdb04d98b6b5e6ac701bb78c0def6d9e4ce0ac127c6d"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugin/registry.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ad8e4e0ce9fc38f437c218c7894be1ed9a1c882e91c218dae00382a4546dcad"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libcontainerd/remote/client_linux.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"81cd7d58ff525061a2e0af58849a0bd672cb2fa6b7abf3a595465749b7d9b232"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/drivers/windows/overlay/joinleave_windows.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"65f8d457c559a5566bc33edfa49be19934eb1cc4a3f42597e34c50790618e525"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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/server/router/container/container.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5aa4ff2e493d22b4e97e055b8e018fc255ce028333a2b0b7bf11a0cb7a7ee677"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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/container_copy.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba56ba222205b8de83f19497ec100e71886491f32049772e7ecc23afe698e977"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/endpoint_cnt.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"45c4058d11f1b10a578ea2843bc6a7d2fd67917e4a9c97e085fd1e27dd9dc7e3"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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/sysinfo/cgroup2_linux.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"57517bc50843cc6cedf07310ca4df1add818b88a2680801aaf3978384ddade45"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/firewall_linux.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac16d2b7cf1ecc0f7825aeb98ab98e78d78f9255f1dc47dbafdaf13669f387e8"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"testutil/daemon/ops.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"06657ee456b52ef76c5f21a08a38c94007c83d063d15abd3cf71bb8cfa4e22d4"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"testutil/daemon/service.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a302dd1e9a9f858d2054fdcf6831a3b38030170e5167a724ad199e13079a9eb6"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"volume/service/convert.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f15f47cfbc01124b5a6cacfe19ee8dfe3f59a84b509c11197d5ca34f1a1e6257"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/network/filter.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8d1f01810677f70e7bb967bc287e873311651c31a2c56f85818389cd37d413b"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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/server/server.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2cc1fdc222db1208049d355e8561367caa3f48879e16635718d6b9592f4c5c9"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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/chrootarchive/archive.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"469271a3f7f2783fa751b8807782c5bd6e36ce47e641c3c540fa4a0488de9571"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/logger/loggerutils/cache/local_cache.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2665e0a1dad0551ec16a8469cfab6d2cd2e2c6be2c59d7b8ea255484ce5708ce"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/create_unix.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ed6cc6aa5fc1dd48c49700fe4794c51d1d4fad657a8d72eddb1d66122072722"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"restartmanager/restartmanager.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdb565038920a32a169d8b94d292299c75b911f56fb219c8c9465a0bc5e36704"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libcontainerd/remote/client_windows.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b61e2cceb42a75ad0104ff7c030e69fbbb13c7eae2481bd7c4f5c3a33650fd1"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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/authorization/middleware.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1c16b5d9b0386b39834c6d5404b91435a4ab55df9d781da5580dc8ee70ea727"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/graphdriver/overlayutils/overlayutils.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f953f5afeb182c253ab3c6bd2b450f6bf700346a26a8879077e4dee3bec5574f"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"integration/internal/termtest/stripansi.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"50b4ff294bf5cc2498a3f9ec194f763f27ee01f1c5e43b35611c0a059364ad95"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"testutil/fakegit/fakegit.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4e5b0ac90d2b6927875b24757d5626f3a64ebd11e27abb580a5f6d278c2c582"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"container/exec.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"97b681b0723982a42d3d74c8c2a06a009ce4c6d32605e8d1f04f4442908f940c"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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/homedir/homedir_linux.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"73c4a408b435cab58d06cd7e7c3ab586c24c9a7313eb0fafa9abf3ef0e7a0ea8"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"image/v1/imagev1.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2be58fa54304ba7a2d91a145e83c37b1934832363a47f76644710c98a07001a3"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"registry/resumable/resumablerequestreader.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6a08926ebc9361adb3c189f8743948af347a90d17d8b3c27d2390b54a5b03a3"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/logger/adapter.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"02fcaad900ce26389e6ef797bd72146ab2f1298b1ac42a137c188fbeed7e12d7"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/datastore/cache.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"53fb244d9e797690a4139a4a80c9e42362a4085f7d3da956b25b6e6e5a1ffb3f"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/drivers/bridge/setup_ipv6_linux.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6429bd14177fc4209fec015a9ce36bd236cc46bab374d5417b514ed25fda0021"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/stats/collector.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ef032d1fe594d0b4114600d2e051a3f6ce811f1aac1b158eaaa6bc61e272ffd"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/error.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f24f59ddd6099cc555715390192b7025468bffb00ad5a982064979ff790e6a66"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/testutils/specialimage/emptyfs.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2f9347dcba57468b29057f226be7e22b4a2c260c6e38019541695f08c20848d"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/logger/plugin.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"82b272f81f4e7bee79630fe83ece3504738306bb5f5f8c68bc651351abe08ffb"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"volume/service/opts/opts.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"653e6dd9a237ac41107e02ae81e22dd30385526831516ceb954830b40733763d"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/listeners/listeners_linux.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e983dc0c636a86670844f1f17c5201699829c615a9adb6f1d6acf41280312231"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"builder/builder-next/adapters/snapshot/leasemanager.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6d9f83d3373c0cfbd69931fdd84618101b42f768f67fae308d69bb8715a0070"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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/server/httputils/form.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"64aeb4ae236150b4cdaa15c8f445dee45ab0d48b91394a97d0eff7e45ffe2080"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/diagnostic/types.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"008e772afed89a658b5e335031a8f52b6ba0cc3ee3f8ab986b8cdb7750dcd697"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/mounttree/switchroot_linux.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"411669cd3941565dd435841e1b12dbef466b5c5c4bfe11374bc102a5aad29611"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/nvidia_linux.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"890ec1d1e64df27902055c130d52a8451950946d782519ddb7792fbecc673ce4"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/create_windows.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9126c89211976b209bdb10b3e8fc86266237aaf023eea9aa2c842a23e66b4863"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/compatcontext/cancel.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7646b36b59df04546a81fd36fb52286bc55efa08db1f64043dfa87e9d2b46f6"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"volume/volume.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a5f2d259a0a71dff8cc13955f2ba28a0e6c67d15574c9929984478c4c30e6bf"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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/archive/archive_linux.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e6b539562bfefd3907ac55459dc3a521f2faf6e15108a8e8fddc632975a1bf0"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/ns/init_linux.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"03c78de8a1017f204b389265651c88a53f647507cb457e76fc29ac381c70d8ec"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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/parsers/parsers.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6eb2dd811833a4f93f4ec2f8d05f468b414e2985c0784301e1a715008928b0c3"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"runconfig/hostconfig_unix.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f887b05503e7971fdcdc86e88e854c6903826de1d1e526d197c116c35cde9367"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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/authorization/api.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"90c511c215249a2b0e1587981ab7464ff93122294eb3b3f8e33b761f46c7f705"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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/service_update.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e21ce3cbba2a4ded4829ef3bc90a32ab8b5509851448575001513d2998902312"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dockerversion/useragent.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ceb63b0e08bf680d66e83ae1a68e575ba5af3311a13bc594cdcf5e8ec5944061"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/update.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9abbb14fa0649bfb2a7dc09aba5cbb7db27c3532b2765a2b5b0ae73e57ab0cce"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"errdefs/is.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ea3d35587f67850ebcba8ed327736b357c000e4151c839fb71be0ffe08bcdbb"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/cmd/networkdb-test/dummyclient/dummyClient.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a733bf4121d603c96f6fb32fccdff7189a42c7662ad1a043f87b94bb8ea6e4f"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"testutil/fakecontext/context.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a6706d61193fc278a0c5f1014defda0a9d8b2210b77c3a170896d2311bfea64"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/names.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e11d835e8db12f66707f660d0ac12fb57c41895d9ccbb34028bd6ab3d97d782"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugin/events.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1015e6e0175c789e04bdcae2cf44d11231680ca8e025dc6e3793bc8ca2e26739"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/portmapper/proxy_linux.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c711407f83eab9c620a457bc06b4ebd8da52ad8297b14719597cfbe2ae399156"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/containerd/image_tag.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1790c731593b11ceddfd02c381461941b952a461306fcdcfd0b51bf3fb194599"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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/authorization/plugin.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3aad4c8f86c1852a8cf72fd7ff9ecbde9bb50af53b8eb94a656aedf5cdb45a5d"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/drivers/overlay/ov_endpoint.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c772f3d41b7b12fd27e321a1041e112b8e621e484c67b56934de2b64512d92a1"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"container/archive_windows.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb0e128927ec7e5d5fb93d9cf801d32e185b8a170ff0af6672b51bf3304b80ed"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugin/backend_unsupported.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a2c3aa1122557f903b09e6f0a35cd0770e331a998717081837e133339b8ac81"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/exec_linux.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"197ae257df826f159adfa54003778efc2da5c3c6bf00320b9c0cbbc04e2384c4"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"builder/dockerfile/internals_linux.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"532c2b4d802b043657b86c36708706fdd39fd3aa4bdf53e1f08357ab82ac68ca"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/driverapi/ipamdata.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"65b1089d265ce7b4cc5b45d1dbf81b8feb81404b1b290403d767bc5db033ef06"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"integration/internal/container/states.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3638677e2539343e2aeb4597a9e55d92e6b296a10f2a6e613ffc559bb90e6752"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"runconfig/config.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca9313af65e0c4215e9234d9c542e8b3c6b85456310ee5d5934b2fd0c8f6fab0"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/cnmallocator/provider.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b261feed59b17f26817f4c9fdb091e3621c347b2168b86d4c4383d890e3eea89"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/drivers/bridge/setup_ipv4_linux.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2ef4543a19624f99497079c8acf2ab7b33efc71b9807ebacf035e9da986bc98"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"integration/network/helpers.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"aae484b0d33668587e41d7b20de502fb5c258138208ca33634ad9355ca1b8288"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/ipams/remote/api/api.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6003cce41b0c4aa6e87d230d3c1af5ebc2a68c23243e770714089e46cbb9f9e"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/archive.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"56ec66fcbd5366af9c7dbfd6a202646dc9893e75dfa13534162bccaa0803ca44"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/config/config_windows.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c91c2a69e9d57709966d2402035164964d0d77568a7efe7f0beb731fe094e76"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/options/options.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"17fea32ed1b17ccd9976d0f8e013fdf627c9c127c8840f1e6dd4e58cc447bd19"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/restart.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"14c2f98596a71adb8994b213b460efb0a73e58a210a71dd3bff7eb73d37ec0bd"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/internal/setmatrix/setmatrix.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b61256a9d796f61f6b5d5c99086a8428649317cbdb237a16526c8369ff8792f"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"builder/builder-next/adapters/snapshot/layer.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab9169076ccb160d40dd01bee99566dfe07635d7828bcb564c11ef7f33e7d362"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/links.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec7517e18e631d738df1a3d575dcc022c492ca8b5966c0ce39c39331d4e3d398"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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/container_exec.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"69ef9e27fdb96769d93797b29369ec9b040e21684ca54152fb1cf25f3c9e7066"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/network/settings.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"26101ac745389b87f23fe802cce7c5445261cf48ed74b92e86c98ad2af793fd9"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/ipams/windowsipam/windowsipam.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e576db6a60fe3517cb3101d2290d696a31cbb8dae32ca31b4b2f3a25c9cd91d"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/containerd/store.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"101a9cbdb2c8651e7312e189e1eec36f19ee7f7264e0dcbb9d2a30c4cd947359"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/stats_windows.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"97dd44ad86908dfd805d784fb54b6447510b4818f81d34f0559c22066f39fe13"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/drivers/macvlan/macvlan_endpoint.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"66587c03085326eac1176c2d8578f9c486b59f97d74edce7e2cb66085030d700"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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/platform/platform_windows.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"63f8e432c8e03e949ce8f6c6906aa1095c7eacb141df469cf89950f76c5df97f"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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/server/middleware/debug.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4b4515896fd74a5e19376f0727a280a198e65fdf238980e3091e83aee0da34e"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/controller_linux.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2aa48ad59cf07456af4bd7c401b60a63a393dd838bc0c51bc5be439c4b9658b3"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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/ping.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"384182a24d1e6140a2fdfe375ba906255210dceddfef199a9d5380781e025872"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/resolver_unix.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa519812327808d89a9292712315cd73fee856bd4e7058c8d093e20a9bb4ef7c"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/service.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"14e2a7324f9d412dc5c17915f60070502ddc69ac37676d6550f4b0f6b67c7a31"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"testutil/daemon/plugin.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8ee5b69ad5ae50aef4e1688a3fb4aaddc712f232661f45733d46b61f73368be"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/images/image_squash.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1b835be5e582556658f71e5b9a5665f7bba7f4f918e9d6478ca3e4d1bf5687b"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/cmd/networkdb-test/dbserver/ndbServer.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"09e0e1c944dd0b00eba22f771c5546f798f72c913f43d38d4ee01da5d2b8c364"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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/process/process_unix.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"94ec576198e95fbf76ec4003c3e15af47f65031f10c08ee93ac361f6c8a2a105"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/top_windows.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa90c47522c383e06bcbf2e14f0691400f0953ef7b9d2d6db152f892e63ef886"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/images/image_import.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2408511b4ad7e97e200d0bf2a7fd02c774ffd732f9d9ffa95e898c6cd37d2406"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"oci/oci.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ac3a44e12d8acefc28ecd40305776c1f9f55c466d9b992c6825098cb127b08f"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/docker-proxy/sctp_proxy.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2f27ddf54a440da4b509d7016c95b6e2ec5316104876e70d4ed48e6f33391e4"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"integration/internal/container/exec.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"142e33a43cb36a8a992fa6e9725d0bf17a0e65b08f33267edb5489ecf8ed5458"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"volume/service/errors.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8ea70e9b4ef27227e1e1444f2df856edec297f1ea731f7537030f63042fc339"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"layer/mounted_layer.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d090a5513d43886a736bc0d1b0efac6b0eb6f5f366d409f177d3e2b7cdd68148"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"builder/remotecontext/lazycontext.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"adec3081c7e3511bb7ad07a02091a8662e513ff8cf5210499db80021874071a5"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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/errors.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"546df89af79bf2d8ca45c78b33808ae526bfd0d2578d3f7c48f47b4e5e5d0f64"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/networkdb/event_delegate.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a62762b154e118865674ea1debb8777800c3049cffdf97126a1af997aa0f6a0"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/drivers/windows/overlay/peerdb_windows.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3026ca9a4031b065e6a0d03bf79e52a548c8685cd2903c4abf9d80ad169de876"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/drivers/ipvlan/ipvlan_endpoint.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c397ffe26833b7f4192a76e485a28c94be6e2332978cf03c52bf737500ebece"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"runconfig/hostconfig_windows.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fb928575387cfb73816f95e0484e1b1a436420a82600b5ec51f895c9f3302ec"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/drivers/overlay/bpf.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d81b7a4fac59d6862612141557a1276bfa674fbd6a0460b04bf67f7425aaf41"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"registry/service_v2.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc07697b3370827b1d193a2425c7e307bb8efdc29ed281f38cec043a4785a269"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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/progress/progress.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"95e0a12f676e812bea3bba36a8ca63bdf0c953e35e1b4c3d9fb5e73cc854cfa4"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/drivers/ipvlan/ipvlan.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7684918605aff04f6634be7a86ef0feb3ca740eea8b094c631f9b9243addc055"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/containerd/soft_delete.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2ac987aebe0408b0ab9c271ef93628db4ef60e777a3b3a24512614dab822a86"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/testutils/specialimage/dangling.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b7e602501cd042888fddb129905c5e866a63e1d7ba765380c396991c8a610e3"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/logger/jsonfilelog/jsonlog/jsonlogbytes.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"593193bce4309f3bd4e30f0595c73efbd9b5c6df993c12380336b2e3530f9ed0"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"volume/service/db.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f3821979dc2f63a4c8b6d1a58839f487b357bf3aca0dab98b988efe2099a61e"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/drivers/macvlan/macvlan.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"56f94367fda0f7608a06f25961bcc06871951ae7c846501062456654e67813a1"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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/server/router/local.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3991c111e30a6b5765854d42571c84c9235b21a6ae85ab0623157eaebefc158"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/netutils/utils_linux.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"482504266d37f81def4e57ca289ec918e744db7709806203084ccf7be030a70f"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/config/builder.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"91cab94c7858b830ad85dba0afa98813458da1d083cd42b96179f476c71f74a7"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/drivers/bridge/setup_ip_forwarding.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b05e4552468616220ba7d11334ac51a9c38aebf35ff02759520cecbc5f6f8bdb"}},{"ruleId":"D35","level":"error","message":{"text":"Boundary-crossing change coupling: copy.go \u2194 containerfs.go: \u0060builder/dockerfile/copy.go\u0060 (context builder) and \u0060pkg/containerfs/containerfs.go\u0060 (context pkg) sit in DIFFERENT parts of the tree yet change together 55% of the time (6 of the 11 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 6 shared commits counted here, the most recent 3 are \u0060b8f2caa8\u0060 pkg/containerfs: deprecate ResolveScopedPath; \u00609ce2b30b\u0060 pkg/containerfs: drop ContainerFS type alias; \u00607014c0d6\u0060 pkg/containerfs: drop PathDriver abstraction \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"builder/dockerfile/copy.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"53b000eb2ced1b1230de46e30088701e28b9a4abc1d3cb8d565b14834465b454"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: backend.go \u2194 image_service.go: \u0060api/server/router/image/backend.go\u0060 and \u0060daemon/image_service.go\u0060 change together 62% of the time (10 of the 16 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) with no explicit dependency \u2014 the edge is real but nothing declares it. Read the pair before acting: if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE \u2014 the registration is the link, and it is meant not to be an import \u2014 and the thing to add is a comment on each side naming the other, not a merge; if they simply belong together, co-locate them; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 10 shared commits counted here, the most recent 3 are \u006048cacbca\u0060 api/types: move image-types to api/types/image; \u0060ccb37fa5\u0060 imageService/PullImage: Move reference parse to api; \u0060e7393d0f\u0060 images/push: Accept reference \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/router/image/backend.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"50e2e4fb4a5c5a66237e0dfbecbe1bda4d62bdbb6f2670bede0886e6c5cd6688"}},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1b213f6eedd4b140d0bc37bdf1496f72811a643f34064f12518b32e9e83bcfc7"},"taxa":[{"id":"CICD-SEC-9","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0e17f71490e4d120a48b2b2881ab866c93b272bef2febb673a3e8e42b2c288ab"},"taxa":[{"id":"CICD-SEC-9","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"eb00976a698a5d68999b7ee6d27206fd374e916853e7ff1ead5eed42386f043f"},"taxa":[{"id":"CICD-SEC-9","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"90f83b4fa27db32740afe9540c905f3c0499caed87f61049a8a903ecc95b41c3"},"taxa":[{"id":"CICD-SEC-8","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ace515990e7ee0f17b5c17e44dd168a5bdecf90804a3a3dd845cf05540978013"},"taxa":[{"id":"CICD-SEC-3","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"AX2","level":"warning","message":{"text":"Stateful package: dummyclient: Package \u0060dummyclient\u0060 serves requests (request-handler function literals 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 (clientWatchTable; e.g. \u0060clientWatchTable\u0060 in \u0060watchTable\u0060 at line 51). 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":"libnetwork/cmd/networkdb-test/dummyclient/dummyClient.go"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"fce4d80051865af81e2ff6e5957814340cc58481e2f3436089c4181cb8fcedc9"}},{"ruleId":"AX2","level":"warning","message":{"text":"Stateful handler: Ctx: \u0060Ctx\u0060 serves requests (net/http handlers run on a goroutine per request, and every one shares the single \u0060Ctx\u0060 value the router holds) but writes its fields outside any lock (authReq; e.g. \u0060authReq\u0060 in \u0060AuthZRequest\u0060 at line 87). 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":"pkg/authorization/authz.go"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"542804327e4346ebe1ba91d7449a7d33d3fd5783bb48b34eacf11fad8416596c"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: Backend (29 methods): \u0060Backend\u0060 declares 29 methods: \u0060Init\u0060, \u0060Join\u0060, \u0060Leave\u0060, \u0060Inspect\u0060, \u0060Update\u0060, \u0060GetUnlockKey\u0060, \u0060UnlockSwarm\u0060, \u0060GetServices\u0060, \u0060GetService\u0060, \u0060CreateService\u0060, \u0060UpdateService\u0060, \u0060RemoveService\u0060, \u0060ServiceLogs\u0060, \u0060GetNodes\u0060, \u0060GetNode\u0060, \u0060UpdateNode\u0060, \u0060RemoveNode\u0060, \u0060GetTasks\u0060, \u0060GetTask\u0060, \u0060GetSecrets\u0060, \u0060CreateSecret\u0060, \u0060RemoveSecret\u0060, \u0060GetSecret\u0060, \u0060UpdateSecret\u0060, \u0060GetConfigs\u0060, \u0060CreateConfig\u0060, \u0060RemoveConfig\u0060, \u0060GetConfig\u0060, \u0060UpdateConfig\u0060. Counted over the exported method specs the interface itself declares, once per name; an embedded interface is a role it composes, judged on its own declaration, and is not counted here. A wide interface forces every implementer and caller to depend on methods they don\u0027t use (the Interface-Segregation \u0027I\u0027 in SOLID). Split it into focused role-interfaces."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/router/swarm/backend.go"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9fbaba941481e47019eee493d06f2f93309f31d85f1958017b590cf13783a96"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: ContainerAPIClient (32 methods): \u0060ContainerAPIClient\u0060 declares 32 methods: \u0060ContainerAttach\u0060, \u0060ContainerCommit\u0060, \u0060ContainerCreate\u0060, \u0060ContainerDiff\u0060, \u0060ContainerExecAttach\u0060, \u0060ContainerExecCreate\u0060, \u0060ContainerExecInspect\u0060, \u0060ContainerExecResize\u0060, \u0060ContainerExecStart\u0060, \u0060ContainerExport\u0060, \u0060ContainerInspect\u0060, \u0060ContainerInspectWithRaw\u0060, \u0060ContainerKill\u0060, \u0060ContainerList\u0060, \u0060ContainerLogs\u0060, \u0060ContainerPause\u0060, \u0060ContainerRemove\u0060, \u0060ContainerRename\u0060, \u0060ContainerResize\u0060, \u0060ContainerRestart\u0060, \u0060ContainerStatPath\u0060, \u0060ContainerStats\u0060, \u0060ContainerStatsOneShot\u0060, \u0060ContainerStart\u0060, \u0060ContainerStop\u0060, \u0060ContainerTop\u0060, \u0060ContainerUnpause\u0060, \u0060ContainerUpdate\u0060, \u0060ContainerWait\u0060, \u0060CopyFromContainer\u0060, \u0060CopyToContainer\u0060, \u0060ContainersPrune\u0060. Counted over the exported method specs the interface itself declares, once per name; an embedded interface is a role it composes, judged on its own declaration, and is not counted here. A wide interface forces every implementer and caller to depend on methods they don\u0027t use (the Interface-Segregation \u0027I\u0027 in SOLID). Split it into focused role-interfaces."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/interface.go"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"602f176301995e80453a09654215eda06ce1b66b7f89a0c85eae65fb2006c6f9"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: ImageAPIClient (17 methods): \u0060ImageAPIClient\u0060 declares 17 methods: \u0060ImageBuild\u0060, \u0060BuildCachePrune\u0060, \u0060BuildCancel\u0060, \u0060ImageCreate\u0060, \u0060ImageHistory\u0060, \u0060ImageDelta\u0060, \u0060ImageImport\u0060, \u0060ImageInspectWithRaw\u0060, \u0060ImageList\u0060, \u0060ImageLoad\u0060, \u0060ImagePull\u0060, \u0060ImagePush\u0060, \u0060ImageRemove\u0060, \u0060ImageSearch\u0060, \u0060ImageSave\u0060, \u0060ImageTag\u0060, \u0060ImagesPrune\u0060. Counted over the exported method specs the interface itself declares, once per name; an embedded interface is a role it composes, judged on its own declaration, and is not counted here. A wide interface forces every implementer and caller to depend on methods they don\u0027t use (the Interface-Segregation \u0027I\u0027 in SOLID). Split it into focused role-interfaces."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/interface.go"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae22a2f2fcd26f00b0d05846adbed189b9f4f2557344ed1f4eaf1f63b133d725"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: ImageService (38 methods): \u0060ImageService\u0060 declares 38 methods: \u0060PullImage\u0060, \u0060PushImage\u0060, \u0060CreateImage\u0060, \u0060ImageDelete\u0060, \u0060ExportImage\u0060, \u0060PerformWithBaseFS\u0060, \u0060LoadImage\u0060, \u0060Images\u0060, \u0060LogImageEvent\u0060, \u0060CountImages\u0060, \u0060ImagesPrune\u0060, \u0060ImportImage\u0060, \u0060TagImage\u0060, \u0060GetImage\u0060, \u0060ImageHistory\u0060, \u0060CommitImage\u0060, \u0060SquashImage\u0060, \u0060PrepareSnapshot\u0060, \u0060GetImageManifest\u0060, \u0060GetImageAndReleasableLayer\u0060, \u0060CreateLayer\u0060, \u0060LayerStoreStatus\u0060, \u0060GetLayerMountID\u0060, \u0060ReleaseLayer\u0060, \u0060LayerDiskUsage\u0060, \u0060GetContainerLayerSize\u0060, \u0060Mount\u0060, \u0060Unmount\u0060, \u0060Changes\u0060, \u0060GetLayerFolders\u0060, \u0060MakeImageCache\u0060, \u0060CommitBuildStep\u0060, \u0060DeltaCreate\u0060, \u0060DistributionServices\u0060, \u0060Children\u0060, \u0060Cleanup\u0060, \u0060StorageDriver\u0060, \u0060UpdateConfig\u0060. Counted over the exported method specs the interface itself declares, once per name; an embedded interface is a role it composes, judged on its own declaration, and is not counted here. A wide interface forces every implementer and caller to depend on methods they don\u0027t use (the Interface-Segregation \u0027I\u0027 in SOLID). Split it into focused role-interfaces."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/image_service.go"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"c13390d0aac99a8cf4aeb91b0937407b3a16d007cfe7a676d2e5e8414463b443"}},{"ruleId":"ED3","level":"note","message":{"text":"Event not named in past tense: EventCreate: \u0060EventCreate\u0060 reads as an instruction, not a fact that happened: events describe something that already occurred. Name new events for the fact that occurred (e.g. \u0060OrderPlaced\u0060). Do not rename this one if it is already stored or published: its type name is written with every event recorded under it, so a rename can break replay of the stored stream and every subscriber that reads it, and a clearer name does not pay for that. If it has never been written or sent, renaming it now is safe."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugin/events.go"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"f47e566556a3623d14d54c3c3723d54298ef3a5588dd48c5e620fb1cc15e8fc5"}},{"ruleId":"ED3","level":"note","message":{"text":"Event not named in past tense: EventRemove: \u0060EventRemove\u0060 reads as an instruction, not a fact that happened: events describe something that already occurred. Name new events for the fact that occurred (e.g. \u0060OrderPlaced\u0060). Do not rename this one if it is already stored or published: its type name is written with every event recorded under it, so a rename can break replay of the stored stream and every subscriber that reads it, and a clearer name does not pay for that. If it has never been written or sent, renaming it now is safe."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugin/events.go"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"80d5ecc424226ae78e47671bde99ac3659dc711f189e6f6668692497517fadf4"}},{"ruleId":"ED3","level":"note","message":{"text":"Event not named in past tense: EventDisable: \u0060EventDisable\u0060 reads as an instruction, not a fact that happened: events describe something that already occurred. Name new events for the fact that occurred (e.g. \u0060OrderPlaced\u0060). Do not rename this one if it is already stored or published: its type name is written with every event recorded under it, so a rename can break replay of the stored stream and every subscriber that reads it, and a clearer name does not pay for that. If it has never been written or sent, renaming it now is safe."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugin/events.go"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"e85f123db6a7ba23c6352861882295ff42f22b7e492ddadb28fb293a398dcf71"}},{"ruleId":"ED3","level":"note","message":{"text":"Event not named in past tense: EventEnable: \u0060EventEnable\u0060 reads as an instruction, not a fact that happened: events describe something that already occurred. Name new events for the fact that occurred (e.g. \u0060OrderPlaced\u0060). Do not rename this one if it is already stored or published: its type name is written with every event recorded under it, so a rename can break replay of the stored stream and every subscriber that reads it, and a clearer name does not pay for that. If it has never been written or sent, renaming it now is safe."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugin/events.go"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3b2cc42fc0d16c3bcb20551de588e57ace8cc86436813fedb473388032853d8"}},{"ruleId":"M2","level":"note","message":{"text":"No ADRs: No Architecture Decision Records found \u2014 no conventional ADR directory, no numbered \u0060NNNN-title\u0060 documents in any markup this check reads, and nothing ADR-shaped by content. Design rationale recorded elsewhere (a design-notes tree, a mailing list, pull-request discussion) is not visible to this check and is not re-findable per decision, so a future maintainer cannot ask why one choice was made and get an answer."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"670b3d6e36a756d63097d0dfbf90afd5fc761308800b9354894a07c3f4e4aa14"}},{"ruleId":"M2","level":"note","message":{"text":"Architecture diagram out of date: \u0060vendor/github.com/containerd/containerd/runtime/v2/README.md\u0060 draws the system\u0027s parts, and the drawing no longer matches the code: it leaves out \u0060containerd-shim-runc-v2\u0060, which the repository has beside the units it does draw. A diagram of a system that no longer exists misleads the reader it was drawn for, so it is not credited as documenting the shape."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vendor/github.com/containerd/containerd/runtime/v2/README.md"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"f67aed343d463689b35f2efba54abad61bb6ba5325efd7d53a70dab58e74e376"}},{"ruleId":"M4","level":"note","message":{"text":"README/code drift: project/README.md links to \u0060./RELEASE-CHECKLIST.md\u0060, but \u0060project/RELEASE-CHECKLIST.md\u0060 does not exist. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents\u0027 own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"project/README.md"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"7256e4059dcf430ab5ebccec4e175c564dcddd5b8b2a3c000b6f905e9d0a3231"}},{"ruleId":"P2","level":"note","message":{"text":"Logging is not universal: Only 1/2 runnable modules use logging (modules with no entry point or server are excluded \u2014 they are libraries a runnable module hosts). Silent: \u0060.\u0060."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"91a94e21d6d4d0e6a2003f94505b0b02b157176f0b24c4820f3f82b4447a97fe"}},{"ruleId":"P3","level":"note","message":{"text":"No dependency-update automation: \u0060man/go.mod\u0060 declares packages, and nothing in the repository keeps them current: no Dependabot or Renovate configuration that schedules updates, and no dependency-review gate on pull requests. A pinned dependency stays at the version it was added at until someone notices \u2014 including after an advisory is published against it. Add a \u0060.github/dependabot.yml\u0060 with one \u0060package-ecosystem\u0060 entry per ecosystem the tree uses (or an enabled \u0060renovate.json\u0060), and gate pull requests with \u0060actions/dependency-review-action\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"man/go.mod"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"785f156dc66da2e0ffe946f50987b747049f5f429cf5004f3b62ea376b9d32ee"}},{"ruleId":"P5","level":"warning","message":{"text":"No DR/backup evidence: A persistence guard (data volume / purge-protection) was found, but no backup, geo-recovery or RTO/RPO controls were evidenced \u2014 a volume that survives a container recreate is not a tested restore from catastrophic loss."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"5daabb38c90b07af65b8738cf94ce884e90a7d8fef810d341de5c186188c8fe0"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060http.Head(\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":"builder/remotecontext/git/gitutils.go"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"dac95e078c69f9421377d4484de8f952d7fe6d9d3234a8a0f64308549c5a3eb0"}},{"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":"builder/remotecontext/git/gitutils.go"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1fca757ef6bc7b472c51e002ba7f76e061452e2f12cdf5729b00eaf299f1841"}},{"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":"builder/remotecontext/remote.go"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6b990de316f41ec2d7615dd7cb0973c1c5c7fb9a568b2af54124edb1d50ea75"}},{"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":"libnetwork/cmd/diagnostic/main.go"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"7febe4de8798e9306cfe4adbb2c6c9a7f294f34c174bf7c8757d09847eb174e2"}},{"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":"libnetwork/cmd/diagnostic/main.go"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d438963cbf71fba344f6e92fd062c40b34df20a1bdd540c352dd34d32c37df0"}},{"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":"libnetwork/cmd/diagnostic/main.go"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b67f0edc33bf7c125145984658be1a1b314a6c0c1542176019c250f2590165e"}},{"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":"libnetwork/cmd/diagnostic/main.go"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2651bff3f215b712975577a48edd87f80568c1fb510a7e644d66faf59dcf47e"}},{"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":"libnetwork/cmd/diagnostic/main.go"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"e30e538a749a2169b27baf1ff696914f02b805e5ffb61e707028453d65e28e52"}},{"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":"libnetwork/cmd/diagnostic/main.go"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"48054888261714fb741a2eaae4a5e5fb9d5fc5dbb8a1b8cc7874520ce74d0822"}},{"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":"testutil/registry/registry.go"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"e907910e6e740aeb1f97b88d9d8aa18741d0d3819d3ff1f709954719ac042092"}},{"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":"testutil/request/request.go"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"776f7f737524f7b8c490117d92e65982b1259a33180366a121eccc7f67028238"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!isValidParent(target, parent) || !isValidConfig(cfg, target.History[lenHistory])\u0060 appears character-identically in 2 files \u2014 daemon/containerd/cache.go, image/cache/cache.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":"daemon/containerd/cache.go"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a90b28e7407892edee7121e3c96475984d92c228f54cc2000b38f27a3ffa744"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!n.getController().isSwarmNode() || n.Scope() != scope.Swarm || !n.driverIsMultihost()\u0060 appears character-identically in 2 files \u2014 libnetwork/endpoint.go, libnetwork/network.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":"libnetwork/endpoint.go"},"region":{"startLine":479}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c12c2ab5cdf5af83443049e43ad7c0c50f6f92a6bbcf17ac8ea3c0977e7ab4b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!strings.HasPrefix(m.Source, daemon.root) \u0026\u0026 !strings.HasPrefix(daemon.root, m.Source)\u0060 appears character-identically in 2 files \u2014 daemon/oci_linux.go, daemon/volumes_linux.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":"daemon/oci_linux.go"},"region":{"startLine":633}}}],"partialFingerprints":{"codehealthFindingId/v1":"b34078412796d3eea06bbd6f85959aaf8bdfc8e27f87e997f5b7accc08d7c9d3"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!toVolume \u0026\u0026 container.HostConfig.ReadonlyRootfs\u0060 appears character-identically in 2 files \u2014 daemon/archive_unix.go, daemon/archive_windows.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":"daemon/archive_unix.go"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"268ffe3b5c593e31349329b96858b38e4c83672e02ee37a40b0b5e99cc35a7d4"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!tty \u0026\u0026 versions.GreaterThanOrEqualTo(httputils.VersionFromContext(ctx), \u00221.42\u0022)\u0060 appears character-identically in 2 files \u2014 api/server/router/container/container_routes.go, api/server/router/swarm/helpers.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":"api/server/router/container/container_routes.go"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"25ab647e3d4f10d11047388e19cfca7b58a98c0e6cc43e6a53a5340d4d0e12a4"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060container.HostConfig.AutoRemove \u0026\u0026 !hostConfig.RestartPolicy.IsNone()\u0060 appears character-identically in 2 files \u2014 container/container_unix.go, container/container_windows.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":"container/container_unix.go"},"region":{"startLine":357}}}],"partialFingerprints":{"codehealthFindingId/v1":"92de96b1d2f7df83567a7a125fff49069cb40d3d34fb518c13acb4853f33ac7c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060container.RemovalInProgress || container.Dead\u0060 appears character-identically in 2 files \u2014 daemon/container_operations.go, daemon/start.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":"daemon/container_operations.go"},"region":{"startLine":989}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5705243c3416989ac53cf3f266e2c2ce74b553c0249af0548330e759dd28546"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060err != nil \u0026\u0026 err != datastore.ErrKeyNotFound\u0060 appears character-identically in 5 files \u2014 libnetwork/drivers/bridge/bridge_store.go, libnetwork/drivers/ipvlan/ipvlan_store.go, libnetwork/drivers/macvlan/macvlan_store.go, libnetwork/drivers/windows/windows_store.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":"libnetwork/drivers/bridge/bridge_store.go"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"331015caab4a0d749b905210706d92801548434e27e8777c69d077d1ebb927d3"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060err != nil \u0026\u0026 opts.PullOption == backend.PullOptionNoPull\u0060 appears character-identically in 2 files \u2014 daemon/containerd/image_builder.go, daemon/images/image_builder.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":"daemon/containerd/image_builder.go"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"1404616147d3edf0fb7c3ca34a5a9ff063a52a0a7c1553b67998b6f55c24dd7e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060errdefs.IsNotFound(err) \u0026\u0026 img != nil \u0026\u0026 platform != nil\u0060 appears character-identically in 2 files \u2014 daemon/containerd/image_builder.go, daemon/images/image_builder.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":"daemon/containerd/image_builder.go"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"814989b4beb099645a51fe22e5603fb4719f2e61532af259d40b026a52923106"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060errdefs.IsUnauthorized(err) \u0026\u0026 options.PrivilegeFunc != nil\u0060 appears character-identically in 4 files \u2014 client/image_pull.go, client/image_push.go, client/image_search.go, client/plugin_install.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":"client/image_pull.go"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed03548c3c4aaa0e56b0cabc78d733d062693e5f00efd92c6e62e93feb69c888"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060errors.Is(err, context.Canceled) || errors.Is(err, context.DeadlineExceeded)\u0060 appears character-identically in 6 files \u2014 client/request.go, daemon/containerd/image_import.go, daemon/containerd/image_prune.go, daemon/containerd/progress.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":"client/request.go"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e2d25d8dcee6b559ad2357fb1a6923c06212f394fefb33a63be5224d7c9cefa"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060fallbackErr.transportOK \u0026\u0026 endpoint.URL.Scheme == \u0022https\u0022\u0060 appears character-identically in 2 files \u2014 distribution/pull.go, distribution/push.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":"distribution/pull.go"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6c64c0125df1bc67cc6df93f66eda130f2b8ce746f9e69f332f9d70c859d5f0"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060fi.IsDir() \u0026\u0026 hdr.Typeflag == tar.TypeDir\u0060 appears character-identically in 2 files \u2014 pkg/archive/archive.go, pkg/archive/diff.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/archive/archive.go"},"region":{"startLine":1165}}}],"partialFingerprints":{"codehealthFindingId/v1":"d61b25c434140d6469f23bda60ab39f2143d3a6f08c484aab63d716f28f473ad"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060flags.Changed(\u0022config-file\u0022) || !os.IsNotExist(err)\u0060 appears character-identically in 2 files \u2014 cmd/dockerd/daemon.go, daemon/config/config.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":"cmd/dockerd/daemon.go"},"region":{"startLine":559}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce8ec009922b6d9460ceaf7925207535144aff84bef34a97d1646e62df3cbc25"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060len(i.referenceStore.References(dgst)) == 0 \u0026\u0026 len(i.imageStore.Children(id)) != 0\u0060 appears character-identically in 2 files \u2014 daemon/images/image_prune.go, daemon/images/service.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":"daemon/images/image_prune.go"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"040289bf62dc5af1331fc7982d358220e0d20c8ee4b85e5f8938fb92e4786d47"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060len(ipV4Data) == 0 || ipV4Data[0].Pool.String() == \u00220.0.0.0/0\u0022\u0060 appears character-identically in 5 files \u2014 libnetwork/drivers/bridge/bridge_linux.go, libnetwork/drivers/ipvlan/ipvlan_network.go, libnetwork/drivers/macvlan/macvlan_network.go, libnetwork/drivers/overlay/ov_network.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":"libnetwork/drivers/bridge/bridge_linux.go"},"region":{"startLine":630}}}],"partialFingerprints":{"codehealthFindingId/v1":"62c7d37b22deec63fb86c9776555bad99906d1da4e989222ce9f7e5628e85954"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060opts != nil \u0026\u0026 len(opts.StorageOpt) != 0\u0060 appears character-identically in 3 files \u2014 daemon/graphdriver/fuse-overlayfs/fuseoverlayfs.go, daemon/graphdriver/overlay2/overlay.go, daemon/graphdriver/vfs/driver.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":"daemon/graphdriver/fuse-overlayfs/fuseoverlayfs.go"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd5de26423207ca909d6ccbf29a5a3d72ee3fa5ed5c0c9f6c0be72d5bf8fe173"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060parent == nil || len(parent.History) == 0 \u0026\u0026 len(parent.RootFS.DiffIDs) == 0\u0060 appears character-identically in 2 files \u2014 daemon/containerd/cache.go, image/cache/cache.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":"daemon/containerd/cache.go"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"54486fa2c687c806f4e353f382a26ccbbd56a0b457d650e0b4724419ce787e79"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060resources.NanoCPUs \u003C 0 || resources.NanoCPUs \u003E int64(sysinfo.NumCPU())*1e9\u0060 appears character-identically in 2 files \u2014 daemon/daemon_unix.go, daemon/daemon_windows.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":"daemon/daemon_unix.go"},"region":{"startLine":496}}}],"partialFingerprints":{"codehealthFindingId/v1":"e74b428a9d80cb6e6b04747f5d4a7a8359369f03eaeca8f2d5b0aeb8f6bd2474"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060volumeDriver != \u0022\u0022 \u0026\u0026 spec.Type == mount.TypeVolume\u0060 appears character-identically in 2 files \u2014 volume/mounts/linux_parser.go, volume/mounts/windows_parser.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":"volume/mounts/linux_parser.go"},"region":{"startLine":252}}}],"partialFingerprints":{"codehealthFindingId/v1":"592ada2b3db9eeee2a31469ff50db3b0e74393ded4474d53d3543e4782e13bd4"}},{"ruleId":"X2","level":"note","message":{"text":"Not all functions that make a request accept a context.Context: Only 2/14 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: loginV2: \u0060loginV2\u0060 calls \u0060http.NewRequest(\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":"registry/auth.go"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"92eb5bd75c63cb041860871439b492ea09ba4442eed8cdb3e4640782353a1ad7"}},{"ruleId":"X2","level":"warning","message":{"text":"Function without context.Context: PingV2Registry: \u0060PingV2Registry\u0060 calls \u0060http.NewRequest(\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":"registry/auth.go"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"2481a4f5d9fce99fd4c19fe60df1cf2dc05cdba56deb8019ea93aa0a3f6da0db"}},{"ruleId":"X2","level":"warning","message":{"text":"Function without context.Context: ping: \u0060ping\u0060 calls \u0060http.NewRequest(\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":"registry/search_endpoint_v1.go"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"be6160ef5212a0cff549b48940222349882b6fd046633a4ce0fb95194771b56b"}},{"ruleId":"X2","level":"warning","message":{"text":"Function without context.Context: searchRepositories: \u0060searchRepositories\u0060 calls \u0060http.NewRequest(\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":"registry/search_session.go"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bc720a2f8c3a8dac73e341390f3337b0de44e3d4399d31c4b3b726de1352e44"}},{"ruleId":"X2","level":"warning","message":{"text":"Function without context.Context: pluginPostStart: \u0060pluginPostStart\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":"plugin/manager_linux.go"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f289baff91f449135f3e4d953231a6e8720332a553b6ea9503c5d7ee4b6acfb"}},{"ruleId":"X2","level":"warning","message":{"text":"Function without context.Context: dialExtDNS: \u0060dialExtDNS\u0060 calls \u0060net.DialTimeout(\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":"libnetwork/resolver.go"},"region":{"startLine":456}}}],"partialFingerprints":{"codehealthFindingId/v1":"fefc90caadb181d56d592efcaed5e6b342be3ac5288f49939ad67ba2f078c0d3"}},{"ruleId":"X2","level":"warning","message":{"text":"Function without context.Context: setExternalKey: \u0060setExternalKey\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":"libnetwork/sandbox_externalkey_unix.go"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fcb52200e1e54bac8cb5451d48f894b14d6aff584c60399ffdee1c87190556a"}},{"ruleId":"X2","level":"warning","message":{"text":"Function without context.Context: fetchNodePeers: \u0060fetchNodePeers\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":"libnetwork/cmd/diagnostic/main.go"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab5926a6305eeffa692f56e9cf0a78d7febeae4157b273e245dd1d08cf379f58"}},{"ruleId":"X2","level":"warning","message":{"text":"Function without context.Context: fetchTable: \u0060fetchTable\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":"libnetwork/cmd/diagnostic/main.go"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"052928be04e20e81d9abc196e710ae66924d7eca09b40b122d8d7d81e025c843"}},{"ruleId":"X2","level":"warning","message":{"text":"Function without context.Context: verifySplunkConnection: \u0060verifySplunkConnection\u0060 calls \u0060http.NewRequest(\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":"daemon/logger/splunk/splunk.go"},"region":{"startLine":622}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbf52d6b72f22c889585060b70b8130819f986978c04a38103394cb6e1134f5e"}},{"ruleId":"X2","level":"warning","message":{"text":"Function without context.Context: GetWithStatusError: \u0060GetWithStatusError\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":"builder/remotecontext/remote.go"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"7727423381499f2b7b70b1a5906fe52f171b87d3ea122900af473472736ee588"}},{"ruleId":"X2","level":"warning","message":{"text":"Function without context.Context: supportsShallowClone: \u0060supportsShallowClone\u0060 calls \u0060http.Head(\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":"builder/remotecontext/git/gitutils.go"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"979b96a54f4c24a12ac133e0eec484214b97896cf34045e6539e6e68b3296cf7"}},{"ruleId":"X26","level":"warning","message":{"text":"Collection crosses a callback boundary unsynchronised: \u0060restore\u0060 starts a goroutine on every pass of a loop, and each one writes \u0060_\u0060, a variable declared before the loop \u2014 \u0060_ = \u2026\u0060 on line 325. The loop never waits on \u0060group\u0060 before its next pass, so the goroutines of successive passes run at the same time and each one\u0027s write races the next one\u0027s; waiting on \u0060group\u0060 after the loop orders only what follows the wait. A goroutine\u0027s closure captures \u0060_\u0060 by reference, so every goroutine and the body use ONE variable, and a plain variable has no synchronisation of its own: by the Go memory model a write concurrent with any other access to it is a data race (the race detector reports it), a racing \u0060\u002B\u002B\u0060 loses updates, and a racing read sees a stale or torn value. \u0060group\u0060 is a \u0060sync.WaitGroup\u0060, which orders the handoff\u0027s signal and takes no exclusion over the variable\u0027s own state. Guard every write to \u0060_\u0060 with one \u0060sync.Mutex\u0060, or have each goroutine send its result on a channel that this body alone receives from and writes into \u0060_\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/daemon.go"},"region":{"startLine":325}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e5619269aff8c2bdc172b0420f68141fad1252d0585ad1a1cc23c3269cc125b"}},{"ruleId":"X26","level":"warning","message":{"text":"Collection crosses a callback boundary unsynchronised: \u0060restore\u0060 starts a goroutine on every pass of a loop, and each one writes \u0060_\u0060, a variable declared before the loop \u2014 \u0060_ = \u2026\u0060 on line 582. The loop never waits on \u0060group\u0060 before its next pass, so the goroutines of successive passes run at the same time and each one\u0027s write races the next one\u0027s; waiting on \u0060group\u0060 after the loop orders only what follows the wait. A goroutine\u0027s closure captures \u0060_\u0060 by reference, so every goroutine and the body use ONE variable, and a plain variable has no synchronisation of its own: by the Go memory model a write concurrent with any other access to it is a data race (the race detector reports it), a racing \u0060\u002B\u002B\u0060 loses updates, and a racing read sees a stale or torn value. \u0060group\u0060 is a \u0060sync.WaitGroup\u0060, which orders the handoff\u0027s signal and takes no exclusion over the variable\u0027s own state. Guard every write to \u0060_\u0060 with one \u0060sync.Mutex\u0060, or have each goroutine send its result on a channel that this body alone receives from and writes into \u0060_\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/daemon.go"},"region":{"startLine":582}}}],"partialFingerprints":{"codehealthFindingId/v1":"e58e31bb5d10b23521479f06a8f7346fcd86322eef0b0341f3d78a81edace12f"}},{"ruleId":"X26","level":"warning","message":{"text":"Collection crosses a callback boundary unsynchronised: \u0060restore\u0060 starts a goroutine on every pass of a loop, and each one writes \u0060_\u0060, a variable declared before the loop \u2014 \u0060_ = \u2026\u0060 on line 635. The loop never waits on \u0060group\u0060 before its next pass, so the goroutines of successive passes run at the same time and each one\u0027s write races the next one\u0027s; waiting on \u0060group\u0060 after the loop orders only what follows the wait. A goroutine\u0027s closure captures \u0060_\u0060 by reference, so every goroutine and the body use ONE variable, and a plain variable has no synchronisation of its own: by the Go memory model a write concurrent with any other access to it is a data race (the race detector reports it), a racing \u0060\u002B\u002B\u0060 loses updates, and a racing read sees a stale or torn value. \u0060group\u0060 is a \u0060sync.WaitGroup\u0060, which orders the handoff\u0027s signal and takes no exclusion over the variable\u0027s own state. Guard every write to \u0060_\u0060 with one \u0060sync.Mutex\u0060, or have each goroutine send its result on a channel that this body alone receives from and writes into \u0060_\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/daemon.go"},"region":{"startLine":635}}}],"partialFingerprints":{"codehealthFindingId/v1":"15ef05fb8863d201b4c7c6d0e11b9d928d6d60791aec80a4430cc8713deb4343"}},{"ruleId":"X26","level":"warning","message":{"text":"Collection crosses a callback boundary unsynchronised: \u0060restore\u0060 starts a goroutine on every pass of a loop, and each one writes \u0060_\u0060, a variable declared before the loop \u2014 \u0060_ = \u2026\u0060 on line 666. The loop never waits on \u0060group\u0060 before its next pass, so the goroutines of successive passes run at the same time and each one\u0027s write races the next one\u0027s; waiting on \u0060group\u0060 after the loop orders only what follows the wait. A goroutine\u0027s closure captures \u0060_\u0060 by reference, so every goroutine and the body use ONE variable, and a plain variable has no synchronisation of its own: by the Go memory model a write concurrent with any other access to it is a data race (the race detector reports it), a racing \u0060\u002B\u002B\u0060 loses updates, and a racing read sees a stale or torn value. \u0060group\u0060 is a \u0060sync.WaitGroup\u0060, which orders the handoff\u0027s signal and takes no exclusion over the variable\u0027s own state. Guard every write to \u0060_\u0060 with one \u0060sync.Mutex\u0060, or have each goroutine send its result on a channel that this body alone receives from and writes into \u0060_\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/daemon.go"},"region":{"startLine":666}}}],"partialFingerprints":{"codehealthFindingId/v1":"2250a1c88eb8405bbbd6b9bc49341e9ecf9c624328b31c00f68970549c3d9439"}},{"ruleId":"X27","level":"warning","message":{"text":"Collection is structurally changed while it is being enumerated: \u0060s.Mounts\u0060 is walked by the \u0060for \u2026 range\u0060 at line 100, and line 103 removes from (or inserts into) \u0060s.Mounts\u0060 by shifting its elements in the backing array the loop is still reading: the element after each change moves under the index the loop has already passed, so it is skipped, and the last ones are read twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugin/v2/plugin_linux.go"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"db9cbd8bd58083dc8ebe30736b49450d6ff1949e9fc9fe5d3cb0376712bd5bb9"}},{"ruleId":"X27","level":"warning","message":{"text":"Collection is structurally changed while it is being enumerated: \u0060ts.sums\u0060 is walked by the \u0060for \u2026 range\u0060 at line 14, and line 16 removes from (or inserts into) \u0060ts.sums\u0060 by shifting its elements in the backing array the loop is still reading: the element after each change moves under the index the loop has already passed, so it is skipped, and the last ones are read twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/tarsum/builder_context.go"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"54deb389f3f0eaa7e2094eb9636de0b7a88c3d96b68fddb7de7b33e92bffee9e"}},{"ruleId":"X27","level":"warning","message":{"text":"Collection is structurally changed while it is being enumerated: \u0060realmark.keys()\u0060 is a live view over \u0060realmark\u0060 by the \u0060for\u0060 on line 110, and line 113 calls \u0060del realmark[\u2026]\u0060 inside the loop body \u2014 a change to the size of a dict this file builds. The loop\u0027s next step raises \u0060RuntimeError: dictionary changed size during iteration\u0060, so every pass that reaches this call ends the loop by exception and the remaining items are never seen."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/cmd/ssd/ssd.py"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfef35a4400397244c97f449b7981edecfd6f1d069dd4a147fb41b3ce5ccac5b"}},{"ruleId":"X27","level":"warning","message":{"text":"Collection is structurally changed while it is being enumerated: \u0060stasks.keys()\u0060 is a live view over \u0060stasks\u0060 by the \u0060for\u0060 on line 115, and line 118 calls \u0060del stasks[\u2026]\u0060 inside the loop body \u2014 a change to the size of a dict this file builds. The loop\u0027s next step raises \u0060RuntimeError: dictionary changed size during iteration\u0060, so every pass that reaches this call ends the loop by exception and the remaining items are never seen."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/cmd/ssd/ssd.py"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b6d4371484d5c4ccbb1510fed1e82f51539f379d0cee37015ac86bd6874baa2"}},{"ruleId":"X28","level":"warning","message":{"text":"Index access outside its own emptiness guard: \u0060index\u0060 is the result of a search that answers -1 when nothing is found, and \u0060e[:index]\u0060 uses it as a bound with no test of \u0060index\u0060 in between. When the search misses, the bound is -1 and the access panics with \u0060slice bounds out of range\u0060. Test \u0060index \u003C 0\u0060 (or use \u0060strings.Cut\u0060) before using it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"container/env.go"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"28c9d4c44576cac7394a24f225f06b8d6583075011a52d2fbc9663d0b5a3c807"}},{"ruleId":"X28","level":"warning","message":{"text":"Index access outside its own emptiness guard: This condition tests \u0060requested\u0060 for emptiness and then indexes it on a branch that test does not reach. \u0060requested[0]\u0060 is evaluated whenever the guarded half is false \u2014 which includes the case the guard exists to anticipate, \u0060requested\u0060 being empty \u2014 so an empty \u0060requested\u0060 indexes position 0 of nothing and throws. This same condition already shows the intended bracketing at line 88: \u0060requested[1]\u0060 sits INSIDE the guard. Either the guard is load-bearing, in which case this access escapes it and crashes, or \u0060requested\u0060 cannot be empty here, in which case the guard beside it is dead code \u2014 the condition is wrong under both readings. Move the parenthesis so the emptiness test brackets every access to \u0060requested\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"builder/dockerfile/dispatchers_windows.go"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fa66df7529f7a8f46e9dfa8bb69a253c3986d5ad1391d6c2200aef1a6a02c5a"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060createdAt, _ := v.CreatedAt()\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060createdAt\u0060 as if the call succeeded. When \u0060v.CreatedAt\u0060 fails, \u0060createdAt\u0060 is its zero value (nil for a pointer, a map or an interface), so the program panics later or goes on with a default it never chose, and nothing records why. Check the error before using \u0060createdAt\u0060 (return it, wrapped with what was being done), or, if the failure genuinely cannot matter, say why in a comment on the line."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"volume/service/convert.go"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e774e64924f36822e6ee0f7d45ec907cb380022e4abcfd0497a827b74ea0b75"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (an error-returning call as a bare statement): \u0060s.purge(ctx, name)\u0060 returns an error, and the statement drops it: when \u0060s.purge\u0060 fails nothing records it and the code after it runs as if it had succeeded. Check it (\u0060if err := s.purge(ctx, name); err != nil { \u2026 }\u0060) and return or log it with what was being done, or assign it to \u0060_\u0060 with a comment saying why the failure cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"volume/service/store.go"},"region":{"startLine":723}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e258670d28f1781e0c24fbced0350452faba685ac83c0cb9cfd1e52686d87ce"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060exists, isDir, _ := p.fi.fileInfo(matchgroups[\u0022destination\u0022])\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060exists\u0060 as if the call succeeded. When \u0060p.fi.fileInfo\u0060 fails, \u0060exists\u0060 is its zero value (nil for a pointer, a map or an interface), so the program panics later or goes on with a default it never chose, and nothing records why. Check the error before using \u0060exists\u0060 (return it, wrapped with what was being done), or, if the failure genuinely cannot matter, say why in a comment on the line."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"volume/mounts/windows_parser.go"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"024bea73cb66db3147580a5ec64fadfd2576b8f14765a7cb8de8eb2864c79747"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060mountpoint, _ := a.proxy.Path(a.name)\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060mountpoint\u0060 as if the call succeeded. When \u0060a.proxy.Path\u0060 fails, \u0060mountpoint\u0060 is its zero value (nil for a pointer, a map or an interface), so the program panics later or goes on with a default it never chose, and nothing records why. Check the error before using \u0060mountpoint\u0060 (return it, wrapped with what was being done), or, if the failure genuinely cannot matter, say why in a comment on the line."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"volume/drivers/adapter.go"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2906801782c11bd4626441abd87fa300aa3ff0f3861749fbde6f5cdefbdfb02"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err := validateDriver(d); 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":"volume/drivers/extpoint.go"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"3792cc1417789f4a8ce0f2c63e203d44a3ddba1ebc7734273aeabda0df4edc07"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (an error-returning call as a bare statement): \u0060f.ctx.Close()\u0060 returns an error, and the statement drops it: when \u0060f.ctx.Close\u0060 fails nothing records it and the code after it runs as if it had succeeded. Check it (\u0060if err := f.ctx.Close(); err != nil { \u2026 }\u0060) and return or log it with what was being done, or assign it to \u0060_\u0060 with a comment saying why the failure cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"testutil/fakestorage/storage.go"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac9513e069f09b02af2bb515a76b25179081a1ad8fe1405af7cbdf7cd3be218d"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (an error-returning call as a bare statement): \u0060g.server.Close()\u0060 returns an error, and the statement drops it: when \u0060g.server.Close\u0060 fails nothing records it and the code after it runs as if it had succeeded. Check it (\u0060if err := g.server.Close(); err != nil { \u2026 }\u0060) and return or log it with what was being done, or assign it to \u0060_\u0060 with a comment saying why the failure cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"testutil/fakegit/fakegit.go"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"097fcd41c52cc10c50470a4280da7e05ccea143392c1f7f496ae96212b2929b3"}},{"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":"testutil/environment/environment.go"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"e08a0039aee72fa52f4abbfc6b4764b2c85fe66c4a096f15dd7df325d2664c32"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if val, err := strconv.ParseBool(env); 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":"testutil/daemon/daemon.go"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7b27e2a76c72a3672f6afb15c2356ceaa25705e4dcc6ace492718a2a0ef9718"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060ev, _ := windows.UTF16PtrFromString(\u0022Global\\\\docker-daemon-\u0022 \u002B strconv.Itoa(pid))\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060ev\u0060 as if the call succeeded. When \u0060windows.UTF16PtrFromString\u0060 fails, \u0060ev\u0060 is its zero value (nil for a pointer, a map or an interface), so the program panics later or goes on with a default it never chose, and nothing records why. Check the error before using \u0060ev\u0060 (return it, wrapped with what was being done), or, if the failure genuinely cannot matter, say why in a comment on the line."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"testutil/daemon/daemon_windows.go"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ed7a49f3bf3d20327d7255522cecfb571cf1062aebd9a5491a504d2b05cd0b7"}},{"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":"registry/config.go"},"region":{"startLine":364}}}],"partialFingerprints":{"codehealthFindingId/v1":"944e57bef4d86a87ea6701e28445e1bd21be24693c1b46508d70ef09e3de94b7"}},{"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":"quota/testhelpers.go"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"f08399f0e37826c530d8746f2dbe72182d7bf8c61f06322d4d95b70144937bf8"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err := unix.Uname(\u0026uts); 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":"profiles/seccomp/kernel_linux.go"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab3ddb893ba573a2d61dd0b6876a6335bc61a682246309a846cd6dcf682af3a0"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (an error-returning call as a bare statement): \u0060out.WriteProgress(progress.Progress{ID: id, Action: \u0022Already exists\u0022, LastUpdate: true})\u0060 returns an error, and the statement drops it: when \u0060out.WriteProgress\u0060 fails nothing records it and the code after it runs as if it had succeeded. Check it (\u0060if err := out.WriteProgress(progress.Progress{ID: id, Action: \u0022Already exists\u0022, LastUpdate: true}); err != nil { \u2026 }\u0060) and return or log it with what was being done, or assign it to \u0060_\u0060 with a comment saying why the failure cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugin/fetch_linux.go"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"7188ad4139947329799079716642f1c8b61426096ea560140af3d6d089d58318"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (an error-returning call as a bare statement): \u0060out.WriteProgress(progress.Progress{ID: id, Action: \u0022Download complete\u0022, Current: s.Offset, LastUpdate: true})\u0060 returns an error, and the statement drops it: when \u0060out.WriteProgress\u0060 fails nothing records it and the code after it runs as if it had succeeded. Check it (\u0060if err := out.WriteProgress(progress.Progress{ID: id, Action: \u0022Download complete\u0022, Current: s.Offset, LastUpdate: true}); err != nil { \u2026 }\u0060) and return or log it with what was being done, or assign it to \u0060_\u0060 with a comment saying why the failure cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugin/fetch_linux.go"},"region":{"startLine":281}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8b7d712acac347cbac8215fcb445bdc66efb405b0104a128eec7d75ad7615a7"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (an error-returning call as a bare statement): \u0060out.WriteProgress(progress.Progress{ID: id, Action: \u0022Downloading\u0022, Current: s.Offset, Total: s.Total})\u0060 returns an error, and the statement drops it: when \u0060out.WriteProgress\u0060 fails nothing records it and the code after it runs as if it had succeeded. Check it (\u0060if err := out.WriteProgress(progress.Progress{ID: id, Action: \u0022Downloading\u0022, Current: s.Offset, Total: s.Total}); err != nil { \u2026 }\u0060) and return or log it with what was being done, or assign it to \u0060_\u0060 with a comment saying why the failure cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugin/fetch_linux.go"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d03f7d8e6ed5cd72023df08dc3811ca13a0dd2a6d15d96962915ed1738d7153"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (an error-returning call as a bare statement): \u0060pm.enable(p, c, true)\u0060 returns an error, and the statement drops it: when \u0060pm.enable\u0060 fails nothing records it and the code after it runs as if it had succeeded. Check it (\u0060if err := pm.enable(p, c, true); err != nil { \u2026 }\u0060) and return or log it with what was being done, or assign it to \u0060_\u0060 with a comment saying why the failure cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugin/manager.go"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"59f24c0318002400acb2507ddc5915a5f21d08905832e105cd112a3d8a927d49"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (an error-returning call as a bare statement): \u0060pm.save(p)\u0060 returns an error, and the statement drops it: when \u0060pm.save\u0060 fails nothing records it and the code after it runs as if it had succeeded. Check it (\u0060if err := pm.save(p); err != nil { \u2026 }\u0060) and return or log it with what was being done, or assign it to \u0060_\u0060 with a comment saying why the failure cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugin/manager.go"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"afc37530a917c0279ca011f9d39ab0e73fa609d246eb82287e525646fe9b0282"}},{"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":"plugin/progress.go"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec9b18a6ab54d4431eead611c9a010bee54a9971c72d9d23f9cd227de1c9e20e"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (an error-returning call as a bare statement): \u0060ts.writer.Flush()\u0060 returns an error, and the statement drops it: when \u0060ts.writer.Flush\u0060 fails nothing records it and the code after it runs as if it had succeeded. Check it (\u0060if err := ts.writer.Flush(); err != nil { \u2026 }\u0060) and return or log it with what was being done, or assign it to \u0060_\u0060 with a comment saying why the failure cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/tarsum/tarsum.go"},"region":{"startLine":257}}}],"partialFingerprints":{"codehealthFindingId/v1":"d47df7efbca388258a6e093cd2dad772423b351475e08a6efdc77e689a156b43"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (an error-returning call as a bare statement): \u0060ts.writer.Flush()\u0060 returns an error, and the statement drops it: when \u0060ts.writer.Flush\u0060 fails nothing records it and the code after it runs as if it had succeeded. Check it (\u0060if err := ts.writer.Flush(); err != nil { \u2026 }\u0060) and return or log it with what was being done, or assign it to \u0060_\u0060 with a comment saying why the failure cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/tarsum/tarsum.go"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ec4388115cfb23830896280dbf9316b7065b4a34bf263d759960ef54f13c205"}},{"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/sysinfo/cgroup2_linux.go"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"bffc6edc991fe38243916d6669e389adbd39423f3315fe42be473ea2fdfdd1a3"}},{"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/sysinfo/cgroup2_linux.go"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"86b1b288df1ce17a4f3ab8ae41a86cac6fe04b2fde3ea78127a96ad3689a2f12"}},{"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/sysinfo/cgroup2_linux.go"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"189d4c30edee8ee98f0b8501050c21134623a9c0b22f3cdd1102dd903d375360"}},{"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/sysinfo/numcpu_linux.go"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"74d4cd5536bfa638edf0a0b8681e6423791cae34327cae4560eaa96e4be79861"}},{"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/sysinfo/sysinfo_linux.go"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"62a600f1401dd4ba11dd074cbb9bfd303f648edb305a1ebf82627edf64df3fbe"}},{"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/sysinfo/sysinfo_linux.go"},"region":{"startLine":245}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f576434b4a7cc20b2d8684e657a4695c12d0169e59c632abd0fd9aed3c0bf5e"}},{"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/sysinfo/sysinfo_linux.go"},"region":{"startLine":302}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f5423e891f26e66cb5e10c5e09f9b33fd30678c5eb937c06d411f3a33d83a90"}},{"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/streamformatter/streamformatter.go"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"33138a69d8a4571cc3f3a6772d8b3aea258825405f0fd5050806e06adc2bfd9a"}},{"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/streamformatter/streamformatter.go"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"0172c8406a0c5c4465620c4f57a91d5bdba5d944d7aa31aaad0bab74c1748009"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/progress/progress.go"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"690643411e74fad5b03ab36f8621e673f05b3c72273c506af3631015b395097f"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (an error-returning call as a bare statement): \u0060out.WriteProgress(Progress{ID: id, Action: action})\u0060 returns an error, and the statement drops it: when \u0060out.WriteProgress\u0060 fails nothing records it and the code after it runs as if it had succeeded. Check it (\u0060if err := out.WriteProgress(Progress{ID: id, Action: action}); err != nil { \u2026 }\u0060) and return or log it with what was being done, or assign it to \u0060_\u0060 with a comment saying why the failure cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/progress/progress.go"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1b18de3f85604d0efe01c984cb6b755575c64ea1e1d21c830f385f404388051"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (an error-returning call as a bare statement): \u0060out.WriteProgress(Progress{ID: id, Message: message})\u0060 returns an error, and the statement drops it: when \u0060out.WriteProgress\u0060 fails nothing records it and the code after it runs as if it had succeeded. Check it (\u0060if err := out.WriteProgress(Progress{ID: id, Message: message}); err != nil { \u2026 }\u0060) and return or log it with what was being done, or assign it to \u0060_\u0060 with a comment saying why the failure cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/progress/progress.go"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4de7663f74e46e452f1f7dd828d1738174e2d9d53f2ed47a9255a140f9c27e1"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (an error-returning call as a bare statement): \u0060out.WriteProgress(Progress{Aux: a})\u0060 returns an error, and the statement drops it: when \u0060out.WriteProgress\u0060 fails nothing records it and the code after it runs as if it had succeeded. Check it (\u0060if err := out.WriteProgress(Progress{Aux: a}); err != nil { \u2026 }\u0060) and return or log it with what was being done, or assign it to \u0060_\u0060 with a comment saying why the failure cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/progress/progress.go"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"85a0249b02f6c93ded2dc77e87963df6d4055d4392aa204e4f47d36604704744"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (an error-returning call as a bare statement): \u0060p.out.WriteProgress(Progress{ID: p.id, Action: p.action, Current: p.current, Total: p.size, LastUpdate: last})\u0060 returns an error, and the statement drops it: when \u0060p.out.WriteProgress\u0060 fails nothing records it and the code after it runs as if it had succeeded. Check it (\u0060if err := p.out.WriteProgress(Progress{ID: p.id, Action: p.action, Current: p.current, Total: p.size, LastUpdate: last}); err != nil { \u2026 }\u0060) and return or log it with what was being done, or assign it to \u0060_\u0060 with a comment saying why the failure cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/progress/progressreader.go"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"0eedfbeab268b39be2b7f7dfd58fc193d6ba1a47ba70c7305eab5d225e90945d"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (an error-returning call as a bare statement): \u0060p.out.WriteProgress(Progress{ID: p.id, Action: p.action, Current: p.current, Total: p.Size, LastUpdate: p.current == p.Size})\u0060 returns an error, and the statement drops it: when \u0060p.out.WriteProgress\u0060 fails nothing records it and the code after it runs as if it had succeeded. Check it (\u0060if err := p.out.WriteProgress(Progress{ID: p.id, Action: p.action, Current: p.current, Total: p.Size, LastUpdate: p.current == p.Size}); err != nil { \u2026 }\u0060) and return or log it with what was being done, or assign it to \u0060_\u0060 with a comment saying why the failure cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/progress/progresssink.go"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c81c75b48a0889a58556b824d08323d44d6d0e5a2f36d9861c619b831db8d60"}},{"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/process/process_windows.go"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"9dca1f14bb1bd9126a79ad9ad5dcee0413c5ef65c5c16d99f689e9b8669117a9"}},{"ruleId":"X3","level":"warning","message":{"text":"Lost error (reports an error that is nil on this path): \u0060if err == nil\u0060 reports \u0060err\u0060 on the one path where it is nil, and the path where the call failed goes on without ever reading it: the comparison is inverted. The real failure is lost and a nil error (or a panic on \u0060err.Error()\u0060) is reported in its place. Test \u0060err != nil\u0060 here."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/process/process_windows.go"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbc9d0877bcb6e95a0cbe6e8c9c405bdd7e3e79eb94c7eda13fcf3bebe40312d"}},{"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/plugins/discovery.go"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"138c396bbca53c57b8eaa1b5e93d6ff3afd93507ba1f258cd122eb5b9e29d915"}},{"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/plugins/discovery.go"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d3b02f57bd6f8bfda75cb8572a56589627b54c0de8a09d3c22f6479b6b7c8bd"}},{"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/pidfile/pidfile.go"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"1529b39855400a9aceb697752d8fb77c4048348c1ca2ca41da8cd6bd290ff820"}},{"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/loopback/loopback.go"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff4dffe62353df736552d6e61d63a79b3ff2d157d0e106db18d32ea02868cd05"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060uid, gid, _ := GetRootUIDGID(i.UIDMaps, i.GIDMaps)\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060uid\u0060 as if the call succeeded. When \u0060GetRootUIDGID\u0060 fails, \u0060uid\u0060 is its zero value (nil for a pointer, a map or an interface), so the program panics later or goes on with a default it never chose, and nothing records why. Check the error before using \u0060uid\u0060 (return it, wrapped with what was being done), or, if the failure genuinely cannot matter, say why in a comment on the line."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/idtools/idtools.go"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc9968a7808c4cb25375d0d420cdfdfb68e389dc8973ca07869f1a240d1ee358"}},{"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/fileutils/fileutils_darwin.go"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"08c764748cc5a393c0f32c549f0c83b0bb5c9c480e191bf676a268a0e86134d6"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (an error-returning call as a bare statement): \u0060rm.FlushAll()\u0060 returns an error, and the statement drops it: when \u0060rm.FlushAll\u0060 fails nothing records it and the code after it runs as if it had succeeded. Check it (\u0060if err := rm.FlushAll(); err != nil { \u2026 }\u0060) and return or log it with what was being done, or assign it to \u0060_\u0060 with a comment saying why the failure cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/authorization/authz.go"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"6123df9a0400bc17c1c18535f740dded4f21612695abf028ce37a1ce5aadb234"}},{"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/authorization/authz.go"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6ed037cb5a9446f72aace2b21b19fa5a164a0684578720c2f5d726413ca64cf"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (an error-returning call as a bare statement): \u0060rm.FlushAll()\u0060 returns an error, and the statement drops it: when \u0060rm.FlushAll\u0060 fails nothing records it and the code after it runs as if it had succeeded. Check it (\u0060if err := rm.FlushAll(); err != nil { \u2026 }\u0060) and return or log it with what was being done, or assign it to \u0060_\u0060 with a comment saying why the failure cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/authorization/response.go"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"b15ed4410c8656fc8a5285c8289e06c53b7ead9df97a9ddb285322eefa608cd1"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (an error-returning call as a bare statement): \u0060rm.FlushAll()\u0060 returns an error, and the statement drops it: when \u0060rm.FlushAll\u0060 fails nothing records it and the code after it runs as if it had succeeded. Check it (\u0060if err := rm.FlushAll(); err != nil { \u2026 }\u0060) and return or log it with what was being done, or assign it to \u0060_\u0060 with a comment saying why the failure cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/authorization/response.go"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"48e55ebaf64fc99b815069332e6a5a78e8272428bbfc2338c95fdfc1af62a222"}},{"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/archive/archive.go"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"6af87d025670ffb0571a0410ff85ebebea74a8552f8af486be1f8d0c52d308fe"}},{"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/archive/archive.go"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"263443fc0d1b8186fae810bab6ed5629b8c99c18341dd8c2f3c73aa32eb674cc"}},{"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/archive/archive.go"},"region":{"startLine":941}}}],"partialFingerprints":{"codehealthFindingId/v1":"f75239203495e6561bf33f74698e10f6e4a851f26035f2cfd8109f82b8f3b546"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (an error-returning call as a bare statement): \u0060archive.Close()\u0060 returns an error, and the statement drops it: when \u0060archive.Close\u0060 fails nothing records it and the code after it runs as if it had succeeded. Check it (\u0060if err := archive.Close(); err != nil { \u2026 }\u0060) and return or log it with what was being done, or assign it to \u0060_\u0060 with a comment saying why the failure cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/archive/archive.go"},"region":{"startLine":1504}}}],"partialFingerprints":{"codehealthFindingId/v1":"15047db25680e2036e158602383ea7d4a8072ca1ecf8fb968a1465805c93ac9e"}},{"ruleId":"X3","level":"warning","message":{"text":"Lost error (reports an error that is nil on this path): \u0060if fi, err := os.Lstat(path); err == nil\u0060 reports \u0060err\u0060 on the one path where it is nil, and the path where the call failed goes on without ever reading it: the comparison is inverted. The real failure is lost and a nil error (or a panic on \u0060err.Error()\u0060) is reported in its place. Test \u0060err != nil\u0060 here."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/archive/diff.go"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7c676a0f9a73d7e30bda05a59f798812b6005bfdc11859593cc2e1de3a322b5"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060addr, _, _ := net.SplitHostPort(remote)\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060addr\u0060 as if the call succeeded. When \u0060net.SplitHostPort\u0060 fails, \u0060addr\u0060 is its zero value (nil for a pointer, a map or an interface), so the program panics later or goes on with a default it never chose, and nothing records why. Check the error before using \u0060addr\u0060 (return it, wrapped with what was being done), or, if the failure genuinely cannot matter, say why in a comment on the line."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/agent.go"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"58d1d78b69bf77f3d70119bbce4142c1587393927056ee0add2e0a237af94cfc"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060listenAddr, _, _ := net.SplitHostPort(listen)\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060listenAddr\u0060 as if the call succeeded. When \u0060net.SplitHostPort\u0060 fails, \u0060listenAddr\u0060 is its zero value (nil for a pointer, a map or an interface), so the program panics later or goes on with a default it never chose, and nothing records why. Check the error before using \u0060listenAddr\u0060 (return it, wrapped with what was being done), or, if the failure genuinely cannot matter, say why in a comment on the line."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/agent.go"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f3ad24c694f160a5320576a277fba83b4c0fe0fb8f669c40869cfa27e850461"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060vip, _ := netip.ParseAddr(epRec.VirtualIP)\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060vip\u0060 as if the call succeeded. When \u0060netip.ParseAddr\u0060 fails, \u0060vip\u0060 is its zero value (nil for a pointer, a map or an interface), so the program panics later or goes on with a default it never chose, and nothing records why. Check the error before using \u0060vip\u0060 (return it, wrapped with what was being done), or, if the failure genuinely cannot matter, say why in a comment on the line."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/agent.go"},"region":{"startLine":873}}}],"partialFingerprints":{"codehealthFindingId/v1":"41ab10299d9a5cc8b884719110ea262caa7e0e62719354e468d7ee259b5ff4d6"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060eip, _ := netip.ParseAddr(epRec.EndpointIP)\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060eip\u0060 as if the call succeeded. When \u0060netip.ParseAddr\u0060 fails, \u0060eip\u0060 is its zero value (nil for a pointer, a map or an interface), so the program panics later or goes on with a default it never chose, and nothing records why. Check the error before using \u0060eip\u0060 (return it, wrapped with what was being done), or, if the failure genuinely cannot matter, say why in a comment on the line."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/agent.go"},"region":{"startLine":874}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1f63ca420b28a89ef923ddc90df634549ffe2e2b03041739ea0ae58ae42a483"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060jb, _ := json.Marshal(epMap[\u0022joinInfo\u0022])\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060jb\u0060 as if the call succeeded. When \u0060json.Marshal\u0060 fails, \u0060jb\u0060 is its zero value (nil for a pointer, a map or an interface), so the program panics later or goes on with a default it never chose, and nothing records why. Check the error before using \u0060jb\u0060 (return it, wrapped with what was being done), or, if the failure genuinely cannot matter, say why in a comment on the line."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/endpoint.go"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"20ef407940120f7ec08429c772194b371364127bf8023d13a6fe15f4208dcfa0"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060tb, _ := json.Marshal(epMap[\u0022exposed_ports\u0022])\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060tb\u0060 as if the call succeeded. When \u0060json.Marshal\u0060 fails, \u0060tb\u0060 is its zero value (nil for a pointer, a map or an interface), so the program panics later or goes on with a default it never chose, and nothing records why. Check the error before using \u0060tb\u0060 (return it, wrapped with what was being done), or, if the failure genuinely cannot matter, say why in a comment on the line."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/endpoint.go"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"f222ebe839e335fdbb97219405ce9677d6a9202b99aacec7db764e4bbcd94b05"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060cb, _ := json.Marshal(epMap[\u0022sandbox\u0022])\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060cb\u0060 as if the call succeeded. When \u0060json.Marshal\u0060 fails, \u0060cb\u0060 is its zero value (nil for a pointer, a map or an interface), so the program panics later or goes on with a default it never chose, and nothing records why. Check the error before using \u0060cb\u0060 (return it, wrapped with what was being done), or, if the failure genuinely cannot matter, say why in a comment on the line."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/endpoint.go"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d2d3864b6a04e47b46e15f0d25f06b8a3ee19cc36692f415a82907a1556671b"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060sal, _ := json.Marshal(epMap[\u0022svcAliases\u0022])\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060sal\u0060 as if the call succeeded. When \u0060json.Marshal\u0060 fails, \u0060sal\u0060 is its zero value (nil for a pointer, a map or an interface), so the program panics later or goes on with a default it never chose, and nothing records why. Check the error before using \u0060sal\u0060 (return it, wrapped with what was being done), or, if the failure genuinely cannot matter, say why in a comment on the line."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/endpoint.go"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"38a492b26c6d2d4fd97a5f744db186efa62bf315aa807a9b4b985258c2bb95e6"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060pc, _ := json.Marshal(epMap[\u0022ingressPorts\u0022])\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060pc\u0060 as if the call succeeded. When \u0060json.Marshal\u0060 fails, \u0060pc\u0060 is its zero value (nil for a pointer, a map or an interface), so the program panics later or goes on with a default it never chose, and nothing records why. Check the error before using \u0060pc\u0060 (return it, wrapped with what was being done), or, if the failure genuinely cannot matter, say why in a comment on the line."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/endpoint.go"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"16e199e96bc8d4aab0055e6f4d2f98ebf755f3aeda41aa18285fc94653d7c85a"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060ma, _ := json.Marshal(epMap[\u0022myAliases\u0022])\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060ma\u0060 as if the call succeeded. When \u0060json.Marshal\u0060 fails, \u0060ma\u0060 is its zero value (nil for a pointer, a map or an interface), so the program panics later or goes on with a default it never chose, and nothing records why. Check the error before using \u0060ma\u0060 (return it, wrapped with what was being done), or, if the failure genuinely cannot matter, say why in a comment on the line."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/endpoint.go"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6d6a41815fbee1fb5f9942812563764d085ad320f03e06d0dddf1a92cd099e8"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060dn, _ := json.Marshal(epMap[\u0022dnsNames\u0022])\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060dn\u0060 as if the call succeeded. When \u0060json.Marshal\u0060 fails, \u0060dn\u0060 is its zero value (nil for a pointer, a map or an interface), so the program panics later or goes on with a default it never chose, and nothing records why. Check the error before using \u0060dn\u0060 (return it, wrapped with what was being done), or, if the failure genuinely cannot matter, say why in a comment on the line."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/endpoint.go"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa4b699fc28b5545eb50551fc71041cda927c619312824bac6afda489a920af3"}},{"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":"libnetwork/endpoint.go"},"region":{"startLine":356}}}],"partialFingerprints":{"codehealthFindingId/v1":"4eb3369a5ac29bfe557e96100db821160c1c1e99cf85070abc9a2b084f58f853"}},{"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":"libnetwork/endpoint_cnt.go"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"17f32d73d509f948c6a45ab806a520b7c5f6b36dcc7e1266d602710d279c99fa"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060rb, _ := json.Marshal(epMap[\u0022routes\u0022])\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060rb\u0060 as if the call succeeded. When \u0060json.Marshal\u0060 fails, \u0060rb\u0060 is its zero value (nil for a pointer, a map or an interface), so the program panics later or goes on with a default it never chose, and nothing records why. Check the error before using \u0060rb\u0060 (return it, wrapped with what was being done), or, if the failure genuinely cannot matter, say why in a comment on the line."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/endpoint_info.go"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7be54179dedf80451b206b76881eae3a9fa1b1faf055b96f1245bae84931542"}},{"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":"libnetwork/endpoint_info.go"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec46e3657d7e2ec2ec54797e7b1b03cfbe79b9c4eb3107c9257e0dcb2066afcc"}},{"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":"libnetwork/endpoint_info.go"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0b656e1cd980d9e9deca2f496b250d728888a9b04e85db531ddaeb36537055b"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060tb, _ := json.Marshal(v)\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060tb\u0060 as if the call succeeded. When \u0060json.Marshal\u0060 fails, \u0060tb\u0060 is its zero value (nil for a pointer, a map or an interface), so the program panics later or goes on with a default it never chose, and nothing records why. Check the error before using \u0060tb\u0060 (return it, wrapped with what was being done), or, if the failure genuinely cannot matter, say why in a comment on the line."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/endpoint_info.go"},"region":{"startLine":432}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a67d8ac57ce9733cb922de767faeef5fa2640dff063e11c3cb2f29c40b2578f"}},{"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":"libnetwork/firewall_linux.go"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"cac7ccb53115c1df997b7cd53b7aa04911d849dbf1da36bb96cb99efa947cd93"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060_, allowedRange, _ := net.ParseCIDR(c.PreferredPool)\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060allowedRange\u0060 as if the call succeeded. When \u0060net.ParseCIDR\u0060 fails, \u0060allowedRange\u0060 is its zero value (nil for a pointer, a map or an interface), so the program panics later or goes on with a default it never chose, and nothing records why. Check the error before using \u0060allowedRange\u0060 (return it, wrapped with what was being done), or, if the failure genuinely cannot matter, say why in a comment on the line."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/network.go"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"747abcc2d9052e45069e4a471806c9726b05893bb0c8feafeb336a8c6801c9fe"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060b, _ := json.Marshal(v)\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060b\u0060 as if the call succeeded. When \u0060json.Marshal\u0060 fails, \u0060b\u0060 is its zero value (nil for a pointer, a map or an interface), so the program panics later or goes on with a default it never chose, and nothing records why. Check the error before using \u0060b\u0060 (return it, wrapped with what was being done), or, if the failure genuinely cannot matter, say why in a comment on the line."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/network.go"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"00412e7fd708b7e3bb181ac930f25d67ca0a8fe9aec933f9a4a11055f16d11da"}},{"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":"libnetwork/network.go"},"region":{"startLine":261}}}],"partialFingerprints":{"codehealthFindingId/v1":"9974073dfeb07f9839ad8ec99de3d98a6a68a9218d18289c9125aa56c537d218"}},{"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":"libnetwork/network.go"},"region":{"startLine":910}}}],"partialFingerprints":{"codehealthFindingId/v1":"887a8e33d8fda61183d35009a76bfc4a9e7973d67a0200b429ad1c342f4fd515"}},{"ruleId":"X3","level":"warning","message":{"text":"Lost error (reports an error that is nil on this path): \u0060if t, err := c.getConfigNetwork(n.ConfigFrom()); err == nil\u0060 reports \u0060err\u0060 on the one path where it is nil, and the path where the call failed goes on without ever reading it: the comparison is inverted. The real failure is lost and a nil error (or a panic on \u0060err.Error()\u0060) is reported in its place. Test \u0060err != nil\u0060 here."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/network.go"},"region":{"startLine":1014}}}],"partialFingerprints":{"codehealthFindingId/v1":"4150a82d395a62055817b1858743e028abe4d8819b5b80f44acbe3f89224978b"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060resolverIP, ipPort, _ := net.SplitHostPort(laddr)\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060resolverIP\u0060 as if the call succeeded. When \u0060net.SplitHostPort\u0060 fails, \u0060resolverIP\u0060 is its zero value (nil for a pointer, a map or an interface), so the program panics later or goes on with a default it never chose, and nothing records why. Check the error before using \u0060resolverIP\u0060 (return it, wrapped with what was being done), or, if the failure genuinely cannot matter, say why in a comment on the line."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/resolver_unix.go"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb79642b366cfd4e6e0a9eb860b5cec98d23a958537d2adb83e6fb7446228d4c"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060_, tcpPort, _ := net.SplitHostPort(ltcpaddr)\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060tcpPort\u0060 as if the call succeeded. When \u0060net.SplitHostPort\u0060 fails, \u0060tcpPort\u0060 is its zero value (nil for a pointer, a map or an interface), so the program panics later or goes on with a default it never chose, and nothing records why. Check the error before using \u0060tcpPort\u0060 (return it, wrapped with what was being done), or, if the failure genuinely cannot matter, say why in a comment on the line."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/resolver_unix.go"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0d03e686b5f79112ca4f2caea5907a1729615bdf1293bf8fb351bb0451af56e"}},{"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":"libnetwork/sandbox_dns_unix.go"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"09f7db4a168714e6a67936b9b1c19155ff6af4ae9e3a7c447ac23718d6675cf6"}},{"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":"libnetwork/sandbox_store.go"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"36327921fc55ae73219ba40cfb6ebed60a3b979ff9f261aaa44eab0f2ffe62fb"}},{"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":"libnetwork/sandbox_store.go"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"67be91831e836d190d996b83156ad6094f0080426a4863509b68efd8bb0fcd7e"}},{"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":"libnetwork/sandbox_store.go"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd24511f6713dadf1bca4773b191e98167352e41ba450a7041abd0d3cdfe759c"}},{"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":"libnetwork/sandbox_store.go"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"15488758ef49e8e9923046de58985de569618800ecb574c961b018538dbb3c74"}},{"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":"libnetwork/portmapper/proxy_linux.go"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"52f3837aa7fe2162d1d151044fe8407f409169e1388821dccd2635a46995efeb"}},{"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":"libnetwork/osl/namespace_linux.go"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"c73f67e5fba53928bf8e674a5f450eaecdceb6355585174d9607a206da24e407"}},{"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":"libnetwork/osl/namespace_linux.go"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"04d6a7e547e125ff0097bee1597982e1d24ee41c24aebd0ff39ae7ce5b3ec425"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if _, err := nDB.memberlist.Join([]string{addr.String()}); 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":"libnetwork/networkdb/cluster.go"},"region":{"startLine":349}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdba4130089159b4c6465ddc836cff8046e37d9b9fa7ee21c4c1e08f9177ac60"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err := nDB.sendNodeEvent(NodeEventTypeJoin); 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":"libnetwork/networkdb/cluster.go"},"region":{"startLine":353}}}],"partialFingerprints":{"codehealthFindingId/v1":"40945480e88d1df4741f93864bc941ae51684b0f144a1549b0ea2dd56055cb11"}},{"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":"libnetwork/networkdb/message.go"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"142f2c78d4b70a0f166e4dbbe1f0700908df32c0b0a8f39e1897d0cca7899791"}},{"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":"libnetwork/networkdb/message.go"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd3dc1dbe821a61390f68f23fd6b35d95f9f2120732e58e8fedf1ef2002a64e0"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060hostname, _ := os.Hostname()\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060hostname\u0060 as if the call succeeded. When \u0060os.Hostname\u0060 fails, \u0060hostname\u0060 is its zero value (nil for a pointer, a map or an interface), so the program panics later or goes on with a default it never chose, and nothing records why. Check the error before using \u0060hostname\u0060 (return it, wrapped with what was being done), or, if the failure genuinely cannot matter, say why in a comment on the line."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/networkdb/networkdb.go"},"region":{"startLine":267}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b155d2ae9c2e6ec3a0eff595a6629e70f851fa5c72817ce0c4c2b248a370c20"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (an error-returning call as a bare statement): \u0060d.DeleteNetwork(n.id)\u0060 returns an error, and the statement drops it: when \u0060d.DeleteNetwork\u0060 fails nothing records it and the code after it runs as if it had succeeded. Check it (\u0060if err := d.DeleteNetwork(n.id); err != nil { \u2026 }\u0060) and return or log it with what was being done, or assign it to \u0060_\u0060 with a comment saying why the failure cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/drivers/windows/windows.go"},"region":{"startLine":365}}}],"partialFingerprints":{"codehealthFindingId/v1":"180cceccec1e577d5c0269b7445274fe19fbeffa6c892745b9b61873f0392e68"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (an error-returning call as a bare statement): \u0060ReleasePorts(n.portMapper, portMapping)\u0060 returns an error, and the statement drops it: when \u0060ReleasePorts\u0060 fails nothing records it and the code after it runs as if it had succeeded. Check it (\u0060if err := ReleasePorts(n.portMapper, portMapping); err != nil { \u2026 }\u0060) and return or log it with what was being done, or assign it to \u0060_\u0060 with a comment saying why the failure cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/drivers/windows/windows.go"},"region":{"startLine":647}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed35993f4cf2bce15685474db9ac492cb6451782c1e621f217f0a92907648aee"}},{"ruleId":"X3","level":"warning","message":{"text":"Lost error (the deferred cleanup tests an error the failure never reaches): \u0060outboundNatPolicy, err := json.Marshal(hcsshim.OutboundNatPolicy{\u0060 declares a NEW \u0060err\u0060 in an inner scope, and the failure it carries leaves through a \u0060return\u0060 \u2014 but the deferred cleanup tests the outer \u0060err\u0060, which stays nil, so the cleanup (a rollback, a removal) never runs on that failure. Assign the outer variable (\u0060=\u0060), or name the function\u0027s error result \u0060err\u0060 so \u0060return\u0060 sets what the deferred function reads."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/drivers/windows/windows.go"},"region":{"startLine":684}}}],"partialFingerprints":{"codehealthFindingId/v1":"299c734dfb6d91831516883e5dd61a87787c4087e0a9453f4ee163322168e021"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (an error-returning call as a bare statement): \u0060ifInfo.SetIPAddress(endpoint.addr)\u0060 returns an error, and the statement drops it: when \u0060ifInfo.SetIPAddress\u0060 fails nothing records it and the code after it runs as if it had succeeded. Check it (\u0060if err := ifInfo.SetIPAddress(endpoint.addr); err != nil { \u2026 }\u0060) and return or log it with what was being done, or assign it to \u0060_\u0060 with a comment saying why the failure cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/drivers/windows/windows.go"},"region":{"startLine":737}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0af337737f98bb242dd2bbd7ba65bdbfc71ce7e82a4dd559eebe82d2b70ea1f"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (an error-returning call as a bare statement): \u0060ifInfo.SetMacAddress(endpoint.macAddress)\u0060 returns an error, and the statement drops it: when \u0060ifInfo.SetMacAddress\u0060 fails nothing records it and the code after it runs as if it had succeeded. Check it (\u0060if err := ifInfo.SetMacAddress(endpoint.macAddress); err != nil { \u2026 }\u0060) and return or log it with what was being done, or assign it to \u0060_\u0060 with a comment saying why the failure cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/drivers/windows/windows.go"},"region":{"startLine":741}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ed8167ef13116d26eb2a49de337a2c227e3014ef364b1739bf1b599ef1f927b"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (an error-returning call as a bare statement): \u0060ReleasePorts(n.portMapper, ep.portMapping)\u0060 returns an error, and the statement drops it: when \u0060ReleasePorts\u0060 fails nothing records it and the code after it runs as if it had succeeded. Check it (\u0060if err := ReleasePorts(n.portMapper, ep.portMapping); err != nil { \u2026 }\u0060) and return or log it with what was being done, or assign it to \u0060_\u0060 with a comment saying why the failure cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/drivers/windows/windows.go"},"region":{"startLine":763}}}],"partialFingerprints":{"codehealthFindingId/v1":"13d7544f647118c5a0a2b8d93bb09a2cace05356d61b62c6b7080e85c86498a1"}},{"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":"libnetwork/drivers/windows/windows_store.go"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"931ce1ba5bb034c1deda2854d30870f47443de0f8ceec88280b050f713a70586"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060d, _ := json.Marshal(epMap[\u0022epOption\u0022])\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060d\u0060 as if the call succeeded. When \u0060json.Marshal\u0060 fails, \u0060d\u0060 is its zero value (nil for a pointer, a map or an interface), so the program panics later or goes on with a default it never chose, and nothing records why. Check the error before using \u0060d\u0060 (return it, wrapped with what was being done), or, if the failure genuinely cannot matter, say why in a comment on the line."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/drivers/windows/windows_store.go"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1a22da2d400cce09584e91a59f5f85a11d782cb145a16ff4bd7e62023c59b08"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060d, _ = json.Marshal(epMap[\u0022epConnectivity\u0022])\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060d\u0060 as if the call succeeded. When \u0060json.Marshal\u0060 fails, \u0060d\u0060 is its zero value (nil for a pointer, a map or an interface), so the program panics later or goes on with a default it never chose, and nothing records why. Check the error before using \u0060d\u0060 (return it, wrapped with what was being done), or, if the failure genuinely cannot matter, say why in a comment on the line."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/drivers/windows/windows_store.go"},"region":{"startLine":273}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f3163b752f5f87f7784fc35e419ec1bab0f9c30def8e89418220a0a4177152a"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060d, _ = json.Marshal(epMap[\u0022PortMapping\u0022])\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060d\u0060 as if the call succeeded. When \u0060json.Marshal\u0060 fails, \u0060d\u0060 is its zero value (nil for a pointer, a map or an interface), so the program panics later or goes on with a default it never chose, and nothing records why. Check the error before using \u0060d\u0060 (return it, wrapped with what was being done), or, if the failure genuinely cannot matter, say why in a comment on the line."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/drivers/windows/windows_store.go"},"region":{"startLine":277}}}],"partialFingerprints":{"codehealthFindingId/v1":"716f3a4fdd01e27b1af766cfb54146c3a3422f6d0644e1693982d14f17788c87"}},{"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":"libnetwork/drivers/windows/windows_store.go"},"region":{"startLine":295}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bf3616d29520e805993a67e4d85b36891a52eb9062c01c118aad58036267642"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (an error-returning call as a bare statement): \u0060windows.ReleasePorts(n.portMapper, ep.portMapping)\u0060 returns an error, and the statement drops it: when \u0060windows.ReleasePorts\u0060 fails nothing records it and the code after it runs as if it had succeeded. Check it (\u0060if err := windows.ReleasePorts(n.portMapper, ep.portMapping); err != nil { \u2026 }\u0060) and return or log it with what was being done, or assign it to \u0060_\u0060 with a comment saying why the failure cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/drivers/windows/overlay/ov_endpoint_windows.go"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b933b07e601259c40a661b8d0460ee0ff3f86bcc0b813d1ba45d4b2817ecaf5"}},{"ruleId":"X3","level":"warning","message":{"text":"Lost error (the deferred cleanup tests an error the failure never reaches): \u0060if err := ifInfo.SetMacAddress(ep.mac); err != nil {\u0060 declares a NEW \u0060err\u0060 in an inner scope, and the failure it carries leaves through a \u0060return\u0060 \u2014 but the deferred cleanup tests the outer \u0060err\u0060, which stays nil, so the cleanup (a rollback, a removal) never runs on that failure. Assign the outer variable (\u0060=\u0060), or name the function\u0027s error result \u0060err\u0060 so \u0060return\u0060 sets what the deferred function reads."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/drivers/windows/overlay/ov_endpoint_windows.go"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"2709ca1c09a145bbaa59d29bf32433c2f386c36da0f78c13e23cc31479c17299"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (an error-returning call as a bare statement): \u0060windows.ReleasePorts(n.portMapper, ep.portMapping)\u0060 returns an error, and the statement drops it: when \u0060windows.ReleasePorts\u0060 fails nothing records it and the code after it runs as if it had succeeded. Check it (\u0060if err := windows.ReleasePorts(n.portMapper, ep.portMapping); err != nil { \u2026 }\u0060) and return or log it with what was being done, or assign it to \u0060_\u0060 with a comment saying why the failure cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/drivers/windows/overlay/ov_endpoint_windows.go"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"206a6e145a2b1312672b86a7e605ebe418bc862ceba0c5b3179b437206951829"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (an error-returning call as a bare statement): \u0060d.DeleteNetwork(staleNetwork)\u0060 returns an error, and the statement drops it: when \u0060d.DeleteNetwork\u0060 fails nothing records it and the code after it runs as if it had succeeded. Check it (\u0060if err := d.DeleteNetwork(staleNetwork); err != nil { \u2026 }\u0060) and return or log it with what was being done, or assign it to \u0060_\u0060 with a comment saying why the failure cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/drivers/windows/overlay/ov_network_windows.go"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"56df7633c719ab154a4540f20998be798e598424096693b92c996c5ae54c6497"}},{"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":"libnetwork/drivers/windows/overlay/ov_network_windows.go"},"region":{"startLine":274}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c32df608cd20b8c57b3e5e8063ea9211fa3d6e671d58bc51ac51670a8419ca9"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (an error-returning call as a bare statement): \u0060d.restoreHNSNetworks()\u0060 returns an error, and the statement drops it: when \u0060d.restoreHNSNetworks\u0060 fails nothing records it and the code after it runs as if it had succeeded. Check it (\u0060if err := d.restoreHNSNetworks(); err != nil { \u2026 }\u0060) and return or log it with what was being done, or assign it to \u0060_\u0060 with a comment saying why the failure cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/drivers/windows/overlay/overlay_windows.go"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"eede5c45f791f4f27b5ca617b095473d8e3309da02cbdd9536330300ffdc61bd"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060val1Int, _ := strconv.ParseInt(val1, 10, 32)\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060val1Int\u0060 as if the call succeeded. When \u0060strconv.ParseInt\u0060 fails, \u0060val1Int\u0060 is its zero value (nil for a pointer, a map or an interface), so the program panics later or goes on with a default it never chose, and nothing records why. Check the error before using \u0060val1Int\u0060 (return it, wrapped with what was being done), or, if the failure genuinely cannot matter, say why in a comment on the line."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/drivers/overlay/ostweaks_linux.go"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fbfc4b8cc1b103cf6d4363032d8c7b3463f54770c5f7f857ba00290ac591891"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060val2Int, _ := strconv.ParseInt(val2, 10, 32)\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060val2Int\u0060 as if the call succeeded. When \u0060strconv.ParseInt\u0060 fails, \u0060val2Int\u0060 is its zero value (nil for a pointer, a map or an interface), so the program panics later or goes on with a default it never chose, and nothing records why. Check the error before using \u0060val2Int\u0060 (return it, wrapped with what was being done), or, if the failure genuinely cannot matter, say why in a comment on the line."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/drivers/overlay/ostweaks_linux.go"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed8985f1726408f927c3f2f90bc8c3b3f20e31c99ae86a6d6c279e728b008fee"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (an error-returning call as a bare statement): \u0060d.programMangle(vni, false)\u0060 returns an error, and the statement drops it: when \u0060d.programMangle\u0060 fails nothing records it and the code after it runs as if it had succeeded. Check it (\u0060if err := d.programMangle(vni, false); err != nil { \u2026 }\u0060) and return or log it with what was being done, or assign it to \u0060_\u0060 with a comment saying why the failure cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/drivers/overlay/ov_network.go"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0231b654371ea651f09943f994813996beeb6d1c2fe3b3404b603374c86865c"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (an error-returning call as a bare statement): \u0060d.programInput(vni, false)\u0060 returns an error, and the statement drops it: when \u0060d.programInput\u0060 fails nothing records it and the code after it runs as if it had succeeded. Check it (\u0060if err := d.programInput(vni, false); err != nil { \u2026 }\u0060) and return or log it with what was being done, or assign it to \u0060_\u0060 with a comment saying why the failure cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/drivers/overlay/ov_network.go"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"3df5611aa76701e198d17e0e1ab71efe7b71a9fb92f9a7ba5363b28948bbb552"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (an error-returning call as a bare statement): \u0060n.sbox.Destroy()\u0060 returns an error, and the statement drops it: when \u0060n.sbox.Destroy\u0060 fails nothing records it and the code after it runs as if it had succeeded. Check it (\u0060if err := n.sbox.Destroy(); err != nil { \u2026 }\u0060) and return or log it with what was being done, or assign it to \u0060_\u0060 with a comment saying why the failure cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/drivers/overlay/ov_network.go"},"region":{"startLine":352}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf44a3ec0607fc7195d8ec2093f8ca14f209ab6ce0bead39b47869a47b7149ff"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (an error-returning call as a bare statement): \u0060deleteVxlanByVNI(path, s.vni)\u0060 returns an error, and the statement drops it: when \u0060deleteVxlanByVNI\u0060 fails nothing records it and the code after it runs as if it had succeeded. Check it (\u0060if err := deleteVxlanByVNI(path, s.vni); err != nil { \u2026 }\u0060) and return or log it with what was being done, or assign it to \u0060_\u0060 with a comment saying why the failure cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/drivers/overlay/ov_network.go"},"region":{"startLine":436}}}],"partialFingerprints":{"codehealthFindingId/v1":"edb32dcd4ac04f996c94a29c6f9470294412d10120b2d86b5e6bd1e623b0ca6d"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060advAddr, _ := netip.ParseAddr(data.Address)\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060advAddr\u0060 as if the call succeeded. When \u0060netip.ParseAddr\u0060 fails, \u0060advAddr\u0060 is its zero value (nil for a pointer, a map or an interface), so the program panics later or goes on with a default it never chose, and nothing records why. Check the error before using \u0060advAddr\u0060 (return it, wrapped with what was being done), or, if the failure genuinely cannot matter, say why in a comment on the line."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/drivers/overlay/overlay.go"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a788f9c46623e283495c6ec19f5676ba78749eda3195655f6ad33b191180b4d"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060bindAddr, _ := netip.ParseAddr(data.BindAddress)\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060bindAddr\u0060 as if the call succeeded. When \u0060netip.ParseAddr\u0060 fails, \u0060bindAddr\u0060 is its zero value (nil for a pointer, a map or an interface), so the program panics later or goes on with a default it never chose, and nothing records why. Check the error before using \u0060bindAddr\u0060 (return it, wrapped with what was being done), or, if the failure genuinely cannot matter, say why in a comment on the line."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/drivers/overlay/overlay.go"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3488999589c82cdc522a92fa8c94d66cf7c3851aad5fdc5fa59be1742673bfa"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (an error-returning call as a bare statement): \u0060n.driver.vxlanIdm.Unset(uint64(s.vni))\u0060 returns an error, and the statement drops it: when \u0060n.driver.vxlanIdm.Unset\u0060 fails nothing records it and the code after it runs as if it had succeeded. Check it (\u0060if err := n.driver.vxlanIdm.Unset(uint64(s.vni)); err != nil { \u2026 }\u0060) and return or log it with what was being done, or assign it to \u0060_\u0060 with a comment saying why the failure cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/drivers/overlay/ovmanager/ovmanager.go"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"a18a1c2d4c46a86131192f6bae75e3a9081ced8c3645906477688345e92cb342"}},{"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":"libnetwork/drivers/macvlan/macvlan_joinleave.go"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"28621468f9f1e911a1cd8d5b353b5fd0a11d261f6920a9c04ec9dadfe8e857c2"}},{"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":"libnetwork/drivers/macvlan/macvlan_store.go"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"abae247ae6e269a86f30af42c3dab39be193105b3ee1aec9c58e4deeb50a4f7d"}},{"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":"libnetwork/drivers/macvlan/macvlan_store.go"},"region":{"startLine":313}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea61cca83c5e5fe59217ea38338930f4295d1f21fd9427b905dda3ae71dd2149"}},{"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":"libnetwork/drivers/ipvlan/ipvlan_joinleave.go"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"253afaf19e91b5ede4ee29b56feb5d0a7bb877a045756f4ac7c4d4d9f8f5d1ca"}},{"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":"libnetwork/drivers/ipvlan/ipvlan_store.go"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"daae884e4877aec95bcb2e03a0500fb2e62d65c668290bf01a06f3a85f7106b1"}},{"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":"libnetwork/drivers/ipvlan/ipvlan_store.go"},"region":{"startLine":319}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bfbe51f2ce7cad25de8ff651a44022265b63e94d207a05e849f966a90f17ca5"}},{"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":"libnetwork/drivers/bridge/bridge_linux.go"},"region":{"startLine":1407}}}],"partialFingerprints":{"codehealthFindingId/v1":"c679ce7f95f5173c5b56949a16b26e861d425bd8db1ced667cc687521fc24579"}},{"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":"libnetwork/drivers/bridge/bridge_store.go"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c93010a76c43e1a596cea9c54c8ba386057974981c6157a7e38804ebb6d4420"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060d, _ := json.Marshal(epMap[\u0022Config\u0022])\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060d\u0060 as if the call succeeded. When \u0060json.Marshal\u0060 fails, \u0060d\u0060 is its zero value (nil for a pointer, a map or an interface), so the program panics later or goes on with a default it never chose, and nothing records why. Check the error before using \u0060d\u0060 (return it, wrapped with what was being done), or, if the failure genuinely cannot matter, say why in a comment on the line."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/drivers/bridge/bridge_store.go"},"region":{"startLine":319}}}],"partialFingerprints":{"codehealthFindingId/v1":"61f25bc7ee3abdb100455e656d4897df860860ad6b803ed3dd981db8c98147cb"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060d, _ = json.Marshal(epMap[\u0022ContainerConfig\u0022])\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060d\u0060 as if the call succeeded. When \u0060json.Marshal\u0060 fails, \u0060d\u0060 is its zero value (nil for a pointer, a map or an interface), so the program panics later or goes on with a default it never chose, and nothing records why. Check the error before using \u0060d\u0060 (return it, wrapped with what was being done), or, if the failure genuinely cannot matter, say why in a comment on the line."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/drivers/bridge/bridge_store.go"},"region":{"startLine":323}}}],"partialFingerprints":{"codehealthFindingId/v1":"20ee2848d05a6988d0a217e7b4b240762fbb1c735216121e88374e43e0c80e97"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060d, _ = json.Marshal(epMap[\u0022ExternalConnConfig\u0022])\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060d\u0060 as if the call succeeded. When \u0060json.Marshal\u0060 fails, \u0060d\u0060 is its zero value (nil for a pointer, a map or an interface), so the program panics later or goes on with a default it never chose, and nothing records why. Check the error before using \u0060d\u0060 (return it, wrapped with what was being done), or, if the failure genuinely cannot matter, say why in a comment on the line."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/drivers/bridge/bridge_store.go"},"region":{"startLine":327}}}],"partialFingerprints":{"codehealthFindingId/v1":"acb13fe74d511f93c99ff1ad2fbf5952695dcccdc0cedb00a8311a80479d6c9e"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060d, _ = json.Marshal(epMap[\u0022PortMapping\u0022])\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060d\u0060 as if the call succeeded. When \u0060json.Marshal\u0060 fails, \u0060d\u0060 is its zero value (nil for a pointer, a map or an interface), so the program panics later or goes on with a default it never chose, and nothing records why. Check the error before using \u0060d\u0060 (return it, wrapped with what was being done), or, if the failure genuinely cannot matter, say why in a comment on the line."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/drivers/bridge/bridge_store.go"},"region":{"startLine":331}}}],"partialFingerprints":{"codehealthFindingId/v1":"0423576abea54aec288e62073752aae6d144f89eded320a82b7ad5b961c1be9b"}},{"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":"libnetwork/drivers/bridge/bridge_store.go"},"region":{"startLine":349}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b80cc745bf70bf1d6339d19c259798a9db16c754c9adda11e3ebc47892a1da1"}},{"ruleId":"X3","level":"warning","message":{"text":"Lost error (reports an error that is nil on this path): \u0060if retErr != nil\u0060 handles a failure of \u0060retErr\u0060 but reports \u0060err\u0060, which the earlier \u0060if err != nil { return \u2026 }\u0060 already proved nil here: the real failure is lost and a nil error is reported (or returned as success) in its place. Report \u0060retErr\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/drivers/bridge/setup_ip_tables_linux.go"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7a75309d483da1d8e58204ce8b96fe328fbdc73019edda1dc453443e59dd1cf"}},{"ruleId":"X3","level":"warning","message":{"text":"Lost error (reports an error that is nil on this path): \u0060if retErr != nil\u0060 handles a failure of \u0060retErr\u0060 but reports \u0060err\u0060, which the earlier \u0060if err != nil { return \u2026 }\u0060 already proved nil here: the real failure is lost and a nil error is reported (or returned as success) in its place. Report \u0060retErr\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/drivers/bridge/setup_ip_tables_linux.go"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f3f2a8aedbf159f5b6e323ac90db66368805774f85dbca6c3be02b092941e91"}},{"ruleId":"X3","level":"warning","message":{"text":"Lost error (reports an error that is nil on this path): \u0060if retErr != nil\u0060 handles a failure of \u0060retErr\u0060 but reports \u0060err\u0060, which the earlier \u0060if err != nil { return \u2026 }\u0060 already proved nil here: the real failure is lost and a nil error is reported (or returned as success) in its place. Report \u0060retErr\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/drivers/bridge/setup_ip_tables_linux.go"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"b506f241e600e6667e48511dacb612743eaf39ee7ff9a6b62fcabc4219399c38"}},{"ruleId":"X3","level":"warning","message":{"text":"Lost error (reports an error that is nil on this path): \u0060if retErr != nil\u0060 handles a failure of \u0060retErr\u0060 but reports \u0060err\u0060, which the earlier \u0060if err != nil { return \u2026 }\u0060 already proved nil here: the real failure is lost and a nil error is reported (or returned as success) in its place. Report \u0060retErr\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/drivers/bridge/setup_ip_tables_linux.go"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"b34ada00484a28ec2f3b2f9ba6c6b33876b70105f7ab79c0918a40076d7e2fce"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (an error-returning call as a bare statement): \u0060acceptRule.Delete()\u0060 returns an error, and the statement drops it: when \u0060acceptRule.Delete\u0060 fails nothing records it and the code after it runs as if it had succeeded. Check it (\u0060if err := acceptRule.Delete(); err != nil { \u2026 }\u0060) and return or log it with what was being done, or assign it to \u0060_\u0060 with a comment saying why the failure cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/drivers/bridge/setup_ip_tables_linux.go"},"region":{"startLine":330}}}],"partialFingerprints":{"codehealthFindingId/v1":"edbc66aa3e2b59b8c1b4a5af97eaf524c331942f66fc7f15cc3527c45effae81"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (an error-returning call as a bare statement): \u0060dropRule.Delete()\u0060 returns an error, and the statement drops it: when \u0060dropRule.Delete\u0060 fails nothing records it and the code after it runs as if it had succeeded. Check it (\u0060if err := dropRule.Delete(); err != nil { \u2026 }\u0060) and return or log it with what was being done, or assign it to \u0060_\u0060 with a comment saying why the failure cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/drivers/bridge/setup_ip_tables_linux.go"},"region":{"startLine":335}}}],"partialFingerprints":{"codehealthFindingId/v1":"bff6d025b50916658e5ee6b85b7055916515f1ee9e3dc42f0210afcb19d1ebe0"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (an error-returning call as a bare statement): \u0060dropRule.Delete()\u0060 returns an error, and the statement drops it: when \u0060dropRule.Delete\u0060 fails nothing records it and the code after it runs as if it had succeeded. Check it (\u0060if err := dropRule.Delete(); err != nil { \u2026 }\u0060) and return or log it with what was being done, or assign it to \u0060_\u0060 with a comment saying why the failure cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/drivers/bridge/setup_ip_tables_linux.go"},"region":{"startLine":343}}}],"partialFingerprints":{"codehealthFindingId/v1":"c95f88ec0a9005ca599ccd4113a6df8f5c1081cc4dc1f80665d2272dd77e5a62"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (an error-returning call as a bare statement): \u0060acceptRule.Delete()\u0060 returns an error, and the statement drops it: when \u0060acceptRule.Delete\u0060 fails nothing records it and the code after it runs as if it had succeeded. Check it (\u0060if err := acceptRule.Delete(); err != nil { \u2026 }\u0060) and return or log it with what was being done, or assign it to \u0060_\u0060 with a comment saying why the failure cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/drivers/bridge/setup_ip_tables_linux.go"},"region":{"startLine":345}}}],"partialFingerprints":{"codehealthFindingId/v1":"4833aae9745e68d54b29bb36efa2ae26d69599cee6510ab06bb353099fa5db5c"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (an error-returning call as a bare statement): \u0060iptables.DeleteConntrackEntries(nlh, ipv4List, ipv6List)\u0060 returns an error, and the statement drops it: when \u0060iptables.DeleteConntrackEntries\u0060 fails nothing records it and the code after it runs as if it had succeeded. Check it (\u0060if err := iptables.DeleteConntrackEntries(nlh, ipv4List, ipv6List); err != nil { \u2026 }\u0060) and return or log it with what was being done, or assign it to \u0060_\u0060 with a comment saying why the failure cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/drivers/bridge/setup_ip_tables_linux.go"},"region":{"startLine":496}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9481430905aa3e5b96ce263bfb69e53ded36765f713563a734f80a9b162e768"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (an error-returning call as a bare statement): \u0060iptables.DeleteConntrackEntriesByPort(nlh, types.UDP, udpPorts)\u0060 returns an error, and the statement drops it: when \u0060iptables.DeleteConntrackEntriesByPort\u0060 fails nothing records it and the code after it runs as if it had succeeded. Check it (\u0060if err := iptables.DeleteConntrackEntriesByPort(nlh, types.UDP, udpPorts); err != nil { \u2026 }\u0060) and return or log it with what was being done, or assign it to \u0060_\u0060 with a comment saying why the failure cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/drivers/bridge/setup_ip_tables_linux.go"},"region":{"startLine":497}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c5d2702ba8773e86949f425eda4062debc96dc98f7735a4a3e0f822569f921d"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060addrv4, _ := selectIPv4Address(addrv4List, config.AddressIPv4)\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060addrv4\u0060 as if the call succeeded. When \u0060selectIPv4Address\u0060 fails, \u0060addrv4\u0060 is its zero value (nil for a pointer, a map or an interface), so the program panics later or goes on with a default it never chose, and nothing records why. Check the error before using \u0060addrv4\u0060 (return it, wrapped with what was being done), or, if the failure genuinely cannot matter, say why in a comment on the line."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/drivers/bridge/setup_ipv4_linux.go"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"07c67cb36a2adfebe07d16e207e78bf78d35c807f2401eb34c134b800da2dbb0"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060addrv4, _ := selectIPv4Address(addrsv4, config.AddressIPv4)\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060addrv4\u0060 as if the call succeeded. When \u0060selectIPv4Address\u0060 fails, \u0060addrv4\u0060 is its zero value (nil for a pointer, a map or an interface), so the program panics later or goes on with a default it never chose, and nothing records why. Check the error before using \u0060addrv4\u0060 (return it, wrapped with what was being done), or, if the failure genuinely cannot matter, say why in a comment on the line."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/drivers/bridge/setup_verify_linux.go"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"d99c307aad5f2e690e94b87108295d7bb8cb9457ce20adc0a08fca6a89245b48"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060b, _ := json.Marshal(v)\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060b\u0060 as if the call succeeded. When \u0060json.Marshal\u0060 fails, \u0060b\u0060 is its zero value (nil for a pointer, a map or an interface), so the program panics later or goes on with a default it never chose, and nothing records why. Check the error before using \u0060b\u0060 (return it, wrapped with what was being done), or, if the failure genuinely cannot matter, say why in a comment on the line."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/driverapi/ipamdata.go"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"af52e4b0910fa84857c7ddbd56af8f85600ea5c991527094ec4bb04c89bc7e3e"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (an error-returning call as a bare statement): \u0060na.freePools(n, nw.pools)\u0060 returns an error, and the statement drops it: when \u0060na.freePools\u0060 fails nothing records it and the code after it runs as if it had succeeded. Check it (\u0060if err := na.freePools(n, nw.pools); err != nil { \u2026 }\u0060) and return or log it with what was being done, or assign it to \u0060_\u0060 with a comment saying why the failure cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/cnmallocator/networkallocator.go"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"365995e7634ac2edd63f06fa5b6af5e97c0baf755455a4855da926d8e56de527"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (an error-returning call as a bare statement): \u0060na.DeallocateService(s)\u0060 returns an error, and the statement drops it: when \u0060na.DeallocateService\u0060 fails nothing records it and the code after it runs as if it had succeeded. Check it (\u0060if err := na.DeallocateService(s); err != nil { \u2026 }\u0060) and return or log it with what was being done, or assign it to \u0060_\u0060 with a comment saying why the failure cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libnetwork/cnmallocator/networkallocator.go"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad6a040a84788ed8cbfc6bfe1da4d160ce45920a30641e31603df698073614b4"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err := h.validateOrdinal(ordinal); 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":"libnetwork/bitmap/sequence.go"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"88fb150853bad7bfdc07240dba212ef658035e4f1227836fd03963df2c83ff31"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (an error-returning call as a bare statement): \u0060dc.Close()\u0060 returns an error, and the statement drops it: when \u0060dc.Close\u0060 fails nothing records it and the code after it runs as if it had succeeded. Check it (\u0060if err := dc.Close(); err != nil { \u2026 }\u0060) and return or log it with what was being done, or assign it to \u0060_\u0060 with a comment saying why the failure cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libcontainerd/remote/client_io_windows.go"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e16e263c15792dacea95f8aedb40fd1a047644b94e47328ade18565275535ea"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (an error-returning call as a bare statement): \u0060dc.Close()\u0060 returns an error, and the statement drops it: when \u0060dc.Close\u0060 fails nothing records it and the code after it runs as if it had succeeded. Check it (\u0060if err := dc.Close(); err != nil { \u2026 }\u0060) and return or log it with what was being done, or assign it to \u0060_\u0060 with a comment saying why the failure cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libcontainerd/remote/client_io_windows.go"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4702e427a8014cd3bf41f1be06c93656063d2e8550c08c5ec704cacba03e6ea"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (an error-returning call as a bare statement): \u0060dc.Close()\u0060 returns an error, and the statement drops it: when \u0060dc.Close\u0060 fails nothing records it and the code after it runs as if it had succeeded. Check it (\u0060if err := dc.Close(); err != nil { \u2026 }\u0060) and return or log it with what was being done, or assign it to \u0060_\u0060 with a comment saying why the failure cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libcontainerd/remote/client_io_windows.go"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"517b1dec4725e98ae7b6e65a1005fdb67e4f0009bf69e617a3dade9128f27842"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (an error-returning call as a bare statement): \u0060dc.Close()\u0060 returns an error, and the statement drops it: when \u0060dc.Close\u0060 fails nothing records it and the code after it runs as if it had succeeded. Check it (\u0060if err := dc.Close(); err != nil { \u2026 }\u0060) and return or log it with what was being done, or assign it to \u0060_\u0060 with a comment saying why the failure cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libcontainerd/remote/client_io_windows.go"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b89dd5c35968914b8e6552a70076af85a59cb8007478150732f7404671b0663"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (an error-returning call as a bare statement): \u0060dc.Close()\u0060 returns an error, and the statement drops it: when \u0060dc.Close\u0060 fails nothing records it and the code after it runs as if it had succeeded. Check it (\u0060if err := dc.Close(); err != nil { \u2026 }\u0060) and return or log it with what was being done, or assign it to \u0060_\u0060 with a comment saying why the failure cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libcontainerd/remote/client_io_windows.go"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"e492487e60df6acd77bc5bd15e4e1087f0b20f785fc84eabd8f4ac213cd6e50f"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (an error-returning call as a bare statement): \u0060dc.Close()\u0060 returns an error, and the statement drops it: when \u0060dc.Close\u0060 fails nothing records it and the code after it runs as if it had succeeded. Check it (\u0060if err := dc.Close(); err != nil { \u2026 }\u0060) and return or log it with what was being done, or assign it to \u0060_\u0060 with a comment saying why the failure cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libcontainerd/remote/client_io_windows.go"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"917c4dd0a681beed890b6122eb1b19a1652eabc9bb1eedbe9b35d66f5e8955d1"}},{"ruleId":"X3","level":"warning","message":{"text":"Lost error (reports an error that is nil on this path): \u0060if retErr != nil\u0060 handles a failure of \u0060retErr\u0060 but reports \u0060err\u0060, which the earlier \u0060if err != nil { return \u2026 }\u0060 already proved nil here: the real failure is lost and a nil error is reported (or returned as success) in its place. Report \u0060retErr\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libcontainerd/local/local_windows.go"},"region":{"startLine":449}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e350dfd40dfd0313e10de4d81d2dfe6b0394d49f4fc8a15f24d082bb1bc902c"}},{"ruleId":"X3","level":"warning","message":{"text":"Lost error (reports an error that is nil on this path): \u0060if retErr != nil\u0060 handles a failure of \u0060retErr\u0060 but reports \u0060err\u0060, which the earlier \u0060if err != nil { return \u2026 }\u0060 already proved nil here: the real failure is lost and a nil error is reported (or returned as success) in its place. Report \u0060retErr\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libcontainerd/local/local_windows.go"},"region":{"startLine":617}}}],"partialFingerprints":{"codehealthFindingId/v1":"26547f4262355785c03d98ce58b6312c1a2d791104e2b6964df04c8cb819ad3f"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (an error-returning call as a bare statement): \u0060ls.driver.Put(initID)\u0060 returns an error, and the statement drops it: when \u0060ls.driver.Put\u0060 fails nothing records it and the code after it runs as if it had succeeded. Check it (\u0060if err := ls.driver.Put(initID); err != nil { \u2026 }\u0060) and return or log it with what was being done, or assign it to \u0060_\u0060 with a comment saying why the failure cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"layer/layer_store.go"},"region":{"startLine":715}}}],"partialFingerprints":{"codehealthFindingId/v1":"363cb3721b49c505c3597107bea6c409c60bff5243cdbeb9135447bb8f08b24b"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err := unix.Setns(fd, 0); 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":"internal/unshare/unshare_linux.go"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"5943e814eb9b724689dbfa1ef6e61edc395753b8b8f92bd2a618e41dcfd448a8"}},{"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":"internal/testutils/networking/iptables.go"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"9391daa308458e910d99567f54f9aebe75e18d4ce501f96c7d5ee84fcc287cf6"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060mounted, _ := mountinfo.Mounted(path)\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060mounted\u0060 as if the call succeeded. When \u0060mountinfo.Mounted\u0060 fails, \u0060mounted\u0060 is its zero value (nil for a pointer, a map or an interface), so the program panics later or goes on with a default it never chose, and nothing records why. Check the error before using \u0060mounted\u0060 (return it, wrapped with what was being done), or, if the failure genuinely cannot matter, say why in a comment on the line."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/mounttree/switchroot_linux.go"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"0772db70d391c8755743a7cfa149c252c9997595aa52f8668b11cd1108ddd843"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (an error-returning call as a bare statement): \u0060h.Print(b)\u0060 returns an error, and the statement drops it: when \u0060h.Print\u0060 fails nothing records it and the code after it runs as if it had succeeded. Check it (\u0060if err := h.Print(b); err != nil { \u2026 }\u0060) and return or log it with what was being done, or assign it to \u0060_\u0060 with a comment saying why the failure cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"integration/internal/termtest/stripansi.go"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"1df9a76a6b2d76ae4e2e65aadb1e8029c88b6629ca6e5a67e6638819c8be5157"}},{"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":"integration/internal/requirement/requirement_linux.go"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"d62211fbd173b00a947b3728aa00396a815e9158a4a7d4408541b1ea5b865a44"}},{"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":"image/store.go"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"8dae9028e4c3c05b92592ed4c52f3dfa48b53ae5d813030f5f26bd38c655f9d3"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (an error-returning call as a bare statement): \u0060is.fs.DeleteMetadata(cID.Digest(), \u0022parent\u0022)\u0060 returns an error, and the statement drops it: when \u0060is.fs.DeleteMetadata\u0060 fails nothing records it and the code after it runs as if it had succeeded. Check it (\u0060if err := is.fs.DeleteMetadata(cID.Digest(), \u0022parent\u0022); err != nil { \u2026 }\u0060) and return or log it with what was being done, or assign it to \u0060_\u0060 with a comment saying why the failure cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"image/store.go"},"region":{"startLine":288}}}],"partialFingerprints":{"codehealthFindingId/v1":"e438b27e2c0061c4b1df97c7bbfbac949550abe1a48accd282fe308103fc5c7b"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (an error-returning call as a bare statement): \u0060is.fs.Delete(id.Digest())\u0060 returns an error, and the statement drops it: when \u0060is.fs.Delete\u0060 fails nothing records it and the code after it runs as if it had succeeded. Check it (\u0060if err := is.fs.Delete(id.Digest()); err != nil { \u2026 }\u0060) and return or log it with what was being done, or assign it to \u0060_\u0060 with a comment saying why the failure cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"image/store.go"},"region":{"startLine":298}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf4a77a49bbfbb7f6be9e33823c2cd7586091f74872e4145c7b8cf676cf7b2ce"}},{"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":"image/v1/imagev1.go"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff36a3d8c7f2193a78e9417e704cbe3d2523fa759b091564f7224fc95847a1d9"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (an error-returning call as a bare statement): \u0060l.setLoadedTag(ref, imgID.Digest(), outStream)\u0060 returns an error, and the statement drops it: when \u0060l.setLoadedTag\u0060 fails nothing records it and the code after it runs as if it had succeeded. Check it (\u0060if err := l.setLoadedTag(ref, imgID.Digest(), outStream); err != nil { \u2026 }\u0060) and return or log it with what was being done, or assign it to \u0060_\u0060 with a comment saying why the failure cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"image/tarexport/load.go"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"f981f7444d1fdbef522f87a4f4ae9ae9052bf1203f7d2a413e22600c2a86af86"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (an error-returning call as a bare statement): \u0060l.setLoadedTag(ref, imgID.Digest(), outStream)\u0060 returns an error, and the statement drops it: when \u0060l.setLoadedTag\u0060 fails nothing records it and the code after it runs as if it had succeeded. Check it (\u0060if err := l.setLoadedTag(ref, imgID.Digest(), outStream); err != nil { \u2026 }\u0060) and return or log it with what was being done, or assign it to \u0060_\u0060 with a comment saying why the failure cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"image/tarexport/load.go"},"region":{"startLine":304}}}],"partialFingerprints":{"codehealthFindingId/v1":"7518aeb5abbfe9129c3f91012806bb2a9ad7a1e8736792b64c477622eb6b4539"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (an error-returning call as a bare statement): \u0060l.releaseLayerReferences(imgDescr)\u0060 returns an error, and the statement drops it: when \u0060l.releaseLayerReferences\u0060 fails nothing records it and the code after it runs as if it had succeeded. Check it (\u0060if err := l.releaseLayerReferences(imgDescr); err != nil { \u2026 }\u0060) and return or log it with what was being done, or assign it to \u0060_\u0060 with a comment saying why the failure cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"image/tarexport/save.go"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"65ab2acb92f05edd25106a865f630c2d60d24f444f0bfa1cceace55ae40074b2"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060parentID, _ := s.is.GetParent(id)\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060parentID\u0060 as if the call succeeded. When \u0060s.is.GetParent\u0060 fails, \u0060parentID\u0060 is its zero value (nil for a pointer, a map or an interface), so the program panics later or goes on with a default it never chose, and nothing records why. Check the error before using \u0060parentID\u0060 (return it, wrapped with what was being done), or, if the failure genuinely cannot matter, say why in a comment on the line."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"image/tarexport/save.go"},"region":{"startLine":301}}}],"partialFingerprints":{"codehealthFindingId/v1":"35d6ae32b2f5844a97cf53809675041d6c75ed01c88914ce88cf82bc5b7d6b2f"}},{"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":"image/cache/cache.go"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cefa9e3092e890514cfd5c0bdb8b50c8c5b0e4f0333cf2b456ae9bcb63970f0"}},{"ruleId":"X3","level":"warning","message":{"text":"Lost error (reports an error that is nil on this path): \u0060if err == nil\u0060 reports \u0060err\u0060 on the one path where it is nil, and the path where the call failed goes on without ever reading it: the comparison is inverted. The real failure is lost and a nil error (or a panic on \u0060err.Error()\u0060) is reported in its place. Test \u0060err != nil\u0060 here."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"distribution/push_v2.go"},"region":{"startLine":326}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd0d6b2156d66b747eb4b49ca9dd0ee584070cd3b5e6be25b69f138082dc1ed6"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (an error-returning call as a bare statement): \u0060progressOutput.WriteProgress(lastProgress)\u0060 returns an error, and the statement drops it: when \u0060progressOutput.WriteProgress\u0060 fails nothing records it and the code after it runs as if it had succeeded. Check it (\u0060if err := progressOutput.WriteProgress(lastProgress); err != nil { \u2026 }\u0060) and return or log it with what was being done, or assign it to \u0060_\u0060 with a comment saying why the failure cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"distribution/xfer/transfer.go"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b86f1bfa3e6c4444e8b9d1972a682c0a701019fbdb37fe1060a3c244f35adc3"}},{"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":"distribution/metadata/v2_metadata_service.go"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef3a94ce399bfbfec83f8ff62675dc8e0de87ebda8ab01e0233f23aab9b8a449"}},{"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":"distribution/metadata/v2_metadata_service.go"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b6b9d25a0beaec7cb801a73943797b3774c5cdccca2d4b318aaf7ea0dbabce8"}},{"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":"distribution/metadata/v2_metadata_service.go"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"e62895ff703b5bd847b4e408a6a8d73b0853513c1ca9c1250ec5fc0a158dc966"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (an error-returning call as a bare statement): \u0060daemon.Unmount(container)\u0060 returns an error, and the statement drops it: when \u0060daemon.Unmount\u0060 fails nothing records it and the code after it runs as if it had succeeded. Check it (\u0060if err := daemon.Unmount(container); err != nil { \u2026 }\u0060) and return or log it with what was being done, or assign it to \u0060_\u0060 with a comment saying why the failure cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/archive_windows.go"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ddd16543a1fd6ec0da90c42c2f174c5b169a3f70f5e8238d937131acee5be16"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (an error-returning call as a bare statement): \u0060daemon.Unmount(container)\u0060 returns an error, and the statement drops it: when \u0060daemon.Unmount\u0060 fails nothing records it and the code after it runs as if it had succeeded. Check it (\u0060if err := daemon.Unmount(container); err != nil { \u2026 }\u0060) and return or log it with what was being done, or assign it to \u0060_\u0060 with a comment saying why the failure cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/archive_windows.go"},"region":{"startLine":328}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fc9518c6b12bd12f70306fb2503b3555878e3e5008e6642f496a16d50c2ec6d"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (an error-returning call as a bare statement): \u0060daemon.containerPause(container)\u0060 returns an error, and the statement drops it: when \u0060daemon.containerPause\u0060 fails nothing records it and the code after it runs as if it had succeeded. Check it (\u0060if err := daemon.containerPause(container); err != nil { \u2026 }\u0060) and return or log it with what was being done, or assign it to \u0060_\u0060 with a comment saying why the failure cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/commit.go"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"a423610a370480a73b49657facdbb42fdda7c550da79990e2e49b923fcaefc1e"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060c, _ := daemon.GetContainer(id)\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060c\u0060 as if the call succeeded. When \u0060daemon.GetContainer\u0060 fails, \u0060c\u0060 is its zero value (nil for a pointer, a map or an interface), so the program panics later or goes on with a default it never chose, and nothing records why. Check the error before using \u0060c\u0060 (return it, wrapped with what was being done), or, if the failure genuinely cannot matter, say why in a comment on the line."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/container.go"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"7aa81a751c4e9a88afd9e793c97b7d9406c851e5768173bb29c0423a601c24be"}},{"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":"daemon/container_operations.go"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a8bf372c6a03896cbf34a3974b5b1431d1dee7806555b4dec5f0740c733746d"}},{"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":"daemon/container_operations.go"},"region":{"startLine":292}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bcb17990d1f5421521ac005e2c8c2b2c9637440923ce606b4f753deee17bd0e"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060sb, _ := daemon.netController.GetSandbox(container.ID)\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060sb\u0060 as if the call succeeded. When \u0060daemon.netController.GetSandbox\u0060 fails, \u0060sb\u0060 is its zero value (nil for a pointer, a map or an interface), so the program panics later or goes on with a default it never chose, and nothing records why. Check the error before using \u0060sb\u0060 (return it, wrapped with what was being done), or, if the failure genuinely cannot matter, say why in a comment on the line."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/container_operations.go"},"region":{"startLine":690}}}],"partialFingerprints":{"codehealthFindingId/v1":"613654bfaa689e3f4f7be8bd18aef1cc7d3c9e6f4023ce0b33b9a88baf53ce6b"}},{"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":"daemon/container_operations_windows.go"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"362bd3f3e1c59344cf85f850ed139b3f700ab732f36ddf015a50a12f6750fc3d"}},{"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":"daemon/container_operations_windows.go"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"eea3b4b69fc3ef1bdbd159e11dab7ac6658ed94f68b45175ee68d25ccdce1e54"}},{"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":"daemon/container_operations_windows.go"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"97ca7e41a91a745c8acf798998cdfe287f36141fe94202eba4c7e3dee17c97c7"}},{"ruleId":"X3","level":"warning","message":{"text":"Lost error (reports an error that is nil on this path): \u0060if retErr != nil\u0060 handles a failure of \u0060retErr\u0060 but reports \u0060err\u0060, which the earlier \u0060if err != nil { return \u2026 }\u0060 already proved nil here: the real failure is lost and a nil error is reported (or returned as success) in its place. Report \u0060retErr\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/create.go"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb77a6205347e8cd1bf5e60df4571c108f0a36fd6f25652fc57c2f0f0edab20c"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (an error-returning call as a bare statement): \u0060daemon.cleanupMountsByID(mountid)\u0060 returns an error, and the statement drops it: when \u0060daemon.cleanupMountsByID\u0060 fails nothing records it and the code after it runs as if it had succeeded. Check it (\u0060if err := daemon.cleanupMountsByID(mountid); err != nil { \u2026 }\u0060) and return or log it with what was being done, or assign it to \u0060_\u0060 with a comment saying why the failure cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/daemon.go"},"region":{"startLine":1330}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e0d2a867e905a5ae1badf10855d354ec99876c96c3b68fc3db6a78d9fe93808"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (an error-returning call as a bare statement): \u0060daemon.containerdClient.Close()\u0060 returns an error, and the statement drops it: when \u0060daemon.containerdClient.Close\u0060 fails nothing records it and the code after it runs as if it had succeeded. Check it (\u0060if err := daemon.containerdClient.Close(); err != nil { \u2026 }\u0060) and return or log it with what was being done, or assign it to \u0060_\u0060 with a comment saying why the failure cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/daemon.go"},"region":{"startLine":1359}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e9804ac22ac5d5fb4b4cf72cd0f3abdfecf3b6edb6d0e3e4e63ce24d831a16b"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if _, err := os.Stat(unmountFile); 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":"daemon/daemon_linux.go"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"f68165a7c40977fa157da09dae1ef94e86a31c0bf7c4faaf8b774b93e45eef29"}},{"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":"daemon/daemon_unix.go"},"region":{"startLine":639}}}],"partialFingerprints":{"codehealthFindingId/v1":"08ae13be42b6d61beabf81ad2b779400008306ea2691a1b9295bd4ac5ba41fc6"}},{"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":"daemon/daemon_unix.go"},"region":{"startLine":1276}}}],"partialFingerprints":{"codehealthFindingId/v1":"09e24603a7aca5757ad65316f56f8e00f51f1d1ee3b91fa28290208b32f95f9c"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (an error-returning call as a bare statement): \u0060n.Delete()\u0060 returns an error, and the statement drops it: when \u0060n.Delete\u0060 fails nothing records it and the code after it runs as if it had succeeded. Check it (\u0060if err := n.Delete(); err != nil { \u2026 }\u0060) and return or log it with what was being done, or assign it to \u0060_\u0060 with a comment saying why the failure cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/daemon_windows.go"},"region":{"startLine":354}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9540f38da4cdde698a9c4b09751dc332cde7528949864bb456f4704810f2195"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060ev, _ := windows.UTF16PtrFromString(event)\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060ev\u0060 as if the call succeeded. When \u0060windows.UTF16PtrFromString\u0060 fails, \u0060ev\u0060 is its zero value (nil for a pointer, a map or an interface), so the program panics later or goes on with a default it never chose, and nothing records why. Check the error before using \u0060ev\u0060 (return it, wrapped with what was being done), or, if the failure genuinely cannot matter, say why in a comment on the line."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/debugtrap_windows.go"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"78c51822491a3b6bbb5f1b7d3f4d9e5c65064118015d06df6cfd32913a861c98"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (an error-returning call as a bare statement): \u0060daemon.containersReplica.Delete(container)\u0060 returns an error, and the statement drops it: when \u0060daemon.containersReplica.Delete\u0060 fails nothing records it and the code after it runs as if it had succeeded. Check it (\u0060if err := daemon.containersReplica.Delete(container); err != nil { \u2026 }\u0060) and return or log it with what was being done, or assign it to \u0060_\u0060 with a comment saying why the failure cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/delete.go"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"54fb7ecc9733b1a0f40967ada8812ee374de9c8ea8b9d2349240f84dc0111186"}},{"ruleId":"X3","level":"warning","message":{"text":"Lost error (reports an error that is nil on this path): \u0060if retErr != nil\u0060 handles a failure of \u0060retErr\u0060 but reports \u0060err\u0060, which the earlier \u0060if err != nil { return \u2026 }\u0060 already proved nil here: the real failure is lost and a nil error is reported (or returned as success) in its place. Report \u0060retErr\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/logs.go"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"04a7f73d6837c891a290abba196899f71c6322c5643cb269ad383ec9d7502e35"}},{"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":"daemon/logs.go"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"306a1d88cdde9619a0fbb032e48ac56b424fc0051278e02969715196663e67a6"}},{"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":"daemon/metrics_unix.go"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"27bca6254f52154ffc6ea46b3d44424c1f571528371c5c732acc2ecd8162f01f"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (an error-returning call as a bare statement): \u0060c.CheckpointTo(daemon.containersReplica)\u0060 returns an error, and the statement drops it: when \u0060c.CheckpointTo\u0060 fails nothing records it and the code after it runs as if it had succeeded. Check it (\u0060if err := c.CheckpointTo(daemon.containersReplica); err != nil { \u2026 }\u0060) and return or log it with what was being done, or assign it to \u0060_\u0060 with a comment saying why the failure cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/monitor.go"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"da20211a84f0c99b4b89c8395752f0520f62805c5b3ba5ff5d66ba60ff8bb636"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (an error-returning call as a bare statement): \u0060daemon.volumes.Release(ctx, m.Volume.Name(), container.ID)\u0060 returns an error, and the statement drops it: when \u0060daemon.volumes.Release\u0060 fails nothing records it and the code after it runs as if it had succeeded. Check it (\u0060if err := daemon.volumes.Release(ctx, m.Volume.Name(), container.ID); err != nil { \u2026 }\u0060) and return or log it with what was being done, or assign it to \u0060_\u0060 with a comment saying why the failure cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/mounts.go"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"80bc7dd143c02ecfb56df126fda9c112f5b9d9442fe4aa42b17c6e6fcf55ec1f"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (an error-returning call as a bare statement): \u0060daemon.containersReplica.ReleaseName(name)\u0060 returns an error, and the statement drops it: when \u0060daemon.containersReplica.ReleaseName\u0060 fails nothing records it and the code after it runs as if it had succeeded. Check it (\u0060if err := daemon.containersReplica.ReleaseName(name); err != nil { \u2026 }\u0060) and return or log it with what was being done, or assign it to \u0060_\u0060 with a comment saying why the failure cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/names.go"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5b7afe46575e8774b2a563d4f8a4ee5838bfb4cbadcb4ded32e20cd8f96da68"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060pm, _ = getEndpointPortMapInfo(ep)\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060pm\u0060 as if the call succeeded. When \u0060getEndpointPortMapInfo\u0060 fails, \u0060pm\u0060 is its zero value (nil for a pointer, a map or an interface), so the program panics later or goes on with a default it never chose, and nothing records why. Check the error before using \u0060pm\u0060 (return it, wrapped with what was being done), or, if the failure genuinely cannot matter, say why in a comment on the line."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/network.go"},"region":{"startLine":786}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3f94e74f9f54f2659df7c92b3e91218c360144cdbb24e2353df7c3a431916d1"}},{"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":"daemon/oci_windows.go"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"d29ca76f9621bb5e7af4e47da6716dfebef18746309e95c59e4e9fccaab10535"}},{"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":"daemon/oci_windows.go"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2f6b7c0d87f66c42a1f2548e9159da575a790a5710f4074b492bfb7162dd683"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060until, _ := getUntilFromPruneFilters(pruneFilters)\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060until\u0060 as if the call succeeded. When \u0060getUntilFromPruneFilters\u0060 fails, \u0060until\u0060 is its zero value (nil for a pointer, a map or an interface), so the program panics later or goes on with a default it never chose, and nothing records why. Check the error before using \u0060until\u0060 (return it, wrapped with what was being done), or, if the failure genuinely cannot matter, say why in a comment on the line."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/prune.go"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"2167002522f1018ea29af57164e1662366493d22294a4eeb776056e4274b293e"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060jsonString, _ := json.Marshal(\u0026struct { *config.Config config.Proxies \u0060json:\u0022proxies\u0022\u0060 }{ Config: \u0026newCfg.Config, Proxies: config.Proxies{ HTTPProxy: config.MaskCredentials(newCfg.HTTPProxy), HTTPSProxy: config.MaskCredentials(newCfg.HTTPSProxy), NoProxy: config.MaskCredentials(newCfg.NoProxy), }, })\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060jsonString\u0060 as if the call succeeded. When \u0060json.Marshal\u0060 fails, \u0060jsonString\u0060 is its zero value (nil for a pointer, a map or an interface), so the program panics later or goes on with a default it never chose, and nothing records why. Check the error before using \u0060jsonString\u0060 (return it, wrapped with what was being done), or, if the failure genuinely cannot matter, say why in a comment on the line."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/reload.go"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"03da1b92ae7be94aa58b9c6f5f706c8f059e8e84401e9e4a55d555e863fd05fe"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (an error-returning call as a bare statement): \u0060daemon.containersReplica.ReserveName(newName\u002Bk, v.ID)\u0060 returns an error, and the statement drops it: when \u0060daemon.containersReplica.ReserveName\u0060 fails nothing records it and the code after it runs as if it had succeeded. Check it (\u0060if err := daemon.containersReplica.ReserveName(newName\u002Bk, v.ID); err != nil { \u2026 }\u0060) and return or log it with what was being done, or assign it to \u0060_\u0060 with a comment saying why the failure cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/rename.go"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cf2e8a63d359333f88378ffcf25133338076b88cd4b3b090e4ce25fd54f2317"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (an error-returning call as a bare statement): \u0060daemon.containersReplica.ReserveName(oldName\u002Bk, v.ID)\u0060 returns an error, and the statement drops it: when \u0060daemon.containersReplica.ReserveName\u0060 fails nothing records it and the code after it runs as if it had succeeded. Check it (\u0060if err := daemon.containersReplica.ReserveName(oldName\u002Bk, v.ID); err != nil { \u2026 }\u0060) and return or log it with what was being done, or assign it to \u0060_\u0060 with a comment saying why the failure cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/rename.go"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e1a2dc9ba6d6c2e1787feb3e65c290376dfe204b5a02ca6752813c5a7590e90"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (an error-returning call as a bare statement): \u0060daemon.containersReplica.ReleaseName(newName \u002B k)\u0060 returns an error, and the statement drops it: when \u0060daemon.containersReplica.ReleaseName\u0060 fails nothing records it and the code after it runs as if it had succeeded. Check it (\u0060if err := daemon.containersReplica.ReleaseName(newName \u002B k); err != nil { \u2026 }\u0060) and return or log it with what was being done, or assign it to \u0060_\u0060 with a comment saying why the failure cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/rename.go"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"23d507192045db09a4feb8bd014f2d235081808624002e05e5fc5f7932b8efd0"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (an error-returning call as a bare statement): \u0060daemon.containersReplica.ReleaseName(oldName \u002B k)\u0060 returns an error, and the statement drops it: when \u0060daemon.containersReplica.ReleaseName\u0060 fails nothing records it and the code after it runs as if it had succeeded. Check it (\u0060if err := daemon.containersReplica.ReleaseName(oldName \u002B k); err != nil { \u2026 }\u0060) and return or log it with what was being done, or assign it to \u0060_\u0060 with a comment saying why the failure cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/rename.go"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f470d53014b3df5725047f4663d0972c8f8d24a48658a0e1bbc00b5eb31b5db"}},{"ruleId":"X3","level":"warning","message":{"text":"Lost error (reports an error that is nil on this path): \u0060if retErr != nil\u0060 handles a failure of \u0060retErr\u0060 but reports \u0060err\u0060, which the earlier \u0060if err != nil { return \u2026 }\u0060 already proved nil here: the real failure is lost and a nil error is reported (or returned as success) in its place. Report \u0060retErr\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/rename.go"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"00e2964f76e663e7fa6128aba4c6aaa2a5ae663f22fdfb0a49e26afa96866beb"}},{"ruleId":"X3","level":"warning","message":{"text":"Lost error (reports an error that is nil on this path): \u0060if retErr != nil\u0060 handles a failure of \u0060retErr\u0060 but reports \u0060err\u0060, which the earlier \u0060if err != nil { return \u2026 }\u0060 already proved nil here: the real failure is lost and a nil error is reported (or returned as success) in its place. Report \u0060retErr\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/start.go"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1820da1fc511ef5524f4d7181b318aacf1c1b5988d030fd9232ec56ae8963cc"}},{"ruleId":"X3","level":"warning","message":{"text":"Lost error (reports an error that is nil on this path): \u0060if retErr != nil\u0060 handles a failure of \u0060retErr\u0060 but reports \u0060err\u0060, which the earlier \u0060if err != nil { return \u2026 }\u0060 already proved nil here: the real failure is lost and a nil error is reported (or returned as success) in its place. Report \u0060retErr\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/start.go"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"c17e0f05775a7e8a9d6be169d773ba38e8f430e8713049642ecb0cef13a7c470"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (an error-returning call as a bare statement): \u0060daemon.cleanupMountsByID(mountid)\u0060 returns an error, and the statement drops it: when \u0060daemon.cleanupMountsByID\u0060 fails nothing records it and the code after it runs as if it had succeeded. Check it (\u0060if err := daemon.cleanupMountsByID(mountid); err != nil { \u2026 }\u0060) and return or log it with what was being done, or assign it to \u0060_\u0060 with a comment saying why the failure cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/start.go"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"8595d282f2590199dee98242ce95a4ec343c45468e78a430c00c498800cefcb4"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (an error-returning call as a bare statement): \u0060daemon.volumes.Release(ctx, m.Volume.Name(), container.ID)\u0060 returns an error, and the statement drops it: when \u0060daemon.volumes.Release\u0060 fails nothing records it and the code after it runs as if it had succeeded. Check it (\u0060if err := daemon.volumes.Release(ctx, m.Volume.Name(), container.ID); err != nil { \u2026 }\u0060) and return or log it with what was being done, or assign it to \u0060_\u0060 with a comment saying why the failure cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/volumes.go"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b53d9a5fc8e41c7c3a45b3d2dabc9f295ab333bce6bd16b9e6a8ff96ff0cb4b"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (an error-returning call as a bare statement): \u0060daemon.volumes.Release(ctx, v.Volume.Name(), container.ID)\u0060 returns an error, and the statement drops it: when \u0060daemon.volumes.Release\u0060 fails nothing records it and the code after it runs as if it had succeeded. Check it (\u0060if err := daemon.volumes.Release(ctx, v.Volume.Name(), container.ID); err != nil { \u2026 }\u0060) and return or log it with what was being done, or assign it to \u0060_\u0060 with a comment saying why the failure cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/volumes.go"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a459f4aa311682a8b0b82918efb78384de0e661dc10d603aa0a256b5505d600"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (an error-returning call as a bare statement): \u0060daemon.volumes.Release(ctx, mp.Volume.Name(), container.ID)\u0060 returns an error, and the statement drops it: when \u0060daemon.volumes.Release\u0060 fails nothing records it and the code after it runs as if it had succeeded. Check it (\u0060if err := daemon.volumes.Release(ctx, mp.Volume.Name(), container.ID); err != nil { \u2026 }\u0060) and return or log it with what was being done, or assign it to \u0060_\u0060 with a comment saying why the failure cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/volumes.go"},"region":{"startLine":248}}}],"partialFingerprints":{"codehealthFindingId/v1":"181a12b8a621b5ee860ed7ca455df99a7fbca02abcae63e4f9dafcbcf4bdf667"}},{"ruleId":"X3","level":"warning","message":{"text":"Lost error (reports an error that is nil on this path): \u0060if retErr != nil\u0060 handles a failure of \u0060retErr\u0060 but reports \u0060err\u0060, which the earlier \u0060if err != nil { return \u2026 }\u0060 already proved nil here: the real failure is lost and a nil error is reported (or returned as success) in its place. Report \u0060retErr\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/logger/loggerutils/logfile.go"},"region":{"startLine":327}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ce032337340f5a8fa81fec5c8b858ec81c636b663841704007368159944afff"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (an error-returning call as a bare statement): \u0060rwLayer.Release()\u0060 returns an error, and the statement drops it: when \u0060rwLayer.Release\u0060 fails nothing records it and the code after it runs as if it had succeeded. Check it (\u0060if err := rwLayer.Release(); err != nil { \u2026 }\u0060) and return or log it with what was being done, or assign it to \u0060_\u0060 with a comment saying why the failure cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/images/image_builder.go"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb50bc05f82a36254bd723feeef1ec40110f498f2054f827d7cf07a21fc1f8fa"}},{"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":"daemon/images/image_history.go"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"adc5a6b5a968715a8894593ffe210fe6fb63b4cc5d2801401b4c709830e9cad2"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (an error-returning call as a bare statement): \u0060i.Unmount(ctx, container)\u0060 returns an error, and the statement drops it: when \u0060i.Unmount\u0060 fails nothing records it and the code after it runs as if it had succeeded. Check it (\u0060if err := i.Unmount(ctx, container); err != nil { \u2026 }\u0060) and return or log it with what was being done, or assign it to \u0060_\u0060 with a comment saying why the failure cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/images/mount.go"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"82aad71a56ec507d7dc28c715ffcd1749ef4a55affbd3ecd6c83b0a356133d8a"}},{"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":"daemon/graphdriver/driver.go"},"region":{"startLine":295}}}],"partialFingerprints":{"codehealthFindingId/v1":"45c5c50ba4e51afec81434f759bce1de3473c18cac1ab659dfa431a944b1f6bc"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060m, _ := Mounted(c.t, path)\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060m\u0060 as if the call succeeded. When \u0060Mounted\u0060 fails, \u0060m\u0060 is its zero value (nil for a pointer, a map or an interface), so the program panics later or goes on with a default it never chose, and nothing records why. Check the error before using \u0060m\u0060 (return it, wrapped with what was being done), or, if the failure genuinely cannot matter, say why in a comment on the line."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/graphdriver/driver_linux.go"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"6feb3efb1657b2a1f480e9d44f21ba1bd90e9bafb47385b20d2aa3be9809db5d"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060m, _ := mountinfo.Mounted(path)\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060m\u0060 as if the call succeeded. When \u0060mountinfo.Mounted\u0060 fails, \u0060m\u0060 is its zero value (nil for a pointer, a map or an interface), so the program panics later or goes on with a default it never chose, and nothing records why. Check the error before using \u0060m\u0060 (return it, wrapped with what was being done), or, if the failure genuinely cannot matter, say why in a comment on the line."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/graphdriver/driver_linux.go"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"c925e807280e2d5647246a73d918d252dc17e8b836d3cb048af1c2d21eb05312"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err := d.client.Call(\u0022 \u0022, args, \u0026ret); 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":"daemon/graphdriver/proxy.go"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7b09d342e50b266ce8de34766c64adc1de1a2faf58b787a0e9a589f684d045d"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err := d.client.Call(\u0022 \u0022, args, \u0026ret); 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":"daemon/graphdriver/proxy.go"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc5b168b1bf346ddb6afb81dea0dd741236b2f0e555b810e92934289575b3d84"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err := d.client.Call(\u0022 \u0022, args, \u0026ret); 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":"daemon/graphdriver/proxy.go"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"2612dc6a5deab2c9ca2079696489cfbeffd63237c2792022a359921ad955f8a5"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (an error-returning call as a bare statement): \u0060graphdriver.Register(\u0022zfs\u0022, Init)\u0060 returns an error, and the statement drops it: when \u0060graphdriver.Register\u0060 fails nothing records it and the code after it runs as if it had succeeded. Check it (\u0060if err := graphdriver.Register(\u0022zfs\u0022, Init); err != nil { \u2026 }\u0060) and return or log it with what was being done, or assign it to \u0060_\u0060 with a comment saying why the failure cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/graphdriver/zfs/zfs.go"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cb99236b3fdd845f53ca342d4ccff17dfe36d4d46efd839569bb0e5030ab23f"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (an error-returning call as a bare statement): \u0060graphdriver.Register(\u0022windowsfilter\u0022, InitFilter)\u0060 returns an error, and the statement drops it: when \u0060graphdriver.Register\u0060 fails nothing records it and the code after it runs as if it had succeeded. Check it (\u0060if err := graphdriver.Register(\u0022windowsfilter\u0022, InitFilter); err != nil { \u2026 }\u0060) and return or log it with what was being done, or assign it to \u0060_\u0060 with a comment saying why the failure cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/graphdriver/windows/windows.go"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"9194bc762c852fe3170d6b1e396012f28378bb6eddc6a5da50ab51e2f75f4caf"}},{"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":"daemon/graphdriver/windows/windows.go"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e029a650cd21d7706b198a59a18692fc7f2e155548255dffd0143bab1eefbc9"}},{"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":"daemon/graphdriver/windows/windows.go"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecfaf8776ea12ef79b72abff8c2af8cf6af79656d8364414df112f075213fbda"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (an error-returning call as a bare statement): \u0060graphdriver.Register(\u0022vfs\u0022, Init)\u0060 returns an error, and the statement drops it: when \u0060graphdriver.Register\u0060 fails nothing records it and the code after it runs as if it had succeeded. Check it (\u0060if err := graphdriver.Register(\u0022vfs\u0022, Init); err != nil { \u2026 }\u0060) and return or log it with what was being done, or assign it to \u0060_\u0060 with a comment saying why the failure cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/graphdriver/vfs/driver.go"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fdfa1138178ca0072fdf1bec40c0ab588675d5f89837c562942058a78e2ea65"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (an error-returning call as a bare statement): \u0060graphdriver.Register(driverName, Init)\u0060 returns an error, and the statement drops it: when \u0060graphdriver.Register\u0060 fails nothing records it and the code after it runs as if it had succeeded. Check it (\u0060if err := graphdriver.Register(driverName, Init); err != nil { \u2026 }\u0060) and return or log it with what was being done, or assign it to \u0060_\u0060 with a comment saying why the failure cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/graphdriver/overlay2/overlay.go"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"b68d337370d44eda48fc070801bafb750de40e0cdc10eb44b8c7533d764c551c"}},{"ruleId":"X3","level":"warning","message":{"text":"Lost error (reports an error that is nil on this path): \u0060if retErr != nil\u0060 handles a failure of \u0060retErr\u0060 but reports \u0060err\u0060, which the earlier \u0060if err != nil { return \u2026 }\u0060 already proved nil here: the real failure is lost and a nil error is reported (or returned as success) in its place. Report \u0060retErr\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/graphdriver/overlay2/overlay.go"},"region":{"startLine":545}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce7586264b427e333d72f98b8353a0874badd613e8b6c740b9b5789e902b9187"}},{"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":"daemon/graphdriver/overlay2/overlay.go"},"region":{"startLine":664}}}],"partialFingerprints":{"codehealthFindingId/v1":"99e445dddf6424d0b77019f30693409a26dc0b336adb3592fb0ced5d04c9bdb9"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (an error-returning call as a bare statement): \u0060graphdriver.Register(driverName, Init)\u0060 returns an error, and the statement drops it: when \u0060graphdriver.Register\u0060 fails nothing records it and the code after it runs as if it had succeeded. Check it (\u0060if err := graphdriver.Register(driverName, Init); err != nil { \u2026 }\u0060) and return or log it with what was being done, or assign it to \u0060_\u0060 with a comment saying why the failure cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/graphdriver/fuse-overlayfs/fuseoverlayfs.go"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"16db3548eb7671815aaeb92af30efefb4b02deae59f5344ea7307a8d4a35bffa"}},{"ruleId":"X3","level":"warning","message":{"text":"Lost error (reports an error that is nil on this path): \u0060if retErr != nil\u0060 handles a failure of \u0060retErr\u0060 but reports \u0060err\u0060, which the earlier \u0060if err != nil { return \u2026 }\u0060 already proved nil here: the real failure is lost and a nil error is reported (or returned as success) in its place. Report \u0060retErr\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/graphdriver/fuse-overlayfs/fuseoverlayfs.go"},"region":{"startLine":333}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d44d1d4a65a7e7388385ef92d8717bf82ade8a49c0dcb1ad712e4eca1223ccb"}},{"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":"daemon/graphdriver/fuse-overlayfs/fuseoverlayfs.go"},"region":{"startLine":429}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbdcdc9bc023da5e44d374b4b719ff524bbf3cfacfa1276c90d56f842a7f4ec3"}},{"ruleId":"X3","level":"warning","message":{"text":"Lost error (reports an error that is nil on this path): \u0060if err == nil\u0060 reports \u0060err\u0060 on the one path where it is nil, and the path where the call failed goes on without ever reading it: the comparison is inverted. The real failure is lost and a nil error (or a panic on \u0060err.Error()\u0060) is reported in its place. Test \u0060err != nil\u0060 here."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/graphdriver/fuse-overlayfs/fuseoverlayfs.go"},"region":{"startLine":512}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec2ba03fd46bd3e1d352ab5a12ce12f86db9876175ded643cb484560859d2702"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (an error-returning call as a bare statement): \u0060graphdriver.Register(\u0022btrfs\u0022, Init)\u0060 returns an error, and the statement drops it: when \u0060graphdriver.Register\u0060 fails nothing records it and the code after it runs as if it had succeeded. Check it (\u0060if err := graphdriver.Register(\u0022btrfs\u0022, Init); err != nil { \u2026 }\u0060) and return or log it with what was being done, or assign it to \u0060_\u0060 with a comment saying why the failure cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/graphdriver/btrfs/btrfs.go"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d674f8fc1d54fa7b29a35a662ca2805ca80af887742051c102037622ff2aa64"}},{"ruleId":"X3","level":"warning","message":{"text":"Lost error (reports an error that is nil on this path): \u0060if quota, err := os.ReadFile(d.quotasDirID(id)); err == nil\u0060 reports \u0060err\u0060 on the one path where it is nil, and the path where the call failed goes on without ever reading it: the comparison is inverted. The real failure is lost and a nil error (or a panic on \u0060err.Error()\u0060) is reported in its place. Test \u0060err != nil\u0060 here."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/graphdriver/btrfs/btrfs.go"},"region":{"startLine":641}}}],"partialFingerprints":{"codehealthFindingId/v1":"df8cede66b7c2a27d8a2f548456e77d228f7600f37211bb561a40dc8ffda54fe"}},{"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":"daemon/events/filter.go"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b33b15bd9ff1e191f436fe324fb97c70dea39c08ab076907f1dff694db1e30e"}},{"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":"daemon/containerd/cache.go"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3a8f5d7edff0a68c61c18e343c07e6cab8437cbe5e82aae3d4c005aeeda61c6"}},{"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":"daemon/containerd/cache.go"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"daef2795bd6f4e8db9e735dc736ac54c96c7a38d8e9de8bbd24e3bec020ae58b"}},{"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":"daemon/containerd/cache.go"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"f87abe942fd2c60750f406b4416a72b385d13564d01df35a23e958448e893a89"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060ref, _ := reference.ParseAnyReference(refOrID)\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060ref\u0060 as if the call succeeded. When \u0060reference.ParseAnyReference\u0060 fails, \u0060ref\u0060 is its zero value (nil for a pointer, a map or an interface), so the program panics later or goes on with a default it never chose, and nothing records why. Check the error before using \u0060ref\u0060 (return it, wrapped with what was being done), or, if the failure genuinely cannot matter, say why in a comment on the line."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/containerd/image.go"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1ac5b08d48d0d7a068c72c2700c5f1fd6d8ff0b2f45c46139cb9877467c6482"}},{"ruleId":"X3","level":"warning","message":{"text":"Lost error (reports an error that is nil on this path): \u0060if outErr != nil\u0060 handles a failure of \u0060outErr\u0060 but reports \u0060err\u0060, which the earlier \u0060if err != nil { return \u2026 }\u0060 already proved nil here: the real failure is lost and a nil error is reported (or returned as success) in its place. Report \u0060outErr\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/containerd/image_builder.go"},"region":{"startLine":294}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb8c60e39873ce77b2b9ea8fd8dd4537cb34c006a69073c70bf9cc35eb018090"}},{"ruleId":"X3","level":"warning","message":{"text":"Lost error (reports an error that is nil on this path): \u0060if outErr != nil\u0060 handles a failure of \u0060outErr\u0060 but reports \u0060err\u0060, which the earlier \u0060if err != nil { return \u2026 }\u0060 already proved nil here: the real failure is lost and a nil error is reported (or returned as success) in its place. Report \u0060outErr\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/containerd/image_builder.go"},"region":{"startLine":348}}}],"partialFingerprints":{"codehealthFindingId/v1":"f29f1c16175d85a9b11ab961fe5e7c3f5f14372b86ebc7471b48297ae75d18da"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060imageMounts, _ := snapshotter.View(ctx, parentViewKey, info.Parent)\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060imageMounts\u0060 as if the call succeeded. When \u0060snapshotter.View\u0060 fails, \u0060imageMounts\u0060 is its zero value (nil for a pointer, a map or an interface), so the program panics later or goes on with a default it never chose, and nothing records why. Check the error before using \u0060imageMounts\u0060 (return it, wrapped with what was being done), or, if the failure genuinely cannot matter, say why in a comment on the line."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/containerd/image_changes.go"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f54bb13e5d2b386e481625eb97f6beb202bdd6cbc4e627bddd438d3824313e5"}},{"ruleId":"X3","level":"warning","message":{"text":"Lost error (reports an error that is nil on this path): \u0060if retErr != nil\u0060 handles a failure of \u0060retErr\u0060 but reports \u0060err\u0060, which the earlier \u0060if err != nil { return \u2026 }\u0060 already proved nil here: the real failure is lost and a nil error is reported (or returned as success) in its place. Report \u0060retErr\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/containerd/image_commit.go"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"17d299bf515ddfc9c68da13c16ed0e23fd3c76cd4415ff1171782daebd337e97"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060parsed, _ := reference.ParseAnyReference(imageRef)\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060parsed\u0060 as if the call succeeded. When \u0060reference.ParseAnyReference\u0060 fails, \u0060parsed\u0060 is its zero value (nil for a pointer, a map or an interface), so the program panics later or goes on with a default it never chose, and nothing records why. Check the error before using \u0060parsed\u0060 (return it, wrapped with what was being done), or, if the failure genuinely cannot matter, say why in a comment on the line."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/containerd/image_delete.go"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"703b60f4475ae16a94ca701da52b60de9cf57130f0e0b5d8a67da1d8372d46e5"}},{"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":"daemon/containerd/image_list.go"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab547d10bbc84c6e7111bbb8ce4af00b28f87ec0d979fa986478626d9a3820de"}},{"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":"daemon/containerd/image_list.go"},"region":{"startLine":330}}}],"partialFingerprints":{"codehealthFindingId/v1":"2facde638e6666c83821c702876200c6e2b56610b19a9ce33c84f504a02c363c"}},{"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":"daemon/containerd/image_list.go"},"region":{"startLine":350}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c630e1d34e31d6afde5bc253c15dcce5c7023bab46d76c74ee10164982feb0f"}},{"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":"daemon/containerd/image_list.go"},"region":{"startLine":404}}}],"partialFingerprints":{"codehealthFindingId/v1":"a32f2a11af1134ad62005034976922772ff871c4a380a1de181589eae07d92e7"}},{"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":"daemon/containerd/image_list.go"},"region":{"startLine":409}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdeafc1904885a3d22c7f0bae7e63a978ea91a8f1ecaee08ebb19800cfb1cfd4"}},{"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":"daemon/containerd/image_push.go"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"f73178e73984dfff861443c357a0d0e3142e01230cc07b6765633066b424f841"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (an error-returning call as a bare statement): \u0060out.WriteProgress(progress.Progress{ ID: stringid.TruncateID(j.Digest.Encoded()), Action: \u0022Downloading\u0022, Current: info.Offset, Total: info.Total, })\u0060 returns an error, and the statement drops it: when \u0060out.WriteProgress\u0060 fails nothing records it and the code after it runs as if it had succeeded. Check it (\u0060if err := out.WriteProgress(progress.Progress{ ID: stringid.TruncateID(j.Digest.Encoded()), Action: \u0022Downloading\u0022, Current: info.Offset, Total: info.Total, }); err != nil { \u2026 }\u0060) and return or log it with what was being done, or assign it to \u0060_\u0060 with a comment saying why the failure cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/containerd/progress.go"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1d3bd774f457344a55e0f582248344d52022e46ca9058e2cca3ef29c4061b63"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (an error-returning call as a bare statement): \u0060out.WriteProgress(progress.Progress{ ID: stringid.TruncateID(j.Digest.Encoded()), Action: \u0022Download complete\u0022, HideCounts: true, LastUpdate: true, })\u0060 returns an error, and the statement drops it: when \u0060out.WriteProgress\u0060 fails nothing records it and the code after it runs as if it had succeeded. Check it (\u0060if err := out.WriteProgress(progress.Progress{ ID: stringid.TruncateID(j.Digest.Encoded()), Action: \u0022Download complete\u0022, HideCounts: true, LastUpdate: true, }); err != nil { \u2026 }\u0060) and return or log it with what was being done, or assign it to \u0060_\u0060 with a comment saying why the failure cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/containerd/progress.go"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"4803d07ddece997540d7eb6937dc12195ba29c642f649025417e7abc06ed1096"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (an error-returning call as a bare statement): \u0060out.WriteProgress(progress.Progress{ ID: stringid.TruncateID(j.Digest.Encoded()), Action: \u0022Already exists\u0022, HideCounts: true, LastUpdate: true, })\u0060 returns an error, and the statement drops it: when \u0060out.WriteProgress\u0060 fails nothing records it and the code after it runs as if it had succeeded. Check it (\u0060if err := out.WriteProgress(progress.Progress{ ID: stringid.TruncateID(j.Digest.Encoded()), Action: \u0022Already exists\u0022, HideCounts: true, LastUpdate: true, }); err != nil { \u2026 }\u0060) and return or log it with what was being done, or assign it to \u0060_\u0060 with a comment saying why the failure cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/containerd/progress.go"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f2866ef8c3c17648339e72c1c6bae921cb8ce2075895f7abea92975442a2a56"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (an error-returning call as a bare statement): \u0060out.WriteProgress(progress.Progress{ ID: id, Action: \u0022Pushing\u0022, Current: status.Offset, Total: status.Total, })\u0060 returns an error, and the statement drops it: when \u0060out.WriteProgress\u0060 fails nothing records it and the code after it runs as if it had succeeded. Check it (\u0060if err := out.WriteProgress(progress.Progress{ ID: id, Action: \u0022Pushing\u0022, Current: status.Offset, Total: status.Total, }); err != nil { \u2026 }\u0060) and return or log it with what was being done, or assign it to \u0060_\u0060 with a comment saying why the failure cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"daemon/containerd/progress.go"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c9c6c706aba63eef443d3d0510664de469911cf1c3ec5e9c071b9b03a898eed"}},{"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":"daemon/containerd/service.go"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"09286e656dba5bd43b8f9415a0ae89dc2aa567a564a6622c823854f961d3dcf9"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060stopSignal, _ = signal.ParseSignal(container.Config.StopSignal)\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060stopSignal\u0060 as if the call succeeded. When \u0060signal.ParseSignal\u0060 fails, \u0060stopSignal\u0060 is its zero value (nil for a pointer, a map or an interface), so the program panics later or goes on with a default it never chose, and nothing records why. Check the error before using \u0060stopSignal\u0060 (return it, wrapped with what was being done), or, if the failure genuinely cannot matter, say why in a comment on the line."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"container/container.go"},"region":{"startLine":557}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac672b1aa38c396d85eb96f5c253b147fded5157f2fc7fee5025be54f8288141"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060stopSignal, _ = signal.ParseSignal(defaultStopSignal)\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060stopSignal\u0060 as if the call succeeded. When \u0060signal.ParseSignal\u0060 fails, \u0060stopSignal\u0060 is its zero value (nil for a pointer, a map or an interface), so the program panics later or goes on with a default it never chose, and nothing records why. Check the error before using \u0060stopSignal\u0060 (return it, wrapped with what was being done), or, if the failure genuinely cannot matter, say why in a comment on the line."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"container/container.go"},"region":{"startLine":561}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c4461944cc548beda052be1b004bab153f043c69d4be91a4f2380b2830a2383"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (an error-returning call as a bare statement): \u0060container.LogDriver.Close()\u0060 returns an error, and the statement drops it: when \u0060container.LogDriver.Close\u0060 fails nothing records it and the code after it runs as if it had succeeded. Check it (\u0060if err := container.LogDriver.Close(); err != nil { \u2026 }\u0060) and return or log it with what was being done, or assign it to \u0060_\u0060 with a comment saying why the failure cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"container/monitor.go"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"931019fad9a9816fef4bdf0d3d31727e3a192db87aea1e8f12594aff6bc16daa"}},{"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":"container/view.go"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f91ccb0a1a98b3362b77318aac0424b2443d12f96f105a79c871c2fdd56120b"}},{"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":"container/view.go"},"region":{"startLine":282}}}],"partialFingerprints":{"codehealthFindingId/v1":"79360b685d04c04bd8cd8f14c3222cb56c1a87730d362653a5cdb747586ff456"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (an error-returning call as a bare statement): \u0060d.Shutdown(ctx)\u0060 returns an error, and the statement drops it: when \u0060d.Shutdown\u0060 fails nothing records it and the code after it runs as if it had succeeded. Check it (\u0060if err := d.Shutdown(ctx); err != nil { \u2026 }\u0060) and return or log it with what was being done, or assign it to \u0060_\u0060 with a comment saying why the failure cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/dockerd/daemon.go"},"region":{"startLine":499}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fc38058c417ee15f8cfdc0bf61b938c1e16eae119a876e5ebb6cbb95dde5300"}},{"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":"cmd/dockerd/daemon_unix.go"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"68d720dc2b628e1e41b5bdaa8ad7dbd4cdaba228c98f0acbbc450b9a90944a6d"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060ev, _ := windows.UTF16PtrFromString(event)\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060ev\u0060 as if the call succeeded. When \u0060windows.UTF16PtrFromString\u0060 fails, \u0060ev\u0060 is its zero value (nil for a pointer, a map or an interface), so the program panics later or goes on with a default it never chose, and nothing records why. Check the error before using \u0060ev\u0060 (return it, wrapped with what was being done), or, if the failure genuinely cannot matter, say why in a comment on the line."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/dockerd/daemon_windows.go"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2cb20cc25c9dc546c656de33ec8959a0f8fc41408096ef820547dda8483df5f"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060h, _ := windows.CreateEvent(\u0026sa, 0, 0, ev)\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060h\u0060 as if the call succeeded. When \u0060windows.CreateEvent\u0060 fails, \u0060h\u0060 is its zero value (nil for a pointer, a map or an interface), so the program panics later or goes on with a default it never chose, and nothing records why. Check the error before using \u0060h\u0060 (return it, wrapped with what was being done), or, if the failure genuinely cannot matter, say why in a comment on the line."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/dockerd/daemon_windows.go"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"aed923400f39814af5503e7172b2ed0d2ff643a41db43cfeadd534dde2e90ce8"}},{"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":"cmd/docker-proxy/udp_proxy.go"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"644619f62d71cc787baae59117b4beb683b8f120261e50c56f4330be1bbd87ed"}},{"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/client.go"},"region":{"startLine":316}}}],"partialFingerprints":{"codehealthFindingId/v1":"c13e4d4a70c6fabe367b0b26afbf04ccc0373dddb7a081ae39eb3a799ca76add"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060delResp, _ := cli.delete(ctx, \u0022/plugins/\u0022\u002Bname, nil, nil)\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060delResp\u0060 as if the call succeeded. When \u0060cli.delete\u0060 fails, \u0060delResp\u0060 is its zero value (nil for a pointer, a map or an interface), so the program panics later or goes on with a default it never chose, and nothing records why. Check the error before using \u0060delResp\u0060 (return it, wrapped with what was being done), or, if the failure genuinely cannot matter, say why in a comment on the line."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/plugin_install.go"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"3378243744363b847ed91aa93b8e06ef1ce158eb528b92734cf0b26ad70e971e"}},{"ruleId":"X3","level":"warning","message":{"text":"Lost error (the deferred cleanup tests an error the failure never reaches): \u0060if err := cli.PluginSet(ctx, name, options.Args); err != nil {\u0060 declares a NEW \u0060err\u0060 in an inner scope, and the failure it carries leaves through a \u0060return\u0060 \u2014 but the deferred cleanup tests the outer \u0060err\u0060, which stays nil, so the cleanup (a rollback, a removal) never runs on that failure. Assign the outer variable (\u0060=\u0060), or name the function\u0027s error result \u0060err\u0060 so \u0060return\u0060 sets what the deferred function reads."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/plugin_install.go"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bec738fabf5d33b0bcd4456bc075b39e4f755360bbbb6ece65b668d6efcaa37"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (an error-returning call as a bare statement): \u0060tsc.Close()\u0060 returns an error, and the statement drops it: when \u0060tsc.Close\u0060 fails nothing records it and the code after it runs as if it had succeeded. Check it (\u0060if err := tsc.Close(); err != nil { \u2026 }\u0060) and return or log it with what was being done, or assign it to \u0060_\u0060 with a comment saying why the failure cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"builder/remotecontext/archive.go"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"e17767ad41aa25bcf40f4f3902ccc226b5d2ed4bbdad0d8404ef41e32d71edca"}},{"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":"builder/remotecontext/git/gitutils.go"},"region":{"startLine":237}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb8274d1ec7b56e6efb4d7bd6437c27df67ebfa8628770f288e452c3fa56631e"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (an error-returning call as a bare statement): \u0060o.activeLayer.Release()\u0060 returns an error, and the statement drops it: when \u0060o.activeLayer.Release\u0060 fails nothing records it and the code after it runs as if it had succeeded. Check it (\u0060if err := o.activeLayer.Release(); err != nil { \u2026 }\u0060) and return or log it with what was being done, or assign it to \u0060_\u0060 with a comment saying why the failure cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"builder/dockerfile/copy.go"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a84a7dfeac6aaff0e3a0fa2b134fe69fc1a7f4d74f516509281625e18f1eb2b"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060match, _ := filepath.Match(origPath, rel)\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060match\u0060 as if the call succeeded. When \u0060filepath.Match\u0060 fails, \u0060match\u0060 is its zero value (nil for a pointer, a map or an interface), so the program panics later or goes on with a default it never chose, and nothing records why. Check the error before using \u0060match\u0060 (return it, wrapped with what was being done), or, if the failure genuinely cannot matter, say why in a comment on the line."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"builder/dockerfile/copy.go"},"region":{"startLine":260}}}],"partialFingerprints":{"codehealthFindingId/v1":"8350204e58e66aad6176f03e7a428e4c3e3d25323fa8b1ba7aeca60d21525fb4"}},{"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":"builder/dockerfile/copy.go"},"region":{"startLine":318}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f60e9e599542d2182a2256ac3b3d23ecede569647fb16c44b88acc8cc74d099"}},{"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":"builder/dockerfile/evaluator.go"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec6840a2b505dd29eaf9dd96499abaf9f540ac5d59fc7dfa0eb7a9ffd4e990bb"}},{"ruleId":"X3","level":"warning","message":{"text":"Lost error (reports an error that is nil on this path): \u0060if err == nil\u0060 reports \u0060err\u0060 on the one path where it is nil, and the path where the call failed goes on without ever reading it: the comparison is inverted. The real failure is lost and a nil error (or a panic on \u0060err.Error()\u0060) is reported in its place. Test \u0060err != nil\u0060 here."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"builder/builder-next/executor_linux.go"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"719899763b188c9aa164f10d00338cc40d65f9665717a55d64f787feeaa30b37"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err := syscall.Statfs(root, \u0026st); 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":"builder/builder-next/worker/gc_unix.go"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"d36fa019bbb58e596c5ca2a7dad7d2f3834aa79ef10fdcbe1d2c934ab987845a"}},{"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":"builder/builder-next/adapters/snapshot/snapshot.go"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"e39e2ba18a11a8d698342f897a9dbe8b1c19bb1bbdbd5e98f255c307eb931508"}},{"ruleId":"X3","level":"warning","message":{"text":"Lost error (reports an error that is nil on this path): \u0060if err == nil\u0060 reports \u0060err\u0060 on the one path where it is nil, and the path where the call failed goes on without ever reading it: the comparison is inverted. The real failure is lost and a nil error (or a panic on \u0060err.Error()\u0060) is reported in its place. Test \u0060err != nil\u0060 here."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"builder/builder-next/adapters/containerimage/pull.go"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"82af7b3d529be87dad62237de39bd368f1fe6cf4b3a299e17085e9c37e8de2ea"}},{"ruleId":"X3","level":"warning","message":{"text":"Lost error (reports an error that is nil on this path): \u0060if err == nil\u0060 reports \u0060err\u0060 on the one path where it is nil, and the path where the call failed goes on without ever reading it: the comparison is inverted. The real failure is lost and a nil error (or a panic on \u0060err.Error()\u0060) is reported in its place. Test \u0060err != nil\u0060 here."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"builder/builder-next/adapters/containerimage/pull.go"},"region":{"startLine":392}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd2227bc9262e101f226f71a9ba57a1e2fb8ce66d392e4a96a12fb0bf76ad210"}},{"ruleId":"X3","level":"warning","message":{"text":"Lost error (reports an error that is nil on this path): \u0060if err == nil\u0060 reports \u0060err\u0060 on the one path where it is nil, and the path where the call failed goes on without ever reading it: the comparison is inverted. The real failure is lost and a nil error (or a panic on \u0060err.Error()\u0060) is reported in its place. Test \u0060err != nil\u0060 here."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"builder/builder-next/adapters/containerimage/pull.go"},"region":{"startLine":397}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f6a0f0c81f94856c5d7341472c27b762b389a14fba609d43a04176feffc9acc"}},{"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":"builder/builder-next/adapters/containerimage/pull.go"},"region":{"startLine":703}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a14cfb384a874acc7dcad1cf8e748fff2a92ed5fb18849b442023674c96612c"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060currInt, _ = strconv.Atoi(currTab[i])\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060currInt\u0060 as if the call succeeded. When \u0060strconv.Atoi\u0060 fails, \u0060currInt\u0060 is its zero value (nil for a pointer, a map or an interface), so the program panics later or goes on with a default it never chose, and nothing records why. Check the error before using \u0060currInt\u0060 (return it, wrapped with what was being done), or, if the failure genuinely cannot matter, say why in a comment on the line."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/types/versions/compare.go"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"a95067901f6346765a133db5bcfef3aa78105512b468034c6c5e14d0ee6b90d5"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060otherInt, _ = strconv.Atoi(otherTab[i])\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060otherInt\u0060 as if the call succeeded. When \u0060strconv.Atoi\u0060 fails, \u0060otherInt\u0060 is its zero value (nil for a pointer, a map or an interface), so the program panics later or goes on with a default it never chose, and nothing records why. Check the error before using \u0060otherInt\u0060 (return it, wrapped with what was being done), or, if the failure genuinely cannot matter, say why in a comment on the line."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/types/versions/compare.go"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"50012f702e7b6a43d5cd6bc6d3194c44904a78570cb27e033b27a329ea530db8"}},{"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":"api/types/filters/parse.go"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c2ff1114c01bd679f1d257c93f3f6b605024cb5ce32aec85a895d6b55889d39"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060networks, _ := n.backend.GetNetworks(filter, backend.NetworkListConfig{Detailed: true, Verbose: verbose})\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060networks\u0060 as if the call succeeded. When \u0060n.backend.GetNetworks\u0060 fails, \u0060networks\u0060 is its zero value (nil for a pointer, a map or an interface), so the program panics later or goes on with a default it never chose, and nothing records why. Check the error before using \u0060networks\u0060 (return it, wrapped with what was being done), or, if the failure genuinely cannot matter, say why in a comment on the line."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/router/network/network_routes.go"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e2510d40d5c3fb947274bad8a0f633c9d13bd88a956bbcecbb8e7c2995d4f3c"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060networks, _ := n.backend.GetNetworks(filter, backend.NetworkListConfig{Detailed: true})\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060networks\u0060 as if the call succeeded. When \u0060n.backend.GetNetworks\u0060 fails, \u0060networks\u0060 is its zero value (nil for a pointer, a map or an interface), so the program panics later or goes on with a default it never chose, and nothing records why. Check the error before using \u0060networks\u0060 (return it, wrapped with what was being done), or, if the failure genuinely cannot matter, say why in a comment on the line."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/router/network/network_routes.go"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b9daf1ba332f21345c3dda75b0b05d4ef99b78ceb9e7ab53b93a637379befbc"}},{"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":"api/server/httputils/form.go"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"69cdb81f728307e616f9c1e0d506a55d982212b2bb3c7f84500d642527b2b081"}}],"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-1104","guid":"4c918cb5-b2a6-6c55-9963-a44ee464305e","name":"Use of Unmaintained Third Party Components","shortDescription":{"text":"Use of Unmaintained Third Party Components"},"helpUri":"https://cwe.mitre.org/data/definitions/1104.html"},{"id":"CWE-125","guid":"98717707-96bf-ca5b-9568-8d1d257574c1","name":"CWE-125","shortDescription":{"text":"CWE-125"},"helpUri":"https://cwe.mitre.org/data/definitions/125.html"},{"id":"CWE-129","guid":"bef1fb3e-0a0d-ad5b-b37c-fe3cdb6428f4","name":"Improper Validation of Array Index","shortDescription":{"text":"Improper Validation of Array Index"},"helpUri":"https://cwe.mitre.org/data/definitions/129.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-193","guid":"3f419d36-cf92-1f5d-b2e2-9bdf244bf9fd","name":"CWE-193","shortDescription":{"text":"CWE-193"},"helpUri":"https://cwe.mitre.org/data/definitions/193.html"},{"id":"CWE-22","guid":"b68d9ca7-bdde-d057-a6cc-9f8b1e739552","name":"Improper Limitation of a Pathname to a Restricted Directory (\u0027Path Traversal\u0027)","shortDescription":{"text":"Improper Limitation of a Pathname to a Restricted Directory (\u0027Path Traversal\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/22.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-248","guid":"64b58946-d244-a556-a48a-f82fcd4f4186","name":"Uncaught Exception","shortDescription":{"text":"Uncaught Exception"},"helpUri":"https://cwe.mitre.org/data/definitions/248.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-330","guid":"f811ddf9-2e54-865b-9c76-f97905849790","name":"Use of Insufficiently Random Values","shortDescription":{"text":"Use of Insufficiently Random Values"},"helpUri":"https://cwe.mitre.org/data/definitions/330.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-353","guid":"09d7e902-d4ee-f05d-ae6c-0a1554d0c18f","name":"Missing Support for Integrity Check","shortDescription":{"text":"Missing Support for Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/353.html"},{"id":"CWE-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-548","guid":"bd71efb0-963f-eb55-8c3b-c351365d4f21","name":"Exposure of Information Through Directory Listing","shortDescription":{"text":"Exposure of Information Through Directory Listing"},"helpUri":"https://cwe.mitre.org/data/definitions/548.html"},{"id":"CWE-670","guid":"5bbbc1c4-6420-da57-a041-85fe4bdce516","name":"CWE-670","shortDescription":{"text":"CWE-670"},"helpUri":"https://cwe.mitre.org/data/definitions/670.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-704","guid":"50bd74b4-a921-5159-8671-99fd7e78c810","name":"CWE-704","shortDescription":{"text":"CWE-704"},"helpUri":"https://cwe.mitre.org/data/definitions/704.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-775","guid":"d927f6cc-6dc2-2a5d-946a-ca177830cbd7","name":"CWE-775","shortDescription":{"text":"CWE-775"},"helpUri":"https://cwe.mitre.org/data/definitions/775.html"},{"id":"CWE-78","guid":"2e31ceaf-c7ae-2e5e-9661-cfb1362789cf","name":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/78.html"},{"id":"CWE-79","guid":"fd45580b-e8c4-fc5e-8c2f-aa8fab0b4dbf","name":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)","shortDescription":{"text":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/79.html"},{"id":"CWE-798","guid":"5e8f057d-fee3-995a-a0cb-9fc5b0d174d1","name":"Use of Hard-coded Credentials","shortDescription":{"text":"Use of Hard-coded Credentials"},"helpUri":"https://cwe.mitre.org/data/definitions/798.html"},{"id":"CWE-829","guid":"13c33925-97fb-5a5e-b40c-56d328b8a4d7","name":"Inclusion of Functionality from Untrusted Control Sphere","shortDescription":{"text":"Inclusion of Functionality from Untrusted Control Sphere"},"helpUri":"https://cwe.mitre.org/data/definitions/829.html"},{"id":"CWE-89","guid":"6d08fdad-37eb-c150-bbf0-d7d946863407","name":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/89.html"},{"id":"CWE-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-3","guid":"458c83a6-ebf7-cf55-8cc3-b4d949bbf271","name":"Dependency Chain Abuse","shortDescription":{"text":"Dependency Chain Abuse"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-03-Dependency-Chain-Abuse"},{"id":"CICD-SEC-6","guid":"f2ee2486-b260-2952-a41f-6b67fa713940","name":"Insufficient Credential Hygiene","shortDescription":{"text":"Insufficient Credential Hygiene"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-06-Insufficient-Credential-Hygiene"},{"id":"CICD-SEC-8","guid":"b6b2dacf-a168-4957-876e-a8c73ee00eb0","name":"Ungoverned Usage of 3rd Party Services","shortDescription":{"text":"Ungoverned Usage of 3rd Party Services"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-08-Ungoverned-Usage-of-3rd-Party-Services"},{"id":"CICD-SEC-9","guid":"b3d36727-0395-5b51-94c4-5e173d62eab3","name":"Improper Artifact Integrity Validation","shortDescription":{"text":"Improper Artifact Integrity Validation"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-09-Improper-Artifact-Integrity-Validation"}]}],"properties":{"codehealthPublication":{"public":true,"notice":"This is the PUBLIC form of this artifact. Findings are listed in full, but the details of SECURITY findings \u2014 which rule fired, in which file, on which line, and how to fix it \u2014 are deliberately withheld, and any secret-scanner results are excluded entirely. Where detail is absent here it was REMOVED FOR PUBLICATION; it is not missing from the analysis. The complete artifact is available from the repository owner.","securityFindingsRedacted":272,"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."]}]}