{"$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":"D7","name":"Architectural Integrity","shortDescription":{"text":"Architectural Integrity"},"helpUri":"https://codehealth.canine.dev/dimensions/D7"},{"id":"D8","name":"Code Coverage","shortDescription":{"text":"Code Coverage"},"helpUri":"https://codehealth.canine.dev/dimensions/D8"},{"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":"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":"D26","name":"Project Cohesion","shortDescription":{"text":"Project Cohesion"},"helpUri":"https://codehealth.canine.dev/dimensions/D26"},{"id":"D27","name":"Navigability","shortDescription":{"text":"Navigability"},"helpUri":"https://codehealth.canine.dev/dimensions/D27"},{"id":"D28","name":"Secrets (history)","shortDescription":{"text":"Secrets (history)"},"helpUri":"https://codehealth.canine.dev/dimensions/D28","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D29","name":"Static Analysis (SAST)","shortDescription":{"text":"Static Analysis (SAST)"},"helpUri":"https://codehealth.canine.dev/dimensions/D29","relationships":[{"target":{"id":"CWE-79","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-89","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-94","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-77","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-79","CWE-89","CWE-78","CWE-94","CWE-77"],"owasp":"A05:2025"}},{"id":"D30","name":"Dependency Vulnerabilities","shortDescription":{"text":"Dependency Vulnerabilities"},"helpUri":"https://codehealth.canine.dev/dimensions/D30","relationships":[{"target":{"id":"CWE-1395","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-937","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1395","CWE-937"],"owasp":"A03:2025"}},{"id":"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":"AC2","name":"Forms \u0026 labels","shortDescription":{"text":"Forms \u0026 labels"},"helpUri":"https://codehealth.canine.dev/dimensions/AC2"},{"id":"AC3","name":"Page structure","shortDescription":{"text":"Page structure"},"helpUri":"https://codehealth.canine.dev/dimensions/AC3"},{"id":"AC4","name":"Keyboard semantics","shortDescription":{"text":"Keyboard semantics"},"helpUri":"https://codehealth.canine.dev/dimensions/AC4"},{"id":"AC6","name":"Visual \u0026 motion safety","shortDescription":{"text":"Visual \u0026 motion safety"},"helpUri":"https://codehealth.canine.dev/dimensions/AC6"},{"id":"AX10","name":"Code composition","shortDescription":{"text":"Code composition"},"helpUri":"https://codehealth.canine.dev/dimensions/AX10"},{"id":"AX2","name":"Stateful singletons","shortDescription":{"text":"Stateful singletons"},"helpUri":"https://codehealth.canine.dev/dimensions/AX2"},{"id":"AX3","name":"Project dependency cycles","shortDescription":{"text":"Project dependency cycles"},"helpUri":"https://codehealth.canine.dev/dimensions/AX3"},{"id":"AX4","name":"Dependency direction","shortDescription":{"text":"Dependency direction"},"helpUri":"https://codehealth.canine.dev/dimensions/AX4"},{"id":"AX6","name":"Interface segregation","shortDescription":{"text":"Interface segregation"},"helpUri":"https://codehealth.canine.dev/dimensions/AX6"},{"id":"AX8","name":"Test isolation","shortDescription":{"text":"Test isolation"},"helpUri":"https://codehealth.canine.dev/dimensions/AX8"},{"id":"ED5","name":"Idempotency","shortDescription":{"text":"Idempotency"},"helpUri":"https://codehealth.canine.dev/dimensions/ED5"},{"id":"M1","name":"Documentation (README)","shortDescription":{"text":"Documentation (README)"},"helpUri":"https://codehealth.canine.dev/dimensions/M1"},{"id":"M2","name":"Architecture documentation","shortDescription":{"text":"Architecture documentation"},"helpUri":"https://codehealth.canine.dev/dimensions/M2"},{"id":"M3","name":"Folder \u0026 project structure","shortDescription":{"text":"Folder \u0026 project structure"},"helpUri":"https://codehealth.canine.dev/dimensions/M3"},{"id":"M4","name":"Documentation accuracy","shortDescription":{"text":"Documentation accuracy"},"helpUri":"https://codehealth.canine.dev/dimensions/M4"},{"id":"P1","name":"CI/CD gates","shortDescription":{"text":"CI/CD gates"},"helpUri":"https://codehealth.canine.dev/dimensions/P1"},{"id":"P11","name":"BDD / executable specs","shortDescription":{"text":"BDD / executable specs"},"helpUri":"https://codehealth.canine.dev/dimensions/P11"},{"id":"P12","name":"CI test-gate honesty","shortDescription":{"text":"CI test-gate honesty"},"helpUri":"https://codehealth.canine.dev/dimensions/P12"},{"id":"P3","name":"Security \u0026 performance tooling","shortDescription":{"text":"Security \u0026 performance tooling"},"helpUri":"https://codehealth.canine.dev/dimensions/P3"},{"id":"P4","name":"Deployment \u0026 Rollback","shortDescription":{"text":"Deployment \u0026 Rollback"},"helpUri":"https://codehealth.canine.dev/dimensions/P4"},{"id":"P6","name":"Release Hygiene","shortDescription":{"text":"Release Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/P6"},{"id":"P7","name":"Outbound HTTP resilience","shortDescription":{"text":"Outbound HTTP resilience"},"helpUri":"https://codehealth.canine.dev/dimensions/P7"},{"id":"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":"X16","name":"Unfloored truncation loop","shortDescription":{"text":"Unfloored truncation loop"},"helpUri":"https://codehealth.canine.dev/dimensions/X16"},{"id":"X18","name":"Disposal-pattern correctness","shortDescription":{"text":"Disposal-pattern correctness"},"helpUri":"https://codehealth.canine.dev/dimensions/X18"},{"id":"X19","name":"Unrestored process-global state","shortDescription":{"text":"Unrestored process-global state"},"helpUri":"https://codehealth.canine.dev/dimensions/X19"},{"id":"X2","name":"Cancellation propagation","shortDescription":{"text":"Cancellation propagation"},"helpUri":"https://codehealth.canine.dev/dimensions/X2"},{"id":"X20","name":"Mistyped argument guard","shortDescription":{"text":"Mistyped argument guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X20"},{"id":"X21","name":"Side-effecting pattern guard","shortDescription":{"text":"Side-effecting pattern guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X21"},{"id":"X22","name":"Contradicted release guard","shortDescription":{"text":"Contradicted release guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X22"},{"id":"X23","name":"Unguarded diagnostic materialisation","shortDescription":{"text":"Unguarded diagnostic materialisation"},"helpUri":"https://codehealth.canine.dev/dimensions/X23"},{"id":"X25","name":"Inert configuration knob","shortDescription":{"text":"Inert configuration knob"},"helpUri":"https://codehealth.canine.dev/dimensions/X25"},{"id":"X26","name":"Unsynchronised callback handoff","shortDescription":{"text":"Unsynchronised callback handoff"},"helpUri":"https://codehealth.canine.dev/dimensions/X26"},{"id":"X27","name":"Collection changed while being enumerated","shortDescription":{"text":"Collection changed while being enumerated"},"helpUri":"https://codehealth.canine.dev/dimensions/X27"},{"id":"X28","name":"Index access outside its own emptiness guard","shortDescription":{"text":"Index access outside its own emptiness guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X28"},{"id":"X29","name":"Per-element action decided by a fixed element","shortDescription":{"text":"Per-element action decided by a fixed element"},"helpUri":"https://codehealth.canine.dev/dimensions/X29"},{"id":"X3","name":"Exception handling","shortDescription":{"text":"Exception handling"},"helpUri":"https://codehealth.canine.dev/dimensions/X3"},{"id":"X30","name":"Support guard that admits what it rejects","shortDescription":{"text":"Support guard that admits what it rejects"},"helpUri":"https://codehealth.canine.dev/dimensions/X30"},{"id":"X32","name":"Type resolved by simple name across every loaded assembly","shortDescription":{"text":"Type resolved by simple name across every loaded assembly"},"helpUri":"https://codehealth.canine.dev/dimensions/X32"},{"id":"X4","name":"Structured logging","shortDescription":{"text":"Structured logging"},"helpUri":"https://codehealth.canine.dev/dimensions/X4"},{"id":"X5","name":"Nullable reference types","shortDescription":{"text":"Nullable reference types"},"helpUri":"https://codehealth.canine.dev/dimensions/X5"},{"id":"X6","name":"Hand-rolled structured-format parsing","shortDescription":{"text":"Hand-rolled structured-format parsing"},"helpUri":"https://codehealth.canine.dev/dimensions/X6"},{"id":"X7","name":"Silent fallback defaults","shortDescription":{"text":"Silent fallback defaults"},"helpUri":"https://codehealth.canine.dev/dimensions/X7"},{"id":"X9","name":"Subsumed condition operand","shortDescription":{"text":"Subsumed condition operand"},"helpUri":"https://codehealth.canine.dev/dimensions/X9"}]}},"results":[{"ruleId":"D1","level":"warning","message":{"text":"quick_validate.validate_agent (cyclomatic 30): quick_validate.validate_agent has cyclomatic complexity 30 (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":".agents/skills/subagent-creator/scripts/quick_validate.py"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5ac807961c99dbf05e1c62db2a3e2e750e9875c02a9bcc4416e72c7a186678c"}},{"ruleId":"D1","level":"warning","message":{"text":"run_loop.run_loop (cyclomatic 28): run_loop.run_loop 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":".agents/skills/subagent-creator/scripts/run_loop.py"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ebfa3619b1d7954189b9f3fa49ffecd484a425a0b57c22ea4501b84c915be1c"}},{"ruleId":"D1","level":"warning","message":{"text":"improve_description.improve_description (cyclomatic 23): improve_description.improve_description 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":".agents/skills/subagent-creator/scripts/improve_description.py"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"0815106df8302bec78f05acf0eed2149ea6ae45f8ea6545f1995efa7c3fe65c2"}},{"ruleId":"D1","level":"warning","message":{"text":"generate_report.generate_html (cyclomatic 22): generate_report.generate_html 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":".agents/skills/subagent-creator/scripts/generate_report.py"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"161d375edb8fbe40c60f2908bdad3245c80ae052a9fc87af0244c507959b819a"}},{"ruleId":"D1","level":"warning","message":{"text":"run_eval.run_single_query (cyclomatic 22): run_eval.run_single_query 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":".agents/skills/subagent-creator/scripts/run_eval.py"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf3b6ea8c4c42660fc3675a9cfaaa5069d69b2586863e101a57bc6fd53da3bab"}},{"ruleId":"D1","level":"warning","message":{"text":"snippets._ (cyclomatic 21): snippets._ 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":"website/snippets/attachments.go"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"577e3a77a510aac3f49e15029152dbb57868f7d92059441a7232039d4de619e8"}},{"ruleId":"D1","level":"warning","message":{"text":"aggregate_benchmark.load_run_results (cyclomatic 21): aggregate_benchmark.load_run_results 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":".agents/skills/subagent-creator/scripts/aggregate_benchmark.py"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf29e68d8a485cdfb2ade01164471a4a76e84421ea8ca8cfd81dc1f1ccc0f271"}},{"ruleId":"D1","level":"warning","message":{"text":"generate_review.build_run (cyclomatic 20): generate_review.build_run 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":".agents/skills/subagent-creator/eval-viewer/generate_review.py"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"a93dbcf4805bf476c9910563edae7790f3356ad84d08f39e8d745fb19315499d"}},{"ruleId":"D1","level":"warning","message":{"text":"AttachmentFileRequestBuilder.Post (cyclomatic 19): AttachmentFileRequestBuilder.Post 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":"attachmentapi/attachment_file_request_builder.go"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"951190c782396d5fee8bcb20841599af812e81f49dfdc8f9346d32f06922981b"}},{"ruleId":"D1","level":"warning","message":{"text":"AttachmentUploadRequestBuilder.Post (cyclomatic 17): AttachmentUploadRequestBuilder.Post 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":"attachmentapi/attachment_upload_request_builder.go"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f792a56fd9a36ec687ee13af7e0484943a8eaa8819d7d8a7322d98fdfd9ce85"}},{"ruleId":"D1","level":"warning","message":{"text":"PoliciesMappingsRequestBuilder.Post (cyclomatic 16): PoliciesMappingsRequestBuilder.Post has cyclomatic complexity 16 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"policyapi/policies_mappings_request_builder.go"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"afa26cf8c3ea5881dd839b13f7d748a6f9294f9ffbee5e7232e02701aba335cf"}},{"ruleId":"D2","level":"warning","message":{"text":"aggregate_benchmark.load_run_results (cognitive 58): aggregate_benchmark.load_run_results has cognitive complexity 58 (threshold 15). Drivers by points: if/else 11 (31 pts), error handling 4 (15 pts), loops 4 (10 pts), boolean chains 2 (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":".agents/skills/subagent-creator/scripts/aggregate_benchmark.py"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"03895329f97a9c5fc00a7578a83924ecd7968647ec8d5bb32ee3a0f6a00b5be8"}},{"ruleId":"D2","level":"warning","message":{"text":"run_loop.run_loop (cognitive 55): run_loop.run_loop has cognitive complexity 55 (threshold 15). Drivers by points: if/else 23 (44 pts), ternaries 5 (9 pts), boolean chains 1, loops 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":".agents/skills/subagent-creator/scripts/run_loop.py"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccb8a7609c40e39633340fcb5c0d17a929912dcdb4420f7fe00fb17235dc18e8"}},{"ruleId":"D2","level":"warning","message":{"text":"generate_review.build_run (cognitive 44): generate_review.build_run has cognitive complexity 44 (threshold 15). Drivers by points: if/else 11 (27 pts), error handling 3 (10 pts), loops 4 (6 pts), boolean chains 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":".agents/skills/subagent-creator/eval-viewer/generate_review.py"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"9180136b3ed02844a95607087b5f5bb802777fac46c8ca2468e553b6d6c80bd2"}},{"ruleId":"D2","level":"warning","message":{"text":"improve_description.improve_description (cognitive 42): improve_description.improve_description has cognitive complexity 42 (threshold 15). Drivers by points: if/else 11 (15 pts), ternaries 5 (14 pts), loops 4 (10 pts), boolean chains 3 (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":".agents/skills/subagent-creator/scripts/improve_description.py"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bcdee182d983aae8e1757e16e8624560724c371caa038c6bf4c815a9bbdcfdb"}},{"ruleId":"D2","level":"warning","message":{"text":"generate_report.generate_html (cognitive 40): generate_report.generate_html has cognitive complexity 40 (threshold 15). Drivers by points: ternaries 11 (23 pts), loops 7 (12 pts), if/else 4 (5 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":".agents/skills/subagent-creator/scripts/generate_report.py"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"e95ce82a7b776818f0fadd5069937ae7fdcc6d35275ba8f7bf3fe7805957fdcf"}},{"ruleId":"D2","level":"warning","message":{"text":"quick_validate.validate_agent (cognitive 37): quick_validate.validate_agent has cognitive complexity 37 (threshold 15). Drivers by points: if/else 25 (33 pts), boolean chains 3, error handling 1 (nesting depth added 8). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".agents/skills/subagent-creator/scripts/quick_validate.py"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d102b390df8263559ed977d7fca42b29be52e709eb034cce84a33c9f74c6774"}},{"ruleId":"D2","level":"warning","message":{"text":"run_eval.run_single_query (cognitive 35): run_eval.run_single_query has cognitive complexity 35 (threshold 15). Drivers by points: if/else 12 (24 pts), boolean chains 5, error handling 1 (3 pts), loops 2 (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":".agents/skills/subagent-creator/scripts/run_eval.py"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cbd42a0eeb8b14018f78a052ecd8e8ea41d2e046bf3814ffc57ca32fd7fb865"}},{"ruleId":"D2","level":"warning","message":{"text":"utils.parse_agent_md (cognitive 23): utils.parse_agent_md has cognitive complexity 23 (threshold 15). Drivers by points: if/else 10 (15 pts), loops 3 (6 pts), boolean chains 2 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".agents/skills/subagent-creator/scripts/utils.py"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a3b87d55a90fdbd55a2dc8fa92f8169013b960e5ec9ab5bf434c7f490c4989c"}},{"ruleId":"D2","level":"warning","message":{"text":"snippets._ (cognitive 21): snippets._ has cognitive complexity 21 (threshold 15). Drivers by points: if/else 19 (20 pts), loops 1 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"website/snippets/attachments.go"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ce09e8caa7b53a79af35910470b454afc48a5ca2593c5db46fb331c4a61f08b"}},{"ruleId":"D2","level":"warning","message":{"text":"AttachmentFileRequestBuilder.Post (cognitive 18): AttachmentFileRequestBuilder.Post has cognitive complexity 18 (threshold 15). Drivers by points: if/else 14, boolean chains 4. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"attachmentapi/attachment_file_request_builder.go"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b093b2e0e5b8598748b856a26517bff5afeb8b20be8e4902a3e526c0821e971"}},{"ruleId":"D2","level":"warning","message":{"text":"quick_validate._parse_frontmatter (cognitive 17): quick_validate._parse_frontmatter has cognitive complexity 17 (threshold 15). Drivers by points: if/else 4 (10 pts), loops 2 (4 pts), boolean chains 3 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".agents/skills/subagent-creator/scripts/quick_validate.py"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"daa79aed31860a7282224fbd0c180a75215bb7287111165dc3fb8b419073f38e"}},{"ruleId":"D2","level":"warning","message":{"text":"CreateServiceResult.GetSysID (cognitive 16): CreateServiceResult.GetSysID has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (13 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":"appserviceapi/create_service_result.go"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"02e238937fd06b59aa8834b2575a84537c86909f47afe3e947564a08119984f9"}},{"ruleId":"D2","level":"warning","message":{"text":"AttachmentUploadRequestBuilder.Post (cognitive 16): AttachmentUploadRequestBuilder.Post has cognitive complexity 16 (threshold 15). Drivers by points: if/else 15, boolean chains 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":"attachmentapi/attachment_upload_request_builder.go"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"eda56ecb0472372ed495df7eadf525717677a23bfaccdc61c985482c9093055b"}},{"ruleId":"D2","level":"warning","message":{"text":"snippets.tableGuideSnippets (cognitive 16): snippets.tableGuideSnippets has cognitive complexity 16 (threshold 15). Drivers by points: if/else 12 (15 pts), loops 1 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"website/snippets/tables.go"},"region":{"startLine":267}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c6dc78859df49fc33577da531d64a82a4fa8c94d163e98a34464198c73169a7"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Account: TooManyMethods \u2014 106 methods. The bar is 30 methods; this is 76 over it, 3.53\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"accountapi/account.go"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bc3d7033f2c11c0ed21faade4d790e4facc2913fd1f9580827d702489c30a74"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: CaseResultModel: TooManyMethods \u2014 79 methods. The bar is 30 methods; this is 49 over it, 2.63\u00D7 the bar. Most of these members implement caseapi.CaseResult (64 of 79 members), so moving them onto a smaller type would remove them from that contract rather than reduce it. To reduce it, split the contract instead: give each cohesive group of operations its own smaller interface and its own implementing type. Where the contract has to stay whole, move the work behind these members into collaborator types, so what is left here is a forward per member rather than a responsibility per member."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"caseapi/case_result.go"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"48413aa9662a9f1a32a2aee0c8758455eabc73d4af8f6a0838e5b20a64ebe54c"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Attachment: TooManyMethods \u2014 44 methods. The bar is 30 methods; this is 14 over it, 1.47\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"attachmentapi/attachment.go"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"6517287668681aba4030e14cb1621e7a251d6446ff7be7eb842fd26eb36a1b65"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: File: TooManyMethods \u2014 44 methods. The bar is 30 methods; this is 14 over it, 1.47\u00D7 the bar. Most of these members implement attachmentapi.file (42 of 44 members), so moving them onto a smaller type would remove them from that contract rather than reduce it. To reduce it, split the contract instead: give each cohesive group of operations its own smaller interface and its own implementing type. Where the contract has to stay whole, move the work behind these members into collaborator types, so what is left here is a forward per member rather than a responsibility per member."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"attachmentapi/file.go"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e51a015af153b8884a6ba4646cd9301c28c377bebe529cb6ad1f6a77ff411a9"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: MockFile: TooManyMethods \u2014 43 methods. The bar is 30 methods; this is 13 over it, 1.43\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/mocking/mock_file.go"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbb439fe7228ff5cd1098a0d936c97a297b2c3e89743a0c12a7bcdaaad22b6a3"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: snippets._: FunctionTooLong \u2014 _ 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":"website/snippets/attachments.go"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e8d51200af8e170272fc1c0b1e83c41b45d207018140cd4e3f7cbadbad6664c"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: MockSerializationWriter: TooManyMethods \u2014 40 methods. The bar is 30 methods; this is 10 over it, 1.33\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/mocking/mock_serialization_writer.go"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e48e03801f713c30415d8a87ffb1b6f33a5e774789c41ad361c79ca6827225a"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: PoliciesMapping: TooManyMethods \u2014 38 methods. The bar is 30 methods; this is 8 over it, 1.27\u00D7 the bar. Most of these members implement policyapi.PoliciesMappingable (36 of 38 members), so moving them onto a smaller type would remove them from that contract rather than reduce it. To reduce it, split the contract instead: give each cohesive group of operations its own smaller interface and its own implementing type. Where the contract has to stay whole, move the work behind these members into collaborator types, so what is left here is a forward per member rather than a responsibility per member."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"policyapi/policies_mappings.go"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"4535007c8c3e6409a83ca28b191402da5c5c3c34408c50c114fc11aaac7f43e0"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ImpactedDeployableBySysIDResult: TooManyMethods \u2014 36 methods. The bar is 30 methods; this is 6 over it, 1.20\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cdmchangesetapi/impacted_deployable_by_sys_id_result.go"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8da9a45ab4fce7f84736e27240c8a98702fd2b8689dd55aa1ce68fc6b4d169b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: snippets/reference_actions.go: FileTooLong \u2014 553 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 53 over it, 1.11\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"website/snippets/reference_actions.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"38eac5d7490046f0b8128054b9de76cc84e85f6009bd8a6e22264c03aad60bb2"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: AvailabilityRequestModel: TooManyMethods \u2014 32 methods. The bar is 30 methods; this is 2 over it, 1.07\u00D7 the bar. Most of these members implement appointmentbookingapi.AvailabilityRequest (30 of 32 members), so moving them onto a smaller type would remove them from that contract rather than reduce it. To reduce it, split the contract instead: give each cohesive group of operations its own smaller interface and its own implementing type. Where the contract has to stay whole, move the work behind these members into collaborator types, so what is left here is a forward per member rather than a responsibility per member."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"appointmentbookingapi/availability_request.go"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fd3f4349edf6b70194d90145e162849f53f85818b360a2c8881a457ae8e5d45"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ServiceConfigModel: TooManyMethods \u2014 32 methods. The bar is 30 methods; this is 2 over it, 1.07\u00D7 the bar. Most of these members implement appointmentbookingapi.ServiceConfig (30 of 32 members), so moving them onto a smaller type would remove them from that contract rather than reduce it. To reduce it, split the contract instead: give each cohesive group of operations its own smaller interface and its own implementing type. Where the contract has to stay whole, move the work behind these members into collaborator types, so what is left here is a forward per member rather than a responsibility per member."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"appointmentbookingapi/service_config.go"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"89ecd8f225676a8c95b71236bac43935db48831d371f78baa91aa14437a23c8f"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ImpactedDeployableResult: TooManyMethods \u2014 32 methods. The bar is 30 methods; this is 2 over it, 1.07\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cdmchangesetapi/impacted_deployable_result.go"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"7308ef8e0b7b5f8b3ce4b883da5630a47141d66961c7e2d84a94b0b1eb481d74"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (17 members, 50\u002B identical tokens): accountapi/account_item_request_builder.go:73-84 | accountapi/account_request_builder.go:84-95 | activitysubscriptionsapi/activities_request_builder.go:89-100 | activitysubscriptionsapi/facets_instance_request_builder.go:64-75 | aggregationapi/stats_request_builder.go:91-102 | appointmentbookingapi/calendar_request_builder.go:74-86 | appointmentbookingapi/configuration_request_builder.go:74-86 | appserviceapi/find_service_request_builder.go:74-85 | appserviceapi/get_content_request_builder.go:74-84 | attachmentapi/attachment_item_request_builder.go:111-122 | attachmentapi/attachment_request_builder.go:175-186 | caseapi/case_activities_request_builder.go:71-82 | caseapi/case_field_values_request_builder.go:73-84 | caseapi/case_item_request_builder.go:82-93 | caseapi/case_request_builder.go:93-104 | tableapi/table_item_request_builder.go:197-208 | tableapi/table_request_builder.go:196-208 \u2014 These 17 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 17 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 17 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"accountapi/account_item_request_builder.go"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"3773197e48ec748866b3492d517253c6314420d7b426543d6296e747fa08a2b5"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (7 members, 50\u002B identical tokens): cmdbinstanceapi/cmdb_class_request_builder.go:104-120 | cmdbinstanceapi/cmdb_class_request_builder.go:123-143 | cmdbinstanceapi/cmdb_item_request_builder.go:138-151 | cmdbinstanceapi/cmdb_item_request_builder.go:154-174 | cmdbinstanceapi/cmdb_item_request_builder.go:177-197 | cmdbinstanceapi/cmdb_relation_item_request_builder.go:57-69 | cmdbinstanceapi/cmdb_relation_request_builder.go:72-92 \u2014 These 7 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 7 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 7 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmdbinstanceapi/cmdb_class_request_builder.go"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"f15c26a16631669468c8b6caf2830da962dbf39175ba77d3ff1a4b1068b13470"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (6 members, 50\u002B identical tokens): attachmentapi/attachment_item_request_builder.go:92-108 | cdmapplicationsapi/deployables_request_builder.go:42-56 | cdmapplicationsapi/shared_components_request_builder.go:41-55 | cmdbinstanceapi/cmdb_relation_item_request_builder.go:33-54 | documentsapi/delete_request_builder.go:34-50 | tableapi/table_item_request_builder.go:104-120 \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":"attachmentapi/attachment_item_request_builder.go"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"88e3f07077444e6eb28b0e5753bc4d59453ab6f1e544c9dea33daa43fe8146f4"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): attachmentapi/attachment_request_builder.go:86-127 | attachmentapi/attachment_request_builder.go:130-158 | batchapi/batch_request_builder.go:51-80 | tableapi/table_request_builder.go:77-118 | tableapi/table_request_builder.go:165-193 \u2014 These 5 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 5 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 5 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"attachmentapi/attachment_request_builder.go"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffcb75bfdb8d13d60b9c18fdcb534d4a955625875f7107464477f40ed0bb2037"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): website/snippets/account_guide.go:20-56 | website/snippets/appointment_guide.go:20-54 | website/snippets/appservice_guide.go:20-42 | website/snippets/cmdb_guide.go:20-56 | website/snippets/pagination_guide.go:22-61 \u2014 These 5 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 5 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 5 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"website/snippets/account_guide.go"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"76927eaa93d7051f740beb10d4b804f46e810039c306956eb972e10ec2eabf58"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): website/snippets/auth.go:79-103 | website/snippets/auth.go:105-127 | website/snippets/auth.go:129-151 | website/snippets/auth.go:153-174 | website/snippets/auth.go:225-252 \u2014 These 5 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 5 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 5 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"website/snippets/auth.go"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"9802a4f8170f492c5c9f215c5af4a7d6339da7d7ecce9481002c6b6c1022e491"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): attachmentapi/attachment_item_file_request_builder.go:124-136 | documentsapi/content_request_builder.go:69-78 | documentsapi/document_get_request_builder.go:75-88 | documentsapi/versions_request_builder.go:68-77 \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":"attachmentapi/attachment_item_file_request_builder.go"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f4381c5c673df854ec81cf5b994361455cb0511b9791f458c883b769b77b4b2"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): attachmentapi/attachment_upload_request_builder.go:49-112 | tableapi/table_item_request_builder.go:123-157 | tableapi/table_item_request_builder.go:160-194 | tableapi/table_request_builder.go:121-155 \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":"attachmentapi/attachment_upload_request_builder.go"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"d70e93a173f1bb7e871629580efd93cea298c8b445535994cd795530061e707c"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): website/snippets/attachments_delete_aging.go:23-100 | website/snippets/attachments_download.go:24-111 | website/snippets/attachments_recent.go:21-82 | website/snippets/attachments_upload.go:22-84 \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":"website/snippets/attachments_delete_aging.go"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"d41d8edc10257011b35329848e9f84ea00ca16452ed265866d28e397e7985d9b"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): website/snippets/cdm_applications_guide.go:20-50 | website/snippets/cdm_changesets_guide.go:20-55 | website/snippets/cdm_editor_guide.go:20-50 | website/snippets/policy_guide.go:20-53 \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":"website/snippets/cdm_applications_guide.go"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"72bc8bdac4506d82bd123e7c6b63001de58dea529b9b255e489a81b3295eb7fc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (34 corresponding lines): cdmeditorapi/editor_request_builders.go:112-145 | cdmeditorapi/editor_request_builders.go:160-193 \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":"cdmeditorapi/editor_request_builders.go"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"4429ec94db5341472ed79d01e1b7aa6fd50672f6f94753cc55b87f96b90ea6d5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (41 corresponding lines): internal/oauth2/client.go:232-273 | internal/oauth2/client.go:322-362 \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":"internal/oauth2/client.go"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0be0a3088ee01b420192df511c980070b8b1baf600b2bf69f413191d33f4417"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (8 members, 30\u002B corresponding lines): cdmchangesetapi/changeset_request_builders.go:83-115 | cdmchangesetapi/changeset_request_builders.go:153-185 | cdmchangesetapi/changeset_request_builders.go:222-251 | cdmchangesetapi/changeset_request_builders.go:266-298 | cdmchangesetapi/changeset_request_builders.go:313-345 | cdmchangesetapi/changeset_request_builders.go:380-409 | cdmeditorapi/editor_request_builders.go:77-109 | cdmeditorapi/editor_request_builders.go:231-263 \u2014 These 8 members are one piece of code written 8 times and then edited apart: every two of them correspond over at least 30 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":"cdmchangesetapi/changeset_request_builders.go"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"73a7277baee62ae83100f3eda960b2bace6cda79a93f48d08f7b01cf17f9e8c6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (46 corresponding lines): appointmentbookingapi/appointment_request.go:17-62 | appointmentbookingapi/availability_request.go:17-63 \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":"appointmentbookingapi/appointment_request.go"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9d1803ba838539a6497941a665e2401f57aedad6f833784ee5feee1eb157924"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (48 corresponding lines): website/snippets/tables.go:128-181 | website/snippets/tables.go:183-230 \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":"website/snippets/tables.go"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"25d28319387f167988461c47efad904ec1d302b713a80add34a051416af99bde"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (48 corresponding lines): website/snippets/stats_guide.go:21-68 | website/snippets/tables_query.go:21-72 \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":"website/snippets/stats_guide.go"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2555530efd394ca3059933b3ebfe998a2c32784f449e5300e2daaa2ff78d425"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (31 corresponding lines): cmdbinstanceapi/cmdb_class_request_builder.go:71-101 | cmdbinstanceapi/cmdb_relation_request_builder.go:39-69 \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":"cmdbinstanceapi/cmdb_class_request_builder.go"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6dd89bb6ce2ac63d83edbac852561bde6b093da3f902c69535ba3c557f8b8d0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (31 corresponding lines): documentsapi/explore_request_builder.go:35-65 | documentsapi/versions_request_builder.go:35-65 \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":"documentsapi/explore_request_builder.go"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd0771ee47b4cc1deb266c364691c7abf6f29c47209ee79cfc226369cf90f2e9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 31\u002B corresponding lines): cmdbinstanceapi/cmdb_item_request_builder.go:105-135 | documentsapi/document_get_request_builder.go:42-72 | documentsapi/document_post_request_builder.go:42-72 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 31 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":"cmdbinstanceapi/cmdb_item_request_builder.go"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"61e8e170d4558c2dc248fa07e7147b1bf7add0b16683a34aa80b47b61ab8d232"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 26\u002B corresponding lines): cdmapplicationsapi/uploads_collections_file_request_builder.go:42-67 | cdmapplicationsapi/uploads_collections_request_builder.go:43-68 | cdmapplicationsapi/uploads_components_request_builder.go:43-68 | cdmapplicationsapi/uploads_components_vars_request_builder.go:41-66 | cdmapplicationsapi/uploads_deployables_file_request_builder.go:42-67 \u2014 These 5 members are one piece of code written 5 times and then edited apart: every two of them correspond over at least 26 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":"cdmapplicationsapi/uploads_collections_file_request_builder.go"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"39d96e3b2f1c560729bd2aa970ad138254642acad6dd6ff3449361f15b24e4be"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (31 corresponding lines): aggregationapi/stats_request_builder.go:54-88 | attachmentapi/attachment_item_request_builder.go:59-89 \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":"aggregationapi/stats_request_builder.go"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"04a5e31055d8ca9d365920de9d45f2a95b238107475961a223b1f1d16070f905"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (30 corresponding lines): activitysubscriptionsapi/facets_instance_request_builder.go:32-61 | cmdbinstanceapi/cmdb_class_request_builder.go:38-68 \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":"activitysubscriptionsapi/facets_instance_request_builder.go"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"35805538c370e06b5faf6284c672f3187a21d99f72d7e7426d42f6e88dd1b906"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 34\u002B corresponding lines): website/snippets/modules.go:196-230 | website/snippets/modules.go:232-265 | website/snippets/modules.go:296-330 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 34 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"website/snippets/modules.go"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"c566f1fcc4a18fa824514ec3a4b0f8f1bad14777e5d107456aed3ff2c1db8848"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 26\u002B corresponding lines): appserviceapi/populate_service_request_builder.go:40-68 | appserviceapi/service_details_request_builder.go:41-69 | cdmapplicationsapi/deployables_request_builder.go:59-84 | cdmapplicationsapi/shared_components_request_builder.go:58-83 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 26 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":"appserviceapi/populate_service_request_builder.go"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca709478dc07455cd00688379d96e41b4f2d193d2c056157c7f1975bd5a3dcea"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (34 corresponding lines): website/snippets/tables_create.go:21-62 | website/snippets/tables_update.go:21-54 \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":"website/snippets/tables_create.go"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"b86cada43be9d9520ecbdc9be1aea03069080e7b63ac31f8207f79bc096c4c69"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): cdmapplicationsapi/export_item_content_request_builder.go:41-66 | documentsapi/content_request_builder.go:36-66 \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":"cdmapplicationsapi/export_item_content_request_builder.go"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcbef474a0af9ac2f85a69c39d9100609e21e87ed1244b7ceb3252c82d674449"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): appointmentbookingapi/appointment_request.go:75-94 | appointmentbookingapi/availability_request.go:76-97 \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":"appointmentbookingapi/appointment_request.go"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bcfadf1a49dd9b0880347bc85b931ab4c95c6d4417abec8a3e7be99af8669ba"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): appointmentbookingapi/appointment_request.go:97-113 | appointmentbookingapi/availability_request.go:100-118 \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":"appointmentbookingapi/appointment_request.go"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae0e0017bfef50fd96d23c6e0c6182f9e2436075e5e9db4c51cd0235eb80501a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): appointmentbookingapi/configuration_response.go:44-64 | appointmentbookingapi/service_config.go:70-100 \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":"appointmentbookingapi/configuration_response.go"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"163094e2945e700fc9222cda088415b5f78a2d8a4590b775262b8bbd246ea522"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 31\u002B corresponding lines): credentials/client_credentials_credential.go:57-87 | credentials/jwt_credential.go:106-136 | credentials/ropc_credential.go:59-89 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 31 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":"credentials/client_credentials_credential.go"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f5b0dd9fda9c5ef9fc6aa28affa85351ab141459d18386b77aef1da9c05d5b4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): cdmchangesetapi/changeset_request_builders.go:118-138 | cdmeditorapi/editor_request_builders.go:197-216 \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":"cdmchangesetapi/changeset_request_builders.go"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebb30abb465d6e098ae8d70cd354611c44ec951ffb7dbfaf38520400b516548c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (30 corresponding lines): website/snippets/case_guide.go:20-62 | website/snippets/quickstart.go:20-49 \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":"website/snippets/case_guide.go"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"55c863ccdfc3e44e7cf96da151d6e9d896725953551277a73687fc01b3788131"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 17\u002B corresponding lines): cdmapplicationsapi/uploads_collections_request_builder.go:71-87 | cdmapplicationsapi/uploads_components_request_builder.go:71-87 | cdmapplicationsapi/uploads_components_vars_request_builder.go:69-85 \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":"cdmapplicationsapi/uploads_collections_request_builder.go"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"45f2a95c9ed00b0e36e4a4dd7ea189f6de2fbc7333ead3673ae4133c94d83187"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): documentsapi/action_request_builder.go:92-106 | documentsapi/document_post_request_builder.go:75-93 \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":"documentsapi/action_request_builder.go"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5b1ea5420025ac3b71948cb2c2b2fa6eb4b65b4ffc13cc2937a6eac02d17462"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): cdmapplicationsapi/uploads_collections_file_request_builder.go:70-86 | cdmapplicationsapi/uploads_deployables_file_request_builder.go:70-86 \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":"cdmapplicationsapi/uploads_collections_file_request_builder.go"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f102842d2182e78597c8b536d563b0ea02648ea06b553edb52e6e09bcb275e4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): caseapi/activities_result_entry_attachment.go:104-122 | cdmchangesetapi/change_set_result.go:25-42 \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":"caseapi/activities_result_entry_attachment.go"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"171c61adaa1b05cbeeb65c5bdf3288add63f12ff921d73b50e52341112fb14e1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 16\u002B corresponding lines): appserviceapi/populate_service_request_builder.go:71-86 | appserviceapi/service_details_request_builder.go:72-87 | caseapi/case_item_request_builder.go:126-142 \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":"appserviceapi/populate_service_request_builder.go"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"59033f610111eb21ea3860fa7120f37112309e7ae17154cb86e9a234261127df"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): cdmapplicationsapi/deployables_request_builder.go:86-101 | cdmapplicationsapi/shared_components_request_builder.go:103-118 \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":"cdmapplicationsapi/deployables_request_builder.go"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cc3020ed09a6acd4926f4f5233c17da00d421ee99ebc2f924c3b4c75df7febd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 27\u002B corresponding lines): website/snippets/modules.go:168-194 | website/snippets/modules.go:267-294 | website/snippets/modules.go:332-358 | website/snippets/modules.go:360-387 \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":"website/snippets/modules.go"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"f19779d7ee4d2e450da958b46bdf714aff7ad12c72641e7f89307d8fd0a3ea29"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 34\u002B corresponding lines): website/snippets/tables.go:54-89 | website/snippets/tables.go:91-126 | website/snippets/tables.go:232-265 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 34 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"website/snippets/tables.go"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"1726f7721101bfdef4f6cfed463e810a46b65dca526348dae9a8b5e07dcce316"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 19\u002B corresponding lines): core/page_iterator.go:192-210 | core/page_iterator.go:213-231 | core/page_iterator.go:234-252 | core/page_iterator.go:255-273 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 19 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/page_iterator.go"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b47370088193d2ea1100b70c4223087f356947db4af23a951e59d33a4bebaeb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 16\u002B corresponding lines): appointmentbookingapi/appointment_request_builder.go:75-90 | appserviceapi/register_service_request_builder.go:74-89 | tableapi/table_item_request_builder.go:245-262 \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":"appointmentbookingapi/appointment_request_builder.go"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"6110e75668834dac63db9178cd328bb5e45ff84bb78c340a9e382bb0a5f7bd15"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): documentsapi/delete_request_builder.go:53-65 | documentsapi/explore_request_builder.go:68-80 \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":"documentsapi/delete_request_builder.go"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"36e8be9e5fefbdfb622f7e9edc8e3b5c9d5e10008d3766b64ee497eccf173f3c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): website/snippets/modules.go:42-60 | website/snippets/modules.go:129-150 \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":"website/snippets/modules.go"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"e53a2b2677f5bf109195ba7d6342ded2e1c45e1bca05336496039f7bf71241f3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): website/snippets/auth.go:176-198 | website/snippets/auth.go:200-223 \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":"website/snippets/auth.go"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"7740671b35719666dd6419ad9879d107a5cd4ae4e74a91f0418d7048aa7f0a26"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): website/snippets/concepts.go:26-56 | website/snippets/modules.go:389-408 \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":"website/snippets/concepts.go"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7e7ec18609a7076def6caf08c88a7432da4d35a40b74bd309251efbcce63010"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): cmdbinstanceapi/cmdb_instance.go:15-44 | documentsapi/document.go:14-36 \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":"cmdbinstanceapi/cmdb_instance.go"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d697af3490dc260343cf22cabe24583bf496f098e2d6c482cc2be87d31a0e1a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): credentials/confidential_client.go:16-42 | credentials/public_client.go:20-43 \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":"credentials/confidential_client.go"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2757aadb7723ff57a95846dd1df0c04efab47b934c95c74b7c3aab1516e6a17"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): tableapi/element_visitor.go:51-60 | tableapi/element_visitor.go:63-73 \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":"tableapi/element_visitor.go"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f75ee84800aad6e5a0a6ce4009f00276d5674ae7a87a3298fa1ee1da7a1e7d2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 12\u002B corresponding lines): appserviceapi/create_service_result.go:95-107 | appserviceapi/service.go:30-42 | cdmapplicationsapi/export_result.go:25-36 | cdmapplicationsapi/shared_library_component_application.go:25-36 | cdmeditorapi/node_result.go:45-57 \u2014 These 5 members are one piece of code written 5 times and then edited apart: every two of them correspond over at least 12 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 5 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"appserviceapi/create_service_result.go"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"381fd08bbff7a842ac15721cb6ce17797370ba4ade1a2ccaecdc512a40da2aee"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): policyapi/policies_mappings_request_builder.go:129-140 | policyapi/policies_mappings_request_builder.go:143-154 \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":"policyapi/policies_mappings_request_builder.go"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd90e788d6c2ccd6a1ce83fcb75b1c1dafcc01d95354563f87c7c87c2204cc06"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): website/snippets/reference_actions.go:634-646 | website/snippets/reference_actions.go:648-660 \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":"website/snippets/reference_actions.go"},"region":{"startLine":634}}}],"partialFingerprints":{"codehealthFindingId/v1":"16aa1cac189d61e27200253f3a98bc4a87a3d97ac1cf94c56f56c5ab8080ffbe"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): credentials/external_oidc_client.go:81-93 | credentials/external_oidc_client.go:97-109 \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":"credentials/external_oidc_client.go"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"d325d403a1efed6e90c37ed87a1f4f176cab57cdfc97fbbd0112b81946eefbb2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): internal/serialization/deserializer_func.go:97-109 | internal/serialization/deserializer_func.go:112-124 \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":"internal/serialization/deserializer_func.go"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"e49a4d4485fe383edb8ee1e84196eeeca8148e352c129e33b41f276e7d90fa15"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 13\u002B corresponding lines): website/snippets/reference_actions.go:303-315 | website/snippets/reference_actions.go:343-355 | website/snippets/reference_actions.go:357-369 \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":"website/snippets/reference_actions.go"},"region":{"startLine":303}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5f1a0daec467d459485a9802c87346863906ef354935668989e7930c6dfa42f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): website/snippets/reference_actions.go:592-604 | website/snippets/reference_actions.go:606-618 \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":"website/snippets/reference_actions.go"},"region":{"startLine":592}}}],"partialFingerprints":{"codehealthFindingId/v1":"57c2c2a4f434f6eff2e2a6edb4a1e56a198d4d2e0878fc11a886f9abcd37c2e4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): internal/concurrent_dictionary.go:26-41 | internal/concurrent_dictionary.go:105-121 \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":"internal/concurrent_dictionary.go"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cd78f12d544423b999a55f118d1cde952529d178b64b3f65515f278db49031d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 9\u002B corresponding lines): appserviceapi/create_service_result.go:110-119 | caseapi/activities_result.go:67-76 | cdmapplicationsapi/export_result.go:39-47 | cdmapplicationsapi/shared_library_component_application.go:39-47 | cdmeditorapi/node_result.go:60-69 \u2014 These 5 members are one piece of code written 5 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 5 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"appserviceapi/create_service_result.go"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"dda38ef818103e77aabdd786077979c0d09ba73d88e89482af40d9777307f8a1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): query/condition.go:35-43 | query/condition.go:45-53 \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":"query/condition.go"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b384791ca66977b0dea3cfb1c14a24592d8ac9e401e464b015ee0317b28eb4a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): query/query.go:54-66 | query/query.go:72-84 \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":"query/query.go"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"3aaafb5c940200f467b988e3883fe4dba4925963445cd6c6fb3a577b7a2239b4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): appserviceapi/app_service_action_result.go:45-52 | appserviceapi/app_service_action_result.go:139-146 \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":"appserviceapi/app_service_action_result.go"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"79003d1c07edc03c9230b2d1c2b86b12611fb8cdaecdc6fed3c9cc94dbf229a3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): credentials/client_credentials_credential.go:14-26 | credentials/ropc_credential.go:14-27 \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":"credentials/client_credentials_credential.go"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5e573bbc847897e459497342254fd7b8d943b87b07250b98e96f3cb9ca8c535"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): appointmentbookingapi/execute_rule_conditions_result.go:30-41 | caseapi/activities_result_field.go:70-81 \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":"appointmentbookingapi/execute_rule_conditions_result.go"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"02820c3881912b67160a31161070e0479737abf81f761d1e052cfc98c8e61675"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 14\u002B corresponding lines): internal/concurrent_dictionary.go:44-57 | internal/concurrent_dictionary.go:60-73 | internal/concurrent_dictionary.go:89-102 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 14 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/concurrent_dictionary.go"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"d487533ff4a01e492c27b47f763f8074e7884cff584be78ded45e6a93a08e0eb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (6 members, 11\u002B corresponding lines): website/snippets/reference_actions.go:69-79 | website/snippets/reference_actions.go:161-171 | website/snippets/reference_actions.go:317-327 | website/snippets/reference_actions.go:533-543 | website/snippets/reference_actions.go:545-555 | website/snippets/reference_actions.go:580-590 \u2014 These 6 members are one piece of code written 6 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 6 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"website/snippets/reference_actions.go"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"eac02f9a9efc2f4cb78a94330300fa7b596c0b7a7e5aa5c5f6330796d5b7c13c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 13\u002B corresponding lines): website/snippets/reference_actions.go:187-199 | website/snippets/reference_actions.go:201-213 | website/snippets/reference_actions.go:253-265 | website/snippets/reference_actions.go:329-341 | website/snippets/reference_actions.go:782-794 \u2014 These 5 members are one piece of code written 5 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 5 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"website/snippets/reference_actions.go"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"07edec15107674671868004001f79ef1fd95c835dd315e1f6df23439c46bced5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): website/snippets/reference_actions.go:371-379 | website/snippets/reference_actions.go:487-495 \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":"website/snippets/reference_actions.go"},"region":{"startLine":371}}}],"partialFingerprints":{"codehealthFindingId/v1":"15af8ee7320f068bdde6fb2bd666c68a672d358bb7e683a8b9959a99abbfada9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 11\u002B corresponding lines): credentials/client.go:77-87 | credentials/confidential_client.go:45-55 | credentials/public_client.go:46-56 \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":"credentials/client.go"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a9e1cbd92a656291345a0a8bfed4118348c2f50f3a2b325d945d4d130b165fb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 13\u002B corresponding lines): internal/ast/stringer.go:27-39 | internal/ast/stringer.go:41-56 | internal/ast/stringer.go:58-70 \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":"internal/ast/stringer.go"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"5863306448cc1f360caaabae52c0e252ccbd31a08a71fa211ccb40c66c39a4bf"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 10\u002B corresponding lines): cdmapplicationsapi/collection_upload_request.go:25-35 | cdmapplicationsapi/component_upload_request.go:25-35 | cdmapplicationsapi/component_vars_upload_request.go:25-34 | cdmapplicationsapi/shared_component_update_request.go:25-34 \u2014 These 4 members are one piece of code written 4 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 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cdmapplicationsapi/collection_upload_request.go"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f85aadc0e5d5f02a42315a8c87d7ad38d97d75cdeda38dd39906663895da97b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 13\u002B corresponding lines): appserviceapi/cmdb_group_based_population_method.go:62-74 | appserviceapi/discovery_population_method.go:51-64 | appserviceapi/tag_list_population_method.go:52-64 \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":"appserviceapi/cmdb_group_based_population_method.go"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"43d596c497bf904eb44513eb6eccd0f01d63f94e33edae7c057be87bd4caba24"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 15\u002B corresponding lines): credentials/authorization_code_credential.go:41-55 | credentials/client_credentials_credential.go:29-43 | credentials/external_oidc_credential.go:37-51 | credentials/ropc_credential.go:30-45 \u2014 These 4 members are one piece of code written 4 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 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"credentials/authorization_code_credential.go"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"889526792f476172f3e52414ce213c44f0a056d0e55b25a8247f95cd383e222a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 7\u002B corresponding lines): cdmapplicationsapi/collection_upload_request.go:38-45 | cdmapplicationsapi/component_upload_request.go:38-45 | cdmapplicationsapi/shared_component_update_request.go:37-43 \u2014 These 3 members are one piece of code written 3 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 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cdmapplicationsapi/collection_upload_request.go"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"2248dd78bfa2824de5aa5297eff07946d3840fdf8974f8722d4ee9232f29d811"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): cmdbinstanceapi/cmdb_instance.go:68-75 | documentsapi/document.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":"cmdbinstanceapi/cmdb_instance.go"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"077e1bd1a85e444e841126cd29c95360db9829cfe465384fc84e984a406da00b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): internal/store/backed_model_accessor.go:21-34 | internal/store/backed_model_mutator.go:18-29 \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":"internal/store/backed_model_accessor.go"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"9724bf51c0e40a9472edaf3176e4181586730d44cc77f05b0d8b3ea6dc1cfd52"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 14\u002B corresponding lines): caseapi/reference.go:16-29 | cdmapplicationsapi/reference.go:15-34 | cdmeditorapi/node_update_request_model.go:16-29 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 14 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"caseapi/reference.go"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"f881109e10e491997cab0dfd0e3acc055994bfee0cb00296f29f675598eda663"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): cmdbinstanceapi/cmdb_class_request_builder.go:19-28 | cmdbinstanceapi/cmdb_relation_request_builder.go:19-29 \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":"cmdbinstanceapi/cmdb_class_request_builder.go"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"013ad13bb8a2bb7a05921bcb17e9a352303bb11a02d650521ea426c658256aa9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): internal/option.go:12-25 | internal/serialization/serializer_func.go:18-29 \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":"internal/option.go"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b2e53173e347b0382fb8cf60e041b8c75c58699c82e5e876b42a47baf233590"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): core/base_model.go:49-59 | core/service_now_item_response.go:60-73 \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":"core/base_model.go"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"65f8b138c001bf4a81d677f710b340808390d00b0dbb9cb5f8f0856fa1b74766"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 6\u002B corresponding lines): appserviceapi/create_service_result.go:38-43 | batchapi/rest_request_header.go:66-75 | cdmeditorapi/node_update_request_model.go:48-53 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 6 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":"appserviceapi/create_service_result.go"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"d929318b2ac1ad6b9af70897bee690e25b402b5410f370b08853b33864e9ebae"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 8\u002B corresponding lines): aggregationapi/stats_result.go:58-66 | appserviceapi/populate_service_request.go:30-37 | core/service_now_item_response.go:42-50 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 8 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"aggregationapi/stats_result.go"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"2494fb715ee05a137c46cb1062d5b15df4e9ab94a7faaac104328d781f3c03c3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (41 corresponding lines): tableapi/table_item_request_builder_patch_query_parameters.go:7-47 | tableapi/table_item_request_builder_put_query_parameters.go:7-47 \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":"tableapi/table_item_request_builder_patch_query_parameters.go"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"495be78e18774eb8d9bf58d7048784efe130d6445b97c20c83048648c7a38006"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25\u201326 lines \u00D7 2): website/snippets/attachments_delete_aging.go:48-72 | website/snippets/attachments_download.go:44-69 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060website/snippets/attachments_delete_aging.go:48\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060website/snippets/attachments_delete_aging.go:47\u0060 calls \u0060Date\u0060, \u0060Before\u0060, \u0060NewDateTimeValue\u0060 and \u0060website/snippets/attachments_download.go:43\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"website/snippets/attachments_delete_aging.go"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"a15eba6038a8f3cb425671ad5483b049e0237aafadbd0ced3ceadbe8658fec9a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2): documentsapi/explore_request_builder.go:41-65 | documentsapi/versions_request_builder.go:41-65 \u2014 before extracting anything, compare \u0060documentsapi/explore_request_builder.go\u0060 and \u0060documentsapi/versions_request_builder.go\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 50 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 \u0060documentsapi/explore_request_builder.go:41\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":"documentsapi/explore_request_builder.go"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc5f0861353f062561a0ed770a964ed4e765d0e138d1a5c6e1ec7938fcfb98c2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 5): cmdbinstanceapi/cmdb_class_request_builder.go:81-101 | cmdbinstanceapi/cmdb_item_request_builder.go:49-69 | cmdbinstanceapi/cmdb_item_request_builder.go:82-102 | cmdbinstanceapi/cmdb_item_request_builder.go:115-135 | cmdbinstanceapi/cmdb_relation_request_builder.go:49-69 \u2014 before extracting anything, compare \u0060cmdbinstanceapi/cmdb_class_request_builder.go\u0060 and \u0060cmdbinstanceapi/cmdb_item_request_builder.go\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 87 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other 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 \u0060cmdbinstanceapi/cmdb_class_request_builder.go:81\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":"cmdbinstanceapi/cmdb_class_request_builder.go"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff6c825ea60419e3857ef2a6d07c1e54ef8dfca75f130156e4d6f0b9a69d012f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 4): tableapi/table_item_request_builder.go:81-101 | tableapi/table_item_request_builder.go:137-157 | tableapi/table_item_request_builder.go:174-194 | tableapi/table_request_builder.go:135-155 \u2014 before extracting anything, compare \u0060tableapi/table_item_request_builder.go\u0060 and \u0060tableapi/table_request_builder.go\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 68 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060tableapi/table_item_request_builder.go:81\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":"tableapi/table_item_request_builder.go"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d575fffad0d0886900712f4dcced112ce4d396a2abf6629dd08769a102e766b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): documentsapi/document_get_request_builder.go:52-72 | documentsapi/document_post_request_builder.go:52-72 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060documentsapi/document_get_request_builder.go:52\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":"documentsapi/document_get_request_builder.go"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"7086e79b73144f5e4dd4c6b44f728e1ad5d1be4d00690acbef71f765ec1a4e99"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 3): caseapi/case_item_request_builder.go:60-79 | caseapi/case_item_request_builder.go:104-123 | caseapi/case_request_builder.go:115-134 \u2014 before extracting anything, compare \u0060caseapi/case_item_request_builder.go\u0060 and \u0060caseapi/case_request_builder.go\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 63 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other 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 \u0060caseapi/case_item_request_builder.go:60\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":"caseapi/case_item_request_builder.go"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6e4c3e64f887c8fe6554584efeeb0bd8fc79dfcfb652e57ec6957e005e9c2eb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 5): website/snippets/auth.go:86-103 | website/snippets/auth.go:110-127 | website/snippets/auth.go:134-151 | website/snippets/auth.go:157-174 | website/snippets/auth.go:235-252 \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 \u0060website/snippets/auth.go:86\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":"website/snippets/auth.go"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"be6a2f2d6d129881edf164613067422a1a0ca33cbcfb9c7000e87540a8e5297d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): cdmeditorapi/editor_request_builders.go:128-145 | cdmeditorapi/editor_request_builders.go:176-193 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060cdmeditorapi/editor_request_builders.go:128\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":"cdmeditorapi/editor_request_builders.go"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"95c61ba93f1a5b664f13a435911252ba524a482dcd4a710ca610c07af4904889"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 6): cdmapplicationsapi/upload_status_item_request_builder.go:48-64 | cdmapplicationsapi/uploads_collections_file_request_builder.go:51-67 | cdmapplicationsapi/uploads_collections_request_builder.go:52-68 | cdmapplicationsapi/uploads_components_request_builder.go:52-68 | cdmapplicationsapi/uploads_components_vars_request_builder.go:50-66 | cdmapplicationsapi/uploads_deployables_file_request_builder.go:51-67 \u2014 before extracting anything, compare \u0060cdmapplicationsapi/upload_status_item_request_builder.go\u0060 and \u0060cdmapplicationsapi/uploads_collections_request_builder.go\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 34 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 \u0060cdmapplicationsapi/upload_status_item_request_builder.go:48\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":"cdmapplicationsapi/upload_status_item_request_builder.go"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb815ab6422e326f65086e83faf48138909f2226f9e8948961d026fb0722e006"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 4): cmdbinstanceapi/cmdb_class_request_builder.go:127-143 | cmdbinstanceapi/cmdb_item_request_builder.go:158-174 | cmdbinstanceapi/cmdb_item_request_builder.go:181-197 | cmdbinstanceapi/cmdb_relation_request_builder.go:76-92 \u2014 before extracting anything, compare \u0060cmdbinstanceapi/cmdb_class_request_builder.go\u0060 and \u0060cmdbinstanceapi/cmdb_item_request_builder.go\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 87 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other 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 \u0060cmdbinstanceapi/cmdb_class_request_builder.go:127\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":"cmdbinstanceapi/cmdb_class_request_builder.go"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"09a7d2621fabb1a23753bb72fbb82fedb8f699a3f6ee9c2f74c492b5dc8e69ac"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201317 lines \u00D7 3): website/snippets/concepts.go:118-134 | website/snippets/tables.go:284-296 | website/snippets/tables_query.go:57-68 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 3 call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"website/snippets/concepts.go"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f76a9434a12aec27d22d74cce99293aaa388ad57eae0c83c9419f86d464e07f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201317 lines \u00D7 2): attachmentapi/attachment_request_builder.go:143-158 | batchapi/batch_request_builder.go:64-80 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060attachmentapi/attachment_request_builder.go:143\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. 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":"attachmentapi/attachment_request_builder.go"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"b99e26ae59b6f89fe8f605f0d7b064f6ce550255e2b92f53e4ffa12f7d470d08"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201317 lines \u00D7 2): website/snippets/attachments.go:118-133 | website/snippets/attachments.go:146-162 \u2014 both copies are in the same file, so extract the block 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":"website/snippets/attachments.go"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f9b1d636a72055ed016e28e970ec8f8e649ce90ba443038ea9b3fbe1696c4da"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201316 lines \u00D7 2): attachmentapi/attachment_request_builder.go:87-102 | attachmentapi/attachment_request_builder.go:131-145 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"attachmentapi/attachment_request_builder.go"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"74e9a5d3a02e79ad0d3df56c7a05c7e219cc807a3d2788fad3e9324ea1887265"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201316 lines \u00D7 2): tableapi/table_request_builder.go:78-93 | tableapi/table_request_builder.go:166-180 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tableapi/table_request_builder.go"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a059db014f3a14e428e1b4adc3dec615c41ef12f92a7157ffae9be93ccef9ac"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 3): attachmentapi/attachment_item_request_builder.go:94-108 | documentsapi/delete_request_builder.go:36-50 | tableapi/table_item_request_builder.go:106-120 \u2014 before extracting anything, compare \u0060attachmentapi/attachment_item_request_builder.go\u0060 and \u0060documentsapi/delete_request_builder.go\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 41 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060attachmentapi/attachment_item_request_builder.go:94\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":"attachmentapi/attachment_item_request_builder.go"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"149346edf87efc54e19dbfb09784086b3e597eedae7b430e1f659840a0a9e0ac"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 3): credentials/client_credentials_credential.go:58-72 | credentials/jwt_credential.go:107-121 | credentials/ropc_credential.go:60-74 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 3 call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"credentials/client_credentials_credential.go"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2dd79a495cd06df2afcea7f5de61b9d79b60435fa5589d18308370d478e1389"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): cdmapplicationsapi/uploads_collections_file_request_builder.go:72-86 | cdmapplicationsapi/uploads_deployables_file_request_builder.go:72-86 \u2014 before extracting anything, compare \u0060cdmapplicationsapi/uploads_collections_file_request_builder.go\u0060 and \u0060cdmapplicationsapi/uploads_deployables_file_request_builder.go\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 63 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other 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 \u0060cdmapplicationsapi/uploads_collections_file_request_builder.go:72\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. 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":"cdmapplicationsapi/uploads_collections_file_request_builder.go"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"12d7941eb0a28a98d676687734f43ea365c34eff563aaf5e938479531b5a86f9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 4): attachmentapi/attachment_item_request_builder.go:93-106 | cmdbinstanceapi/cmdb_relation_item_request_builder.go:34-47 | documentsapi/delete_request_builder.go:35-48 | tableapi/table_item_request_builder.go:105-118 \u2014 before extracting anything, compare \u0060attachmentapi/attachment_item_request_builder.go\u0060 and \u0060documentsapi/delete_request_builder.go\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 41 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"attachmentapi/attachment_item_request_builder.go"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f38a36e224c01ed4c240f274d26178ecaed6726ea69a9a9fb0d2365e825ab17"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): cdmapplicationsapi/deployables_request_builder.go:43-56 | cdmapplicationsapi/shared_components_request_builder.go:42-55 \u2014 before extracting anything, compare \u0060cdmapplicationsapi/deployables_request_builder.go\u0060 and \u0060cdmapplicationsapi/shared_components_request_builder.go\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 78 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cdmapplicationsapi/deployables_request_builder.go"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"ace8e3465a6acb9e683429b0979302a44fc9af0f135f27a5371d4640ecb218a8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): cdmapplicationsapi/deployables_request_builder.go:104-117 | cdmapplicationsapi/shared_components_request_builder.go:87-100 \u2014 before extracting anything, compare \u0060cdmapplicationsapi/deployables_request_builder.go\u0060 and \u0060cdmapplicationsapi/shared_components_request_builder.go\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 78 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cdmapplicationsapi/deployables_request_builder.go"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"d74d0646ee6fa3d5c07858bbce0cdb5f4a5284b2f410550086b363d51873bbf6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201314 lines \u00D7 2): website/snippets/concepts.go:83-96 | website/snippets/quickstart.go:31-40 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"website/snippets/concepts.go"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"df42526ef87ad007716b0e7df9d72df0973d1e9b376ce4b11bc273a8f5dfa971"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): website/snippets/tables.go:134-147 | website/snippets/tables.go:158-171 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"website/snippets/tables.go"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3828ad7da11bb9f5aac1ae5ec0616210185bbcd8e4013bed4585fe6cc102957"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 9): accountapi/account_item_request_builder.go:42-54 | accountapi/account_request_builder.go:53-65 | attachmentapi/attachment_item_request_builder.go:61-73 | cmdbinstanceapi/cmdb_class_request_builder.go:40-52 | cmdbinstanceapi/cmdb_item_request_builder.go:41-53 | documentsapi/content_request_builder.go:38-50 | documentsapi/explore_request_builder.go:37-49 | documentsapi/versions_request_builder.go:37-49 | tableapi/table_item_request_builder.go:73-85 \u2014 before extracting anything, compare \u0060accountapi/account_item_request_builder.go\u0060 and \u0060accountapi/account_request_builder.go\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 37 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060accountapi/account_item_request_builder.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":"accountapi/account_item_request_builder.go"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"23a3eba431458f98905d767471d41a455882649b49b8d1618759105520654424"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3): internal/oauth2/client.go:138-150 | internal/oauth2/client.go:254-266 | internal/oauth2/client.go:342-354 \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":"internal/oauth2/client.go"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0d0f948248c8583c6d274d7290ac0f03e22f07f2bfcb83f3bb5e527c77c2326"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 2): website/snippets/modules.go:414-425 | website/snippets/stats_guide.go:35-47 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060website/snippets/modules.go:414\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"website/snippets/modules.go"},"region":{"startLine":414}}}],"partialFingerprints":{"codehealthFindingId/v1":"702712f2d3f63e402b205267ce8bb8f29e9d5ebbf3fc3b07a8d9ed364e2ed2fb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201312 lines \u00D7 23): accountapi/account_item_request_builder.go:41-52 | accountapi/account_request_builder.go:52-63 | activitysubscriptionsapi/facets_instance_request_builder.go:33-44 | appointmentbookingapi/calendar_request_builder.go:43-54 | appointmentbookingapi/configuration_request_builder.go:43-54 | appserviceapi/find_service_request_builder.go:43-54 | appserviceapi/get_content_request_builder.go:43-54 | attachmentapi/attachment_item_request_builder.go:60-71 | caseapi/case_activities_request_builder.go:42-51 | caseapi/case_field_values_request_builder.go:44-53 | caseapi/case_item_request_builder.go:53-62 | caseapi/case_request_builder.go:64-73 | cdmapplicationsapi/export_item_content_request_builder.go:42-52 | cdmapplicationsapi/export_item_status_request_builder.go:42-52 | cdmapplicationsapi/exports_request_builder.go:43-53 | cdmapplicationsapi/shared_libraries_components_applications_request_builder.go:42-52 | cdmapplicationsapi/upload_status_item_request_builder.go:40-50 | cmdbinstanceapi/cmdb_class_request_builder.go:39-50 | cmdbinstanceapi/cmdb_item_request_builder.go:40-51 | documentsapi/content_request_builder.go:37-48 | documentsapi/explore_request_builder.go:36-47 | documentsapi/versions_request_builder.go:36-47 | tableapi/table_item_request_builder.go:72-83 \u2014 before extracting anything, compare \u0060accountapi/account_item_request_builder.go\u0060 and \u0060accountapi/account_request_builder.go\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 37 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"accountapi/account_item_request_builder.go"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1867d422d6b636369b82f5400fbcbd341a30a6701b94292253098800c41c6ee"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201312 lines \u00D7 17): accountapi/account_item_request_builder.go:74-84 | accountapi/account_request_builder.go:85-95 | activitysubscriptionsapi/activities_request_builder.go:90-100 | activitysubscriptionsapi/facets_instance_request_builder.go:65-75 | aggregationapi/stats_request_builder.go:92-102 | appointmentbookingapi/calendar_request_builder.go:75-86 | appointmentbookingapi/configuration_request_builder.go:75-86 | appserviceapi/find_service_request_builder.go:75-85 | appserviceapi/get_content_request_builder.go:75-84 | attachmentapi/attachment_item_request_builder.go:112-122 | attachmentapi/attachment_request_builder.go:176-186 | caseapi/case_activities_request_builder.go:72-82 | caseapi/case_field_values_request_builder.go:74-84 | caseapi/case_item_request_builder.go:83-93 | caseapi/case_request_builder.go:94-104 | tableapi/table_item_request_builder.go:198-208 | tableapi/table_request_builder.go:197-208 \u2014 before extracting anything, compare \u0060accountapi/account_item_request_builder.go\u0060 and \u0060accountapi/account_request_builder.go\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 37 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. 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":"accountapi/account_item_request_builder.go"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0acfed052033d4dfe2879ad750e72acc3e6a962b2769800601f816fc678c106"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201312 lines \u00D7 13): appointmentbookingapi/appointment_request_builder.go:44-55 | appointmentbookingapi/availability_request_builder.go:43-54 | appointmentbookingapi/execute_rule_conditions_request_builder.go:43-54 | appointmentbookingapi/user_window_request_builder.go:43-54 | appserviceapi/register_service_request_builder.go:43-54 | caseapi/case_request_builder.go:108-117 | cdmapplicationsapi/uploads_collections_file_request_builder.go:43-53 | cdmapplicationsapi/uploads_collections_request_builder.go:44-54 | cdmapplicationsapi/uploads_components_request_builder.go:44-54 | cdmapplicationsapi/uploads_components_vars_request_builder.go:42-52 | cdmapplicationsapi/uploads_deployables_file_request_builder.go:43-53 | cmdbinstanceapi/cmdb_class_request_builder.go:72-83 | cmdbinstanceapi/cmdb_relation_request_builder.go:40-51 \u2014 before extracting anything, compare \u0060appointmentbookingapi/availability_request_builder.go\u0060 and \u0060appointmentbookingapi/execute_rule_conditions_request_builder.go\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 30 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"appointmentbookingapi/appointment_request_builder.go"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"18e0f746643c0b9dc207121973eec09c530019fc72fb487cb5453b9ae328fb63"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 8): cdmchangesetapi/changeset_request_builders.go:84-95 | cdmchangesetapi/changeset_request_builders.go:154-165 | cdmchangesetapi/changeset_request_builders.go:223-234 | cdmchangesetapi/changeset_request_builders.go:267-278 | cdmchangesetapi/changeset_request_builders.go:314-325 | cdmchangesetapi/changeset_request_builders.go:381-392 | cdmeditorapi/editor_request_builders.go:78-89 | cdmeditorapi/editor_request_builders.go:232-243 \u2014 before extracting anything, compare \u0060cdmchangesetapi/changeset_request_builders.go\u0060 and \u0060cdmeditorapi/editor_request_builders.go\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 75 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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 \u0060cdmchangesetapi/changeset_request_builders.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":"cdmchangesetapi/changeset_request_builders.go"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"56209d6c236c62c25953340132fed2c6bf062f17125476a0e8c8fe3ad383e998"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 5): cdmapplicationsapi/uploads_collections_request_builder.go:74-85 | cdmapplicationsapi/uploads_components_request_builder.go:74-85 | cdmapplicationsapi/uploads_components_vars_request_builder.go:72-83 | cdmeditorapi/editor_request_builders.go:121-132 | cdmeditorapi/editor_request_builders.go:169-180 \u2014 before extracting anything, compare \u0060cdmapplicationsapi/uploads_collections_request_builder.go\u0060 and \u0060cdmapplicationsapi/uploads_components_request_builder.go\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 82 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060cdmapplicationsapi/uploads_collections_request_builder.go:74\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. 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":"cdmapplicationsapi/uploads_collections_request_builder.go"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb813d3b3fcdd028a51b5548a9030ad18ad3ce7b77617ad8de80a53cbadf5d1f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201312 lines \u00D7 4): appserviceapi/populate_service_request_builder.go:41-52 | appserviceapi/service_details_request_builder.go:42-53 | caseapi/case_item_request_builder.go:97-106 | cmdbinstanceapi/cmdb_item_request_builder.go:73-84 \u2014 before extracting anything, compare \u0060appserviceapi/populate_service_request_builder.go\u0060 and \u0060appserviceapi/service_details_request_builder.go\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 30 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"appserviceapi/populate_service_request_builder.go"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"d08818a457b06353f977f8b9115129dace5249aa743ab65f0114cb61cf396288"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 4): website/snippets/attachments_delete_aging.go:26-37 | website/snippets/attachments_download.go:27-38 | website/snippets/attachments_recent.go:24-35 | website/snippets/attachments_upload.go:25-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 all 4 call sites, so a change lands once. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060website/snippets/attachments_delete_aging.go:41\u0060 calls \u0060Now\u0060, \u0060AddDate\u0060 and \u0060website/snippets/attachments_download.go:41\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":"website/snippets/attachments_delete_aging.go"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c813d4d6cf599c5d4d98d0d98087b722796edc0b28a38e26cae4ed3af5e3383"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): tableapi/table_item_request_builder.go:231-242 | tableapi/table_item_request_builder.go:251-262 | tableapi/table_request_builder.go:217-228 \u2014 before extracting anything, compare \u0060tableapi/table_item_request_builder.go\u0060 and \u0060tableapi/table_request_builder.go\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 68 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060tableapi/table_item_request_builder.go:231\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":"tableapi/table_item_request_builder.go"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfff4eef09685b1350314a6c388b1c1186d0fc3a8b220440403bafedc56a6e7c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): cdmchangesetapi/changeset_request_builders.go:119-130 | cdmeditorapi/editor_request_builders.go:198-209 \u2014 before extracting anything, compare \u0060cdmchangesetapi/changeset_request_builders.go\u0060 and \u0060cdmeditorapi/editor_request_builders.go\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 75 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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 \u0060cdmchangesetapi/changeset_request_builders.go:119\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cdmchangesetapi/changeset_request_builders.go"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"81e75e91f2a4cb82d6db523d89824fa893949424b5fe518906c74d505add7f15"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 2): website/snippets/concepts.go:64-74 | website/snippets/tables_query.go:35-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 \u0060website/snippets/concepts.go:64\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"website/snippets/concepts.go"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"51a6258bc0b727fa44618bb53d392d6df5b087cff29b36d4066de435e371cf1a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): website/snippets/tables_create.go:24-35 | website/snippets/tables_update.go:24-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":"website/snippets/tables_create.go"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ad2cec77e19ca8541b44b37f14fcc6b400bd0d1ad3585eff151c4bb31d824d7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 15): cdmapplicationsapi/deployables_request_builder.go:88-98 | cdmapplicationsapi/deployables_request_builder.go:105-115 | cdmapplicationsapi/exports_request_builder.go:72-82 | cdmapplicationsapi/shared_components_request_builder.go:88-98 | cdmapplicationsapi/shared_components_request_builder.go:105-115 | cdmapplicationsapi/shared_libraries_components_applications_request_builder.go:71-81 | cdmapplicationsapi/uploads_collections_file_request_builder.go:72-82 | cdmapplicationsapi/uploads_deployables_file_request_builder.go:72-82 | cdmchangesetapi/changeset_request_builders.go:91-101 | cdmchangesetapi/changeset_request_builders.go:126-136 | cdmchangesetapi/changeset_request_builders.go:161-171 | cdmchangesetapi/changeset_request_builders.go:274-284 | cdmchangesetapi/changeset_request_builders.go:321-331 | cdmeditorapi/editor_request_builders.go:85-95 | cdmeditorapi/editor_request_builders.go:239-249 \u2014 before extracting anything, compare \u0060cdmapplicationsapi/deployables_request_builder.go\u0060 and \u0060cdmapplicationsapi/shared_components_request_builder.go\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 78 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060cdmapplicationsapi/deployables_request_builder.go:99\u0060 calls \u0060TryAdd\u0060, \u0060String\u0060 and \u0060cdmapplicationsapi/deployables_request_builder.go:116\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":"cdmapplicationsapi/deployables_request_builder.go"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca83df6b926c614bafeae9b785d3455ace8f2cb17f820cddb1904be760950ced"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 6): attachmentapi/attachment_item_request_builder.go:93-104 | cdmapplicationsapi/deployables_request_builder.go:43-53 | cdmapplicationsapi/shared_components_request_builder.go:42-52 | cmdbinstanceapi/cmdb_relation_item_request_builder.go:34-45 | documentsapi/delete_request_builder.go:35-46 | tableapi/table_item_request_builder.go:105-116 \u2014 before extracting anything, compare \u0060attachmentapi/attachment_item_request_builder.go\u0060 and \u0060documentsapi/delete_request_builder.go\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 41 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. 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":"attachmentapi/attachment_item_request_builder.go"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"3645f2d5dc772411b1fbdeae177aece4b2fa6d8ab857a68ee76bbf61c4912957"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 4): attachmentapi/attachment_upload_request_builder.go:50-60 | tableapi/table_item_request_builder.go:124-134 | tableapi/table_item_request_builder.go:161-171 | tableapi/table_request_builder.go:122-132 \u2014 before extracting anything, compare \u0060tableapi/table_item_request_builder.go\u0060 and \u0060tableapi/table_request_builder.go\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 68 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"attachmentapi/attachment_upload_request_builder.go"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1249464ff052597717c14b1d10f587159df29991a99631d6e6aec9cee4f9289"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): attachmentapi/attachment_request_builder.go:162-172 | batchapi/batch_request_builder.go:84-94 | tableapi/table_request_builder.go:232-242 \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":"attachmentapi/attachment_request_builder.go"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"97fb8191ebf71cc247da2f263cd95b8b6473d5751225892084c9724e41c46ae3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): attachmentapi/attachment_item_request_builder.go:126-136 | tableapi/table_item_request_builder.go:212-222 \u2014 before extracting anything, compare \u0060attachmentapi/attachment_item_request_builder.go\u0060 and \u0060tableapi/table_item_request_builder.go\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 89 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"attachmentapi/attachment_item_request_builder.go"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"32badf95239c4ed48afde72c5b3bc3180f35c77d5a55669e2c0943ec7e01df2e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): attachmentapi/attachment_request_builder.go:99-109 | tableapi/table_request_builder.go:90-100 \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":"attachmentapi/attachment_request_builder.go"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"e90f28178a404311b4b7d7cf539625abaf8fdcdb323584901b7d609a5c47bf35"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): cdmapplicationsapi/deployables_request_builder.go:60-70 | cdmapplicationsapi/shared_components_request_builder.go:59-69 \u2014 before extracting anything, compare \u0060cdmapplicationsapi/deployables_request_builder.go\u0060 and \u0060cdmapplicationsapi/shared_components_request_builder.go\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 78 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cdmapplicationsapi/deployables_request_builder.go"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"c962a3f901062aa9df725abc9de81aff4e3a1331ba81cf720179c76c1e8f100a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): documentsapi/action_request_builder.go:94-106 | documentsapi/document_post_request_builder.go:81-93 \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 \u0060documentsapi/action_request_builder.go:94\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":"documentsapi/action_request_builder.go"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e8da60716f7c97c660e15769e73920dc9c551b3245fb9ed23311021fbad0ecd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): documentsapi/delete_request_builder.go:55-65 | documentsapi/explore_request_builder.go:70-80 \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 \u0060documentsapi/delete_request_builder.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. 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":"documentsapi/delete_request_builder.go"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"ead1f910f2209468d9f70da4ad2de6888684dca55d7cc3210d4c48b85695972e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): website/snippets/account_guide.go:41-51 | website/snippets/cmdb_guide.go:41-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 \u0060website/snippets/account_guide.go:41\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"website/snippets/account_guide.go"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"75cfc76c386a4eac96d9ea99ad45ce1e16c1a2a0a89731ef8cc3b63d231067ef"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 5): website/snippets/account_guide.go:23-32 | website/snippets/appointment_guide.go:23-32 | website/snippets/appservice_guide.go:23-32 | website/snippets/cmdb_guide.go:23-32 | website/snippets/pagination_guide.go:25-34 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 5 call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"website/snippets/account_guide.go"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"8807e889d008163ea45ae2db42555e7b9fc0bc99da7c79b820caab172d003b20"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 4): website/snippets/cdm_applications_guide.go:23-32 | website/snippets/cdm_changesets_guide.go:23-32 | website/snippets/cdm_editor_guide.go:23-32 | website/snippets/policy_guide.go:23-32 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 4 call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"website/snippets/cdm_applications_guide.go"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffab3f19f5230ea885fe3c003ee8f4299225d3febcdfaf9b2dcecb72acff64e4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): appserviceapi/app_service_action_result.go:33-42 | appserviceapi/app_service_action_result.go:127-136 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. 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":"appserviceapi/app_service_action_result.go"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c16134d30cc8fddcb89f3f32d9f2fd82f62428ba238411d21067fa516757d86"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): batchapi/rest_request.go:141-150 | batchapi/serviced_request_model.go:73-82 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060batchapi/rest_request.go:141\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"batchapi/rest_request.go"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f16dedc29ae4442dbf4a16656becbbe5bc3c37defde442e881c5c0664105f37"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): cdmapplicationsapi/export_item_status_request_builder.go:72-81 | cdmapplicationsapi/upload_status_item_request_builder.go:70-79 \u2014 before extracting anything, compare \u0060cdmapplicationsapi/export_item_status_request_builder.go\u0060 and \u0060cdmapplicationsapi/upload_status_item_request_builder.go\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 47 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other 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 \u0060cdmapplicationsapi/export_item_status_request_builder.go:72\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. 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":"cdmapplicationsapi/export_item_status_request_builder.go"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed097df458bef0aa4b68c836e69703259d462f2387e78618957d270fc5fda29d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): website/snippets/query_guide.go:44-53 | website/snippets/tables_query.go:41-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 \u0060website/snippets/query_guide.go:44\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"website/snippets/query_guide.go"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb19739820d9bff6378ea36928e71ae015e25a112ef56e911cbe94be061f18a4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20139 lines \u00D7 13): appointmentbookingapi/availability_request_builder.go:82-90 | appointmentbookingapi/execute_rule_conditions_request_builder.go:83-91 | appointmentbookingapi/user_window_request_builder.go:82-90 | appserviceapi/populate_service_request_builder.go:80-86 | appserviceapi/service_details_request_builder.go:81-87 | appserviceapi/service_post_request_builder.go:71-77 | attachmentapi/attachment_upload_request_builder.go:123-130 | batchapi/batch_request_builder.go:143-151 | caseapi/case_item_request_builder.go:134-142 | caseapi/case_request_builder.go:145-153 | cdmapplicationsapi/uploads_collections_request_builder.go:81-87 | cdmapplicationsapi/uploads_components_request_builder.go:81-87 | cdmapplicationsapi/uploads_components_vars_request_builder.go:79-85 \u2014 before extracting anything, compare \u0060appointmentbookingapi/availability_request_builder.go\u0060 and \u0060appointmentbookingapi/execute_rule_conditions_request_builder.go\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 30 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other 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 \u0060appointmentbookingapi/availability_request_builder.go:82\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":"appointmentbookingapi/availability_request_builder.go"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f8d217d4bfd95ffc419851dd4349c1f66bf164268dba7d1b00b3cdd6f414e3a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u20139 lines \u00D7 10): appointmentbookingapi/appointment_request_builder.go:76-83 | appointmentbookingapi/availability_request_builder.go:75-82 | appointmentbookingapi/execute_rule_conditions_request_builder.go:75-83 | appointmentbookingapi/user_window_request_builder.go:75-82 | appserviceapi/service_post_request_builder.go:64-71 | attachmentapi/attachment_file_request_builder.go:117-124 | attachmentapi/attachment_upload_request_builder.go:116-123 | batchapi/batch_request_builder.go:136-143 | caseapi/case_request_builder.go:138-145 | tableapi/table_request_builder.go:212-219 \u2014 before extracting anything, compare \u0060appointmentbookingapi/availability_request_builder.go\u0060 and \u0060appointmentbookingapi/execute_rule_conditions_request_builder.go\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 30 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060tableapi/table_request_builder.go:221\u0060 calls \u0060IsNil\u0060 and \u0060appointmentbookingapi/appointment_request_builder.go:85\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":"appointmentbookingapi/appointment_request_builder.go"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9eb23857be1c9a68b2ba26fa88ff5b8006df772d096d74955ece1959a6ca5d8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 10): cdmapplicationsapi/export_item_status_request_builder.go:71-79 | cdmapplicationsapi/upload_status_item_request_builder.go:69-77 | cdmapplicationsapi/uploads_collections_request_builder.go:73-81 | cdmapplicationsapi/uploads_components_request_builder.go:73-81 | cdmapplicationsapi/uploads_components_vars_request_builder.go:71-79 | cdmchangesetapi/changeset_request_builders.go:230-238 | cdmchangesetapi/changeset_request_builders.go:388-396 | cdmeditorapi/editor_request_builders.go:120-128 | cdmeditorapi/editor_request_builders.go:168-176 | cdmeditorapi/editor_request_builders.go:205-213 \u2014 before extracting anything, compare \u0060cdmapplicationsapi/export_item_status_request_builder.go\u0060 and \u0060cdmapplicationsapi/upload_status_item_request_builder.go\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 47 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other 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":"cdmapplicationsapi/export_item_status_request_builder.go"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c11ec5d4e4ca74c3c25d39d02b8ae669a1015290c438c40ef460cc743d1ba92"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 5): cmdbinstanceapi/cmdb_class_request_builder.go:125-133 | cmdbinstanceapi/cmdb_item_request_builder.go:140-148 | cmdbinstanceapi/cmdb_item_request_builder.go:156-164 | cmdbinstanceapi/cmdb_item_request_builder.go:179-187 | cmdbinstanceapi/cmdb_relation_request_builder.go:74-82 \u2014 before extracting anything, compare \u0060cmdbinstanceapi/cmdb_class_request_builder.go\u0060 and \u0060cmdbinstanceapi/cmdb_item_request_builder.go\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 87 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other 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":"cmdbinstanceapi/cmdb_class_request_builder.go"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"276a50b1c0d1dc602eeaf85c12fb472f90e947589109ccef789e12e6a96de582"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u20139 lines \u00D7 4): appserviceapi/populate_service_request_builder.go:72-80 | appserviceapi/service_details_request_builder.go:73-81 | caseapi/case_item_request_builder.go:127-134 | tableapi/table_item_request_builder.go:226-233 \u2014 before extracting anything, compare \u0060appserviceapi/populate_service_request_builder.go\u0060 and \u0060appserviceapi/service_details_request_builder.go\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 30 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other 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":"appserviceapi/populate_service_request_builder.go"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"53b278200d8025c818c5ce580b196d2ca6cc5dc1f253e489b72148e3c8ab3133"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 13): cdmapplicationsapi/export_item_content_request_builder.go:70-77 | cdmapplicationsapi/export_item_status_request_builder.go:70-77 | cdmapplicationsapi/exports_request_builder.go:71-78 | cdmapplicationsapi/shared_libraries_components_applications_request_builder.go:70-77 | cdmapplicationsapi/upload_status_item_request_builder.go:68-75 | cdmchangesetapi/changeset_request_builders.go:90-97 | cdmchangesetapi/changeset_request_builders.go:160-167 | cdmchangesetapi/changeset_request_builders.go:229-236 | cdmchangesetapi/changeset_request_builders.go:273-280 | cdmchangesetapi/changeset_request_builders.go:320-327 | cdmchangesetapi/changeset_request_builders.go:387-394 | cdmeditorapi/editor_request_builders.go:84-91 | cdmeditorapi/editor_request_builders.go:238-245 \u2014 before extracting anything, compare \u0060cdmapplicationsapi/export_item_status_request_builder.go\u0060 and \u0060cdmapplicationsapi/upload_status_item_request_builder.go\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 47 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other 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 \u0060cdmapplicationsapi/export_item_content_request_builder.go:70\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060cdmapplicationsapi/exports_request_builder.go:80\u0060 calls \u0060AddQueryParameters\u0060 and \u0060cdmapplicationsapi/export_item_status_request_builder.go:78\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cdmapplicationsapi/export_item_content_request_builder.go"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa91223a881f7b034f35c8e4286dbceed6aa0280f066a3e71719ae2c4c0c3be9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 11): cdmapplicationsapi/export_item_content_request_builder.go:71-78 | cdmapplicationsapi/export_item_status_request_builder.go:71-78 | cdmapplicationsapi/upload_status_item_request_builder.go:69-76 | cdmapplicationsapi/uploads_collections_request_builder.go:73-80 | cdmapplicationsapi/uploads_components_request_builder.go:73-80 | cdmapplicationsapi/uploads_components_vars_request_builder.go:71-78 | cdmchangesetapi/changeset_request_builders.go:230-237 | cdmchangesetapi/changeset_request_builders.go:388-395 | cdmeditorapi/editor_request_builders.go:120-127 | cdmeditorapi/editor_request_builders.go:168-175 | cdmeditorapi/editor_request_builders.go:205-212 \u2014 before extracting anything, compare \u0060cdmapplicationsapi/export_item_status_request_builder.go\u0060 and \u0060cdmapplicationsapi/upload_status_item_request_builder.go\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 47 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other 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":"cdmapplicationsapi/export_item_content_request_builder.go"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b09ce3fe9a3098afaeea6ff9ac11a98f37dc0aa69b2538404082e936546105a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 6): cdmapplicationsapi/uploads_collections_file_request_builder.go:71-78 | cdmapplicationsapi/uploads_collections_request_builder.go:72-79 | cdmapplicationsapi/uploads_components_request_builder.go:72-79 | cdmapplicationsapi/uploads_components_vars_request_builder.go:70-77 | cdmapplicationsapi/uploads_deployables_file_request_builder.go:71-78 | cdmeditorapi/editor_request_builders.go:119-126 \u2014 before extracting anything, compare \u0060cdmapplicationsapi/uploads_collections_file_request_builder.go\u0060 and \u0060cdmapplicationsapi/uploads_collections_request_builder.go\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 37 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060cdmapplicationsapi/uploads_collections_file_request_builder.go:71\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060cdmapplicationsapi/uploads_collections_file_request_builder.go:80\u0060 calls \u0060AddQueryParameters\u0060 and \u0060cdmapplicationsapi/uploads_collections_request_builder.go:80\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":"cdmapplicationsapi/uploads_collections_file_request_builder.go"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3c915d69aaf373fe4e6f6eb0e378a0bc3a34962f456f3bb26d1be820525a595"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 6): cmdbinstanceapi/cmdb_class_request_builder.go:125-132 | cmdbinstanceapi/cmdb_item_request_builder.go:140-147 | cmdbinstanceapi/cmdb_item_request_builder.go:156-163 | cmdbinstanceapi/cmdb_item_request_builder.go:179-186 | cmdbinstanceapi/cmdb_relation_item_request_builder.go:59-66 | cmdbinstanceapi/cmdb_relation_request_builder.go:74-81 \u2014 before extracting anything, compare \u0060cmdbinstanceapi/cmdb_class_request_builder.go\u0060 and \u0060cmdbinstanceapi/cmdb_item_request_builder.go\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 87 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060cmdbinstanceapi/cmdb_item_request_builder.go:148\u0060 calls \u0060TryAdd\u0060, \u0060String\u0060 and \u0060cmdbinstanceapi/cmdb_relation_item_request_builder.go:68\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":"cmdbinstanceapi/cmdb_class_request_builder.go"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d45b89beeb6066ad79607afd3122fdadea60411a4c3e8ad7c83e85c106fae5f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 4): cdmapplicationsapi/deployables_request_builder.go:104-111 | cdmapplicationsapi/shared_components_request_builder.go:87-94 | cdmchangesetapi/changeset_request_builders.go:125-132 | cdmeditorapi/editor_request_builders.go:204-211 \u2014 before extracting anything, compare \u0060cdmapplicationsapi/deployables_request_builder.go\u0060 and \u0060cdmapplicationsapi/shared_components_request_builder.go\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 78 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 \u0060cdmapplicationsapi/deployables_request_builder.go:104\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cdmapplicationsapi/deployables_request_builder.go"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"a28320340a666b6e0f8e2651dd485c084d8475af5b599d49f815fe7b96e08dda"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): cdmapplicationsapi/deployables_request_builder.go:87-94 | cdmapplicationsapi/shared_components_request_builder.go:104-111 | cdmeditorapi/editor_request_builders.go:167-174 \u2014 before extracting anything, compare \u0060cdmapplicationsapi/deployables_request_builder.go\u0060 and \u0060cdmapplicationsapi/shared_components_request_builder.go\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 78 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 \u0060cdmapplicationsapi/deployables_request_builder.go:87\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060cdmapplicationsapi/deployables_request_builder.go:96\u0060 calls \u0060AddQueryParameters\u0060 and \u0060cdmeditorapi/editor_request_builders.go:175\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":"cdmapplicationsapi/deployables_request_builder.go"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"46945d983d1850fe32943d031a0e4410b299df7a8de84b399888e2115dbb3174"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): attachmentapi/attachment_item_file_request_builder.go:126-133 | documentsapi/document_get_request_builder.go:77-84 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060attachmentapi/attachment_item_file_request_builder.go:126\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"attachmentapi/attachment_item_file_request_builder.go"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"71027b5c3981b84199f30a3fd4be288256dfd9569aa44735de6a3a2bbfffba99"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): documentsapi/document_get_request_builder.go:81-88 | documentsapi/versions_request_builder.go:70-77 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060documentsapi/document_get_request_builder.go:81\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":"documentsapi/document_get_request_builder.go"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"8929ed01c7b24beb8d9d162c5b909bdc5afebe9372235079ea2c535c9962e487"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 7): cmdbinstanceapi/cmdb_class_request_builder.go:106-112 | cmdbinstanceapi/cmdb_class_request_builder.go:125-131 | cmdbinstanceapi/cmdb_item_request_builder.go:140-146 | cmdbinstanceapi/cmdb_item_request_builder.go:156-162 | cmdbinstanceapi/cmdb_item_request_builder.go:179-185 | cmdbinstanceapi/cmdb_relation_item_request_builder.go:59-65 | cmdbinstanceapi/cmdb_relation_request_builder.go:74-80 \u2014 before extracting anything, compare \u0060cmdbinstanceapi/cmdb_class_request_builder.go\u0060 and \u0060cmdbinstanceapi/cmdb_item_request_builder.go\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 87 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other 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 \u0060cmdbinstanceapi/cmdb_class_request_builder.go:106\u0060 it does not close everything it opens, so those exact 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, \u0060cmdbinstanceapi/cmdb_class_request_builder.go:113\u0060 calls \u0060IsNil\u0060, \u0060AddQueryParameters\u0060 and \u0060cmdbinstanceapi/cmdb_class_request_builder.go:132\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":"cmdbinstanceapi/cmdb_class_request_builder.go"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0487bf57d63eeda4c65d462cc2e1697587f08cd317141e64fa148b8a7f24225"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): website/snippets/tables.go:302-308 | website/snippets/tables_create.go:35-41 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"website/snippets/tables.go"},"region":{"startLine":302}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3ffaf838e19721cf7141a58e997d62d82f36ad31ffc8b07bfde54d68eb11512"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 4): attachmentapi/attachment_item_file_request_builder.go:129-133 | documentsapi/content_request_builder.go:70-74 | documentsapi/document_get_request_builder.go:80-84 | documentsapi/versions_request_builder.go:69-73 \u2014 before extracting anything, compare \u0060documentsapi/content_request_builder.go\u0060 and \u0060documentsapi/versions_request_builder.go\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 30 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060attachmentapi/attachment_item_file_request_builder.go:125\u0060 calls \u0060IsNil\u0060 and \u0060documentsapi/content_request_builder.go:69\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":"attachmentapi/attachment_item_file_request_builder.go"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"72fd8428ca535c8968bd8b4b26546f8896a865202c90f3ce2e6f9f70b604234d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): appointmentbookingapi/enum.go:16-34 | caseapi/enum.go:16-34 \u2014 \u0060appointmentbookingapi/enum.go\u0060 and \u0060caseapi/enum.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 19 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":"appointmentbookingapi/enum.go"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa2c132d37fc2155d992fa50013483bc1d8494ea79c757b1baf628d8f8c59984"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (32 lines \u00D7 2): caseapi/display_value.go:8-39 | tableapi/display_value.go:8-39 \u2014 \u0060caseapi/display_value.go\u0060 and \u0060tableapi/display_value.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 32 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"caseapi/display_value.go"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"af9c5166bc667dea2dcf2a7d5fa364d258ab916aef55a869c779fee7a1f2b25a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): appserviceapi/discovery_population_method_attribute.go:51-59 | batchapi/rest_request_header.go:54-63 | cdmeditorapi/node_update_request_model.go:37-45 \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":"appserviceapi/discovery_population_method_attribute.go"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"da64d3a232b811659fe003a31845b39f33aba5caa268d3f7ecd913339fb4c436"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): appserviceapi/populate_service_result.go:30-38 | appserviceapi/service_details_result.go:25-33 \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":"appserviceapi/populate_service_result.go"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a28ffb3382301def4d8d56495a2a15867354322beb542613d26a144df6bd4fe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): appserviceapi/populate_service_result.go:41-46 | appserviceapi/service_details_result.go:36-41 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"appserviceapi/populate_service_result.go"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"31756d7954cca261c32a039d876626e7ee9526b107fb6c5ad3ba709e973529a6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): appserviceapi/register_service_result.go:30-38 | cdmapplicationsapi/upload_status_output.go:25-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":"appserviceapi/register_service_result.go"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"99d663865b4ccc08c351d6549fcddc325ba2423439e1e43065b61cd23eb15dde"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): caseapi/reference.go:37-45 | cdmapplicationsapi/reference.go:42-50 | cdmchangesetapi/reference.go:25-33 \u2014 \u0060caseapi/reference.go\u0060 and \u0060cdmapplicationsapi/reference.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 15 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":"caseapi/reference.go"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"28122d106170ecfd8a8e2afb0efa6ed527617d268906711145bf6a24d5729354"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): caseapi/reference.go:48-53 | cdmapplicationsapi/reference.go:53-58 | cdmchangesetapi/reference.go:36-41 \u2014 \u0060caseapi/reference.go\u0060 and \u0060cdmapplicationsapi/reference.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 15 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":"caseapi/reference.go"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ed4bb500f0afe6a7a819cb105c893ec7bec6506fecb897382c4a4aefbc03ffb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 4): documentsapi/attach_request_builder.go:32-37 | documentsapi/create_document_request_builder.go:32-37 | documentsapi/create_request_builder.go:32-37 | documentsapi/sync_down_request_builder.go:32-37 \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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"documentsapi/attach_request_builder.go"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e7fcc9116b7f75995d7cc2249c2c919ac6d90d0b26824a4efc1eaca04cc0117"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 4): documentsapi/attach_request_builder.go:40-45 | documentsapi/create_document_request_builder.go:40-45 | documentsapi/create_request_builder.go:40-45 | documentsapi/sync_down_request_builder.go:40-45 \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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"documentsapi/attach_request_builder.go"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"412b4887e3441b07b41518b9bedd77b4479baa3104eeded0a9c46a95cc0ca730"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 44): appointmentbookingapi/appointment_booking_request_builder.go:39-44 | appointmentbookingapi/appointment_booking_request_builder.go:47-52 | appointmentbookingapi/appointment_booking_request_builder.go:55-60 | appointmentbookingapi/appointment_booking_request_builder.go:63-68 | appointmentbookingapi/appointment_booking_request_builder.go:71-76 | appointmentbookingapi/appointment_booking_request_builder.go:79-84 | appserviceapi/app_service_item_request_builder.go:29-35 | appserviceapi/app_service_request_builder.go:29-35 | appserviceapi/app_service_request_builder.go:38-44 | appserviceapi/app_service_request_builder.go:58-64 | appserviceapi/app_service_request_builder.go:67-73 | appserviceapi/app_service_request_builder.go:76-82 | appserviceapi/app_service_request_builder.go:85-91 | appserviceapi/csdm_app_service_item_request_builder.go:29-35 | appserviceapi/csdm_app_service_item_request_builder.go:38-44 | appserviceapi/csdm_request_builder.go:29-35 | appserviceapi/csdm_request_builder.go:38-44 | attachmentapi/attachment_item_request_builder.go:50-56 | caseapi/case_item_request_builder.go:34-39 | caseapi/customer_service_request_builder.go:29-34 | cdmapplicationsapi/applications_request_builder.go:29-34 | cdmapplicationsapi/applications_request_builder.go:37-42 | cdmapplicationsapi/applications_request_builder.go:45-50 | cdmapplicationsapi/applications_request_builder.go:53-58 | cdmapplicationsapi/applications_request_builder.go:61-66 | cdmapplicationsapi/deployables_request_builder.go:120-125 | cdmapplicationsapi/export_item_request_builder.go:29-34 | cdmapplicationsapi/export_item_request_builder.go:37-42 | cdmapplicationsapi/shared_libraries_components_request_builder.go:29-34 | cdmapplicationsapi/shared_libraries_request_builder.go:29-34 | cdmapplicationsapi/uploads_collections_request_builder.go:90-95 | cdmapplicationsapi/uploads_components_request_builder.go:90-95 | cdmapplicationsapi/uploads_deployables_request_builder.go:29-34 | cdmapplicationsapi/uploads_request_builder.go:29-34 | cdmapplicationsapi/uploads_request_builder.go:37-42 | cdmapplicationsapi/uploads_request_builder.go:45-50 | cdmchangesetapi/changeset_request_builders.go:41-46 | cdmchangesetapi/changeset_request_builders.go:49-54 | cdmchangesetapi/changeset_request_builders.go:57-62 | cdmchangesetapi/changeset_request_builders.go:65-70 | cdmchangesetapi/changeset_request_builders.go:360-365 | cdmeditorapi/editor_request_builders.go:39-44 | cdmeditorapi/editor_request_builders.go:47-52 | cmdbinstanceapi/cmdb_request_builder.go:38-44 \u2014 there are 44 copies across 20 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 44 sites; resolving a subset leaves the remainder to drift apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"appointmentbookingapi/appointment_booking_request_builder.go"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"a030f53463c39cdde060995de1599590d63945fad08dd4b6abb93f24762bf0b1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 5): appointmentbookingapi/calendar_response.go:52-57 | appserviceapi/discovery_population_method_attribute.go:43-48 | appserviceapi/register_service_result.go:41-46 | appserviceapi/tag_list_population_method_tag.go:47-52 | policyapi/ref.go:47-52 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 5 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 5 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"appointmentbookingapi/calendar_response.go"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8e28fed0a79acc6bfb3f4fc414cfcfc5e6fc49925acfb9deae39d32287d9f64"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 8): appserviceapi/app_service_request_builder.go:47-55 | appserviceapi/csdm_request_builder.go:47-55 | attachmentapi/attachment_request_builder.go:52-61 | caseapi/case_item_request_builder.go:42-49 | caseapi/case_request_builder.go:53-60 | cmdbinstanceapi/cmdb_class_request_builder.go:146-154 | cmdbinstanceapi/cmdb_instance_request_builder.go:39-47 | cmdbinstanceapi/cmdb_relation_request_builder.go:95-103 \u2014 before extracting anything, compare \u0060caseapi/case_item_request_builder.go\u0060 and \u0060caseapi/case_request_builder.go\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 63 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other 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":"appserviceapi/app_service_request_builder.go"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"8194fbf29be807a5c3b6a36ce60d4ccf8fb42a25d70afba0ef6799bc3e1e1e2b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): appserviceapi/find_service_result.go:30-37 | appserviceapi/service_details_request.go:30-37 \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":"appserviceapi/find_service_result.go"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"223ac7b5ee10fcbaec1fa3a1869cc1791ccf8ebd71e3a9673baaa8f79301df3f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 4): appserviceapi/get_content_result.go:31-38 | appserviceapi/population_method.go:70-77 | cdmchangesetapi/commit_status_result.go:25-32 | core/service_now_error.go:113-121 \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":"appserviceapi/get_content_result.go"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"93c51efae7e6d3a585670d90242c404041a7afec0f1df98072708a6055a60d4c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 7): attachmentapi/attachment_request_builder.go:64-72 | attachmentapi/attachment_request_builder.go:75-83 | cmdbinstanceapi/cmdb_item_request_builder.go:200-207 | documentsapi/documents_request_builder.go:40-46 | documentsapi/documents_request_builder.go:49-55 | documentsapi/documents_request_builder.go:58-64 | documentsapi/documents_request_builder.go:87-93 \u2014 there are 7 copies across 3 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 7 sites; resolving a subset leaves the remainder to drift apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"attachmentapi/attachment_request_builder.go"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"722ec1cf953ad91a9c9c229c5592bf74a2f11a87b74067f95048c79195737ac0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): cmdbinstanceapi/cmdb_instance.go:59-65 | documentsapi/document.go:51-57 \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":"cmdbinstanceapi/cmdb_instance.go"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"567989712fe87d88651bd3b3dfbb3218ecf119a5b44e5846b8788cd5ab45bcb6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): credentials/client.go:90-100 | credentials/client.go:103-113 | credentials/confidential_client.go:58-68 \u2014 there are 3 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 3 sites; resolving a subset leaves the remainder to drift apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"credentials/client.go"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"47619ab86e2a5f3d814cbe25f1ab9ed58ef1a6bcb870fc7df8e708d7543e58e8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): internal/http/servicenow_client_config.go:19-31 | internal/http/servicenow_request_adapter_config.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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/http/servicenow_client_config.go"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"54cc2d057e338cd1a1ab0386d22ea022c5afd7986a71154f107d559557ec0a92"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): tableapi/table_item_request_builder.go:35-41 | tableapi/table_request_builder.go:41-47 \u2014 before extracting anything, compare \u0060tableapi/table_item_request_builder.go\u0060 and \u0060tableapi/table_request_builder.go\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 68 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060tableapi/table_item_request_builder.go:35\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. 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":"tableapi/table_item_request_builder.go"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b18eeab30cae3986448314568b858673fb4e346e5eea0363a692004cd95940e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): tableapi/table_item_request_builder.go:64-68 | tableapi/table_request_builder.go:70-74 \u2014 before extracting anything, compare \u0060tableapi/table_item_request_builder.go\u0060 and \u0060tableapi/table_request_builder.go\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 68 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060tableapi/table_item_request_builder.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. 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":"tableapi/table_item_request_builder.go"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c22ca644f395df463be7c5c21f7dd203873fa95b204f1d4685d147a38127f13"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): .agents/skills/subagent-creator/scripts/run_eval.py:254-259 | .agents/skills/subagent-creator/scripts/run_loop.py:246-251 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060.agents/skills/subagent-creator/scripts/run_loop.py:253\u0060 calls \u0060add_argument\u0060 and \u0060.agents/skills/subagent-creator/scripts/run_eval.py:261\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":".agents/skills/subagent-creator/scripts/run_eval.py"},"region":{"startLine":254}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f4fd820d54762410f61b06097c092712c29324718107df9db6d12ae05314f18"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: appointmentbookingapi/user_window_request.go: 40.0% line coverage (4/10)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"appointmentbookingapi/user_window_request.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b81c7c6196c6b65c306830c06b42189aa228e54da4ef17a4ab9f5866dd0b948f"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: appointmentbookingapi/user_window_response.go: 0.0% line coverage (0/12)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"appointmentbookingapi/user_window_response.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"83d32be7649ffde1d1fb0f3e2164524f7464cd22f5df8583ba63345344d1f139"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: caseapi/activities_result_entry.go: 0.0% line coverage (0/85)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"caseapi/activities_result_entry.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c644053252a32174d3ab0d4019a9fc3f3e07079486aa7c1f226162385a62758f"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: caseapi/activities_result_entry_attachment.go: 0.0% line coverage (0/83)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"caseapi/activities_result_entry_attachment.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3989b3442a90ee32a4855effc672a979dca93a087d744c63cd4e859031d8798"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: caseapi/activities_result_field.go: 0.0% line coverage (0/41)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"caseapi/activities_result_field.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bb2fcd676b7046f9557fbf4bc0fae7660dd07824abc8fc7c553a58e71c7a950"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: caseapi/approval.go: 0.0% line coverage (0/6)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"caseapi/approval.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef9869905966efdd01b60e36cd1738d0625d2df61b3c8060d1a57843f35be16b"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: caseapi/case_result.go: 46.6% line coverage (89/191)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"caseapi/case_result.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d12c59c146e6d6a6d159da172c2d03c00f71dc3b7c16e869d75a0976fededa55"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: caseapi/category.go: 0.0% line coverage (0/6)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"caseapi/category.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"126f1de9e45129e53af93bcd095a6d3eaee3d60a9387a685ac935e80ecce0841"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: caseapi/display_value.go: 0.0% line coverage (0/2)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"caseapi/display_value.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc3738053476a4baec4d8f20f2131958a71435a4d56d71669a04ecd6fe6773d0"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: caseapi/state.go: 0.0% line coverage (0/6)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"caseapi/state.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fb8c316c6bdf3e40721946c8150538863d533f5dd6047b669e6cf32ca4a98e8"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: cdmapplicationsapi/reference.go: 0.0% line coverage (0/23)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cdmapplicationsapi/reference.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d7549b910b993a09aec87ac08bf056c019c4ad692e0cf2c224ae15010fc4fa8"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: internal/mocking/mock_authentication_provider.go: 42.9% line coverage (3/7)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/mocking/mock_authentication_provider.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"50617dd4f9dafa071e81a902244eb34aef895a4892eba696bbdd7a378ff935ec"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: internal/mocking/mock_backing_store.go: 25.0% line coverage (9/36)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/mocking/mock_backing_store.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"070c3b42a498fc3a750813dabca888ac7033decf684abff41c1707d3ae06cdac"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: internal/mocking/mock_batch_header.go: 33.3% line coverage (9/27)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/mocking/mock_batch_header.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e25c12661563d38eab784e74b9d69ac82f31576a3095058dc82d3522b83f541c"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: internal/mocking/mock_context.go: 0.0% line coverage (0/15)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/mocking/mock_context.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"be418cc1a16fe1a07a23c910d3b2ef6350b4406f22e367224501e024b738635d"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: internal/mocking/mock_credential.go: 0.0% line coverage (0/6)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/mocking/mock_credential.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"394ffaa5d7a4abf844734bbe74a52f0ac3edf9dc24ea55f1fbf3fe43ffb7d353"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: internal/mocking/mock_dictionary.go: 25.9% line coverage (7/27)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/mocking/mock_dictionary.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbe93f93a471170ce1e3c56c586ee36c83c6ad0050ae15c4b2da0cc94f806963"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: internal/mocking/mock_file.go: 0.0% line coverage (0/172)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/mocking/mock_file.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f56caa02af2132c2917f5249e5a8ec5dcdac4a86a57bf0732a31880a050ef89f"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: internal/mocking/mock_main_error.go: 0.0% line coverage (0/18)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/mocking/mock_main_error.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"498cb39980477883d292421a800380f27c3209b896ae99a6e835b8134f0ac5d8"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: internal/mocking/mock_parsable.go: 33.3% line coverage (3/9)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/mocking/mock_parsable.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e2a82dbd91c76ae402d9419e52e2901f44111d9a2c1e686cee82775b74c221d"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: internal/mocking/mock_parsable_error.go: 25.0% line coverage (3/12)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/mocking/mock_parsable_error.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ea9cda3bca7edadbf8aa7e4d04f50a101738f02dfa46c7549ee5ff985f1d56b"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: internal/mocking/mock_serialization_writer.go: 41.5% line coverage (51/123)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/mocking/mock_serialization_writer.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"66d4e1f8c298059a31eb30068d26376710f4ab64054961e872d400187aa597ae"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: internal/mocking/mock_service_now_item_response.go: 0.0% line coverage (0/12)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/mocking/mock_service_now_item_response.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdf4fee6b1e5de22323df9a314314750587d3067d1998e61129c9a0916e4cc8e"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: internal/mocking/response_handler.go: 0.0% line coverage (0/4)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/mocking/response_handler.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ede51237fef9c916ecc215f7f6820c96640483750f6d7f63ab59e3350faa4f4"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: internal/testutils/logger.go: 16.7% line coverage (2/12)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/testutils/logger.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5da382cd65a2a393d85959ffab521607b7fc9071aecd34c6fc3c43ed0c042883"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: scripts/generate_test_report.go: 0.0% line coverage (0/67)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/generate_test_report.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2dc94df81cfc5fe6f616cea0a24c7bd3cf3a87f3a3bfe90ba671270f9f42333d"}},{"ruleId":"D13","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b4ea6861ce29a3907e411d32bf04f24b68c88e387e0a7e377eca616ed0296524"},"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"}},{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: sentinel-ize this error message \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"servicenow_service_client.go"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"7077fbb14081badfc252999bd7779f9d8809a16f802c1ba851b772089a75c8fe"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: improve test table design \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tableapi/record_element_test.go"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"d33166ceaca74a3ca4fb876adc9b35abcb050422f2325d4a240a9d1499ad6350"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: improve test table design \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tableapi/record_element_test.go"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"478ffafd505275bfcff01ae5fa90aba072539d86763b579d00e73a92d3c4ed78"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: improve test table design \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/service_now_error_test.go"},"region":{"startLine":280}}}],"partialFingerprints":{"codehealthFindingId/v1":"4560c05e1951d44debaf6fc7694548c37fdbbfcd76c85bcd19ef02403df2a6cd"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: fix test table design \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tableapi/table_request_builder_test.go"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"7102a441b2d4f259af859372400105568a86cef83b2b497b4ae991e207f94ad3"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: should be a Mock token 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":"credentials/auth_options_test.go"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ef211d3a5396dbe0f9ccd31addb6e7c2bee8c1fc536dd242419ad2c90764bac"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: only tests happy path, should also test invalid authority strings (e.g., empty, missing https, 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":"credentials/authority_test.go"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0d96bbf8f2059db9d1acdcbf1c341cc2826b049c12a2d64ed02caaa5b194fd4"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: should be a Mock.mock \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"credentials/authorization_code_credential_test.go"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"961798c603549823ef2a7bb1503c80146c54d0e34bca093d5d1e18395c050fb8"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: required \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cdmapplicationsapi/deployables_request_builder_delete_query_parameters.go"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"77bf383eac3bb4163b1cfcb59010067666da2daa75e6f4de65dd178a8982573e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: required \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cdmapplicationsapi/deployables_request_builder_put_query_parameters.go"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"31fa472181eb27eda9afd43e7136dce68721eb3ebf6965550c0225f8fe86820c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: required \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"appserviceapi/basic_details.go"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"97b6015fdcae6bf4651df80e59513227200502e6f0569144f7e49517333697f9"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: required \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"appointmentbookingapi/appointment_request.go"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b3f86906086da263479a663d6abfe36e7b18493e7cab2e068a942308ba32a81"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: required \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"appointmentbookingapi/appointment_request.go"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d600e2a6f3c68cf0ec7261c94fa80f13c4f75e88a596db78069c7dbcf591481"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: required \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"appointmentbookingapi/availability_request.go"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"a76816120088c9929172b008a1d046c0514b3007c3b47928c808882568027888"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: required \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"appointmentbookingapi/availability_request.go"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d1067c723838158003af68814fbe51ed3decb21d669a0515632afd70a197de0"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: required \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"appointmentbookingapi/availability_request.go"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"b95791e57e90ef2530bc2ac73594722ad23ab66470c6afb428e26f364137ec09"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: required \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"appointmentbookingapi/availability_request.go"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"42edc9128b0c7cac092cce965d9794087effca1494847c88458309a735304401"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: required \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"appointmentbookingapi/availability_request.go"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"dec30d3fa32c529afd6bd3b9d95a7d7f2297a115259a3d91b2d8808ac2a9ac56"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: required \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"appointmentbookingapi/calendar_request_builder_get_query_parameters.go"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2f801a755a53597787c2126ff186e4b891e1052b3e91c03b273c31f77b43b80"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: required \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"appointmentbookingapi/calendar_request_builder_get_query_parameters.go"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"775495cfea4a47155f9ddd7ee85fb62503c7f9efcbd5816e4743b523fa7f7a99"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: required \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"appointmentbookingapi/calendar_request_builder_get_query_parameters.go"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"09cfc81e3015d42b4849019cb4e882bbc09e9b0e2a5e096d95ea1774a221baf8"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: required \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"appointmentbookingapi/configuration_request_builder_get_query_parameters.go"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"99a6fd05b2c1206c78a593683af05484c1e21961159df78782d7b08d7ab0051b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: required \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"appointmentbookingapi/execute_rule_conditions.go"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2ac4e13b10b05144303d8e1649fec2e0219ded46188688bbda7ec68749377e7"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: is a url http.url \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"caseapi/activities_result_entry_attachment.go"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"50d0e54fac67f8190e4eac007e0228ead8a5c5f9b3d964668f441aff2668bfca"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: is a url http.url \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"caseapi/activities_result_entry_attachment.go"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"75a155867c8ed433edf710ee9835af715b0db50daece70b32788e3e855d54597"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: how should formatted sizes be represented. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"caseapi/activities_result_entry_attachment.go"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"53f3959e986322b532f3e33029aba1b55d7375d1cdcf7f80549f3285cb5acb24"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: is url http.url \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"caseapi/activities_result_entry_attachment.go"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"46819ddc3db9d1a291cd8fd8fff6a1ee2a0ef5304efcc5f1e5e9dbc4389d0ef6"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment repeated across 11 files: The identical TodoComment appears in 11 files (13 occurrences) \u2014 almost certainly one boilerplate line from a single migration or decision, not 13 independent debts. Fix the systemic cause once rather than file-by-file. Text: \u0022// TODO: check for nil/empty template and path parameters\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":"caseapi/case_activities_request_builder.go"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f9771257f7e6fad5d1e1017caa1a45b151ed3b216fede559956d99313de800a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Comma-separated \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"caseapi/case_field_values_request_builder_get_query_parameters.go"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc7f1a5bf6aa13db7c4b4186d0a415d7021d0520f1c0bb2fc3f8b63ff3ecd8ba"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: date \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"caseapi/case_result.go"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb8e816fb8220f0c581c449b1700160d2b0f8f050587ef9305a19c9d47e2e31a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: date \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"appointmentbookingapi/availability_slot.go"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"d859dc65bb79c809001d792b95e7da6b101391aa12f97b6161e3185bff46c1b9"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: date \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"appointmentbookingapi/availability_slot.go"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"72d5698fc67c720fd42184836e6626eb42a3cb975033a9178f34686a3529cfe8"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: date \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"appointmentbookingapi/availability_slot.go"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdb4c52f0a09cb8d287ab4563c4dc73343a7bca09cb34a576f26bc00e76eff57"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: date \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"appointmentbookingapi/availability_slot.go"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc1ed4cdd4328dfef3d40f035b4125036e13970834f9d983f5d585095e4ae056"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: date \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"appointmentbookingapi/calendar_response.go"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"24bce32af35412f169f4983052bb26e097e101f52a7b63dc61026f2c1a8536f6"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: date \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"appointmentbookingapi/calendar_response.go"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"840f0e8ede6b4b247ff89dc71a68d239babf6db58ee12ddb9fe2668de2c9b04c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: date time \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"caseapi/case_result.go"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"904de0ee7dddbd15ccdfade4a7ed77c2c04dcb87f4500ccb69156ab1de7b3d9d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: date time \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"caseapi/case_result.go"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f1fd1f3c6abcd5ce9d0b63af003e82218578d23f132d35cafa218c168c91186"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: is an int enum not 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":"caseapi/category.go"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"c08f9c06f58980ea117d28e40de5e9e8068b53b9caf6d6ae18630aed44ec9e19"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: make type enum \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"appserviceapi/population_method.go"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a04503ec78a98e72eb55feab6bb56740f7bf95f49f0dda5ac00ba694b545608"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: date, required \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"appointmentbookingapi/appointment_request.go"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"dee941d63733f97a9cc100c2a44ed1aa3eae1d06d6c9929b570e78e96d81d347"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: date, required \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"appointmentbookingapi/appointment_request.go"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad35c45dce7cf8aa93704aef992272a26ae4546a6cb15f076c6cf94748fe7106"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: date, required \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"appointmentbookingapi/appointment_request.go"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c00c4e23b7da0ec1795223feaf63fef5aa84894bacb12f02d5cf07da5acc504"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: date, required \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"appointmentbookingapi/appointment_request.go"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5d2532eccf7f0bd447747cd92d7d5d207945acb428bef1558979f4d9ea5b787"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: date, required \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"appointmentbookingapi/availability_request.go"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d2b30e8d3079cd2891f0eb7c20dad637f1c848cc7f404366fd3707d7a8d2d50"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: free form \u0022object\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":"appointmentbookingapi/availability_request.go"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"f929337834ac9e9f0315ffdea3414d68f13d3c74558f2c8762c24ba75f5f6fec"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO:  ISO 639.1 language 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":"appointmentbookingapi/configuration_response.go"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"26e9e89a84119090ed38764201b42360eccdfe38b4a44e9b1f640f84a3f6cba8"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: \u0022object,\u0022 arbitrary map key-value pairs \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"appointmentbookingapi/configuration_response.go"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee1e193a2e9c9828da4aea7cf692660b2e40122f8c0b95a1272d28b1c9099da4"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: I don\u0027t understand,  required if taskID isn\u0027t specified \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"appointmentbookingapi/execute_rule_conditions.go"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"b70c19a23637a363d4b14aa1cf7f548708caba0f06f49927adef2a933e260389"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: required if OtherInputs isn\u0027t specified \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"appointmentbookingapi/execute_rule_conditions.go"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"de858b87755126eb9e350f6347ca7023344db75cb35841aad8f6ea758ce37ac5"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: string representation of an int \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"appointmentbookingapi/execute_rule_conditions_result.go"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3da702dfb43d52a4bc8a08cbd15e7905bae786e649021dd826a863a9e7062f6"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: duration, minutes \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"appointmentbookingapi/service_config.go"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"09168a82cdfa5c1fe5ece83b22168500156d44ffea57504f310b23a28ec7cc70"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: number as 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":"appointmentbookingapi/service_config.go"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"b27ba6a03c6032e044d0e010b19b8205e83304d15b134153bc1b50aaa0b12fad"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: comma-separated list of days as numbers (Monday = 1 and Sunday = 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":"appointmentbookingapi/service_config.go"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"dce907bb901abae97609848b2dc496aef34fe2e422d75f9adf51313778314dc0"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: This value is the date and time difference from \u201C1970-01-01 00:00:00\u201D. So if the returned value is \u00221970-01-01 04:00:00, it means that the room must be canceled four hours before the meeting starts. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"appointmentbookingapi/service_config.go"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"76731737bbaf62c7c9900eda765fec43af48ef85fa9f9411a5776767a94ed7a4"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: number represented as a 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":"appointmentbookingapi/service_config.go"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"113295af712c27d71e61c99aaa22ccb19a9998dc3285c8cd11e647152509ffa6"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: This value is the date and time difference from \u201C1970-01-01 00:00:00\u201D. So if the returned value is \u00221970-01-01 04:00:00, it means that the room must be booked four hours before the meeting starts. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"appointmentbookingapi/service_config.go"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"35408376547c2622b6b606bad49ee97ad7b4913a199c91557d3613171864d3bb"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: string representation of an int representation of a bool \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"appointmentbookingapi/service_config.go"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"207f3e15b02157ced6e57d70f3a445ee11ca74a8817d463ed685b6eced01e9fc"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: enum with empty value \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"appointmentbookingapi/service_config.go"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fdd07e3e6b7723c4aeeb9ddbb73c28535182ea6bf79db5cb95d58ae45b665ea"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Unit: Minutes, duration \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"appointmentbookingapi/service_config.go"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"828c38b7dfa6db06c76fc204664d677a7ac108f094c1d3c0df3a935a7648517b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: may be worth making a \u0022month\u0022 enum, and then having a ConvertToShort/ConvertToLong/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":"appointmentbookingapi/short_month.go"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"da57f3fd2dd8fe7bc72d15c32b4d1b5dcd15409c4a8188a536e6b8055117617d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: may be worth making a \u0022month\u0022 enum, and then having a ConvertToShort/ConvertToLong/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":"appointmentbookingapi/week_day_short.go"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"85c342f6de6be3663c13a66709f12113ac45c50fd6e30423b42f1f373d0a6bee"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: string representation of Numeric (Values or 1-31) \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"appointmentbookingapi/user_date_format_options.go"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"d20de5159114696a253fdd64b8b3126adc94c9a8ee80120b7fbfa8cd33c60d59"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: string representation of Numeric (Values of 1-5) \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"appointmentbookingapi/user_date_format_options.go"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5fb9fed18ef9b4a81c3b9022d40a8917b1951aef255237f870455da4aeafd0d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: is a date YYYY-MM-DD hh:mm:ss or YYYY-MM-DD \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"activitysubscriptionsapi/activities_request_builder_get_query_parameters.go"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"e01672e792be45afca53937c7109bcce01568d1d404b6b4fb7b858877376ba0b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: is a date YYYY-MM-DD hh:mm:ss or YYYY-MM-DD \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"activitysubscriptionsapi/activities_request_builder_get_query_parameters.go"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"46f80f3a0990569931a9135a5eca572de183650fefd3b70df045e4aea905fb60"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: is a date YYYY-MM-DD hh:mm:ss or YYYY-MM-DD \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"activitysubscriptionsapi/activities_request_builder_get_query_parameters.go"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"791787fa5ef866ba779b086bfffa54dfbca072f02859cb33e399bcb8074e4a71"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: is a date YYYY-MM-DD hh:mm:ss or YYYY-MM-DD \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"activitysubscriptionsapi/facets_request_builder_get_query_parameters.go"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffd08777e615f3e1c0a372dab11c180e3f6b861412d7cd172cc267f9ef03c5e3"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: is a date YYYY-MM-DD hh:mm:ss or YYYY-MM-DD \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"activitysubscriptionsapi/facets_request_builder_get_query_parameters.go"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"29db7b7c0b2e597b597b111affcb99c5503f0e69c969e759348afead38b6b27b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: comma separated \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"activitysubscriptionsapi/activities_request_builder_get_query_parameters.go"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ff201b31ccebd9ca7e9ddac819988d519e45532922f3850fce11e8eb0d9febc"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: comma separated \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"activitysubscriptionsapi/facets_request_builder_get_query_parameters.go"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"712794ee4a7d35d91b343ccb89da56ca32041b67f330f5a0deb21a7f40eb61fa"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: figure out dates \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"accountapi/account.go"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"5894719d556a825cfa3040e15068004b7af1ae047a92e1d83582d220fcac3c53"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: should be in test table format \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"accountapi/account_request_builder_test.go"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe8d927c025718615c4174b3cba2bbb41fcef2f1c6e63883476e33505c2ab00e"}},{"ruleId":"D21","level":"note","message":{"text":"\u0060rawUrl\u0060 spells \u0060Url\u0060 where 208 names in the project spell it \u0060URL\u0060: 208 of 213 names in project github.com/michaeldcanady/servicenow-sdk-go/v2 spell the token \u0060URL\u0060 (208 of 213; unit: names in project github.com/michaeldcanady/servicenow-sdk-go/v2 containing \u0060URL\u0060). Peers: accountapi.accountItemURLTemplate (accountapi/account_item_request_builder.go:19); accountapi.accountURLTemplate (accountapi/account_request_builder.go:21); activitysubscriptionsapi.actSubURLTemplate (activitysubscriptionsapi/act_sub_request_builder.go:15); activitysubscriptionsapi.NewActSubRequestBuilder(rawURL) (activitysubscriptionsapi/act_sub_request_builder.go:31); activitysubscriptionsapi.activitiesURLTemplate (activitysubscriptionsapi/activities_request_builder.go:20). Rename to \u0060rawURL\u0060. [rule N6]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"accountapi/account_item_request_builder.go"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"5dfa74bbb685d3675fb6c5c0fe58e1b019a80abcd2fd084182508000852fa9af"}},{"ruleId":"D21","level":"note","message":{"text":"\u0060rawUrl\u0060 spells \u0060Url\u0060 where 208 names in the project spell it \u0060URL\u0060: 208 of 213 names in project github.com/michaeldcanady/servicenow-sdk-go/v2 spell the token \u0060URL\u0060 (208 of 213; unit: names in project github.com/michaeldcanady/servicenow-sdk-go/v2 containing \u0060URL\u0060). Peers: accountapi.accountItemURLTemplate (accountapi/account_item_request_builder.go:19); accountapi.accountURLTemplate (accountapi/account_request_builder.go:21); activitysubscriptionsapi.actSubURLTemplate (activitysubscriptionsapi/act_sub_request_builder.go:15); activitysubscriptionsapi.NewActSubRequestBuilder(rawURL) (activitysubscriptionsapi/act_sub_request_builder.go:31); activitysubscriptionsapi.activitiesURLTemplate (activitysubscriptionsapi/activities_request_builder.go:20). Rename to \u0060rawURL\u0060. [rule N6]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"accountapi/account_request_builder.go"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"70ca9e687298c38fdc382867afccc4aa0db0e9518b19cae6352608b5421f39d5"}},{"ruleId":"D21","level":"note","message":{"text":"\u0060getContentUrlKey\u0060 spells \u0060Url\u0060 where 208 names in the project spell it \u0060URL\u0060: 208 of 213 names in project github.com/michaeldcanady/servicenow-sdk-go/v2 spell the token \u0060URL\u0060 (208 of 213; unit: names in project github.com/michaeldcanady/servicenow-sdk-go/v2 containing \u0060URL\u0060). Peers: accountapi.accountItemURLTemplate (accountapi/account_item_request_builder.go:19); accountapi.accountURLTemplate (accountapi/account_request_builder.go:21); activitysubscriptionsapi.actSubURLTemplate (activitysubscriptionsapi/act_sub_request_builder.go:15); activitysubscriptionsapi.NewActSubRequestBuilder(rawURL) (activitysubscriptionsapi/act_sub_request_builder.go:31); activitysubscriptionsapi.activitiesURLTemplate (activitysubscriptionsapi/activities_request_builder.go:20). Rename to \u0060getContentURLKey\u0060. [rule N6]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"appserviceapi/create_service_result.go"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2ee20404680a4a48ab047dde19654bcd9b5069cbf40a66bf6fd5c331be72d10"}},{"ruleId":"D21","level":"note","message":{"text":"\u0060userSysIdKey\u0060 spells \u0060Id\u0060 where 272 names in the project spell it \u0060ID\u0060: 272 of 274 names in project github.com/michaeldcanady/servicenow-sdk-go/v2 spell the token \u0060ID\u0060 (272 of 274; unit: names in project github.com/michaeldcanady/servicenow-sdk-go/v2 containing \u0060ID\u0060). Peers: accountapi.sysIDKey (accountapi/account.go:50); Account.GetSysID (accountapi/account.go:530); Account.SetSysID (accountapi/account.go:535); accountapi.accountIDKey (accountapi/account_request_builder.go:22); AccountRequestBuilder.ByID (accountapi/account_request_builder.go:44). Rename to \u0060userSysIDKey\u0060. [rule N6]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"caseapi/activities_result_entry.go"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ea8151faa21bc0cee1b5d0a52e9f7f71014bcc8af6517fae0be8e5ff099c8c2"}},{"ruleId":"D21","level":"note","message":{"text":"\u0060SubscribeWithId\u0060 spells \u0060Id\u0060 where 272 names in the project spell it \u0060ID\u0060: 272 of 274 names in project github.com/michaeldcanady/servicenow-sdk-go/v2 spell the token \u0060ID\u0060 (272 of 274; unit: names in project github.com/michaeldcanady/servicenow-sdk-go/v2 containing \u0060ID\u0060). Peers: accountapi.sysIDKey (accountapi/account.go:50); Account.GetSysID (accountapi/account.go:530); Account.SetSysID (accountapi/account.go:535); accountapi.accountIDKey (accountapi/account_request_builder.go:22); AccountRequestBuilder.ByID (accountapi/account_request_builder.go:44). Rename to \u0060SubscribeWithID\u0060. [rule N6]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/mocking/mock_backing_store.go"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"563165ccbd0499645639ece4b70fa4f9434283f9a2854e44bb68f75ccb00f7bd"}},{"ruleId":"D21","level":"note","message":{"text":"\u0060SetBaseUrl\u0060 spells \u0060Url\u0060 where 208 names in the project spell it \u0060URL\u0060: 208 of 213 names in project github.com/michaeldcanady/servicenow-sdk-go/v2 spell the token \u0060URL\u0060 (208 of 213; unit: names in project github.com/michaeldcanady/servicenow-sdk-go/v2 containing \u0060URL\u0060). Peers: accountapi.accountItemURLTemplate (accountapi/account_item_request_builder.go:19); accountapi.accountURLTemplate (accountapi/account_request_builder.go:21); activitysubscriptionsapi.actSubURLTemplate (activitysubscriptionsapi/act_sub_request_builder.go:15); activitysubscriptionsapi.NewActSubRequestBuilder(rawURL) (activitysubscriptionsapi/act_sub_request_builder.go:31); activitysubscriptionsapi.activitiesURLTemplate (activitysubscriptionsapi/activities_request_builder.go:20). Rename to \u0060SetBaseURL\u0060. [rule N6]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/mocking/mock_request_adapter.go"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"f03deecf3c78731393d41c51a2ed5fda313f09de056dc35e5c2fffa1dcaf3293"}},{"ruleId":"D21","level":"note","message":{"text":"\u0060GetBaseUrl\u0060 spells \u0060Url\u0060 where 208 names in the project spell it \u0060URL\u0060: 208 of 213 names in project github.com/michaeldcanady/servicenow-sdk-go/v2 spell the token \u0060URL\u0060 (208 of 213; unit: names in project github.com/michaeldcanady/servicenow-sdk-go/v2 containing \u0060URL\u0060). Peers: accountapi.accountItemURLTemplate (accountapi/account_item_request_builder.go:19); accountapi.accountURLTemplate (accountapi/account_request_builder.go:21); activitysubscriptionsapi.actSubURLTemplate (activitysubscriptionsapi/act_sub_request_builder.go:15); activitysubscriptionsapi.NewActSubRequestBuilder(rawURL) (activitysubscriptionsapi/act_sub_request_builder.go:31); activitysubscriptionsapi.activitiesURLTemplate (activitysubscriptionsapi/activities_request_builder.go:20). Rename to \u0060GetBaseURL\u0060. [rule N6]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/mocking/mock_request_adapter.go"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"094525b41989abd9c4d98b4bc4b7bf687b1b609d1d97c27a6ccef90b15a5dabf"}},{"ruleId":"D22","level":"warning","message":{"text":"\u0060ServiceRelationship.GetFieldDeserializers\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 \u0060ServiceRelationship\u0060 return a slice (\u0060[]T\u0060) (3 of 4). Siblings: ServiceRelationship.GetBusinessApp (appserviceapi/service_relationships.go:51); ServiceRelationship.GetBusinessServiceOffering (appserviceapi/service_relationships.go:61); ServiceRelationship.GetTechnicalServiceOffering (appserviceapi/service_relationships.go:71). Return a slice (\u0060[]T\u0060). [rule A4]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"appserviceapi/service_relationships.go"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"001872e3ce044004c6faccc1c870bd247a5dc56cb24c5832e2e339130cfd4895"}},{"ruleId":"D26","level":"note","message":{"text":"Projects may be oversized for their cohesion: \u0060(repository root)\u0060 (27869 LoC, 516 module-visible types across 34 directories) overshoots its size bounds. 1 of 2 build unit(s) (Go, npm) overshoot their size bounds, lowering Project Cohesion to 0.0/10. Review these for cohesion \u2014 draw the boundary inside the module first (group each responsibility into its own package or directory and keep the cross-boundary members non-public), since splitting a published package moves types between packages and breaks consumers."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"go.mod"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d39784e8a78933b908507d20b4610b78a7f819ed418525c8adae26ae57410589"}},{"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":"87c09e88cb221fe32688455af3496d7193722230f067c552a442b83414c7245c"},"taxa":[{"id":"CWE-1104","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-1352","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-7","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"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":"3ec04defdec521551058d90de222c5bb649cdfe6278954f12c77be6948874a23"},"taxa":[{"id":"CWE-1104","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-1352","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-7","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"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":"0e66af970b39be0aa4a71fead6f38ab39707a99484b826237254bbb0eb4f2505"},"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":"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":"d2cd4437b7be35d57a4cdd45425982677203e5498a05982ba428a10fd3ba9aee"},"properties":{"dependency":{"package":"stdlib","version":"1.26.0","advisory":"GO-2026-4599","aliases":["BIT-golang-2026-111943","BIT-golang-2026-25679","BIT-golang-2026-27137","BIT-golang-2026-27138","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-33810","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-46600","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]","GO-2026-4600","GO-2026-4601","GO-2026-4602","GO-2026-4603","GO-2026-4864","GO-2026-4865","GO-2026-4866","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-5942","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.26.1","relation":"direct","declaredRange":"1.26.0","reachability":{"kind":"production","file":"batchapi/rest_request.go","line":300,"symbol":"url.Parse"}}}},{"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":"d435f911e68ed5617ea7fe82736c544027c0710f6b509cf63aa309090ce8e472"}},{"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":"d657599f6f99da1927d3377533dfc0888b34c4d84aa7d5579841fd72d0e39bce"},"taxa":[{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"AC2","level":"error","message":{"text":"\u003Ctextarea\u003E without a programmatic label: This control has only a placeholder \u2014 a placeholder is not a label (it vanishes on input and many AT ignore it). Add a \u003Clabel for\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".agents/skills/subagent-creator/eval-viewer/viewer.html"},"region":{"startLine":604}}}],"partialFingerprints":{"codehealthFindingId/v1":"441582b4b964238721399800412c6249f684355507ec5d9327f0db2e7fc3f0c4"}},{"ruleId":"AC3","level":"warning","message":{"text":"Page without a main landmark: No \u003Cmain\u003E (or role=\u0022main\u0022) means no \u0022skip to content\u0022 target and a weaker landmark map. Wrap the primary content in \u003Cmain\u003E."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".agents/skills/subagent-creator/assets/eval_review.html"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"cafa4937e1adbb301f7b8ad92e2dd78753dbbbddda2b28d21c593710e7fff63c"}},{"ruleId":"AC3","level":"warning","message":{"text":"Page without a main landmark: No \u003Cmain\u003E (or role=\u0022main\u0022) means no \u0022skip to content\u0022 target and a weaker landmark map. Wrap the primary content in \u003Cmain\u003E."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".agents/skills/subagent-creator/eval-viewer/viewer.html"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"a900424945cded7be4ba3f7141d0ff2ea49d499edca506de22507b4f9e4467ea"}},{"ruleId":"AC4","level":"error","message":{"text":"Clickable element isn\u0027t keyboard-operable: The repo\u0027s own CSS styles .summary with \u0060cursor: pointer\u0060, so this \u003Cp\u003E is a control \u2014 but it has no role, no tabindex=\u00220\u0022 and no key handler, so it can only be reached with a mouse. Use a \u003Cbutton\u003E, or add role \u002B tabindex=\u00220\u0022 \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".agents/skills/subagent-creator/assets/eval_review.html"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"f001c923b1f9c46207af615f79eed1ddc3a58a19204b7d28951c80f9ac5cf23b"}},{"ruleId":"AC6","level":"warning","message":{"text":"Low contrast colour pair in CSS (2.9:1): \u0060.btn-add\u0060 sets color: white on background-color: #6a9bcc \u2014 2.9:1, below the 4.5:1 WCAG AA minimum for normal text. Darken or lighten one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".agents/skills/subagent-creator/assets/eval_review.html"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"b02a5f5fdd4992398e27c63c48791b6988491aa6d8c1233e744564b34b3c7589"}},{"ruleId":"AC6","level":"warning","message":{"text":"Low contrast colour pair in CSS (3.1:1): \u0060.btn-export\u0060 sets color: white on background-color: #d97757 \u2014 3.1:1, below the 4.5:1 WCAG AA minimum for normal text. Darken or lighten one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".agents/skills/subagent-creator/assets/eval_review.html"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ba5e1defb5b48f175aa659ea0b3839f85f5469aa4ec8bad628e67bc16a0368a"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.grades-toggle .arrow\u0060 moves (\u0060transition: transform 0.15s\u0060) and nothing reads prefers-reduced-motion for it \u2014 no @media (prefers-reduced-motion) rule for this element, no reset this project loads \u2014 so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".agents/skills/subagent-creator/eval-viewer/viewer.html"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fd7c357f4c2d569f8f4082ad27e2b45de2683423247a9b54f6d428df72a0388"}},{"ruleId":"AC6","level":"warning","message":{"text":"Low contrast colour pair in CSS (2.1:1): \u0060.section-header\u0060 sets color: #b0aea5 on background-color: #faf9f5 \u2014 2.1:1, below the 4.5:1 WCAG AA minimum for normal text. Darken or lighten one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".agents/skills/subagent-creator/eval-viewer/viewer.html"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"67ec11fd5741935cac52a325a38e88d5260f3ee5388c053ad499b2d1d60a8890"}},{"ruleId":"AC6","level":"warning","message":{"text":"Low contrast colour pair in CSS (2.1:1): \u0060.output-file-header\u0060 sets color: #b0aea5 on background-color: #faf9f5 \u2014 2.1:1, below the 4.5:1 WCAG AA minimum for normal text. Darken or lighten one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".agents/skills/subagent-creator/eval-viewer/viewer.html"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"d22688f4092b44450a7b1f09b388d40cf824b574d9d05f2d768f07406857c5d6"}},{"ruleId":"AC6","level":"warning","message":{"text":"Low contrast colour pair in CSS (3.0:1): \u0060.output-file-content .download-link\u0060 sets color: #d97757 on background-color: #faf9f5 \u2014 3.0:1, below the 4.5:1 WCAG AA minimum for normal text. Darken or lighten one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".agents/skills/subagent-creator/eval-viewer/viewer.html"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb2ac8961cd73c73eca086b31f5eeae63c949d95ee3873f9adfaa54a9f13a404"}},{"ruleId":"AC6","level":"warning","message":{"text":"Low contrast colour pair in CSS (2.1:1): \u0060.prev-feedback\u0060 sets color: #b0aea5 on background-color: #faf9f5 \u2014 2.1:1, below the 4.5:1 WCAG AA minimum for normal text. Darken or lighten one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".agents/skills/subagent-creator/eval-viewer/viewer.html"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1fb2a3e47c74586099d48b3cdebd44ca8a300afa045b231334d5126405d68af"}},{"ruleId":"AC6","level":"warning","message":{"text":"Low contrast colour pair in CSS (3.2:1): \u0060.grade-pass\u0060 sets color: #788c5d on background-color: #eef2e8 \u2014 3.2:1, below the 4.5:1 WCAG AA minimum for normal text. Darken or lighten one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".agents/skills/subagent-creator/eval-viewer/viewer.html"},"region":{"startLine":302}}}],"partialFingerprints":{"codehealthFindingId/v1":"38bea0b58bef7fc7a1dba6a057da272237cb15c72e9a6797daa18560604cfc03"}},{"ruleId":"AC6","level":"warning","message":{"text":"Low contrast colour pair in CSS (4.0:1): \u0060.grade-fail\u0060 sets color: #c44 on background-color: #fceaea \u2014 4.0:1, below the 4.5:1 WCAG AA minimum for normal text. Darken or lighten one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".agents/skills/subagent-creator/eval-viewer/viewer.html"},"region":{"startLine":303}}}],"partialFingerprints":{"codehealthFindingId/v1":"f374bb581bff194b4871712595b6267347ef781635dc48dccfee81c53ab74be0"}},{"ruleId":"AC6","level":"warning","message":{"text":"Low contrast colour pair in CSS (3.1:1): \u0060.done-btn.ready\u0060 sets color: white on background-color: #d97757 \u2014 3.1:1, below the 4.5:1 WCAG AA minimum for normal text. Darken or lighten one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".agents/skills/subagent-creator/eval-viewer/viewer.html"},"region":{"startLine":467}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6cca41de05c90bc75cee691ef01ed7f2ede52f11e9153b9b22de83df360a6c1"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: AppointmentRequest (26 methods): \u0060AppointmentRequest\u0060 declares 26 methods: \u0060GetActualEndDate\u0060, \u0060SetActualEndDate\u0060, \u0060GetActualStartDate\u0060, \u0060SetActualStartDate\u0060, \u0060GetCatalogID\u0060, \u0060SetCatalogID\u0060, \u0060GetEndDateUTC\u0060, \u0060SetEndDateUTC\u0060, \u0060GetLocation\u0060, \u0060SetLocation\u0060, \u0060GetOpenedFor\u0060, \u0060SetOpenedFor\u0060, \u0060GetReschedule\u0060, \u0060SetReschedule\u0060, \u0060GetServiceConfigRule\u0060, \u0060SetServiceConfigRule\u0060, \u0060GetStartDateUTC\u0060, \u0060SetStartDateUTC\u0060, \u0060GetTaskID\u0060, \u0060SetTaskID\u0060, \u0060GetTaskTable\u0060, \u0060SetTaskTable\u0060, \u0060GetTimezone\u0060, \u0060SetTimezone\u0060, \u0060GetValidateRequest\u0060, \u0060SetValidateRequest\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":"appointmentbookingapi/appointment_request.go"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5de0e7972079c880cfb070c106f86eb13a2dc61807864ee5d7e8ed0b126e906"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: AvailabilityRequest (30 methods): \u0060AvailabilityRequest\u0060 declares 30 methods: \u0060GetCatalogID\u0060, \u0060SetCatalogID\u0060, \u0060GetEndDate\u0060, \u0060SetEndDate\u0060, \u0060GetFetchDaysSlot\u0060, \u0060SetFetchDaysSlot\u0060, \u0060GetFullDay\u0060, \u0060SetFullDay\u0060, \u0060GetGetNextAvailableSlot\u0060, \u0060SetGetNextAvailableSlot\u0060, \u0060GetLimit\u0060, \u0060SetLimit\u0060, \u0060GetLocation\u0060, \u0060SetLocation\u0060, \u0060GetOpenedFor\u0060, \u0060SetOpenedFor\u0060, \u0060GetOtherInputs\u0060, \u0060SetOtherInputs\u0060, \u0060GetServiceConfigRule\u0060, \u0060SetServiceConfigRule\u0060, \u0060GetStartDate\u0060, \u0060SetStartDate\u0060, \u0060GetTaskID\u0060, \u0060SetTaskID\u0060, \u0060GetTaskTable\u0060, \u0060SetTaskTable\u0060, \u0060GetUseReadReplica\u0060, \u0060SetUseReadReplica\u0060, \u0060GetView\u0060, \u0060SetView\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":"appointmentbookingapi/availability_request.go"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a5e47ae439193dc4b89b5750ff110913c66307f905efb41a4d80140e6fa1680"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: ServiceConfig (30 methods): \u0060ServiceConfig\u0060 declares 30 methods: \u0060GetActive\u0060, \u0060SetActive\u0060, \u0060GetActiveString\u0060, \u0060SetActiveString\u0060, \u0060GetAppointmentBookingConfig\u0060, \u0060SetAppointmentBookingConfig\u0060, \u0060GetAppointmentDuration\u0060, \u0060SetAppointmentDuration\u0060, \u0060GetAppointmentsPerBookableSlot\u0060, \u0060SetAppointmentsPerBookableSlot\u0060, \u0060GetBookableDays\u0060, \u0060SetBookableDays\u0060, \u0060GetCancelByTime\u0060, \u0060SetCancelByTime\u0060, \u0060GetDefaultTimezone\u0060, \u0060SetDefaultTimezone\u0060, \u0060GetEnableAdvancedConfig\u0060, \u0060SetEnableAdvancedConfig\u0060, \u0060GetFieldMapping\u0060, \u0060SetFieldMapping\u0060, \u0060GetFutureBookableMaxDays\u0060, \u0060SetFutureBookableMaxDays\u0060, \u0060GetLeadTime\u0060, \u0060SetLeadTime\u0060, \u0060GetMandatory\u0060, \u0060SetMandatory\u0060, \u0060GetUseSlotEndTimeAs\u0060, \u0060SetUseSlotEndTimeAs\u0060, \u0060GetWorkDuration\u0060, \u0060SetWorkDuration\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":"appointmentbookingapi/service_config.go"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"739b6182ac4d129158a87c5605dadb5c28596075a3218e6c17cb9a704cf43bd8"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: ActivitiesResultEntry (24 methods): \u0060ActivitiesResultEntry\u0060 declares 24 methods: \u0060GetAttachment\u0060, \u0060SetAttachment\u0060, \u0060GetContainsCode\u0060, \u0060SetContainsCode\u0060, \u0060GetElement\u0060, \u0060SetElement\u0060, \u0060GetFieldLabel\u0060, \u0060SetFieldLabel\u0060, \u0060GetInitials\u0060, \u0060SetInitials\u0060, \u0060GetLoginName\u0060, \u0060SetLoginName\u0060, \u0060GetName\u0060, \u0060SetName\u0060, \u0060GetSysCreatedOn\u0060, \u0060SetSysCreatedOn\u0060, \u0060GetSysCreatedOnAdjusted\u0060, \u0060SetSysCreatedOnAdjusted\u0060, \u0060GetSysID\u0060, \u0060SetSysID\u0060, \u0060GetUserSysID\u0060, \u0060SetUserSysID\u0060, \u0060GetValue\u0060, \u0060SetValue\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":"caseapi/activities_result_entry.go"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"37904c7e1e4f38c53f93bba83c6ab1953b85bb367cf927f941ec92d9da8eb4dc"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: ActivitiesResultEntryAttachment (24 methods): \u0060ActivitiesResultEntryAttachment\u0060 declares 24 methods: \u0060GetAverageImageColor\u0060, \u0060SetAverageImageColor\u0060, \u0060GetContentType\u0060, \u0060SetContentType\u0060, \u0060GetFileName\u0060, \u0060SetFileName\u0060, \u0060GetImageHeight\u0060, \u0060SetImageHeight\u0060, \u0060GetImagePath\u0060, \u0060SetImagePath\u0060, \u0060GetImageWidth\u0060, \u0060SetImageWidth\u0060, \u0060GetPath\u0060, \u0060SetPath\u0060, \u0060GetSize\u0060, \u0060SetSize\u0060, \u0060GetSizeBytes\u0060, \u0060SetSizeBytes\u0060, \u0060GetState\u0060, \u0060SetState\u0060, \u0060GetSysID\u0060, \u0060SetSysID\u0060, \u0060GetThumbnailPath\u0060, \u0060SetThumbnailPath\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":"caseapi/activities_result_entry_attachment.go"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"30e24ced6e6f8296411c7b80ad8b05d194cacfdcc25df63a5a1fab99e9a8eade"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: CaseResult (64 methods): \u0060CaseResult\u0060 declares 64 methods: \u0060GetAccount\u0060, \u0060SetAccount\u0060, \u0060GetActive\u0060, \u0060SetActive\u0060, \u0060GetActiveAccountEscalation\u0060, \u0060SetActiveAccountEscalation\u0060, \u0060GetActiveEscalation\u0060, \u0060SetActiveEscalation\u0060, \u0060GetActivityDue\u0060, \u0060SetActivityDue\u0060, \u0060GetAdditionalAssigneeList\u0060, \u0060SetAdditionalAssigneeList\u0060, \u0060GetApproval\u0060, \u0060SetApproval\u0060, \u0060GetApprovalHistory\u0060, \u0060SetApprovalHistory\u0060, \u0060GetApprovalSet\u0060, \u0060SetApprovalSet\u0060, \u0060GetAsset\u0060, \u0060SetAsset\u0060, \u0060GetAssignedTo\u0060, \u0060SetAssignedTo\u0060, \u0060GetAssignmentGroup\u0060, \u0060SetAssignmentGroup\u0060, \u0060GetBusinessDuration\u0060, \u0060SetBusinessDuration\u0060, \u0060GetBusinessImpact\u0060, \u0060SetBusinessImpact\u0060, \u0060GetBusinessService\u0060, \u0060SetBusinessService\u0060, \u0060GetCase\u0060, \u0060SetCase\u0060, \u0060GetCaseReport\u0060, \u0060SetCaseReport\u0060, \u0060GetCategory\u0060, \u0060SetCategory\u0060, \u0060GetCause\u0060, \u0060SetCause\u0060, \u0060GetCausedBy\u0060, \u0060SetCausedBy\u0060, and 24 more. 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":"caseapi/case_result.go"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"104340a1511e0c38b019b828fb3291549c69b7f8a600519654d42e8765866fb3"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: PoliciesMappingable (36 methods): \u0060PoliciesMappingable\u0060 declares 36 methods: \u0060GetDescription\u0060, \u0060SetDescription\u0060, \u0060GetDocument\u0060, \u0060SetDocument\u0060, \u0060GetDocumentRef\u0060, \u0060SetDocumentRef\u0060, \u0060GetError\u0060, \u0060SetError\u0060, \u0060GetException\u0060, \u0060SetException\u0060, \u0060GetExceptionAllowed\u0060, \u0060SetExceptionAllowed\u0060, \u0060GetInputStatus\u0060, \u0060SetInputStatus\u0060, \u0060GetLastUpdatedBy\u0060, \u0060SetLastUpdatedBy\u0060, \u0060GetNumber\u0060, \u0060SetNumber\u0060, \u0060GetPolicy\u0060, \u0060SetPolicy\u0060, \u0060GetReason\u0060, \u0060SetReason\u0060, \u0060GetState\u0060, \u0060SetState\u0060, \u0060GetSysClassName\u0060, \u0060SetSysClassName\u0060, \u0060GetSysCreatedBy\u0060, \u0060SetSysCreatedBy\u0060, \u0060GetSysCreatedOn\u0060, \u0060SetSysCreatedOn\u0060, \u0060GetSysID\u0060, \u0060SetSysID\u0060, \u0060GetSysUpdatedBy\u0060, \u0060SetSysUpdatedBy\u0060, \u0060GetSysUpdatedOn\u0060, \u0060SetSysUpdatedOn\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":"policyapi/policies_mappings.go"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6b593bbdf9158eb36374e8aabe3d0f9523ba6ac8a79d61ea8ed95c521de224e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060conversion.IsNil(rB) || conversion.IsNil(rB.RequestBuilder)\u0060 appears character-identically in 71 files \u2014 accountapi/account_item_request_builder.go, accountapi/account_request_builder.go, activitysubscriptionsapi/activities_request_builder.go, activitysubscriptionsapi/facets_context_request_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":"accountapi/account_item_request_builder.go"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cc8913242a9ec9f24e80b96564bbd79b350d29d39005a91e11e2566f838ff0b"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060body, _ := io.ReadAll(res.Body)\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060body\u0060 as if the call succeeded. When \u0060io.ReadAll\u0060 fails, \u0060body\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 \u0060body\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/oauth2/client.go"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"a43323cae6b2afd419a382cbb89b6b7f9a8565843bb886737291a40b2d17be30"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060body, _ := io.ReadAll(res.Body)\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060body\u0060 as if the call succeeded. When \u0060io.ReadAll\u0060 fails, \u0060body\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 \u0060body\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/oauth2/client.go"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"51792eb6ec9ec9ac71aeec73b2d59bd575c55c2926d9a3e627bf1ba6be551272"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060body, _ := io.ReadAll(res.Body)\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060body\u0060 as if the call succeeded. When \u0060io.ReadAll\u0060 fails, \u0060body\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 \u0060body\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/oauth2/client.go"},"region":{"startLine":307}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ef290355216c5978466cb06661b03370115789c0767d4b13c5f92b68495cdc2"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060body, _ := io.ReadAll(res.Body)\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060body\u0060 as if the call succeeded. When \u0060io.ReadAll\u0060 fails, \u0060body\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 \u0060body\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/oauth2/client.go"},"region":{"startLine":344}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f2411afb3f5e390c86b618f54e82a8d69f2cfe2c43c37a0bcd21503228af2c7"}},{"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":"credentials/base_access_token_provider.go"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"f02d22b0892a1a129adf200b188770ca2489d08688602b7e7e96319353587f66"}},{"ruleId":"X3","level":"warning","message":{"text":"Lost error (reports the zero value of a failed type assertion): \u0060response, ok := rawResponse.(ServiceNowCollectionResponse[T])\u0060 failed on this branch, so \u0060response\u0060 is the zero value of \u0060ServiceNowCollectionResponse[T]\u0060 here, and that is what is reported: the value that did not fit is lost. Report \u0060rawResponse\u0060 itself (and \u0060%T\u0060 of it) instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/page_iterator.go"},"region":{"startLine":334}}}],"partialFingerprints":{"codehealthFindingId/v1":"09f9d58b620134be0cce04d1711c73ad98b5a84354548c19394ccffea0e7f507"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060mainErr, _ := exc.GetError()\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060mainErr\u0060 as if the call succeeded. When \u0060exc.GetError\u0060 fails, \u0060mainErr\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 \u0060mainErr\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":"core/service_now_error.go"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"86f417d79eee46954a433ad481e918d11f56d8d8eda0ee7163576271a02532b8"}},{"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":"batchapi/batch_response.go"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae1c039b682b2fce40c6760de6e452c1b48ffda739c2525c9f9e93c231d6c7ef"}},{"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":"batchapi/shared.go"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8df169e522f6e27050c00115a62587908944683c503320716d8cdd74e76c3cc"}},{"ruleId":"X5","level":"note","message":{"text":"Null assertions (\u0060!\u0060) override strict null checking: ~1.4 \u0060!\u0060 null assertions per 1k TypeScript source lines \u2014 1 assertion(s) across the 727 source line(s) of the 10 TypeScript file(s) read, which is the only code the operator asserts anything in (a \u0060!\u0060 in a \u0060.js\u0060 file is not this operator and was not counted, and one in a file whose null checking is off silences nothing). Densest: website/src/components/GoSnippet/region.ts (1). Each one tells the compiler to trust the author about null, suppressing the very diagnostic \u0060strictNullChecks\u0060 exists to produce. Many are correct: each is a claim the checker could not verify, and it is wrong only where the value can in fact be missing, so review the densest places first."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"1d83a7c69636a6290f63000d5c19b2073be1fa772f51977532af9ca6f745fc2a"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060readStoredValues\u0060 swallows every exception into \u0060return {}\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"website/src/components/GoSnippet/placeholders.ts"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"216fe6843ae1b9893b74e0ff7f5921f992807a69c0fdf46f473a966a03d36ea5"}}],"taxonomies":[{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d","organization":"MITRE","informationUri":"https://cwe.mitre.org/","isComprehensive":false,"shortDescription":{"text":"The MITRE Common Weakness Enumeration (CWE)."},"taxa":[{"id":"CWE-1059","guid":"a2381a08-60f6-9554-a8b8-f3018cfaaca5","name":"Insufficient Technical Documentation","shortDescription":{"text":"Insufficient Technical Documentation"},"helpUri":"https://cwe.mitre.org/data/definitions/1059.html"},{"id":"CWE-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-1352","guid":"5257f322-5cfc-6b52-bedd-0b9a526b4c7d","name":"CWE-1352","shortDescription":{"text":"CWE-1352"},"helpUri":"https://cwe.mitre.org/data/definitions/1352.html"},{"id":"CWE-1357","guid":"e4d2e772-757e-0a5c-bd7d-77052949d866","name":"Reliance on Insufficiently Trustworthy Component","shortDescription":{"text":"Reliance on Insufficiently Trustworthy Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1357.html"},{"id":"CWE-1395","guid":"800e09e7-c11a-8654-9fa6-86f398995fed","name":"Dependency on Vulnerable Third-Party Component","shortDescription":{"text":"Dependency on Vulnerable Third-Party Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1395.html"},{"id":"CWE-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-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-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-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-77","guid":"332c8ade-6612-9f56-a06b-d8d90b1a8750","name":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/77.html"},{"id":"CWE-78","guid":"2e31ceaf-c7ae-2e5e-9661-cfb1362789cf","name":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/78.html"},{"id":"CWE-79","guid":"fd45580b-e8c4-fc5e-8c2f-aa8fab0b4dbf","name":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)","shortDescription":{"text":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/79.html"},{"id":"CWE-798","guid":"5e8f057d-fee3-995a-a0cb-9fc5b0d174d1","name":"Use of Hard-coded Credentials","shortDescription":{"text":"Use of Hard-coded Credentials"},"helpUri":"https://cwe.mitre.org/data/definitions/798.html"},{"id":"CWE-89","guid":"6d08fdad-37eb-c150-bbf0-d7d946863407","name":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/89.html"},{"id":"CWE-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":"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":"A05:2025","guid":"87e86033-3231-8458-8e4a-5cb82743553a","name":"Injection","shortDescription":{"text":"Injection"},"helpUri":"https://top10.owasp.org/2025/A05_2025-Injection/"},{"id":"A07:2025","guid":"334ddd78-539d-d35c-83dd-253647eb7eaf","name":"Authentication Failures","shortDescription":{"text":"Authentication Failures"},"helpUri":"https://top10.owasp.org/2025/A07_2025-Authentication_Failures/"},{"id":"A08:2025","guid":"84b0c297-710e-9a5f-9335-936ecb260c36","name":"Software or Data Integrity Failures","shortDescription":{"text":"Software or Data Integrity Failures"},"helpUri":"https://top10.owasp.org/2025/A08_2025-Software_or_Data_Integrity_Failures/"},{"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-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-7","guid":"4c4af28d-49e3-2d51-b597-e1396c49658b","name":"Insecure System Configuration","shortDescription":{"text":"Insecure System Configuration"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-07-Insecure-System-Configuration"}]}],"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":7,"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."]}]}